Index: a.bat
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/a.bat	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/a.bat	(working copy)
@@ -0,0 +1,7 @@
+set eeprom=32
+
+e pu
+
+e ep
+
+e ku
\ No newline at end of file
Index: c
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/c	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/c	(working copy)
@@ -0,0 +1,110 @@
+#!/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
+bqs)
+	echo bqb-mouse;gensched mouse bqb revd;;
+bqm)
+	echo bqb-module;gensched module bqb revd;;
+bqh)
+	echo bqb-hci;gensched hci bqb revd;;
+hc)
+	echo hci;gensched hci revd;;
+sh)
+	echo shutter;gensched shutter revd;;
+md)
+	echo module;gensched module revd;;
+ms)
+	echo mouse;gensched mouse le_mouse revd;;
+dg)
+	echo dongle;gensched usb dongle revd;;
+pr)
+	echo prcp;gensched le_prcp revd;;
+ot)
+	echo ota;gensched ota revd;;
+k)
+	echo keyboard;gensched kb le_kb revd;;
+s)
+	gensched sim 
+	sed '1,4 c define REVD\ndefine ROMCODE\ndefine SIM' -i output/bt_program23.meta;;
+o)
+	echo 'otpdata' > output/sched.rom; echo 'mem_patch00:01' > output/sched.rom
+#	enckey="-p"
+	typ="\ndefine RF"
+	sed '3 c define OTP'"$typ" -i output/bt_program23.meta;;
+p)
+	echo 'mem_patch00:0100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' > output/sched.rom
+	echo 'mem_lap:00 00 00 00 00 00' >> output/sched.rom
+	sed '3 d' -i output/bt_program23.meta;;
+f)
+	romcode="\ndefine ROMCODE\n"
+	gensched shutter fpga
+	if [ -z "$romcode" ];then
+		sed '1,4 c define REVC\ndefine FPGA' -i output/bt_program23.meta
+	else
+		sed '1,4 c define REVD\ndefine FPGA'"$romcode" -i output/bt_program23.meta
+	fi;;
+tt)
+	echo test;gensched test revd;;
+nl)
+	echo newland;enckey=-p;gensched newland
+	sed '3 i define NEWLAND\n' -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/memalloc.pl
+perl util/mergepatch.pl 
+cd output
+osiuasm bt_program23 -O-W
+
+
+defs=( FPGA SIM ROMCODE BLE REVA REVB )
+for i in $(seq 0 $((${#defs[@]} - 1))) ; do
+	grep  "^define ${defs[$i]}$" bt_program23.meta -q
+	tsts[$i]=$?
+done
+
+geneep $enckey
+if [[ $2 =~ o ]] ; then exit; fi
+if [[ $1 =~ [[:digit:]] ]] ; then
+	cnt=$1
+fi
+
+if [ ${tsts[1]} -eq 0 ] ; then
+	cp romcode.rom ramcode.rom ../../sim
+	if [ -f eeprom.dat ] ; then cp eeprom.dat ../../sim/ ; fi
+	if [ -f otp.rom ] ; then sed '7 c 1' < otp.rom > ../../sim/otp.rom ; fi
+else
+	if [ ${tsts[0]} -eq 0 ] ; then
+		if [ ${tsts[2]} -eq 0 ] ; then
+			perl ../util/rom2mif.pl romcode.rom; mv romcode.mif  ../../fpga/
+			if [ -f otp.rom ] ; then perl ../util/rom2mif.pl otp.rom; mv otp.mif ../../fpga/ ; fi
+			exit
+		fi
+#		if [[ $1 == "f" ]] ; then 	../../fpga/p u;sleep 1; e su sched.rom;exit; fi
+	fi
+	if [ ! -s ramcode.rom ] ; then exit; fi
+	if [[ $1 =~ [op] ]];then 
+		e ku; e hu; 
+	else
+		e ku; e hu ramcode.rom; e su sched.rom
+	fi
+fi
+
+cd ..
Index: do_c51.bat
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/do_c51.bat	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/do_c51.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
+@rem set device_option=kb
+@set device_option=mouse
+@rem set device_option=le_kb
+@rem set device_option=dongle
+@rem set device_option=module
+@rem set device_option=prcp
+
+@echo off
+
+setlocal enabledelayedexpansion
+for %%f in (program\*.prog) do @if not %%f==program\bt.prog if not %%f==program\patch.prog if not %%f==program\sim.prog set progs=!progs! %%f
+type program\bt.prog %progs% > output\bt_program23.meta
+for %%f in (format\*.format) do @if not %%f==format\bt.format if not %%f==format\command.format set fmts=!fmts! %%f
+type format\bt.format %fmts% format\command.format > output\bt_format.meta
+perl util/mergepatch.pl
+perl util/memalloc.pl
+
+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\ssp.dat + ..\sched\hci.dat +  ..\sched\revc.dat ..\output\sched.rom
+) else if "%device_option%" equ "kb" (
+copy ..\sched\ssp.dat + ..\sched\kb.dat +  ..\sched\revc.dat ..\output\sched.rom
+) else if "%device_option%" equ "le_kb" (
+  copy ..\sched\le_kb.dat +  ..\sched\revc.dat ..\output\sched.rom
+) else if "%device_option%" equ "mouse" (
+	copy  ..\sched\patch.dat   +  ..\sched\user.dat + ..\sched\rf.dat ..\output\sched.rom
+) else if "%device_option%" equ "module" (
+  copy  ..\sched\ssp.dat + ..\sched\DM_module.dat +   ..\sched\revc.dat ..\output\sched.rom
+) else if "%device_option%" equ "shutter" (
+  copy ..\sched\ssp.dat + ..\sched\shutter.dat +  ..\sched\revc.dat ..\output\sched.rom
+) else if "%device_option%" equ "dongle" (
+  copy ..\sched\dongle.dat +  ..\sched\usb.dat +  ..\sched\revc.dat ..\output\sched.rom
+) else if "%device_option%" equ "prcp" (
+  copy ..\sched\Le_prcp.dat + ..\sched\revb.dat ..\output\sched.rom
+) else (
+cd ..
+echo **********************************
+echo Error: illegal device_option !
+echo **********************************
+goto end
+) 
+
+if "%1" equ "eep" (
+  goto geneeprom
+) else if "%1" equ "rom" (
+	goto genrom
+) else if "%1" equ "eepb" (
+	goto genromrevb	
+) else if "%1" equ "eepc" (
+	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
+
+..\..\regedr\geneep ramcode.rom fwram.rom sched.rom 0 %enckey% c
+cd ..
+
+:gen_eep_end
+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\memmap.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: do_dm.bat
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/do_dm.bat	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/do_dm.bat	(working copy)
@@ -0,0 +1,145 @@
+@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
+@rem set device_option=kb
+@rem set device_option=mouse
+@rem set device_option=le_kb
+@rem set device_option=dongle
+@set device_option=module
+@rem set device_option=prcp
+
+@echo off
+
+setlocal enabledelayedexpansion
+for %%f in (program\*.prog) do @if not %%f==program\bt.prog if not %%f==program\patch.prog if not %%f==program\sim.prog set progs=!progs! %%f
+type program\bt.prog %progs% > output\bt_program23.meta
+for %%f in (format\*.format) do @if not %%f==format\bt.format if not %%f==format\command.format set fmts=!fmts! %%f
+type format\bt.format %fmts% format\command.format > output\bt_format.meta
+perl util/mergepatch.pl
+perl util/memalloc.pl
+
+perl util/transform_memmap2btreg.pl output/memmap.format format/memblocks.format ..\release\btreg.h
+
+cd output
+osiuasm bt_program23 -O-W
+
+if "%device_option%" equ "hci" (
+  copy ..\sched\ssp.dat + ..\sched\hci.dat +  ..\sched\revc.dat ..\output\sched.rom
+) else if "%device_option%" equ "kb" (
+copy ..\sched\ssp.dat + ..\sched\kb.dat +  ..\sched\revc.dat ..\output\sched.rom
+) else if "%device_option%" equ "le_kb" (
+  copy ..\sched\le_kb.dat +  ..\sched\revc.dat ..\output\sched.rom
+) else if "%device_option%" equ "mouse" (
+  copy  ..\sched\patch.dat   +  ..\sched\user.dat + ..\sched\rf.dat ..\output\sched.rom
+) else if "%device_option%" equ "module" (
+  copy ..\sched\DM_module.dat +   ..\sched\revd.dat ..\output\sched.rom
+) else if "%device_option%" equ "shutter" (
+  copy ..\sched\ssp.dat + ..\sched\shutter.dat +  ..\sched\revc.dat ..\output\sched.rom
+) else if "%device_option%" equ "dongle" (
+  copy ..\sched\dongle.dat +  ..\sched\usb.dat +  ..\sched\revc.dat ..\output\sched.rom
+) else if "%device_option%" equ "prcp" (
+  copy ..\sched\Le_prcp.dat + ..\sched\revb.dat ..\output\sched.rom
+) else (
+cd ..
+echo **********************************
+echo Error: illegal device_option !
+echo **********************************
+goto end
+) 
+
+if "%1" equ "eep" (
+  goto geneeprom
+) else if "%1" equ "rom" (
+	goto genrom
+) else if "%1" equ "eepb" (
+	goto genromrevb	
+) else if "%1" equ "eepc" (
+	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
+
+..\..\regedr\geneep ramcode.rom fwram.rom sched.rom 0 %enckey% c
+cd ..
+
+:gen_eep_end
+echo **********************************
+echo EEPROM Generated.
+echo The Device is %device_option%. 
+echo Use command "e ep" to download EEPROM.
+echo **********************************
+
+@echo copy .\output\sched.rom ..\release\patch
+
+copy .\output\ramcode.rom ..\release\patch
+
+perl util\transform_name2addr.pl output\sched.rom ..\release\patch\sched.rom output\memmap.format
+
+
+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: do_patch.bat
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/do_patch.bat	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/do_patch.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
+@rem set device_option=kb
+@set device_option=mouse
+@rem set device_option=le_kb
+@rem set device_option=dongle
+@rem set device_option=module
+@rem set device_option=prcp
+
+@echo off
+
+setlocal enabledelayedexpansion
+for %%f in (program\*.prog) do @if not %%f==program\bt.prog if not %%f==program\patch.prog if not %%f==program\sim.prog set progs=!progs! %%f
+type program\bt.prog %progs% > output\bt_program23.meta
+for %%f in (format\*.format) do @if not %%f==format\bt.format if not %%f==format\command.format set fmts=!fmts! %%f
+type format\bt.format %fmts% format\command.format > output\bt_format.meta
+perl util/mergepatch.pl
+perl util/memalloc.pl
+
+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\ssp.dat + ..\sched\hci.dat +  ..\sched\revc.dat ..\output\sched.rom
+) else if "%device_option%" equ "kb" (
+copy ..\sched\ssp.dat + ..\sched\kb.dat +  ..\sched\revc.dat ..\output\sched.rom
+) else if "%device_option%" equ "le_kb" (
+  copy ..\sched\le_kb.dat +  ..\sched\revc.dat ..\output\sched.rom
+) else if "%device_option%" equ "mouse" (
+	copy  ..\sched\patch.dat   +  ..\sched\user.dat + ..\sched\rf.dat ..\output\sched.rom
+) else if "%device_option%" equ "module" (
+  copy  ..\sched\ssp.dat + ..\sched\DM_module.dat +   ..\sched\revc.dat ..\output\sched.rom
+) else if "%device_option%" equ "shutter" (
+  copy ..\sched\ssp.dat + ..\sched\shutter.dat +  ..\sched\revc.dat ..\output\sched.rom
+) else if "%device_option%" equ "dongle" (
+  copy ..\sched\dongle.dat +  ..\sched\usb.dat +  ..\sched\revc.dat ..\output\sched.rom
+) else if "%device_option%" equ "prcp" (
+  copy ..\sched\Le_prcp.dat + ..\sched\revb.dat ..\output\sched.rom
+) else (
+cd ..
+echo **********************************
+echo Error: illegal device_option !
+echo **********************************
+goto end
+) 
+
+if "%1" equ "eep" (
+  goto geneeprom
+) else if "%1" equ "rom" (
+	goto genrom
+) else if "%1" equ "eepb" (
+	goto genromrevb	
+) else if "%1" equ "eepc" (
+	goto genromrevc
+)else (
+  goto genromrevc
+)
+
+: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
+
+..\..\regedr\geneep ramcode.rom fwram.rom sched.rom 0 %enckey% c
+cd ..
+
+:gen_eep_end
+echo **********************************
+echo EEPROM Generated.
+echo The Device is %device_option%. 
+echo Use command "e ep" to download EEPROM.
+echo **********************************
+
+@copy .\output\ramcode.rom .\patch
+
+@copy .\output\memmap.format .\patch
+
+@copy .\sched\*.*	.\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: do_release.bat
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/do_release.bat	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/do_release.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
+@rem set device_option=kb
+@set device_option=mouse
+@rem set device_option=le_kb
+@rem set device_option=dongle
+@rem set device_option=module
+@rem set device_option=prcp
+
+@echo off
+
+setlocal enabledelayedexpansion
+for %%f in (program\*.prog) do @if not %%f==program\bt.prog if not %%f==program\patch.prog if not %%f==program\sim.prog set progs=!progs! %%f
+type program\bt.prog %progs% > output\bt_program23.meta
+for %%f in (format\*.format) do @if not %%f==format\bt.format if not %%f==format\command.format set fmts=!fmts! %%f
+type format\bt.format %fmts% format\command.format > output\bt_format.meta
+perl util/mergepatch.pl
+perl util/memalloc.pl
+
+perl util/transform_memmap2btreg.pl output/memmap.format format/memblocks.format ..\releasekb\btreg.h
+
+cd output
+osiuasm bt_program23 -O-W
+
+if "%device_option%" equ "hci" (
+  copy ..\sched\ssp.dat + ..\sched\hci.dat +  ..\sched\revc.dat ..\output\sched.rom
+) else if "%device_option%" equ "kb" (
+copy ..\sched\ssp.dat + ..\sched\kb.dat +  ..\sched\revc.dat ..\output\sched.rom
+) else if "%device_option%" equ "le_kb" (
+  copy ..\sched\le_kb.dat +  ..\sched\revc.dat ..\output\sched.rom
+) else if "%device_option%" equ "mouse" (
+	copy  ..\sched\patch.dat   +  ..\sched\user.dat + ..\sched\rf.dat ..\output\sched.rom
+) else if "%device_option%" equ "module" (
+  copy  ..\sched\ssp.dat + ..\sched\DM_module.dat +   ..\sched\revc.dat ..\output\sched.rom
+) else if "%device_option%" equ "shutter" (
+  copy ..\sched\ssp.dat + ..\sched\shutter.dat +  ..\sched\revc.dat ..\output\sched.rom
+) else if "%device_option%" equ "dongle" (
+  copy ..\sched\dongle.dat +  ..\sched\usb.dat +  ..\sched\revc.dat ..\output\sched.rom
+) else if "%device_option%" equ "prcp" (
+  copy ..\sched\Le_prcp.dat + ..\sched\revb.dat ..\output\sched.rom
+) else (
+cd ..
+echo **********************************
+echo Error: illegal device_option !
+echo **********************************
+goto end
+) 
+
+if "%1" equ "eep" (
+  goto geneeprom
+) else if "%1" equ "rom" (
+	goto genrom
+) else if "%1" equ "eepb" (
+	goto genromrevb	
+) else if "%1" equ "eepc" (
+	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
+
+..\..\regedr\geneep ramcode.rom fwram.rom sched.rom 0 %enckey% c
+cd ..
+
+:gen_eep_end
+echo **********************************
+echo EEPROM Generated.
+echo The Device is %device_option%. 
+echo Use command "e ep" to download EEPROM.
+echo **********************************
+
+@ copy .\output\ramcode.rom ..\releasekb\patch
+
+@ copy .\output\memmap.format ..\releasekb\patch
+
+@ copy .\sched\*.*	..\releasekb\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: format/Hid.format
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/format/Hid.format	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/format/Hid.format	(working copy)
@@ -0,0 +1,21 @@
+
+(
+/*HID TYPE*/
+0x01 HID_TYPE_CONTROL
+0x04 HID_TYPE_GET_REPORT
+0x05 HID_TYPE_SET_REPORT
+0x07 HID_TYPE_SET_PROTOCOL
+0x09 HID_TYPE_SET_IDLE
+0x0a HID_TYPE_DATA
+/*HID REPORT ID*/
+0x01 HID_REPORT_ID_KB
+
+0x00 HID_CONTROL_P_NOOPERATION
+0x01 HID_CONTROL_P_HARDRESET
+0x02 HID_CONTROL_P_SOFTRESET
+0x03 HID_CONTROL_P_SUSPEND
+0x04 HID_CONTROL_P_EXITSUSPEND
+0x05 HID_CONTROL_P_VIRTUALCABLEUNPLUG
+)
+
+
Index: format/app.format
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/format/app.format	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/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: format/at.format
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/format/at.format	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/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: format/bt.format
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/format/bt.format	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/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: format/command.format
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/format/command.format	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/format/command.format	(working copy)
@@ -0,0 +1,1386 @@
+
+/* 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
+  [1] 0   /* msb */
+  [15] 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: format/dongle.format
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/format/dongle.format	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/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: format/hci.format
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/format/hci.format	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/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: format/keyboard.format
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/format/keyboard.format	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/format/keyboard.format	(working copy)
@@ -0,0 +1,61 @@
+
+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
+158 mem_kb_map
+650 mem_keyboard_uuid_list
+)
+
+
+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
+)
+
+/*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: format/l2cap.format
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/format/l2cap.format	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/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: format/le.format
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/format/le.format	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/format/le.format	(working copy)
@@ -0,0 +1,505 @@
+
+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	
+0x030210 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
+	)
+
+	//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: format/lmp.format
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/format/lmp.format	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/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: format/memblocks.format
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/format/memblocks.format	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/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: format/module.format
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/format/module.format	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/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: format/mouse.format
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/format/mouse.format	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/format/mouse.format	(working copy)
@@ -0,0 +1,391 @@
+
+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
+
+10 mem_24g_paring_tx_power_param
+10 mem_5db_tx_power_param
+1 mem_mouse_tz
+1 mem_last_txlch
+2 mem_last_txlen
+20 mem_last_txdata
+
+//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
+
+
+200 mem_ipc_2bt_fifo_head
+0	mem_ipc_2bt_fifo_end
+2	mem_ipc_2bt_read_index
+2	mem_ipc_2bt_write_index
+200 mem_ipc_2C51_fifo_head
+0	mem_ipc_2C51_fifo_end
+2	mem_ipc_2C51_read_index
+2	mem_ipc_2C51_write_index
+
+100	mem_c51_private_area
+
+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
+4 mem_24g_tx_btclk	
+1 mem_24g_interval	
+
+// patch allocated
+3 mem_24g_txcnt
+1 mem_24g_txfail_cnt
+1 mem_24g_attempt_cnt
+1 mem_24g_attempt_flag
+3 mem_24g_rxcnt
+3 mem_24g_rxfail_cnt
+2 mem_loss_rate
+1 mem_24g_retry
+1 mem_24g_pid
+1 mem_24g_datalen
+2 mem_24g_crc
+64 mem_24g_rxbuf
+4 mem_24g_addr
+2 mem_24g_len
+10 mem_24g_txpayload
+6 mem_24g_txdata
+1 mem_24g_ch
+1 mem_24g_sifs
+1 mem_24g_state
+16 mem_24g_scremble
+1 mem_dongle_exit_flag
+1 mem_24g_current_ch_number
+1 mem_24g_ch_count_down
+4 mem_24g_ch_map1
+4 mem_24g_ch_map2
+4 mem_24g_ch_map3
+4 mem_24g_ch_map4
+1 mem_24g_interval_min
+1 mem_24g_interval_max
+1 mem_24g_ensure
+
+8 mem_24g_enter_hibernate
+1 mem_24g_enter_lpm_timer
+0 mem_led_cap_delay_timer
+1 mem_senser_id2
+1 mem_senser_id3
+//rfcomm
+1 mem_rpn_dlci
+//le
+4 mem_ipc_last_check_timer
+2 mem_att_send_handle
+1 mem_att_send_option
+1 mem_lell_cur_opcode
+1 mem_prepare_write_len
+0 mem_ipc_c51_timer
+2 mem_prepare_write_offest
+
+1 mem_le51_payload_len
+1 mem_le51_cmd
+
+1 mem_le51_tx_length
+1 mem_le51_txbuff_inuse
+
+1 mem_24g_pairing_sm
+4 mem_24g_addr_copy
+
+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
+
+158 mem_kb_map_c51
+21 mem_kb_ks_col
+1 mem_hibernate_flag
+2 mem_new_supervision_to
+1 mem_kb_wake_timer
+20 mem_kb_last_data
+
+)
+//C51 synchronous task
+(
+3 START_C51_CORE
+)
+
+(
+0 ADC_CONFIG_VINLPM
+1 ADC_CONFIG_HVIN
+2 ADC_CONFIG_GPIO
+)
+
+(
+0 P24G_SM_PAIRING_SUCC
+1 P24G_SM_PAIRING_REQUEST
+2 P24G_SM_PAIRING_WAIT_ADDR
+3 P24G_SM_PAIRING_COMPLETE
+4 P24G_SM_PAIRING_WAIT_SUCC
+)
+
+(
+0 P24G_PAIRING_REQ_HEAD
+1 P24G_PAIRING_COMPLETE_HEAD
+)
+
+//Mouse sensor ID1
+(
+0x30 P3204_ID
+0x31 P3065_ID
+)
+//Mouse sensor ID2
+(
+0x00 P3212_ID2
+0x70 P3065_ID2
+)
+
+(
+0 ENSURE_OFF_24G
+1 ENSURE_ON_24G
+)
+
+/* 24g */
+(
+6 dlen_24g
+14 plen_24g
+90 blen_tx_24g
+106 blen_rx_24g
+42 blen_txack_24g
+58 blen_rxack_24g
+3 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
+
+)
+//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: format/patch.format
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/format/patch.format	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/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: format/prcp.format
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/format/prcp.format	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/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: format/regs.format
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/format/regs.format	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/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: format/rfcomm.format
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/format/rfcomm.format	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/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: format/sdp.format
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/format/sdp.format	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/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: format/security.format
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/format/security.format	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/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: format/shutter.format
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/format/shutter.format	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/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: format/simple_pairing.format
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/format/simple_pairing.format	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/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: format/ui.format
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/format/ui.format	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/format/ui.format	(working copy)
@@ -0,0 +1,425 @@
+/*****************************************************************************/
+/* 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 */
+(
+0 BT_CMD_STANDBY
+1 BT_CMD_START_DISCOVERY
+2 BT_CMD_STOP_DISCOVERY
+3 BT_CMD_RECONNECT
+4 BT_CMD_DISCONNECT
+5 BT_CMD_ENTER_SNIFF
+6 BT_CMD_EXIT_SNIFF
+7 BT_CMD_ENTER_SNIFF_SUBRATING
+8 BT_CMD_EXIT_SNIFF_SUBRATING
+9 BT_CMD_SNIFF_TEST
+10 BT_CMD_SET_PIN_CODE
+11 BT_CMD_START_INQUIRY
+12 BT_CMD_STOP_INQUIRY
+13 BT_CMD_START_ADV
+14 BT_CMD_STOP_ADV
+15 BT_CMD_START_DIRECT_ADV
+16 BT_CMD_STOP_DIRECT_ADV
+17 BT_CMD_LE_DISCONNECT
+18 BT_CMD_LE_UPDATE_CONN
+19 BT_CMD_LED_OFF
+20 BT_CMD_LED_ON
+21 BT_CMD_LED_BLINK
+22 BT_CMD_LE_START_CONN
+23 BT_CMD_LE_START_SCAN
+24 BT_CMD_LE_STOP_SCAN
+25 BT_CMD_ENTER_HIBERNATE
+27 BT_CMD_LE_SMP_SECURITY_REQUEST
+28 BT_CMD_LE_START_WRITE
+29 BT_CMD_ROLE_SWITCH
+30 BT_CMD_BB_RECONN_CANCEL
+31 BT_CMD_STORE_RECONN_INFO_LE
+32 BT_CMD_STORE_RECONN_INFO_BT
+33 BT_CMD_START_24G
+34 BT_CMD_STOP_24G
+35 BT_CMD_PAIR_24G
+40 BT_CMD_UPDATE_SUPERVISION_TO
+)
+
+(
+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
+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: format/usb.format
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/format/usb.format	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/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: format/utility.format
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/format/utility.format	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/format/utility.format	(working copy)
@@ -0,0 +1,73 @@
+/**
+*  @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_lmp_lock
+1 mem_wakup_from_power_flag
+1 mem_lmp_bb_disconnect_reason
+
+)
+
+
+
+
+
+
+(
+/*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: format/var.format
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/format/var.format	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/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: linkkey.pl
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/linkkey.pl	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/linkkey.pl	(working copy)
@@ -0,0 +1,15 @@
+system("e mem_link_keyl10 > .t");
+open file, ".t";
+while(<file>) {
+	if(/:\s*(.*)\s*$/) {
+		@line = split(/ /,$1);
+		push @key, @line;
+	}
+}
+close file;
+unlink(".t");
+@key = reverse @key if($ARGV[0] =~ /r/);
+for($i = 0;$i < @key;$i++) {
+	print $key[$i];
+}
+print "\n";
Index: output/bt_format.meta
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/output/bt_format.meta	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/output/bt_format.meta	(working copy)
@@ -0,0 +1,7349 @@
+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
+0x48af mem_keyboard_uuid_list
+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
+0x4ab4 mem_24g_paring_tx_power_param
+0x4abe mem_5db_tx_power_param
+0x4ac8 mem_mouse_tz
+0x4ac9 mem_last_txlch
+0x4aca mem_last_txlen
+0x4acc mem_last_txdata
+0x4ae0 mem_current_event
+0x4ae1 mem_ipc_lock_rx_data_bt
+0x4ae2 mem_ipc_lock_rx_data_c51
+0x4ae3 mem_ipc_lock_tx_data_bt
+0x4ae4 mem_ipc_lock_tx_data_c51
+0x4ae5 mem_ipc_2bt_fifo_head
+0x4bad mem_ipc_2bt_fifo_end
+0x4bad mem_ipc_2bt_read_index
+0x4baf mem_ipc_2bt_write_index
+0x4bb1 mem_ipc_2C51_fifo_head
+0x4c79 mem_ipc_2C51_fifo_end
+0x4c79 mem_ipc_2C51_read_index
+0x4c7b mem_ipc_2C51_write_index
+0x4c7d mem_c51_private_area
+0x4ce1 mem_ipc_tx_evt_buff
+0x4ce3 mem_ipc_tx_evt
+0x4ce4 mem_ipc_bt_timer
+0x4ce6 mem_ipc_rx_type
+0x4ce7 mem_rfcomm_tx_buff
+0x4ce7 mem_24g_tx_btclk
+0x4ceb mem_24g_interval
+0x4cec mem_24g_txcnt
+0x4cef mem_24g_txfail_cnt
+0x4cf0 mem_24g_attempt_cnt
+0x4cf1 mem_24g_attempt_flag
+0x4cf2 mem_24g_rxcnt
+0x4cf5 mem_24g_rxfail_cnt
+0x4cf8 mem_loss_rate
+0x4cfa mem_24g_retry
+0x4cfb mem_24g_pid
+0x4cfc mem_24g_datalen
+0x4cfd mem_24g_crc
+0x4cff mem_24g_rxbuf
+0x4d3f mem_24g_addr
+0x4d43 mem_24g_len
+0x4d45 mem_24g_txpayload
+0x4d4f mem_24g_txdata
+0x4d55 mem_24g_ch
+0x4d56 mem_24g_sifs
+0x4d57 mem_24g_state
+0x4d58 mem_24g_scremble
+0x4d68 mem_dongle_exit_flag
+0x4d69 mem_24g_current_ch_number
+0x4d6a mem_24g_ch_count_down
+0x4d6b mem_24g_ch_map1
+0x4d6f mem_24g_ch_map2
+0x4d73 mem_24g_ch_map3
+0x4d77 mem_24g_ch_map4
+0x4d7b mem_24g_interval_min
+0x4d7c mem_24g_interval_max
+0x4d7d mem_24g_ensure
+0x4d7e mem_24g_enter_hibernate
+0x4d86 mem_24g_enter_lpm_timer
+0x4d87 mem_led_cap_delay_timer
+0x4d87 mem_senser_id2
+0x4d88 mem_senser_id3
+0x4d89 mem_rpn_dlci
+0x4d8a mem_ipc_last_check_timer
+0x4d8e mem_att_send_handle
+0x4d90 mem_att_send_option
+0x4d91 mem_lell_cur_opcode
+0x4d92 mem_prepare_write_len
+0x4d93 mem_ipc_c51_timer
+0x4d93 mem_prepare_write_offest
+0x4d95 mem_le51_payload_len
+0x4d96 mem_le51_cmd
+0x4d97 mem_le51_tx_length
+0x4d98 mem_le51_txbuff_inuse
+0x4d99 mem_24g_pairing_sm
+0x4d9a mem_24g_addr_copy
+0x4d9e mem_ipc_bt_100ms_timer
+0x4d9f mem_ipc_c51_100ms_timer
+0x4da0 mem_adc_config_flag
+0x4da1 mem_adc_channel
+0x4da2 mem_adc_0v
+0x4da4 mem_adc_3v
+0x4da6 mem_adc_current_value
+0x4da8 mem_kb_map_c51
+0x4e46 mem_kb_ks_col
+0x4e5b mem_hibernate_flag
+0x4e5c mem_new_supervision_to
+0x4e5e mem_kb_wake_timer
+0x4e5f mem_kb_last_data
+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
+)
+
+
+
+
+
+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
+)
+
+/*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	
+0x030210 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
+	)
+
+	//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
+)
+//C51 synchronous task
+(
+3 START_C51_CORE
+)
+
+(
+0 ADC_CONFIG_VINLPM
+1 ADC_CONFIG_HVIN
+2 ADC_CONFIG_GPIO
+)
+
+(
+0 P24G_SM_PAIRING_SUCC
+1 P24G_SM_PAIRING_REQUEST
+2 P24G_SM_PAIRING_WAIT_ADDR
+3 P24G_SM_PAIRING_COMPLETE
+4 P24G_SM_PAIRING_WAIT_SUCC
+)
+
+(
+0 P24G_PAIRING_REQ_HEAD
+1 P24G_PAIRING_COMPLETE_HEAD
+)
+
+//Mouse sensor ID1
+(
+0x30 P3204_ID
+0x31 P3065_ID
+)
+//Mouse sensor ID2
+(
+0x00 P3212_ID2
+0x70 P3065_ID2
+)
+
+(
+0 ENSURE_OFF_24G
+1 ENSURE_ON_24G
+)
+
+/* 24g */
+(
+6 dlen_24g
+14 plen_24g
+90 blen_tx_24g
+106 blen_rx_24g
+42 blen_txack_24g
+58 blen_rxack_24g
+3 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
+
+)
+//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 */
+(
+0 BT_CMD_STANDBY
+1 BT_CMD_START_DISCOVERY
+2 BT_CMD_STOP_DISCOVERY
+3 BT_CMD_RECONNECT
+4 BT_CMD_DISCONNECT
+5 BT_CMD_ENTER_SNIFF
+6 BT_CMD_EXIT_SNIFF
+7 BT_CMD_ENTER_SNIFF_SUBRATING
+8 BT_CMD_EXIT_SNIFF_SUBRATING
+9 BT_CMD_SNIFF_TEST
+10 BT_CMD_SET_PIN_CODE
+11 BT_CMD_START_INQUIRY
+12 BT_CMD_STOP_INQUIRY
+13 BT_CMD_START_ADV
+14 BT_CMD_STOP_ADV
+15 BT_CMD_START_DIRECT_ADV
+16 BT_CMD_STOP_DIRECT_ADV
+17 BT_CMD_LE_DISCONNECT
+18 BT_CMD_LE_UPDATE_CONN
+19 BT_CMD_LED_OFF
+20 BT_CMD_LED_ON
+21 BT_CMD_LED_BLINK
+22 BT_CMD_LE_START_CONN
+23 BT_CMD_LE_START_SCAN
+24 BT_CMD_LE_STOP_SCAN
+25 BT_CMD_ENTER_HIBERNATE
+27 BT_CMD_LE_SMP_SECURITY_REQUEST
+28 BT_CMD_LE_START_WRITE
+29 BT_CMD_ROLE_SWITCH
+30 BT_CMD_BB_RECONN_CANCEL
+31 BT_CMD_STORE_RECONN_INFO_LE
+32 BT_CMD_STORE_RECONN_INFO_BT
+33 BT_CMD_START_24G
+34 BT_CMD_STOP_24G
+35 BT_CMD_PAIR_24G
+40 BT_CMD_UPDATE_SUPERVISION_TO
+)
+
+(
+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
+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_lmp_lock
+0x0b80 mem_wakup_from_power_flag
+0x0b81 mem_lmp_bb_disconnect_reason
+
+
+
+
+
+
+(
+/*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
+  [1] 0   /* msb */
+  [15] 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: output/bt_program23.icode
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/output/bt_program23.icode	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/output/bt_program23.icode	(working copy)
@@ -0,0 +1,21362 @@
+ 00000000  0x00000027 bmark1  0x00000025 , 0x00000018 
+ 00000001  0x00000028 beq  0x00000000 , 0x0000002f 
+ 00000002  0x00000029 beq  0x000000ac , 0x00000045 
+ 00000003  0x0000002a beq  0x00000003 , 0x0000002c 
+ 00000004  0x0000002b beq  0x00000005 , 0x00000181 
+ 00000005  0x0000002c beq  0x0000000a , 0x00000350 
+ 00000006  0x0000002d beq  0x00000027 , 0x00000340 
+ 00000007  0x0000002e beq  0x00000028 , 0x0000032f 
+ 00000008  0x0000002f beq  0x0000002b , 0x00000335 
+ 00000009  0x00000030 beq  0x00000042 , 0x000001c5 
+ 00000010  0x00000031 beq  0x00000043 , 0x000001fe 
+ 00000011  0x00000032 beq  0x00000050 , 0x0000030f 
+ 00000012  0x00000033 beq  0x00000054 , 0x0000031e 
+ 00000013  0x00000034 beq  0x00000090 , 0x00000240 
+ 00000014  0x00000035 beq  0x00000092 , 0x00000206 
+ 00000015  0x00000036 beq  0x00000094 , 0x0000020c 
+ 00000016  0x00000037 beq  0x00000095 , 0x000001a7 
+ 00000017  0x00000038 beq  0x000000b0 , 0x0000032a 
+ 00000018  0x00000039 beq  0x000000b1 , 0x00000177 
+ 00000019  0x0000003a beq  0x000000b2 , 0x000001a9 
+ 00000020  0x0000003b beq  0x000000b3 , 0x000001b9 
+ 00000021  0x0000003c beq  0x000000b6 , 0x000002c0 
+ 00000022  0x0000003d beq  0x000000b9 , 0x0000018d 
+ 00000023  0x0000003e branch  0x00003bf1 
+ 00000024  0x00000042 beq  0x00000007 , 0x0000017f 
+ 00000025  0x00000043 beq  0x00000018 , 0x0000008d 
+ 00000026  0x00000044 beq  0x0000001b , 0x00000361 
+ 00000027  0x00000045 beq  0x00000023 , 0x00000380 
+ 00000028  0x00000046 beq  0x00000024 , 0x000000cc 
+ 00000029  0x00000047 beq  0x0000003e , 0x000002d3 
+ 00000030  0x00000048 beq  0x0000003f , 0x000002d6 
+ 00000031  0x00000049 beq  0x00000087 , 0x00000129 
+ 00000032  0x0000004a beq  0x0000008d , 0x000002e8 
+ 00000033  0x0000004b beq  0x0000008e , 0x000002f2 
+ 00000034  0x0000004c beq  0x0000008f , 0x000002de 
+ 00000035  0x0000004e beq  0x0000009c , 0x0000039c 
+ 00000036  0x00000050 beq  0x0000009f , 0x00000354 
+ 00000037  0x00000051 beq  0x000000cd , 0x00000243 
+ 00000038  0x00000052 beq  0x000000cf , 0x0000007a 
+ 00000039  0x00000054 beq  0x000000d0 , 0x00000130 
+ 00000040  0x00000055 beq  0x000000e2 , 0x000001e1 
+ 00000041  0x00000056 beq  0x000000e3 , 0x000001c9 
+ 00000042  0x00000057 beq  0x000000e6 , 0x00000057 
+ 00000043  0x0000005a branch  0x00003bf1 
+ 00000044  0x00000062 call  0x000000d0 
+ 00000045  0x00000063 call  0x00000095 
+ 00000046  0x00000065 branch  0x00003015 
+ 00000047  0x00000067 hfetch  0x00000001 , 0x0000813b 
+ 00000048  0x00000068 store  0x00000001 , 0x00000b80 
+ 00000049  0x00000069 hjam  0x00000008 , 0x00008006 
+ 00000050  0x0000006a branch  0x00003003 
+ 00000051  0x0000006e force  0x00000008 , 0x00000038 
+ 00000052  0x0000006f arg  0x00000000 , 0x0000002f 
+ 00000053  0x00000070 arg  0x00000003 , 0x00000039 
+ 00000054  0x00000072 increase  0x00000001 , 0x00000038 
+ 00000055  0x00000073 arg  0x00000000 , 0x0000002f 
+ 00000056  0x00000074 loop  0x00000036 
+ 00000057  0x00000075 rtn 
+ 00000058  0x00000077 force  0x00000004 , 0x00000038 
+ 00000059  0x00000078 force  0x00000004 , 0x00000039 
+ 00000060  0x0000007a setarg  0x00000000 
+ 00000061  0x0000007b iforce  0x0000002f 
+ 00000062  0x0000007c increase  0x00000001 , 0x00000038 
+ 00000063  0x0000007d loop  0x0000003c 
+ 00000064  0x0000007e rtn 
+ 00000065  0x00000080 call  0x0000759d 
+ 00000066  0x00000081 call  0x0000753d 
+ 00000067  0x00000082 call  0x0000003a 
+ 00000068  0x00000083 branch  0x00000033 
+ 00000069  0x00000085 hjam  0x00000084 , 0x00008967 
+ 00000070  0x00000086 call  0x00000041 
+ 00000071  0x00000087 hfetch  0x00000001 , 0x00008085 
+ 00000072  0x00000088 set1  0x00000005 , 0x0000003f 
+ 00000073  0x00000089 hstore  0x00000001 , 0x00008085 
+ 00000074  0x0000008a setarg  0x0000ee21 
+ 00000075  0x0000008b hstore  0x00000002 , 0x00008050 
+ 00000076  0x0000008c hfetch  0x00000001 , 0x0000813e 
+ 00000077  0x0000008d hjam  0x00000025 , 0x00008050 
+ 00000078  0x0000008e hjam  0x00000005 , 0x00008280 
+ 00000079  0x0000008f call  0x00007f36 
+ 00000080  0x00000090 setarg  0x00000020 
+ 00000081  0x00000091 store  0x00000002 , 0x00000221 
+ 00000082  0x00000092 call  0x0000672e 
+ 00000083  0x00000093 fetch  0x00000001 , 0x00004015 
+ 00000084  0x00000094 set0  0x00000004 , 0x0000003f 
+ 00000085  0x00000095 store  0x00000001 , 0x00004015 
+ 00000086  0x00000096 branch  0x00003001 
+ 00000087  0x0000009a fetch  0x00000001 , 0x0000007c 
+ 00000088  0x0000009b branch  0x0000005c , 0x00000034 
+ 00000089  0x0000009c call  0x000061d9 
+ 00000090  0x0000009d fetch  0x00000001 , 0x0000007c 
+ 00000091  0x0000009e nrtn  0x00000034 
+ 00000092  0x000000a0 fetch  0x00000001 , 0x00000055 
+ 00000093  0x000000a1 rtn  0x00000034 
+ 00000094  0x000000a2 beq  0x00000006 , 0x0000006b 
+ 00000095  0x000000a3 beq  0x00000010 , 0x00000061 
+ 00000096  0x000000a4 branch  0x0000623e 
+ 00000097  0x000000a7 fetch  0x00000001 , 0x00004748 
+ 00000098  0x000000a8 rtneq  0x00000000 
+ 00000099  0x000000a9 beq  0x00000001 , 0x00000069 
+ 00000100  0x000000aa arg  0x0000000a , 0x00000007 
+ 00000101  0x000000ab call  0x00007e53 
+ 00000102  0x000000ac nrtn  0x00000034 
+ 00000103  0x000000ad jam  0x00000000 , 0x00004748 
+ 00000104  0x000000ae branch  0x0000629b 
+ 00000105  0x000000b0 rtn  0x00000029 
+ 00000106  0x000000b1 branch  0x0000006b 
+ 00000107  0x000000b5 fetch  0x00000001 , 0x00000177 
+ 00000108  0x000000b6 bbit1  0x00000002 , 0x0000629b 
+ 00000109  0x000000b7 bbit1  0x00000000 , 0x0000006e 
+ 00000110  0x000000b9 fetch  0x00000001 , 0x0000425e 
+ 00000111  0x000000ba branch  0x000062c7 , 0x00000034 
+ 00000112  0x000000bb fetch  0x00000001 , 0x0000044d 
+ 00000113  0x000000bc rtnbit0  0x00000003 
+ 00000114  0x000000bd rtnbit0  0x00000002 
+ 00000115  0x000000be fetch  0x00000004 , 0x00000465 
+ 00000116  0x000000bf arg  0x00000320 , 0x00000002 
+ 00000117  0x000000c0 iadd  0x00000002 , 0x00000002 
+ 00000118  0x000000c1 copy  0x00000022 , 0x0000003f 
+ 00000119  0x000000c2 isub  0x00000002 , 0x0000003e 
+ 00000120  0x000000c3 nrtn  0x00000002 
+ 00000121  0x000000c4 branch  0x00006267 
+ 00000122  0x000000c7 arg  0x000047df , 0x00000011 
+ 00000123  0x000000c8 call  0x00007f9f 
+ 00000124  0x000000c9 rtn  0x00000034 
+ 00000125  0x000000cb copy  0x0000003f , 0x00000013 
+ 00000126  0x000000cc call  0x00000080 
+ 00000127  0x000000cd branch  0x00003ea5 
+ 00000128  0x000000cf rtneq  0x00000018 
+ 00000129  0x000000d0 beq  0x00000006 , 0x00006614 
+ 00000130  0x000000d1 beq  0x00000002 , 0x00000084 
+ 00000131  0x000000d2 branch  0x00003e7d 
+ 00000132  0x000000d5 jam  0x00000000 , 0x0000429d 
+ 00000133  0x000000d6 fetch  0x00000002 , 0x000047f4 
+ 00000134  0x000000d7 bbit1  0x00000007 , 0x00003f08 
+ 00000135  0x000000d8 isolate0  0x00000001 , 0x0000003f 
+ 00000136  0x000000d9 call  0x0000008a , 0x00000001 
+ 00000137  0x000000da branch  0x00003f08 
+ 00000138  0x000000dd fetch  0x00000001 , 0x00000450 
+ 00000139  0x000000de rtneq  0x00000002 
+ 00000140  0x000000df branch  0x00003e7b 
+ 00000141  0x000000e4 fetch  0x00000002 , 0x000002cd 
+ 00000142  0x000000e5 branch  0x00004dfc , 0x00000034 
+ 00000143  0x000000e6 fetch  0x00000001 , 0x000002cf 
+ 00000144  0x000000e7 beq  0x00000001 , 0x00000092 
+ 00000145  0x000000e8 branch  0x00004dbb 
+ 00000146  0x000000ea call  0x0000527a 
+ 00000147  0x000000eb nrtn  0x00000034 
+ 00000148  0x000000ec branch  0x00004dc3 
+ 00000149  0x000000ef fetch  0x00000001 , 0x000047dc 
+ 00000150  0x000000f0 branch  0x00000099 , 0x00000034 
+ 00000151  0x000000f1 fetch  0x00000001 , 0x00004793 
+ 00000152  0x000000f2 rtn  0x00000034 
+ 00000153  0x000000f4 call  0x00000188 
+ 00000154  0x000000f5 rtn  0x00000028 
+ 00000155  0x000000f6 byteswap  0x0000003f , 0x0000003f 
+ 00000156  0x000000f7 copy  0x0000003f , 0x00000006 
+ 00000157  0x000000f8 call  0x00000108 
+ 00000158  0x000000f9 store  0x00000001 , 0x00004ce6 
+ 00000159  0x000000fa beq  0x00000001 , 0x000000ac 
+ 00000160  0x000000fb copy  0x0000003f , 0x00000002 
+ 00000161  0x000000fc copy  0x00000006 , 0x00000011 
+ 00000162  0x000000fd fetch  0x00000001 , 0x00004040 
+ 00000163  0x000000fe bbit0  0x00000000 , 0x000000a9 
+ 00000164  0x000000ff copy  0x00000011 , 0x00000006 
+ 00000165  0x00000100 rtnmark0  0x00000009 
+ 00000166  0x00000101 copy  0x00000002 , 0x0000003f 
+ 00000167  0x00000102 beq  0x00000003 , 0x000000b6 
+ 00000168  0x00000103 branch  0x00003bf1 
+ 00000169  0x00000106 copy  0x00000011 , 0x00000006 
+ 00000170  0x00000107 arg  0x000000f8 , 0x00000005 
+ 00000171  0x00000108 branch  0x00000100 
+ 00000172  0x0000010b call  0x00000108 
+ 00000173  0x0000010c call  0x00000108 
+ 00000174  0x0000010d store  0x00000001 , 0x00000b7d 
+ 00000175  0x0000010e call  0x000000b1 
+ 00000176  0x0000010f branch  0x00007c33 
+ 00000177  0x00000111 call  0x0000010b 
+ 00000178  0x00000112 copy  0x00000006 , 0x00000002 
+ 00000179  0x00000113 byteswap  0x00000002 , 0x00000002 
+ 00000180  0x00000114 storet  0x00000002 , 0x00004bad 
+ 00000181  0x00000115 rtn 
+ 00000182  0x00000119 call  0x00000108 
+ 00000183  0x0000011a copy  0x0000003f , 0x00000011 
+ 00000184  0x0000011b copy  0x00000006 , 0x0000003f 
+ 00000185  0x0000011c store  0x00000002 , 0x000002b7 
+ 00000186  0x0000011d increase  0x00000001 , 0x00000011 
+ 00000187  0x0000011e call  0x00004b2c 
+ 00000188  0x0000011f add  0x00000005 , 0xfffffffe , 0x00000012 
+ 00000189  0x00000120 fetch  0x00000002 , 0x000042b7 
+ 00000190  0x00000121 istore  0x00000002 , 0x00000005 
+ 00000191  0x00000122 setarg  0x000000a1 
+ 00000192  0x00000123 istore  0x00000001 , 0x00000005 
+ 00000193  0x00000124 add  0x00000011 , 0xffffffff , 0x00000039 
+ 00000194  0x00000125 fetch  0x00000002 , 0x000002b7 
+ 00000195  0x00000126 copy  0x0000003f , 0x00000006 
+ 00000196  0x00000128 call  0x00000102 
+ 00000197  0x00000129 copy  0x00000012 , 0x00000006 
+ 00000198  0x0000012a ifetch  0x00000002 , 0x00000006 
+ 00000199  0x0000012b store  0x00000002 , 0x00004e5f 
+ 00000200  0x0000012c add  0x0000003f , 0x00000002 , 0x00000039 
+ 00000201  0x0000012d call  0x00007e45 
+ 00000202  0x0000012e jam  0x00000032 , 0x00004e5e 
+ 00000203  0x0000012f rtn 
+ 00000204  0x00000133 arg  0x00000000 , 0x00000012 
+ 00000205  0x00000134 call  0x0000527a 
+ 00000206  0x00000135 nrtn  0x00000034 
+ 00000207  0x00000136 branch  0x0000524d 
+ 00000208  0x0000013a fetcht  0x00000004 , 0x00004d8a 
+ 00000209  0x0000013b copy  0x00000022 , 0x0000003f 
+ 00000210  0x0000013c isub  0x00000002 , 0x0000003f 
+ 00000211  0x0000013e arg  0x00000640 , 0x00000002 
+ 00000212  0x0000013f idiv  0x00000002 
+ 00000213  0x00000140 call  0x00007efd 
+ 00000214  0x00000141 quotient  0x0000003f 
+ 00000215  0x00000142 rtn  0x00000034 
+ 00000216  0x00000143 copy  0x00000022 , 0x00000002 
+ 00000217  0x00000144 storet  0x00000004 , 0x00004d8a 
+ 00000218  0x00000145 fetcht  0x00000002 , 0x00004ce4 
+ 00000219  0x00000146 byteswap  0x00000002 , 0x00000002 
+ 00000220  0x00000147 iadd  0x00000002 , 0x0000003f 
+ 00000221  0x00000148 byteswap  0x0000003f , 0x0000003f 
+ 00000222  0x00000149 store  0x00000002 , 0x00004ce4 
+ 00000223  0x0000014a byteswap  0x0000003f , 0x0000003f 
+ 00000224  0x0000014b and  0x0000003f , 0x00000003 , 0x0000003f 
+ 00000225  0x0000014c rtnne  0x00000000 
+ 00000226  0x0000014d fetch  0x00000001 , 0x00004da0 
+ 00000227  0x0000014e bbit1  0x00000000 , 0x000000e7 
+ 00000228  0x0000014f bbit1  0x00000001 , 0x000000e9 
+ 00000229  0x00000150 bbit1  0x00000002 , 0x000000eb 
+ 00000230  0x00000151 rtn 
+ 00000231  0x00000153 hjam  0x000000bf , 0x00008971 
+ 00000232  0x00000154 branch  0x000000ef 
+ 00000233  0x00000156 hjam  0x000000af , 0x00008971 
+ 00000234  0x00000157 branch  0x000000ef 
+ 00000235  0x00000159 hjam  0x0000008f , 0x00008971 
+ 00000236  0x0000015a fetch  0x00000001 , 0x00004da1 
+ 00000237  0x0000015b hstore  0x00000001 , 0x00008973 
+ 00000238  0x0000015c branch  0x000000ef 
+ 00000239  0x0000015e hfetch  0x00000001 , 0x00008053 
+ 00000240  0x0000015f set1  0x00000007 , 0x0000003f 
+ 00000241  0x00000160 hstore  0x00000001 , 0x00008053 
+ 00000242  0x00000161 hfetch  0x00000001 , 0x00008973 
+ 00000243  0x00000162 or_into  0x00000030 , 0x0000003f 
+ 00000244  0x00000163 hstore  0x00000001 , 0x00008973 
+ 00000245  0x00000164 hjam  0x00000074 , 0x00008906 
+ 00000246  0x00000165 hjam  0x0000007c , 0x00008906 
+ 00000247  0x00000166 hjam  0x000000aa , 0x00008972 
+ 00000248  0x00000167 nop  0x00001388 
+ 00000249  0x00000168 hfetcht  0x00000002 , 0x00008150 
+ 00000250  0x00000169 hfetch  0x00000001 , 0x00008053 
+ 00000251  0x0000016a set0  0x00000007 , 0x0000003f 
+ 00000252  0x0000016b hstore  0x00000001 , 0x00008053 
+ 00000253  0x0000016c byteswap  0x00000002 , 0x00000002 
+ 00000254  0x0000016d storet  0x00000002 , 0x00004da6 
+ 00000255  0x0000016e rtn 
+ 00000256  0x00000172 call  0x00000108 
+ 00000257  0x00000173 copy  0x0000003f , 0x00000039 
+ 00000258  0x00000175 call  0x00000104 
+ 00000259  0x00000176 branch  0x000000b1 
+ 00000260  0x00000179 call  0x00000108 
+ 00000261  0x0000017a istore  0x00000001 , 0x00000005 
+ 00000262  0x0000017b loop  0x00000104 
+ 00000263  0x0000017c rtn 
+ 00000264  0x0000017f call  0x0000010b 
+ 00000265  0x00000180 ifetch  0x00000001 , 0x00000006 
+ 00000266  0x00000181 rtn 
+ 00000267  0x00000184 setarg  0x00004bad 
+ 00000268  0x00000185 isub  0x00000006 , 0x0000003e 
+ 00000269  0x00000186 nrtn  0x00000005 
+ 00000270  0x00000187 arg  0x00004ae5 , 0x00000006 
+ 00000271  0x00000188 rtn 
+ 00000272  0x0000018b arg  0x00000003 , 0x00000039 
+ 00000273  0x0000018c arg  0x00004ce1 , 0x00000006 
+ 00000274  0x0000018e copy  0x00000006 , 0x00000011 
+ 00000275  0x0000018f fetch  0x00000002 , 0x00004c7b 
+ 00000276  0x00000190 byteswap  0x0000003f , 0x0000003f 
+ 00000277  0x00000191 copy  0x0000003f , 0x00000005 
+ 00000278  0x00000192 copy  0x00000011 , 0x00000006 
+ 00000279  0x00000194 ifetch  0x00000001 , 0x00000006 
+ 00000280  0x00000195 istore  0x00000001 , 0x00000005 
+ 00000281  0x00000196 call  0x0000011f 
+ 00000282  0x00000197 loop  0x00000117 
+ 00000283  0x00000198 copy  0x00000005 , 0x0000003f 
+ 00000284  0x00000199 byteswap  0x0000003f , 0x0000003f 
+ 00000285  0x0000019a store  0x00000002 , 0x00004c7b 
+ 00000286  0x0000019b rtn 
+ 00000287  0x0000019d setarg  0x00004c79 
+ 00000288  0x0000019e isub  0x00000005 , 0x0000003e 
+ 00000289  0x0000019f nrtn  0x00000005 
+ 00000290  0x000001a0 arg  0x00004bb1 , 0x00000005 
+ 00000291  0x000001a1 rtn 
+ 00000292  0x000001a4 setarg  0x00000010 
+ 00000293  0x000001a5 arg  0x00000003 , 0x00000007 
+ 00000294  0x000001a6 call  0x00007e68 
+ 00000295  0x000001a7 iadd  0x00000012 , 0x00000012 
+ 00000296  0x000001a8 rtn 
+ 00000297  0x000001aa arg  0x00000000 , 0x00000011 
+ 00000298  0x000001ab fetcht  0x00000004 , 0x000047ec 
+ 00000299  0x000001ac copy  0x00000022 , 0x00000012 
+ 00000300  0x000001ad copy  0x00000012 , 0x0000003f 
+ 00000301  0x000001ae isub  0x00000002 , 0x0000003e 
+ 00000302  0x000001af ncall  0x00000124 , 0x00000002 
+ 00000303  0x000001b0 branch  0x00007c09 
+ 00000304  0x000001b4 storet  0x00000001 , 0x00000259 
+ 00000305  0x000001b5 fetch  0x00000001 , 0x00004d9e 
+ 00000306  0x000001b6 increase  0x00000001 , 0x0000003f 
+ 00000307  0x000001b7 store  0x00000001 , 0x00004d9e 
+ 00000308  0x000001b9 fetch  0x00000001 , 0x00000259 
+ 00000309  0x000001ba rtn  0x00000034 
+ 00000310  0x000001bb increase  0xffffffff , 0x0000003f 
+ 00000311  0x000001bc store  0x00000001 , 0x00000259 
+ 00000312  0x000001bd call  0x00000155 
+ 00000313  0x000001be call  0x0000015c 
+ 00000314  0x000001bf call  0x0000014f 
+ 00000315  0x000001c0 call  0x0000013d 
+ 00000316  0x000001c1 branch  0x00000134 
+ 00000317  0x000001c3 fetch  0x00000001 , 0x00004e5e 
+ 00000318  0x000001c4 rtn  0x00000034 
+ 00000319  0x000001c5 increase  0xffffffff , 0x0000003f 
+ 00000320  0x000001c6 store  0x00000001 , 0x00004e5e 
+ 00000321  0x000001c7 rtnne  0x00000001 
+ 00000322  0x000001c8 jam  0x00000032 , 0x00004e5e 
+ 00000323  0x000001cb fetch  0x00000002 , 0x000047f4 
+ 00000324  0x000001cd rtnbit0  0x00000005 
+ 00000325  0x000001ce fetch  0x00000002 , 0x00004e5f 
+ 00000326  0x000001cf rtn  0x00000034 
+ 00000327  0x000001d1 call  0x0000527e 
+ 00000328  0x000001d2 nrtn  0x00000034 
+ 00000329  0x000001d3 fetch  0x00000002 , 0x00004e5f 
+ 00000330  0x000001d4 copy  0x0000003f , 0x00000011 
+ 00000331  0x000001d5 call  0x00004b2c 
+ 00000332  0x000001d6 add  0x00000011 , 0x00000002 , 0x00000039 
+ 00000333  0x000001d7 arg  0x00004e61 , 0x00000006 
+ 00000334  0x000001d8 branch  0x00007e45 
+ 00000335  0x000001db fetch  0x00000001 , 0x00004d87 
+ 00000336  0x000001dc rtn  0x00000034 
+ 00000337  0x000001dd increase  0xffffffff , 0x0000003f 
+ 00000338  0x000001de store  0x00000001 , 0x00004d87 
+ 00000339  0x000001df branch  0x00003fa4 , 0x00000034 
+ 00000340  0x000001e0 branch  0x00003fa6 
+ 00000341  0x000001e3 fetch  0x00000001 , 0x000047f2 
+ 00000342  0x000001e4 rtn  0x00000034 
+ 00000343  0x000001e5 increase  0xffffffff , 0x0000003f 
+ 00000344  0x000001e6 store  0x00000001 , 0x000047f2 
+ 00000345  0x000001e7 nrtn  0x00000034 
+ 00000346  0x000001e8 call  0x00003ebd 
+ 00000347  0x000001e9 branch  0x00004b22 
+ 00000348  0x000001eb fetch  0x00000001 , 0x00004d86 
+ 00000349  0x000001ec rtn  0x00000034 
+ 00000350  0x000001ed increase  0xffffffff , 0x0000003f 
+ 00000351  0x000001ee store  0x00000001 , 0x00004d86 
+ 00000352  0x000001ef rtn 
+ 00000353  0x000001f2 copy  0x00000013 , 0x0000003f 
+ 00000354  0x000001f3 and_into  0x000000f0 , 0x0000003f 
+ 00000355  0x000001f4 rtneq  0x00000050 
+ 00000356  0x000001f5 call  0x00000169 
+ 00000357  0x000001f6 copy  0x00000013 , 0x0000003f 
+ 00000358  0x000001f7 rtn  0x00000034 
+ 00000359  0x000001f8 store  0x00000001 , 0x00004ce3 
+ 00000360  0x000001f9 branch  0x00000110 
+ 00000361  0x000001fb copy  0x00000013 , 0x0000003f 
+ 00000362  0x000001fc beq  0x0000000b , 0x0000016d 
+ 00000363  0x000001fd beq  0x00000002 , 0x00000175 
+ 00000364  0x000001fe rtn 
+ 00000365  0x00000200 jam  0x00000028 , 0x00004e5e 
+ 00000366  0x00000201 setarg  0x0000000a 
+ 00000367  0x00000202 store  0x00000002 , 0x00004e5f 
+ 00000368  0x00000203 fetch  0x00000002 , 0x000042b7 
+ 00000369  0x00000204 istore  0x00000002 , 0x00000005 
+ 00000370  0x00000205 setarg  0x000001a1 
+ 00000371  0x00000206 istore  0x00000002 , 0x00000005 
+ 00000372  0x00000207 rtn 
+ 00000373  0x00000209 jam  0x00000000 , 0x00004e5e 
+ 00000374  0x0000020a rtn 
+ 00000375  0x00000214 jam  0x0000007f , 0x0000416e 
+ 00000376  0x00000215 call  0x00003cf3 
+ 00000377  0x00000216 fetch  0x00000001 , 0x00004e5b 
+ 00000378  0x00000217 rtn  0x00000034 
+ 00000379  0x00000218 jam  0x00000000 , 0x00004e5b 
+ 00000380  0x00000219 copy  0x00000022 , 0x0000003f 
+ 00000381  0x0000021a store  0x00000004 , 0x00004d8a 
+ 00000382  0x0000021b rtn 
+ 00000383  0x00000220 branch  0x00003bf1 
+ 00000384  0x00000222 branch  0x00003bf1 
+ 00000385  0x00000224 call  0x00003392 
+ 00000386  0x00000225 call  0x00003407 
+ 00000387  0x00000226 call  0x00003024 
+ 00000388  0x00000227 branch  0x00003022 
+ 00000389  0x0000022b fetch  0x00000002 , 0x00004c79 
+ 00000390  0x0000022c fetcht  0x00000002 , 0x00004c7b 
+ 00000391  0x0000022d branch  0x0000018a 
+ 00000392  0x0000022f fetch  0x00000002 , 0x00004bad 
+ 00000393  0x00000230 fetcht  0x00000002 , 0x00004baf 
+ 00000394  0x00000232 isub  0x00000002 , 0x0000003e 
+ 00000395  0x00000233 branch  0x000069b1 , 0x00000005 
+ 00000396  0x00000234 branch  0x0000320b 
+ 00000397  0x00000237 fetch  0x00000001 , 0x00004219 
+ 00000398  0x00000238 nrtn  0x00000034 
+ 00000399  0x00000239 hjam  0x00000006 , 0x00008042 
+ 00000400  0x0000023a setarg  0x00000f0c 
+ 00000401  0x0000023b call  0x00003da7 
+ 00000402  0x0000023c setarg  0x00030d40 
+ 00000403  0x0000023d call  0x00003bf3 
+ 00000404  0x0000023e until  0x0000003e , 0x00000033 
+ 00000405  0x0000023f copy  0x00000031 , 0x00000030 
+ 00000406  0x00000240 call  0x00003b36 
+ 00000407  0x00000241 nop  0x00001388 
+ 00000408  0x00000242 branch  0x00003d9d 
+ 00000409  0x00000246 fetch  0x00000001 , 0x00004219 
+ 00000410  0x00000247 nbranch  0x0000019f , 0x00000034 
+ 00000411  0x00000248 call  0x00003d91 
+ 00000412  0x00000249 nop  0x00007530 
+ 00000413  0x0000024a nop  0x00007530 
+ 00000414  0x0000024b nop  0x00007530 
+ 00000415  0x0000024d call  0x00003b0a 
+ 00000416  0x0000024e hjam  0x00000004 , 0x00008042 
+ 00000417  0x0000024f hfetch  0x00000001 , 0x0000896b 
+ 00000418  0x00000250 and_into  0x000000cf , 0x0000003f 
+ 00000419  0x00000251 hstore  0x00000001 , 0x0000896b 
+ 00000420  0x00000252 or_into  0x00000030 , 0x0000003f 
+ 00000421  0x00000253 hstore  0x00000001 , 0x0000896b 
+ 00000422  0x00000254 rtn 
+ 00000423  0x00000257 call  0x00000199 
+ 00000424  0x00000258 branch  0x00003aaf 
+ 00000425  0x0000025a rtnmark1  0x00000023 
+ 00000426  0x0000025b call  0x00003cab 
+ 00000427  0x0000025c fetch  0x00000003 , 0x00004210 
+ 00000428  0x0000025d rtn  0x00000034 
+ 00000429  0x00000260 fetch  0x00000001 , 0x00004131 
+ 00000430  0x00000261 rtn  0x00000034 
+ 00000431  0x00000262 call  0x0000527e 
+ 00000432  0x00000263 nrtn  0x00000034 
+ 00000433  0x00000264 call  0x00003dca 
+ 00000434  0x00000265 nrtn  0x00000034 
+ 00000435  0x00000266 call  0x00003b36 
+ 00000436  0x00000267 fetch  0x00000001 , 0x000047dc 
+ 00000437  0x00000268 branch  0x00003d25 , 0x00000034 
+ 00000438  0x00000269 fetch  0x00000001 , 0x00004793 
+ 00000439  0x0000026a rtn  0x00000034 
+ 00000440  0x0000026b branch  0x00003d25 
+ 00000441  0x0000026e call  0x00000188 
+ 00000442  0x0000026f nrtn  0x00000028 
+ 00000443  0x00000270 call  0x00000185 
+ 00000444  0x00000271 nrtn  0x00000028 
+ 00000445  0x00000272 jam  0x00000001 , 0x00000b7f 
+ 00000446  0x00000273 jam  0x00000001 , 0x00000b7e 
+ 00000447  0x00000274 call  0x000002d9 
+ 00000448  0x00000275 fetch  0x00000001 , 0x00000b7f 
+ 00000449  0x00000276 nrtn  0x00000034 
+ 00000450  0x00000277 call  0x00000188 
+ 00000451  0x00000278 nrtn  0x00000028 
+ 00000452  0x00000279 branch  0x00003d2d 
+ 00000453  0x0000027b call  0x00003e25 
+ 00000454  0x0000027c call  0x00006dec 
+ 00000455  0x0000027d call  0x000035d6 
+ 00000456  0x0000027e branch  0x00003480 
+ 00000457  0x00000281 disable  0x00000028 
+ 00000458  0x00000282 call  0x000061d9 
+ 00000459  0x00000283 fetch  0x00000001 , 0x00000048 
+ 00000460  0x00000284 rtn  0x00000034 
+ 00000461  0x00000285 bbit1  0x00000007 , 0x00005f10 
+ 00000462  0x00000286 beq  0x00000002 , 0x000001d1 
+ 00000463  0x00000287 beq  0x00000007 , 0x000001de 
+ 00000464  0x00000288 branch  0x00005ee0 
+ 00000465  0x0000028a force  0x00000011 , 0x0000003f 
+ 00000466  0x0000028b call  0x000061b5 
+ 00000467  0x0000028c fetch  0x00000001 , 0x00000049 
+ 00000468  0x0000028d copy  0x0000003f , 0x00000002 
+ 00000469  0x0000028e beq  0x00000000 , 0x000001d9 
+ 00000470  0x0000028f beq  0x0000000e , 0x000001d9 
+ 00000471  0x00000290 beq  0x0000001c , 0x000001d9 
+ 00000472  0x00000291 rtn 
+ 00000473  0x00000293 istore  0x00000001 , 0x00000005 
+ 00000474  0x00000294 fetch  0x00000001 , 0x00004702 
+ 00000475  0x00000295 istore  0x00000001 , 0x00000005 
+ 00000476  0x00000296 setarg  0x0000000e 
+ 00000477  0x00000297 branch  0x00005fa6 
+ 00000478  0x0000029a call  0x00006055 
+ 00000479  0x0000029b jam  0x00000064 , 0x00000072 
+ 00000480  0x0000029c rtn 
+ 00000481  0x000002a0 fetch  0x00000001 , 0x0000007d 
+ 00000482  0x000002a1 beq  0x00000003 , 0x000001ed 
+ 00000483  0x000002a2 beq  0x00000004 , 0x00005c67 
+ 00000484  0x000002a3 beq  0x00000007 , 0x000001fb 
+ 00000485  0x000002a5 branch  0x00005b92 
+ 00000486  0x000002a7 fetch  0x00000001 , 0x00000030 
+ 00000487  0x000002a8 bbit1  0x00000001 , 0x00005db5 
+ 00000488  0x000002a9 fetch  0x00000002 , 0x000004e2 
+ 00000489  0x000002aa lshift  0x0000003f , 0x0000003f 
+ 00000490  0x000002ab sub  0x0000003f , 0x0000000f , 0x0000003e 
+ 00000491  0x000002ac nbranch  0x00005db5 , 0x00000002 
+ 00000492  0x000002ad branch  0x00005da4 
+ 00000493  0x000002af fetch  0x00000001 , 0x000004df 
+ 00000494  0x000002b0 store  0x00000001 , 0x00000445 
+ 00000495  0x000002b1 beq  0x00000018 , 0x000001f9 
+ 00000496  0x000002b2 beq  0x00000013 , 0x0000032c 
+ 00000497  0x000002b3 beq  0x00000033 , 0x000001f3 
+ 00000498  0x000002b4 branch  0x00005c58 
+ 00000499  0x000002b8 fetch  0x00000001 , 0x0000044d 
+ 00000500  0x000002b9 set1  0x00000000 , 0x0000003f 
+ 00000501  0x000002ba store  0x00000001 , 0x0000044d 
+ 00000502  0x000002bb jam  0x00000001 , 0x00000b7d 
+ 00000503  0x000002bc call  0x00007c27 
+ 00000504  0x000002bd branch  0x00005c83 
+ 00000505  0x000002bf call  0x00003f9e 
+ 00000506  0x000002c0 branch  0x00005ccc 
+ 00000507  0x000002c2 fetch  0x00000001 , 0x000004df 
+ 00000508  0x000002c3 store  0x00000001 , 0x00000446 
+ 00000509  0x000002c4 branch  0x00005cf3 
+ 00000510  0x000002c8 call  0x00003d61 
+ 00000511  0x000002c9 call  0x00003be2 
+ 00000512  0x000002ca branch  0x00003498 , 0x00000002 
+ 00000513  0x000002cb call  0x00003204 
+ 00000514  0x000002cc nbranch  0x00003498 , 0x00000028 
+ 00000515  0x000002cd call  0x00003812 
+ 00000516  0x000002ce nbranch  0x000001c6 , 0x00000034 
+ 00000517  0x000002cf rtn 
+ 00000518  0x000002d2 storet  0x00000001 , 0x00000017 
+ 00000519  0x000002d3 add  0x00000002 , 0x00000004 , 0x00000011 
+ 00000520  0x000002d4 branch  0x00003a86 
+ 00000521  0x000002d7 storet  0x00000001 , 0x00000017 
+ 00000522  0x000002d8 add  0x00000002 , 0x00000000 , 0x00000011 
+ 00000523  0x000002d9 branch  0x00003ab6 
+ 00000524  0x000002dc call  0x00000209 
+ 00000525  0x000002de setarg  0x00000500 
+ 00000526  0x000002df call  0x00003bf3 
+ 00000527  0x000002e1 call  0x00000214 
+ 00000528  0x000002e2 fetch  0x00000001 , 0x00004d99 
+ 00000529  0x000002e3 arg  0x000046d8 , 0x00000005 
+ 00000530  0x000002e4 nbranch  0x00000220 , 0x00000034 
+ 00000531  0x000002e5 branch  0x00000227 
+ 00000532  0x000002e7 hjam  0x00000001 , 0x00008906 
+ 00000533  0x000002e8 hjam  0x0000003c , 0x00008900 
+ 00000534  0x000002e9 hjam  0x000000e0 , 0x00008901 
+ 00000535  0x000002ea hjam  0x00000012 , 0x0000096d 
+ 00000536  0x000002eb nop  0x0000000a 
+ 00000537  0x000002ec hjam  0x00000001 , 0x00008902 
+ 00000538  0x000002ed hjam  0x0000003d , 0x00008902 
+ 00000539  0x000002ee nop  0x0000000a 
+ 00000540  0x000002ef hjam  0x000000b7 , 0x00008903 
+ 00000541  0x000002f0 nop  0x0000000a 
+ 00000542  0x000002f1 hjam  0x0000007d , 0x00008902 
+ 00000543  0x000002f2 rtn 
+ 00000544  0x000002f5 fetch  0x00000005 , 0x00004ab4 
+ 00000545  0x000002f6 istore  0x00000005 , 0x00000005 
+ 00000546  0x000002f7 ifetch  0x00000005 , 0x00000006 
+ 00000547  0x000002f8 istore  0x00000005 , 0x00000005 
+ 00000548  0x000002f9 hjam  0x000000c2 , 0x00000956 
+ 00000549  0x000002fa hjam  0x000000d0 , 0x00000955 
+ 00000550  0x000002fb rtn 
+ 00000551  0x000002fe fetch  0x00000005 , 0x00004abe 
+ 00000552  0x000002ff istore  0x00000005 , 0x00000005 
+ 00000553  0x00000300 ifetch  0x00000005 , 0x00000006 
+ 00000554  0x00000301 istore  0x00000005 , 0x00000005 
+ 00000555  0x00000302 hjam  0x000000df , 0x00000956 
+ 00000556  0x00000303 call  0x0000022f 
+ 00000557  0x00000304 hjam  0x000000df , 0x00000955 
+ 00000558  0x00000305 rtn 
+ 00000559  0x0000030b nop  0x00000004 
+ 00000560  0x0000030c hjam  0x000000d1 , 0x00000955 
+ 00000561  0x0000030d nop  0x00000004 
+ 00000562  0x0000030e hjam  0x000000d2 , 0x00000955 
+ 00000563  0x0000030f nop  0x00000004 
+ 00000564  0x00000310 hjam  0x000000d4 , 0x00000955 
+ 00000565  0x00000311 nop  0x00000004 
+ 00000566  0x00000314 rtn 
+ 00000567  0x00000317 hjam  0x000000d4 , 0x00000955 
+ 00000568  0x00000318 nop  0x00000004 
+ 00000569  0x00000319 hjam  0x000000d2 , 0x00000955 
+ 00000570  0x0000031a nop  0x00000004 
+ 00000571  0x0000031b hjam  0x000000d1 , 0x00000955 
+ 00000572  0x0000031c nop  0x00000004 
+ 00000573  0x0000031d hjam  0x000000d0 , 0x00000955 
+ 00000574  0x0000031e hjam  0x000000c0 , 0x00000956 
+ 00000575  0x0000031f rtn 
+ 00000576  0x00000322 branch  0x00003a6f , 0x00000021 
+ 00000577  0x00000323 call  0x00000237 
+ 00000578  0x00000328 branch  0x00003a6f 
+ 00000579  0x0000032c jam  0x00000000 , 0x00000b7e 
+ 00000580  0x0000032d jam  0x00000006 , 0x00000177 
+ 00000581  0x0000032e call  0x00003fa4 
+ 00000582  0x0000032f setarg  0x000002b6 
+ 00000583  0x00000330 store  0x00000002 , 0x0000428e 
+ 00000584  0x00000331 setarg  0x000002bf 
+ 00000585  0x00000332 store  0x00000002 , 0x0000428a 
+ 00000586  0x00000333 setarg  0x00000161 
+ 00000587  0x00000334 store  0x00000002 , 0x00004292 
+ 00000588  0x00000335 setarg  0x000002dd 
+ 00000589  0x00000336 store  0x00000002 , 0x00004290 
+ 00000590  0x00000337 setarg  0x00000095 
+ 00000591  0x00000338 store  0x00000002 , 0x0000428c 
+ 00000592  0x00000339 setarg  0x000002b9 
+ 00000593  0x0000033a store  0x00000002 , 0x00004288 
+ 00000594  0x0000033b setarg  0x00004ae5 
+ 00000595  0x0000033c byteswap  0x0000003f , 0x0000003f 
+ 00000596  0x0000033d store  0x00000002 , 0x00004bad 
+ 00000597  0x0000033e store  0x00000002 , 0x00004baf 
+ 00000598  0x0000033f call  0x00003e0b 
+ 00000599  0x00000340 setarg  0x00004bb1 
+ 00000600  0x00000341 byteswap  0x0000003f , 0x0000003f 
+ 00000601  0x00000342 store  0x00000002 , 0x00004c79 
+ 00000602  0x00000343 store  0x00000002 , 0x00004c7b 
+ 00000603  0x00000344 fetch  0x00000001 , 0x00004e5b 
+ 00000604  0x00000345 beq  0x0000005a , 0x00000271 
+ 00000605  0x00000346 branch  0x0000026f , 0x0000002b 
+ 00000606  0x00000347 fetch  0x00000002 , 0x00004da2 
+ 00000607  0x00000348 byteswap  0x0000003f , 0x0000003f 
+ 00000608  0x00000349 store  0x00000002 , 0x00004da2 
+ 00000609  0x0000034a fetch  0x00000002 , 0x00004da4 
+ 00000610  0x0000034b byteswap  0x0000003f , 0x0000003f 
+ 00000611  0x0000034c store  0x00000002 , 0x00004da4 
+ 00000612  0x0000034d call  0x0000027d 
+ 00000613  0x0000034e fetch  0x00000008 , 0x000002a0 
+ 00000614  0x0000034f nbranch  0x0000026b , 0x00000034 
+ 00000615  0x00000350 fetch  0x00000002 , 0x00004ad4 
+ 00000616  0x00000351 byteswap  0x0000003f , 0x0000003f 
+ 00000617  0x00000352 branch  0x0000026b , 0x00000034 
+ 00000618  0x00000353 store  0x00000002 , 0x00004da4 
+ 00000619  0x00000357 jam  0x0000002f , 0x00004ce3 
+ 00000620  0x00000359 call  0x00000110 
+ 00000621  0x0000035a hjam  0x00000003 , 0x00008280 
+ 00000622  0x0000035b rtn 
+ 00000623  0x0000035d jam  0x00000030 , 0x00004ce3 
+ 00000624  0x0000035e branch  0x0000026c 
+ 00000625  0x00000360 copy  0x00000027 , 0x0000003f 
+ 00000626  0x00000361 branch  0x000002e0 , 0x00000034 
+ 00000627  0x00000362 call  0x00005b63 
+ 00000628  0x00000363 call  0x00004d99 
+ 00000629  0x00000364 setarg  0x00000000 
+ 00000630  0x00000365 store  0x00000008 , 0x00004040 
+ 00000631  0x00000366 store  0x00000002 , 0x000047f4 
+ 00000632  0x00000367 setarg  0x00000000 
+ 00000633  0x00000368 store  0x00000002 , 0x00004ce4 
+ 00000634  0x00000369 store  0x00000002 , 0x00004d93 
+ 00000635  0x0000036a jam  0x00000033 , 0x00004ce3 
+ 00000636  0x0000036b branch  0x0000026c 
+ 00000637  0x0000036e call  0x0000688a 
+ 00000638  0x0000036f setarg  0x000007e2 
+ 00000639  0x00000370 arg  0x000002a0 , 0x00000011 
+ 00000640  0x00000371 arg  0x0000000c , 0x00000002 
+ 00000641  0x00000372 call  0x000068d3 
+ 00000642  0x00000373 call  0x0000688d 
+ 00000643  0x00000374 fetch  0x00000008 , 0x000002a0 
+ 00000644  0x00000375 rtn  0x00000034 
+ 00000645  0x00000376 fetch  0x00000001 , 0x00004da0 
+ 00000646  0x00000377 bbit1  0x00000000 , 0x0000028a 
+ 00000647  0x00000378 bbit1  0x00000001 , 0x00000298 
+ 00000648  0x00000379 bbit1  0x00000002 , 0x000002a8 
+ 00000649  0x0000037a rtn 
+ 00000650  0x0000037c fetcht  0x00000002 , 0x000002a4 
+ 00000651  0x0000037d fetch  0x00000002 , 0x000002aa 
+ 00000652  0x0000037e copy  0x00000002 , 0x00000012 
+ 00000653  0x0000037f copy  0x0000003f , 0x00000011 
+ 00000654  0x00000380 byteswap  0x0000003f , 0x0000003f 
+ 00000655  0x00000381 store  0x00000002 , 0x00004da4 
+ 00000656  0x00000382 copy  0x00000011 , 0x0000003f 
+ 00000657  0x00000383 isub  0x00000002 , 0x00000013 
+ 00000658  0x00000384 lshift  0x00000013 , 0x00000013 
+ 00000659  0x00000385 copy  0x00000012 , 0x0000003f 
+ 00000660  0x00000386 isub  0x00000013 , 0x0000003f 
+ 00000661  0x00000387 byteswap  0x0000003f , 0x0000003f 
+ 00000662  0x00000388 store  0x00000002 , 0x00004da2 
+ 00000663  0x00000389 rtn 
+ 00000664  0x0000038b fetcht  0x00000002 , 0x000002a2 
+ 00000665  0x0000038c fetch  0x00000002 , 0x000002a8 
+ 00000666  0x0000038d copy  0x00000002 , 0x00000012 
+ 00000667  0x0000038e copy  0x0000003f , 0x00000011 
+ 00000668  0x0000038f isub  0x00000002 , 0x00000013 
+ 00000669  0x00000390 rshift2  0x00000013 , 0x00000013 
+ 00000670  0x00000391 copy  0x00000012 , 0x0000003f 
+ 00000671  0x00000392 isub  0x00000013 , 0x0000003f 
+ 00000672  0x00000393 byteswap  0x0000003f , 0x0000003f 
+ 00000673  0x00000394 store  0x00000002 , 0x00004da2 
+ 00000674  0x00000395 lshift  0x00000013 , 0x00000013 
+ 00000675  0x00000396 copy  0x00000011 , 0x0000003f 
+ 00000676  0x00000397 isub  0x00000013 , 0x0000003f 
+ 00000677  0x00000398 byteswap  0x0000003f , 0x0000003f 
+ 00000678  0x00000399 store  0x00000002 , 0x00004da4 
+ 00000679  0x0000039a rtn 
+ 00000680  0x0000039c fetcht  0x00000002 , 0x000002a0 
+ 00000681  0x0000039d fetch  0x00000002 , 0x000002a6 
+ 00000682  0x0000039e copy  0x00000002 , 0x00000012 
+ 00000683  0x0000039f copy  0x0000003f , 0x00000011 
+ 00000684  0x000003a0 isub  0x00000002 , 0x00000013 
+ 00000685  0x000003a1 copy  0x00000012 , 0x0000003f 
+ 00000686  0x000003a2 isub  0x00000013 , 0x0000003f 
+ 00000687  0x000003a3 byteswap  0x0000003f , 0x0000003f 
+ 00000688  0x000003a4 store  0x00000002 , 0x00004da2 
+ 00000689  0x000003a5 lshift2  0x00000013 , 0x0000003f 
+ 00000690  0x000003a6 iadd  0x00000011 , 0x0000003f 
+ 00000691  0x000003a7 byteswap  0x0000003f , 0x0000003f 
+ 00000692  0x000003a8 store  0x00000002 , 0x00004da4 
+ 00000693  0x000003a9 rtn 
+ 00000694  0x00000535 call  0x0000527c 
+ 00000695  0x00000536 nrtn  0x00000034 
+ 00000696  0x00000538 branch  0x00000095 
+ 00000697  0x0000053c enable  0x00000028 
+ 00000698  0x0000053d hfetch  0x00000004 , 0x00008138 
+ 00000699  0x0000053e setflag  0x00000028 , 0x0000001a , 0x0000003f 
+ 00000700  0x0000053f hstore  0x00000004 , 0x0000804c 
+ 00000701  0x00000540 call  0x00003db0 
+ 00000702  0x00000541 jam  0x00000001 , 0x000000a2 
+ 00000703  0x00000543 rtn 
+ 00000704  0x00000547 call  0x00000188 
+ 00000705  0x00000548 nrtn  0x00000028 
+ 00000706  0x00000549 call  0x00000185 
+ 00000707  0x0000054a nrtn  0x00000028 
+ 00000708  0x0000054b jam  0x00000001 , 0x00000b7f 
+ 00000709  0x0000054c jam  0x00000001 , 0x00000b7e 
+ 00000710  0x0000054d call  0x000002d9 
+ 00000711  0x0000054e fetch  0x00000001 , 0x00000b7f 
+ 00000712  0x0000054f nrtn  0x00000034 
+ 00000713  0x00000550 call  0x00000188 
+ 00000714  0x00000551 nrtn  0x00000028 
+ 00000715  0x00000552 branch  0x00003d4f 
+ 00000716  0x00000556 copy  0x00000013 , 0x0000003f 
+ 00000717  0x00000557 rtn 
+ 00000718  0x0000055a setarg  0x00000000 
+ 00000719  0x0000055b store  0x00000002 , 0x000042a0 
+ 00000720  0x0000055c store  0x00000002 , 0x000047f4 
+ 00000721  0x0000055d store  0x00000001 , 0x0000427f 
+ 00000722  0x0000055e branch  0x00003fa6 
+ 00000723  0x00000561 hjam  0x00000036 , 0x0000090f 
+ 00000724  0x00000562 hjam  0x0000005f , 0x0000090b 
+ 00000725  0x00000563 branch  0x000053d4 
+ 00000726  0x00000565 hjam  0x0000002e , 0x0000090f 
+ 00000727  0x00000566 hjam  0x000000ff , 0x0000090b 
+ 00000728  0x00000567 branch  0x000053d9 
+ 00000729  0x0000056a fetch  0x00000001 , 0x00000b7e 
+ 00000730  0x0000056b nop  0x0000000a 
+ 00000731  0x0000056c bne  0x00000000 , 0x000002d9 
+ 00000732  0x0000056d rtn 
+ 00000733  0x00000570 rtn 
+ 00000734  0x00000573 jam  0x00000003 , 0x00000b7e 
+ 00000735  0x00000574 call  0x000002d9 
+ 00000736  0x00000576 jam  0x0000005a , 0x00004e5b 
+ 00000737  0x00000577 call  0x00003db8 
+ 00000738  0x00000578 hfetch  0x00000004 , 0x00008138 
+ 00000739  0x00000579 set0  0x0000000f , 0x0000003f 
+ 00000740  0x0000057a hstore  0x00000004 , 0x0000804c 
+ 00000741  0x0000057b call  0x00003db0 
+ 00000742  0x0000057c arg  0xffffffff , 0x00000002 
+ 00000743  0x0000057d branch  0x00003cda 
+ 00000744  0x00000580 call  0x00007c20 
+ 00000745  0x00000581 arg  0x000047e4 , 0x00000011 
+ 00000746  0x00000582 call  0x00007f9f 
+ 00000747  0x00000583 copy  0x0000003f , 0x00000002 
+ 00000748  0x00000584 call  0x00007c24 
+ 00000749  0x00000585 copy  0x00000002 , 0x0000003f 
+ 00000750  0x00000586 rtn  0x00000034 
+ 00000751  0x00000587 beq  0x00000001 , 0x00000306 
+ 00000752  0x00000588 beq  0x00000003 , 0x00000309 
+ 00000753  0x00000589 branch  0x00007c5a 
+ 00000754  0x0000058c fetch  0x00000001 , 0x0000007c 
+ 00000755  0x0000058d branch  0x000002f7 , 0x00000034 
+ 00000756  0x0000058e call  0x000061d9 
+ 00000757  0x0000058f fetch  0x00000001 , 0x0000007c 
+ 00000758  0x00000590 nbranch  0x00007c8c , 0x00000034 
+ 00000759  0x00000592 fetch  0x00000001 , 0x00000b7d 
+ 00000760  0x00000593 bmark0  0x00000009 , 0x00007c87 
+ 00000761  0x00000594 beq  0x00000004 , 0x000002fc 
+ 00000762  0x00000595 beq  0x00000028 , 0x00000302 
+ 00000763  0x00000596 branch  0x00007c7b 
+ 00000764  0x00000598 fetch  0x00000002 , 0x000047f4 
+ 00000765  0x00000599 bbit0  0x00000003 , 0x000002ff 
+ 00000766  0x0000059a branch  0x00007ca4 
+ 00000767  0x0000059c setarg  0x00000000 
+ 00000768  0x0000059d store  0x00000004 , 0x00000051 
+ 00000769  0x0000059e rtn 
+ 00000770  0x000005a0 jam  0x00000037 , 0x0000007c 
+ 00000771  0x000005a1 fetch  0x00000002 , 0x00004e5c 
+ 00000772  0x000005a2 store  0x00000002 , 0x00000051 
+ 00000773  0x000005a3 rtn 
+ 00000774  0x000005a6 call  0x00003eff 
+ 00000775  0x000005a7 jam  0x00000006 , 0x00000177 
+ 00000776  0x000005a8 branch  0x00007c97 
+ 00000777  0x000005aa jam  0x00000006 , 0x00000177 
+ 00000778  0x000005ab fetch  0x00000001 , 0x000047dc 
+ 00000779  0x000005ac beq  0x00000000 , 0x0000030d 
+ 00000780  0x000005ad jam  0x00000017 , 0x00000177 
+ 00000781  0x000005af jam  0x00000001 , 0x0000425e 
+ 00000782  0x000005b0 branch  0x00007ca2 
+ 00000783  0x000005b3 call  0x000032df 
+ 00000784  0x000005b4 nbranch  0x00003568 , 0x00000005 
+ 00000785  0x000005b5 fetch  0x00000001 , 0x00000047 
+ 00000786  0x000005b6 bbit0  0x00000003 , 0x00003571 
+ 00000787  0x000005b7 fetch  0x00000001 , 0x00004165 
+ 00000788  0x000005b8 beq  0x00000013 , 0x00003562 
+ 00000789  0x000005b9 fetch  0x00000002 , 0x00004aca 
+ 00000790  0x000005ba sub  0x0000003f , 0x00000014 , 0x0000003e 
+ 00000791  0x000005bb nbranch  0x00003562 , 0x00000002 
+ 00000792  0x000005bc store  0x00000002 , 0x00000091 
+ 00000793  0x000005bd fetch  0x00000001 , 0x00004ac9 
+ 00000794  0x000005be store  0x00000001 , 0x00000090 
+ 00000795  0x000005bf setarg  0x00004acc 
+ 00000796  0x000005c0 store  0x00000002 , 0x00000179 
+ 00000797  0x000005c1 branch  0x00003562 
+ 00000798  0x000005c4 fetch  0x00000002 , 0x00000091 
+ 00000799  0x000005c5 store  0x00000002 , 0x00004aca 
+ 00000800  0x000005c6 sub  0x0000003f , 0x00000014 , 0x0000003e 
+ 00000801  0x000005c7 nbranch  0x0000358f , 0x00000002 
+ 00000802  0x000005c8 iforce  0x00000039 
+ 00000803  0x000005c9 fetch  0x00000001 , 0x00000090 
+ 00000804  0x000005ca store  0x00000001 , 0x00004ac9 
+ 00000805  0x000005cb fetch  0x00000002 , 0x00000179 
+ 00000806  0x000005cc iforce  0x00000006 
+ 00000807  0x000005cd arg  0x00004acc , 0x00000005 
+ 00000808  0x000005ce call  0x00007e45 
+ 00000809  0x000005cf branch  0x0000358f 
+ 00000810  0x000005d2 call  0x00003b36 
+ 00000811  0x000005d3 branch  0x00003cdc 
+ 00000812  0x000005d6 jam  0x00000020 , 0x00000b7d 
+ 00000813  0x000005d7 call  0x00007c27 
+ 00000814  0x000005d8 branch  0x00000330 
+ 00000815  0x000005dd storet  0x00000004 , 0x00000034 
+ 00000816  0x000005df jam  0x00000001 , 0x00004748 
+ 00000817  0x000005e0 setarg  0x0000ffff 
+ 00000818  0x000005e1 store  0x00000002 , 0x00000032 
+ 00000819  0x000005e2 jam  0x00000001 , 0x00000073 
+ 00000820  0x000005e3 rtn 
+ 00000821  0x000005e5 call  0x00003baa 
+ 00000822  0x000005e6 call  0x00000338 
+ 00000823  0x000005e7 branch  0x00003267 
+ 00000824  0x000005e9 add  0x00000022 , 0x00000001 , 0x00000021 
+ 00000825  0x000005ea call  0x00003a54 
+ 00000826  0x000005eb force  0x00000003 , 0x00000024 
+ 00000827  0x000005ec call  0x00003a42 
+ 00000828  0x000005ed call  0x00003bae 
+ 00000829  0x000005ee call  0x00003bb4 
+ 00000830  0x000005ef call  0x00003bc5 
+ 00000831  0x000005f0 branch  0x0000375c 
+ 00000832  0x000005f2 disable  0x00000028 
+ 00000833  0x000005f3 fetch  0x00000002 , 0x00000032 
+ 00000834  0x000005f4 arg  0x0000ffff , 0x00000002 
+ 00000835  0x000005f5 isub  0x00000002 , 0x0000003e 
+ 00000836  0x000005f6 nrtn  0x00000005 
+ 00000837  0x000005f7 fetch  0x00000004 , 0x00000034 
+ 00000838  0x000005f8 branch  0x00000349 , 0x00000030 
+ 00000839  0x000005f9 isub  0x00000028 , 0x0000003f 
+ 00000840  0x000005fa branch  0x0000034a 
+ 00000841  0x000005fc isub  0x00000022 , 0x0000003f 
+ 00000842  0x000005fe sub  0x0000003f , 0x00000004 , 0x0000003e 
+ 00000843  0x000005ff nrtn  0x00000002 
+ 00000844  0x00000600 force  0x00000000 , 0x0000003f 
+ 00000845  0x00000601 store  0x00000002 , 0x00000032 
+ 00000846  0x00000602 enable  0x00000028 
+ 00000847  0x00000603 rtn 
+ 00000848  0x00000608 storet  0x00000008 , 0x000002a0 
+ 00000849  0x00000609 call  0x00007e53 
+ 00000850  0x0000060a fetcht  0x00000008 , 0x000002a0 
+ 00000851  0x0000060b branch  0x0000307c 
+ 00000852  0x0000060e call  0x0000527a 
+ 00000853  0x0000060f nrtn  0x00000034 
+ 00000854  0x00000611 call  0x00000358 
+ 00000855  0x00000612 branch  0x00006dfd 
+ 00000856  0x00000615 fetch  0x00000001 , 0x00004132 
+ 00000857  0x00000616 rtneq  0x00000001 
+ 00000858  0x00000617 fetch  0x00000001 , 0x000043cd 
+ 00000859  0x00000618 rtn  0x00000034 
+ 00000860  0x00000619 copy  0x0000003f , 0x00000011 
+ 00000861  0x0000061a jam  0x00000000 , 0x000043cd 
+ 00000862  0x0000061b copy  0x00000011 , 0x0000003f 
+ 00000863  0x0000061c beq  0x00000050 , 0x00004ddc 
+ 00000864  0x0000061d rtn 
+ 00000865  0x00000620 ifetch  0x00000001 , 0x00000006 
+ 00000866  0x00000621 beq  0x0000000a , 0x00000364 
+ 00000867  0x00000622 branch  0x00004e14 
+ 00000868  0x00000624 ifetch  0x00000001 , 0x00000006 
+ 00000869  0x00000625 copy  0x0000003f , 0x00000007 
+ 00000870  0x00000626 ifetch  0x00000002 , 0x00000006 
+ 00000871  0x00000627 copy  0x0000003f , 0x00000011 
+ 00000872  0x00000628 copy  0x00000013 , 0x0000003f 
+ 00000873  0x00000629 isub  0x00000011 , 0x00000013 
+ 00000874  0x0000062a setarg  0x0000000b 
+ 00000875  0x0000062b istore  0x00000001 , 0x00000005 
+ 00000876  0x0000062c copy  0x00000007 , 0x0000003f 
+ 00000877  0x0000062d istore  0x00000001 , 0x00000005 
+ 00000878  0x0000062e ifetch  0x00000002 , 0x00000006 
+ 00000879  0x00000630 beq  0x00000002 , 0x00000372 
+ 00000880  0x00000631 beq  0x00000003 , 0x00000379 
+ 00000881  0x00000632 branch  0x00003bf1 
+ 00000882  0x00000634 setarg  0x00020008 
+ 00000883  0x00000635 istore  0x00000006 , 0x00000005 
+ 00000884  0x00000636 setarg  0x00000200 
+ 00000885  0x00000637 istore  0x00000004 , 0x00000005 
+ 00000886  0x00000638 force  0x0000000c , 0x0000003f 
+ 00000887  0x00000639 iadd  0x00000012 , 0x00000012 
+ 00000888  0x0000063a branch  0x00004e20 
+ 00000889  0x0000063c setarg  0x0003000c 
+ 00000890  0x0000063d istore  0x00000006 , 0x00000005 
+ 00000891  0x0000063e setarg  0x00000006 
+ 00000892  0x0000063f istore  0x00000008 , 0x00000005 
+ 00000893  0x00000640 force  0x00000010 , 0x0000003f 
+ 00000894  0x00000641 iadd  0x00000012 , 0x00000012 
+ 00000895  0x00000642 branch  0x00004e20 
+ 00000896  0x00000645 call  0x000052c4 
+ 00000897  0x00000646 force  0x00000000 , 0x00000012 
+ 00000898  0x00000647 call  0x000052d0 
+ 00000899  0x00000648 copy  0x0000003f , 0x00000005 
+ 00000900  0x00000649 fetch  0x00000002 , 0x000002cd 
+ 00000901  0x0000064a copy  0x0000003f , 0x00000013 
+ 00000902  0x0000064b fetch  0x00000002 , 0x000002cb 
+ 00000903  0x0000064c iforce  0x00000006 
+ 00000904  0x0000064e call  0x0000038a 
+ 00000905  0x0000064f branch  0x00005110 
+ 00000906  0x00000651 ifetch  0x00000001 , 0x00000006 
+ 00000907  0x00000652 beq  0x0000000a , 0x0000038d 
+ 00000908  0x00000653 branch  0x00005116 
+ 00000909  0x00000655 ifetch  0x00000001 , 0x00000006 
+ 00000910  0x00000656 copy  0x0000003f , 0x00000007 
+ 00000911  0x00000657 ifetch  0x00000002 , 0x00000006 
+ 00000912  0x00000658 copy  0x0000003f , 0x00000011 
+ 00000913  0x00000659 ifetch  0x00000002 , 0x00000006 
+ 00000914  0x0000065a store  0x00000002 , 0x000002a0 
+ 00000915  0x0000065b copy  0x00000013 , 0x0000003f 
+ 00000916  0x0000065c isub  0x00000011 , 0x00000013 
+ 00000917  0x0000065d call  0x000052d0 
+ 00000918  0x0000065e setarg  0x0000000b 
+ 00000919  0x0000065f istore  0x00000001 , 0x00000005 
+ 00000920  0x00000660 copy  0x00000007 , 0x0000003f 
+ 00000921  0x00000661 istore  0x00000001 , 0x00000005 
+ 00000922  0x00000662 fetch  0x00000002 , 0x000002a0 
+ 00000923  0x00000663 branch  0x0000036f 
+ 00000924  0x00000666 fetch  0x00000002 , 0x000002cb 
+ 00000925  0x00000667 copy  0x0000003f , 0x00000006 
+ 00000926  0x00000668 ifetch  0x00000001 , 0x00000006 
+ 00000927  0x00000669 and  0x0000003f , 0x0000000f , 0x00000002 
+ 00000928  0x0000066a rshift4  0x0000003f , 0x0000003f 
+ 00000929  0x0000066b beq  0x00000009 , 0x00004b18 
+ 00000930  0x0000066c beq  0x00000007 , 0x00004b18 
+ 00000931  0x0000066d beq  0x0000000a , 0x000003aa 
+ 00000932  0x0000066e beq  0x00000005 , 0x000003a8 
+ 00000933  0x0000066f beq  0x00000001 , 0x00004b05 
+ 00000934  0x00000670 beq  0x00000004 , 0x00004b18 
+ 00000935  0x00000671 rtn 
+ 00000936  0x00000673 call  0x000003aa 
+ 00000937  0x00000674 branch  0x00004b11 
+ 00000938  0x00000676 setarg  0x00000003 
+ 00000939  0x00000677 store  0x00000001 , 0x00004cff 
+ 00000940  0x00000678 setarg  0x00000002 
+ 00000941  0x00000679 istore  0x00000001 , 0x00000005 
+ 00000942  0x0000067a copy  0x0000003f , 0x00000039 
+ 00000943  0x0000067b call  0x00007e45 
+ 00000944  0x0000067d arg  0x00000004 , 0x00000039 
+ 00000945  0x0000067e arg  0x00004cff , 0x00000006 
+ 00000946  0x0000067f call  0x00000112 
+ 00000947  0x00000680 jam  0x00000002 , 0x00004d87 
+ 00000948  0x00000681 rtn 
+ 00012288  0x0000068d call  0x00003c74 
+ 00012289  0x00000691 set0  0x00000025 , 0x00000000 
+ 00012290  0x00000692 bpatch  0x00000000 , 0x00004000 
+ 00012291  0x00000693 clear_stack 
+ 00012292  0x00000694 call  0x00003a9e 
+ 00012293  0x00000695 call  0x00006805 
+ 00012294  0x00000696 call  0x00003bfa 
+ 00012295  0x00000697 call  0x00004d98 
+ 00012296  0x00000698 set0  0x00000025 , 0x00000000 
+ 00012297  0x00000699 bpatch  0x00000001 , 0x00004000 
+ 00012298  0x0000069a call  0x00006b53 
+ 00012299  0x0000069b call  0x00005b62 
+ 00012300  0x0000069c call  0x00007b9d 
+ 00012301  0x0000069d call  0x00003e4f 
+ 00012302  0x0000069e set0  0x00000025 , 0x00000000 
+ 00012303  0x0000069f bpatch  0x00000002 , 0x00004000 
+ 00012304  0x000006a0 call  0x00003e5f , 0x0000002b 
+ 00012305  0x000006a1 call  0x00007719 
+ 00012306  0x000006a2 call  0x00003cf1 , 0x0000002b 
+ 00012307  0x000006a4 set0  0x00000025 , 0x00000000 
+ 00012308  0x000006a5 bpatch  0x00000003 , 0x00004000 
+ 00012309  0x000006a6 call  0x00007813 
+ 00012310  0x000006a7 call  0x00005373 
+ 00012311  0x000006a8 call  0x00004449 
+ 00012312  0x000006a9 set0  0x00000025 , 0x00000000 
+ 00012313  0x000006aa bpatch  0x00000004 , 0x00004000 
+ 00012314  0x000006ab call  0x0000303e 
+ 00012315  0x000006ac call  0x00003e6a 
+ 00012316  0x000006ad call  0x000030a1 
+ 00012317  0x000006ae set0  0x00000025 , 0x00000000 
+ 00012318  0x000006af bpatch  0x00000005 , 0x00004000 
+ 00012319  0x000006b0 call  0x00003392 
+ 00012320  0x000006b1 call  0x00003407 
+ 00012321  0x000006b2 call  0x00003024 
+ 00012322  0x000006b3 call  0x00003d1c 
+ 00012323  0x000006b4 branch  0x00003013 
+ 00012324  0x000006b7 call  0x00003029 
+ 00012325  0x000006b8 rtnmark0  0x00000009 
+ 00012326  0x000006b9 set0  0x00000009 , 0x00000000 
+ 00012327  0x000006ba call  0x000032bd 
+ 00012328  0x000006bb branch  0x000053d7 
+ 00012329  0x000006be set0  0x00000025 , 0x00000000 
+ 00012330  0x000006bf bpatch  0x00000006 , 0x00004000 
+ 00012331  0x000006c0 call  0x000032fe 
+ 00012332  0x000006c1 nbranch  0x00003033 , 0x00000005 
+ 00012333  0x000006c2 call  0x000032a3 
+ 00012334  0x000006c3 add  0x00000011 , 0x00000001 , 0x00000006 
+ 00012335  0x000006c4 ifetch  0x00000001 , 0x00000006 
+ 00012336  0x000006c5 bbit1  0x00000000 , 0x00005377 
+ 00012337  0x000006c6 bbit1  0x00000001 , 0x000031a7 
+ 00012338  0x000006c7 branch  0x00003473 
+ 00012339  0x000006c9 set0  0x00000025 , 0x00000000 
+ 00012340  0x000006ca bpatch  0x00000007 , 0x00004000 
+ 00012341  0x000006cb call  0x000032c6 
+ 00012342  0x000006cc copy  0x00000039 , 0x0000003e 
+ 00012343  0x000006cd rtn  0x00000005 
+ 00012344  0x000006ce call  0x000032a3 
+ 00012345  0x000006cf fetch  0x00000001 , 0x00000030 
+ 00012346  0x000006d0 bbit1  0x00000003 , 0x00003103 
+ 00012347  0x000006d1 fetch  0x00000001 , 0x00000031 
+ 00012348  0x000006d2 bbit1  0x00000001 , 0x000031a7 
+ 00012349  0x000006d3 branch  0x00003473 
+ 00012350  0x000006dc fetch  0x00000001 , 0x00004272 
+ 00012351  0x000006dd rtn  0x00000034 
+ 00012352  0x000006de beq  0x00000001 , 0x0000304e 
+ 00012353  0x000006df beq  0x00000002 , 0x00003053 
+ 00012354  0x000006e0 beq  0x00000003 , 0x00003056 
+ 00012355  0x000006e1 beq  0x00000005 , 0x0000305b 
+ 00012356  0x000006e2 beq  0x0000001b , 0x0000304b 
+ 00012357  0x000006e3 call  0x000032f6 
+ 00012358  0x000006e4 rtn  0x00000005 
+ 00012359  0x000006e5 call  0x000032f9 
+ 00012360  0x000006e6 rtn  0x00000005 
+ 00012361  0x000006e8 jam  0x00000000 , 0x00004272 
+ 00012362  0x000006e9 rtn 
+ 00012363  0x000006ec jam  0x0000001b , 0x0000041c 
+ 00012364  0x000006ed jam  0x00000000 , 0x00004272 
+ 00012365  0x000006ee rtn 
+ 00012366  0x000006f1 set1  0x0000001c , 0x00000000 
+ 00012367  0x000006f2 set0  0x0000001e , 0x00000000 
+ 00012368  0x000006f3 jam  0x000000ff , 0x0000008e 
+ 00012369  0x000006f4 jam  0x0000001f , 0x0000008c 
+ 00012370  0x000006f5 branch  0x00003049 
+ 00012371  0x000006f8 set0  0x0000001c , 0x00000000 
+ 00012372  0x000006f9 force  0x00000000 , 0x0000001b 
+ 00012373  0x000006fa branch  0x00003049 
+ 00012374  0x000006fd call  0x000032f9 
+ 00012375  0x000006fe rtn  0x00000005 
+ 00012376  0x000006ff force  0x00000001 , 0x00000002 
+ 00012377  0x00000700 jam  0x00000005 , 0x00000178 
+ 00012378  0x00000701 branch  0x00003068 
+ 00012379  0x00000704 set0  0x00000025 , 0x00000000 
+ 00012380  0x00000705 bpatch  0x00000008 , 0x00004001 
+ 00012381  0x00000706 fetch  0x00000001 , 0x00004132 
+ 00012382  0x00000707 beq  0x00000001 , 0x00003064 
+ 00012383  0x00000709 fetch  0x00000006 , 0x00004274 
+ 00012384  0x0000070a branch  0x00003049 , 0x00000034 
+ 00012385  0x0000070b jam  0x00000001 , 0x000047f3 
+ 00012386  0x0000070d jam  0x00000003 , 0x00000055 
+ 00012387  0x0000070e branch  0x00003067 
+ 00012388  0x00000711 fetch  0x00000006 , 0x00004274 
+ 00012389  0x00000712 branch  0x00003049 , 0x00000034 
+ 00012390  0x00000713 store  0x00000006 , 0x00000040 
+ 00012391  0x00000715 force  0x00000025 , 0x00000002 
+ 00012392  0x00000717 set0  0x00000025 , 0x00000000 
+ 00012393  0x00000718 bpatch  0x00000009 , 0x00004001 
+ 00012394  0x00000719 fetch  0x00000001 , 0x000000f3 
+ 00012395  0x0000071a branch  0x0000306f , 0x00000034 
+ 00012396  0x0000071b lshift3  0x0000003f , 0x0000003f 
+ 00012397  0x0000071c lshift4  0x0000003f , 0x0000003f 
+ 00012398  0x0000071d increase  0xffffffff , 0x0000003f 
+ 00012399  0x0000071f store  0x00000001 , 0x00004146 
+ 00012400  0x00000720 store  0x00000001 , 0x000000f2 
+ 00012401  0x00000721 jam  0x0000001f , 0x0000008d 
+ 00012402  0x00000722 set0  0x0000000c , 0x00000000 
+ 00012403  0x00000723 call  0x000032d6 
+ 00012404  0x00000724 nbranch  0x00003090 , 0x00000005 
+ 00012405  0x00000725 call  0x00003bd1 
+ 00012406  0x00000726 store  0x00000001 , 0x00000077 
+ 00012407  0x00000727 storet  0x00000001 , 0x0000007c 
+ 00012408  0x00000728 fetch  0x00000006 , 0x00004274 
+ 00012409  0x00000729 store  0x00000006 , 0x00000040 
+ 00012410  0x0000072a set0  0x00000025 , 0x00000000 
+ 00012411  0x0000072b bpatch  0x0000000a , 0x00004001 
+ 00012412  0x0000072c force  0x00000000 , 0x0000003f 
+ 00012413  0x0000072d compare  0x00000001 , 0x00000002 , 0x000000ff 
+ 00012414  0x0000072e nsetflag  0x00000001 , 0x00000005 , 0x0000003f 
+ 00012415  0x0000072f set1  0x00000003 , 0x0000003f 
+ 00012416  0x00000730 store  0x00000001 , 0x00000030 
+ 00012417  0x00000731 jam  0x00000003 , 0x00000b7d 
+ 00012418  0x00000732 call  0x00007c27 
+ 00012419  0x00000733 force  0x00000000 , 0x0000003f 
+ 00012420  0x00000734 setflag  0x00000001 , 0x00000004 , 0x0000003f 
+ 00012421  0x00000735 store  0x00000001 , 0x0000004c 
+ 00012422  0x00000736 setarg  0x00000000 
+ 00012423  0x00000737 set1  0x00000001 , 0x0000003f 
+ 00012424  0x00000738 store  0x00000001 , 0x00000031 
+ 00012425  0x00000739 enable  0x00000029 
+ 00012426  0x0000073a call  0x000032bd 
+ 00012427  0x0000073b disable  0x00000029 
+ 00012428  0x0000073c force  0x00000004 , 0x00000007 
+ 00012429  0x0000073d fetch  0x00000002 , 0x00004159 
+ 00012430  0x0000073e call  0x00007e4c 
+ 00012431  0x0000073f branch  0x00003049 
+ 00012432  0x00000741 set0  0x00000025 , 0x00000000 
+ 00012433  0x00000742 bpatch  0x0000000b , 0x00004001 
+ 00012434  0x00000743 fetch  0x00000006 , 0x00004274 
+ 00012435  0x00000744 store  0x00000006 , 0x00000040 
+ 00012436  0x00000745 compare  0x00000001 , 0x00000002 , 0x000000ff 
+ 00012437  0x00000746 branch  0x00003099 , 0x00000001 
+ 00012438  0x00000747 force  0x00000007 , 0x00000002 
+ 00012439  0x00000748 call  0x00004826 
+ 00012440  0x00000749 branch  0x00003049 
+ 00012441  0x0000074b arg  0x00000103 , 0x00000005 
+ 00012442  0x0000074c arg  0x00000008 , 0x00000039 
+ 00012443  0x0000074d call  0x00007e3b 
+ 00012444  0x0000074e force  0x00000007 , 0x00000007 
+ 00012445  0x0000074f call  0x00004898 
+ 00012446  0x00000750 jam  0x00000004 , 0x00000b7d 
+ 00012447  0x00000751 call  0x00007c27 
+ 00012448  0x00000752 branch  0x00003049 
+ 00012449  0x0000075a rtnmark0  0x0000001c 
+ 00012450  0x0000075b force  0x00000002 , 0x00000007 
+ 00012451  0x0000075c call  0x00007e53 
+ 00012452  0x0000075d nsetflag  0x00000034 , 0x0000001c , 0x00000000 
+ 00012453  0x0000075e nbranch  0x000030a7 , 0x00000034 
+ 00012454  0x0000075f rtn 
+ 00012455  0x00000764 set0  0x00000025 , 0x00000000 
+ 00012456  0x00000765 bpatch  0x0000000c , 0x00004001 
+ 00012457  0x00000766 fetcht  0x00000002 , 0x0000415b 
+ 00012458  0x00000767 force  0x00000004 , 0x00000007 
+ 00012459  0x00000768 call  0x0000383d 
+ 00012460  0x00000769 rtn  0x00000028 
+ 00012461  0x0000076a call  0x00003a12 
+ 00012462  0x0000076b force  0x00000000 , 0x00000024 
+ 00012463  0x0000076d rtn  0x00000003 
+ 00012464  0x0000076e set0  0x0000000b , 0x00000000 
+ 00012465  0x0000076f set0  0x00000000 , 0x00000000 
+ 00012466  0x00000771 add  0x00000022 , 0x00000001 , 0x00000021 
+ 00012467  0x00000772 isolate1  0x0000001e , 0x00000000 
+ 00012468  0x00000773 setflag  0x00000001 , 0x00000002 , 0x00000024 
+ 00012469  0x00000774 compare  0x00000000 , 0x00000021 , 0x00000002 
+ 00012470  0x00000775 nbranch  0x000030d3 , 0x00000001 
+ 00012471  0x00000778 set0  0x00000025 , 0x00000000 
+ 00012472  0x00000779 bpatch  0x0000000d , 0x00004001 
+ 00012473  0x0000077a fetch  0x00000001 , 0x00000012 
+ 00012474  0x0000077b increase  0x00000001 , 0x0000003f 
+ 00012475  0x0000077c store  0x00000001 , 0x00000012 
+ 00012476  0x0000077d call  0x00003a49 
+ 00012477  0x0000077e call  0x00003a42 
+ 00012478  0x0000077f call  0x00003a66 
+ 00012479  0x00000780 call  0x00003bae 
+ 00012480  0x00000781 call  0x00003bb4 
+ 00012481  0x00000782 call  0x00003bc5 
+ 00012482  0x00000783 call  0x0000375c 
+ 00012483  0x00000784 call  0x000030c5 
+ 00012484  0x00000785 branch  0x000030af 
+ 00012485  0x00000788 set0  0x00000025 , 0x00000000 
+ 00012486  0x00000789 bpatch  0x0000000e , 0x00004001 
+ 00012487  0x0000078a fetch  0x00000001 , 0x0000008c 
+ 00012488  0x0000078b increase  0xffffffff , 0x0000003f 
+ 00012489  0x0000078c store  0x00000001 , 0x0000008c 
+ 00012490  0x0000078d rtn  0x00000002 
+ 00012491  0x0000078e jam  0x0000001f , 0x0000008c 
+ 00012492  0x0000078f fetch  0x00000001 , 0x0000008e 
+ 00012493  0x00000790 increase  0xffffffff , 0x0000003f 
+ 00012494  0x00000791 store  0x00000001 , 0x0000008e 
+ 00012495  0x00000792 rtn  0x00000002 
+ 00012496  0x00000793 setflip  0x0000001e , 0x00000000 
+ 00012497  0x00000794 jam  0x000000ff , 0x0000008e 
+ 00012498  0x00000795 rtn 
+ 00012499  0x00000798 set0  0x00000025 , 0x00000000 
+ 00012500  0x00000799 bpatch  0x0000000f , 0x00004001 
+ 00012501  0x0000079a call  0x00003a49 
+ 00012502  0x0000079b call  0x00003a3b 
+ 00012503  0x0000079c call  0x00003a66 
+ 00012504  0x0000079d call  0x00003bba 
+ 00012505  0x0000079e call  0x00003b3a 
+ 00012506  0x0000079f call  0x00003b63 
+ 00012507  0x000007a0 branch  0x000030de , 0x00000018 
+ 00012508  0x000007a1 call  0x000030c5 
+ 00012509  0x000007a2 branch  0x000030b2 
+ 00012510  0x000007a4 set0  0x00000025 , 0x00000000 
+ 00012511  0x000007a5 bpatch  0x00000010 , 0x00004002 
+ 00012512  0x000007a6 call  0x00003af3 
+ 00012513  0x000007a7 call  0x00003bcd 
+ 00012514  0x000007a8 call  0x000035e1 
+ 00012515  0x000007a9 set0  0x00000001 , 0x00000000 
+ 00012516  0x000007aa rtnmark0  0x0000000b 
+ 00012517  0x000007ac set0  0x00000025 , 0x00000000 
+ 00012518  0x000007ad bpatch  0x00000011 , 0x00004002 
+ 00012519  0x000007ae fetch  0x00000001 , 0x000042a4 
+ 00012520  0x000007af bbit1  0x00000000 , 0x00004221 
+ 00012521  0x000007b0 call  0x0000477b 
+ 00012522  0x000007b2 fetch  0x00000001 , 0x00000013 
+ 00012523  0x000007b3 increase  0x00000001 , 0x0000003f 
+ 00012524  0x000007b4 store  0x00000001 , 0x00000013 
+ 00012525  0x000007b5 rtn 
+ 00012526  0x000007b7 set0  0x0000000b , 0x00000000 
+ 00012527  0x000007b8 call  0x000030fe 
+ 00012528  0x000007b9 call  0x00003a49 
+ 00012529  0x000007ba call  0x00003a3b 
+ 00012530  0x000007bb call  0x000034e1 
+ 00012531  0x000007bc call  0x00003bba 
+ 00012532  0x000007bd call  0x00003b3a 
+ 00012533  0x000007be call  0x00003b63 
+ 00012534  0x000007bf branch  0x000030f8 , 0x00000018 
+ 00012535  0x000007c0 rtn 
+ 00012536  0x000007c2 call  0x00003bcd 
+ 00012537  0x000007c3 call  0x000035e1 
+ 00012538  0x000007c4 set0  0x00000001 , 0x00000000 
+ 00012539  0x000007c5 branch  0x000030e5 , 0x00000006 
+ 00012540  0x000007c6 call  0x0000479b 
+ 00012541  0x000007c7 branch  0x000030ea 
+ 00012542  0x000007ca arg  0x00000600 , 0x0000000b 
+ 00012543  0x000007cc until  0x00000023 , 0x00000026 
+ 00012544  0x000007cd and  0x00000022 , 0x00000003 , 0x0000003f 
+ 00012545  0x000007ce bne  0x00000001 , 0x000030ff 
+ 00012546  0x000007cf rtn 
+ 00012547  0x000007d9 set0  0x00000025 , 0x00000000 
+ 00012548  0x000007da bpatch  0x00000012 , 0x00004002 
+ 00012549  0x000007db enable  0x00000029 
+ 00012550  0x000007dc enable  0x00000030 
+ 00012551  0x000007dd fetch  0x00000002 , 0x00004155 
+ 00012552  0x000007de branch  0x0000310c , 0x00000034 
+ 00012553  0x000007df force  0x0000000d , 0x00000007 
+ 00012554  0x000007e0 call  0x00007e53 
+ 00012555  0x000007e1 nrtn  0x00000034 
+ 00012556  0x000007e3 set0  0x00000025 , 0x00000000 
+ 00012557  0x000007e4 bpatch  0x00000013 , 0x00004002 
+ 00012558  0x000007e5 fetcht  0x00000002 , 0x00004157 
+ 00012559  0x000007e6 force  0x00000028 , 0x00000007 
+ 00012560  0x000007e7 call  0x0000383d 
+ 00012561  0x000007e8 branch  0x0000314e , 0x00000028 
+ 00012562  0x000007e9 force  0x00000004 , 0x00000007 
+ 00012563  0x000007ea call  0x00007e53 
+ 00012564  0x000007eb nbranch  0x00003127 , 0x00000034 
+ 00012565  0x000007ec fetch  0x00000001 , 0x0000004c 
+ 00012566  0x000007ed bbit1  0x00000004 , 0x0000311a 
+ 00012567  0x000007ee force  0x00000004 , 0x00000002 
+ 00012568  0x000007ef call  0x00004826 
+ 00012569  0x000007f0 branch  0x0000311f 
+ 00012570  0x000007f2 arg  0x00000103 , 0x00000005 
+ 00012571  0x000007f3 arg  0x00000008 , 0x00000039 
+ 00012572  0x000007f4 call  0x00007e3b 
+ 00012573  0x000007f5 force  0x00000004 , 0x00000007 
+ 00012574  0x000007f6 call  0x00004898 
+ 00012575  0x000007f8 set0  0x00000025 , 0x00000000 
+ 00012576  0x000007f9 bpatch  0x00000014 , 0x00004002 
+ 00012577  0x000007fa jam  0x00000000 , 0x00000030 
+ 00012578  0x000007fb call  0x00005b63 
+ 00012579  0x000007fc jam  0x00000000 , 0x000047f3 
+ 00012580  0x000007fd jam  0x00000013 , 0x00000b7d 
+ 00012581  0x000007fe call  0x00007c27 
+ 00012582  0x000007ff branch  0x0000314e 
+ 00012583  0x00000802 set0  0x00000025 , 0x00000000 
+ 00012584  0x00000803 bpatch  0x00000015 , 0x00004002 
+ 00012585  0x00000804 force  0x00000000 , 0x0000000b 
+ 00012586  0x00000805 until  0x00000023 , 0x00000026 
+ 00012587  0x00000806 fetch  0x00000001 , 0x000000f4 
+ 00012588  0x00000807 increase  0xffffffff , 0x0000003f 
+ 00012589  0x00000808 ixor  0x00000022 , 0x0000003f 
+ 00012590  0x00000809 compare  0x00000000 , 0x0000003f , 0x00000003 
+ 00012591  0x0000080a nbranch  0x00003127 , 0x00000001 
+ 00012592  0x0000080b deposit  0x00000004 
+ 00012593  0x0000080c store  0x00000001 , 0x0000018b 
+ 00012594  0x0000080d force  0x00000000 , 0x00000026 
+ 00012595  0x0000080e force  0x00000000 , 0x00000024 
+ 00012596  0x00000811 set0  0x00000025 , 0x00000000 
+ 00012597  0x00000812 bpatch  0x00000016 , 0x00004002 
+ 00012598  0x00000813 branch  0x0000314e , 0x00000003 
+ 00012599  0x00000814 call  0x00003a4d 
+ 00012600  0x00000815 arg  0x00000600 , 0x0000000b 
+ 00012601  0x00000816 until  0x00000023 , 0x00000026 
+ 00012602  0x00000818 set0  0x00000025 , 0x00000000 
+ 00012603  0x00000819 bpatch  0x00000017 , 0x00004002 
+ 00012604  0x0000081a fetch  0x00000004 , 0x000000f4 
+ 00012605  0x0000081b iforce  0x00000021 
+ 00012606  0x0000081c increase  0x00000001 , 0x0000003f 
+ 00012607  0x0000081d store  0x00000004 , 0x000000f4 
+ 00012608  0x0000081e isolate1  0x0000000c , 0x00000000 
+ 00012609  0x0000081f setflag  0x00000001 , 0x00000002 , 0x00000024 
+ 00012610  0x00000820 compare  0x00000000 , 0x00000021 , 0x00000002 
+ 00012611  0x00000821 nbranch  0x00003164 , 0x00000001 
+ 00012612  0x00000822 fetch  0x00000001 , 0x0000000c 
+ 00012613  0x00000823 increase  0x00000001 , 0x0000003f 
+ 00012614  0x00000824 store  0x00000001 , 0x0000000c 
+ 00012615  0x00000825 call  0x00003a42 
+ 00012616  0x00000826 call  0x00003bae 
+ 00012617  0x00000827 call  0x00003bb4 
+ 00012618  0x00000828 call  0x00003bc5 
+ 00012619  0x00000829 call  0x0000375c 
+ 00012620  0x0000082a call  0x00003155 
+ 00012621  0x0000082b branch  0x00003134 
+ 00012622  0x0000082e set0  0x00000025 , 0x00000000 
+ 00012623  0x0000082f bpatch  0x00000018 , 0x00004003 
+ 00012624  0x00000830 disable  0x00000029 
+ 00012625  0x00000831 fetch  0x00000002 , 0x00004155 
+ 00012626  0x00000832 rtn  0x00000034 
+ 00012627  0x00000833 force  0x0000000d , 0x00000007 
+ 00012628  0x00000834 branch  0x00007e4c 
+ 00012629  0x00000837 set0  0x00000025 , 0x00000000 
+ 00012630  0x00000838 bpatch  0x00000019 , 0x00004003 
+ 00012631  0x00000839 fetch  0x00000001 , 0x0000008d 
+ 00012632  0x0000083a increase  0xffffffff , 0x0000003f 
+ 00012633  0x0000083b store  0x00000001 , 0x0000008d 
+ 00012634  0x0000083c rtn  0x00000002 
+ 00012635  0x0000083d jam  0x0000001f , 0x0000008d 
+ 00012636  0x0000083e fetch  0x00000001 , 0x000000f2 
+ 00012637  0x0000083f increase  0xffffffff , 0x0000003f 
+ 00012638  0x00000840 store  0x00000001 , 0x000000f2 
+ 00012639  0x00000841 rtn  0x00000002 
+ 00012640  0x00000842 setflip  0x0000000c , 0x00000000 
+ 00012641  0x00000843 fetch  0x00000001 , 0x00004146 
+ 00012642  0x00000844 store  0x00000001 , 0x000000f2 
+ 00012643  0x00000845 rtn 
+ 00012644  0x00000848 set0  0x00000025 , 0x00000000 
+ 00012645  0x00000849 bpatch  0x0000001a , 0x00004003 
+ 00012646  0x0000084a call  0x00003a3b 
+ 00012647  0x0000084b call  0x00003bba 
+ 00012648  0x0000084c call  0x00003b3a 
+ 00012649  0x0000084d call  0x00003b63 
+ 00012650  0x0000084e branch  0x0000316d , 0x00000018 
+ 00012651  0x0000084f call  0x00003155 
+ 00012652  0x00000850 branch  0x0000313a 
+ 00012653  0x00000852 call  0x0000375c 
+ 00012654  0x00000853 fetch  0x00000001 , 0x0000000d 
+ 00012655  0x00000854 increase  0x00000001 , 0x0000003f 
+ 00012656  0x00000855 store  0x00000001 , 0x0000000d 
+ 00012657  0x00000856 force  0x00000000 , 0x0000001b 
+ 00012658  0x00000857 fetch  0x00000004 , 0x000000f4 
+ 00012659  0x00000859 set0  0x00000025 , 0x00000000 
+ 00012660  0x0000085a bpatch  0x0000001b , 0x00004003 
+ 00012661  0x0000085b call  0x00003bac 
+ 00012662  0x0000085c call  0x00003a4d 
+ 00012663  0x0000085d increase  0x00000001 , 0x00000026 
+ 00012664  0x0000085f and_into  0x000001fd , 0x00000021 
+ 00012665  0x00000860 and_into  0x000001fc , 0x00000024 
+ 00012666  0x00000861 call  0x00003a42 
+ 00012667  0x00000862 call  0x00003bae 
+ 00012668  0x00000863 call  0x00003bb4 
+ 00012669  0x00000864 call  0x00003bc5 
+ 00012670  0x00000865 deposit  0x00000022 
+ 00012671  0x00000866 store  0x00000004 , 0x0000016b 
+ 00012672  0x00000867 force  0x00000000 , 0x00000004 
+ 00012673  0x00000868 force  0x00000002 , 0x00000001 
+ 00012674  0x00000869 call  0x00003bcd 
+ 00012675  0x0000086a call  0x000038c1 
+ 00012676  0x0000086c set0  0x00000025 , 0x00000000 
+ 00012677  0x0000086d bpatch  0x0000001c , 0x00004003 
+ 00012678  0x0000086e call  0x00003baa 
+ 00012679  0x0000086f or_into  0x00000002 , 0x00000021 
+ 00012680  0x00000870 and_into  0x000001fc , 0x00000024 
+ 00012681  0x00000871 call  0x00003a3b 
+ 00012682  0x00000872 call  0x00003bba 
+ 00012683  0x00000873 call  0x00003b3a 
+ 00012684  0x00000874 call  0x00003b63 
+ 00012685  0x00000875 call  0x0000375c , 0x00000018 
+ 00012686  0x00000876 branch  0x00003194 , 0x00000018 
+ 00012687  0x00000877 fetch  0x00000001 , 0x00000010 
+ 00012688  0x00000878 branch  0x00003134 , 0x00000034 
+ 00012689  0x00000879 increase  0xffffffff , 0x0000003f 
+ 00012690  0x0000087a store  0x00000001 , 0x00000010 
+ 00012691  0x0000087b branch  0x00003173 
+ 00012692  0x0000087e set0  0x00000025 , 0x00000000 
+ 00012693  0x0000087f bpatch  0x0000001d , 0x00004003 
+ 00012694  0x00000880 fetch  0x00000001 , 0x0000000e 
+ 00012695  0x00000881 increase  0x00000001 , 0x0000003f 
+ 00012696  0x00000882 store  0x00000001 , 0x0000000e 
+ 00012697  0x00000883 call  0x000034ed 
+ 00012698  0x00000885 call  0x0000338b 
+ 00012699  0x00000886 branch  0x0000319f , 0x00000018 
+ 00012700  0x00000887 call  0x0000350e 
+ 00012701  0x00000888 nbranch  0x0000319a , 0x00000034 
+ 00012702  0x00000889 branch  0x00003134 
+ 00012703  0x0000088c set0  0x00000025 , 0x00000000 
+ 00012704  0x0000088d bpatch  0x0000001e , 0x00004003 
+ 00012705  0x0000088e fetch  0x00000001 , 0x00000030 
+ 00012706  0x0000088f set0  0x00000003 , 0x0000003f 
+ 00012707  0x00000890 store  0x00000001 , 0x00000030 
+ 00012708  0x00000891 call  0x000034f9 
+ 00012709  0x00000892 disable  0x00000029 
+ 00012710  0x00000893 rtn 
+ 00012711  0x00000897 set0  0x00000025 , 0x00000000 
+ 00012712  0x00000898 bpatch  0x0000001f , 0x00004003 
+ 00012713  0x00000899 enable  0x00000029 
+ 00012714  0x0000089a enable  0x00000030 
+ 00012715  0x0000089b call  0x0000324e 
+ 00012716  0x0000089c rtn  0x00000028 
+ 00012717  0x0000089d call  0x00003e25 
+ 00012718  0x0000089e call  0x00003bac 
+ 00012719  0x0000089f add  0x00000022 , 0x00000001 , 0x00000021 
+ 00012720  0x000008a0 call  0x00003a54 
+ 00012721  0x000008a1 force  0x00000003 , 0x00000024 
+ 00012722  0x000008a2 call  0x0000327c 
+ 00012723  0x000008a3 call  0x00006a54 
+ 00012724  0x000008a4 call  0x00006e10 
+ 00012725  0x000008a5 call  0x00003547 
+ 00012726  0x000008a6 call  0x00003a42 
+ 00012727  0x000008a7 call  0x00003bae 
+ 00012728  0x000008a8 call  0x00003bb4 
+ 00012729  0x000008a9 call  0x00003bc5 
+ 00012730  0x000008aa call  0x000038bf 
+ 00012731  0x000008ac set0  0x00000025 , 0x00000000 
+ 00012732  0x000008ad bpatch  0x00000020 , 0x00004004 
+ 00012733  0x000008ae call  0x00005b78 
+ 00012734  0x000008af call  0x00004995 
+ 00012735  0x000008b0 call  0x000048a9 
+ 00012736  0x000008b1 call  0x0000337c 
+ 00012737  0x000008b2 nbranch  0x000031c7 , 0x0000002d 
+ 00012738  0x000008b3 call  0x00003bec 
+ 00012739  0x000008b4 call  0x00003870 
+ 00012740  0x000008b5 fetch  0x00000001 , 0x0000000f 
+ 00012741  0x000008b6 increase  0x00000001 , 0x0000003f 
+ 00012742  0x000008b7 store  0x00000001 , 0x0000000f 
+ 00012743  0x000008b9 set0  0x00000025 , 0x00000000 
+ 00012744  0x000008ba bpatch  0x00000021 , 0x00004004 
+ 00012745  0x000008bb call  0x00006dec 
+ 00012746  0x000008bc call  0x000031d5 
+ 00012747  0x000008bd nrtn  0x00000029 
+ 00012748  0x000008be call  0x00003812 
+ 00012749  0x000008bf nbranch  0x000031d2 , 0x00000034 
+ 00012750  0x000008c1 call  0x00006a5c 
+ 00012751  0x000008c2 call  0x00003290 
+ 00012752  0x000008c3 disable  0x00000029 
+ 00012753  0x000008c4 rtn 
+ 00012754  0x000008c7 call  0x00003547 
+ 00012755  0x000008c8 call  0x00003371 
+ 00012756  0x000008c9 branch  0x000031bb 
+ 00012757  0x000008cd branch  0x000031d8 , 0x0000002d 
+ 00012758  0x000008ce call  0x00003be2 
+ 00012759  0x000008cf branch  0x000031e6 , 0x00000002 
+ 00012760  0x000008d1 call  0x00003204 
+ 00012761  0x000008d2 nbranch  0x000031e6 , 0x00000028 
+ 00012762  0x000008d3 fetch  0x00000001 , 0x0000004c 
+ 00012763  0x000008d4 rtnbit0  0x00000004 
+ 00012764  0x000008d5 rtnbit1  0x00000003 
+ 00012765  0x000008d6 fetch  0x00000001 , 0x0000004b 
+ 00012766  0x000008d7 rtnbit1  0x00000003 
+ 00012767  0x000008d8 call  0x0000320d 
+ 00012768  0x000008d9 nrtn  0x00000034 
+ 00012769  0x000008da fetch  0x00000001 , 0x00000178 
+ 00012770  0x000008db increase  0xffffffff , 0x0000003f 
+ 00012771  0x000008dc store  0x00000001 , 0x00000178 
+ 00012772  0x000008dd nrtn  0x00000034 
+ 00012773  0x000008de branch  0x00005ed5 
+ 00012774  0x000008e1 set0  0x00000025 , 0x00000000 
+ 00012775  0x000008e2 bpatch  0x00000022 , 0x00004004 
+ 00012776  0x000008e3 call  0x00003516 
+ 00012777  0x000008e4 disable  0x00000029 
+ 00012778  0x000008e5 fetch  0x00000001 , 0x0000004c 
+ 00012779  0x000008e6 bbit1  0x00000004 , 0x000031f2 
+ 00012780  0x000008e7 fetch  0x00000001 , 0x00000030 
+ 00012781  0x000008e8 bbit0  0x00000004 , 0x000031f0 
+ 00012782  0x000008e9 fetcht  0x00000001 , 0x00000046 
+ 00012783  0x000008ea branch  0x000048c4 
+ 00012784  0x000008ec force  0x00000008 , 0x00000002 
+ 00012785  0x000008ed branch  0x00004826 
+ 00012786  0x000008ef force  0x00000000 , 0x00000007 
+ 00012787  0x000008f0 fetch  0x00000001 , 0x0000004c 
+ 00012788  0x000008f1 bbit1  0x00000003 , 0x00004898 
+ 00012789  0x000008f3 force  0x00000004 , 0x00000007 
+ 00012790  0x000008f4 arg  0x00000103 , 0x00000005 
+ 00012791  0x000008f5 arg  0x00000008 , 0x00000039 
+ 00012792  0x000008f6 call  0x00007e3b 
+ 00012793  0x000008f7 branch  0x00004898 
+ 00012794  0x000008fa set0  0x00000025 , 0x00000000 
+ 00012795  0x000008fb bpatch  0x00000023 , 0x00004004 
+ 00012796  0x000008fc fetch  0x00000001 , 0x00000030 
+ 00012797  0x000008fd rtnbit0  0x00000002 
+ 00012798  0x000008fe fetcht  0x00000001 , 0x00000046 
+ 00012799  0x000008ff fetch  0x00000001 , 0x000000ac 
+ 00012800  0x00000900 isub  0x00000002 , 0x0000003e 
+ 00012801  0x00000901 nrtn  0x00000005 
+ 00012802  0x00000902 call  0x00003869 
+ 00012803  0x00000903 branch  0x00003293 
+ 00012804  0x00000906 set0  0x00000025 , 0x00000000 
+ 00012805  0x00000907 bpatch  0x00000024 , 0x00004004 
+ 00012806  0x00000908 enable  0x00000028 
+ 00012807  0x00000909 fetch  0x00000001 , 0x0000004b 
+ 00012808  0x0000090a rtnbit0  0x00000003 
+ 00012809  0x0000090b call  0x0000320d 
+ 00012810  0x0000090c nrtn  0x00000034 
+ 00012811  0x0000090e disable  0x00000028 
+ 00012812  0x0000090f rtn 
+ 00012813  0x00000912 fetch  0x00000001 , 0x00000072 
+ 00012814  0x00000913 increase  0xffffffff , 0x0000003f 
+ 00012815  0x00000914 store  0x00000001 , 0x00000072 
+ 00012816  0x00000915 rtn 
+ 00012817  0x00000918 set0  0x00000025 , 0x00000000 
+ 00012818  0x00000919 bpatch  0x00000025 , 0x00004004 
+ 00012819  0x0000091a fetch  0x00000001 , 0x00000030 
+ 00012820  0x0000091b bbit1  0x00000007 , 0x0000321f 
+ 00012821  0x0000091c fetch  0x00000001 , 0x00004132 
+ 00012822  0x0000091d beq  0x00000001 , 0x0000321d 
+ 00012823  0x0000091e fetch  0x00000001 , 0x000007e1 
+ 00012824  0x0000091f branch  0x0000321f , 0x00000034 
+ 00012825  0x00000920 jam  0x00000000 , 0x000007e1 
+ 00012826  0x00000921 jam  0x00000018 , 0x00000b7d 
+ 00012827  0x00000922 call  0x00007c27 
+ 00012828  0x00000923 branch  0x0000321f 
+ 00012829  0x00000925 call  0x00006216 
+ 00012830  0x00000926 ncall  0x00004852 , 0x00000001 
+ 00012831  0x00000928 set0  0x00000025 , 0x00000000 
+ 00012832  0x00000929 bpatch  0x00000026 , 0x00004004 
+ 00012833  0x0000092a call  0x000032f0 
+ 00012834  0x0000092b fetch  0x00000001 , 0x00000030 
+ 00012835  0x0000092c set1  0x00000007 , 0x0000003f 
+ 00012836  0x0000092d store  0x00000001 , 0x00000030 
+ 00012837  0x0000092e jam  0x00000001 , 0x0000425e 
+ 00012838  0x0000092f fetch  0x00000001 , 0x00000055 
+ 00012839  0x00000930 bne  0x00000016 , 0x00003228 
+ 00012840  0x00000932 rtn 
+ 00012841  0x00000935 jam  0x00000001 , 0x000007e1 
+ 00012842  0x00000937 fetch  0x00000001 , 0x00000030 
+ 00012843  0x00000938 set0  0x00000007 , 0x0000003f 
+ 00012844  0x00000939 store  0x00000001 , 0x00000030 
+ 00012845  0x0000093a rtn 
+ 00012846  0x0000093f set0  0x00000025 , 0x00000000 
+ 00012847  0x00000940 bpatch  0x00000027 , 0x00004004 
+ 00012848  0x00000941 disable  0x00000028 
+ 00012849  0x00000942 fetch  0x00000001 , 0x00000030 
+ 00012850  0x00000943 rtnbit0  0x00000001 
+ 00012851  0x00000944 fetch  0x00000002 , 0x00000032 
+ 00012852  0x00000945 nrtn  0x00000034 
+ 00012853  0x00000946 fetch  0x00000004 , 0x00000034 
+ 00012854  0x00000947 branch  0x00003239 , 0x00000030 
+ 00012855  0x00000948 isub  0x00000028 , 0x0000003f 
+ 00012856  0x00000949 branch  0x0000323a 
+ 00012857  0x0000094b isub  0x00000022 , 0x0000003f 
+ 00012858  0x0000094d sub  0x0000003f , 0x00000004 , 0x0000003e 
+ 00012859  0x0000094e nrtn  0x00000002 
+ 00012860  0x0000094f fetch  0x00000001 , 0x00000030 
+ 00012861  0x00000950 set0  0x00000001 , 0x0000003f 
+ 00012862  0x00000951 store  0x00000001 , 0x00000030 
+ 00012863  0x00000952 enable  0x00000028 
+ 00012864  0x00000953 rtn 
+ 00012865  0x00000957 copy  0x0000003f , 0x00000002 
+ 00012866  0x00000958 set0  0x00000025 , 0x00000000 
+ 00012867  0x00000959 bpatch  0x00000028 , 0x00004005 
+ 00012868  0x0000095a store  0x00000004 , 0x00000034 
+ 00012869  0x0000095c jam  0x00000001 , 0x00004748 
+ 00012870  0x0000095d fetch  0x00000001 , 0x00000030 
+ 00012871  0x0000095e set1  0x00000001 , 0x0000003f 
+ 00012872  0x0000095f store  0x00000001 , 0x00000030 
+ 00012873  0x00000960 force  0x00000000 , 0x0000003f 
+ 00012874  0x00000961 store  0x00000002 , 0x00000032 
+ 00012875  0x00000962 jam  0x0000000a , 0x0000008a 
+ 00012876  0x00000963 jam  0x00000001 , 0x00000073 
+ 00012877  0x00000964 rtn 
+ 00012878  0x00000968 set0  0x00000025 , 0x00000000 
+ 00012879  0x00000969 bpatch  0x00000029 , 0x00004005 
+ 00012880  0x0000096a call  0x0000322e 
+ 00012881  0x0000096b nrtn  0x00000028 
+ 00012882  0x0000096c disable  0x00000028 
+ 00012883  0x0000096d jam  0x00000020 , 0x00000011 
+ 00012884  0x0000096e set0  0x0000000b , 0x00000000 
+ 00012885  0x00000970 call  0x00003bac 
+ 00012886  0x00000971 call  0x0000337f 
+ 00012887  0x00000972 bmark1  0x0000000b , 0x00003263 
+ 00012888  0x00000973 call  0x0000350e 
+ 00012889  0x00000974 nbranch  0x00003255 , 0x00000034 
+ 00012890  0x00000976 set0  0x00000025 , 0x00000000 
+ 00012891  0x00000977 bpatch  0x0000002a , 0x00004005 
+ 00012892  0x00000978 disable  0x00000028 
+ 00012893  0x00000979 deposit  0x00000022 
+ 00012894  0x0000097a store  0x00000004 , 0x0000416a 
+ 00012895  0x0000097b enable  0x00000030 
+ 00012896  0x0000097c enable  0x00000029 
+ 00012897  0x0000097d jam  0x0000002a , 0x00000b7d 
+ 00012898  0x0000097e branch  0x00007c27 
+ 00012899  0x00000981 set0  0x00000025 , 0x00000000 
+ 00012900  0x00000982 bpatch  0x0000002b , 0x00004005 
+ 00012901  0x00000983 call  0x00003baa 
+ 00012902  0x00000984 call  0x00003374 
+ 00012903  0x00000985 disable  0x00000030 
+ 00012904  0x00000986 disable  0x00000029 
+ 00012905  0x00000987 call  0x00003982 
+ 00012906  0x00000988 call  0x000034ed 
+ 00012907  0x0000098a set0  0x00000025 , 0x00000000 
+ 00012908  0x0000098b bpatch  0x0000002c , 0x00004005 
+ 00012909  0x0000098c call  0x00003539 
+ 00012910  0x0000098d branch  0x00003272 , 0x0000002d 
+ 00012911  0x0000098e call  0x0000350e 
+ 00012912  0x0000098f nbranch  0x0000326b , 0x00000034 
+ 00012913  0x00000990 branch  0x0000325a 
+ 00012914  0x00000992 force  0x00000001 , 0x00000002 
+ 00012915  0x00000993 call  0x0000487f 
+ 00012916  0x00000994 fetch  0x00000001 , 0x00000031 
+ 00012917  0x00000995 set0  0x00000001 , 0x0000003f 
+ 00012918  0x00000996 store  0x00000001 , 0x00000031 
+ 00012919  0x00000997 call  0x00003bec 
+ 00012920  0x00000998 call  0x000039ac 
+ 00012921  0x00000999 enable  0x00000028 
+ 00012922  0x0000099a jam  0x0000002b , 0x00000b7d 
+ 00012923  0x0000099b branch  0x00007c27 
+ 00012924  0x0000099f set0  0x00000025 , 0x00000000 
+ 00012925  0x000009a0 bpatch  0x0000002d , 0x00004005 
+ 00012926  0x000009a1 rtnmark0  0x00000007 
+ 00012927  0x000009a2 fetch  0x00000001 , 0x00000030 
+ 00012928  0x000009a3 rtnbit0  0x00000002 
+ 00012929  0x000009a5 call  0x00003c23 
+ 00012930  0x000009a6 fetch  0x00000001 , 0x000000b3 
+ 00012931  0x000009a7 fetcht  0x00000001 , 0x00000047 
+ 00012932  0x000009a8 storet  0x00000001 , 0x000000b4 
+ 00012933  0x000009a9 store  0x00000001 , 0x00000047 
+ 00012934  0x000009aa deposit  0x00000004 
+ 00012935  0x000009ab store  0x00000001 , 0x000000b2 
+ 00012936  0x000009ac fetch  0x00000001 , 0x000041f9 
+ 00012937  0x000009ad iforce  0x00000004 
+ 00012938  0x000009ae set0  0x00000008 , 0x00000000 
+ 00012939  0x000009af fetch  0x00000001 , 0x00004165 
+ 00012940  0x000009b0 store  0x00000001 , 0x00004167 
+ 00012941  0x000009b1 fetch  0x00000001 , 0x00004166 
+ 00012942  0x000009b2 store  0x00000001 , 0x00004165 
+ 00012943  0x000009b3 rtn 
+ 00012944  0x000009b6 set0  0x00000025 , 0x00000000 
+ 00012945  0x000009b7 bpatch  0x0000002e , 0x00004005 
+ 00012946  0x000009b8 rtnmark0  0x00000007 
+ 00012947  0x000009ba call  0x00003847 
+ 00012948  0x000009bb nrtn  0x00000001 
+ 00012949  0x000009bd call  0x00003799 
+ 00012950  0x000009be fetch  0x00000001 , 0x000000b4 
+ 00012951  0x000009bf fetcht  0x00000001 , 0x00000047 
+ 00012952  0x000009c0 store  0x00000001 , 0x00000047 
+ 00012953  0x000009c1 storet  0x00000001 , 0x000000b3 
+ 00012954  0x000009c2 fetch  0x00000001 , 0x000000b2 
+ 00012955  0x000009c3 iforce  0x00000004 
+ 00012956  0x000009c4 fetch  0x00000001 , 0x00004165 
+ 00012957  0x000009c5 store  0x00000001 , 0x00004166 
+ 00012958  0x000009c6 fetch  0x00000001 , 0x00004167 
+ 00012959  0x000009c7 store  0x00000001 , 0x00004165 
+ 00012960  0x000009c8 setarg  0x0000ffff 
+ 00012961  0x000009c9 store  0x00000002 , 0x00004168 
+ 00012962  0x000009ca rtn 
+ 00012963  0x000009d0 set0  0x00000025 , 0x00000000 
+ 00012964  0x000009d1 bpatch  0x0000002f , 0x00004005 
+ 00012965  0x000009d2 set1  0x00000009 , 0x00000000 
+ 00012966  0x000009d3 deposit  0x00000011 
+ 00012967  0x000009d4 store  0x00000002 , 0x0000001e 
+ 00012968  0x000009d5 force  0x00000050 , 0x00000039 
+ 00012969  0x000009d6 arg  0x000003c0 , 0x00000005 
+ 00012970  0x000009d7 add  0x00000011 , 0x00000001 , 0x00000006 
+ 00012971  0x000009d8 ifetch  0x00000001 , 0x00000006 
+ 00012972  0x000009d9 copy  0x00000011 , 0x00000006 
+ 00012973  0x000009da bbit1  0x00000000 , 0x00007e45 
+ 00012974  0x000009db arg  0x00000030 , 0x00000005 
+ 00012975  0x000009dc call  0x00007e45 
+ 00012976  0x000009dd disable  0x0000002e 
+ 00012977  0x000009de fetch  0x00000001 , 0x00000077 
+ 00012978  0x000009df iforce  0x00000004 
+ 00012979  0x000009e0 jam  0x00000001 , 0x0000008a 
+ 00012980  0x000009e1 branch  0x000032b6 , 0x00000029 
+ 00012981  0x000009e2 jam  0x00000001 , 0x0000008a 
+ 00012982  0x000009e4 fetch  0x00000001 , 0x00000030 
+ 00012983  0x000009e5 rtnbit0  0x00000001 
+ 00012984  0x000009e6 fetch  0x00000001 , 0x00000073 
+ 00012985  0x000009e7 store  0x00000001 , 0x0000008a 
+ 00012986  0x000009e8 fetch  0x00000001 , 0x00000074 
+ 00012987  0x000009e9 store  0x00000001 , 0x0000008b 
+ 00012988  0x000009ea rtn 
+ 00012989  0x000009ed set0  0x00000025 , 0x00000000 
+ 00012990  0x000009ee bpatch  0x00000030 , 0x00004006 
+ 00012991  0x000009ef fetch  0x00000002 , 0x0000001e 
+ 00012992  0x000009f0 iforce  0x00000005 
+ 00012993  0x000009f1 force  0x00000050 , 0x00000039 
+ 00012994  0x000009f2 arg  0x000003c0 , 0x00000006 
+ 00012995  0x000009f3 branch  0x00007e45 , 0x00000036 
+ 00012996  0x000009f4 arg  0x00000030 , 0x00000006 
+ 00012997  0x000009f5 branch  0x00007e45 
+ 00012998  0x000009fa fetcht  0x00000001 , 0x00000015 
+ 00012999  0x000009fb arg  0x00000003 , 0x00000039 
+ 00013000  0x000009fd increase  0x00000001 , 0x00000002 
+ 00013001  0x000009fe compare  0x00000003 , 0x00000002 , 0x000000ff 
+ 00013002  0x000009ff nbranch  0x000032cc , 0x00000001 
+ 00013003  0x00000a00 arg  0x00000000 , 0x00000002 
+ 00013004  0x00000a02 storet  0x00000001 , 0x00000015 
+ 00013005  0x00000a03 mul32  0x00000002 , 0x00000050 , 0x0000003f 
+ 00013006  0x00000a04 arg  0x00004040 , 0x00000011 
+ 00013007  0x00000a05 iadd  0x00000011 , 0x00000011 
+ 00013008  0x00000a06 ifetch  0x00000001 , 0x00000011 
+ 00013009  0x00000a07 bbit1  0x00000001 , 0x000032d4 
+ 00013010  0x00000a08 rtnbit1  0x00000000 
+ 00013011  0x00000a09 rtnbit1  0x00000003 
+ 00013012  0x00000a0b loop  0x000032c8 
+ 00013013  0x00000a0c rtn 
+ 00013014  0x00000a0f set0  0x00000025 , 0x00000000 
+ 00013015  0x00000a10 bpatch  0x00000031 , 0x00004006 
+ 00013016  0x00000a11 arg  0x0000330b , 0x00000013 
+ 00013017  0x00000a12 call  0x00003301 
+ 00013018  0x00000a13 nrtn  0x00000005 
+ 00013019  0x00000a14 deposit  0x00000011 
+ 00013020  0x00000a15 store  0x00000002 , 0x0000001e 
+ 00013021  0x00000a16 force  0x00000000 , 0x0000003e 
+ 00013022  0x00000a17 rtn 
+ 00013023  0x00000a1c call  0x00003847 
+ 00013024  0x00000a1d branch  0x000032e7 , 0x00000001 
+ 00013025  0x00000a1e fetch  0x00000002 , 0x0000001e 
+ 00013026  0x00000a1f add  0x0000003f , 0x00000017 , 0x00000005 
+ 00013027  0x00000a20 fetch  0x00000001 , 0x00000047 
+ 00013028  0x00000a21 istore  0x00000001 , 0x00000005 
+ 00013029  0x00000a22 arg  0x00003334 , 0x00000013 
+ 00013030  0x00000a23 branch  0x00003301 
+ 00013031  0x00000a26 fetch  0x00000001 , 0x00000047 
+ 00013032  0x00000a27 isolate1  0x00000003 , 0x0000003f 
+ 00013033  0x00000a28 branch  0x000032ec , 0x00000001 
+ 00013034  0x00000a29 force  0x00000001 , 0x0000003e 
+ 00013035  0x00000a2a rtn 
+ 00013036  0x00000a2c force  0x00000000 , 0x0000003e 
+ 00013037  0x00000a2d rtn 
+ 00013038  0x00000a31 arg  0x00003331 , 0x00000013 
+ 00013039  0x00000a32 branch  0x00003301 
+ 00013040  0x00000a35 fetcht  0x00000002 , 0x0000001e 
+ 00013041  0x00000a36 arg  0x00003366 , 0x00000013 
+ 00013042  0x00000a37 branch  0x00003301 
+ 00013043  0x00000a3a fetcht  0x00000002 , 0x0000001e 
+ 00013044  0x00000a3b arg  0x00003359 , 0x00000013 
+ 00013045  0x00000a3c branch  0x00003301 
+ 00013046  0x00000a40 fetcht  0x00000001 , 0x00004273 
+ 00013047  0x00000a42 arg  0x00003316 , 0x00000013 
+ 00013048  0x00000a43 branch  0x00003301 
+ 00013049  0x00000a46 set0  0x00000025 , 0x00000000 
+ 00013050  0x00000a47 bpatch  0x00000032 , 0x00004006 
+ 00013051  0x00000a48 fetcht  0x00000006 , 0x00004274 
+ 00013052  0x00000a4a arg  0x0000330f , 0x00000013 
+ 00013053  0x00000a4b branch  0x00003301 
+ 00013054  0x00000a4e arg  0x0000331c , 0x00000013 
+ 00013055  0x00000a4f branch  0x00003301 
+ 00013056  0x00000a52 arg  0x00003350 , 0x00000013 
+ 00013057  0x00000a54 set0  0x00000025 , 0x00000000 
+ 00013058  0x00000a55 bpatch  0x00000033 , 0x00004006 
+ 00013059  0x00000a56 arg  0x00004040 , 0x00000011 
+ 00013060  0x00000a57 force  0x00000003 , 0x00000039 
+ 00013061  0x00000a59 ifetch  0x00000001 , 0x00000011 
+ 00013062  0x00000a5a copy  0x00000013 , 0x0000003d 
+ 00013063  0x00000a5c increase  0x00000050 , 0x00000011 
+ 00013064  0x00000a5d loop  0x00003305 
+ 00013065  0x00000a5e force  0x00000001 , 0x0000003e 
+ 00013066  0x00000a5f rtn 
+ 00013067  0x00000a62 bbit1  0x00000000 , 0x00003307 
+ 00013068  0x00000a63 bbit1  0x00000003 , 0x00003307 
+ 00013069  0x00000a64 force  0x00000000 , 0x0000003e 
+ 00013070  0x00000a65 rtn 
+ 00013071  0x00000a68 bbit1  0x00000003 , 0x00003311 
+ 00013072  0x00000a69 bbit0  0x00000000 , 0x00003307 
+ 00013073  0x00000a6b add  0x00000011 , 0x00000010 , 0x00000006 
+ 00013074  0x00000a6c ifetch  0x00000006 , 0x00000006 
+ 00013075  0x00000a6d isub  0x00000002 , 0x0000003e 
+ 00013076  0x00000a6e rtn  0x00000005 
+ 00013077  0x00000a6f branch  0x00003307 
+ 00013078  0x00000a72 bbit0  0x00000000 , 0x00003307 
+ 00013079  0x00000a73 add  0x00000011 , 0x00000016 , 0x00000006 
+ 00013080  0x00000a74 ifetch  0x00000001 , 0x00000006 
+ 00013081  0x00000a75 isub  0x00000002 , 0x0000003e 
+ 00013082  0x00000a76 rtn  0x00000005 
+ 00013083  0x00000a77 branch  0x00003307 
+ 00013084  0x00000a7a bbit0  0x00000001 , 0x00003307 
+ 00013085  0x00000a7c call  0x0000333d 
+ 00013086  0x00000a7d bbit1  0x0000001b , 0x00003322 
+ 00013087  0x00000a7e isolate0  0x0000001b , 0x00000002 
+ 00013088  0x00000a7f branch  0x00003322 , 0x00000001 
+ 00013089  0x00000a80 set1  0x0000001c , 0x0000003f 
+ 00013090  0x00000a82 isub  0x00000002 , 0x0000003f 
+ 00013091  0x00000a83 increase  0x00000001 , 0x0000003f 
+ 00013092  0x00000a84 branch  0x0000332b , 0x00000002 
+ 00013093  0x00000a85 increase  0x00000005 , 0x0000003f 
+ 00013094  0x00000a86 nbranch  0x00003307 , 0x00000002 
+ 00013095  0x00000a88 copy  0x00000002 , 0x00000021 
+ 00013096  0x00000a89 call  0x00003349 
+ 00013097  0x00000a8a force  0x00000000 , 0x0000003e 
+ 00013098  0x00000a8b rtn 
+ 00013099  0x00000a8e iforce  0x00000012 
+ 00013100  0x00000a8f add  0x00000011 , 0x00000002 , 0x00000006 
+ 00013101  0x00000a90 ifetch  0x00000002 , 0x00000006 
+ 00013102  0x00000a91 branch  0x00003327 , 0x00000034 
+ 00013103  0x00000a92 call  0x00003349 
+ 00013104  0x00000a93 branch  0x0000331d 
+ 00013105  0x00000a96 bbit0  0x00000000 , 0x00003307 
+ 00013106  0x00000a97 force  0x00000000 , 0x0000003e 
+ 00013107  0x00000a98 rtn 
+ 00013108  0x00000a9b bbit0  0x00000000 , 0x00003307 
+ 00013109  0x00000a9c add  0x00000011 , 0x00000001 , 0x00000006 
+ 00013110  0x00000a9d ifetch  0x00000001 , 0x00000006 
+ 00013111  0x00000a9e bbit1  0x00000000 , 0x00003307 
+ 00013112  0x00000a9f add  0x00000011 , 0x00000017 , 0x00000006 
+ 00013113  0x00000aa0 ifetch  0x00000001 , 0x00000006 
+ 00013114  0x00000aa1 bbit0  0x00000003 , 0x00003307 
+ 00013115  0x00000aa2 force  0x00000000 , 0x0000003e 
+ 00013116  0x00000aa3 rtn 
+ 00013117  0x00000aa6 add  0x00000011 , 0x00000001 , 0x00000006 
+ 00013118  0x00000aa7 ifetcht  0x00000001 , 0x00000006 
+ 00013119  0x00000aa8 deposit  0x00000022 
+ 00013120  0x00000aa9 isolate1  0x00000001 , 0x00000002 
+ 00013121  0x00000aaa add  0x00000011 , 0x00000004 , 0x00000006 
+ 00013122  0x00000aab ifetcht  0x00000004 , 0x00000006 
+ 00013123  0x00000aac rtn  0x00000001 
+ 00013124  0x00000aad add  0x00000011 , 0x00000008 , 0x00000006 
+ 00013125  0x00000aae ifetch  0x00000006 , 0x00000006 
+ 00013126  0x00000aaf call  0x000039c0 
+ 00013127  0x00000ab0 deposit  0x00000028 
+ 00013128  0x00000ab1 rtn 
+ 00013129  0x00000ab4 add  0x00000011 , 0x00000002 , 0x00000006 
+ 00013130  0x00000ab5 add  0x00000011 , 0x00000004 , 0x00000005 
+ 00013131  0x00000ab6 ifetch  0x00000002 , 0x00000006 
+ 00013132  0x00000ab7 iadd  0x00000002 , 0x0000000b 
+ 00013133  0x00000ab8 deposit  0x0000000b 
+ 00013134  0x00000ab9 istore  0x00000004 , 0x00000005 
+ 00013135  0x00000aba branch  0x00005434 
+ 00013136  0x00000abe bbit0  0x00000001 , 0x00003307 
+ 00013137  0x00000abf call  0x0000333d 
+ 00013138  0x00000ac0 iadd  0x0000001b , 0x0000003f 
+ 00013139  0x00000ac1 iadd  0x0000001b , 0x0000003f 
+ 00013140  0x00000ac2 iadd  0x00000007 , 0x0000003f 
+ 00013141  0x00000ac3 isub  0x00000002 , 0x0000003e 
+ 00013142  0x00000ac4 nbranch  0x00003307 , 0x00000002 
+ 00013143  0x00000ac5 force  0x00000000 , 0x0000003e 
+ 00013144  0x00000ac6 rtn 
+ 00013145  0x00000ac9 bbit0  0x00000000 , 0x00003307 
+ 00013146  0x00000aca deposit  0x00000002 
+ 00013147  0x00000acb isub  0x00000011 , 0x0000003e 
+ 00013148  0x00000acc branch  0x00003307 , 0x0000003e 
+ 00013149  0x00000acd add  0x00000011 , 0x00000001 , 0x00000006 
+ 00013150  0x00000ace ifetch  0x00000001 , 0x00000006 
+ 00013151  0x00000acf bbit1  0x00000000 , 0x00003307 
+ 00013152  0x00000ad0 add  0x00000011 , 0x00000018 , 0x00000005 
+ 00013153  0x00000ad1 ifetch  0x00000001 , 0x00000005 
+ 00013154  0x00000ad2 nbranch  0x00003307 , 0x00000034 
+ 00013155  0x00000ad3 force  0x0000002d , 0x0000003f 
+ 00013156  0x00000ad4 istore  0x00000001 , 0x00000005 
+ 00013157  0x00000ad5 branch  0x00003307 
+ 00013158  0x00000ad8 bbit0  0x00000000 , 0x00003307 
+ 00013159  0x00000ad9 deposit  0x00000002 
+ 00013160  0x00000ada isub  0x00000011 , 0x0000003e 
+ 00013161  0x00000adb branch  0x00003307 , 0x0000003e 
+ 00013162  0x00000adc add  0x00000011 , 0x00000001 , 0x00000006 
+ 00013163  0x00000add ifetch  0x00000001 , 0x00000006 
+ 00013164  0x00000ade bbit1  0x00000000 , 0x00003307 
+ 00013165  0x00000adf ifetch  0x00000001 , 0x00000011 
+ 00013166  0x00000ae0 set0  0x00000007 , 0x0000003f 
+ 00013167  0x00000ae1 istore  0x00000001 , 0x00000011 
+ 00013168  0x00000ae2 branch  0x00003307 
+ 00013169  0x00000ae6 set0  0x00000025 , 0x00000000 
+ 00013170  0x00000ae7 bpatch  0x00000034 , 0x00004006 
+ 00013171  0x00000ae8 call  0x00003bac 
+ 00013172  0x00000aea add  0x00000022 , 0x00000001 , 0x00000021 
+ 00013173  0x00000aeb call  0x00003a54 
+ 00013174  0x00000aec force  0x00000003 , 0x00000024 
+ 00013175  0x00000aed call  0x00003a42 
+ 00013176  0x00000aee call  0x00003bae 
+ 00013177  0x00000aef call  0x00003bb4 
+ 00013178  0x00000af0 call  0x00003bc5 
+ 00013179  0x00000af1 branch  0x000038bf 
+ 00013180  0x00000af4 set0  0x00000025 , 0x00000000 
+ 00013181  0x00000af5 bpatch  0x00000035 , 0x00004006 
+ 00013182  0x00000af6 call  0x00003baa 
+ 00013183  0x00000af8 add  0x00000022 , 0x00000001 , 0x00000021 
+ 00013184  0x00000af9 call  0x00003a54 
+ 00013185  0x00000afa force  0x00000003 , 0x00000024 
+ 00013186  0x00000afb call  0x00003a3b 
+ 00013187  0x00000afc call  0x000034e1 
+ 00013188  0x00000afd call  0x00003b41 
+ 00013189  0x00000afe call  0x00003bba 
+ 00013190  0x00000aff call  0x00003b3a 
+ 00013191  0x00000b01 call  0x00003b63 
+ 00013192  0x00000b02 nrtn  0x00000018 
+ 00013193  0x00000b03 call  0x00003af3 
+ 00013194  0x00000b04 branch  0x000035df 
+ 00013195  0x00000b09 set0  0x00000025 , 0x00000000 
+ 00013196  0x00000b0a bpatch  0x00000036 , 0x00004006 
+ 00013197  0x00000b0b fetch  0x00000001 , 0x0000018b 
+ 00013198  0x00000b0c iforce  0x00000004 
+ 00013199  0x00000b0d force  0x00000001 , 0x00000001 
+ 00013200  0x00000b0e call  0x00003371 
+ 00013201  0x00000b0f branch  0x0000337c 
+ 00013202  0x00000b1b fetch  0x00000001 , 0x00004133 
+ 00013203  0x00000b1c rtnbit0  0x00000000 
+ 00013204  0x00000b1d force  0x00000005 , 0x00000007 
+ 00013205  0x00000b1e call  0x00007e53 
+ 00013206  0x00000b1f nrtn  0x00000034 
+ 00013207  0x00000b20 fetcht  0x00000002 , 0x0000414d 
+ 00013208  0x00000b21 force  0x00000004 , 0x00000007 
+ 00013209  0x00000b22 call  0x0000383d 
+ 00013210  0x00000b23 rtn  0x00000028 
+ 00013211  0x00000b24 call  0x000033a2 
+ 00013212  0x00000b25 force  0x00000005 , 0x00000007 
+ 00013213  0x00000b26 fetch  0x00000002 , 0x0000414f 
+ 00013214  0x00000b27 nbranch  0x00007e4c , 0x00000018 
+ 00013215  0x00000b28 random  0x0000003f 
+ 00013216  0x00000b29 iand  0x00000035 , 0x0000003f 
+ 00013217  0x00000b2a branch  0x00007e4c 
+ 00013218  0x00000b2e set0  0x00000025 , 0x00000000 
+ 00013219  0x00000b2f bpatch  0x00000037 , 0x00004006 
+ 00013220  0x00000b30 jam  0x00000000 , 0x0000018b 
+ 00013221  0x00000b31 disable  0x00000030 
+ 00013222  0x00000b32 disable  0x0000002e 
+ 00013223  0x00000b33 call  0x00003a12 
+ 00013224  0x00000b34 and  0x00000022 , 0x000001fc , 0x00000021 
+ 00013225  0x00000b35 force  0x00000001 , 0x00000024 
+ 00013226  0x00000b36 call  0x00003a49 
+ 00013227  0x00000b37 call  0x00003a3b 
+ 00013228  0x00000b38 setflip  0x0000001d , 0x00000000 
+ 00013229  0x00000b39 fetch  0x00000001 , 0x00000006 
+ 00013230  0x00000b3a increase  0x00000001 , 0x0000003f 
+ 00013231  0x00000b3b store  0x00000001 , 0x00000006 
+ 00013232  0x00000b3c call  0x00003a66 
+ 00013233  0x00000b3d call  0x00003b3a 
+ 00013234  0x00000b3e call  0x00003b6b 
+ 00013235  0x00000b3f nrtn  0x00000018 
+ 00013236  0x00000b40 set0  0x00000025 , 0x00000000 
+ 00013237  0x00000b41 bpatch  0x00000038 , 0x00004007 
+ 00013238  0x00000b42 force  0x00000000 , 0x0000001b 
+ 00013239  0x00000b43 call  0x00003a6d 
+ 00013240  0x00000b44 fetch  0x00000001 , 0x00000007 
+ 00013241  0x00000b45 increase  0x00000001 , 0x0000003f 
+ 00013242  0x00000b46 store  0x00000001 , 0x00000007 
+ 00013243  0x00000b47 call  0x00003a49 
+ 00013244  0x00000b48 call  0x00003baa 
+ 00013245  0x00000b49 or_into  0x00000002 , 0x00000021 
+ 00013246  0x00000b4a force  0x00000001 , 0x00000024 
+ 00013247  0x00000b4b call  0x00003a42 
+ 00013248  0x00000b4c call  0x00003a66 
+ 00013249  0x00000b4d call  0x00003bae 
+ 00013250  0x00000b4e call  0x00003bbf 
+ 00013251  0x00000b4f deposit  0x00000022 
+ 00013252  0x00000b50 store  0x00000004 , 0x0000016b 
+ 00013253  0x00000b51 call  0x00003bc5 
+ 00013254  0x00000b52 force  0x00000002 , 0x00000001 
+ 00013255  0x00000b53 force  0x00000000 , 0x00000004 
+ 00013256  0x00000b54 call  0x00003bcd 
+ 00013257  0x00000b55 call  0x000038c1 
+ 00013258  0x00000b56 call  0x000033ce 
+ 00013259  0x00000b57 and_into  0x000001fd , 0x00000021 
+ 00013260  0x00000b58 increase  0x00000001 , 0x00000026 
+ 00013261  0x00000b59 rtn 
+ 00013262  0x00000b5c set0  0x00000025 , 0x00000000 
+ 00013263  0x00000b5d bpatch  0x00000039 , 0x00004007 
+ 00013264  0x00000b5e fetch  0x00000001 , 0x00004172 
+ 00013265  0x00000b5f rtn  0x00000034 
+ 00013266  0x00000b60 arg  0x000001bc , 0x00000005 
+ 00013267  0x00000b61 fetch  0x00000001 , 0x00004702 
+ 00013268  0x00000b62 copy  0x0000003f , 0x00000039 
+ 00013269  0x00000b63 increase  0x00000001 , 0x0000003f 
+ 00013270  0x00000b64 istore  0x00000001 , 0x00000005 
+ 00013271  0x00000b65 copy  0x00000005 , 0x00000002 
+ 00013272  0x00000b66 increase  0x00000001 , 0x0000003f 
+ 00013273  0x00000b67 store  0x00000002 , 0x00000091 
+ 00013274  0x00000b68 copy  0x00000002 , 0x00000005 
+ 00013275  0x00000b69 setarg  0x00000009 
+ 00013276  0x00000b6a istore  0x00000001 , 0x00000005 
+ 00013277  0x00000b6b arg  0x00004703 , 0x00000006 
+ 00013278  0x00000b6c call  0x00007e45 
+ 00013279  0x00000b6d arg  0x00004771 , 0x00000013 
+ 00013280  0x00000b6e arg  0x00000004 , 0x00000039 
+ 00013281  0x00000b6f call  0x000033f1 
+ 00013282  0x00000b70 arg  0x0000475b , 0x00000013 
+ 00013283  0x00000b71 arg  0x00000001 , 0x00000039 
+ 00013284  0x00000b72 call  0x000033f1 
+ 00013285  0x00000b73 force  0x0000000a , 0x00000001 
+ 00013286  0x00000b74 jam  0x00000002 , 0x00000090 
+ 00013287  0x00000b75 setarg  0x000001bc 
+ 00013288  0x00000b76 store  0x00000002 , 0x00000179 
+ 00013289  0x00000b77 call  0x00003baa 
+ 00013290  0x00000b78 call  0x00003a42 
+ 00013291  0x00000b79 call  0x00003bae 
+ 00013292  0x00000b7a call  0x00003bbf 
+ 00013293  0x00000b7b call  0x00003bc5 
+ 00013294  0x00000b7c call  0x00003bcd 
+ 00013295  0x00000b7d call  0x000038c1 
+ 00013296  0x00000b7e rtn 
+ 00013297  0x00000b82 copy  0x00000005 , 0x00000002 
+ 00013298  0x00000b83 copy  0x00000013 , 0x00000006 
+ 00013299  0x00000b84 ifetch  0x00000001 , 0x00000006 
+ 00013300  0x00000b85 rtn  0x00000034 
+ 00013301  0x00000b87 lshift  0x0000003f , 0x0000003f 
+ 00013302  0x00000b88 loop  0x000033f5 
+ 00013303  0x00000b89 copy  0x0000003f , 0x00000011 
+ 00013304  0x00000b8a increase  0x00000002 , 0x0000003f 
+ 00013305  0x00000b8b copy  0x0000003f , 0x00000007 
+ 00013306  0x00000b8c fetch  0x00000002 , 0x00000091 
+ 00013307  0x00000b8d iadd  0x00000007 , 0x0000003f 
+ 00013308  0x00000b8e store  0x00000002 , 0x00000091 
+ 00013309  0x00000b8f copy  0x00000002 , 0x00000005 
+ 00013310  0x00000b90 copy  0x00000011 , 0x0000003f 
+ 00013311  0x00000b91 increase  0x00000001 , 0x0000003f 
+ 00013312  0x00000b92 istore  0x00000001 , 0x00000005 
+ 00013313  0x00000b93 copy  0x00000013 , 0x00000006 
+ 00013314  0x00000b94 ifetch  0x00000001 , 0x00000006 
+ 00013315  0x00000b95 ifetch  0x00000001 , 0x00000006 
+ 00013316  0x00000b96 istore  0x00000001 , 0x00000005 
+ 00013317  0x00000b97 copy  0x00000011 , 0x00000039 
+ 00013318  0x00000b98 branch  0x00007e45 
+ 00013319  0x00000b9f fetch  0x00000001 , 0x00004133 
+ 00013320  0x00000ba0 rtnbit0  0x00000001 
+ 00013321  0x00000ba1 force  0x00000006 , 0x00000007 
+ 00013322  0x00000ba2 call  0x00007e53 
+ 00013323  0x00000ba3 nrtn  0x00000034 
+ 00013324  0x00000ba4 fetcht  0x00000002 , 0x00004151 
+ 00013325  0x00000ba5 force  0x00000028 , 0x00000007 
+ 00013326  0x00000ba6 call  0x0000383d 
+ 00013327  0x00000ba7 rtn  0x00000028 
+ 00013328  0x00000ba8 force  0x00000000 , 0x00000004 
+ 00013329  0x00000ba9 jam  0x00000008 , 0x00000010 
+ 00013330  0x00000baa set0  0x0000000b , 0x00000000 
+ 00013331  0x00000bab call  0x00003417 
+ 00013332  0x00000bac force  0x00000006 , 0x00000007 
+ 00013333  0x00000bad fetch  0x00000002 , 0x00004153 
+ 00013334  0x00000bae branch  0x00007e4c 
+ 00013335  0x00000bb2 set0  0x00000025 , 0x00000000 
+ 00013336  0x00000bb3 bpatch  0x0000003a , 0x00004007 
+ 00013337  0x00000bb4 disable  0x00000030 
+ 00013338  0x00000bb5 call  0x00003a12 
+ 00013339  0x00000bb6 fetch  0x00000001 , 0x00000008 
+ 00013340  0x00000bb7 increase  0x00000001 , 0x0000003f 
+ 00013341  0x00000bb8 store  0x00000001 , 0x00000008 
+ 00013342  0x00000bb9 force  0x00000000 , 0x00000026 
+ 00013343  0x00000bba call  0x00003a54 
+ 00013344  0x00000bbb add  0x00000022 , 0x00000001 , 0x00000021 
+ 00013345  0x00000bbc force  0x00000002 , 0x00000024 
+ 00013346  0x00000bbd set0  0x00000025 , 0x00000000 
+ 00013347  0x00000bbe bpatch  0x0000003b , 0x00004007 
+ 00013348  0x00000bbf call  0x00003a3b 
+ 00013349  0x00000bc0 call  0x00003b3a 
+ 00013350  0x00000bc1 call  0x00003b6b 
+ 00013351  0x00000bc2 nrtn  0x00000018 
+ 00013352  0x00000bc3 call  0x00003a6d 
+ 00013353  0x00000bc4 fetch  0x00000001 , 0x00000009 
+ 00013354  0x00000bc5 increase  0x00000001 , 0x0000003f 
+ 00013355  0x00000bc6 store  0x00000001 , 0x00000009 
+ 00013356  0x00000bc7 force  0x00000000 , 0x0000001b 
+ 00013357  0x00000bc8 call  0x00003baa 
+ 00013358  0x00000bc9 or_into  0x00000002 , 0x00000021 
+ 00013359  0x00000bca force  0x00000001 , 0x00000024 
+ 00013360  0x00000bcb call  0x00003a42 
+ 00013361  0x00000bcc call  0x00003bae 
+ 00013362  0x00000bcd call  0x00003bbf 
+ 00013363  0x00000bce call  0x00003bc5 
+ 00013364  0x00000bcf call  0x0000375c 
+ 00013365  0x00000bd0 force  0x00000000 , 0x00000004 
+ 00013366  0x00000bd1 arg  0x00000600 , 0x0000000b 
+ 00013367  0x00000bd2 until  0x00000029 , 0x00000026 
+ 00013368  0x00000bd3 or_into  0x00000003 , 0x00000028 
+ 00013369  0x00000bd4 and_into  0x000001fd , 0x00000021 
+ 00013370  0x00000bd6 set0  0x00000025 , 0x00000000 
+ 00013371  0x00000bd7 bpatch  0x0000003c , 0x00004007 
+ 00013372  0x00000bd8 increase  0x00000001 , 0x00000026 
+ 00013373  0x00000bd9 call  0x00003a3b 
+ 00013374  0x00000bda call  0x00003b3a 
+ 00013375  0x00000bdb call  0x00003b5d 
+ 00013376  0x00000bdc nbranch  0x00003444 , 0x00000018 
+ 00013377  0x00000bdd call  0x00003bcd 
+ 00013378  0x00000bde call  0x000035e1 
+ 00013379  0x00000bdf bmark1  0x0000000b , 0x0000344c 
+ 00013380  0x00000be1 set0  0x00000025 , 0x00000000 
+ 00013381  0x00000be2 bpatch  0x0000003d , 0x00004007 
+ 00013382  0x00000be3 fetch  0x00000001 , 0x00000010 
+ 00013383  0x00000be4 rtn  0x00000034 
+ 00013384  0x00000be5 increase  0xffffffff , 0x0000003f 
+ 00013385  0x00000be6 store  0x00000001 , 0x00000010 
+ 00013386  0x00000be7 call  0x00003bac 
+ 00013387  0x00000be8 branch  0x0000343a 
+ 00013388  0x00000bec set0  0x00000025 , 0x00000000 
+ 00013389  0x00000bed bpatch  0x0000003e , 0x00004007 
+ 00013390  0x00000bee set0  0x00000001 , 0x00000028 
+ 00013391  0x00000bef set1  0x00000000 , 0x00000028 
+ 00013392  0x00000bf0 fetch  0x00000001 , 0x0000000a 
+ 00013393  0x00000bf1 increase  0x00000001 , 0x0000003f 
+ 00013394  0x00000bf2 store  0x00000001 , 0x0000000a 
+ 00013395  0x00000bf3 call  0x00003baa 
+ 00013396  0x00000bf4 or_into  0x00000002 , 0x00000021 
+ 00013397  0x00000bf5 call  0x00003a42 
+ 00013398  0x00000bf6 call  0x00003bae 
+ 00013399  0x00000bf7 call  0x00003bbf 
+ 00013400  0x00000bf8 call  0x00003bc5 
+ 00013401  0x00000bf9 call  0x0000375c 
+ 00013402  0x00000bfb compare  0x00000003 , 0x00000028 , 0x00000003 
+ 00013403  0x00000bfc branch  0x0000345e , 0x00000001 
+ 00013404  0x00000bfd until  0x0000003e , 0x00000017 
+ 00013405  0x00000bfe branch  0x0000345a 
+ 00013406  0x00000c00 fetch  0x00000004 , 0x0000016f 
+ 00013407  0x00000c01 or_into  0x00000003 , 0x0000003f 
+ 00013408  0x00000c02 icopy  0x00000028 
+ 00013409  0x00000c05 set0  0x00000025 , 0x00000000 
+ 00013410  0x00000c06 bpatch  0x0000003f , 0x00004007 
+ 00013411  0x00000c07 fetch  0x00000006 , 0x00000182 
+ 00013412  0x00000c08 store  0x00000006 , 0x00000040 
+ 00013413  0x00000c09 call  0x000034ed 
+ 00013414  0x00000c0b call  0x00003539 
+ 00013415  0x00000c0c branch  0x0000346b , 0x0000002d 
+ 00013416  0x00000c0d call  0x0000350e 
+ 00013417  0x00000c0e nbranch  0x00003466 , 0x00000034 
+ 00013418  0x00000c0f rtn 
+ 00013419  0x00000c13 set0  0x00000025 , 0x00000000 
+ 00013420  0x00000c14 bpatch  0x00000040 , 0x00004008 
+ 00013421  0x00000c15 call  0x000034f9 
+ 00013422  0x00000c16 call  0x000032d6 
+ 00013423  0x00000c17 nrtn  0x00000005 
+ 00013424  0x00000c18 jam  0x00000000 , 0x00000031 
+ 00013425  0x00000c19 call  0x000039ac 
+ 00013426  0x00000c1a branch  0x000032bd 
+ 00013427  0x00000c1e set0  0x00000025 , 0x00000000 
+ 00013428  0x00000c1f bpatch  0x00000041 , 0x00004008 
+ 00013429  0x00000c20 call  0x000039bc 
+ 00013430  0x00000c21 call  0x000034a5 
+ 00013431  0x00000c22 rtn  0x00000028 
+ 00013432  0x00000c23 call  0x0000327c 
+ 00013433  0x00000c24 call  0x00006a54 
+ 00013434  0x00000c26 set0  0x00000025 , 0x00000000 
+ 00013435  0x00000c27 bpatch  0x00000042 , 0x00004008 
+ 00013436  0x00000c28 call  0x00003e25 
+ 00013437  0x00000c29 call  0x00006dec 
+ 00013438  0x00000c2a call  0x000035d6 
+ 00013439  0x00000c2b call  0x00007f39 
+ 00013440  0x00000c2c nbranch  0x0000348d , 0x0000002d 
+ 00013441  0x00000c2d call  0x00003bec 
+ 00013442  0x00000c2e call  0x00003870 
+ 00013443  0x00000c2f call  0x00006e10 
+ 00013444  0x00000c30 call  0x00003547 
+ 00013445  0x00000c31 call  0x000038b1 
+ 00013446  0x00000c32 call  0x00005b78 
+ 00013447  0x00000c33 call  0x00004995 
+ 00013448  0x00000c34 call  0x000048a9 
+ 00013449  0x00000c35 fetch  0x00000001 , 0x0000000b 
+ 00013450  0x00000c36 increase  0x00000001 , 0x0000003f 
+ 00013451  0x00000c37 store  0x00000001 , 0x0000000b 
+ 00013452  0x00000c38 call  0x000039ac 
+ 00013453  0x00000c3a set0  0x00000025 , 0x00000000 
+ 00013454  0x00000c3b bpatch  0x00000043 , 0x00004008 
+ 00013455  0x00000c3c call  0x00003d61 
+ 00013456  0x00000c3d call  0x00003be2 
+ 00013457  0x00000c3e branch  0x00003498 , 0x00000002 
+ 00013458  0x00000c3f call  0x00003204 
+ 00013459  0x00000c40 nbranch  0x00003498 , 0x00000028 
+ 00013460  0x00000c41 call  0x00003812 
+ 00013461  0x00000c42 nbranch  0x0000347a , 0x00000034 
+ 00013462  0x00000c43 call  0x00006a5c 
+ 00013463  0x00000c44 branch  0x00003290 
+ 00013464  0x00000c48 set0  0x00000025 , 0x00000000 
+ 00013465  0x00000c49 bpatch  0x00000044 , 0x00004008 
+ 00013466  0x00000c4a jam  0x00000000 , 0x00000153 
+ 00013467  0x00000c4b jam  0x00000000 , 0x00000189 
+ 00013468  0x00000c4c call  0x00003516 
+ 00013469  0x00000c4d set0  0x00000011 , 0x00000000 
+ 00013470  0x00000c4e call  0x00007f8a 
+ 00013471  0x00000c4f fetch  0x00000001 , 0x00000030 
+ 00013472  0x00000c50 bbit0  0x00000004 , 0x000034a3 
+ 00013473  0x00000c51 fetcht  0x00000001 , 0x00000046 
+ 00013474  0x00000c52 branch  0x000048c4 
+ 00013475  0x00000c55 force  0x00000006 , 0x00000002 
+ 00013476  0x00000c56 branch  0x00004826 
+ 00013477  0x00000c59 set0  0x00000025 , 0x00000000 
+ 00013478  0x00000c5a bpatch  0x00000045 , 0x00004008 
+ 00013479  0x00000c5b call  0x0000322e 
+ 00013480  0x00000c5c nrtn  0x00000028 
+ 00013481  0x00000c5d copy  0x00000004 , 0x00000002 
+ 00013482  0x00000c5e call  0x00003bd1 
+ 00013483  0x00000c5f store  0x00000001 , 0x0000018b 
+ 00013484  0x00000c60 copy  0x00000002 , 0x00000004 
+ 00013485  0x00000c61 jam  0x00000020 , 0x00000011 
+ 00013486  0x00000c63 set0  0x00000025 , 0x00000000 
+ 00013487  0x00000c64 bpatch  0x00000046 , 0x00004008 
+ 00013488  0x00000c65 call  0x00003bac 
+ 00013489  0x00000c66 force  0x00000002 , 0x00000001 
+ 00013490  0x00000c67 call  0x000038a8 
+ 00013491  0x00000c68 deposit  0x00000022 
+ 00013492  0x00000c69 store  0x00000004 , 0x0000016b 
+ 00013493  0x00000c6a call  0x000038bf 
+ 00013494  0x00000c6b call  0x00003baa 
+ 00013495  0x00000c6c enable  0x0000002f 
+ 00013496  0x00000c6d call  0x000035b7 
+ 00013497  0x00000c6e branch  0x000034c1 , 0x00000018 
+ 00013498  0x00000c6f call  0x00003a6d 
+ 00013499  0x00000c70 call  0x0000350e 
+ 00013500  0x00000c71 nbranch  0x000034ae , 0x00000034 
+ 00013501  0x00000c72 rtnmark0  0x00000004 
+ 00013502  0x00000c73 jam  0x00000034 , 0x0000007c 
+ 00013503  0x00000c74 set1  0x00000003 , 0x00000000 
+ 00013504  0x00000c75 rtn 
+ 00013505  0x00000c77 enable  0x00000030 
+ 00013506  0x00000c78 call  0x000034ed 
+ 00013507  0x00000c79 call  0x00003a12 
+ 00013508  0x00000c7b set0  0x00000025 , 0x00000000 
+ 00013509  0x00000c7c bpatch  0x00000047 , 0x00004008 
+ 00013510  0x00000c7d call  0x0000338b 
+ 00013511  0x00000c7e branch  0x000034ce , 0x00000018 
+ 00013512  0x00000c7f call  0x0000350e 
+ 00013513  0x00000c80 nbranch  0x000034c4 , 0x00000034 
+ 00013514  0x00000c81 disable  0x00000030 
+ 00013515  0x00000c82 deposit  0x00000028 
+ 00013516  0x00000c83 store  0x00000004 , 0x0000416a 
+ 00013517  0x00000c84 rtn 
+ 00013518  0x00000c86 force  0x00000000 , 0x00000002 
+ 00013519  0x00000c87 call  0x0000487f 
+ 00013520  0x00000c88 enable  0x00000029 
+ 00013521  0x00000c89 bmark0  0x00000004 , 0x000034d6 
+ 00013522  0x00000c8a set0  0x00000004 , 0x00000000 
+ 00013523  0x00000c8b jam  0x00000003 , 0x0000007c 
+ 00013524  0x00000c8c jam  0x00000033 , 0x0000007d 
+ 00013525  0x00000c8d call  0x00006212 
+ 00013526  0x00000c8f deposit  0x00000004 
+ 00013527  0x00000c90 store  0x00000001 , 0x00000077 
+ 00013528  0x00000c91 force  0x00000000 , 0x0000003f 
+ 00013529  0x00000c92 store  0x00000006 , 0x00000038 
+ 00013530  0x00000c93 fetch  0x00000001 , 0x00000031 
+ 00013531  0x00000c94 set1  0x00000001 , 0x0000003f 
+ 00013532  0x00000c95 store  0x00000001 , 0x00000031 
+ 00013533  0x00000c96 call  0x00003bec 
+ 00013534  0x00000c97 disable  0x00000029 
+ 00013535  0x00000c98 enable  0x00000028 
+ 00013536  0x00000c99 rtn 
+ 00013537  0x00000c9e set0  0x00000025 , 0x00000000 
+ 00013538  0x00000c9f bpatch  0x00000048 , 0x00004009 
+ 00013539  0x00000ca0 disable  0x0000002d 
+ 00013540  0x00000ca1 set0  0x00000005 , 0x00000000 
+ 00013541  0x00000ca2 set0  0x0000000a , 0x00000000 
+ 00013542  0x00000ca3 set0  0x00000010 , 0x00000000 
+ 00013543  0x00000ca4 set0  0x0000000f , 0x00000000 
+ 00013544  0x00000ca5 fetch  0x00000001 , 0x00000047 
+ 00013545  0x00000ca6 set0  0x00000005 , 0x0000003f 
+ 00013546  0x00000ca7 set1  0x00000004 , 0x0000003f 
+ 00013547  0x00000ca8 store  0x00000001 , 0x00000047 
+ 00013548  0x00000ca9 rtn 
+ 00013549  0x00000cac set0  0x00000025 , 0x00000000 
+ 00013550  0x00000cad bpatch  0x00000049 , 0x00004009 
+ 00013551  0x00000cae jam  0x00000020 , 0x00000011 
+ 00013552  0x00000caf jam  0x00000050 , 0x00000047 
+ 00013553  0x00000cb0 fetch  0x00000002 , 0x0000415f 
+ 00013554  0x00000cb1 store  0x00000002 , 0x0000003e 
+ 00013555  0x00000cb2 deposit  0x00000022 
+ 00013556  0x00000cb3 store  0x00000004 , 0x0000416a 
+ 00013557  0x00000cb4 rtn  0x00000030 
+ 00013558  0x00000cb5 deposit  0x00000028 
+ 00013559  0x00000cb6 store  0x00000004 , 0x0000416a 
+ 00013560  0x00000cb7 rtn 
+ 00013561  0x00000cba set0  0x00000025 , 0x00000000 
+ 00013562  0x00000cbb bpatch  0x0000004a , 0x00004009 
+ 00013563  0x00000cbc call  0x00005b6f 
+ 00013564  0x00000cbd call  0x00003512 
+ 00013565  0x00000cbe store  0x00000001 , 0x00000046 
+ 00013566  0x00000cbf setarg  0x00001c80 
+ 00013567  0x00000cc0 store  0x00000002 , 0x00000051 
+ 00013568  0x00000cc1 fetch  0x00000001 , 0x00000030 
+ 00013569  0x00000cc2 set1  0x00000000 , 0x0000003f 
+ 00013570  0x00000cc3 store  0x00000001 , 0x00000030 
+ 00013571  0x00000cc4 jam  0x00000000 , 0x0000004b 
+ 00013572  0x00000cc5 jam  0x00000000 , 0x0000004c 
+ 00013573  0x00000cc6 jam  0x00000000 , 0x000000a2 
+ 00013574  0x00000cc7 branch  0x00003bec 
+ 00013575  0x00000ccb set0  0x00000025 , 0x00000000 
+ 00013576  0x00000ccc bpatch  0x0000004b , 0x00004009 
+ 00013577  0x00000ccd force  0x00000000 , 0x0000003f 
+ 00013578  0x00000cce store  0x00000008 , 0x00004262 
+ 00013579  0x00000ccf istore  0x00000008 , 0x00000005 
+ 00013580  0x00000cd0 call  0x0000322a 
+ 00013581  0x00000cd1 branch  0x000032f0 
+ 00013582  0x00000cd4 fetch  0x00000001 , 0x00000011 
+ 00013583  0x00000cd5 increase  0xffffffff , 0x0000003f 
+ 00013584  0x00000cd6 store  0x00000001 , 0x00000011 
+ 00013585  0x00000cd7 rtn 
+ 00013586  0x00000cda fetch  0x00000001 , 0x00004170 
+ 00013587  0x00000cdb increase  0x00000001 , 0x0000003f 
+ 00013588  0x00000cdc store  0x00000001 , 0x00004170 
+ 00013589  0x00000cdd rtn 
+ 00013590  0x00000ce1 set0  0x00000025 , 0x00000000 
+ 00013591  0x00000ce2 bpatch  0x0000004c , 0x00004009 
+ 00013592  0x00000ce3 call  0x000031fa 
+ 00013593  0x00000ce4 fetch  0x00000001 , 0x00004272 
+ 00013594  0x00000ce5 beq  0x00000003 , 0x0000351d 
+ 00013595  0x00000ce6 fetch  0x00000001 , 0x00000048 
+ 00013596  0x00000ce7 bne  0x00000001 , 0x00003521 
+ 00013597  0x00000ce9 call  0x000049be 
+ 00013598  0x00000cea nbranch  0x00003521 , 0x00000005 
+ 00013599  0x00000ceb call  0x000031f5 
+ 00013600  0x00000cec jam  0x00000000 , 0x00004272 
+ 00013601  0x00000cee set0  0x00000025 , 0x00000000 
+ 00013602  0x00000cef bpatch  0x0000004d , 0x00004009 
+ 00013603  0x00000cf0 call  0x00003f18 
+ 00013604  0x00000cf1 call  0x00004995 
+ 00013605  0x00000cf2 call  0x00003806 
+ 00013606  0x00000cf3 jam  0x00000002 , 0x00000b7d 
+ 00013607  0x00000cf4 call  0x00007c27 
+ 00013608  0x00000cf5 call  0x00005b63 
+ 00013609  0x00000cf6 call  0x00004d99 
+ 00013610  0x00000cf7 call  0x00007719 
+ 00013611  0x00000cf8 fetch  0x00000001 , 0x00000030 
+ 00013612  0x00000cf9 set0  0x00000000 
+ 00013613  0x00000cfa store  0x00000001 , 0x00000030 
+ 00013614  0x00000cfb jam  0x00000000 , 0x000047f3 
+ 00013615  0x00000cfd fetch  0x00000001 , 0x0000004c 
+ 00013616  0x00000cfe compare  0x00000000 , 0x0000003f , 0x000000c0 
+ 00013617  0x00000cff branch  0x00003533 , 0x00000001 
+ 00013618  0x00000d00 set0  0x00000001 , 0x00000000 
+ 00013619  0x00000d02 fetch  0x00000001 , 0x00000047 
+ 00013620  0x00000d03 bbit0  0x00000003 , 0x00003535 
+ 00013621  0x00000d05 fetch  0x00000001 , 0x0000004b 
+ 00013622  0x00000d06 rtnbit0  0x00000006 
+ 00013623  0x00000d07 set0  0x00000002 , 0x00000000 
+ 00013624  0x00000d08 rtn 
+ 00013625  0x00000d0b set0  0x00000025 , 0x00000000 
+ 00013626  0x00000d0c bpatch  0x0000004e , 0x00004009 
+ 00013627  0x00000d0d fetch  0x00000001 , 0x0000017e 
+ 00013628  0x00000d0e rtn  0x00000034 
+ 00013629  0x00000d0f icopy  0x00000004 
+ 00013630  0x00000d10 call  0x000035d6 
+ 00013631  0x00000d11 nrtn  0x0000002d 
+ 00013632  0x00000d12 force  0x00000000 , 0x00000001 
+ 00013633  0x00000d13 call  0x000038b1 
+ 00013634  0x00000d14 deposit  0x00000004 
+ 00013635  0x00000d15 store  0x00000001 , 0x00000077 
+ 00013636  0x00000d16 force  0x00000000 , 0x0000003f 
+ 00013637  0x00000d17 store  0x00000001 , 0x0000017e 
+ 00013638  0x00000d18 rtn 
+ 00013639  0x00000d1f set0  0x00000025 , 0x00000000 
+ 00013640  0x00000d20 bpatch  0x0000004f , 0x00004009 
+ 00013641  0x00000d21 fetch  0x00000001 , 0x00000030 
+ 00013642  0x00000d22 bbit0  0x00000002 , 0x00003555 
+ 00013643  0x00000d23 force  0x00000007 , 0x00000001 
+ 00013644  0x00000d24 bmark0  0x00000007 , 0x00003554 
+ 00013645  0x00000d25 call  0x00003847 
+ 00013646  0x00000d26 nbranch  0x00003555 , 0x00000001 
+ 00013647  0x00000d27 branch  0x00003555 , 0x0000002e 
+ 00013648  0x00000d28 call  0x00003583 
+ 00013649  0x00000d29 setarg  0x00000002 
+ 00013650  0x00000d2a store  0x00000002 , 0x00004168 
+ 00013651  0x00000d2b rtn 
+ 00013652  0x00000d2d nrtn  0x0000002e 
+ 00013653  0x00000d2f set0  0x00000025 , 0x00000000 
+ 00013654  0x00000d30 bpatch  0x00000050 , 0x0000400a 
+ 00013655  0x00000d31 call  0x000032df 
+ 00013656  0x00000d32 nbranch  0x00003568 , 0x00000005 
+ 00013657  0x00000d33 fetch  0x00000001 , 0x00000047 
+ 00013658  0x00000d34 bbit0  0x00000003 , 0x00003571 
+ 00013659  0x00000d36 bmark1  0x00000005 , 0x00003575 
+ 00013660  0x00000d37 fetch  0x00000001 , 0x00000189 
+ 00013661  0x00000d38 bbit1  0x00000006 , 0x0000357c 
+ 00013662  0x00000d39 fetch  0x00000002 , 0x00004168 
+ 00013663  0x00000d3a increase  0xffffffff , 0x0000003f 
+ 00013664  0x00000d3b store  0x00000002 , 0x00004168 
+ 00013665  0x00000d3c branch  0x00003565 , 0x00000034 
+ 00013666  0x00000d3d fetch  0x00000001 , 0x00004165 
+ 00013667  0x00000d3e iforce  0x00000001 
+ 00013668  0x00000d3f rtn 
+ 00013669  0x00000d42 set0  0x00000025 , 0x00000000 
+ 00013670  0x00000d43 bpatch  0x00000051 , 0x0000400a 
+ 00013671  0x00000d44 call  0x00003799 
+ 00013672  0x00000d46 call  0x00003847 
+ 00013673  0x00000d47 branch  0x00003571 , 0x00000001 
+ 00013674  0x00000d48 call  0x00005ed9 
+ 00013675  0x00000d49 branch  0x00003580 , 0x00000028 
+ 00013676  0x00000d4a fetch  0x00000001 , 0x0000004b 
+ 00013677  0x00000d4b bbit1  0x00000006 , 0x00003582 
+ 00013678  0x00000d4c bmark1  0x00000005 , 0x00003575 
+ 00013679  0x00000d4d fetch  0x00000001 , 0x00000189 
+ 00013680  0x00000d4e bbit1  0x00000006 , 0x0000357c 
+ 00013681  0x00000d50 force  0x00000001 , 0x00000001 
+ 00013682  0x00000d51 rtn  0x00000029 
+ 00013683  0x00000d52 force  0x00000000 , 0x00000001 
+ 00013684  0x00000d53 rtn 
+ 00013685  0x00000d55 set0  0x00000025 , 0x00000000 
+ 00013686  0x00000d56 bpatch  0x00000052 , 0x0000400a 
+ 00013687  0x00000d57 fetch  0x00000001 , 0x00000019 
+ 00013688  0x00000d58 iforce  0x00000001 
+ 00013689  0x00000d59 rtnne  0x00000001 
+ 00013690  0x00000d5a force  0x00000000 , 0x00000001 
+ 00013691  0x00000d5b rtn 
+ 00013692  0x00000d5d fetch  0x00000001 , 0x0000015a 
+ 00013693  0x00000d5e and  0x0000003f , 0x0000000f , 0x00000001 
+ 00013694  0x00000d5f set1  0x00000005 , 0x00000000 
+ 00013695  0x00000d60 rtn 
+ 00013696  0x00000d62 force  0x00000013 , 0x00000001 
+ 00013697  0x00000d63 branch  0x00003583 
+ 00013698  0x00000d65 call  0x0000358d 
+ 00013699  0x00000d68 set0  0x00000025 , 0x00000000 
+ 00013700  0x00000d69 bpatch  0x00000053 , 0x0000400a 
+ 00013701  0x00000d6a fetcht  0x00000001 , 0x00000047 
+ 00013702  0x00000d6b set1  0x00000003 , 0x00000002 
+ 00013703  0x00000d6c storet  0x00000001 , 0x00000047 
+ 00013704  0x00000d6d deposit  0x00000001 
+ 00013705  0x00000d6e store  0x00000001 , 0x00004165 
+ 00013706  0x00000d6f setarg  0x0000ffff 
+ 00013707  0x00000d70 store  0x00000002 , 0x00004168 
+ 00013708  0x00000d71 rtn 
+ 00013709  0x00000d74 set0  0x00000025 , 0x00000000 
+ 00013710  0x00000d75 bpatch  0x00000054 , 0x0000400a 
+ 00013711  0x00000d76 fetch  0x00000001 , 0x0000004c 
+ 00013712  0x00000d77 isolate1  0x00000005 , 0x0000003f 
+ 00013713  0x00000d78 fetch  0x00000002 , 0x00000091 
+ 00013714  0x00000d79 branch  0x000035a1 , 0x00000001 
+ 00013715  0x00000d7a force  0x00000003 , 0x00000001 
+ 00013716  0x00000d7b sub  0x0000003f , 0x00000011 , 0x0000003e 
+ 00013717  0x00000d7c rtn  0x00000002 
+ 00013718  0x00000d7d force  0x00000004 , 0x00000001 
+ 00013719  0x00000d7e sub  0x0000003f , 0x0000001b , 0x0000003e 
+ 00013720  0x00000d7f rtn  0x00000002 
+ 00013721  0x00000d80 force  0x0000000a , 0x00000001 
+ 00013722  0x00000d81 sub  0x0000003f , 0x00000079 , 0x0000003e 
+ 00013723  0x00000d82 rtn  0x00000002 
+ 00013724  0x00000d83 force  0x0000000e , 0x00000001 
+ 00013725  0x00000d84 sub  0x0000003f , 0x000000e0 , 0x0000003e 
+ 00013726  0x00000d85 rtn  0x00000002 
+ 00013727  0x00000d86 force  0x0000000f , 0x00000001 
+ 00013728  0x00000d87 rtn 
+ 00013729  0x00000d89 force  0x00000003 , 0x00000001 
+ 00013730  0x00000d8a sub  0x0000003f , 0x00000011 , 0x0000003e 
+ 00013731  0x00000d8b rtn  0x00000002 
+ 00013732  0x00000d8c force  0x00000004 , 0x00000001 
+ 00013733  0x00000d8d sub  0x0000003f , 0x00000036 , 0x0000003e 
+ 00013734  0x00000d8e rtn  0x00000002 
+ 00013735  0x00000d8f force  0x0000000a , 0x00000001 
+ 00013736  0x00000d90 arg  0x0000016f , 0x00000002 
+ 00013737  0x00000d91 isub  0x00000002 , 0x0000003e 
+ 00013738  0x00000d92 nrtn  0x00000002 
+ 00013739  0x00000d93 force  0x0000000e , 0x00000001 
+ 00013740  0x00000d94 arg  0x000002a7 , 0x00000002 
+ 00013741  0x00000d95 isub  0x00000002 , 0x0000003e 
+ 00013742  0x00000d96 nrtn  0x00000002 
+ 00013743  0x00000d97 force  0x0000000f , 0x00000001 
+ 00013744  0x00000d98 rtn 
+ 00013745  0x00000da2 fetch  0x00000001 , 0x00000030 
+ 00013746  0x00000da3 bbit0  0x00000001 , 0x000035b6 
+ 00013747  0x00000da4 fetch  0x00000002 , 0x00000032 
+ 00013748  0x00000da5 branch  0x000035b6 , 0x00000034 
+ 00013749  0x00000da6 nbranch  0x000035b8 , 0x0000002e 
+ 00013750  0x00000da8 call  0x00003bac 
+ 00013751  0x00000daa add  0x00000028 , 0x00000001 , 0x00000021 
+ 00013752  0x00000dac enable  0x00000010 
+ 00013753  0x00000dad fetch  0x00000002 , 0x0000003e 
+ 00013754  0x00000dae rshift  0x0000003f , 0x0000003f 
+ 00013755  0x00000daf arg  0x00000500 , 0x00000002 
+ 00013756  0x00000db0 iadd  0x00000002 , 0x0000003f 
+ 00013757  0x00000db1 call  0x00003b7d 
+ 00013758  0x00000db2 call  0x00003a5d 
+ 00013759  0x00000db3 force  0x00000003 , 0x00000024 
+ 00013760  0x00000db4 call  0x00003a3b 
+ 00013761  0x00000db5 call  0x000034e1 
+ 00013762  0x00000db6 call  0x00003b41 
+ 00013763  0x00000db7 set0  0x00000025 , 0x00000000 
+ 00013764  0x00000db8 bpatch  0x00000055 , 0x0000400a 
+ 00013765  0x00000db9 fetch  0x00000002 , 0x0000003e 
+ 00013766  0x00000dba rshift  0x0000003f , 0x0000003f 
+ 00013767  0x00000dbb call  0x00003b7d 
+ 00013768  0x00000dbc call  0x00003b3a 
+ 00013769  0x00000dbd enable  0x0000000d 
+ 00013770  0x00000dbe fetch  0x00000002 , 0x0000003e 
+ 00013771  0x00000dbf arg  0x000003bb , 0x00000002 
+ 00013772  0x00000dc0 iadd  0x00000002 , 0x0000001b 
+ 00013773  0x00000dc1 correlate  0x0000003e , 0x00000003 
+ 00013774  0x00000dc2 copy  0x0000001a , 0x00000002 
+ 00013775  0x00000dc3 storet  0x00000006 , 0x0000009c 
+ 00013776  0x00000dc4 disable  0x0000000d 
+ 00013777  0x00000dc5 nrtn  0x00000018 
+ 00013778  0x00000dc6 arg  0x000003bb , 0x00000029 
+ 00013779  0x00000dc7 copy  0x00000021 , 0x00000028 
+ 00013780  0x00000dc8 branch  0x00003cb6 , 0x0000002b 
+ 00013781  0x00000dc9 rtn 
+ 00013782  0x00000dcd set0  0x00000025 , 0x00000000 
+ 00013783  0x00000dce bpatch  0x00000056 , 0x0000400a 
+ 00013784  0x00000dcf call  0x000035b1 
+ 00013785  0x00000dd0 nbranch  0x00003a6d , 0x00000018 
+ 00013786  0x00000dd1 call  0x00003af3 
+ 00013787  0x00000dd2 bmark0  0x00000011 , 0x000035df 
+ 00013788  0x00000dd3 fetch  0x00000002 , 0x000000f8 
+ 00013789  0x00000dd4 increase  0x00000001 , 0x0000003f 
+ 00013790  0x00000dd5 store  0x00000002 , 0x000000f8 
+ 00013791  0x00000dd7 rshift  0x00000021 , 0x00000002 
+ 00013792  0x00000dd8 or  0x00000002 , 0x00000040 , 0x0000000e 
+ 00013793  0x00000dda set0  0x00000025 , 0x00000000 
+ 00013794  0x00000ddb bpatch  0x00000057 , 0x0000400a 
+ 00013795  0x00000ddc enable  0x00000007 
+ 00013796  0x00000ddd enable  0x0000000a 
+ 00013797  0x00000dde enable  0x0000000b 
+ 00013798  0x00000ddf parse  0x00000003 , 0x00000000 , 0x00000003 
+ 00013799  0x00000de0 rshift8  0x0000000c , 0x0000003f 
+ 00013800  0x00000de1 store  0x00000001 , 0x0000015f 
+ 00013801  0x00000de2 parse  0x00000003 , 0x00000000 , 0x00000004 
+ 00013802  0x00000de3 inject  0x00000000 , 0x00000007 
+ 00013803  0x00000de4 copy  0x0000000c , 0x0000003f 
+ 00013804  0x00000de5 store  0x00000001 , 0x00000019 
+ 00013805  0x00000de6 parse  0x00000003 , 0x00000000 , 0x00000003 
+ 00013806  0x00000de7 rshift8  0x0000000c , 0x0000003f 
+ 00013807  0x00000de8 store  0x00000001 , 0x00000160 
+ 00013808  0x00000de9 fetch  0x00000001 , 0x00000019 
+ 00013809  0x00000dea sub  0x0000003f , 0x00000003 , 0x0000003e 
+ 00013810  0x00000deb branch  0x000035f7 , 0x00000002 
+ 00013811  0x00000dec beq  0x00000007 , 0x000035f7 
+ 00013812  0x00000ded fetch  0x00000001 , 0x0000004c 
+ 00013813  0x00000dee isolate1  0x00000005 , 0x0000003f 
+ 00013814  0x00000def setflag  0x00000001 , 0x00000001 , 0x00000015 
+ 00013815  0x00000df1 set0  0x00000025 , 0x00000000 
+ 00013816  0x00000df2 bpatch  0x00000058 , 0x0000400b 
+ 00013817  0x00000df3 parse  0x00000003 , 0x00000000 , 0x00000008 
+ 00013818  0x00000df4 disable  0x0000000b 
+ 00013819  0x00000df5 disable  0x0000000a 
+ 00013820  0x00000df6 branch  0x0000373e , 0x00000006 
+ 00013821  0x00000df7 bmark0  0x00000011 , 0x00003601 
+ 00013822  0x00000df8 fetch  0x00000002 , 0x000000fa 
+ 00013823  0x00000df9 increase  0x00000001 , 0x0000003f 
+ 00013824  0x00000dfa store  0x00000002 , 0x000000fa 
+ 00013825  0x00000dfc set0  0x00000025 , 0x00000000 
+ 00013826  0x00000dfd bpatch  0x00000059 , 0x0000400b 
+ 00013827  0x00000dfe fetch  0x00000001 , 0x0000015f 
+ 00013828  0x00000dff compare  0x00000000 , 0x0000003f , 0x00000007 
+ 00013829  0x00000e00 setflag  0x00000001 , 0x0000000a , 0x00000000 
+ 00013830  0x00000e01 branch  0x00003613 , 0x00000001 
+ 00013831  0x00000e02 icompare  0x00000007 , 0x00000004 
+ 00013832  0x00000e03 branch  0x00003612 , 0x00000001 
+ 00013833  0x00000e04 bmark0  0x00000007 , 0x0000375c 
+ 00013834  0x00000e05 fetcht  0x00000001 , 0x000000b2 
+ 00013835  0x00000e06 icompare  0x00000007 , 0x00000002 
+ 00013836  0x00000e07 nbranch  0x0000375c , 0x00000001 
+ 00013837  0x00000e08 call  0x00003290 
+ 00013838  0x00000e09 fetch  0x00000001 , 0x00000047 
+ 00013839  0x00000e0a set0  0x00000005 , 0x0000003f 
+ 00013840  0x00000e0b set1  0x00000004 , 0x0000003f 
+ 00013841  0x00000e0c store  0x00000001 , 0x00000047 
+ 00013842  0x00000e0e enable  0x0000002d 
+ 00013843  0x00000e10 set0  0x00000025 , 0x00000000 
+ 00013844  0x00000e11 bpatch  0x0000005a , 0x0000400b 
+ 00013845  0x00000e12 fetch  0x00000001 , 0x00000019 
+ 00013846  0x00000e13 icopy  0x00000001 
+ 00013847  0x00000e14 bmark1  0x0000000a , 0x00003623 
+ 00013848  0x00000e15 fetcht  0x00000001 , 0x00000160 
+ 00013849  0x00000e16 fetch  0x00000001 , 0x00000047 
+ 00013850  0x00000e17 set0  0x00000000 , 0x0000003f 
+ 00013851  0x00000e18 isolate1  0x00000000 , 0x00000002 
+ 00013852  0x00000e19 setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00013853  0x00000e1a isolate1  0x00000001 , 0x00000002 
+ 00013854  0x00000e1b setflag  0x00000001 , 0x00000001 , 0x0000003f 
+ 00013855  0x00000e1c store  0x00000001 , 0x00000047 
+ 00013856  0x00000e1d isolate0  0x00000001 , 0x00000002 
+ 00013857  0x00000e1e branch  0x00003623 , 0x00000001 
+ 00013858  0x00000e1f call  0x00003799 
+ 00013859  0x00000e21 set0  0x00000025 , 0x00000000 
+ 00013860  0x00000e22 bpatch  0x0000005b , 0x0000400b 
+ 00013861  0x00000e23 arg  0x00000000 , 0x00000002 
+ 00013862  0x00000e24 call  0x00003b74 
+ 00013863  0x00000e25 and  0x00000001 , 0x0000000f , 0x0000003f 
+ 00013864  0x00000e26 beq  0x00000001 , 0x00003656 
+ 00013865  0x00000e27 beq  0x00000000 , 0x0000375c 
+ 00013866  0x00000e28 beq  0x00000002 , 0x00003769 
+ 00013867  0x00000e29 fetcht  0x00000001 , 0x00000160 
+ 00013868  0x00000e2a fetch  0x00000001 , 0x00000047 
+ 00013869  0x00000e2b icompare  0x00000004 , 0x00000002 
+ 00013870  0x00000e2c nbranch  0x00003632 , 0x00000001 
+ 00013871  0x00000e2d bmark0  0x0000000a , 0x00003631 
+ 00013872  0x00000e2e bbit0  0x00000007 , 0x00003632 
+ 00013873  0x00000e30 set1  0x0000000f , 0x00000000 
+ 00013874  0x00000e32 set0  0x00000025 , 0x00000000 
+ 00013875  0x00000e33 bpatch  0x0000005c , 0x0000400b 
+ 00013876  0x00000e34 deposit  0x00000001 
+ 00013877  0x00000e35 beq  0x00000003 , 0x00003658 
+ 00013878  0x00000e36 beq  0x00000004 , 0x0000365c 
+ 00013879  0x00000e37 beq  0x00000007 , 0x00003642 
+ 00013880  0x00000e38 beq  0x00000008 , 0x0000365b 
+ 00013881  0x00000e39 arg  0x00000004 , 0x00000002 
+ 00013882  0x00000e3a call  0x00003b74 
+ 00013883  0x00000e3b beq  0x0000000a , 0x00003657 
+ 00013884  0x00000e3c beq  0x0000000b , 0x0000365a 
+ 00013885  0x00000e3d arg  0x00000008 , 0x00000002 
+ 00013886  0x00000e3e call  0x00003b74 
+ 00013887  0x00000e3f beq  0x0000000e , 0x00003657 
+ 00013888  0x00000e40 beq  0x0000000f , 0x0000365a 
+ 00013889  0x00000e41 rtn 
+ 00013890  0x00000e45 set0  0x00000025 , 0x00000000 
+ 00013891  0x00000e46 bpatch  0x0000005d , 0x0000400b 
+ 00013892  0x00000e47 enable  0x0000000d 
+ 00013893  0x00000e48 enable  0x00000009 
+ 00013894  0x00000e49 enable  0x0000000e 
+ 00013895  0x00000e4a arg  0x000000d3 , 0x00000005 
+ 00013896  0x00000e4b force  0x0000001e , 0x00000039 
+ 00013897  0x00000e4d parse  0x00000003 , 0x00000000 , 0x00000008 
+ 00013898  0x00000e4e rshift3  0x0000000c , 0x0000003f 
+ 00013899  0x00000e4f istore  0x00000001 , 0x00000005 
+ 00013900  0x00000e50 loop  0x00003649 
+ 00013901  0x00000e51 bmark0  0x00000007 , 0x0000375c 
+ 00013902  0x00000e52 parse  0x00000003 , 0x00000000 , 0x00000010 
+ 00013903  0x00000e53 nsetflag  0x00000006 , 0x00000008 , 0x00000000 
+ 00013904  0x00000e54 call  0x00003653 , 0x00000006 
+ 00013905  0x00000e55 branch  0x0000374b , 0x00000006 
+ 00013906  0x00000e56 branch  0x0000372c 
+ 00013907  0x00000e59 deposit  0x0000001a 
+ 00013908  0x00000e5a store  0x00000006 , 0x00000020 
+ 00013909  0x00000e5b rtn 
+ 00013910  0x00000e5e branch  0x0000375c 
+ 00013911  0x00000e62 set1  0x00000010 , 0x00000000 
+ 00013912  0x00000e64 enable  0x0000000c 
+ 00013913  0x00000e65 branch  0x0000365d 
+ 00013914  0x00000e69 set1  0x00000010 , 0x00000000 
+ 00013915  0x00000e6b set1  0x00000002 , 0x00000015 
+ 00013916  0x00000e6d enable  0x0000000d 
+ 00013917  0x00000e6f set0  0x00000025 , 0x00000000 
+ 00013918  0x00000e70 bpatch  0x0000005e , 0x0000400b 
+ 00013919  0x00000e71 bmark1  0x00000001 , 0x0000375c 
+ 00013920  0x00000e72 isolate0  0x00000001 , 0x00000015 
+ 00013921  0x00000e73 branch  0x0000366a , 0x00000001 
+ 00013922  0x00000e74 disable  0x00000007 
+ 00013923  0x00000e75 enable  0x0000000d 
+ 00013924  0x00000e76 disable  0x0000000c 
+ 00013925  0x00000e77 add  0x00000022 , 0x00000002 , 0x0000000b 
+ 00013926  0x00000e78 correlate  0x00000022 , 0x00000026 
+ 00013927  0x00000e79 nbranch  0x0000374b , 0x00000018 
+ 00013928  0x00000e7a set1  0x00000010 , 0x00000000 
+ 00013929  0x00000e7b enable  0x00000007 
+ 00013930  0x00000e7d set0  0x00000025 , 0x00000000 
+ 00013931  0x00000e7e bpatch  0x0000005f , 0x0000400b 
+ 00013932  0x00000e7f enable  0x0000000e 
+ 00013933  0x00000e80 enable  0x00000009 
+ 00013934  0x00000e81 parse  0x00000003 , 0x00000000 , 0x00000003 
+ 00013935  0x00000e82 rshift8  0x0000000c , 0x0000003f 
+ 00013936  0x00000e83 store  0x00000001 , 0x0000018a 
+ 00013937  0x00000e84 parse  0x00000003 , 0x00000000 , 0x00000005 
+ 00013938  0x00000e85 bmark1  0x00000010 , 0x00003676 
+ 00013939  0x00000e86 rshift3  0x0000000c , 0x00000039 
+ 00013940  0x00000e87 rshift3  0x00000039 , 0x00000039 
+ 00013941  0x00000e88 branch  0x00003679 
+ 00013942  0x00000e8a parse  0x00000003 , 0x00000000 , 0x00000005 
+ 00013943  0x00000e8b rshift  0x0000000c , 0x00000039 
+ 00013944  0x00000e8c parse  0x00000003 , 0x00000000 , 0x00000003 
+ 00013945  0x00000e8e set0  0x00000025 , 0x00000000 
+ 00013946  0x00000e8f bpatch  0x00000060 , 0x0000400c 
+ 00013947  0x00000e90 deposit  0x00000039 
+ 00013948  0x00000e91 store  0x00000002 , 0x00000169 
+ 00013949  0x00000e92 branch  0x000036ee , 0x00000034 
+ 00013950  0x00000e93 isub  0x00000035 , 0x0000003e 
+ 00013951  0x00000e94 branch  0x0000374b , 0x00000002 
+ 00013952  0x00000e95 set0  0x00000025 , 0x00000000 
+ 00013953  0x00000e96 bpatch  0x00000061 , 0x0000400c 
+ 00013954  0x00000e97 set0  0x00000000 , 0x00000000 
+ 00013955  0x00000e98 fetch  0x00000001 , 0x0000018a 
+ 00013956  0x00000e99 and_into  0x00000003 , 0x0000003f 
+ 00013957  0x00000e9a arg  0x000004de , 0x00000005 
+ 00013958  0x00000e9b beq  0x00000003 , 0x0000368f 
+ 00013959  0x00000e9c bmark1  0x00000011 , 0x000036ea 
+ 00013960  0x00000e9d fetch  0x00000001 , 0x00004132 
+ 00013961  0x00000e9e beq  0x00000001 , 0x00003694 
+ 00013962  0x00000ea0 fetch  0x00000001 , 0x0000018a 
+ 00013963  0x00000ea1 and_into  0x00000003 , 0x0000003f 
+ 00013964  0x00000ea2 beq  0x00000002 , 0x000036c3 
+ 00013965  0x00000ea3 beq  0x00000001 , 0x000036d8 
+ 00013966  0x00000ea4 branch  0x0000374b 
+ 00013967  0x00000ea7 fetch  0x00000002 , 0x00000169 
+ 00013968  0x00000ea8 sub  0x0000003f , 0x00000070 , 0x0000003e 
+ 00013969  0x00000ea9 nbranch  0x0000374b , 0x00000002 
+ 00013970  0x00000eaa bmark1  0x0000000f , 0x0000372c 
+ 00013971  0x00000eab branch  0x000036ea 
+ 00013972  0x00000eae set0  0x00000025 , 0x00000000 
+ 00013973  0x00000eaf bpatch  0x00000062 , 0x0000400c 
+ 00013974  0x00000eb0 bmark1  0x0000000f , 0x0000372c 
+ 00013975  0x00000eb1 fetch  0x00000002 , 0x00000169 
+ 00013976  0x00000eb2 branch  0x0000374b , 0x00000034 
+ 00013977  0x00000eb3 call  0x00004494 
+ 00013978  0x00000eb4 nbranch  0x000036a1 , 0x00000001 
+ 00013979  0x00000eb6 fetcht  0x00000002 , 0x00000291 
+ 00013980  0x00000eb7 increase  0x0000000a , 0x0000003f 
+ 00013981  0x00000eb8 isub  0x00000002 , 0x0000003e 
+ 00013982  0x00000eb9 nbranch  0x000036a7 , 0x00000002 
+ 00013983  0x00000eba call  0x00004449 
+ 00013984  0x00000ebb branch  0x0000369b 
+ 00013985  0x00000ebd hfetch  0x00000002 , 0x0000810e 
+ 00013986  0x00000ebe arg  0x0000012c , 0x00000002 
+ 00013987  0x00000ebf isub  0x00000002 , 0x0000003e 
+ 00013988  0x00000ec0 branch  0x0000374b , 0x00000002 
+ 00013989  0x00000ec1 fetch  0x00000002 , 0x00004800 
+ 00013990  0x00000ec2 branch  0x0000374b , 0x00000034 
+ 00013991  0x00000ec4 set0  0x00000025 , 0x00000000 
+ 00013992  0x00000ec5 bpatch  0x00000063 , 0x0000400c 
+ 00013993  0x00000ec6 call  0x00004972 
+ 00013994  0x00000ec7 fetch  0x00000001 , 0x00000046 
+ 00013995  0x00000ec8 fetcht  0x00000001 , 0x0000018a 
+ 00013996  0x00000ec9 and_into  0x00000003 , 0x00000002 
+ 00013997  0x00000eca lshift8  0x00000002 , 0x00000002 
+ 00013998  0x00000ecb lshift4  0x00000002 , 0x00000002 
+ 00013999  0x00000ecc ior  0x00000002 , 0x0000003f 
+ 00014000  0x00000ecd istore  0x00000002 , 0x0000000a 
+ 00014001  0x00000ece fetcht  0x00000002 , 0x00000169 
+ 00014002  0x00000ecf copy  0x00000002 , 0x00000039 
+ 00014003  0x00000ed0 istoret  0x00000002 , 0x0000000a 
+ 00014004  0x00000ed2 set0  0x00000025 , 0x00000000 
+ 00014005  0x00000ed3 bpatch  0x00000064 , 0x0000400c 
+ 00014006  0x00000ed4 parse  0x00000003 , 0x00000000 , 0x00000008 
+ 00014007  0x00000ed5 rshift3  0x0000000c , 0x0000003f 
+ 00014008  0x00000ed6 istore  0x00000001 , 0x0000000a 
+ 00014009  0x00000ed7 loop  0x000036b4 
+ 00014010  0x00000ed8 add  0x00000002 , 0x00000004 , 0x00000039 
+ 00014011  0x00000ed9 call  0x00004494 
+ 00014012  0x00000eda nbranch  0x000036c1 , 0x00000001 
+ 00014013  0x00000edb set1  0x00000013 , 0x00000000 
+ 00014014  0x00000edc force  0x00000006 , 0x00000007 
+ 00014015  0x00000edd call  0x00004378 
+ 00014016  0x00000ede branch  0x000036ee 
+ 00014017  0x00000ee0 call  0x00004424 
+ 00014018  0x00000ee1 branch  0x000036ee 
+ 00014019  0x00000ee4 set0  0x00000025 , 0x00000000 
+ 00014020  0x00000ee5 bpatch  0x00000065 , 0x0000400c 
+ 00014021  0x00000ee6 bmark1  0x0000000f , 0x0000372c 
+ 00014022  0x00000ee7 fetch  0x00000002 , 0x00000169 
+ 00014023  0x00000ee8 arg  0x000002e0 , 0x00000002 
+ 00014024  0x00000ee9 isub  0x00000002 , 0x0000003e 
+ 00014025  0x00000eea branch  0x0000374b , 0x00000002 
+ 00014026  0x00000eeb fetch  0x00000001 , 0x000002ca 
+ 00014027  0x00000eec bbit0  0x00000000 , 0x000036ce 
+ 00014028  0x00000eed bbit0  0x00000001 , 0x000036d3 
+ 00014029  0x00000eee branch  0x0000375c 
+ 00014030  0x00000ef0 jam  0x00000001 , 0x000002c8 
+ 00014031  0x00000ef1 fetch  0x00000002 , 0x000002c4 
+ 00014032  0x00000ef2 bne  0x00000000 , 0x0000375c 
+ 00014033  0x00000ef3 arg  0x00001000 , 0x00000005 
+ 00014034  0x00000ef4 branch  0x000036ea 
+ 00014035  0x00000ef6 jam  0x00000002 , 0x000002c8 
+ 00014036  0x00000ef7 fetch  0x00000002 , 0x000002c6 
+ 00014037  0x00000ef8 bne  0x00000000 , 0x0000375c 
+ 00014038  0x00000ef9 arg  0x00001400 , 0x00000005 
+ 00014039  0x00000efa branch  0x000036ea 
+ 00014040  0x00000efd set0  0x00000025 , 0x00000000 
+ 00014041  0x00000efe bpatch  0x00000066 , 0x0000400c 
+ 00014042  0x00000eff bmark1  0x0000000f , 0x0000372c 
+ 00014043  0x00000f00 fetch  0x00000002 , 0x00000169 
+ 00014044  0x00000f01 arg  0x000002e0 , 0x00000002 
+ 00014045  0x00000f02 isub  0x00000002 , 0x0000003e 
+ 00014046  0x00000f03 branch  0x0000374b , 0x00000002 
+ 00014047  0x00000f04 fetch  0x00000001 , 0x000002c8 
+ 00014048  0x00000f05 beq  0x00000001 , 0x000036e3 
+ 00014049  0x00000f06 beq  0x00000002 , 0x000036e7 
+ 00014050  0x00000f07 branch  0x0000375c 
+ 00014051  0x00000f09 arg  0x00001000 , 0x00000005 
+ 00014052  0x00000f0a fetch  0x00000002 , 0x000002c4 
+ 00014053  0x00000f0b iadd  0x00000005 , 0x00000005 
+ 00014054  0x00000f0c branch  0x000036ea 
+ 00014055  0x00000f0e arg  0x00001400 , 0x00000005 
+ 00014056  0x00000f0f fetch  0x00000002 , 0x000002c6 
+ 00014057  0x00000f10 iadd  0x00000005 , 0x00000005 
+ 00014058  0x00000f12 parse  0x00000003 , 0x00000000 , 0x00000008 
+ 00014059  0x00000f13 rshift3  0x0000000c , 0x0000003f 
+ 00014060  0x00000f14 istore  0x00000001 , 0x00000005 
+ 00014061  0x00000f15 loop  0x000036ea 
+ 00014062  0x00000f17 set0  0x00000025 , 0x00000000 
+ 00014063  0x00000f18 bpatch  0x00000067 , 0x0000400c 
+ 00014064  0x00000f19 parse  0x00000003 , 0x00000000 , 0x00000010 
+ 00014065  0x00000f1a branch  0x00003745 , 0x00000006 
+ 00014066  0x00000f1b call  0x00003e0f 
+ 00014067  0x00000f1c fetch  0x00000001 , 0x000043cc 
+ 00014068  0x00000f1d beq  0x00000001 , 0x0000375c 
+ 00014069  0x00000f1e bmark1  0x00000011 , 0x00003718 
+ 00014070  0x00000f1f bmark1  0x0000000f , 0x00003759 
+ 00014071  0x00000f20 fetch  0x00000001 , 0x0000018a 
+ 00014072  0x00000f21 compare  0x00000003 , 0x0000003f , 0x00000003 
+ 00014073  0x00000f22 branch  0x00003718 , 0x00000001 
+ 00014074  0x00000f23 fetch  0x00000002 , 0x00000169 
+ 00014075  0x00000f24 branch  0x00003718 , 0x00000034 
+ 00014076  0x00000f25 fetch  0x00000001 , 0x00004132 
+ 00014077  0x00000f26 beq  0x00000001 , 0x00003718 
+ 00014078  0x00000f27 set0  0x00000025 , 0x00000000 
+ 00014079  0x00000f28 bpatch  0x00000068 , 0x0000400d 
+ 00014080  0x00000f29 fetch  0x00000001 , 0x000002c8 
+ 00014081  0x00000f2a beq  0x00000001 , 0x00003704 
+ 00014082  0x00000f2b beq  0x00000002 , 0x0000370e 
+ 00014083  0x00000f2c branch  0x00003bf1 
+ 00014084  0x00000f2e fetch  0x00000002 , 0x000002c4 
+ 00014085  0x00000f2f fetcht  0x00000002 , 0x00000169 
+ 00014086  0x00000f30 iadd  0x00000002 , 0x0000003f 
+ 00014087  0x00000f31 store  0x00000002 , 0x000002c4 
+ 00014088  0x00000f32 beq  0x00000000 , 0x00003bf1 
+ 00014089  0x00000f33 fetcht  0x00000002 , 0x00001000 
+ 00014090  0x00000f34 increase  0x00000004 , 0x00000002 
+ 00014091  0x00000f35 isub  0x00000002 , 0x0000003e 
+ 00014092  0x00000f36 call  0x000038a0 , 0x00000005 
+ 00014093  0x00000f37 branch  0x00003718 
+ 00014094  0x00000f39 fetch  0x00000002 , 0x000002c6 
+ 00014095  0x00000f3a fetcht  0x00000002 , 0x00000169 
+ 00014096  0x00000f3b iadd  0x00000002 , 0x0000003f 
+ 00014097  0x00000f3c store  0x00000002 , 0x000002c6 
+ 00014098  0x00000f3d beq  0x00000000 , 0x00003bf1 
+ 00014099  0x00000f3e fetcht  0x00000002 , 0x00001400 
+ 00014100  0x00000f3f add  0x00000002 , 0x00000004 , 0x00000002 
+ 00014101  0x00000f40 isub  0x00000002 , 0x0000003e 
+ 00014102  0x00000f41 call  0x000038a4 , 0x00000005 
+ 00014103  0x00000f42 branch  0x00003718 
+ 00014104  0x00000f44 set0  0x00000025 , 0x00000000 
+ 00014105  0x00000f45 bpatch  0x00000069 , 0x0000400d 
+ 00014106  0x00000f46 fetcht  0x00000001 , 0x0000004c 
+ 00014107  0x00000f47 fetch  0x00000001 , 0x0000018a 
+ 00014108  0x00000f48 compare  0x00000003 , 0x0000003f , 0x00000003 
+ 00014109  0x00000f49 setflag  0x00000001 , 0x00000006 , 0x00000002 
+ 00014110  0x00000f4a nsetflag  0x00000001 , 0x00000007 , 0x00000002 
+ 00014111  0x00000f4b storet  0x00000001 , 0x0000004c 
+ 00014112  0x00000f4c nbranch  0x00003722 , 0x00000001 
+ 00014113  0x00000f4d set1  0x00000001 , 0x00000000 
+ 00014114  0x00000f4f bmark0  0x00000011 , 0x0000372c 
+ 00014115  0x00000f50 isolate1  0x00000006 , 0x00000002 
+ 00014116  0x00000f51 branch  0x0000372c , 0x00000001 
+ 00014117  0x00000f52 fetch  0x00000002 , 0x000000fc 
+ 00014118  0x00000f53 increase  0x00000001 , 0x0000003f 
+ 00014119  0x00000f54 store  0x00000002 , 0x000000fc 
+ 00014120  0x00000f55 set1  0x00000005 , 0x00000000 
+ 00014121  0x00000f56 set0  0x00000007 , 0x00000002 
+ 00014122  0x00000f57 set0  0x00000001 , 0x00000000 
+ 00014123  0x00000f58 storet  0x00000001 , 0x0000004c 
+ 00014124  0x00000f5a set0  0x00000025 , 0x00000000 
+ 00014125  0x00000f5b bpatch  0x0000006a , 0x0000400d 
+ 00014126  0x00000f5c fetcht  0x00000001 , 0x00000160 
+ 00014127  0x00000f5d fetch  0x00000001 , 0x00000047 
+ 00014128  0x00000f5e set1  0x00000005 , 0x0000003f 
+ 00014129  0x00000f5f isolate1  0x00000002 , 0x00000002 
+ 00014130  0x00000f60 setflag  0x00000001 , 0x00000002 , 0x0000003f 
+ 00014131  0x00000f61 isolate1  0x0000000a , 0x00000000 
+ 00014132  0x00000f62 setflag  0x00000001 , 0x00000007 , 0x0000003f 
+ 00014133  0x00000f63 store  0x00000001 , 0x00000047 
+ 00014134  0x00000f64 fetch  0x00000002 , 0x00000169 
+ 00014135  0x00000f65 nbranch  0x0000375c , 0x00000034 
+ 00014136  0x00000f66 fetch  0x00000001 , 0x0000004c 
+ 00014137  0x00000f67 set0  0x00000007 , 0x0000003f 
+ 00014138  0x00000f68 store  0x00000001 , 0x0000004c 
+ 00014139  0x00000f69 fetch  0x00000001 , 0x0000018a 
+ 00014140  0x00000f6a compare  0x00000001 , 0x0000003f , 0x00000007 
+ 00014141  0x00000f6c branch  0x0000375c 
+ 00014142  0x00000f6f set0  0x00000025 , 0x00000000 
+ 00014143  0x00000f70 bpatch  0x0000006b , 0x0000400d 
+ 00014144  0x00000f71 disable  0x0000002d 
+ 00014145  0x00000f72 fetch  0x00000002 , 0x0000001a 
+ 00014146  0x00000f73 increase  0x00000001 , 0x0000003f 
+ 00014147  0x00000f74 store  0x00000002 , 0x0000001a 
+ 00014148  0x00000f75 branch  0x0000375c 
+ 00014149  0x00000f77 fetch  0x00000002 , 0x0000001c 
+ 00014150  0x00000f78 increase  0x00000001 , 0x0000003f 
+ 00014151  0x00000f79 store  0x00000002 , 0x0000001c 
+ 00014152  0x00000f7a call  0x0000374c 
+ 00014153  0x00000f7b bmark0  0x00000011 , 0x0000374b 
+ 00014154  0x00000f7c set1  0x00000005 , 0x00000000 
+ 00014155  0x00000f7e branch  0x0000375c 
+ 00014156  0x00000f81 set0  0x00000025 , 0x00000000 
+ 00014157  0x00000f82 bpatch  0x0000006c , 0x0000400d 
+ 00014158  0x00000f83 fetch  0x00000001 , 0x0000018a 
+ 00014159  0x00000f84 compare  0x00000003 , 0x0000003f , 0x00000003 
+ 00014160  0x00000f85 nbranch  0x00003755 , 0x00000001 
+ 00014161  0x00000f87 fetcht  0x00000001 , 0x0000004c 
+ 00014162  0x00000f88 set0  0x00000006 , 0x00000002 
+ 00014163  0x00000f89 storet  0x00000001 , 0x0000004c 
+ 00014164  0x00000f8a rtn 
+ 00014165  0x00000f8e fetcht  0x00000001 , 0x0000004c 
+ 00014166  0x00000f8f set0  0x00000007 , 0x00000002 
+ 00014167  0x00000f90 storet  0x00000001 , 0x0000004c 
+ 00014168  0x00000f91 branch  0x0000443b 
+ 00014169  0x00000f94 fetch  0x00000001 , 0x00000047 
+ 00014170  0x00000f95 set1  0x00000005 , 0x0000003f 
+ 00014171  0x00000f96 store  0x00000001 , 0x00000047 
+ 00014172  0x00000f98 set0  0x00000025 , 0x00000000 
+ 00014173  0x00000f99 bpatch  0x0000006d , 0x0000400d 
+ 00014174  0x00000f9a disable  0x0000001d 
+ 00014175  0x00000f9b disable  0x0000001c 
+ 00014176  0x00000f9c disable  0x0000000d 
+ 00014177  0x00000f9d disable  0x0000000c 
+ 00014178  0x00000f9e disable  0x00000009 
+ 00014179  0x00000f9f disable  0x0000000e 
+ 00014180  0x00000fa0 disable  0x00000007 
+ 00014181  0x00000fa1 branch  0x00003a6d , 0x00000021 
+ 00014182  0x00000fa2 until  0x0000003e , 0x00000027 
+ 00014183  0x00000fa3 nop  0x00000064 
+ 00014184  0x00000fa4 branch  0x00003a6d 
+ 00014185  0x00000fa7 set0  0x00000025 , 0x00000000 
+ 00014186  0x00000fa8 bpatch  0x0000006e , 0x0000400d 
+ 00014187  0x00000fa9 enable  0x00000009 
+ 00014188  0x00000faa enable  0x0000000c 
+ 00014189  0x00000fab parse  0x00000003 , 0x00000000 , 0x00000048 
+ 00014190  0x00000fac isolate1  0x0000003a , 0x0000003f 
+ 00014191  0x00000fad setflag  0x00000001 , 0x00000000 , 0x00000000 
+ 00014192  0x00000fae copy  0x00000020 , 0x00000002 
+ 00014193  0x00000faf ialigned  0x00000020 
+ 00014194  0x00000fb0 ialigned  0x0000001e 
+ 00014195  0x00000fb1 pulse  0x00000015 
+ 00014196  0x00000fb2 setsect  0x00000002 , 0x000fffff 
+ 00014197  0x00000fb3 setsect  0x00000003 , 0x0000ffff 
+ 00014198  0x00000fb4 nop  0x00000020 
+ 00014199  0x00000fb5 iverify  0x0000000d 
+ 00014200  0x00000fb6 deposit  0x0000002c 
+ 00014201  0x00000fb7 store  0x00000003 , 0x00000182 
+ 00014202  0x00000fb8 deposit  0x0000002d 
+ 00014203  0x00000fb9 store  0x00000001 , 0x00000185 
+ 00014204  0x00000fba copy  0x00000002 , 0x00000020 
+ 00014205  0x00000fbb branch  0x0000377f , 0x00000001 
+ 00014206  0x00000fbc branch  0x0000374b 
+ 00014207  0x00000fbe set0  0x00000025 , 0x00000000 
+ 00014208  0x00000fbf bpatch  0x0000006f , 0x0000400d 
+ 00014209  0x00000fc0 parse  0x00000003 , 0x00000000 , 0x00000048 
+ 00014210  0x00000fc1 ialigned  0x0000001f 
+ 00014211  0x00000fc2 ialigned  0x00000004 
+ 00014212  0x00000fc3 ialigned  0x0000002e 
+ 00014213  0x00000fc4 ialigned  0x00000012 
+ 00014214  0x00000fc5 force  0x00000000 , 0x0000003f 
+ 00014215  0x00000fc6 parse  0x00000003 , 0x00000000 , 0x00000010 
+ 00014216  0x00000fc7 branch  0x0000374b , 0x00000006 
+ 00014217  0x00000fc8 setarg  0x0ffffffc 
+ 00014218  0x00000fc9 iand  0x00000012 , 0x0000003f 
+ 00014219  0x00000fca store  0x00000004 , 0x0000016f 
+ 00014220  0x00000fcb deposit  0x0000001d 
+ 00014221  0x00000fcc store  0x00000003 , 0x0000017f 
+ 00014222  0x00000fcd deposit  0x0000001c 
+ 00014223  0x00000fce store  0x00000001 , 0x0000017d 
+ 00014224  0x00000fcf deposit  0x00000004 
+ 00014225  0x00000fd0 store  0x00000001 , 0x0000017e 
+ 00014226  0x00000fd1 deposit  0x0000002e 
+ 00014227  0x00000fd2 store  0x00000002 , 0x00000186 
+ 00014228  0x00000fd3 deposit  0x00000021 
+ 00014229  0x00000fd4 inject  0x00000001 , 0x00000020 
+ 00014230  0x00000fd5 compare  0x00000002 , 0x00000001 , 0x0000000f 
+ 00014231  0x00000fd6 setflag  0x00000001 , 0x0000000b , 0x00000000 
+ 00014232  0x00000fd7 branch  0x0000375c 
+ 00014233  0x00000fda set0  0x00000025 , 0x00000000 
+ 00014234  0x00000fdb bpatch  0x00000070 , 0x0000400e 
+ 00014235  0x00000fdc fetch  0x00000001 , 0x00000047 
+ 00014236  0x00000fdd rtnbit0  0x00000003 
+ 00014237  0x00000fde set0  0x00000003 , 0x0000003f 
+ 00014238  0x00000fdf setflip  0x00000006 , 0x0000003f 
+ 00014239  0x00000fe0 store  0x00000001 , 0x00000047 
+ 00014240  0x00000fe1 fetch  0x00000001 , 0x00004165 
+ 00014241  0x00000fe2 beq  0x00000013 , 0x000037b1 
+ 00014242  0x00000fe3 rtneq  0x00000007 
+ 00014243  0x00000fe4 fetch  0x00000001 , 0x0000004b 
+ 00014244  0x00000fe5 rtnbit0  0x00000006 , 0x0000003f 
+ 00014245  0x00000fe6 set0  0x00000006 , 0x0000003f 
+ 00014246  0x00000fe7 set1  0x00000007 , 0x0000003f 
+ 00014247  0x00000fe8 store  0x00000001 , 0x0000004b 
+ 00014248  0x00000fe9 set0  0x00000002 , 0x00000000 
+ 00014249  0x00000fea fetch  0x00000001 , 0x00004132 
+ 00014250  0x00000feb rtneq  0x00000001 
+ 00014251  0x00000fec fetch  0x00000002 , 0x000042af 
+ 00014252  0x00000fed nrtn  0x00000034 
+ 00014253  0x00000fee fetch  0x00000001 , 0x0000004b 
+ 00014254  0x00000fef set0  0x00000007 , 0x0000003f 
+ 00014255  0x00000ff0 store  0x00000001 , 0x0000004b 
+ 00014256  0x00000ff1 branch  0x00005267 
+ 00014257  0x00000ff4 set0  0x00000025 , 0x00000000 
+ 00014258  0x00000ff5 bpatch  0x00000071 , 0x0000400e 
+ 00014259  0x00000ff6 fetch  0x00000001 , 0x00000433 
+ 00014260  0x00000ff7 rshift  0x0000003f , 0x0000003f 
+ 00014261  0x00000ff8 beq  0x00000011 , 0x000037d0 
+ 00014262  0x00000ff9 beq  0x00000012 , 0x000037da 
+ 00014263  0x00000ffa beq  0x00000018 , 0x00003806 
+ 00014264  0x00000ffb beq  0x0000007f , 0x000037bf 
+ 00014265  0x00000ffc beq  0x0000002c , 0x0000385e 
+ 00014266  0x00000ffd rtnne  0x00000003 
+ 00014267  0x00000ffe fetch  0x00000001 , 0x00000434 
+ 00014268  0x00000fff beq  0x0000002b , 0x000037c8 
+ 00014269  0x00001000 beq  0x00000011 , 0x000037c3 
+ 00014270  0x00001001 rtn 
+ 00014271  0x00001004 fetch  0x00000001 , 0x00000434 
+ 00014272  0x00001005 set1  0x00000007 , 0x0000003f 
+ 00014273  0x00001006 beq  0x0000008d , 0x0000385e 
+ 00014274  0x00001007 rtn 
+ 00014275  0x00001009 rtn  0x00000029 
+ 00014276  0x0000100a fetch  0x00000001 , 0x00000030 
+ 00014277  0x0000100b rtnbit1  0x00000004 
+ 00014278  0x0000100c jam  0x00000031 , 0x0000007c 
+ 00014279  0x0000100d rtn 
+ 00014280  0x00001011 rtn  0x00000029 
+ 00014281  0x00001012 fetch  0x00000001 , 0x00000031 
+ 00014282  0x00001013 isolate1  0x00000004 , 0x0000003f 
+ 00014283  0x00001014 branch  0x000037cd , 0x00000001 
+ 00014284  0x00001016 rtn 
+ 00014285  0x00001018 set0  0x00000004 , 0x0000003f 
+ 00014286  0x00001019 store  0x00000001 , 0x00000031 
+ 00014287  0x0000101a rtn 
+ 00014288  0x0000101d set0  0x00000025 , 0x00000000 
+ 00014289  0x0000101e bpatch  0x00000072 , 0x0000400e 
+ 00014290  0x0000101f fetch  0x00000001 , 0x0000004c 
+ 00014291  0x00001020 set1  0x00000002 , 0x0000003f 
+ 00014292  0x00001021 store  0x00000001 , 0x0000004c 
+ 00014293  0x00001022 hjam  0x00000001 , 0x00008011 
+ 00014294  0x00001023 fetch  0x00000001 , 0x00000030 
+ 00014295  0x00001024 isolate1  0x00000004 , 0x0000003f 
+ 00014296  0x00001025 branch  0x00004845 , 0x00000001 
+ 00014297  0x00001026 rtn 
+ 00014298  0x00001029 set0  0x00000025 , 0x00000000 
+ 00014299  0x0000102a bpatch  0x00000073 , 0x0000400e 
+ 00014300  0x0000102b fetch  0x00000001 , 0x0000004c 
+ 00014301  0x0000102c set0  0x00000002 , 0x0000003f 
+ 00014302  0x0000102d store  0x00000001 , 0x0000004c 
+ 00014303  0x0000102e hjam  0x00000000 , 0x00008011 
+ 00014304  0x0000102f rtn 
+ 00014305  0x00001033 set0  0x00000025 , 0x00000000 
+ 00014306  0x00001034 bpatch  0x00000074 , 0x0000400e 
+ 00014307  0x00001035 copy  0x00000022 , 0x0000003f 
+ 00014308  0x00001036 store  0x00000004 , 0x000042a5 
+ 00014309  0x00001037 add  0x00000022 , 0x00000003 , 0x00000011 
+ 00014310  0x00001038 branch  0x000037e8 , 0x00000029 
+ 00014311  0x00001039 add  0x00000028 , 0x00000003 , 0x00000011 
+ 00014312  0x0000103b fetcht  0x00000002 , 0x00000032 
+ 00014313  0x0000103c deposit  0x00000011 
+ 00014314  0x0000103d set0  0x0000001b , 0x0000003f 
+ 00014315  0x0000103e idiv  0x00000002 
+ 00014316  0x0000103f fetch  0x00000002 , 0x00000075 
+ 00014317  0x00001040 call  0x00007efd 
+ 00014318  0x00001041 remainder  0x00000013 
+ 00014319  0x00001042 isub  0x00000013 , 0x0000003f 
+ 00014320  0x00001043 branch  0x000037f2 , 0x00000002 
+ 00014321  0x00001044 iadd  0x00000002 , 0x0000003f 
+ 00014322  0x00001046 iadd  0x00000011 , 0x0000003f 
+ 00014323  0x00001047 store  0x00000004 , 0x00000034 
+ 00014324  0x00001048 jam  0x00000000 , 0x00004748 
+ 00014325  0x00001049 fetch  0x00000001 , 0x00000030 
+ 00014326  0x0000104a set1  0x00000001 , 0x0000003f 
+ 00014327  0x0000104b store  0x00000001 , 0x00000030 
+ 00014328  0x0000104c fetch  0x00000001 , 0x00000073 
+ 00014329  0x0000104d store  0x00000001 , 0x0000008a 
+ 00014330  0x0000104e jam  0x00000080 , 0x0000416e 
+ 00014331  0x0000104f setarg  0x00000000 
+ 00014332  0x00001050 store  0x00000003 , 0x0000420a 
+ 00014333  0x00001051 store  0x00000003 , 0x0000420d 
+ 00014334  0x00001052 store  0x00000001 , 0x000041fa 
+ 00014335  0x00001053 jam  0x0000000b , 0x00000b7d 
+ 00014336  0x00001054 call  0x00007c27 
+ 00014337  0x00001055 fetch  0x00000002 , 0x00004161 
+ 00014338  0x00001056 store  0x00000002 , 0x0000003e 
+ 00014339  0x00001057 nrtn  0x00000029 
+ 00014340  0x00001058 add  0x00000004 , 0xffffffff , 0x00000007 
+ 00014341  0x00001059 rtn 
+ 00014342  0x0000105c set0  0x00000025 , 0x00000000 
+ 00014343  0x0000105d bpatch  0x00000075 , 0x0000400e 
+ 00014344  0x0000105e fetch  0x00000001 , 0x00000030 
+ 00014345  0x0000105f rtnbit0  0x00000001 
+ 00014346  0x00001060 set0  0x00000001 , 0x0000003f 
+ 00014347  0x00001061 store  0x00000001 , 0x00000030 
+ 00014348  0x00001062 jam  0x0000007f , 0x0000416e 
+ 00014349  0x00001063 fetch  0x00000002 , 0x0000415f 
+ 00014350  0x00001064 store  0x00000002 , 0x0000003e 
+ 00014351  0x00001065 disable  0x0000002b 
+ 00014352  0x00001066 jam  0x0000000c , 0x00000b7d 
+ 00014353  0x00001067 branch  0x00007c27 
+ 00014354  0x0000106b set0  0x00000025 , 0x00000000 
+ 00014355  0x0000106c bpatch  0x00000076 , 0x0000400e 
+ 00014356  0x0000106d enable  0x0000002e 
+ 00014357  0x0000106e fetch  0x00000001 , 0x00000030 
+ 00014358  0x0000106f bbit1  0x00000001 , 0x00003820 
+ 00014359  0x00001070 rtnmark1  0x00000011 
+ 00014360  0x00001071 fetch  0x00000001 , 0x00000047 
+ 00014361  0x00001072 rtnbit1  0x00000003 
+ 00014362  0x00001073 fetch  0x00000001 , 0x00000048 
+ 00014363  0x00001074 nrtn  0x00000034 
+ 00014364  0x00001075 fetch  0x00000001 , 0x0000004b 
+ 00014365  0x00001076 rtnbit1  0x00000006 
+ 00014366  0x00001078 force  0x00000000 , 0x0000003f 
+ 00014367  0x00001079 rtn 
+ 00014368  0x0000107c bbit0  0x00000002 , 0x00003830 
+ 00014369  0x0000107d fetch  0x00000001 , 0x0000008a 
+ 00014370  0x0000107e beq  0x00000002 , 0x00003826 
+ 00014371  0x0000107f fetch  0x00000001 , 0x00000047 
+ 00014372  0x00001080 bbit1  0x00000003 , 0x00003839 
+ 00014373  0x00001081 bmark0  0x00000008 , 0x00003839 
+ 00014374  0x00001083 call  0x00003290 
+ 00014375  0x00001084 nbranch  0x00003839 , 0x00000029 
+ 00014376  0x00001085 fetch  0x00000001 , 0x00000048 
+ 00014377  0x00001086 nbranch  0x00003839 , 0x00000034 
+ 00014378  0x00001088 fetch  0x00000001 , 0x000000f1 
+ 00014379  0x00001089 increase  0xffffffff , 0x0000003f 
+ 00014380  0x0000108a store  0x00000001 , 0x000000f1 
+ 00014381  0x0000108b nbranch  0x0000381e , 0x00000034 
+ 00014382  0x0000108c jam  0x00000010 , 0x000000f1 
+ 00014383  0x0000108d branch  0x00003839 
+ 00014384  0x00001090 fetch  0x00000001 , 0x0000008a 
+ 00014385  0x00001091 bne  0x00000001 , 0x00003839 
+ 00014386  0x00001092 fetch  0x00000001 , 0x0000008b 
+ 00014387  0x00001093 branch  0x00003839 , 0x00000034 
+ 00014388  0x00001094 increase  0xffffffff , 0x0000003f 
+ 00014389  0x00001095 store  0x00000001 , 0x0000008b 
+ 00014390  0x00001096 fetch  0x00000001 , 0x00000047 
+ 00014391  0x00001097 rtnbit1  0x00000003 
+ 00014392  0x00001098 nrtn  0x0000002d 
+ 00014393  0x0000109a fetch  0x00000001 , 0x0000008a 
+ 00014394  0x0000109b increase  0xffffffff , 0x0000003f 
+ 00014395  0x0000109c store  0x00000001 , 0x0000008a 
+ 00014396  0x0000109d rtn 
+ 00014397  0x000010a1 set0  0x00000025 , 0x00000000 
+ 00014398  0x000010a2 bpatch  0x00000077 , 0x0000400e 
+ 00014399  0x000010a3 disable  0x00000010 
+ 00014400  0x000010a4 copy  0x00000002 , 0x0000001b 
+ 00014401  0x000010a5 call  0x00003300 
+ 00014402  0x000010a6 disable  0x00000028 
+ 00014403  0x000010a7 nrtn  0x00000005 
+ 00014404  0x000010a8 force  0x00000000 , 0x0000001b 
+ 00014405  0x000010a9 enable  0x00000028 
+ 00014406  0x000010aa rtn 
+ 00014407  0x000010ae fetch  0x00000001 , 0x000041f9 
+ 00014408  0x000010af icompare  0x000000ff , 0x00000004 
+ 00014409  0x000010b0 rtn 
+ 00014410  0x000010b3 set0  0x00000025 , 0x00000000 
+ 00014411  0x000010b4 bpatch  0x00000078 , 0x0000400f 
+ 00014412  0x000010b5 jam  0x00000001 , 0x00004171 
+ 00014413  0x000010b7 call  0x00006a40 
+ 00014414  0x000010b8 force  0x0000000c , 0x0000003f 
+ 00014415  0x000010b9 store  0x00000002 , 0x00000032 
+ 00014416  0x000010ba fetch  0x00000001 , 0x000000af 
+ 00014417  0x000010bb lshift  0x0000003f , 0x0000003f 
+ 00014418  0x000010bc store  0x00000002 , 0x00000075 
+ 00014419  0x000010bd fetch  0x00000001 , 0x00000030 
+ 00014420  0x000010be set1  0x00000002 , 0x0000003f 
+ 00014421  0x000010bf store  0x00000001 , 0x00000030 
+ 00014422  0x000010c0 jam  0x00000003 , 0x00000073 
+ 00014423  0x000010c1 jam  0x00000003 , 0x0000008a 
+ 00014424  0x000010c2 call  0x000037e1 
+ 00014425  0x000010c3 force  0x00000000 , 0x00000002 
+ 00014426  0x000010c4 call  0x00004914 
+ 00014427  0x000010c5 jam  0x00000050 , 0x000000b3 
+ 00014428  0x000010c6 jam  0x00000010 , 0x000000f1 
+ 00014429  0x000010c7 rtn 
+ 00014430  0x000010ca set0  0x00000025 , 0x00000000 
+ 00014431  0x000010cb bpatch  0x00000079 , 0x0000400f 
+ 00014432  0x000010cc call  0x00003806 
+ 00014433  0x000010cd jam  0x00000005 , 0x00004171 
+ 00014434  0x000010cf call  0x00006a4a 
+ 00014435  0x000010d0 fetch  0x00000001 , 0x00000030 
+ 00014436  0x000010d1 set0  0x00000002 , 0x0000003f 
+ 00014437  0x000010d2 store  0x00000001 , 0x00000030 
+ 00014438  0x000010d4 arg  0x00000e00 , 0x00000002 
+ 00014439  0x000010d5 jam  0x00000013 , 0x000002c0 
+ 00014440  0x000010d6 branch  0x000048c4 
+ 00014441  0x000010d9 set0  0x00000025 , 0x00000000 
+ 00014442  0x000010da bpatch  0x0000007a , 0x0000400f 
+ 00014443  0x000010db jam  0x00000000 , 0x000000b1 
+ 00014444  0x000010dc call  0x0000385e 
+ 00014445  0x000010dd call  0x00003290 
+ 00014446  0x000010de set0  0x00000007 , 0x00000000 
+ 00014447  0x000010df rtn 
+ 00014448  0x000010e2 set0  0x00000025 , 0x00000000 
+ 00014449  0x000010e3 bpatch  0x0000007b , 0x0000400f 
+ 00014450  0x000010e4 fetch  0x00000001 , 0x00004132 
+ 00014451  0x000010e5 beq  0x00000001 , 0x00003898 
+ 00014452  0x000010e6 set0  0x00000001 , 0x00000000 
+ 00014453  0x000010e8 jam  0x00000000 , 0x000002d1 
+ 00014454  0x000010e9 fetch  0x00000001 , 0x000002ca 
+ 00014455  0x000010ea rtn  0x00000034 
+ 00014456  0x000010eb isolate1  0x00000000 , 0x0000003f 
+ 00014457  0x000010ec arg  0x00001000 , 0x00000006 
+ 00014458  0x000010ed call  0x00004da8 , 0x00000001 
+ 00014459  0x000010ee set0  0x00000025 , 0x00000000 
+ 00014460  0x000010ef bpatch  0x0000007c , 0x0000400f 
+ 00014461  0x000010f0 fetch  0x00000001 , 0x000002d1 
+ 00014462  0x000010f1 beq  0x00000001 , 0x0000388c 
+ 00014463  0x000010f3 jam  0x00000000 , 0x000002d1 
+ 00014464  0x000010f4 fetch  0x00000001 , 0x000002ca 
+ 00014465  0x000010f5 rtnbit0  0x00000001 
+ 00014466  0x000010f6 arg  0x00001400 , 0x00000006 
+ 00014467  0x000010f7 call  0x00004da8 
+ 00014468  0x000010f8 fetch  0x00000001 , 0x000002d1 
+ 00014469  0x000010f9 beq  0x00000001 , 0x00003892 
+ 00014470  0x000010fa rtn 
+ 00014471  0x000010fd fetch  0x00000001 , 0x0000004c 
+ 00014472  0x000010fe set0  0x00000007 , 0x0000003f 
+ 00014473  0x000010ff store  0x00000001 , 0x0000004c 
+ 00014474  0x00001100 set0  0x00000001 , 0x00000000 
+ 00014475  0x00001101 branch  0x0000443b 
+ 00014476  0x00001104 fetch  0x00000001 , 0x000002ca 
+ 00014477  0x00001105 set0  0x00000000 , 0x0000003f 
+ 00014478  0x00001106 store  0x00000001 , 0x000002ca 
+ 00014479  0x00001107 setarg  0x00000000 
+ 00014480  0x00001108 store  0x00000002 , 0x000002c4 
+ 00014481  0x00001109 rtn 
+ 00014482  0x0000110b fetch  0x00000001 , 0x000002ca 
+ 00014483  0x0000110c set0  0x00000001 , 0x0000003f 
+ 00014484  0x0000110d store  0x00000001 , 0x000002ca 
+ 00014485  0x0000110e setarg  0x00000000 
+ 00014486  0x0000110f store  0x00000002 , 0x000002c6 
+ 00014487  0x00001110 rtn 
+ 00014488  0x00001113 fetch  0x00000001 , 0x0000004c 
+ 00014489  0x00001114 rtnbit0  0x00000007 , 0x0000003f 
+ 00014490  0x00001115 call  0x00004435 
+ 00014491  0x00001116 fetch  0x00000002 , 0x00004800 
+ 00014492  0x00001117 branch  0x00003bf1 , 0x00000034 
+ 00014493  0x00001118 increase  0xffffffff , 0x0000003f 
+ 00014494  0x00001119 store  0x00000002 , 0x00004800 
+ 00014495  0x0000111a branch  0x00003887 
+ 00014496  0x0000111d fetch  0x00000001 , 0x000002ca 
+ 00014497  0x0000111e set1  0x00000000 , 0x0000003f 
+ 00014498  0x0000111f store  0x00000001 , 0x000002ca 
+ 00014499  0x00001120 rtn 
+ 00014500  0x00001123 fetch  0x00000001 , 0x000002ca 
+ 00014501  0x00001124 set1  0x00000001 , 0x0000003f 
+ 00014502  0x00001125 store  0x00000001 , 0x000002ca 
+ 00014503  0x00001126 rtn 
+ 00014504  0x0000112d set0  0x00000025 , 0x00000000 
+ 00014505  0x0000112e bpatch  0x0000007d , 0x0000400f 
+ 00014506  0x0000112f add  0x00000028 , 0x00000001 , 0x00000021 
+ 00014507  0x00001130 call  0x00003a5d 
+ 00014508  0x00001131 force  0x00000003 , 0x00000024 
+ 00014509  0x00001132 call  0x00003a42 
+ 00014510  0x00001133 call  0x00003bae 
+ 00014511  0x00001134 call  0x00003bbf 
+ 00014512  0x00001135 branch  0x00003bc5 
+ 00014513  0x00001139 set0  0x00000025 , 0x00000000 
+ 00014514  0x0000113a bpatch  0x0000007e , 0x0000400f 
+ 00014515  0x0000113b call  0x00003baa 
+ 00014516  0x0000113c deposit  0x00000028 
+ 00014517  0x0000113d fetcht  0x00000004 , 0x0000416a 
+ 00014518  0x0000113e isub  0x00000002 , 0x0000003f 
+ 00014519  0x0000113f rtnne  0x00000001 
+ 00014520  0x00001140 compare  0x00000000 , 0x00000001 , 0x0000001f 
+ 00014521  0x00001141 nbranch  0x000038bc , 0x00000001 
+ 00014522  0x00001142 fetch  0x00000001 , 0x00000019 
+ 00014523  0x00001143 rtn  0x00000034 
+ 00014524  0x00001145 call  0x000038a8 
+ 00014525  0x00001146 compare  0x00000010 , 0x00000001 , 0x0000001f 
+ 00014526  0x00001147 branch  0x0000375c , 0x00000001 
+ 00014527  0x00001149 rshift  0x00000021 , 0x00000002 
+ 00014528  0x0000114a or  0x00000002 , 0x00000040 , 0x0000000e 
+ 00014529  0x0000114c set0  0x00000025 , 0x00000000 
+ 00014530  0x0000114d bpatch  0x0000007f , 0x0000400f 
+ 00014531  0x0000114e enable  0x00000007 
+ 00014532  0x0000114f enable  0x0000000a 
+ 00014533  0x00001150 enable  0x0000001b 
+ 00014534  0x00001151 set0  0x00000010 , 0x00000000 
+ 00014535  0x00001152 deposit  0x00000004 
+ 00014536  0x00001153 inject  0x00000003 , 0x00000003 
+ 00014537  0x00001154 deposit  0x00000001 
+ 00014538  0x00001155 inject  0x00000003 , 0x00000004 
+ 00014539  0x00001156 fetch  0x00000001 , 0x00000047 
+ 00014540  0x00001157 inject  0x00000000 , 0x00000004 
+ 00014541  0x00001158 inject  0x00000003 , 0x00000003 
+ 00014542  0x00001159 enable  0x00000008 
+ 00014543  0x0000115a inject  0x00000003 , 0x00000008 
+ 00014544  0x0000115b disable  0x0000001b 
+ 00014545  0x0000115c disable  0x00000008 
+ 00014546  0x0000115d disable  0x0000000a 
+ 00014547  0x0000115e set0  0x00000002 , 0x00000015 
+ 00014548  0x0000115f arg  0x00000000 , 0x00000002 
+ 00014549  0x00001160 call  0x00003b74 
+ 00014550  0x00001161 set0  0x00000025 , 0x00000000 
+ 00014551  0x00001162 bpatch  0x00000080 , 0x00004010 
+ 00014552  0x00001163 and  0x00000001 , 0x0000001f , 0x0000003f 
+ 00014553  0x00001164 beq  0x00000013 , 0x00003913 
+ 00014554  0x00001165 beq  0x00000000 , 0x0000375c 
+ 00014555  0x00001166 beq  0x00000001 , 0x0000375c 
+ 00014556  0x00001167 beq  0x00000002 , 0x000038f5 
+ 00014557  0x00001168 beq  0x00000003 , 0x00003925 
+ 00014558  0x00001169 beq  0x00000004 , 0x0000392b 
+ 00014559  0x0000116a beq  0x00000007 , 0x000038e9 
+ 00014560  0x0000116b beq  0x00000008 , 0x0000392a 
+ 00014561  0x0000116c arg  0x00000004 , 0x00000002 
+ 00014562  0x0000116d call  0x00003b74 
+ 00014563  0x0000116e beq  0x0000000a , 0x00003927 
+ 00014564  0x0000116f beq  0x0000000b , 0x0000392d 
+ 00014565  0x00001170 arg  0x00000008 , 0x00000002 
+ 00014566  0x00001171 call  0x00003b74 
+ 00014567  0x00001172 beq  0x0000000f , 0x0000392d 
+ 00014568  0x00001173 branch  0x00003927 
+ 00014569  0x00001177 set0  0x00000025 , 0x00000000 
+ 00014570  0x00001178 bpatch  0x00000081 , 0x00004010 
+ 00014571  0x00001179 enable  0x0000001d 
+ 00014572  0x0000117a enable  0x00000009 
+ 00014573  0x0000117b enable  0x0000000e 
+ 00014574  0x0000117c force  0x0000001e , 0x00000039 
+ 00014575  0x0000117d arg  0x000000b5 , 0x00000006 
+ 00014576  0x0000117f ifetch  0x00000001 , 0x00000006 
+ 00014577  0x00001180 inject  0x00000003 , 0x00000008 
+ 00014578  0x00001181 loop  0x000038f0 
+ 00014579  0x00001182 bmark1  0x00000007 , 0x00003960 
+ 00014580  0x00001183 branch  0x0000375c 
+ 00014581  0x00001186 set0  0x00000025 , 0x00000000 
+ 00014582  0x00001187 bpatch  0x00000082 , 0x00004010 
+ 00014583  0x00001188 fetch  0x00000001 , 0x0000018b 
+ 00014584  0x00001189 icopy  0x00000004 
+ 00014585  0x0000118a fetch  0x00000001 , 0x0000008f 
+ 00014586  0x0000118b icopy  0x0000001c 
+ 00014587  0x0000118c fetch  0x00000003 , 0x0000414a 
+ 00014588  0x0000118d icopy  0x0000001d 
+ 00014589  0x0000118e fetch  0x00000002 , 0x00004144 
+ 00014590  0x0000118f icopy  0x0000002e 
+ 00014591  0x00001190 enable  0x00000009 
+ 00014592  0x00001191 enable  0x0000001c 
+ 00014593  0x00001192 copy  0x00000020 , 0x00000011 
+ 00014594  0x00001193 call  0x00003a54 
+ 00014595  0x00001194 pulse  0x00000015 
+ 00014596  0x00001195 nop  0x00000020 
+ 00014597  0x00001196 copy  0x00000021 , 0x0000000b 
+ 00014598  0x00001197 fetch  0x00000004 , 0x0000016b 
+ 00014599  0x00001198 icopy  0x00000021 
+ 00014600  0x00001199 preload  0x0000001e 
+ 00014601  0x0000119a set1  0x0000003a , 0x0000003f 
+ 00014602  0x0000119b inject  0x00000003 , 0x00000048 
+ 00014603  0x0000119c preload  0x0000001f 
+ 00014604  0x0000119d inject  0x00000003 , 0x00000048 
+ 00014605  0x0000119e copy  0x0000000b , 0x00000021 
+ 00014606  0x0000119f copy  0x00000011 , 0x00000020 
+ 00014607  0x000011a0 enable  0x00000008 
+ 00014608  0x000011a1 inject  0x00000003 , 0x00000010 
+ 00014609  0x000011a2 disable  0x00000008 
+ 00014610  0x000011a3 branch  0x0000375c 
+ 00014611  0x000011a6 set0  0x00000025 , 0x00000000 
+ 00014612  0x000011a7 bpatch  0x00000083 , 0x00004010 
+ 00014613  0x000011a8 enable  0x0000000e 
+ 00014614  0x000011a9 enable  0x00000009 
+ 00014615  0x000011aa enable  0x0000001c 
+ 00014616  0x000011ab fetch  0x00000001 , 0x00000432 
+ 00014617  0x000011ac and  0x0000003f , 0x000001f8 , 0x00000002 
+ 00014618  0x000011ad arg  0x00000432 , 0x00000006 
+ 00014619  0x000011ae increase  0x00000008 , 0x00000002 
+ 00014620  0x000011b0 add  0x00000002 , 0xffffffb8 , 0x00000013 
+ 00014621  0x000011b1 nbranch  0x00003922 , 0x00000002 
+ 00014622  0x000011b2 ifetch  0x00000009 , 0x00000006 
+ 00014623  0x000011b3 inject  0x00000003 , 0x00000048 
+ 00014624  0x000011b4 copy  0x00000013 , 0x00000002 
+ 00014625  0x000011b5 branch  0x0000391c 
+ 00014626  0x000011b7 ifetch  0x00000009 , 0x00000006 
+ 00014627  0x000011b8 iinject  0x00000003 , 0x00000002 
+ 00014628  0x000011b9 branch  0x00003960 
+ 00014629  0x000011bc enable  0x0000001c 
+ 00014630  0x000011bd branch  0x00003930 
+ 00014631  0x000011c0 enable  0x0000001c 
+ 00014632  0x000011c1 set1  0x00000010 , 0x00000000 
+ 00014633  0x000011c2 branch  0x00003930 
+ 00014634  0x000011c5 set1  0x00000002 , 0x00000015 
+ 00014635  0x000011c7 enable  0x0000001d 
+ 00014636  0x000011c8 branch  0x00003930 
+ 00014637  0x000011cc set1  0x00000002 , 0x00000015 
+ 00014638  0x000011cd enable  0x0000001d 
+ 00014639  0x000011ce set1  0x00000010 , 0x00000000 
+ 00014640  0x000011d1 set0  0x00000025 , 0x00000000 
+ 00014641  0x000011d2 bpatch  0x00000084 , 0x00004010 
+ 00014642  0x000011d3 fetch  0x00000001 , 0x0000004c 
+ 00014643  0x000011d4 bbit0  0x00000005 , 0x00003946 
+ 00014644  0x000011d5 sub  0x00000001 , 0x00000003 , 0x0000003e 
+ 00014645  0x000011d6 branch  0x00003946 , 0x00000002 
+ 00014646  0x000011d7 disable  0x0000000e 
+ 00014647  0x000011d8 disable  0x0000001c 
+ 00014648  0x000011d9 enable  0x0000001d 
+ 00014649  0x000011da disable  0x00000007 
+ 00014650  0x000011db set1  0x00000001 , 0x00000015 
+ 00014651  0x000011dc isolate1  0x00000002 , 0x00000015 
+ 00014652  0x000011dd branch  0x00003940 , 0x00000001 
+ 00014653  0x000011de setarg  0x000abeee 
+ 00014654  0x000011df inject  0x00000003 , 0x00000014 
+ 00014655  0x000011e0 branch  0x00003944 
+ 00014656  0x000011e2 setarg  0x005faeba 
+ 00014657  0x000011e3 inject  0x00000003 , 0x00000018 
+ 00014658  0x000011e4 setarg  0x00000012 
+ 00014659  0x000011e5 inject  0x00000003 , 0x00000006 
+ 00014660  0x000011e7 enable  0x00000007 
+ 00014661  0x000011e8 set1  0x00000010 , 0x00000000 
+ 00014662  0x000011ea enable  0x0000000e 
+ 00014663  0x000011eb enable  0x00000009 
+ 00014664  0x000011ec bmark1  0x00000005 , 0x00003969 
+ 00014665  0x000011ed fetch  0x00000001 , 0x00000090 
+ 00014666  0x000011ee inject  0x00000003 , 0x00000003 
+ 00014667  0x000011ef fetch  0x00000002 , 0x00000091 
+ 00014668  0x000011f0 iforce  0x00000039 
+ 00014669  0x000011f1 bmark1  0x00000010 , 0x00003950 
+ 00014670  0x000011f2 inject  0x00000003 , 0x00000005 
+ 00014671  0x000011f3 branch  0x00003951 
+ 00014672  0x000011f5 inject  0x00000003 , 0x0000000d 
+ 00014673  0x000011f7 fetch  0x00000001 , 0x00004132 
+ 00014674  0x000011f8 beq  0x00000001 , 0x0000395b 
+ 00014675  0x000011f9 deposit  0x00000039 
+ 00014676  0x000011fa branch  0x00003960 , 0x00000034 
+ 00014677  0x000011fb fetch  0x00000002 , 0x00000179 
+ 00014678  0x000011fc iforce  0x00000006 
+ 00014679  0x000011fe ifetch  0x00000001 , 0x00000006 
+ 00014680  0x000011ff inject  0x00000003 , 0x00000008 
+ 00014681  0x00001200 loop  0x00003957 
+ 00014682  0x00001201 branch  0x00003960 
+ 00014683  0x00001203 fetch  0x00000002 , 0x00000179 
+ 00014684  0x00001204 iforce  0x00000003 
+ 00014685  0x00001206 ifetch  0x00000001 , 0x00000003 
+ 00014686  0x00001207 inject  0x00000003 , 0x00000008 
+ 00014687  0x00001208 loop  0x0000395d 
+ 00014688  0x0000120a enable  0x00000008 
+ 00014689  0x0000120b inject  0x00000003 , 0x00000010 
+ 00014690  0x0000120c disable  0x00000008 
+ 00014691  0x0000120d call  0x00003583 
+ 00014692  0x0000120e fetch  0x00000001 , 0x0000004c 
+ 00014693  0x0000120f bbit0  0x00000005 , 0x0000375c 
+ 00014694  0x00001210 force  0x00000000 , 0x0000003f 
+ 00014695  0x00001211 inject  0x00000003 , 0x00000006 
+ 00014696  0x00001212 branch  0x0000375c 
+ 00014697  0x00001216 set0  0x00000025 , 0x00000000 
+ 00014698  0x00001217 bpatch  0x00000085 , 0x00004010 
+ 00014699  0x00001218 bmark1  0x00000010 , 0x00003972 
+ 00014700  0x0000121a fetch  0x00000001 , 0x0000018a 
+ 00014701  0x0000121b inject  0x00000003 , 0x00000003 
+ 00014702  0x0000121c fetch  0x00000001 , 0x00000169 
+ 00014703  0x0000121d iforce  0x00000013 
+ 00014704  0x0000121e inject  0x00000003 , 0x00000005 
+ 00014705  0x0000121f branch  0x00003977 
+ 00014706  0x00001221 fetch  0x00000001 , 0x0000018a 
+ 00014707  0x00001222 inject  0x00000003 , 0x00000003 
+ 00014708  0x00001223 fetch  0x00000002 , 0x00000169 
+ 00014709  0x00001224 iforce  0x00000013 
+ 00014710  0x00001225 inject  0x00000003 , 0x0000000d 
+ 00014711  0x00001227 arg  0x000004de , 0x00000006 
+ 00014712  0x00001229 copy  0x00000013 , 0x0000003e 
+ 00014713  0x0000122a branch  0x0000397e , 0x00000005 
+ 00014714  0x0000122b ifetch  0x00000001 , 0x00000006 
+ 00014715  0x0000122c inject  0x00000003 , 0x00000008 
+ 00014716  0x0000122d increase  0xffffffff , 0x00000013 
+ 00014717  0x0000122e branch  0x00003978 
+ 00014718  0x00001230 fetch  0x00000002 , 0x000000fe 
+ 00014719  0x00001231 increase  0x00000001 , 0x0000003f 
+ 00014720  0x00001232 store  0x00000002 , 0x000000fe 
+ 00014721  0x00001233 branch  0x00003960 
+ 00014722  0x00001237 fetch  0x00000004 , 0x0000016f 
+ 00014723  0x00001238 add  0x0000003f , 0x00000007 , 0x00000011 
+ 00014724  0x00001239 fetch  0x00000002 , 0x0000017b 
+ 00014725  0x0000123a nbranch  0x00003988 , 0x00000034 
+ 00014726  0x0000123b increase  0xfffffffd , 0x00000011 
+ 00014727  0x0000123c branch  0x00003990 
+ 00014728  0x0000123e mul32  0x0000003f , 0x0000000c , 0x0000003f 
+ 00014729  0x0000123f hfetcht  0x00000002 , 0x00008040 
+ 00014730  0x00001240 increase  0x00000001 , 0x00000002 
+ 00014731  0x00001242 isub  0x00000002 , 0x0000003f 
+ 00014732  0x00001243 nbranch  0x0000398f , 0x00000002 
+ 00014733  0x00001244 increase  0xffffffff , 0x00000011 
+ 00014734  0x00001245 branch  0x0000398b 
+ 00014735  0x00001247 sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00014736  0x00001249 until  0x0000003e , 0x00000023 
+ 00014737  0x0000124a compare  0x00000000 , 0x00000022 , 0x00000003 
+ 00014738  0x0000124b nbranch  0x00003990 , 0x00000001 
+ 00014739  0x0000124c iforce  0x00000029 
+ 00014740  0x0000124d copy  0x00000011 , 0x00000028 
+ 00014741  0x0000124e iforce  0x00000029 
+ 00014742  0x0000124f rtn 
+ 00014743  0x00001253 set0  0x00000025 , 0x00000000 
+ 00014744  0x00001254 bpatch  0x00000086 , 0x00004010 
+ 00014745  0x00001255 until  0x0000003e , 0x00000022 
+ 00014746  0x00001256 deposit  0x0000001a 
+ 00014747  0x00001257 iforce  0x00000006 
+ 00014748  0x00001258 rshift16 , 0x0000003f , 0x0000003f 
+ 00014749  0x00001259 isub  0x00000022 , 0x00000039 
+ 00014750  0x0000125a and_into  0x00000003 , 0x00000039 
+ 00014751  0x0000125b nbranch  0x000039a2 , 0x00000005 
+ 00014752  0x0000125c force  0x00000000 , 0x0000003f 
+ 00014753  0x0000125d branch  0x000039a6 
+ 00014754  0x0000125f arg  0x00000ea6 , 0x00000002 
+ 00014755  0x00001260 force  0x00000000 , 0x0000003f 
+ 00014756  0x00001262 iadd  0x00000002 , 0x0000003f 
+ 00014757  0x00001263 loop  0x000039a4 
+ 00014758  0x00001265 iadd  0x00000006 , 0x0000003f 
+ 00014759  0x00001266 div  0x0000003f , 0x0000000c 
+ 00014760  0x00001267 call  0x00007efd 
+ 00014761  0x00001268 quotient  0x0000003f 
+ 00014762  0x00001269 store  0x00000002 , 0x0000017b 
+ 00014763  0x0000126a rtn 
+ 00014764  0x0000126d set0  0x00000025 , 0x00000000 
+ 00014765  0x0000126e bpatch  0x00000087 , 0x00004010 
+ 00014766  0x0000126f deposit  0x0000001a 
+ 00014767  0x00001270 copy  0x00000019 , 0x00000002 
+ 00014768  0x00001271 isub  0x00000002 , 0x0000003e 
+ 00014769  0x00001272 nsetflag  0x00000002 , 0x0000002c , 0x0000003f 
+ 00014770  0x00001273 isub  0x00000002 , 0x00000002 
+ 00014771  0x00001274 setarg  0x00000ea6 
+ 00014772  0x00001275 isolate0  0x0000000f , 0x00000002 
+ 00014773  0x00001276 branch  0x000039b8 , 0x00000001 
+ 00014774  0x00001277 setarg  0xffff0ea6 
+ 00014775  0x00001278 iadd  0x00000002 , 0x00000002 
+ 00014776  0x0000127a storet  0x00000006 , 0x000003c8 
+ 00014777  0x0000127b rtn  0x00000036 
+ 00014778  0x0000127c storet  0x00000006 , 0x00000038 
+ 00014779  0x0000127d rtn 
+ 00014780  0x00001280 disable  0x00000030 
+ 00014781  0x00001281 fetch  0x00000006 , 0x000003c8 
+ 00014782  0x00001282 branch  0x000039c0 , 0x00000036 
+ 00014783  0x00001283 fetch  0x00000006 , 0x00000038 
+ 00014784  0x00001285 iadd  0x00000019 , 0x00000030 
+ 00014785  0x00001286 increase  0x0000000a , 0x00000030 
+ 00014786  0x00001287 setarg  0x00000ea6 
+ 00014787  0x00001288 isub  0x00000030 , 0x0000003f 
+ 00014788  0x00001289 isolate0  0x0000000f , 0x0000003f 
+ 00014789  0x0000128a branch  0x000039ca , 0x00000001 
+ 00014790  0x0000128b setarg  0x0000f15a 
+ 00014791  0x0000128c iadd  0x00000030 , 0x00000030 
+ 00014792  0x0000128e copy  0x00000030 , 0x0000001a 
+ 00014793  0x0000128f rtn 
+ 00014794  0x00001291 force  0x00000000 , 0x0000003e 
+ 00014795  0x00001292 branch  0x000039c8 
+ 00014796  0x0000129a set0  0x00000025 , 0x00000000 
+ 00014797  0x0000129b bpatch  0x00000088 , 0x00004011 
+ 00014798  0x0000129c call  0x00003a7a 
+ 00014799  0x0000129d copy  0x00000021 , 0x0000003f 
+ 00014800  0x0000129e and_into  0x00000180 , 0x0000003f 
+ 00014801  0x0000129f compare  0x00000003 , 0x00000024 , 0x00000007 
+ 00014802  0x000012a0 nbranch  0x000039d6 , 0x00000001 
+ 00014803  0x000012a1 rshift3  0x0000003f , 0x0000003f 
+ 00014804  0x000012a2 iadd  0x00000017 , 0x0000003f 
+ 00014805  0x000012a3 branch  0x000039d7 
+ 00014806  0x000012a5 copy  0x00000017 , 0x0000003f 
+ 00014807  0x000012a7 div  0x0000003f , 0x0000004f 
+ 00014808  0x000012a8 pulse  0x00000015 
+ 00014809  0x000012a9 call  0x00007efd 
+ 00014810  0x000012aa remainder  0x00000011 
+ 00014811  0x000012ab add  0x00000011 , 0xffffffd8 , 0x00000002 
+ 00014812  0x000012ac branch  0x000039df , 0x00000002 
+ 00014813  0x000012ad lshift  0x00000011 , 0x00000002 
+ 00014814  0x000012ae branch  0x000039e1 
+ 00014815  0x000012b0 lshift  0x00000002 , 0x00000002 
+ 00014816  0x000012b1 increase  0x00000001 , 0x00000002 
+ 00014817  0x000012b3 set0  0x00000025 , 0x00000000 
+ 00014818  0x000012b4 bpatch  0x00000089 , 0x00004011 
+ 00014819  0x000012b5 fetch  0x00000001 , 0x00000031 
+ 00014820  0x000012b6 bbit0  0x00000003 , 0x000039f3 
+ 00014821  0x000012b8 fetch  0x00000004 , 0x00004173 
+ 00014822  0x000012b9 isub  0x00000021 , 0x0000003e 
+ 00014823  0x000012ba branch  0x000039f3 , 0x00000002 
+ 00014824  0x000012bb call  0x00003a12 
+ 00014825  0x000012bc fetch  0x00000001 , 0x0000417a 
+ 00014826  0x000012bd rtn  0x00000034 
+ 00014827  0x000012be fetch  0x00000001 , 0x00000031 
+ 00014828  0x000012bf set1  0x00000002 , 0x0000003f 
+ 00014829  0x000012c0 store  0x00000001 , 0x00000031 
+ 00014830  0x000012c1 fetch  0x00000005 , 0x00004188 
+ 00014831  0x000012c2 store  0x00000005 , 0x0000417b 
+ 00014832  0x000012c3 ifetch  0x00000005 , 0x00000006 
+ 00014833  0x000012c4 store  0x00000005 , 0x00004180 
+ 00014834  0x000012c5 call  0x00003a17 
+ 00014835  0x000012c7 fetch  0x00000001 , 0x00000031 
+ 00014836  0x000012c8 rtnbit0  0x00000002 
+ 00014837  0x000012c9 isolate1  0x00000001 , 0x00000021 
+ 00014838  0x000012ca branch  0x00003a0f , 0x00000001 
+ 00014839  0x000012cb rshift3  0x00000002 , 0x00000011 
+ 00014840  0x000012cc and  0x00000002 , 0x00000007 , 0x00000007 
+ 00014841  0x000012cd setarg  0x0000417b 
+ 00014842  0x000012ce iadd  0x00000011 , 0x00000011 
+ 00014843  0x000012cf ifetch  0x00000001 , 0x00000011 
+ 00014844  0x000012d0 qisolate0  0x0000003f 
+ 00014845  0x000012d1 branch  0x00003a00 , 0x00000001 
+ 00014846  0x000012d2 deposit  0x00000002 
+ 00014847  0x000012d3 branch  0x00003a0c 
+ 00014848  0x000012d5 fetch  0x00000001 , 0x00004185 
+ 00014849  0x000012d6 iforce  0x00000012 
+ 00014850  0x000012d7 deposit  0x00000021 
+ 00014851  0x000012d8 and_into  0x00000180 , 0x0000003f 
+ 00014852  0x000012d9 rshift3  0x0000003f , 0x0000003f 
+ 00014853  0x000012da iadd  0x00000017 , 0x0000003f 
+ 00014854  0x000012db idiv  0x00000012 
+ 00014855  0x000012dc setarg  0x00004193 
+ 00014856  0x000012dd call  0x00007efd 
+ 00014857  0x000012de remainder  0x00000011 
+ 00014858  0x000012df iadd  0x00000011 , 0x00000006 
+ 00014859  0x000012e0 ifetch  0x00000001 , 0x00000006 
+ 00014860  0x000012e2 store  0x00000001 , 0x00004186 
+ 00014861  0x000012e3 iforce  0x00000002 
+ 00014862  0x000012e4 rtn 
+ 00014863  0x000012e7 fetch  0x00000001 , 0x00004186 
+ 00014864  0x000012e8 iforce  0x00000002 
+ 00014865  0x000012e9 rtn 
+ 00014866  0x000012ec fetch  0x00000001 , 0x00000031 
+ 00014867  0x000012ed set0  0x00000002 , 0x0000003f 
+ 00014868  0x000012ee set0  0x00000003 , 0x0000003f 
+ 00014869  0x000012ef store  0x00000001 , 0x00000031 
+ 00014870  0x000012f0 rtn 
+ 00014871  0x000012f7 set0  0x00000025 , 0x00000000 
+ 00014872  0x000012f8 bpatch  0x0000008a , 0x00004011 
+ 00014873  0x000012f9 arg  0x00004193 , 0x00000005 
+ 00014874  0x000012fa force  0x0000000a , 0x00000039 
+ 00014875  0x000012fb call  0x00007e3b 
+ 00014876  0x000012fc arg  0x00004193 , 0x00000005 
+ 00014877  0x000012fd force  0x00000000 , 0x00000013 
+ 00014878  0x000012fe force  0x00000002 , 0x00000007 
+ 00014879  0x00001300 fetch  0x00000005 , 0x0000417b 
+ 00014880  0x00001301 iforce  0x00000002 
+ 00014881  0x00001302 compare  0x00000002 , 0x00000007 , 0x000000ff 
+ 00014882  0x00001303 branch  0x00003a24 , 0x00000001 
+ 00014883  0x00001304 rshift  0x00000002 , 0x00000002 
+ 00014884  0x00001306 isolate0  0x00000000 , 0x00000002 
+ 00014885  0x00001307 branch  0x00003a28 , 0x00000001 
+ 00014886  0x00001308 deposit  0x00000013 
+ 00014887  0x00001309 istore  0x00000001 , 0x00000005 
+ 00014888  0x0000130b rshift2  0x00000002 , 0x00000002 
+ 00014889  0x0000130c increase  0x00000002 , 0x00000013 
+ 00014890  0x0000130d compare  0x00000028 , 0x00000013 , 0x000000fe 
+ 00014891  0x0000130e nbranch  0x00003a31 , 0x00000001 
+ 00014892  0x0000130f fetch  0x00000005 , 0x00004180 
+ 00014893  0x00001310 iforce  0x00000002 
+ 00014894  0x00001311 compare  0x00000002 , 0x00000007 , 0x000000ff 
+ 00014895  0x00001312 branch  0x00003a31 , 0x00000001 
+ 00014896  0x00001313 rshift  0x00000002 , 0x00000002 
+ 00014897  0x00001315 sub  0x00000013 , 0x0000004e , 0x0000003e 
+ 00014898  0x00001316 branch  0x00003a24 , 0x00000002 
+ 00014899  0x00001317 force  0x00000001 , 0x00000013 
+ 00014900  0x00001318 increase  0xffffffff , 0x00000007 
+ 00014901  0x00001319 nbranch  0x00003a1f , 0x00000005 
+ 00014902  0x0000131a arg  0x00004193 , 0x00000011 
+ 00014903  0x0000131b deposit  0x00000005 
+ 00014904  0x0000131c isub  0x00000011 , 0x0000003f 
+ 00014905  0x0000131d store  0x00000001 , 0x00004185 
+ 00014906  0x0000131e rtn 
+ 00014907  0x00001321 set0  0x00000025 , 0x00000000 
+ 00014908  0x00001322 bpatch  0x0000008b , 0x00004011 
+ 00014909  0x00001323 call  0x000039cc 
+ 00014910  0x00001324 fetch  0x00000001 , 0x00000189 
+ 00014911  0x00001325 bbit0  0x00000005 , 0x00003a41 
+ 00014912  0x00001326 fetcht  0x00000001 , 0x00000448 
+ 00014913  0x00001328 branch  0x00003a82 
+ 00014914  0x0000132c set0  0x00000025 , 0x00000000 
+ 00014915  0x0000132d bpatch  0x0000008c , 0x00004011 
+ 00014916  0x0000132e call  0x000039cc 
+ 00014917  0x0000132f fetch  0x00000001 , 0x00000189 
+ 00014918  0x00001330 bbit0  0x00000004 , 0x00003a48 
+ 00014919  0x00001331 fetcht  0x00000001 , 0x00000447 
+ 00014920  0x00001333 branch  0x00003a91 
+ 00014921  0x00001337 force  0x00000000 , 0x0000002d 
+ 00014922  0x00001338 fetch  0x00000003 , 0x00004147 
+ 00014923  0x00001339 iforce  0x0000002c 
+ 00014924  0x0000133a rtn 
+ 00014925  0x0000133d set0  0x00000025 , 0x00000000 
+ 00014926  0x0000133e bpatch  0x0000008d , 0x00004011 
+ 00014927  0x0000133f fetch  0x00000001 , 0x00004277 
+ 00014928  0x00001340 icopy  0x0000002d 
+ 00014929  0x00001341 fetch  0x00000003 , 0x00004274 
+ 00014930  0x00001342 icopy  0x0000002c 
+ 00014931  0x00001343 rtn 
+ 00014932  0x00001346 set0  0x00000025 , 0x00000000 
+ 00014933  0x00001347 bpatch  0x0000008e , 0x00004011 
+ 00014934  0x00001348 fetch  0x00000002 , 0x00004144 
+ 00014935  0x00001349 icopy  0x0000002e 
+ 00014936  0x0000134a fetch  0x00000001 , 0x00004143 
+ 00014937  0x0000134b icopy  0x0000002d 
+ 00014938  0x0000134c fetch  0x00000003 , 0x00004140 
+ 00014939  0x0000134d icopy  0x0000002c 
+ 00014940  0x0000134e rtn 
+ 00014941  0x00001351 set0  0x00000025 , 0x00000000 
+ 00014942  0x00001352 bpatch  0x0000008f , 0x00004011 
+ 00014943  0x00001353 fetch  0x00000002 , 0x00000044 
+ 00014944  0x00001354 icopy  0x0000002e 
+ 00014945  0x00001355 fetch  0x00000001 , 0x00000043 
+ 00014946  0x00001356 icopy  0x0000002d 
+ 00014947  0x00001357 fetch  0x00000003 , 0x00000040 
+ 00014948  0x00001358 icopy  0x0000002c 
+ 00014949  0x00001359 rtn 
+ 00014950  0x0000135d bmark1  0x00000020 , 0x00003a69 
+ 00014951  0x0000135e rtnmark0  0x0000001d 
+ 00014952  0x0000135f rtnmark0  0x0000001f 
+ 00014953  0x00001361 and_into  0xffffff00 , 0x0000002c 
+ 00014954  0x00001362 pulse  0x00000015 
+ 00014955  0x00001363 nop  0x00000020 
+ 00014956  0x00001364 rtn 
+ 00014957  0x00001368 set0  0x00000025 , 0x00000000 
+ 00014958  0x00001369 bpatch  0x00000090 , 0x00004012 
+ 00014959  0x0000136a force  0x00000000 , 0x00000015 
+ 00014960  0x0000136b disable  0x00000021 
+ 00014961  0x0000136c disable  0x00000020 
+ 00014962  0x0000136d pulse  0x0000001e 
+ 00014963  0x0000136e hjam  0x00000000 , 0x00008902 
+ 00014964  0x0000136f hjam  0x00000000 , 0x00008901 
+ 00014965  0x00001370 hjam  0x00000000 , 0x00008900 
+ 00014966  0x00001371 hjam  0x00000000 , 0x00008903 
+ 00014967  0x00001372 hjam  0x00000070 , 0x00008904 
+ 00014968  0x00001373 hjam  0x00000000 , 0x00008906 
+ 00014969  0x00001374 rtn 
+ 00014970  0x00001377 set0  0x00000025 , 0x00000000 
+ 00014971  0x00001378 bpatch  0x00000091 , 0x00004012 
+ 00014972  0x00001379 hjam  0x00000000 , 0x00008902 
+ 00014973  0x0000137a hjam  0x00000000 , 0x00008901 
+ 00014974  0x0000137b hjam  0x00000018 , 0x00008900 
+ 00014975  0x0000137c hjam  0x000000a7 , 0x00008903 
+ 00014976  0x0000137d hjam  0x0000007f , 0x00008904 
+ 00014977  0x0000137e rtn 
+ 00014978  0x00001382 set0  0x00000025 , 0x00000000 
+ 00014979  0x00001383 bpatch  0x00000092 , 0x00004012 
+ 00014980  0x00001385 storet  0x00000001 , 0x00000017 
+ 00014981  0x00001386 add  0x00000002 , 0x00000004 , 0x00000011 
+ 00014982  0x00001387 branch  0x00003ab6 
+ 00014983  0x00001389 set0  0x00000025 , 0x00000000 
+ 00014984  0x0000138a bpatch  0x00000093 , 0x00004012 
+ 00014985  0x0000138b hjam  0x000000cf , 0x00008901 
+ 00014986  0x0000138c nop  0x0000000a 
+ 00014987  0x0000138d hjam  0x000000ff , 0x00008900 
+ 00014988  0x0000138e hjam  0x000000af , 0x00008903 
+ 00014989  0x0000138f hjam  0x000000ff , 0x00008904 
+ 00014990  0x00001390 nop  0x0000000a 
+ 00014991  0x00001391 hjam  0x000000a0 , 0x00008902 
+ 00014992  0x00001392 rtn 
+ 00014993  0x00001396 set0  0x00000025 , 0x00000000 
+ 00014994  0x00001397 bpatch  0x00000094 , 0x00004012 
+ 00014995  0x00001398 storet  0x00000001 , 0x00000017 
+ 00014996  0x00001399 add  0x00000002 , 0x00000002 , 0x00000011 
+ 00014997  0x0000139a call  0x00003ab6 
+ 00014998  0x0000139b setarg  0x00000500 
+ 00014999  0x0000139c call  0x00003bf3 
+ 00015000  0x0000139e hjam  0x00000001 , 0x00008906 
+ 00015001  0x0000139f hjam  0x0000003c , 0x00008900 
+ 00015002  0x000013a0 hjam  0x000000e0 , 0x00008901 
+ 00015003  0x000013a1 hjam  0x000000b7 , 0x00008903 
+ 00015004  0x000013a2 hjam  0x0000007f , 0x00008902 
+ 00015005  0x000013a3 rtn 
+ 00015006  0x000013a6 hjam  0x00000006 , 0x00008042 
+ 00015007  0x000013a7 call  0x00003c29 
+ 00015008  0x000013a8 call  0x00003c3a 
+ 00015009  0x000013aa fetch  0x00000002 , 0x00004163 
+ 00015010  0x000013ab bbit0  0x0000000e , 0x00003aa1 
+ 00015011  0x000013ac iforce  0x00000006 
+ 00015012  0x000013ad arg  0x00008900 , 0x00000002 
+ 00015013  0x000013af ifetch  0x00000001 , 0x00000006 
+ 00015014  0x000013b0 beq  0x000000ff , 0x00003aab 
+ 00015015  0x000013b1 ior  0x00000002 , 0x00000005 
+ 00015016  0x000013b2 ifetch  0x00000001 , 0x00000006 
+ 00015017  0x000013b3 istore  0x00000001 , 0x00000005 
+ 00015018  0x000013b4 branch  0x00003aa5 
+ 00015019  0x000013b6 set0  0x00000025 , 0x00000000 
+ 00015020  0x000013b7 bpatch  0x00000095 , 0x00004012 
+ 00015021  0x000013b8 call  0x00003d91 
+ 00015022  0x000013b9 call  0x00003b0a 
+ 00015023  0x000013bb setarg  0x000007d0 
+ 00015024  0x000013bc iadd  0x00000022 , 0x0000003f 
+ 00015025  0x000013bd store  0x00000004 , 0x00000173 
+ 00015026  0x000013be set1  0x00000003 , 0x00000015 
+ 00015027  0x000013bf force  0x00000000 , 0x00000015 
+ 00015028  0x000013c0 ncall  0x00003ace , 0x0000002b 
+ 00015029  0x000013c1 branch  0x00003ae2 
+ 00015030  0x000013c5 set0  0x00000025 , 0x00000000 
+ 00015031  0x000013c6 bpatch  0x00000096 , 0x00004012 
+ 00015032  0x000013c7 setarg  0x00000960 
+ 00015033  0x000013c8 iadd  0x00000011 , 0x00000002 
+ 00015034  0x000013c9 fetch  0x00000001 , 0x0000415d 
+ 00015035  0x000013ca hjam  0x00000004 , 0x0000895f 
+ 00015036  0x000013cb imul32  0x00000002 , 0x0000003f 
+ 00015037  0x000013cc fetcht  0x00000001 , 0x0000415e 
+ 00015038  0x000013cd idiv  0x00000002 
+ 00015039  0x000013ce call  0x00007efd 
+ 00015040  0x000013cf quotient  0x00000011 
+ 00015041  0x000013d0 remainder  0x0000003f 
+ 00015042  0x000013d1 lshift16  0x0000003f , 0x0000003f 
+ 00015043  0x000013d2 lshift4  0x0000003f , 0x0000003f 
+ 00015044  0x000013d3 idiv  0x00000002 
+ 00015045  0x000013d4 call  0x00007efd 
+ 00015046  0x000013d5 quotient  0x0000003f 
+ 00015047  0x000013d6 lshift8  0x0000003f , 0x0000003f 
+ 00015048  0x000013d7 lshift  0x0000003f , 0x0000003f 
+ 00015049  0x000013d8 ior  0x00000011 , 0x0000003f 
+ 00015050  0x000013d9 hstore  0x00000004 , 0x00008960 
+ 00015051  0x000013da hjam  0x00000044 , 0x0000895f 
+ 00015052  0x000013db hjam  0x000000c4 , 0x0000895f 
+ 00015053  0x000013dc rtn 
+ 00015054  0x000013e0 set0  0x00000025 , 0x00000000 
+ 00015055  0x000013e1 bpatch  0x00000097 , 0x00004012 
+ 00015056  0x000013e2 hjam  0x00000002 , 0x00008906 
+ 00015057  0x000013e3 setarg  0x0003d090 
+ 00015058  0x000013e4 call  0x00003bf3 
+ 00015059  0x000013e5 hjam  0x0000007f , 0x00008900 
+ 00015060  0x000013e6 nop  0x00000082 
+ 00015061  0x000013e7 hjam  0x00000030 , 0x00008952 
+ 00015062  0x000013e8 hjam  0x000000d0 , 0x00008901 
+ 00015063  0x000013e9 hjam  0x00000070 , 0x00008952 
+ 00015064  0x000013ea hjam  0x000000f0 , 0x00008952 
+ 00015065  0x000013eb force  0x00000032 , 0x00000039 
+ 00015066  0x000013ed hfetch  0x00000001 , 0x00008980 
+ 00015067  0x000013ee bbit1  0x00000005 , 0x00003add 
+ 00015068  0x000013ef loop  0x00003ada 
+ 00015069  0x000013f1 store  0x00000001 , 0x0000416f 
+ 00015070  0x000013f2 hjam  0x00000000 , 0x00008901 
+ 00015071  0x000013f3 hjam  0x00000000 , 0x00008900 
+ 00015072  0x000013f4 hjam  0x00000000 , 0x00008906 
+ 00015073  0x000013f5 rtn 
+ 00015074  0x000013f8 set0  0x00000025 , 0x00000000 
+ 00015075  0x000013f9 bpatch  0x00000098 , 0x00004013 
+ 00015076  0x000013fa fetch  0x00000001 , 0x0000416f 
+ 00015077  0x000013fb set1  0x00000005 , 0x0000003f 
+ 00015078  0x000013fc hstore  0x00000001 , 0x00008952 
+ 00015079  0x000013fd hfetcht  0x00000001 , 0x00008950 
+ 00015080  0x000013fe and_into  0x00000007 , 0x00000002 
+ 00015081  0x000013ff lshift3  0x0000003f , 0x0000003f 
+ 00015082  0x00001400 ior  0x00000002 , 0x0000003f 
+ 00015083  0x00001401 hstore  0x00000001 , 0x00008950 
+ 00015084  0x00001402 hfetch  0x00000001 , 0x00008951 
+ 00015085  0x00001403 set0  0x00000000 , 0x0000003f 
+ 00015086  0x00001404 hstore  0x00000001 , 0x00008951 
+ 00015087  0x00001405 hfetch  0x00000001 , 0x00008952 
+ 00015088  0x00001406 set0  0x00000005 , 0x0000003f 
+ 00015089  0x00001407 hstore  0x00000001 , 0x00008952 
+ 00015090  0x00001408 rtn 
+ 00015091  0x0000140b set0  0x00000025 , 0x00000000 
+ 00015092  0x0000140c bpatch  0x00000099 , 0x00004013 
+ 00015093  0x0000140d hfetch  0x00000002 , 0x00008981 
+ 00015094  0x0000140e rshift4  0x0000003f , 0x0000003f 
+ 00015095  0x0000140f rshift3  0x0000003f , 0x0000003f 
+ 00015096  0x00001410 sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00015097  0x00001411 and_into  0x000000ff , 0x0000003f 
+ 00015098  0x00001412 div  0x0000003f , 0x0000000a 
+ 00015099  0x00001413 call  0x00007efd 
+ 00015100  0x00001414 quotient  0x0000003f 
+ 00015101  0x00001415 lshift4  0x0000003f , 0x0000003f 
+ 00015102  0x00001416 remainder  0x00000002 
+ 00015103  0x00001417 ior  0x00000002 , 0x0000003f 
+ 00015104  0x00001418 store  0x00000001 , 0x00000018 
+ 00015105  0x00001419 rtn 
+ 00015106  0x0000141c hjam  0x0000000a , 0x00008042 
+ 00015107  0x0000141d hjam  0x00000000 , 0x00008905 
+ 00015108  0x0000141e hfetch  0x00000003 , 0x00008138 
+ 00015109  0x0000141f hstore  0x00000003 , 0x0000804c 
+ 00015110  0x00001420 hjam  0x000000fc , 0x0000804c 
+ 00015111  0x00001421 call  0x00003db0 
+ 00015112  0x00001422 nop  0x000003e8 
+ 00015113  0x00001423 rtn 
+ 00015114  0x00001426 hjam  0x00000006 , 0x00008042 
+ 00015115  0x00001427 hfetch  0x00000001 , 0x0000896b 
+ 00015116  0x00001428 set0  0x00000004 , 0x0000003f 
+ 00015117  0x00001429 set0  0x00000005 , 0x0000003f 
+ 00015118  0x0000142a hstore  0x00000001 , 0x0000896b 
+ 00015119  0x0000142b hjam  0x00000000 , 0x00008905 
+ 00015120  0x0000142c hjam  0x00000000 , 0x00008904 
+ 00015121  0x0000142d hjam  0x00000070 , 0x00008904 
+ 00015122  0x0000142e hjam  0x000000ff , 0x00008905 
+ 00015123  0x0000142f hfetch  0x00000001 , 0x0000896b 
+ 00015124  0x00001430 set1  0x00000004 , 0x0000003f 
+ 00015125  0x00001431 set1  0x00000005 , 0x0000003f 
+ 00015126  0x00001432 hstore  0x00000001 , 0x0000896b 
+ 00015127  0x00001433 call  0x00003b38 
+ 00015128  0x00001434 hfetch  0x00000001 , 0x00008968 
+ 00015129  0x00001435 set1  0x00000007 , 0x0000003f 
+ 00015130  0x00001436 hstore  0x00000001 , 0x00008968 
+ 00015131  0x00001437 set0  0x00000007 , 0x0000003f 
+ 00015132  0x00001438 hstore  0x00000001 , 0x00008968 
+ 00015133  0x00001439 set1  0x00000007 , 0x0000003f 
+ 00015134  0x0000143a hstore  0x00000001 , 0x00008968 
+ 00015135  0x0000143b hjam  0x00000005 , 0x00008042 
+ 00015136  0x0000143c rtn 
+ 00015137  0x0000143f nop  0x000003e8 
+ 00015138  0x00001440 hjam  0x00000004 , 0x00008042 
+ 00015139  0x00001441 nop  0x0000000a 
+ 00015140  0x00001442 hjam  0x00000000 , 0x000080b4 
+ 00015141  0x00001443 hjam  0x00000080 , 0x00008006 
+ 00015142  0x00001445 hfetch  0x00000001 , 0x0000812d 
+ 00015143  0x00001446 bbit0  0x00000001 , 0x00003b26 
+ 00015144  0x00001447 hfetcht  0x00000003 , 0x00008149 
+ 00015145  0x00001448 hjam  0x00000005 , 0x00008042 
+ 00015146  0x00001449 nop  0x0000000a 
+ 00015147  0x0000144a hjam  0x00000080 , 0x00008006 
+ 00015148  0x0000144c hfetch  0x00000001 , 0x0000812d 
+ 00015149  0x0000144d bbit0  0x00000001 , 0x00003b2c 
+ 00015150  0x0000144e hfetch  0x00000003 , 0x00008149 
+ 00015151  0x0000144f isub  0x00000002 , 0x0000003f 
+ 00015152  0x00001450 branch  0x00003b32 , 0x00000002 
+ 00015153  0x00001451 sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00015154  0x00001453 store  0x00000002 , 0x0000018c 
+ 00015155  0x00001454 sub  0x0000003f , 0x00000046 , 0x0000003e 
+ 00015156  0x00001456 nbranch  0x00003b34 , 0x00000002 
+ 00015157  0x00001457 rtn 
+ 00015158  0x0000145a setarg  0x00000f0f 
+ 00015159  0x0000145b branch  0x00003da7 
+ 00015160  0x0000145e setarg  0x0000080f 
+ 00015161  0x0000145f branch  0x00003da7 
+ 00015162  0x00001464 set0  0x00000025 , 0x00000000 
+ 00015163  0x00001465 bpatch  0x0000009a , 0x00004013 
+ 00015164  0x00001466 call  0x00003a87 
+ 00015165  0x00001467 disable  0x00000020 
+ 00015166  0x00001468 enable  0x00000021 
+ 00015167  0x00001469 pulse  0x00000016 
+ 00015168  0x0000146a rtn 
+ 00015169  0x0000146d set0  0x00000025 , 0x00000000 
+ 00015170  0x0000146e bpatch  0x0000009b , 0x00004013 
+ 00015171  0x0000146f fetch  0x00000001 , 0x0000004c 
+ 00015172  0x00001470 isolate1  0x00000002 , 0x0000003f 
+ 00015173  0x00001471 setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00015174  0x00001472 hstore  0x00000001 , 0x00008011 
+ 00015175  0x00001473 arg  0x00000062 , 0x00000006 
+ 00015176  0x00001474 ifetch  0x00000009 , 0x00000006 
+ 00015177  0x00001475 iforce  0x00000032 
+ 00015178  0x00001476 ifetch  0x00000007 , 0x00000006 
+ 00015179  0x00001477 iforce  0x00000033 
+ 00015180  0x00001478 fetch  0x00000001 , 0x00000054 
+ 00015181  0x00001479 add  0x0000003f , 0xffffffff , 0x00000034 
+ 00015182  0x0000147a pulse  0x0000001a 
+ 00015183  0x0000147b rtn 
+ 00015184  0x0000147e set0  0x00000025 , 0x00000000 
+ 00015185  0x0000147f bpatch  0x0000009c , 0x00004013 
+ 00015186  0x00001480 enable  0x0000000d 
+ 00015187  0x00001481 arg  0x00000600 , 0x0000000b 
+ 00015188  0x00001482 correlate  0x00000029 , 0x00000026 
+ 00015189  0x00001484 deposit  0x0000001a 
+ 00015190  0x00001485 store  0x00000006 , 0x0000009c 
+ 00015191  0x00001486 disable  0x0000000d 
+ 00015192  0x00001487 nbranch  0x00003a6d , 0x00000018 
+ 00015193  0x00001488 arg  0x000003bb , 0x00000029 
+ 00015194  0x00001489 increase  0x00000001 , 0x00000028 
+ 00015195  0x0000148a and_into  0x000001fc , 0x00000028 
+ 00015196  0x0000148b rtn 
+ 00015197  0x00001490 enable  0x0000000d 
+ 00015198  0x00001492 correlate  0x0000003e , 0x00000017 
+ 00015199  0x00001493 branch  0x00003b55 , 0x00000018 
+ 00015200  0x00001494 compare  0x00000002 , 0x00000028 , 0x00000002 
+ 00015201  0x00001495 nbranch  0x00003b5e , 0x00000001 
+ 00015202  0x00001496 branch  0x00003b55 
+ 00015203  0x00001499 set0  0x00000025 , 0x00000000 
+ 00015204  0x0000149a bpatch  0x0000009d , 0x00004013 
+ 00015205  0x0000149b arg  0x00000600 , 0x0000000b 
+ 00015206  0x0000149c enable  0x0000000d 
+ 00015207  0x0000149d correlate  0x00000023 , 0x00000026 
+ 00015208  0x0000149e disable  0x0000000d 
+ 00015209  0x0000149f nbranch  0x00003a6d , 0x00000018 
+ 00015210  0x000014a0 rtn 
+ 00015211  0x000014a3 set0  0x00000025 , 0x00000000 
+ 00015212  0x000014a4 bpatch  0x0000009e , 0x00004013 
+ 00015213  0x000014a5 enable  0x0000000d 
+ 00015214  0x000014a6 correlate  0x0000003e , 0x00000003 
+ 00015215  0x000014a7 disable  0x0000000d 
+ 00015216  0x000014a8 nbranch  0x00003a6d , 0x00000018 
+ 00015217  0x000014a9 arg  0x000003bb , 0x00000029 
+ 00015218  0x000014aa and_into  0x000001fc , 0x00000028 
+ 00015219  0x000014ab rtn 
+ 00015220  0x000014af set0  0x00000025 , 0x00000000 
+ 00015221  0x000014b0 bpatch  0x0000009f , 0x00004013 
+ 00015222  0x000014b1 iforce  0x00000011 
+ 00015223  0x000014b2 deposit  0x00000021 
+ 00015224  0x000014b3 iadd  0x00000002 , 0x0000000b 
+ 00015225  0x000014b4 copy  0x0000000b , 0x0000003f 
+ 00015226  0x000014b5 store  0x00000004 , 0x0000416a 
+ 00015227  0x000014b6 deposit  0x00000011 
+ 00015228  0x000014b7 rtn 
+ 00015229  0x000014bb copy  0x0000003f , 0x00000002 
+ 00015230  0x000014bc set0  0x00000025 , 0x00000000 
+ 00015231  0x000014bd bpatch  0x000000a0 , 0x00004014 
+ 00015232  0x000014be copy  0x00000002 , 0x0000003f 
+ 00015233  0x000014bf call  0x00007e91 
+ 00015234  0x000014c0 lshift16  0x00000021 , 0x0000003f 
+ 00015235  0x000014c1 set1  0x0000002c , 0x0000003f 
+ 00015236  0x000014c2 call  0x00007e7a 
+ 00015237  0x000014c3 set0  0x0000002c , 0x0000003f 
+ 00015238  0x000014c4 call  0x00003bda 
+ 00015239  0x000014c5 call  0x00007e7a 
+ 00015240  0x000014c6 rtn  0x00000028 
+ 00015241  0x000014c7 call  0x00007e84 
+ 00015242  0x000014c8 iforce  0x0000001b 
+ 00015243  0x000014c9 until  0x0000003e , 0x00000003 
+ 00015244  0x000014ca rtn 
+ 00015245  0x000014ce set0  0x00000025 , 0x00000000 
+ 00015246  0x000014cf bpatch  0x000000a1 , 0x00004014 
+ 00015247  0x000014d0 branch  0x00003b93 , 0x00000030 
+ 00015248  0x000014d1 until  0x00000029 , 0x00000026 
+ 00015249  0x000014d3 copy  0x00000028 , 0x00000002 
+ 00015250  0x000014d4 branch  0x00003b96 
+ 00015251  0x000014d6 branch  0x00003b95 , 0x0000002e 
+ 00015252  0x000014d7 until  0x00000023 , 0x00000026 
+ 00015253  0x000014d9 copy  0x00000022 , 0x00000002 
+ 00015254  0x000014db branch  0x00003ba3 , 0x00000028 
+ 00015255  0x000014dc compare  0x00000001 , 0x00000002 , 0x00000003 
+ 00015256  0x000014dd nbranch  0x00003b8d , 0x00000001 
+ 00015257  0x000014df set0  0x00000025 , 0x00000000 
+ 00015258  0x000014e0 bpatch  0x000000a2 , 0x00004014 
+ 00015259  0x000014e1 fetch  0x00000001 , 0x00000030 
+ 00015260  0x000014e2 rtnbit0  0x00000000 
+ 00015261  0x000014e3 fetch  0x00000004 , 0x0000416a 
+ 00015262  0x000014e4 isub  0x00000002 , 0x0000003f 
+ 00015263  0x000014e5 nrtn  0x00000002 
+ 00015264  0x000014e6 sub  0x0000003f , 0x000000ff , 0x0000003e 
+ 00015265  0x000014e7 branch  0x00003b8d , 0x00000002 
+ 00015266  0x000014e8 rtn 
+ 00015267  0x000014ea compare  0x00000003 , 0x00000002 , 0x00000003 
+ 00015268  0x000014eb nbranch  0x00003b8d , 0x00000001 
+ 00015269  0x000014ec branch  0x00003b99 
+ 00015270  0x000014ef set0  0x00000025 , 0x00000000 
+ 00015271  0x000014f0 bpatch  0x000000a3 , 0x00004014 
+ 00015272  0x000014f1 arg  0x00000600 , 0x0000000b 
+ 00015273  0x000014f2 branch  0x00003b8d 
+ 00015274  0x000014f5 disable  0x00000028 
+ 00015275  0x000014f6 branch  0x00003ba6 
+ 00015276  0x000014f9 enable  0x00000028 
+ 00015277  0x000014fa branch  0x00003ba6 
+ 00015278  0x000014fd set0  0x00000025 , 0x00000000 
+ 00015279  0x000014fe bpatch  0x000000a4 , 0x00004014 
+ 00015280  0x000014ff call  0x00003b41 
+ 00015281  0x00001500 disable  0x00000021 
+ 00015282  0x00001501 enable  0x00000020 
+ 00015283  0x00001502 rtn 
+ 00015284  0x00001507 set0  0x00000025 , 0x00000000 
+ 00015285  0x00001508 bpatch  0x000000a5 , 0x00004014 
+ 00015286  0x00001509 arg  0x00000e43 , 0x0000000b 
+ 00015287  0x0000150a until  0x00000023 , 0x00000026 
+ 00015288  0x0000150b pulse  0x00000016 
+ 00015289  0x0000150c rtn 
+ 00015290  0x0000150f set0  0x00000025 , 0x00000000 
+ 00015291  0x00001510 bpatch  0x000000a6 , 0x00004014 
+ 00015292  0x00001511 arg  0x00000d00 , 0x0000000b 
+ 00015293  0x00001512 until  0x00000023 , 0x00000026 
+ 00015294  0x00001513 rtn 
+ 00015295  0x00001517 set0  0x00000025 , 0x00000000 
+ 00015296  0x00001518 bpatch  0x000000a7 , 0x00004014 
+ 00015297  0x00001519 arg  0x00000e43 , 0x0000000b 
+ 00015298  0x0000151a until  0x00000029 , 0x00000026 
+ 00015299  0x0000151b pulse  0x00000016 
+ 00015300  0x0000151c rtn 
+ 00015301  0x0000151f set0  0x00000025 , 0x00000000 
+ 00015302  0x00001520 bpatch  0x000000a8 , 0x00004015 
+ 00015303  0x00001521 preload  0x00000009 
+ 00015304  0x00001522 enable  0x0000001d 
+ 00015305  0x00001523 set1  0x00000000 , 0x00000015 
+ 00015306  0x00001524 inject  0x00000003 , 0x00000048 
+ 00015307  0x00001525 disable  0x0000001d 
+ 00015308  0x00001526 rtn 
+ 00015309  0x0000152a copy  0x00000025 , 0x00000002 
+ 00015310  0x0000152b or_into  0x00000060 , 0x00000002 
+ 00015311  0x0000152c copy  0x00000002 , 0x0000000e 
+ 00015312  0x0000152d rtn 
+ 00015313  0x00001533 set0  0x00000025 , 0x00000000 
+ 00015314  0x00001534 bpatch  0x000000a9 , 0x00004015 
+ 00015315  0x00001535 fetch  0x00000001 , 0x00004130 
+ 00015316  0x00001536 increase  0x00000001 , 0x0000003f 
+ 00015317  0x00001537 bne  0x00000007 , 0x00003bd7 
+ 00015318  0x00001538 force  0x00000001 , 0x0000003f 
+ 00015319  0x0000153a store  0x00000001 , 0x00004130 
+ 00015320  0x0000153b iforce  0x00000004 
+ 00015321  0x0000153c rtn 
+ 00015322  0x0000153f copy  0x00000019 , 0x00000002 
+ 00015323  0x00001540 rtn  0x00000029 
+ 00015324  0x00001541 copy  0x0000001a , 0x00000002 
+ 00015325  0x00001542 rtn 
+ 00015326  0x00001545 deposit  0x00000022 
+ 00015327  0x00001546 rtn  0x00000029 
+ 00015328  0x00001547 deposit  0x00000028 
+ 00015329  0x00001548 rtn 
+ 00015330  0x0000154c set0  0x00000025 , 0x00000000 
+ 00015331  0x0000154d bpatch  0x000000aa , 0x00004015 
+ 00015332  0x0000154e fetcht  0x00000004 , 0x0000004d 
+ 00015333  0x0000154f call  0x00003bde 
+ 00015334  0x00001550 isub  0x00000002 , 0x0000000b 
+ 00015335  0x00001551 deposit  0x0000000b 
+ 00015336  0x00001552 fetcht  0x00000002 , 0x00000051 
+ 00015337  0x00001553 lshift  0x00000002 , 0x00000002 
+ 00015338  0x00001554 isub  0x00000002 , 0x0000003f 
+ 00015339  0x00001555 rtn 
+ 00015340  0x00001558 set0  0x00000025 , 0x00000000 
+ 00015341  0x00001559 bpatch  0x000000ab , 0x00004015 
+ 00015342  0x0000155a call  0x00003bde 
+ 00015343  0x0000155b store  0x00000004 , 0x0000004d 
+ 00015344  0x0000155c rtn 
+ 00015345  0x0000155f branch  0x00003bf1 
+ 00015346  0x00001562 branch  0x00003bf2 
+ 00015347  0x00001565 rtn  0x00000034 
+ 00015348  0x00001567 rshift  0x0000003f , 0x0000003f 
+ 00015349  0x00001568 increase  0xfffffffd , 0x0000003f 
+ 00015350  0x0000156a increase  0xffffffff , 0x0000003f 
+ 00015351  0x0000156b nbranch  0x00003bf6 , 0x00000005 
+ 00015352  0x0000156c force  0x00000000 , 0x0000003f 
+ 00015353  0x0000156d rtn 
+ 00015354  0x00001573 arg  0x00000010 , 0x00000039 
+ 00015355  0x00001574 arg  0x00000000 , 0x00000005 
+ 00015356  0x00001575 call  0x00007e3b 
+ 00015357  0x00001576 arg  0x000003c0 , 0x00000005 
+ 00015358  0x00001577 arg  0x0000000a , 0x00000039 
+ 00015359  0x00001578 call  0x00007e3b 
+ 00015360  0x00001579 jam  0x00000000 , 0x000007de 
+ 00015361  0x0000157a jam  0x00000000 , 0x00000b7d 
+ 00015362  0x0000157b jam  0x00000000 , 0x0000040d 
+ 00015363  0x0000157c jam  0x00000000 , 0x00000189 
+ 00015364  0x0000157d jam  0x00000000 , 0x0000044d 
+ 00015365  0x0000157e set0  0x00000025 , 0x00000000 
+ 00015366  0x0000157f bpatch  0x000000ac , 0x00004015 
+ 00015367  0x00001580 jam  0x00000000 , 0x00000177 
+ 00015368  0x00001581 jam  0x00000000 , 0x00000153 
+ 00015369  0x00001582 jam  0x00000000 , 0x0000015e 
+ 00015370  0x00001583 setarg  0x009e8b33 
+ 00015371  0x00001584 store  0x00000003 , 0x00004147 
+ 00015372  0x00001585 setarg  0x00000153 
+ 00015373  0x00001586 store  0x00000002 , 0x00000083 
+ 00015374  0x00001587 jam  0x0000001e , 0x00000085 
+ 00015375  0x00001588 jam  0x00000001 , 0x00000086 
+ 00015376  0x00001589 jam  0x00000007 , 0x00000088 
+ 00015377  0x0000158a setarg  0x0012e904 
+ 00015378  0x0000158b store  0x00000003 , 0x00000080 
+ 00015379  0x0000158c setarg  0x00000a04 
+ 00015380  0x0000158d store  0x00000003 , 0x000046fd 
+ 00015381  0x0000158e setarg  0x000012e9 
+ 00015382  0x0000158f store  0x00000002 , 0x00004700 
+ 00015383  0x00001590 jam  0x00000060 , 0x0000008f 
+ 00015384  0x00001591 jam  0x00000005 , 0x00004171 
+ 00015385  0x00001592 jam  0x00000002 , 0x00000014 
+ 00015386  0x00001593 call  0x000075cd 
+ 00015387  0x00001594 set0  0x00000025 , 0x00000000 
+ 00015388  0x00001595 bpatch  0x000000ad , 0x00004015 
+ 00015389  0x00001596 rtn  0x0000002b 
+ 00015390  0x00001597 setarg  0x00000000 
+ 00015391  0x00001598 store  0x00000002 , 0x00000091 
+ 00015392  0x00001599 rshift  0x00000022 , 0x0000003f 
+ 00015393  0x0000159a store  0x00000004 , 0x00004134 
+ 00015394  0x0000159b rtn 
+ 00015395  0x000015a0 setarg  0x000000aa , 0x0000003f 
+ 00015396  0x000015a1 arg  0x000000d3 , 0x00000005 
+ 00015397  0x000015a2 force  0x0000001e , 0x00000039 
+ 00015398  0x000015a4 istore  0x00000001 , 0x00000005 
+ 00015399  0x000015a5 loop  0x00003c26 
+ 00015400  0x000015a6 rtn 
+ 00015401  0x000015a9 hjam  0x00000002 , 0x00000907 
+ 00015402  0x000015aa hjam  0x0000001f , 0x00000908 
+ 00015403  0x000015ab hjam  0x0000001f , 0x00000909 
+ 00015404  0x000015ac hjam  0x000000e0 , 0x0000090a 
+ 00015405  0x000015ad hjam  0x0000004e , 0x0000090b 
+ 00015406  0x000015ae hjam  0x00000045 , 0x00008912 
+ 00015407  0x000015af hjam  0x00000000 , 0x00000953 
+ 00015408  0x000015b1 hjam  0x000000fb , 0x0000094c 
+ 00015409  0x000015b2 hjam  0x000000ef , 0x0000094d 
+ 00015410  0x000015b3 hjam  0x0000000c , 0x0000094e 
+ 00015411  0x000015b5 hjam  0x00000088 , 0x0000096f 
+ 00015412  0x000015b6 hjam  0x00000030 , 0x00000973 
+ 00015413  0x000015b9 hjam  0x00000000 , 0x00000953 
+ 00015414  0x000015ba hjam  0x000000c9 , 0x00000956 
+ 00015415  0x000015bb hjam  0x0000006c , 0x00000958 
+ 00015416  0x000015bc hjam  0x00000050 , 0x00000959 
+ 00015417  0x000015bd rtn 
+ 00015418  0x000015c1 hjam  0x000000a9 , 0x00000930 
+ 00015419  0x000015c2 hjam  0x000000b1 , 0x0000092f 
+ 00015420  0x000015c3 hjam  0x000000b9 , 0x0000092e 
+ 00015421  0x000015c4 hjam  0x000000ad , 0x0000092d 
+ 00015422  0x000015c5 hjam  0x000000b1 , 0x0000092c 
+ 00015423  0x000015c6 hjam  0x000000b5 , 0x0000092b 
+ 00015424  0x000015c7 hjam  0x000000ba , 0x0000092a 
+ 00015425  0x000015c8 hjam  0x000000be , 0x00000929 
+ 00015426  0x000015c9 hjam  0x000000c2 , 0x00000928 
+ 00015427  0x000015ca hjam  0x000000c6 , 0x00000927 
+ 00015428  0x000015cb hjam  0x000000ca , 0x00000926 
+ 00015429  0x000015cc hjam  0x000000ce , 0x00000925 
+ 00015430  0x000015cd hjam  0x000000d2 , 0x00000924 
+ 00015431  0x000015ce hjam  0x000000d6 , 0x00000923 
+ 00015432  0x000015cf hjam  0x000000da , 0x00000922 
+ 00015433  0x000015d0 hjam  0x000000de , 0x00000921 
+ 00015434  0x000015d1 hjam  0x000000e2 , 0x00000920 
+ 00015435  0x000015d2 hjam  0x000000e6 , 0x0000091f 
+ 00015436  0x000015d3 hjam  0x000000ea , 0x0000091e 
+ 00015437  0x000015d4 hjam  0x000000ee , 0x0000091d 
+ 00015438  0x000015d5 hjam  0x000000f2 , 0x0000091c 
+ 00015439  0x000015d6 hjam  0x000000f6 , 0x0000091b 
+ 00015440  0x000015d7 hjam  0x000000fb , 0x0000091a 
+ 00015441  0x000015d9 hjam  0x000000f5 , 0x00000947 
+ 00015442  0x000015da hjam  0x000000e5 , 0x00000946 
+ 00015443  0x000015db hjam  0x000000d5 , 0x00000945 
+ 00015444  0x000015dc hjam  0x000000d8 , 0x00000944 
+ 00015445  0x000015dd hjam  0x000000c9 , 0x00000943 
+ 00015446  0x000015de hjam  0x000000c8 , 0x00000942 
+ 00015447  0x000015df hjam  0x00000089 , 0x00000941 
+ 00015448  0x000015e0 hjam  0x00000088 , 0x00000940 
+ 00015449  0x000015e1 hjam  0x00000087 , 0x0000093f 
+ 00015450  0x000015e2 hjam  0x00000048 , 0x0000093e 
+ 00015451  0x000015e3 hjam  0x00000009 , 0x0000093d 
+ 00015452  0x000015e4 hjam  0x00000008 , 0x0000093c 
+ 00015453  0x000015e5 hjam  0x000000c9 , 0x0000093b 
+ 00015454  0x000015e6 hjam  0x000000c8 , 0x0000093a 
+ 00015455  0x000015e7 hjam  0x000000c7 , 0x00000939 
+ 00015456  0x000015e8 hjam  0x000000c6 , 0x00000938 
+ 00015457  0x000015e9 hjam  0x000000c5 , 0x00000937 
+ 00015458  0x000015ea hjam  0x000000c4 , 0x00000936 
+ 00015459  0x000015eb hjam  0x000000c3 , 0x00000935 
+ 00015460  0x000015ec hjam  0x000000c2 , 0x00000934 
+ 00015461  0x000015ed hjam  0x000000c1 , 0x00000933 
+ 00015462  0x000015ee hjam  0x000000c0 , 0x00000932 
+ 00015463  0x000015ef hjam  0x00000080 , 0x00000931 
+ 00015464  0x000015f0 rtn 
+ 00015465  0x000015f5 enable  0x00000036 
+ 00015466  0x000015f6 setarg  0x008e89be 
+ 00015467  0x000015f7 lshift8  0x0000003f , 0x0000003f 
+ 00015468  0x000015f8 or_into  0x000000d6 , 0x0000003f 
+ 00015469  0x000015f9 iforce  0x00000009 
+ 00015470  0x000015fa hjam  0x00000007 , 0x00000914 
+ 00015471  0x000015fb hjam  0x000000a0 , 0x0000090a 
+ 00015472  0x000015fc hjam  0x0000008f , 0x0000090d 
+ 00015473  0x000015fd hjam  0x0000000f , 0x00000911 
+ 00015474  0x000015fe hjam  0x00000087 , 0x00000912 
+ 00015475  0x000015ff rtn 
+ 00015476  0x00001605 setarg  0x0000ee21 
+ 00015477  0x00001606 hstore  0x00000002 , 0x00008050 
+ 00015478  0x00001607 hfetch  0x00000001 , 0x0000813e 
+ 00015479  0x00001608 bbit0  0x00000003 , 0x00006725 
+ 00015480  0x00001609 enable  0x0000002b 
+ 00015481  0x0000160a bbit0  0x00000007 , 0x00003c7f 
+ 00015482  0x0000160b disable  0x0000002b 
+ 00015483  0x0000160c deposit  0x00000027 
+ 00015484  0x0000160d nbranch  0x00003c7f , 0x00000034 
+ 00015485  0x0000160e arg  0xffffffff , 0x00000002 
+ 00015486  0x0000160f branch  0x00003cec 
+ 00015487  0x00001611 hfetch  0x00000003 , 0x0000813c 
+ 00015488  0x00001612 hstore  0x00000003 , 0x0000804c 
+ 00015489  0x00001613 ifetch  0x00000001 , 0x00000006 
+ 00015490  0x00001614 or_into  0x000000ef , 0x0000003f 
+ 00015491  0x00001615 istore  0x00000001 , 0x00000005 
+ 00015492  0x00001616 call  0x00003db2 
+ 00015493  0x00001617 hfetch  0x00000001 , 0x0000804f 
+ 00015494  0x00001618 set1  0x00000004 , 0x0000003f 
+ 00015495  0x00001619 hstore  0x00000001 , 0x0000804f 
+ 00015496  0x0000161a call  0x00003db2 
+ 00015497  0x0000161b call  0x00003c90 , 0x0000002b 
+ 00015498  0x0000161c hfetch  0x00000001 , 0x0000804e 
+ 00015499  0x0000161d set0  0x00000003 , 0x0000003f 
+ 00015500  0x0000161e hstore  0x00000001 , 0x0000804e 
+ 00015501  0x0000161f call  0x00003db2 
+ 00015502  0x00001620 rtn  0x0000002b 
+ 00015503  0x00001621 branch  0x00006725 
+ 00015504  0x00001624 fetch  0x00000001 , 0x00004239 
+ 00015505  0x00001625 hstore  0x00000001 , 0x00008086 
+ 00015506  0x00001626 fetch  0x00000003 , 0x0000422e 
+ 00015507  0x00001627 hstore  0x00000003 , 0x00008080 
+ 00015508  0x00001628 fetch  0x00000004 , 0x00004222 
+ 00015509  0x00001629 hstore  0x00000004 , 0x00008074 
+ 00015510  0x0000162a fetch  0x00000004 , 0x0000421e 
+ 00015511  0x0000162b hstore  0x00000004 , 0x00008070 
+ 00015512  0x0000162c fetch  0x00000008 , 0x00004226 
+ 00015513  0x0000162d hstore  0x00000008 , 0x00008078 
+ 00015514  0x0000162e fetch  0x00000008 , 0x00004231 
+ 00015515  0x0000162f iforce  0x00000000 
+ 00015516  0x00001630 hfetch  0x00000008 , 0x00008140 
+ 00015517  0x00001631 store  0x00000008 , 0x000000a3 
+ 00015518  0x00001632 call  0x00006781 
+ 00015519  0x00001633 rtn 
+ 00015520  0x00001636 deposit  0x00000000 
+ 00015521  0x00001637 store  0x00000008 , 0x00004231 
+ 00015522  0x00001638 hfetch  0x00000008 , 0x00008070 
+ 00015523  0x00001639 store  0x00000008 , 0x0000421e 
+ 00015524  0x0000163a ifetch  0x00000008 , 0x00000006 
+ 00015525  0x0000163b istore  0x00000008 , 0x00000005 
+ 00015526  0x0000163c hfetch  0x00000003 , 0x00008080 
+ 00015527  0x0000163d store  0x00000003 , 0x0000422e 
+ 00015528  0x0000163e hfetch  0x00000001 , 0x00008086 
+ 00015529  0x0000163f store  0x00000001 , 0x00004239 
+ 00015530  0x00001640 branch  0x00003db8 
+ 00015531  0x00001643 hfetch  0x00000001 , 0x000080b4 
+ 00015532  0x00001644 nbranch  0x00003cb1 , 0x00000034 
+ 00015533  0x00001645 fetch  0x00000003 , 0x00004210 
+ 00015534  0x00001646 nrtn  0x00000034 
+ 00015535  0x00001647 hjam  0x000000c0 , 0x000080b4 
+ 00015536  0x00001648 hjam  0x00000080 , 0x00008006 
+ 00015537  0x0000164a hfetch  0x00000001 , 0x0000812d 
+ 00015538  0x0000164b rtnbit0  0x00000001 
+ 00015539  0x0000164c hfetch  0x00000003 , 0x00008149 
+ 00015540  0x0000164d store  0x00000003 , 0x00004210 
+ 00015541  0x0000164e rtn 
+ 00015542  0x00001653 set0  0x00000025 , 0x00000000 
+ 00015543  0x00001654 bpatch  0x000000ae , 0x00004015 
+ 00015544  0x00001655 deposit  0x0000001a 
+ 00015545  0x00001656 call  0x00007e78 
+ 00015546  0x00001657 fetcht  0x00000004 , 0x00004200 
+ 00015547  0x00001658 sub  0x00000002 , 0x000000ff , 0x0000003e 
+ 00015548  0x00001659 rtn  0x00000002 
+ 00015549  0x0000165a lshift8  0x0000003f , 0x0000003f 
+ 00015550  0x0000165b lshift4  0x0000003f , 0x0000003f 
+ 00015551  0x0000165c idiv  0x00000002 
+ 00015552  0x0000165d call  0x00007efd 
+ 00015553  0x0000165e quotient  0x0000003f 
+ 00015554  0x0000165f arg  0x000000c8 , 0x00000002 
+ 00015555  0x00001660 call  0x00007f2e 
+ 00015556  0x00001661 store  0x00000001 , 0x0000009b 
+ 00015557  0x00001662 nbranch  0x00003cc7 , 0x00000028 
+ 00015558  0x00001663 sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00015559  0x00001665 fetcht  0x00000003 , 0x00004210 
+ 00015560  0x00001666 iadd  0x00000002 , 0x0000003f 
+ 00015561  0x00001667 store  0x00000003 , 0x00004210 
+ 00015562  0x00001669 setarg  0x00000000 
+ 00015563  0x0000166a store  0x00000004 , 0x00004200 
+ 00015564  0x0000166b rtn 
+ 00015565  0x0000166f set0  0x00000025 , 0x00000000 
+ 00015566  0x00001670 bpatch  0x000000af , 0x00004015 
+ 00015567  0x00001671 call  0x00003db8 
+ 00015568  0x00001672 hfetch  0x00000004 , 0x00008138 
+ 00015569  0x00001673 set0  0x0000000f , 0x0000003f 
+ 00015570  0x00001674 hstore  0x00000004 , 0x0000804c 
+ 00015571  0x00001675 call  0x00003db0 
+ 00015572  0x00001677 arg  0xffffffff , 0x00000002 
+ 00015573  0x00001678 fetch  0x00000001 , 0x000041f8 
+ 00015574  0x00001679 store  0x00000001 , 0x0000421d 
+ 00015575  0x0000167a fetch  0x00000001 , 0x0000421b 
+ 00015576  0x0000167b set1  0x00000007 , 0x0000003f 
+ 00015577  0x0000167c store  0x00000001 , 0x0000421b 
+ 00015578  0x00001680 set0  0x00000025 , 0x00000000 
+ 00015579  0x00001681 bpatch  0x000000b0 , 0x00004016 
+ 00015580  0x00001682 fetch  0x00000004 , 0x00004200 
+ 00015581  0x00001683 iadd  0x00000002 , 0x0000003f 
+ 00015582  0x00001684 store  0x00000004 , 0x00004200 
+ 00015583  0x00001685 call  0x00003ca0 
+ 00015584  0x00001686 fetch  0x00000005 , 0x00004219 
+ 00015585  0x00001687 hstore  0x00000004 , 0x0000804c 
+ 00015586  0x00001688 rshift32  0x0000003f , 0x00000011 
+ 00015587  0x00001689 until  0x0000003e , 0x00000033 
+ 00015588  0x0000168a deposit  0x00000019 
+ 00015589  0x0000168b store  0x00000006 , 0x00004204 
+ 00015590  0x0000168c hjam  0x00000002 , 0x00008005 
+ 00015591  0x0000168d until  0x0000003e , 0x00000033 
+ 00015592  0x0000168e until  0x0000003e , 0x00000033 
+ 00015593  0x0000168f deposit  0x00000011 
+ 00015594  0x00001690 hstore  0x00000001 , 0x0000804f 
+ 00015595  0x00001691 hjam  0x00000002 , 0x00008005 
+ 00015596  0x00001693 until  0x0000003e , 0x00000033 
+ 00015597  0x00001694 until  0x0000003e , 0x00000033 
+ 00015598  0x00001695 hstoret  0x00000004 , 0x0000804c 
+ 00015599  0x00001696 hjam  0x00000010 , 0x00008005 
+ 00015600  0x00001697 until  0x0000003e , 0x0000003f 
+ 00015601  0x0000169d set0  0x00000025 , 0x00000000 
+ 00015602  0x0000169e bpatch  0x000000b1 , 0x00004016 
+ 00015603  0x0000169f setarg  0x00000000 
+ 00015604  0x000016a0 copy  0x00000027 , 0x0000003e 
+ 00015605  0x000016a1 branch  0x00003cfd , 0x00000005 
+ 00015606  0x000016a2 hfetch  0x00000001 , 0x0000813c 
+ 00015607  0x000016a3 hfetcht  0x00000001 , 0x0000813d 
+ 00015608  0x000016a4 isub  0x00000002 , 0x0000003e 
+ 00015609  0x000016a5 branch  0x00003cfb , 0x00000002 
+ 00015610  0x000016a6 deposit  0x00000002 
+ 00015611  0x000016a8 isub  0x00000027 , 0x0000003f 
+ 00015612  0x000016a9 increase  0x00000001 , 0x0000003f 
+ 00015613  0x000016ab increase  0x00000008 , 0x0000003f 
+ 00015614  0x000016ac until  0x0000003e , 0x00000033 
+ 00015615  0x000016ad iadd  0x00000031 , 0x0000003f 
+ 00015616  0x000016ae fetcht  0x00000004 , 0x000041fc 
+ 00015617  0x000016af iadd  0x00000002 , 0x0000003f 
+ 00015618  0x000016b0 fetcht  0x00000003 , 0x00004210 
+ 00015619  0x000016b1 imul32  0x00000002 , 0x0000003f 
+ 00015620  0x000016b2 rshift8  0x0000003f , 0x0000003f 
+ 00015621  0x000016b3 rshift4  0x0000003f , 0x0000003f 
+ 00015622  0x000016b4 increase  0x0000006e , 0x0000003f 
+ 00015623  0x000016b5 arg  0x00000ea6 , 0x00000002 
+ 00015624  0x000016b6 idiv  0x00000002 
+ 00015625  0x000016b7 call  0x00007efd 
+ 00015626  0x000016b8 quotient  0x0000003f 
+ 00015627  0x000016b9 lshift16  0x0000003f , 0x0000003f 
+ 00015628  0x000016ba remainder  0x00000002 
+ 00015629  0x000016bb ior  0x00000002 , 0x0000003f 
+ 00015630  0x000016bc fetcht  0x00000006 , 0x00004204 
+ 00015631  0x000016bd call  0x00007e6d 
+ 00015632  0x000016be copy  0x00000002 , 0x00000019 
+ 00015633  0x000016bf fetch  0x00000006 , 0x00004048 
+ 00015634  0x000016c0 call  0x000039c0 
+ 00015635  0x000016c1 deposit  0x0000001a 
+ 00015636  0x000016c2 store  0x00000006 , 0x00000161 
+ 00015637  0x000016c3 deposit  0x00000027 
+ 00015638  0x000016c4 istore  0x00000001 , 0x00000005 
+ 00015639  0x000016c5 hfetch  0x00000001 , 0x0000811d 
+ 00015640  0x000016c6 or_into  0x000000f0 , 0x0000003f 
+ 00015641  0x000016c7 istore  0x00000001 , 0x00000005 
+ 00015642  0x000016c8 call  0x00007f52 
+ 00015643  0x000016c9 rtn 
+ 00015644  0x000016cc set0  0x00000025 , 0x00000000 
+ 00015645  0x000016cd bpatch  0x000000b2 , 0x00004016 
+ 00015646  0x000016ce call  0x00003cab 
+ 00015647  0x000016cf fetch  0x00000003 , 0x00004210 
+ 00015648  0x000016d0 rtn  0x00000034 
+ 00015649  0x000016d1 fetch  0x00000001 , 0x00004131 
+ 00015650  0x000016d2 rtn  0x00000034 
+ 00015651  0x000016d3 call  0x00003dca 
+ 00015652  0x000016d4 nrtn  0x00000034 
+ 00015653  0x000016d6 fetch  0x00000001 , 0x00004040 
+ 00015654  0x000016d7 compare  0x00000003 , 0x0000003f , 0x00000007 
+ 00015655  0x000016d8 nbranch  0x00003d4d , 0x00000001 
+ 00015656  0x000016d9 fetch  0x00000002 , 0x00004042 
+ 00015657  0x000016da rtn  0x00000034 
+ 00015658  0x000016db rtn  0x0000002b 
+ 00015659  0x000016dc set0  0x00000025 , 0x00000000 
+ 00015660  0x000016dd bpatch  0x000000b3 , 0x00004016 
+ 00015661  0x000016df fetcht  0x00000001 , 0x000000a2 
+ 00015662  0x000016e0 fetch  0x00000002 , 0x00004042 
+ 00015663  0x000016e1 imul32  0x00000002 , 0x0000003f 
+ 00015664  0x000016e2 rshift4  0x00000002 , 0x00000002 
+ 00015665  0x000016e3 rshift2  0x00000002 , 0x00000002 
+ 00015666  0x000016e4 isub  0x00000002 , 0x0000003f 
+ 00015667  0x000016e5 fetcht  0x00000004 , 0x00004044 
+ 00015668  0x000016e6 iadd  0x00000002 , 0x0000003f 
+ 00015669  0x000016e7 fetcht  0x00000001 , 0x000041f7 
+ 00015670  0x000016e8 isub  0x00000002 , 0x0000003f 
+ 00015671  0x000016e9 lshift16  0x0000003f , 0x00000030 
+ 00015672  0x000016ea set0  0x00000025 , 0x00000000 
+ 00015673  0x000016eb bpatch  0x000000b4 , 0x00004016 
+ 00015674  0x000016ec fetch  0x00000002 , 0x0000404e 
+ 00015675  0x000016ed rshift  0x0000003f , 0x0000003f 
+ 00015676  0x000016ee call  0x00007e91 
+ 00015677  0x000016ef deposit  0x00000030 
+ 00015678  0x000016f0 call  0x00007e7a 
+ 00015679  0x000016f1 copy  0x0000001a , 0x00000002 
+ 00015680  0x000016f2 call  0x00007e78 
+ 00015681  0x000016f3 rtn  0x00000028 
+ 00015682  0x000016f5 call  0x00007e8a 
+ 00015683  0x000016f7 set0  0x00000025 , 0x00000000 
+ 00015684  0x000016f8 bpatch  0x000000b5 , 0x00004016 
+ 00015685  0x000016f9 fetch  0x00000001 , 0x00004219 
+ 00015686  0x000016fa isub  0x00000002 , 0x0000003e 
+ 00015687  0x000016fb branch  0x00003cca , 0x00000002 
+ 00015688  0x000016fc storet  0x00000004 , 0x000041fc 
+ 00015689  0x000016fd call  0x00003ea9 
+ 00015690  0x000016fe call  0x0000530c 
+ 00015691  0x000016ff fetcht  0x00000004 , 0x000041fc 
+ 00015692  0x00001700 branch  0x00003cda 
+ 00015693  0x00001703 set0  0x00000025 , 0x00000000 
+ 00015694  0x00001704 bpatch  0x000000b6 , 0x00004016 
+ 00015695  0x00001705 fetch  0x00000001 , 0x00004040 
+ 00015696  0x00001706 rtnbit1  0x00000000 
+ 00015697  0x00001707 rtnbit1  0x00000003 
+ 00015698  0x00001708 fetch  0x00000001 , 0x000047dc 
+ 00015699  0x00001709 branch  0x00003d56 , 0x00000034 
+ 00015700  0x0000170a fetch  0x00000001 , 0x00004793 
+ 00015701  0x0000170b rtn  0x00000034 
+ 00015702  0x0000170d fetch  0x00000001 , 0x000043d8 
+ 00015703  0x0000170e nbranch  0x00003d5a , 0x00000034 
+ 00015704  0x0000170f fetch  0x00000001 , 0x00004133 
+ 00015705  0x00001710 rtn  0x00000034 
+ 00015706  0x00001712 fetch  0x00000002 , 0x000041f5 
+ 00015707  0x00001713 rtn  0x00000034 
+ 00015708  0x00001715 fetcht  0x00000001 , 0x000041f7 
+ 00015709  0x00001716 isub  0x00000002 , 0x0000003f 
+ 00015710  0x00001717 arg  0x00001d4c , 0x00000002 
+ 00015711  0x00001718 imul32  0x00000002 , 0x0000003f 
+ 00015712  0x00001719 branch  0x00003d42 
+ 00015713  0x0000171c set0  0x00000025 , 0x00000000 
+ 00015714  0x0000171d bpatch  0x000000b7 , 0x00004016 
+ 00015715  0x0000171e disable  0x0000002b 
+ 00015716  0x0000171f fetch  0x00000001 , 0x00000030 
+ 00015717  0x00001720 rtnbit0  0x00000001 
+ 00015718  0x00001721 nbranch  0x00003d7b , 0x0000002d 
+ 00015719  0x00001722 call  0x00003d76 
+ 00015720  0x00001723 fetch  0x00000002 , 0x00004161 
+ 00015721  0x00001724 store  0x00000002 , 0x0000003e 
+ 00015722  0x00001725 fetch  0x00000001 , 0x00000047 
+ 00015723  0x00001726 bbit1  0x00000003 , 0x00003d8a 
+ 00015724  0x00001727 bmark0  0x0000000d , 0x00003d8a 
+ 00015725  0x00001728 call  0x0000527e 
+ 00015726  0x00001729 nbranch  0x00003d8a , 0x00000034 
+ 00015727  0x0000172b jam  0x00000000 , 0x000000a2 
+ 00015728  0x0000172c bmark0  0x0000000d , 0x00003d8a 
+ 00015729  0x0000172d fetch  0x00000001 , 0x00004215 
+ 00015730  0x0000172e branch  0x00003d8e , 0x00000034 
+ 00015731  0x0000172f increase  0xffffffff , 0x0000003f 
+ 00015732  0x00001730 store  0x00000001 , 0x00004215 
+ 00015733  0x00001731 rtn 
+ 00015734  0x00001734 jam  0x00000000 , 0x000041fa 
+ 00015735  0x00001735 fetch  0x00000003 , 0x0000420a 
+ 00015736  0x00001736 increase  0x00000001 , 0x0000003f 
+ 00015737  0x00001737 store  0x00000003 , 0x0000420a 
+ 00015738  0x00001738 rtn 
+ 00015739  0x0000173b set0  0x00000025 , 0x00000000 
+ 00015740  0x0000173c bpatch  0x000000b8 , 0x00004017 
+ 00015741  0x0000173d fetcht  0x00000002 , 0x00004161 
+ 00015742  0x0000173e rshift  0x00000002 , 0x00000002 
+ 00015743  0x0000173f fetch  0x00000002 , 0x0000003e 
+ 00015744  0x00001740 iadd  0x00000002 , 0x0000003f 
+ 00015745  0x00001741 store  0x00000002 , 0x0000003e 
+ 00015746  0x00001743 jam  0x00000000 , 0x000000a2 
+ 00015747  0x00001744 fetch  0x00000003 , 0x0000420d 
+ 00015748  0x00001745 increase  0x00000001 , 0x0000003f 
+ 00015749  0x00001746 store  0x00000003 , 0x0000420d 
+ 00015750  0x00001747 fetch  0x00000001 , 0x000041fa 
+ 00015751  0x00001748 increase  0x00000001 , 0x0000003f 
+ 00015752  0x00001749 store  0x00000001 , 0x000041fa 
+ 00015753  0x0000174a rtn 
+ 00015754  0x0000174d jam  0x00000000 , 0x000000a2 
+ 00015755  0x0000174e fetch  0x00000001 , 0x00004214 
+ 00015756  0x0000174f store  0x00000001 , 0x00004215 
+ 00015757  0x00001750 rtn 
+ 00015758  0x00001753 fetcht  0x00000001 , 0x00004213 
+ 00015759  0x00001754 storet  0x00000001 , 0x000000a2 
+ 00015760  0x00001755 rtn 
+ 00015761  0x00001758 set0  0x00000025 , 0x00000000 
+ 00015762  0x00001759 bpatch  0x000000b9 , 0x00004017 
+ 00015763  0x0000175a fetch  0x00000001 , 0x00004219 
+ 00015764  0x0000175b nrtn  0x00000034 
+ 00015765  0x0000175c hjam  0x00000006 , 0x00008042 
+ 00015766  0x0000175d setarg  0x00000f0c 
+ 00015767  0x0000175e call  0x00003da7 
+ 00015768  0x0000175f setarg  0x00030d40 
+ 00015769  0x00001760 call  0x00003bf3 
+ 00015770  0x00001761 until  0x0000003e , 0x00000033 
+ 00015771  0x00001762 copy  0x00000031 , 0x00000030 
+ 00015772  0x00001763 call  0x00003b36 
+ 00015773  0x00001764 hjam  0x00000004 , 0x00008042 
+ 00015774  0x00001765 nop  0x0000000a 
+ 00015775  0x00001766 until  0x0000003e , 0x00000033 
+ 00015776  0x00001767 deposit  0x00000031 
+ 00015777  0x00001768 isub  0x00000030 , 0x0000003f 
+ 00015778  0x00001769 increase  0x00000030 , 0x0000003f 
+ 00015779  0x0000176a arg  0x000000ff , 0x00000002 
+ 00015780  0x0000176b call  0x00007f2e 
+ 00015781  0x0000176c store  0x00000001 , 0x00004219 
+ 00015782  0x0000176d rtn 
+ 00015783  0x00001773 arg  0x00000fff , 0x00000005 
+ 00015784  0x00001774 iand  0x00000005 , 0x00000005 
+ 00015785  0x00001775 fetch  0x00000001 , 0x00004216 
+ 00015786  0x00001776 and_into  0x000000f0 , 0x0000003f 
+ 00015787  0x00001777 lshift8  0x0000003f , 0x0000003f 
+ 00015788  0x00001778 ior  0x00000005 , 0x0000003f 
+ 00015789  0x00001779 hstore  0x00000002 , 0x0000804c 
+ 00015790  0x0000177a ifetch  0x00000002 , 0x00000006 
+ 00015791  0x0000177b istore  0x00000002 , 0x00000005 
+ 00015792  0x0000177e setarg  0x00000001 
+ 00015793  0x0000177f branch  0x00003db3 
+ 00015794  0x00001782 setarg  0x00000002 
+ 00015795  0x00001784 until  0x0000003e , 0x00000033 
+ 00015796  0x00001785 hstore  0x00000001 , 0x00008005 
+ 00015797  0x00001786 until  0x0000003e , 0x00000033 
+ 00015798  0x00001787 until  0x0000003e , 0x00000033 
+ 00015799  0x00001788 rtn 
+ 00015800  0x0000178c set0  0x00000025 , 0x00000000 
+ 00015801  0x0000178d bpatch  0x000000ba , 0x00004017 
+ 00015802  0x0000178e fetch  0x00000004 , 0x000000a3 
+ 00015803  0x0000178f hstore  0x00000004 , 0x0000804c 
+ 00015804  0x00001790 setarg  0x00000004 
+ 00015805  0x00001791 call  0x00003db3 
+ 00015806  0x00001792 fetch  0x00000004 , 0x000000a7 
+ 00015807  0x00001793 hstore  0x00000004 , 0x0000804c 
+ 00015808  0x00001794 setarg  0x00000008 
+ 00015809  0x00001795 branch  0x00003db3 
+ 00015810  0x00001798 fetch  0x00000002 , 0x000041f3 
+ 00015811  0x00001799 qset1  0x0000003f 
+ 00015812  0x0000179a store  0x00000002 , 0x000041f3 
+ 00015813  0x0000179b rtn 
+ 00015814  0x0000179e fetch  0x00000002 , 0x000041f3 
+ 00015815  0x0000179f qset0  0x0000003f 
+ 00015816  0x000017a0 store  0x00000002 , 0x000041f3 
+ 00015817  0x000017a1 rtn 
+ 00015818  0x000017a6 set0  0x00000025 , 0x00000000 
+ 00015819  0x000017a7 bpatch  0x000000bb , 0x00004017 
+ 00015820  0x000017a8 call  0x00003ea7 
+ 00015821  0x000017a9 fetch  0x00000002 , 0x000041f3 
+ 00015822  0x000017aa copy  0x0000003f , 0x00000011 
+ 00015823  0x000017ab fetch  0x00000001 , 0x0000004c 
+ 00015824  0x000017ac isolate1  0x00000006 , 0x0000003f 
+ 00015825  0x000017ad setflag  0x00000001 , 0x0000000b , 0x00000011 
+ 00015826  0x000017ae fetch  0x00000001 , 0x00000078 
+ 00015827  0x000017af fetcht  0x00000001 , 0x0000007c 
+ 00015828  0x000017b0 iadd  0x00000002 , 0x0000003f 
+ 00015829  0x000017b1 fetcht  0x00000001 , 0x00000048 
+ 00015830  0x000017b2 iadd  0x00000002 , 0x0000003f 
+ 00015831  0x000017b3 nsetflag  0x00000034 , 0x0000000a , 0x00000011 
+ 00015832  0x000017b4 set0  0x00000025 , 0x00000000 
+ 00015833  0x000017b5 bpatch  0x000000bc , 0x00004017 
+ 00015834  0x000017b6 fetch  0x00000002 , 0x000002c4 
+ 00015835  0x000017b7 fetcht  0x00000002 , 0x000002c6 
+ 00015836  0x000017b8 iadd  0x00000002 , 0x0000003f 
+ 00015837  0x000017b9 nsetflag  0x00000034 , 0x0000000d , 0x00000011 
+ 00015838  0x000017ba fetch  0x00000005 , 0x000047df 
+ 00015839  0x000017bb nsetflag  0x00000034 , 0x0000000f , 0x00000011 
+ 00015840  0x000017bc fetch  0x00000005 , 0x000047e4 
+ 00015841  0x000017bd nsetflag  0x00000034 , 0x0000000e , 0x00000011 
+ 00015842  0x000017be fetch  0x00000001 , 0x00004272 
+ 00015843  0x000017bf nsetflag  0x00000034 , 0x00000008 , 0x00000011 
+ 00015844  0x000017c0 fetch  0x00000001 , 0x00004132 
+ 00015845  0x000017c1 compare  0x0000000a , 0x0000003f , 0x000000ff 
+ 00015846  0x000017c2 call  0x00003df5 , 0x00000001 
+ 00015847  0x000017c3 set0  0x00000025 , 0x00000000 
+ 00015848  0x000017c4 bpatch  0x000000bd , 0x00004017 
+ 00015849  0x000017c5 fetch  0x00000001 , 0x00004132 
+ 00015850  0x000017c6 bne  0x00000001 , 0x00003dfa 
+ 00015851  0x000017c7 call  0x00003df5 
+ 00015852  0x000017c8 fetch  0x00000001 , 0x0000425e 
+ 00015853  0x000017c9 setflag  0x00000034 , 0x00000003 , 0x00000011 
+ 00015854  0x000017ca fetch  0x00000004 , 0x000042a5 
+ 00015855  0x000017cb arg  0x00001710 , 0x00000002 
+ 00015856  0x000017cc iadd  0x00000002 , 0x00000002 
+ 00015857  0x000017cd copy  0x00000022 , 0x0000003f 
+ 00015858  0x000017ce isub  0x00000002 , 0x0000003e 
+ 00015859  0x000017cf nsetflag  0x00000002 , 0x00000004 , 0x00000011 
+ 00015860  0x000017d0 branch  0x00003dfc 
+ 00015861  0x000017d3 hfetch  0x00000002 , 0x00008112 
+ 00015862  0x000017d4 nsetflag  0x00000034 , 0x00000006 , 0x00000011 
+ 00015863  0x000017d5 hfetch  0x00000002 , 0x0000810e 
+ 00015864  0x000017d6 nsetflag  0x00000034 , 0x00000005 , 0x00000011 
+ 00015865  0x000017d7 rtn 
+ 00015866  0x000017da setarg  0xfffffff8 
+ 00015867  0x000017db iand  0x00000011 , 0x00000011 
+ 00015868  0x000017dd copy  0x00000011 , 0x0000003f 
+ 00015869  0x000017de store  0x00000002 , 0x000041f3 
+ 00015870  0x000017df rtn  0x00000034 
+ 00015871  0x000017e0 rtn  0x0000002d 
+ 00015872  0x000017e1 enable  0x0000002b 
+ 00015873  0x000017e2 rtn 
+ 00015874  0x000017e5 hfetch  0x00000004 , 0x00008138 
+ 00015875  0x000017e6 set0  0x0000001b , 0x0000003f 
+ 00015876  0x000017e7 hstore  0x00000004 , 0x0000804c 
+ 00015877  0x000017e8 call  0x00003db0 
+ 00015878  0x000017e9 branch  0x00003bf1 
+ 00015879  0x000017ec hfetch  0x00000004 , 0x0000813c 
+ 00015880  0x000017ed set1  0x00000014 , 0x0000003f 
+ 00015881  0x000017ee hstore  0x00000004 , 0x0000804c 
+ 00015882  0x000017ef branch  0x00003db2 
+ 00015883  0x000017f2 hfetch  0x00000004 , 0x0000813c 
+ 00015884  0x000017f3 set0  0x00000014 , 0x0000003f 
+ 00015885  0x000017f4 hstore  0x00000004 , 0x0000804c 
+ 00015886  0x000017f5 branch  0x00003db2 
+ 00015887  0x000017f8 set0  0x00000025 , 0x00000000 
+ 00015888  0x000017f9 bpatch  0x000000be , 0x00004017 
+ 00015889  0x000017fa fetch  0x00000001 , 0x00004132 
+ 00015890  0x000017fb rtnne  0x00000001 
+ 00015891  0x000017fc call  0x00006a8b 
+ 00015892  0x000017fd rtn  0x00000001 
+ 00015893  0x000017fe fetch  0x00000004 , 0x00004807 
+ 00015894  0x000017ff nbranch  0x00003e1a , 0x00000034 
+ 00015895  0x00001800 copy  0x00000022 , 0x0000003f 
+ 00015896  0x00001801 store  0x00000004 , 0x00004807 
+ 00015897  0x00001802 branch  0x00006a6b 
+ 00015898  0x00001804 set0  0x00000025 , 0x00000000 
+ 00015899  0x00001805 bpatch  0x000000bf , 0x00004017 
+ 00015900  0x00001806 copy  0x00000022 , 0x0000003f 
+ 00015901  0x00001807 fetcht  0x00000004 , 0x00004807 
+ 00015902  0x00001808 isub  0x00000002 , 0x0000003f 
+ 00015903  0x00001809 arg  0x00000021 , 0x00000002 
+ 00015904  0x0000180a isub  0x00000002 , 0x0000003e 
+ 00015905  0x0000180b nrtn  0x00000002 
+ 00015906  0x0000180c setarg  0x00000000 
+ 00015907  0x0000180d store  0x00000004 , 0x00004807 
+ 00015908  0x0000180e branch  0x00004599 
+ 00015909  0x00001811 fetch  0x00000002 , 0x000041f1 
+ 00015910  0x00001812 bbit1  0x00000000 , 0x00003bf1 
+ 00015911  0x00001813 rtn 
+ 00015912  0x00001815 fetch  0x00000002 , 0x000041f1 
+ 00015913  0x00001816 bbit1  0x00000001 , 0x00003bf1 
+ 00015914  0x00001817 rtn 
+ 00015915  0x00001819 fetch  0x00000002 , 0x000041f1 
+ 00015916  0x0000181a bbit1  0x00000002 , 0x00003bf1 
+ 00015917  0x0000181b rtn 
+ 00015918  0x0000181e setarg  0x00003e37 
+ 00015919  0x0000181f store  0x00000002 , 0x0000428e 
+ 00015920  0x00001820 setarg  0x00003e3d 
+ 00015921  0x00001821 store  0x00000002 , 0x00004292 
+ 00015922  0x00001822 setarg  0x00003e37 
+ 00015923  0x00001823 store  0x00000002 , 0x00004290 
+ 00015924  0x00001824 rtn  0x0000002b 
+ 00015925  0x00001825 jam  0x00000001 , 0x000047e9 
+ 00015926  0x00001826 rtn 
+ 00015927  0x00001829 fetch  0x00000001 , 0x00000030 
+ 00015928  0x0000182a bbit0  0x00000001 , 0x00005e9f 
+ 00015929  0x0000182b set1  0x0000000d , 0x00000000 
+ 00015930  0x0000182c fetch  0x00000006 , 0x0000420a 
+ 00015931  0x0000182d store  0x00000006 , 0x00004703 
+ 00015932  0x0000182e branch  0x00007bde 
+ 00015933  0x00001832 deposit  0x00000013 
+ 00015934  0x00001833 rtnne  0x00000010 
+ 00015935  0x00001835 call  0x00007bb1 
+ 00015936  0x00001836 fetch  0x00000001 , 0x000047eb 
+ 00015937  0x00001837 beq  0x00000001 , 0x00003e3f 
+ 00015938  0x00001838 call  0x00007be2 
+ 00015939  0x00001839 branch  0x00003ccd 
+ 00015940  0x0000183d force  0x00000002 , 0x00000002 
+ 00015941  0x0000183e increase  0xfffffffe , 0x00000002 
+ 00015942  0x0000183f call  0x00003a7a 
+ 00015943  0x00001840 call  0x00003a91 
+ 00015944  0x00001841 disable  0x00000007 
+ 00015945  0x00001842 enable  0x0000001d 
+ 00015946  0x00001843 set1  0x00000000 , 0x00000015 
+ 00015947  0x00001844 call  0x00003bae 
+ 00015948  0x00001846 fetch  0x00000001 , 0x00000000 
+ 00015949  0x00001847 inject  0x00000003 , 0x00000008 
+ 00015950  0x00001848 branch  0x00003e4c 
+ 00015951  0x0000184f set1  0x00000025 , 0x00000000 
+ 00015952  0x00001850 bpatch  0x000000cd , 0x00004039 
+ 00015953  0x00001851 fetch  0x00000001 , 0x00004132 
+ 00015954  0x00001852 branch  0x00003e4f , 0x00000034 
+ 00015955  0x00001853 beq  0x00000006 , 0x00005aa2 
+ 00015956  0x00001854 beq  0x00000007 , 0x00004b33 
+ 00015957  0x00001855 beq  0x00000004 , 0x00004293 
+ 00015958  0x00001856 beq  0x00000003 , 0x00004c09 
+ 00015959  0x00001857 beq  0x00000001 , 0x00004461 
+ 00015960  0x00001858 beq  0x00000009 , 0x00007624 
+ 00015961  0x00001859 beq  0x0000000a , 0x000062ef 
+ 00015962  0x0000185a beq  0x0000000c , 0x00004bf3 
+ 00015963  0x0000185b beq  0x0000000d , 0x00006a8e 
+ 00015964  0x0000185c beq  0x000000ff , 0x00003e2e 
+ 00015965  0x0000185d bbit1  0x00000006 , 0x00006486 
+ 00015966  0x0000185e rtn 
+ 00015967  0x00001861 set1  0x00000025 , 0x00000000 
+ 00015968  0x00001862 bpatch  0x000000ce , 0x00004039 
+ 00015969  0x00001863 jam  0x00000000 , 0x00000153 
+ 00015970  0x00001864 jam  0x00000000 , 0x00000189 
+ 00015971  0x00001865 jam  0x00000000 , 0x0000018a 
+ 00015972  0x00001866 setarg  0x00000000 
+ 00015973  0x00001867 store  0x00000005 , 0x000007da 
+ 00015974  0x00001868 fetch  0x00000001 , 0x00004132 
+ 00015975  0x00001869 branch  0x00003e5f , 0x00000034 
+ 00015976  0x0000186a beq  0x0000000a , 0x0000631f 
+ 00015977  0x0000186b rtn 
+ 00015978  0x0000186f call  0x00007ba1 
+ 00015979  0x00001870 call  0x00007c45 
+ 00015980  0x00001871 call  0x00003e73 
+ 00015981  0x00001872 fetch  0x00000002 , 0x00004290 
+ 00015982  0x00001873 branch  0x00007f66 
+ 00015983  0x00001876 fetch  0x00000002 , 0x0000428e 
+ 00015984  0x00001877 branch  0x00007f66 
+ 00015985  0x0000187a fetch  0x00000002 , 0x0000428c 
+ 00015986  0x0000187b branch  0x00007f66 
+ 00015987  0x0000187e set1  0x00000025 , 0x00000000 
+ 00015988  0x0000187f bpatch  0x000000cf , 0x00004039 
+ 00015989  0x00001881 arg  0x000047df , 0x00000011 
+ 00015990  0x00001882 call  0x00007f9f 
+ 00015991  0x00001883 rtn  0x00000034 
+ 00015992  0x00001885 copy  0x0000003f , 0x00000013 
+ 00015993  0x00001886 call  0x00003e7d 
+ 00015994  0x00001887 branch  0x00003ea5 
+ 00015995  0x0000188a arg  0x00000000 , 0x00000013 
+ 00015996  0x0000188b rtn 
+ 00015997  0x00001891 beq  0x00000001 , 0x00003e92 
+ 00015998  0x00001892 beq  0x00000010 , 0x00003ed9 
+ 00015999  0x00001893 beq  0x00000005 , 0x00003eb6 
+ 00016000  0x00001894 beq  0x00000012 , 0x00003ebd 
+ 00016001  0x00001895 beq  0x00000006 , 0x00003ed5 
+ 00016002  0x00001896 beq  0x00000004 , 0x00003efe 
+ 00016003  0x00001897 beq  0x00000002 , 0x00003f03 
+ 00016004  0x00001898 beq  0x00000013 , 0x00003efe 
+ 00016005  0x00001899 beq  0x00000014 , 0x00003ecc 
+ 00016006  0x0000189a beq  0x00000015 , 0x00003ed0 
+ 00016007  0x0000189b beq  0x00000003 , 0x00003eaf 
+ 00016008  0x0000189c beq  0x0000000b , 0x00003ec1 
+ 00016009  0x0000189d beq  0x0000000c , 0x00003ec8 
+ 00016010  0x0000189f beq  0x00000016 , 0x00003edd 
+ 00016011  0x000018a0 beq  0x00000018 , 0x00003eab 
+ 00016012  0x000018a1 beq  0x0000002a , 0x00003e9b 
+ 00016013  0x000018a2 beq  0x0000002b , 0x00003e99 
+ 00016014  0x000018a4 and  0x0000003f , 0x0000000f , 0x00000002 
+ 00016015  0x000018a5 and_into  0x000000f0 , 0x0000003f 
+ 00016016  0x000018a6 beq  0x00000050 , 0x00003ee1 
+ 00016017  0x000018a7 rtn 
+ 00016018  0x000018aa fetch  0x00000002 , 0x000047f4 
+ 00016019  0x000018ab set1  0x00000000 , 0x0000003f 
+ 00016020  0x000018ac store  0x00000002 , 0x000047f4 
+ 00016021  0x000018ad fetch  0x00000002 , 0x000042a2 
+ 00016022  0x000018ae set0  0x00000000 , 0x0000003f 
+ 00016023  0x000018af store  0x00000002 , 0x000042a2 
+ 00016024  0x000018b0 rtn 
+ 00016025  0x000018b2 jam  0x00000000 , 0x00000258 
+ 00016026  0x000018b3 rtn 
+ 00016027  0x000018b6 fetch  0x00000001 , 0x00000258 
+ 00016028  0x000018b7 increase  0x00000001 , 0x0000003f 
+ 00016029  0x000018b8 store  0x00000001 , 0x00000258 
+ 00016030  0x000018b9 sub  0x0000003f , 0x00000001 , 0x0000003e 
+ 00016031  0x000018ba branch  0x00003f6c , 0x00000002 
+ 00016032  0x000018bb jam  0x00000000 , 0x00000258 
+ 00016033  0x000018bc fetch  0x00000002 , 0x000042a2 
+ 00016034  0x000018bd set1  0x00000009 , 0x0000003f 
+ 00016035  0x000018be store  0x00000002 , 0x000042a2 
+ 00016036  0x000018bf branch  0x00003f77 
+ 00016037  0x000018c2 fetch  0x00000002 , 0x00004292 
+ 00016038  0x000018c3 branch  0x00007f66 
+ 00016039  0x000018c6 fetch  0x00000002 , 0x00004286 
+ 00016040  0x000018c7 branch  0x00007f66 
+ 00016041  0x000018ca fetch  0x00000002 , 0x0000428a 
+ 00016042  0x000018cb branch  0x00007f66 
+ 00016043  0x000018ce fetch  0x00000002 , 0x000042a2 
+ 00016044  0x000018cf set1  0x00000001 , 0x0000003f 
+ 00016045  0x000018d0 store  0x00000002 , 0x000042a2 
+ 00016046  0x000018d1 branch  0x00003fa2 
+ 00016047  0x000018d4 fetch  0x00000002 , 0x000047f4 
+ 00016048  0x000018d5 set1  0x00000007 , 0x0000003f 
+ 00016049  0x000018d6 store  0x00000002 , 0x000047f4 
+ 00016050  0x000018d7 fetch  0x00000002 , 0x000042a2 
+ 00016051  0x000018d8 set1  0x00000002 , 0x0000003f 
+ 00016052  0x000018d9 store  0x00000002 , 0x000042a2 
+ 00016053  0x000018da rtn 
+ 00016054  0x000018dd fetch  0x00000002 , 0x000047f4 
+ 00016055  0x000018de set1  0x00000001 , 0x0000003f 
+ 00016056  0x000018df store  0x00000002 , 0x000047f4 
+ 00016057  0x000018e0 fetch  0x00000002 , 0x000042a2 
+ 00016058  0x000018e1 set1  0x00000004 , 0x0000003f 
+ 00016059  0x000018e2 store  0x00000002 , 0x000042a2 
+ 00016060  0x000018e3 rtn 
+ 00016061  0x000018e6 fetch  0x00000002 , 0x000047f4 
+ 00016062  0x000018e7 set1  0x00000003 , 0x0000003f 
+ 00016063  0x000018e8 store  0x00000002 , 0x000047f4 
+ 00016064  0x000018e9 rtn 
+ 00016065  0x000018ec fetch  0x00000002 , 0x000047f4 
+ 00016066  0x000018ed set1  0x00000005 , 0x0000003f 
+ 00016067  0x000018ee store  0x00000002 , 0x000047f4 
+ 00016068  0x000018ef fetch  0x00000002 , 0x000042a2 
+ 00016069  0x000018f0 set1  0x00000003 , 0x0000003f 
+ 00016070  0x000018f1 store  0x00000002 , 0x000042a2 
+ 00016071  0x000018f2 rtn 
+ 00016072  0x000018f5 fetch  0x00000002 , 0x000047f4 
+ 00016073  0x000018f6 set0  0x00000005 , 0x0000003f 
+ 00016074  0x000018f7 store  0x00000002 , 0x000047f4 
+ 00016075  0x000018f8 rtn 
+ 00016076  0x000018fb fetch  0x00000002 , 0x000047f4 
+ 00016077  0x000018fc set1  0x00000009 , 0x0000003f 
+ 00016078  0x000018fd store  0x00000002 , 0x000047f4 
+ 00016079  0x000018fe rtn 
+ 00016080  0x00001901 fetch  0x00000002 , 0x000047f4 
+ 00016081  0x00001902 set0  0x00000009 , 0x0000003f 
+ 00016082  0x00001903 store  0x00000002 , 0x000047f4 
+ 00016083  0x00001904 jam  0x00000000 , 0x000046f8 
+ 00016084  0x00001905 branch  0x00003fa6 
+ 00016085  0x00001908 fetch  0x00000002 , 0x000047f4 
+ 00016086  0x00001909 set1  0x00000002 , 0x0000003f 
+ 00016087  0x0000190a store  0x00000002 , 0x000047f4 
+ 00016088  0x0000190b rtn 
+ 00016089  0x0000190e fetch  0x00000002 , 0x000042a2 
+ 00016090  0x0000190f set1  0x00000000 , 0x0000003f 
+ 00016091  0x00001910 store  0x00000002 , 0x000042a2 
+ 00016092  0x00001911 rtn 
+ 00016093  0x00001914 fetch  0x00000002 , 0x000042a2 
+ 00016094  0x00001915 set1  0x00000008 , 0x0000003f 
+ 00016095  0x00001916 store  0x00000002 , 0x000042a2 
+ 00016096  0x00001917 branch  0x00003f77 
+ 00016097  0x0000191b set1  0x00000025 , 0x00000000 
+ 00016098  0x0000191c bpatch  0x000000d0 , 0x0000403a 
+ 00016099  0x0000191d storet  0x00000001 , 0x00000259 
+ 00016100  0x0000191f fetch  0x00000001 , 0x00000259 
+ 00016101  0x00001920 rtn  0x00000034 
+ 00016102  0x00001921 increase  0xffffffff , 0x0000003f 
+ 00016103  0x00001922 store  0x00000001 , 0x00000259 
+ 00016104  0x00001923 call  0x00007bb1 
+ 00016105  0x00001924 call  0x00003f60 
+ 00016106  0x00001925 call  0x00003eed 
+ 00016107  0x00001926 call  0x00003ef5 
+ 00016108  0x00001927 branch  0x00003ee4 
+ 00016109  0x0000192a fetch  0x00000001 , 0x0000429d 
+ 00016110  0x0000192b rtn  0x00000034 
+ 00016111  0x0000192c increase  0xffffffff , 0x0000003f 
+ 00016112  0x0000192d store  0x00000001 , 0x0000429d 
+ 00016113  0x0000192e nrtn  0x00000034 
+ 00016114  0x0000192f call  0x000032ee 
+ 00016115  0x00001930 branch  0x00003f9e , 0x00000005 
+ 00016116  0x00001931 rtn 
+ 00016117  0x00001933 fetch  0x00000002 , 0x000047f0 
+ 00016118  0x00001934 rtn  0x00000034 
+ 00016119  0x00001935 increase  0xffffffff , 0x0000003f 
+ 00016120  0x00001936 store  0x00000002 , 0x000047f0 
+ 00016121  0x00001937 nrtn  0x00000034 
+ 00016122  0x00001938 call  0x00003f7e 
+ 00016123  0x00001939 call  0x00003f98 
+ 00016124  0x0000193a fetch  0x00000002 , 0x00004294 
+ 00016125  0x0000193b branch  0x00007f66 
+ 00016126  0x0000193e call  0x00003f15 
+ 00016127  0x00001940 fetch  0x00000002 , 0x000047f4 
+ 00016128  0x00001941 set0  0x00000007 , 0x0000003f 
+ 00016129  0x00001942 store  0x00000002 , 0x000047f4 
+ 00016130  0x00001943 rtn 
+ 00016131  0x00001946 jam  0x00000000 , 0x0000429d 
+ 00016132  0x00001947 fetch  0x00000002 , 0x000047f4 
+ 00016133  0x00001948 bbit1  0x00000007 , 0x00003f08 
+ 00016134  0x00001949 isolate0  0x00000001 , 0x0000003f 
+ 00016135  0x0000194a call  0x00003e7b , 0x00000001 
+ 00016136  0x0000194c fetch  0x00000002 , 0x000047f4 
+ 00016137  0x0000194d set0  0x00000000 , 0x0000003f 
+ 00016138  0x0000194e set0  0x00000001 , 0x0000003f 
+ 00016139  0x0000194f set0  0x00000002 , 0x0000003f 
+ 00016140  0x00001950 set0  0x00000003 , 0x0000003f 
+ 00016141  0x00001951 set0  0x00000004 , 0x0000003f 
+ 00016142  0x00001952 store  0x00000002 , 0x000047f4 
+ 00016143  0x00001953 branch  0x00003fa6 
+ 00016144  0x00001956 call  0x00003f12 
+ 00016145  0x00001957 branch  0x00003f9a 
+ 00016146  0x0000195c setarg  0x00000000 
+ 00016147  0x0000195d store  0x00000002 , 0x000042a0 
+ 00016148  0x0000195e rtn 
+ 00016149  0x00001960 setarg  0x00000000 
+ 00016150  0x00001961 store  0x00000002 , 0x000042a2 
+ 00016151  0x00001962 rtn 
+ 00016152  0x00001966 fetch  0x00000002 , 0x000042a2 
+ 00016153  0x00001967 store  0x00000002 , 0x000042a0 
+ 00016154  0x00001968 setarg  0x00000000 
+ 00016155  0x00001969 store  0x00000002 , 0x000042a2 
+ 00016156  0x0000196a rtn 
+ 00016157  0x0000196d fetch  0x00000002 , 0x000042a2 
+ 00016158  0x0000196e set1  0x00000007 , 0x0000003f 
+ 00016159  0x0000196f store  0x00000002 , 0x000042a0 
+ 00016160  0x00001970 setarg  0x00000000 
+ 00016161  0x00001971 store  0x00000002 , 0x000042a2 
+ 00016162  0x00001972 rtn 
+ 00016163  0x00001979 call  0x0000691d 
+ 00016164  0x0000197a fetch  0x00000006 , 0x00004274 
+ 00016165  0x0000197b rtn 
+ 00016166  0x0000197e fetch  0x00000001 , 0x0000448b 
+ 00016167  0x0000197f branch  0x00003f2a , 0x00000034 
+ 00016168  0x00001980 call  0x00003f96 
+ 00016169  0x00001981 branch  0x00003f82 
+ 00016170  0x00001983 call  0x00003f94 
+ 00016171  0x00001984 branch  0x00003f88 
+ 00016172  0x00001987 set1  0x00000025 , 0x00000000 
+ 00016173  0x00001988 bpatch  0x000000d1 , 0x0000403a 
+ 00016174  0x00001989 arg  0x00000244 , 0x00000012 
+ 00016175  0x0000198a arg  0x00003f31 , 0x00000013 
+ 00016176  0x0000198b branch  0x00003301 
+ 00016177  0x0000198e arg  0x00000000 , 0x00000002 
+ 00016178  0x0000198f bbit0  0x00000000 , 0x00003f35 
+ 00016179  0x00001990 add  0x00000011 , 0x00000010 , 0x00000006 
+ 00016180  0x00001991 ifetcht  0x00000006 , 0x00000006 
+ 00016181  0x00001993 copy  0x00000002 , 0x0000003f 
+ 00016182  0x00001994 ncall  0x00003f3a , 0x00000034 
+ 00016183  0x00001995 istoret  0x00000006 , 0x00000012 
+ 00016184  0x00001996 increase  0x00000006 , 0x00000012 
+ 00016185  0x00001997 branch  0x00003307 
+ 00016186  0x00001999 fetch  0x00000001 , 0x0000429a 
+ 00016187  0x0000199a increase  0x00000001 , 0x0000003f 
+ 00016188  0x0000199b store  0x00000001 , 0x0000429a 
+ 00016189  0x0000199c rtn 
+ 00016190  0x0000199f jam  0x00000000 , 0x0000429a 
+ 00016191  0x000019a0 branch  0x00003f2c 
+ 00016192  0x000019a3 fetch  0x00000001 , 0x000047f4 
+ 00016193  0x000019a4 isolate1  0x00000005 , 0x0000003f 
+ 00016194  0x000019a5 rtn 
+ 00016195  0x000019ab setarg  0x00000000 
+ 00016196  0x000019ac branch  0x00003f46 
+ 00016197  0x000019ae setarg  0x0000aa55 
+ 00016198  0x000019b0 store  0x00000002 , 0x000002a8 
+ 00016199  0x000019b1 set1  0x00000025 , 0x00000000 
+ 00016200  0x000019b2 bpatch  0x000000d2 , 0x0000403a 
+ 00016201  0x000019b3 arg  0x00000002 , 0x00000002 
+ 00016202  0x000019b4 arg  0x000002a8 , 0x00000011 
+ 00016203  0x000019b5 arg  0x000000c3 , 0x00000012 
+ 00016204  0x000019b6 branch  0x0000683e 
+ 00016205  0x000019ba set1  0x00000025 , 0x00000000 
+ 00016206  0x000019bb bpatch  0x000000d3 , 0x0000403a 
+ 00016207  0x000019bc arg  0x00000002 , 0x00000002 
+ 00016208  0x000019bd arg  0x00000161 , 0x00000011 
+ 00016209  0x000019be arg  0x000000c3 , 0x00000012 
+ 00016210  0x000019bf call  0x0000681d 
+ 00016211  0x000019c0 fetch  0x00000002 , 0x00000161 
+ 00016212  0x000019c1 arg  0x0000aa55 , 0x00000002 
+ 00016213  0x000019c2 isub  0x00000002 , 0x0000003e 
+ 00016214  0x000019c3 rtn 
+ 00016215  0x000019c7 fetch  0x00000001 , 0x00004747 
+ 00016216  0x000019c8 store  0x00000001 , 0x0000429d 
+ 00016217  0x000019c9 rtn 
+ 00016218  0x000019cc arg  0x00000009 , 0x00000007 
+ 00016219  0x000019cd branch  0x00003dc2 
+ 00016220  0x000019d0 arg  0x00000009 , 0x00000007 
+ 00016221  0x000019d1 branch  0x00003dc6 
+ 00016222  0x000019d4 jam  0x00000005 , 0x0000429e 
+ 00016223  0x000019d5 branch  0x00003f5a 
+ 00016224  0x000019d7 fetch  0x00000001 , 0x0000429e 
+ 00016225  0x000019d8 rtn  0x00000034 
+ 00016226  0x000019d9 increase  0xffffffff , 0x0000003f 
+ 00016227  0x000019da store  0x00000001 , 0x0000429e 
+ 00016228  0x000019db nrtn  0x00000034 
+ 00016229  0x000019dc branch  0x00003f5c 
+ 00016230  0x000019df jam  0x00000001 , 0x000043cc 
+ 00016231  0x000019e0 rtn 
+ 00016232  0x000019e3 jam  0x00000000 , 0x000043cc 
+ 00016233  0x000019e4 rtn 
+ 00016234  0x000019e7 jam  0x0000000a , 0x00000b7d 
+ 00016235  0x000019e8 branch  0x00007c33 
+ 00016236  0x000019eb jam  0x0000001d , 0x00000b7d 
+ 00016237  0x000019ec branch  0x00007c33 
+ 00016238  0x000019ef set1  0x00000025 , 0x00000000 
+ 00016239  0x000019f0 bpatch  0x000000d4 , 0x0000403a 
+ 00016240  0x000019f1 fetch  0x00000001 , 0x0000429f 
+ 00016241  0x000019f2 store  0x00000001 , 0x00000177 
+ 00016242  0x000019f3 jam  0x00000001 , 0x00000257 
+ 00016243  0x000019f4 jam  0x00000003 , 0x00000b7d 
+ 00016244  0x000019f5 branch  0x00007c33 
+ 00016245  0x000019f8 jam  0x0000001e , 0x00000b7d 
+ 00016246  0x000019f9 branch  0x00007c33 
+ 00016247  0x000019fc jam  0x00000004 , 0x00000b7d 
+ 00016248  0x000019fd branch  0x00007c33 
+ 00016249  0x00001a00 fetch  0x00000002 , 0x000047fe 
+ 00016250  0x00001a01 store  0x00000002 , 0x000047f0 
+ 00016251  0x00001a03 call  0x00003f94 
+ 00016252  0x00001a05 jam  0x00000001 , 0x00000b7d 
+ 00016253  0x00001a06 branch  0x00007c33 
+ 00016254  0x00001a09 setarg  0x00000000 
+ 00016255  0x00001a0a store  0x00000002 , 0x000047f0 
+ 00016256  0x00001a0b jam  0x00000002 , 0x00000b7d 
+ 00016257  0x00001a0c branch  0x00007c33 
+ 00016258  0x00001a0f jam  0x0000000f , 0x00000b7d 
+ 00016259  0x00001a10 branch  0x00007c33 
+ 00016260  0x00001a13 jam  0x00000010 , 0x00000b7d 
+ 00016261  0x00001a14 branch  0x00007c33 
+ 00016262  0x00001a17 jam  0x0000000e , 0x00000b7d 
+ 00016263  0x00001a18 branch  0x00007c33 
+ 00016264  0x00001a1b jam  0x0000000d , 0x00000b7d 
+ 00016265  0x00001a1c branch  0x00007c33 
+ 00016266  0x00001a1f jam  0x00000017 , 0x00000b7d 
+ 00016267  0x00001a20 branch  0x00007c33 
+ 00016268  0x00001a23 jam  0x00000018 , 0x00000b7d 
+ 00016269  0x00001a24 branch  0x00007c33 
+ 00016270  0x00001a27 jam  0x00000016 , 0x00000b7d 
+ 00016271  0x00001a28 branch  0x00007c33 
+ 00016272  0x00001a2b jam  0x00000011 , 0x00000b7d 
+ 00016273  0x00001a2c branch  0x00007c33 
+ 00016274  0x00001a2f jam  0x0000001c , 0x00000b7d 
+ 00016275  0x00001a30 branch  0x00007c33 
+ 00016276  0x00001a33 jam  0x00000015 , 0x00000b7d 
+ 00016277  0x00001a34 branch  0x00007c33 
+ 00016278  0x00001a37 jam  0x00000014 , 0x00000b7d 
+ 00016279  0x00001a38 branch  0x00007c33 
+ 00016280  0x00001a3c jam  0x00000013 , 0x00000b7d 
+ 00016281  0x00001a3d branch  0x00007c33 
+ 00016282  0x00001a40 jam  0x00000019 , 0x00000b7d 
+ 00016283  0x00001a41 branch  0x00007c33 
+ 00016284  0x00001a44 jam  0x00000006 , 0x00000b7d 
+ 00016285  0x00001a45 branch  0x00007c33 
+ 00016286  0x00001a48 jam  0x00000005 , 0x00000b7d 
+ 00016287  0x00001a49 branch  0x00007c33 
+ 00016288  0x00001a4c jam  0x0000001f , 0x00000b7d 
+ 00016289  0x00001a4d branch  0x00007c33 
+ 00016290  0x00001a50 jam  0x00000020 , 0x00000b7d 
+ 00016291  0x00001a51 branch  0x00007c33 
+ 00016292  0x00001a54 set1  0x0000000d , 0x00000000 
+ 00016293  0x00001a55 rtn 
+ 00016294  0x00001a58 set0  0x0000000d , 0x00000000 
+ 00016295  0x00001a59 rtn 
+ 00016296  0x00001a5e set1  0x00000025 , 0x00000000 
+ 00016297  0x00001a5f bpatch  0x00000090 , 0x00004032 
+ 00016298  0x00001a60 arg  0x00000020 , 0x00000002 
+ 00016299  0x00001a61 arg  0x00004419 , 0x00000011 
+ 00016300  0x00001a62 arg  0x000000a0 , 0x00000012 
+ 00016301  0x00001a63 call  0x0000681d 
+ 00016302  0x00001a66 arg  0x00000020 , 0x00000002 
+ 00016303  0x00001a67 arg  0x00004702 , 0x00000011 
+ 00016304  0x00001a68 arg  0x0000007f , 0x00000012 
+ 00016305  0x00001a69 call  0x0000681d 
+ 00016306  0x00001a6b arg  0x00000006 , 0x00000002 
+ 00016307  0x00001a6c arg  0x00004140 , 0x00000011 
+ 00016308  0x00001a6d arg  0x00000063 , 0x00000012 
+ 00016309  0x00001a6e call  0x0000681d 
+ 00016310  0x00001a70 arg  0x00000006 , 0x00000002 
+ 00016311  0x00001a71 arg  0x000044f9 , 0x00000011 
+ 00016312  0x00001a72 arg  0x00000069 , 0x00000012 
+ 00016313  0x00001a73 call  0x0000681d 
+ 00016314  0x00001a74 call  0x00005adb 
+ 00016315  0x00001a76 arg  0x00000002 , 0x00000002 
+ 00016316  0x00001a77 arg  0x000042ac , 0x00000011 
+ 00016317  0x00001a78 arg  0x000000c0 , 0x00000012 
+ 00016318  0x00001a79 call  0x0000681d 
+ 00016319  0x00001a7a call  0x00006909 
+ 00016320  0x00001a7c branch  0x00003fc1 
+ 00016321  0x00001a7f arg  0x0000000e , 0x00000002 
+ 00016322  0x00001a80 arg  0x0000054f , 0x00000011 
+ 00016323  0x00001a81 arg  0x0000006f , 0x00000012 
+ 00016324  0x00001a82 branch  0x0000681d 
+ 00016325  0x00001a85 set1  0x00000025 , 0x00000000 
+ 00016326  0x00001a86 bpatch  0x00000091 , 0x00004032 
+ 00016327  0x00001a87 call  0x00003f4d 
+ 00016328  0x00001a88 branch  0x00003fa8 , 0x00000005 
+ 00016329  0x00001a8a call  0x00003fd2 
+ 00016330  0x00001a8b call  0x00003fd7 
+ 00016331  0x00001a8c call  0x00005adb 
+ 00016332  0x00001a8d call  0x00003fdc 
+ 00016333  0x00001a8e call  0x00003fe0 
+ 00016334  0x00001a8f call  0x000062e9 
+ 00016335  0x00001a90 call  0x00003fe4 
+ 00016336  0x00001a91 call  0x00003fe9 
+ 00016337  0x00001a92 branch  0x00003f45 
+ 00016338  0x00001a95 fetcht  0x00000001 , 0x00004702 
+ 00016339  0x00001a96 increase  0x00000001 , 0x00000002 
+ 00016340  0x00001a97 arg  0x00004702 , 0x00000011 
+ 00016341  0x00001a98 arg  0x0000007f , 0x00000012 
+ 00016342  0x00001a99 branch  0x0000683e 
+ 00016343  0x00001a9c fetcht  0x00000001 , 0x00004419 
+ 00016344  0x00001a9d increase  0x00000001 , 0x00000002 
+ 00016345  0x00001a9e arg  0x00004419 , 0x00000011 
+ 00016346  0x00001a9f arg  0x000000a0 , 0x00000012 
+ 00016347  0x00001aa0 branch  0x0000683e 
+ 00016348  0x00001aa3 arg  0x00000006 , 0x00000002 
+ 00016349  0x00001aa4 arg  0x000044f9 , 0x00000011 
+ 00016350  0x00001aa5 arg  0x00000069 , 0x00000012 
+ 00016351  0x00001aa6 branch  0x0000683e 
+ 00016352  0x00001aa9 arg  0x00000006 , 0x00000002 
+ 00016353  0x00001aaa arg  0x00004140 , 0x00000011 
+ 00016354  0x00001aab arg  0x00000063 , 0x00000012 
+ 00016355  0x00001aac branch  0x0000683e 
+ 00016356  0x00001aaf fetcht  0x00000001 , 0x0000054f 
+ 00016357  0x00001ab0 increase  0x00000001 , 0x00000002 
+ 00016358  0x00001ab1 arg  0x0000054f , 0x00000011 
+ 00016359  0x00001ab2 arg  0x0000006f , 0x00000012 
+ 00016360  0x00001ab3 branch  0x0000683e 
+ 00016361  0x00001ab6 setarg  0x000001a0 
+ 00016362  0x00001ab7 store  0x00000002 , 0x000002a8 
+ 00016363  0x00001ab9 arg  0x00000002 , 0x00000002 
+ 00016364  0x00001aba arg  0x000002a8 , 0x00000011 
+ 00016365  0x00001abb arg  0x000000c0 , 0x00000012 
+ 00016366  0x00001abc branch  0x0000683e 
+ 00016367  0x00001ac0 set1  0x00000025 , 0x00000000 
+ 00016368  0x00001ac1 bpatch  0x00000092 , 0x00004032 
+ 00016369  0x00001ac2 fetch  0x00000002 , 0x0000480e 
+ 00016370  0x00001ac3 arg  0x0000012c , 0x00000002 
+ 00016371  0x00001ac4 isub  0x00000002 , 0x0000003e 
+ 00016372  0x00001ac5 branch  0x0000427f , 0x00000002 
+ 00016373  0x00001ac6 call  0x00003e2b 
+ 00016374  0x00001ac7 call  0x00007f6b 
+ 00016375  0x00001ac8 copy  0x00000003 , 0x00000011 
+ 00016376  0x00001ac9 fetch  0x00000002 , 0x0000480e 
+ 00016377  0x00001aca increase  0xfffffffe , 0x0000003f 
+ 00016378  0x00001acb iadd  0x00000003 , 0x00000003 
+ 00016379  0x00001acc ifetch  0x00000002 , 0x00000003 
+ 00016380  0x00001acd arg  0x00000a0d , 0x00000002 
+ 00016381  0x00001ace isub  0x00000002 , 0x0000003e 
+ 00016382  0x00001acf nrtn  0x00000005 
+ 00016383  0x00001ad0 copy  0x00000011 , 0x00000003 
+ 00016384  0x00001ad1 arg  0x00004850 , 0x00000012 
+ 00016385  0x00001ad2 arg  0x00000003 , 0x00000039 
+ 00016386  0x00001ad3 call  0x00004237 
+ 00016387  0x00001ad4 nbranch  0x0000427f , 0x00000001 
+ 00016388  0x00001ad5 branch  0x00004005 
+ 00016389  0x00001ad8 set1  0x00000025 , 0x00000000 
+ 00016390  0x00001ad9 bpatch  0x00000093 , 0x00004032 
+ 00016391  0x00001adb copy  0x00000003 , 0x00000011 
+ 00016392  0x00001adc arg  0x00004827 , 0x00000012 
+ 00016393  0x00001add force  0x00000004 , 0x00000039 
+ 00016394  0x00001ade call  0x00004237 
+ 00016395  0x00001adf branch  0x0000406d , 0x00000001 
+ 00016396  0x00001ae1 arg  0x00004824 , 0x00000012 
+ 00016397  0x00001ae2 force  0x00000007 , 0x00000039 
+ 00016398  0x00001ae3 call  0x00004237 
+ 00016399  0x00001ae4 branch  0x00004074 , 0x00000001 
+ 00016400  0x00001ae6 arg  0x0000482e , 0x00000012 
+ 00016401  0x00001ae7 force  0x00000004 , 0x00000039 
+ 00016402  0x00001ae8 call  0x00004237 
+ 00016403  0x00001ae9 branch  0x0000407b , 0x00000001 
+ 00016404  0x00001aeb arg  0x0000482b , 0x00000012 
+ 00016405  0x00001aec force  0x00000007 , 0x00000039 
+ 00016406  0x00001aed call  0x00004237 
+ 00016407  0x00001aee branch  0x00004081 , 0x00000001 
+ 00016408  0x00001af0 arg  0x00004832 , 0x00000012 
+ 00016409  0x00001af1 force  0x00000004 , 0x00000039 
+ 00016410  0x00001af2 call  0x00004237 
+ 00016411  0x00001af3 branch  0x00004087 , 0x00000001 
+ 00016412  0x00001af5 arg  0x00004820 , 0x00000012 
+ 00016413  0x00001af6 force  0x00000004 , 0x00000039 
+ 00016414  0x00001af7 call  0x00004237 
+ 00016415  0x00001af8 branch  0x0000408c , 0x00000001 
+ 00016416  0x00001afa arg  0x0000481c , 0x00000012 
+ 00016417  0x00001afb force  0x00000004 , 0x00000039 
+ 00016418  0x00001afc call  0x00004237 
+ 00016419  0x00001afd branch  0x0000408f , 0x00000001 
+ 00016420  0x00001aff arg  0x00004836 , 0x00000012 
+ 00016421  0x00001b00 force  0x00000005 , 0x00000039 
+ 00016422  0x00001b01 call  0x00004237 
+ 00016423  0x00001b02 branch  0x00004095 , 0x00000001 
+ 00016424  0x00001b04 arg  0x00004853 , 0x00000012 
+ 00016425  0x00001b05 force  0x00000004 , 0x00000039 
+ 00016426  0x00001b06 call  0x00004237 
+ 00016427  0x00001b07 branch  0x0000409b , 0x00000001 
+ 00016428  0x00001b09 arg  0x00004857 , 0x00000012 
+ 00016429  0x00001b0a force  0x00000004 , 0x00000039 
+ 00016430  0x00001b0b call  0x00004237 
+ 00016431  0x00001b0c branch  0x000040a1 , 0x00000001 
+ 00016432  0x00001b0e arg  0x0000485b , 0x00000012 
+ 00016433  0x00001b0f force  0x00000005 , 0x00000039 
+ 00016434  0x00001b10 call  0x00004237 
+ 00016435  0x00001b11 branch  0x000040a5 , 0x00000001 
+ 00016436  0x00001b13 arg  0x00004860 , 0x00000012 
+ 00016437  0x00001b14 force  0x00000004 , 0x00000039 
+ 00016438  0x00001b15 call  0x00004237 
+ 00016439  0x00001b16 branch  0x000040ab , 0x00000001 
+ 00016440  0x00001b18 arg  0x00004864 , 0x00000012 
+ 00016441  0x00001b19 force  0x00000004 , 0x00000039 
+ 00016442  0x00001b1a call  0x00004237 
+ 00016443  0x00001b1b branch  0x000040b0 , 0x00000001 
+ 00016444  0x00001b1d arg  0x00004868 , 0x00000012 
+ 00016445  0x00001b1e force  0x00000004 , 0x00000039 
+ 00016446  0x00001b1f call  0x00004237 
+ 00016447  0x00001b20 branch  0x000040b7 , 0x00000001 
+ 00016448  0x00001b22 arg  0x0000486f , 0x00000012 
+ 00016449  0x00001b23 force  0x00000004 , 0x00000039 
+ 00016450  0x00001b24 call  0x00004237 
+ 00016451  0x00001b25 branch  0x000040d6 , 0x00000001 
+ 00016452  0x00001b27 arg  0x0000486c , 0x00000012 
+ 00016453  0x00001b28 force  0x00000007 , 0x00000039 
+ 00016454  0x00001b29 call  0x00004237 
+ 00016455  0x00001b2a branch  0x000040dd , 0x00000001 
+ 00016456  0x00001b2c arg  0x00004873 , 0x00000012 
+ 00016457  0x00001b2d force  0x00000005 , 0x00000039 
+ 00016458  0x00001b2e call  0x00004237 
+ 00016459  0x00001b2f branch  0x000040f2 , 0x00000001 
+ 00016460  0x00001b31 arg  0x00004878 , 0x00000012 
+ 00016461  0x00001b32 force  0x00000004 , 0x00000039 
+ 00016462  0x00001b33 call  0x00004237 
+ 00016463  0x00001b34 branch  0x000040f8 , 0x00000001 
+ 00016464  0x00001b36 arg  0x0000487c , 0x00000012 
+ 00016465  0x00001b37 force  0x00000007 , 0x00000039 
+ 00016466  0x00001b38 call  0x00004237 
+ 00016467  0x00001b39 branch  0x000040fb , 0x00000001 
+ 00016468  0x00001b3b arg  0x00004841 , 0x00000012 
+ 00016469  0x00001b3c force  0x00000006 , 0x00000039 
+ 00016470  0x00001b3d call  0x00004237 
+ 00016471  0x00001b3e branch  0x00004100 , 0x00000001 
+ 00016472  0x00001b40 arg  0x00004883 , 0x00000012 
+ 00016473  0x00001b41 force  0x00000006 , 0x00000039 
+ 00016474  0x00001b42 call  0x00004237 
+ 00016475  0x00001b43 branch  0x0000412c , 0x00000001 
+ 00016476  0x00001b45 arg  0x00004849 , 0x00000012 
+ 00016477  0x00001b46 force  0x00000003 , 0x00000039 
+ 00016478  0x00001b47 call  0x00004237 
+ 00016479  0x00001b48 branch  0x0000410e , 0x00000001 
+ 00016480  0x00001b4a arg  0x0000484c , 0x00000012 
+ 00016481  0x00001b4b force  0x00000004 , 0x00000039 
+ 00016482  0x00001b4c call  0x00004237 
+ 00016483  0x00001b4d branch  0x00004117 , 0x00000001 
+ 00016484  0x00001b4f arg  0x0000483b , 0x00000012 
+ 00016485  0x00001b50 force  0x00000006 , 0x00000039 
+ 00016486  0x00001b51 call  0x00004237 
+ 00016487  0x00001b52 branch  0x00004127 , 0x00000001 
+ 00016488  0x00001b54 arg  0x00004889 , 0x00000012 
+ 00016489  0x00001b55 force  0x00000003 , 0x00000039 
+ 00016490  0x00001b56 call  0x00004237 
+ 00016491  0x00001b57 branch  0x00004129 , 0x00000001 
+ 00016492  0x00001b58 branch  0x0000427f 
+ 00016493  0x00001b5c ifetch  0x00000001 , 0x00000003 
+ 00016494  0x00001b5d beq  0x0000003f , 0x00004071 
+ 00016495  0x00001b5e beq  0x0000003d , 0x00004131 
+ 00016496  0x00001b5f branch  0x0000427f 
+ 00016497  0x00001b61 call  0x00007f6e 
+ 00016498  0x00001b62 call  0x00004194 
+ 00016499  0x00001b63 branch  0x00004286 
+ 00016500  0x00001b67 ifetch  0x00000001 , 0x00000003 
+ 00016501  0x00001b68 beq  0x0000003f , 0x00004078 
+ 00016502  0x00001b69 beq  0x0000003d , 0x00004136 
+ 00016503  0x00001b6a branch  0x0000427f 
+ 00016504  0x00001b6c call  0x00007f6e 
+ 00016505  0x00001b6d call  0x0000419b 
+ 00016506  0x00001b6e branch  0x00004286 
+ 00016507  0x00001b71 ifetch  0x00000001 , 0x00000003 
+ 00016508  0x00001b72 beq  0x0000003f , 0x0000407f 
+ 00016509  0x00001b73 beq  0x0000003d , 0x0000413c 
+ 00016510  0x00001b74 branch  0x0000427f 
+ 00016511  0x00001b76 call  0x000041a2 
+ 00016512  0x00001b77 branch  0x00004286 
+ 00016513  0x00001b7a ifetch  0x00000001 , 0x00000003 
+ 00016514  0x00001b7b beq  0x0000003f , 0x00004085 
+ 00016515  0x00001b7c beq  0x0000003d , 0x00004140 
+ 00016516  0x00001b7d branch  0x0000427f 
+ 00016517  0x00001b80 call  0x000041a8 
+ 00016518  0x00001b81 branch  0x00004286 
+ 00016519  0x00001b84 ifetch  0x00000001 , 0x00000003 
+ 00016520  0x00001b85 beq  0x0000003f , 0x0000408a 
+ 00016521  0x00001b86 branch  0x0000427f 
+ 00016522  0x00001b88 call  0x000041ae 
+ 00016523  0x00001b89 branch  0x00004286 
+ 00016524  0x00001b8d ifetch  0x00000001 , 0x00000003 
+ 00016525  0x00001b8e beq  0x0000003d , 0x00004149 
+ 00016526  0x00001b8f branch  0x0000427f 
+ 00016527  0x00001b93 ifetch  0x00000001 , 0x00000003 
+ 00016528  0x00001b94 beq  0x0000003f , 0x00004093 
+ 00016529  0x00001b95 beq  0x0000003d , 0x00004144 
+ 00016530  0x00001b96 branch  0x0000427f 
+ 00016531  0x00001b98 call  0x00004204 
+ 00016532  0x00001b99 branch  0x00004286 
+ 00016533  0x00001b9c ifetch  0x00000001 , 0x00000003 
+ 00016534  0x00001b9d beq  0x0000003f , 0x00004099 
+ 00016535  0x00001b9e beq  0x0000003d , 0x00004157 
+ 00016536  0x00001b9f branch  0x0000427f 
+ 00016537  0x00001ba1 call  0x000041b4 
+ 00016538  0x00001ba2 branch  0x00004286 
+ 00016539  0x00001ba5 ifetch  0x00000001 , 0x00000003 
+ 00016540  0x00001ba6 beq  0x0000003f , 0x0000409f 
+ 00016541  0x00001ba7 beq  0x0000003d , 0x00004172 
+ 00016542  0x00001ba8 branch  0x0000427f 
+ 00016543  0x00001baa call  0x000041ba 
+ 00016544  0x00001bab branch  0x00004286 
+ 00016545  0x00001bae ifetch  0x00000001 , 0x00000003 
+ 00016546  0x00001baf beq  0x0000003f , 0x000040e1 
+ 00016547  0x00001bb0 beq  0x0000003d , 0x0000415a 
+ 00016548  0x00001bb1 branch  0x0000427f 
+ 00016549  0x00001bb5 ifetch  0x00000001 , 0x00000003 
+ 00016550  0x00001bb6 beq  0x0000003f , 0x000040a9 
+ 00016551  0x00001bb7 beq  0x0000003d , 0x0000416b 
+ 00016552  0x00001bb8 branch  0x0000427f 
+ 00016553  0x00001bba call  0x0000420b 
+ 00016554  0x00001bbb branch  0x00004286 
+ 00016555  0x00001bbe ifetch  0x00000001 , 0x00000003 
+ 00016556  0x00001bbf beq  0x0000003f , 0x000040ae 
+ 00016557  0x00001bc0 branch  0x0000427f 
+ 00016558  0x00001bc2 call  0x000041c0 
+ 00016559  0x00001bc3 branch  0x00004286 
+ 00016560  0x00001bc6 ifetch  0x00000001 , 0x00000003 
+ 00016561  0x00001bc7 beq  0x0000003f , 0x000040b3 
+ 00016562  0x00001bc8 branch  0x00004286 
+ 00016563  0x00001bca call  0x000032ee 
+ 00016564  0x00001bcb nbranch  0x0000427f , 0x00000005 
+ 00016565  0x00001bcc call  0x000041cd 
+ 00016566  0x00001bcd branch  0x00004286 
+ 00016567  0x00001bd0 ifetch  0x00000001 , 0x00000003 
+ 00016568  0x00001bd1 beq  0x0000003f , 0x000040ba 
+ 00016569  0x00001bd2 branch  0x0000427f 
+ 00016570  0x00001bd4 fetch  0x00000001 , 0x00004040 
+ 00016571  0x00001bd5 bbit0  0x00000000 , 0x0000427f 
+ 00016572  0x00001bd6 call  0x00007f6e 
+ 00016573  0x00001bd7 fetch  0x00000001 , 0x00004041 
+ 00016574  0x00001bd8 bbit1  0x00000000 , 0x000040c0 
+ 00016575  0x00001bd9 branch  0x000040cb 
+ 00016576  0x00001bdb arg  0x00004868 , 0x00000011 
+ 00016577  0x00001bdc arg  0x00000004 , 0x00000039 
+ 00016578  0x00001bdd call  0x00004232 
+ 00016579  0x00001bde call  0x00004247 
+ 00016580  0x00001bdf setarg  0x00000034 
+ 00016581  0x00001be0 istore  0x00000001 , 0x0000000a 
+ 00016582  0x00001be1 call  0x0000424e 
+ 00016583  0x00001be2 arg  0x000003d0 , 0x00000011 
+ 00016584  0x00001be3 call  0x00007e9d 
+ 00016585  0x00001be4 call  0x000068fa 
+ 00016586  0x00001be5 branch  0x00004286 
+ 00016587  0x00001be7 arg  0x00004868 , 0x00000011 
+ 00016588  0x00001be8 arg  0x00000004 , 0x00000039 
+ 00016589  0x00001be9 call  0x00004232 
+ 00016590  0x00001bea call  0x00004247 
+ 00016591  0x00001beb setarg  0x00000033 
+ 00016592  0x00001bec istore  0x00000001 , 0x0000000a 
+ 00016593  0x00001bed call  0x0000424e 
+ 00016594  0x00001bee arg  0x00000040 , 0x00000011 
+ 00016595  0x00001bef call  0x00007e9d 
+ 00016596  0x00001bf0 call  0x000068fa 
+ 00016597  0x00001bf1 branch  0x00004286 
+ 00016598  0x00001bf5 set1  0x00000025 , 0x00000000 
+ 00016599  0x00001bf6 bpatch  0x00000094 , 0x00004032 
+ 00016600  0x00001bf7 call  0x00003f3e 
+ 00016601  0x00001bf8 fetch  0x00000001 , 0x0000429a 
+ 00016602  0x00001bf9 bne  0x00000000 , 0x0000427f 
+ 00016603  0x00001bfa call  0x000041f0 
+ 00016604  0x00001bfb branch  0x00004286 
+ 00016605  0x00001bfe set1  0x00000025 , 0x00000000 
+ 00016606  0x00001bff bpatch  0x00000095 , 0x00004032 
+ 00016607  0x00001c00 call  0x000041f6 
+ 00016608  0x00001c01 branch  0x00004286 
+ 00016609  0x00001c04 arg  0x00004857 , 0x00000011 
+ 00016610  0x00001c05 arg  0x00000004 , 0x00000039 
+ 00016611  0x00001c06 call  0x00004232 
+ 00016612  0x00001c07 call  0x000032ee 
+ 00016613  0x00001c08 nbranch  0x0000424a , 0x00000005 
+ 00016614  0x00001c09 fetch  0x00000001 , 0x00004041 
+ 00016615  0x00001c0a bbit1  0x00000001 , 0x000040eb 
+ 00016616  0x00001c0b call  0x000040ef 
+ 00016617  0x00001c0c call  0x000068fa 
+ 00016618  0x00001c0d branch  0x00004286 
+ 00016619  0x00001c0f setarg  0x0000004d 
+ 00016620  0x00001c10 istore  0x00000001 , 0x0000000a 
+ 00016621  0x00001c11 call  0x000068fa 
+ 00016622  0x00001c12 branch  0x00004286 
+ 00016623  0x00001c14 setarg  0x00000053 
+ 00016624  0x00001c15 istore  0x00000001 , 0x0000000a 
+ 00016625  0x00001c16 rtn 
+ 00016626  0x00001c19 ifetch  0x00000001 , 0x00000003 
+ 00016627  0x00001c1a beq  0x0000003f , 0x000040f6 
+ 00016628  0x00001c1b beq  0x0000003d , 0x0000417e 
+ 00016629  0x00001c1c branch  0x0000427f 
+ 00016630  0x00001c1e call  0x000041d8 
+ 00016631  0x00001c1f branch  0x00004286 
+ 00016632  0x00001c22 ifetch  0x00000001 , 0x00000003 
+ 00016633  0x00001c23 beq  0x0000003d , 0x00004151 
+ 00016634  0x00001c24 branch  0x0000427f 
+ 00016635  0x00001c27 ifetch  0x00000001 , 0x00000003 
+ 00016636  0x00001c28 beq  0x0000003f , 0x000040fe 
+ 00016637  0x00001c29 branch  0x0000427f 
+ 00016638  0x00001c2b call  0x000041de 
+ 00016639  0x00001c2c branch  0x00004286 
+ 00016640  0x00001c2f fetch  0x00000001 , 0x0000429f 
+ 00016641  0x00001c30 store  0x00000001 , 0x00000177 
+ 00016642  0x00001c31 call  0x0000691d 
+ 00016643  0x00001c32 call  0x00003f3e 
+ 00016644  0x00001c33 fetch  0x00000001 , 0x0000429a 
+ 00016645  0x00001c34 bne  0x00000000 , 0x0000427f 
+ 00016646  0x00001c35 fetch  0x00000001 , 0x000042a9 
+ 00016647  0x00001c36 beq  0x00000033 , 0x0000410c 
+ 00016648  0x00001c37 beq  0x00000034 , 0x0000410a 
+ 00016649  0x00001c38 branch  0x0000427f 
+ 00016650  0x00001c3b call  0x00003f82 
+ 00016651  0x00001c3c branch  0x00004286 
+ 00016652  0x00001c3e call  0x00003f6e 
+ 00016653  0x00001c3f branch  0x00004286 
+ 00016654  0x00001c42 call  0x00003f3e 
+ 00016655  0x00001c43 fetch  0x00000001 , 0x0000429a 
+ 00016656  0x00001c44 bne  0x00000001 , 0x0000427f 
+ 00016657  0x00001c45 fetch  0x00000001 , 0x00004041 
+ 00016658  0x00001c46 bbit1  0x00000000 , 0x00004115 
+ 00016659  0x00001c47 call  0x00003f77 
+ 00016660  0x00001c48 branch  0x00004286 
+ 00016661  0x00001c4c call  0x00003f90 
+ 00016662  0x00001c4d branch  0x00004286 
+ 00016663  0x00001c51 ifetch  0x00000001 , 0x00000003 
+ 00016664  0x00001c52 beq  0x0000003d , 0x0000411a 
+ 00016665  0x00001c53 branch  0x0000427f 
+ 00016666  0x00001c55 ifetch  0x00000001 , 0x00000003 
+ 00016667  0x00001c56 beq  0x00000031 , 0x00004122 
+ 00016668  0x00001c57 beq  0x00000030 , 0x0000411e 
+ 00016669  0x00001c58 branch  0x0000427f 
+ 00016670  0x00001c5a call  0x00003f40 
+ 00016671  0x00001c5b branch  0x00004286 , 0x00000001 
+ 00016672  0x00001c5c call  0x00003f9e 
+ 00016673  0x00001c5d branch  0x00004286 
+ 00016674  0x00001c5f call  0x00003f40 
+ 00016675  0x00001c60 nbranch  0x00004286 , 0x00000001 
+ 00016676  0x00001c61 call  0x000063ab 
+ 00016677  0x00001c62 call  0x00006414 
+ 00016678  0x00001c63 branch  0x00004286 
+ 00016679  0x00001c67 call  0x00003f43 
+ 00016680  0x00001c68 branch  0x00004286 
+ 00016681  0x00001c6b ifetch  0x00000001 , 0x00000003 
+ 00016682  0x00001c6c beq  0x0000003d , 0x00004187 
+ 00016683  0x00001c6d branch  0x0000427f 
+ 00016684  0x00001c70 call  0x00003f3e 
+ 00016685  0x00001c71 fetch  0x00000001 , 0x0000429a 
+ 00016686  0x00001c72 bne  0x00000000 , 0x0000427f 
+ 00016687  0x00001c73 call  0x0000638a 
+ 00016688  0x00001c74 branch  0x00004286 
+ 00016689  0x00001c7b arg  0x00004703 , 0x00000011 
+ 00016690  0x00001c7c call  0x0000422b 
+ 00016691  0x00001c7d storet  0x00000001 , 0x00004702 
+ 00016692  0x00001c7e call  0x00003fd2 
+ 00016693  0x00001c7f branch  0x00004286 
+ 00016694  0x00001c82 arg  0x0000441a , 0x00000011 
+ 00016695  0x00001c83 call  0x0000422b 
+ 00016696  0x00001c84 storet  0x00000001 , 0x00004419 
+ 00016697  0x00001c85 call  0x00003fd7 
+ 00016698  0x00001c86 call  0x00005adb 
+ 00016699  0x00001c87 branch  0x00004286 
+ 00016700  0x00001c8a arg  0x00004140 , 0x00000005 
+ 00016701  0x00001c8b call  0x00007ebf 
+ 00016702  0x00001c8c call  0x00003fe0 
+ 00016703  0x00001c8d branch  0x00004286 
+ 00016704  0x00001c90 arg  0x000044f9 , 0x00000005 
+ 00016705  0x00001c91 call  0x00007ebf 
+ 00016706  0x00001c92 call  0x00003fdc 
+ 00016707  0x00001c93 branch  0x00004286 
+ 00016708  0x00001c96 arg  0x00000550 , 0x00000011 
+ 00016709  0x00001c97 call  0x0000422b 
+ 00016710  0x00001c98 storet  0x00000001 , 0x0000054f 
+ 00016711  0x00001c99 call  0x00003fe4 
+ 00016712  0x00001c9a branch  0x00004286 
+ 00016713  0x00001c9d call  0x00007eb0 
+ 00016714  0x00001c9e setarg  0x02dc6c00 
+ 00016715  0x00001c9f idiv  0x00000002 
+ 00016716  0x00001ca0 call  0x00007efd 
+ 00016717  0x00001ca1 quotient  0x0000003f 
+ 00016718  0x00001ca2 store  0x00000002 , 0x000002a8 
+ 00016719  0x00001ca3 call  0x00003feb 
+ 00016720  0x00001ca4 branch  0x00004286 
+ 00016721  0x00001ca7 ifetch  0x00000001 , 0x00000003 
+ 00016722  0x00001ca8 sub  0x0000003f , 0x00000033 , 0x0000003e 
+ 00016723  0x00001ca9 nbranch  0x0000427f , 0x00000002 
+ 00016724  0x00001caa and  0x0000003f , 0x00000003 , 0x0000003f 
+ 00016725  0x00001cab store  0x00000001 , 0x00004812 
+ 00016726  0x00001cac branch  0x00004286 
+ 00016727  0x00001caf ifetch  0x00000003 , 0x00000003 
+ 00016728  0x00001cb0 store  0x00000003 , 0x0000414a 
+ 00016729  0x00001cb1 branch  0x00004286 
+ 00016730  0x00001cb4 call  0x000032ee 
+ 00016731  0x00001cb5 nbranch  0x0000427f , 0x00000005 
+ 00016732  0x00001cb6 ifetch  0x00000001 , 0x00000003 
+ 00016733  0x00001cb7 beq  0x00000053 , 0x00004160 
+ 00016734  0x00001cb8 beq  0x0000004d , 0x00004163 
+ 00016735  0x00001cb9 branch  0x0000427f 
+ 00016736  0x00001cbc fetch  0x00000001 , 0x00004041 
+ 00016737  0x00001cbd bbit1  0x00000001 , 0x00004166 
+ 00016738  0x00001cbe branch  0x0000427f 
+ 00016739  0x00001cc1 fetch  0x00000001 , 0x00004041 
+ 00016740  0x00001cc2 bbit0  0x00000001 , 0x00004166 
+ 00016741  0x00001cc3 branch  0x0000427f 
+ 00016742  0x00001cc6 fetch  0x00000001 , 0x00004813 
+ 00016743  0x00001cc7 set1  0x00000004 , 0x0000003f 
+ 00016744  0x00001cc8 store  0x00000001 , 0x00004813 
+ 00016745  0x00001cc9 jam  0x00000018 , 0x00004272 
+ 00016746  0x00001cca branch  0x0000428c 
+ 00016747  0x00001ccd arg  0x00004280 , 0x00000005 
+ 00016748  0x00001cce call  0x00007ebd 
+ 00016749  0x00001ccf arg  0x00004282 , 0x00000005 
+ 00016750  0x00001cd0 call  0x00007ebd 
+ 00016751  0x00001cd1 arg  0x00004284 , 0x00000005 
+ 00016752  0x00001cd2 call  0x00007ebd 
+ 00016753  0x00001cd3 branch  0x00004286 
+ 00016754  0x00001cd6 ifetch  0x00000001 , 0x00000003 
+ 00016755  0x00001cd7 beq  0x00000031 , 0x00004176 
+ 00016756  0x00001cd8 beq  0x00000032 , 0x0000417c 
+ 00016757  0x00001cd9 branch  0x0000427f 
+ 00016758  0x00001cdb ifetch  0x00000001 , 0x00000003 
+ 00016759  0x00001cdc arg  0x000001b4 , 0x00000005 
+ 00016760  0x00001cdd call  0x00007ebf 
+ 00016761  0x00001cde call  0x00006931 
+ 00016762  0x00001cdf nrtn  0x00000028 
+ 00016763  0x00001ce0 branch  0x00004286 
+ 00016764  0x00001ce2 call  0x0000693d 
+ 00016765  0x00001ce3 branch  0x00004286 
+ 00016766  0x00001ce6 ifetch  0x00000001 , 0x00000003 
+ 00016767  0x00001ce7 fetcht  0x00000001 , 0x00004812 
+ 00016768  0x00001ce8 nsetflag  0x00000034 , 0x00000002 , 0x00000002 
+ 00016769  0x00001ce9 storet  0x00000001 , 0x00004812 
+ 00016770  0x00001cea branch  0x00004286 , 0x00000034 
+ 00016771  0x00001ceb ifetch  0x00000001 , 0x00000003 
+ 00016772  0x00001cec arg  0x00004814 , 0x00000005 
+ 00016773  0x00001ced call  0x00007ebf 
+ 00016774  0x00001cee branch  0x00004286 
+ 00016775  0x00001cf1 set1  0x00000025 , 0x00000000 
+ 00016776  0x00001cf2 bpatch  0x00000096 , 0x00004032 
+ 00016777  0x00001cf3 arg  0x00000014 , 0x00000039 
+ 00016778  0x00001cf4 arg  0x00001000 , 0x00000005 
+ 00016779  0x00001cf5 call  0x0000497c 
+ 00016780  0x00001cf6 arg  0x00001000 , 0x00000011 
+ 00016781  0x00001cf7 fetch  0x00000001 , 0x00001000 
+ 00016782  0x00001cf8 compare  0x00000012 , 0x0000003f , 0x000000ff 
+ 00016783  0x00001cf9 call  0x00006b19 , 0x00000001 
+ 00016784  0x00001cfa fetch  0x00000001 , 0x00001000 
+ 00016785  0x00001cfb compare  0x00000013 , 0x0000003f , 0x000000ff 
+ 00016786  0x00001cfc call  0x00006b45 , 0x00000001 
+ 00016787  0x00001cfd branch  0x00004286 
+ 00016788  0x00001d03 arg  0x00004827 , 0x00000011 
+ 00016789  0x00001d04 arg  0x00000004 , 0x00000039 
+ 00016790  0x00001d05 call  0x00004232 
+ 00016791  0x00001d06 fetch  0x00000001 , 0x00004702 
+ 00016792  0x00001d07 copy  0x0000003f , 0x00000039 
+ 00016793  0x00001d08 arg  0x00004703 , 0x00000006 
+ 00016794  0x00001d09 branch  0x00007f74 
+ 00016795  0x00001d0b arg  0x00004824 , 0x00000011 
+ 00016796  0x00001d0c force  0x00000007 , 0x00000039 
+ 00016797  0x00001d0d call  0x00004232 
+ 00016798  0x00001d0e call  0x00005b08 
+ 00016799  0x00001d0f ifetch  0x00000001 , 0x00000006 
+ 00016800  0x00001d10 copy  0x0000003f , 0x00000039 
+ 00016801  0x00001d11 branch  0x00007f74 
+ 00016802  0x00001d15 arg  0x0000482e , 0x00000011 
+ 00016803  0x00001d16 arg  0x00000004 , 0x00000039 
+ 00016804  0x00001d17 call  0x00004232 
+ 00016805  0x00001d18 arg  0x00004140 , 0x00000011 
+ 00016806  0x00001d19 call  0x00007e9d 
+ 00016807  0x00001d1a branch  0x000068fa 
+ 00016808  0x00001d1c arg  0x0000482b , 0x00000011 
+ 00016809  0x00001d1d arg  0x00000007 , 0x00000039 
+ 00016810  0x00001d1e call  0x00004232 
+ 00016811  0x00001d1f arg  0x000044f9 , 0x00000011 
+ 00016812  0x00001d20 call  0x00007e9d 
+ 00016813  0x00001d21 branch  0x000068fa 
+ 00016814  0x00001d25 arg  0x00004832 , 0x00000011 
+ 00016815  0x00001d26 arg  0x00000004 , 0x00000039 
+ 00016816  0x00001d27 call  0x00004232 
+ 00016817  0x00001d28 arg  0x00000006 , 0x00000039 
+ 00016818  0x00001d29 arg  0x00004804 , 0x00000006 
+ 00016819  0x00001d2a branch  0x00007f74 
+ 00016820  0x00001d2d arg  0x00004836 , 0x00000011 
+ 00016821  0x00001d2e arg  0x00000005 , 0x00000039 
+ 00016822  0x00001d2f call  0x00004232 
+ 00016823  0x00001d30 arg  0x00000003 , 0x00000039 
+ 00016824  0x00001d31 arg  0x0000414a , 0x00000006 
+ 00016825  0x00001d32 branch  0x00007f74 
+ 00016826  0x00001d35 arg  0x00004853 , 0x00000011 
+ 00016827  0x00001d36 arg  0x00000004 , 0x00000039 
+ 00016828  0x00001d37 call  0x00004232 
+ 00016829  0x00001d38 call  0x00006988 
+ 00016830  0x00001d39 call  0x00004253 
+ 00016831  0x00001d3a branch  0x000068fa 
+ 00016832  0x00001d3e call  0x00006929 
+ 00016833  0x00001d3f arg  0x00004860 , 0x00000011 
+ 00016834  0x00001d40 arg  0x00000004 , 0x00000039 
+ 00016835  0x00001d41 call  0x00004232 
+ 00016836  0x00001d42 fetch  0x00000001 , 0x000001b3 
+ 00016837  0x00001d43 beq  0x00000033 , 0x000041c8 
+ 00016838  0x00001d44 beq  0x00000034 , 0x000041c8 
+ 00016839  0x00001d45 branch  0x000068fa 
+ 00016840  0x00001d47 istore  0x00000001 , 0x0000000a 
+ 00016841  0x00001d48 call  0x0000424e 
+ 00016842  0x00001d49 arg  0x000001b4 , 0x00000011 
+ 00016843  0x00001d4a call  0x00007e9d 
+ 00016844  0x00001d4b branch  0x000068fa 
+ 00016845  0x00001d4e set1  0x00000025 , 0x00000000 
+ 00016846  0x00001d4f bpatch  0x00000097 , 0x00004032 
+ 00016847  0x00001d50 arg  0x00004864 , 0x00000011 
+ 00016848  0x00001d51 arg  0x00000004 , 0x00000039 
+ 00016849  0x00001d52 call  0x00004232 
+ 00016850  0x00001d53 call  0x000041d4 
+ 00016851  0x00001d54 branch  0x000068fa 
+ 00016852  0x00001d56 arg  0x00000018 , 0x00000011 
+ 00016853  0x00001d57 arg  0x00000001 , 0x00000039 
+ 00016854  0x00001d58 branch  0x00007e9e 
+ 00016855  0x00001d5b rtn 
+ 00016856  0x00001d5f arg  0x00004873 , 0x00000011 
+ 00016857  0x00001d60 arg  0x00000005 , 0x00000039 
+ 00016858  0x00001d61 call  0x00004232 
+ 00016859  0x00001d62 arg  0x00004814 , 0x00000011 
+ 00016860  0x00001d63 call  0x00007e9d 
+ 00016861  0x00001d64 branch  0x000068fa 
+ 00016862  0x00001d68 arg  0x0000487c , 0x00000011 
+ 00016863  0x00001d69 arg  0x00000007 , 0x00000039 
+ 00016864  0x00001d6a call  0x00004232 
+ 00016865  0x00001d6b fetch  0x00000001 , 0x00004812 
+ 00016866  0x00001d6c copy  0x0000003f , 0x00000011 
+ 00016867  0x00001d6d fetch  0x00000001 , 0x00004040 
+ 00016868  0x00001d6e isolate1  0x00000000 , 0x0000003f 
+ 00016869  0x00001d6f setflag  0x00000001 , 0x00000003 , 0x00000011 
+ 00016870  0x00001d70 isolate1  0x00000001 , 0x0000003f 
+ 00016871  0x00001d71 setflag  0x00000001 , 0x00000005 , 0x00000011 
+ 00016872  0x00001d72 fetch  0x00000001 , 0x00004041 
+ 00016873  0x00001d73 isolate1  0x00000001 , 0x0000003f 
+ 00016874  0x00001d74 setflag  0x00000001 , 0x00000004 , 0x00000011 
+ 00016875  0x00001d75 isolate1  0x00000000 , 0x0000003f 
+ 00016876  0x00001d76 setflag  0x00000001 , 0x00000006 , 0x00000011 
+ 00016877  0x00001d77 copy  0x00000011 , 0x0000003f 
+ 00016878  0x00001d78 istore  0x00000001 , 0x0000000a 
+ 00016879  0x00001d79 branch  0x000068fa 
+ 00016880  0x00001d7c setarg  0x009e8b33 
+ 00016881  0x00001d7d store  0x00000003 , 0x00004147 
+ 00016882  0x00001d7e fetch  0x00000001 , 0x000042a4 
+ 00016883  0x00001d7f set1  0x00000000 , 0x0000003f 
+ 00016884  0x00001d80 store  0x00000001 , 0x000042a4 
+ 00016885  0x00001d81 branch  0x00004636 
+ 00016886  0x00001d84 call  0x00003f3e 
+ 00016887  0x00001d85 fetch  0x00000001 , 0x0000429a 
+ 00016888  0x00001d86 bne  0x00000000 , 0x0000427f 
+ 00016889  0x00001d87 call  0x00003f8a 
+ 00016890  0x00001d88 fetch  0x00000001 , 0x000042a4 
+ 00016891  0x00001d89 set1  0x00000001 , 0x0000003f 
+ 00016892  0x00001d8a store  0x00000001 , 0x000042a4 
+ 00016893  0x00001d8b setarg  0x00000200 
+ 00016894  0x00001d8c store  0x00000002 , 0x0000481a 
+ 00016895  0x00001d8d arg  0x0000486c , 0x00000011 
+ 00016896  0x00001d8e arg  0x00000006 , 0x00000039 
+ 00016897  0x00001d8f call  0x00004232 
+ 00016898  0x00001d90 call  0x00007f74 
+ 00016899  0x00001d91 branch  0x0000428c 
+ 00016900  0x00001d96 arg  0x0000481c , 0x00000011 
+ 00016901  0x00001d97 arg  0x00000004 , 0x00000039 
+ 00016902  0x00001d98 call  0x00004232 
+ 00016903  0x00001d99 fetch  0x00000001 , 0x0000054f 
+ 00016904  0x00001d9a copy  0x0000003f , 0x00000039 
+ 00016905  0x00001d9b arg  0x00000550 , 0x00000006 
+ 00016906  0x00001d9c branch  0x00007f74 
+ 00016907  0x00001da1 arg  0x0000485b , 0x00000011 
+ 00016908  0x00001da2 arg  0x00000005 , 0x00000039 
+ 00016909  0x00001da3 call  0x00004232 
+ 00016910  0x00001da4 call  0x00004247 
+ 00016911  0x00001da5 setarg  0x00000054 
+ 00016912  0x00001da6 istore  0x00000001 , 0x0000000a 
+ 00016913  0x00001da7 call  0x00004244 
+ 00016914  0x00001da8 arg  0x00004280 , 0x00000011 
+ 00016915  0x00001da9 call  0x00007e9b 
+ 00016916  0x00001daa call  0x00004247 
+ 00016917  0x00001dab setarg  0x00000041 
+ 00016918  0x00001dac istore  0x00000001 , 0x0000000a 
+ 00016919  0x00001dad call  0x00004244 
+ 00016920  0x00001dae arg  0x00004282 , 0x00000011 
+ 00016921  0x00001daf call  0x00007e9b 
+ 00016922  0x00001db0 call  0x00004247 
+ 00016923  0x00001db1 setarg  0x0000004f 
+ 00016924  0x00001db2 istore  0x00000001 , 0x0000000a 
+ 00016925  0x00001db3 call  0x00004244 
+ 00016926  0x00001db4 arg  0x00004284 , 0x00000011 
+ 00016927  0x00001db5 call  0x00007e9b 
+ 00016928  0x00001db6 branch  0x00007f74 
+ 00016929  0x00001db8 call  0x00007f6e 
+ 00016930  0x00001db9 call  0x00004247 
+ 00016931  0x00001dba arg  0x00000182 , 0x00000011 
+ 00016932  0x00001dbb call  0x00007e9d 
+ 00016933  0x00001dbc call  0x0000424e 
+ 00016934  0x00001dbd arg  0x0000017f , 0x00000011 
+ 00016935  0x00001dbe call  0x00007e99 
+ 00016936  0x00001dbf call  0x0000424e 
+ 00016937  0x00001dc0 call  0x000041d4 
+ 00016938  0x00001dc1 branch  0x000068fa 
+ 00016939  0x00001dcd call  0x0000422d 
+ 00016940  0x00001dce branch  0x0000497c 
+ 00016941  0x00001dd0 call  0x00004269 
+ 00016942  0x00001dd1 copy  0x0000003f , 0x00000002 
+ 00016943  0x00001dd2 copy  0x0000003f , 0x00000039 
+ 00016944  0x00001dd3 copy  0x00000011 , 0x00000005 
+ 00016945  0x00001dd4 rtn 
+ 00016946  0x00001dd8 call  0x00007f6e 
+ 00016947  0x00001dd9 call  0x00004241 
+ 00016948  0x00001ddb copy  0x00000011 , 0x00000006 
+ 00016949  0x00001ddc call  0x00004976 
+ 00016950  0x00001ddd branch  0x00004244 
+ 00016951  0x00001de1 ifetch  0x00000001 , 0x00000003 
+ 00016952  0x00001de2 ifetcht  0x00000001 , 0x00000012 
+ 00016953  0x00001de3 isub  0x00000002 , 0x0000003e 
+ 00016954  0x00001de4 disable  0x00000001 
+ 00016955  0x00001de5 nbranch  0x00004240 , 0x00000005 
+ 00016956  0x00001de6 increase  0x00000001 , 0x00000012 
+ 00016957  0x00001de7 loop  0x00004237 
+ 00016958  0x00001de8 enable  0x00000001 
+ 00016959  0x00001de9 rtn 
+ 00016960  0x00001deb branch  0x00004251 
+ 00016961  0x00001def setarg  0x0000002b 
+ 00016962  0x00001df0 istore  0x00000001 , 0x0000000a 
+ 00016963  0x00001df1 rtn 
+ 00016964  0x00001df4 setarg  0x0000003a 
+ 00016965  0x00001df5 istore  0x00000001 , 0x0000000a 
+ 00016966  0x00001df6 rtn 
+ 00016967  0x00001dfa setarg  0x0000003e 
+ 00016968  0x00001dfb istore  0x00000001 , 0x0000000a 
+ 00016969  0x00001dfc rtn 
+ 00016970  0x00001dfe setarg  0x0000004e 
+ 00016971  0x00001dff istore  0x00000001 , 0x0000000a 
+ 00016972  0x00001e00 call  0x000068fa 
+ 00016973  0x00001e01 branch  0x00004286 
+ 00016974  0x00001e06 setarg  0x0000002c 
+ 00016975  0x00001e07 istore  0x00000001 , 0x0000000a 
+ 00016976  0x00001e08 rtn 
+ 00016977  0x00001e0b copy  0x00000011 , 0x00000003 
+ 00016978  0x00001e0c rtn 
+ 00016979  0x00001e0f arg  0x00000195 , 0x00000013 
+ 00016980  0x00001e10 arg  0x00000004 , 0x00000039 
+ 00016981  0x00001e12 copy  0x00000039 , 0x0000003f 
+ 00016982  0x00001e13 store  0x00000001 , 0x00000161 
+ 00016983  0x00001e14 ifetch  0x00000001 , 0x00000013 
+ 00016984  0x00001e15 beq  0x00000033 , 0x0000425b 
+ 00016985  0x00001e16 beq  0x00000034 , 0x0000425b 
+ 00016986  0x00001e17 branch  0x00004267 
+ 00016987  0x00001e19 call  0x00004247 
+ 00016988  0x00001e1a ifetch  0x00000001 , 0x00000013 
+ 00016989  0x00001e1b istore  0x00000001 , 0x0000000a 
+ 00016990  0x00001e1c increase  0x00000001 , 0x00000013 
+ 00016991  0x00001e1d call  0x0000424e 
+ 00016992  0x00001e1e copy  0x00000013 , 0x00000011 
+ 00016993  0x00001e1f call  0x00007e9d 
+ 00016994  0x00001e21 increase  0x00000006 , 0x00000013 
+ 00016995  0x00001e22 fetch  0x00000001 , 0x00000161 
+ 00016996  0x00001e23 copy  0x0000003f , 0x00000039 
+ 00016997  0x00001e24 loop  0x00004255 
+ 00016998  0x00001e25 rtn 
+ 00016999  0x00001e27 increase  0x00000001 , 0x00000013 
+ 00017000  0x00001e28 branch  0x00004262 
+ 00017001  0x00001e2d set1  0x00000025 , 0x00000000 
+ 00017002  0x00001e2e bpatch  0x00000098 , 0x00004033 
+ 00017003  0x00001e2f hfetch  0x00000002 , 0x00008058 
+ 00017004  0x00001e30 isub  0x00000003 , 0x0000003f 
+ 00017005  0x00001e31 rtn  0x00000005 
+ 00017006  0x00001e32 branch  0x00004273 , 0x00000002 
+ 00017007  0x00001e34 fetcht  0x00000002 , 0x0000480e 
+ 00017008  0x00001e35 iadd  0x00000002 , 0x0000003f 
+ 00017009  0x00001e36 increase  0xfffffffe , 0x0000003f 
+ 00017010  0x00001e37 rtn 
+ 00017011  0x00001e39 call  0x00004278 
+ 00017012  0x00001e3a iadd  0x00000003 , 0x00000002 
+ 00017013  0x00001e3b hfetch  0x00000002 , 0x00008058 
+ 00017014  0x00001e3c isub  0x00000002 , 0x0000003f 
+ 00017015  0x00001e3d branch  0x0000426f 
+ 00017016  0x00001e40 arg  0x00004fff , 0x0000003f 
+ 00017017  0x00001e41 increase  0x00000001 , 0x0000003f 
+ 00017018  0x00001e42 arg  0x00004a00 , 0x00000002 
+ 00017019  0x00001e43 isub  0x00000002 , 0x0000003f 
+ 00017020  0x00001e44 rtn 
+ 00017021  0x00001e47 fetcht  0x00000002 , 0x0000480e 
+ 00017022  0x00001e48 branch  0x00006903 
+ 00017023  0x00001e4e set1  0x00000025 , 0x00000000 
+ 00017024  0x00001e4f bpatch  0x00000099 , 0x00004033 
+ 00017025  0x00001e50 call  0x00007f6e 
+ 00017026  0x00001e51 setarg  0x00525245 
+ 00017027  0x00001e52 istore  0x00000003 , 0x0000000a 
+ 00017028  0x00001e53 call  0x000068fa 
+ 00017029  0x00001e54 branch  0x0000428c 
+ 00017030  0x00001e57 set1  0x00000025 , 0x00000000 
+ 00017031  0x00001e58 bpatch  0x0000009a , 0x00004033 
+ 00017032  0x00001e59 call  0x00007f6e 
+ 00017033  0x00001e5a setarg  0x00004b4f 
+ 00017034  0x00001e5b istore  0x00000002 , 0x0000000a 
+ 00017035  0x00001e5c call  0x000068fa 
+ 00017036  0x00001e5f set1  0x00000025 , 0x00000000 
+ 00017037  0x00001e60 bpatch  0x0000009b , 0x00004033 
+ 00017038  0x00001e61 call  0x0000427d 
+ 00017039  0x00001e63 setarg  0x00000000 
+ 00017040  0x00001e64 store  0x00000002 , 0x0000480e 
+ 00017041  0x00001e65 store  0x00000004 , 0x0000480a 
+ 00017042  0x00001e66 rtn 
+ 00017043  0x00001e6a call  0x00007db2 
+ 00017044  0x00001e6b call  0x00003f94 
+ 00017045  0x00001e6c setarg  0x0000429f 
+ 00017046  0x00001e6d store  0x00000002 , 0x0000428c 
+ 00017047  0x00001e6e setarg  0x000042be 
+ 00017048  0x00001e6f store  0x00000002 , 0x00004292 
+ 00017049  0x00001e70 setarg  0x00007cdb 
+ 00017050  0x00001e71 store  0x00000002 , 0x00004290 
+ 00017051  0x00001e72 jam  0x00000005 , 0x0000025a 
+ 00017052  0x00001e73 jam  0x00000000 , 0x0000026e 
+ 00017053  0x00001e74 jam  0x0000001b , 0x00004272 
+ 00017054  0x00001e75 rtn 
+ 00017055  0x00001e79 disable  0x00000001 
+ 00017056  0x00001e7a call  0x00003f3e 
+ 00017057  0x00001e7c jam  0x0000001b , 0x0000041c 
+ 00017058  0x00001e7d fetch  0x00000001 , 0x0000429a 
+ 00017059  0x00001e7e compare  0x00000002 , 0x0000003f , 0x00000003 
+ 00017060  0x00001e7f nrtn  0x00000001 
+ 00017061  0x00001e80 jam  0x00000000 , 0x000043d2 
+ 00017062  0x00001e81 rtn 
+ 00017063  0x00001e84 fetch  0x00000001 , 0x00000340 
+ 00017064  0x00001e85 bbit0  0x00000000 , 0x000042b0 
+ 00017065  0x00001e86 fetch  0x00000006 , 0x00000342 
+ 00017066  0x00001e87 fetcht  0x00000006 , 0x000003d0 
+ 00017067  0x00001e88 isub  0x00000002 , 0x0000003e 
+ 00017068  0x00001e89 nrtn  0x00000005 
+ 00017069  0x00001e8b fetch  0x00000006 , 0x000003d0 
+ 00017070  0x00001e8c store  0x00000006 , 0x000044e7 
+ 00017071  0x00001e8d rtn 
+ 00017072  0x00001e90 arg  0x000000ff , 0x00000011 
+ 00017073  0x00001e91 call  0x00005b52 
+ 00017074  0x00001e92 nrtn  0x00000005 
+ 00017075  0x00001e93 ifetch  0x00000002 , 0x00000006 
+ 00017076  0x00001e94 fetcht  0x00000002 , 0x00000270 
+ 00017077  0x00001e95 isub  0x00000002 , 0x0000003e 
+ 00017078  0x00001e96 nrtn  0x00000005 
+ 00017079  0x00001e97 fetch  0x00000001 , 0x0000026e 
+ 00017080  0x00001e98 increase  0x00000001 , 0x0000003f 
+ 00017081  0x00001e99 store  0x00000001 , 0x0000026e 
+ 00017082  0x00001e9a fetcht  0x00000001 , 0x0000026f 
+ 00017083  0x00001e9b isub  0x00000002 , 0x0000003e 
+ 00017084  0x00001e9c branch  0x000042ad , 0x00000002 
+ 00017085  0x00001e9d rtn 
+ 00017086  0x00001ea0 copy  0x00000013 , 0x0000003f 
+ 00017087  0x00001ea1 beq  0x00000015 , 0x000042c5 
+ 00017088  0x00001ea2 beq  0x00000014 , 0x000042d7 
+ 00017089  0x00001ea3 and  0x0000003f , 0x0000000f , 0x00000002 
+ 00017090  0x00001ea4 and_into  0x000000f0 , 0x0000003f 
+ 00017091  0x00001ea5 beq  0x00000050 , 0x000042cd 
+ 00017092  0x00001ea6 rtn 
+ 00017093  0x00001ea9 setarg  0x00000000 
+ 00017094  0x00001eaa store  0x00000006 , 0x000044e7 
+ 00017095  0x00001eab jam  0x00000000 , 0x0000026e 
+ 00017096  0x00001eac setarg  0x00000000 
+ 00017097  0x00001ead store  0x00000005 , 0x00000ff1 
+ 00017098  0x00001eae jam  0x00000001 , 0x00000ff0 
+ 00017099  0x00001eaf call  0x00007cdb 
+ 00017100  0x00001eb0 branch  0x00003f8a 
+ 00017101  0x00001eb3 rtn 
+ 00017102  0x00001eb4 fetch  0x00000001 , 0x000043d2 
+ 00017103  0x00001eb5 rtn  0x00000034 
+ 00017104  0x00001eb6 fetch  0x00000001 , 0x0000025a 
+ 00017105  0x00001eb7 rtn  0x00000034 
+ 00017106  0x00001eb8 increase  0xffffffff , 0x0000003f 
+ 00017107  0x00001eb9 store  0x00000001 , 0x0000025a 
+ 00017108  0x00001eba nrtn  0x00000034 
+ 00017109  0x00001ebb call  0x000042d8 
+ 00017110  0x00001ebc branch  0x00003f8e 
+ 00017111  0x00001ec0 branch  0x00003f8c 
+ 00017112  0x00001ec4 jam  0x00000005 , 0x0000025a 
+ 00017113  0x00001ec5 fetch  0x00000001 , 0x00000267 
+ 00017114  0x00001ec6 beq  0x00000001 , 0x000042e1 
+ 00017115  0x00001ec7 beq  0x00000002 , 0x000042dd 
+ 00017116  0x00001ec8 rtn 
+ 00017117  0x00001eca fetch  0x00000006 , 0x0000025b 
+ 00017118  0x00001ecb store  0x00000006 , 0x00000268 
+ 00017119  0x00001ecc jam  0x00000001 , 0x00000267 
+ 00017120  0x00001ecd rtn 
+ 00017121  0x00001ecf fetch  0x00000006 , 0x00000261 
+ 00017122  0x00001ed0 store  0x00000006 , 0x00000268 
+ 00017123  0x00001ed1 jam  0x00000002 , 0x00000267 
+ 00017124  0x00001ed2 rtn 
+ 00017125  0x00001ed6 ifetch  0x00000002 , 0x00000003 
+ 00017126  0x00001ed7 branch  0x00004490 , 0x00000034 
+ 00017127  0x00001ed8 iforce  0x00000013 
+ 00017128  0x00001ed9 ifetch  0x00000001 , 0x00000003 
+ 00017129  0x00001eda store  0x00000001 , 0x00000293 
+ 00017130  0x00001edb iforce  0x00000011 
+ 00017131  0x00001edc bbit0  0x00000006 , 0x000042ed 
+ 00017132  0x00001edd increase  0xfffffffe , 0x00000013 
+ 00017133  0x00001edf ifetch  0x00000002 , 0x00000003 
+ 00017134  0x00001ee0 rshift4  0x0000003f , 0x00000039 
+ 00017135  0x00001ee1 and  0x0000003f , 0x0000000f , 0x00000008 
+ 00017136  0x00001ee2 iadd  0x00000011 , 0x00000011 
+ 00017137  0x00001ee3 rshift8  0x0000003f , 0x0000003f 
+ 00017138  0x00001ee4 iadd  0x00000011 , 0x00000011 
+ 00017139  0x00001ee5 ifetch  0x00000001 , 0x00000003 
+ 00017140  0x00001ee6 iadd  0x00000011 , 0x0000003f 
+ 00017141  0x00001ee7 bne  0x000000ff , 0x00004319 
+ 00017142  0x00001ee8 add  0x00000013 , 0xfffffffc , 0x0000003f 
+ 00017143  0x00001ee9 isub  0x00000039 , 0x0000003e 
+ 00017144  0x00001eea nbranch  0x00004316 , 0x00000005 
+ 00017145  0x00001eeb fetch  0x00000001 , 0x00000293 
+ 00017146  0x00001eec isolate0  0x00000007 , 0x0000003f 
+ 00017147  0x00001eed branch  0x00004302 , 0x00000001 
+ 00017148  0x00001eee set0  0x0000001b , 0x00000000 
+ 00017149  0x00001eef bmark1  0x0000001b , 0x00004302 
+ 00017150  0x00001ef0 and_into  0x00000007 , 0x0000003f 
+ 00017151  0x00001ef1 fetcht  0x00000001 , 0x0000028c 
+ 00017152  0x00001ef2 isub  0x00000002 , 0x0000003e 
+ 00017153  0x00001ef3 nbranch  0x00004316 , 0x00000005 
+ 00017154  0x00001ef5 setarg  0x00000640 
+ 00017155  0x00001ef6 force  0x00000007 , 0x00000007 
+ 00017156  0x00001ef7 call  0x00007e4c 
+ 00017157  0x00001ef8 deposit  0x00000008 
+ 00017158  0x00001ef9 call  0x00004320 
+ 00017159  0x00001efa rtn  0x00000028 
+ 00017160  0x00001efb fetch  0x00000001 , 0x00000293 
+ 00017161  0x00001efc iforce  0x00000011 
+ 00017162  0x00001efd rshift3  0x0000003f , 0x00000002 
+ 00017163  0x00001efe and_into  0x00000007 , 0x00000002 
+ 00017164  0x00001eff fetch  0x00000001 , 0x0000028b 
+ 00017165  0x00001f00 isub  0x00000002 , 0x0000003f 
+ 00017166  0x00001f01 sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00017167  0x00001f02 and_into  0x00000007 , 0x0000003f 
+ 00017168  0x00001f03 bne  0x00000001 , 0x00004316 
+ 00017169  0x00001f04 storet  0x00000001 , 0x0000028b 
+ 00017170  0x00001f05 fetch  0x00000001 , 0x00000272 
+ 00017171  0x00001f06 increase  0x00000001 , 0x0000003f 
+ 00017172  0x00001f07 store  0x00000001 , 0x00000272 
+ 00017173  0x00001f08 branch  0x00004319 
+ 00017174  0x00001f0b fetch  0x00000001 , 0x00000273 
+ 00017175  0x00001f0c increase  0x00000001 , 0x0000003f 
+ 00017176  0x00001f0d store  0x00000001 , 0x00000273 
+ 00017177  0x00001f0f hfetch  0x00000002 , 0x00008058 
+ 00017178  0x00001f10 iforce  0x00000003 
+ 00017179  0x00001f11 ifetch  0x00000002 , 0x00000003 
+ 00017180  0x00001f12 iadd  0x00000003 , 0x00000003 
+ 00017181  0x00001f13 deposit  0x00000003 
+ 00017182  0x00001f14 hstore  0x00000002 , 0x00008058 
+ 00017183  0x00001f15 rtn 
+ 00017184  0x00001f18 disable  0x00000028 
+ 00017185  0x00001f19 rtn  0x00000034 
+ 00017186  0x00001f1a beq  0x00000001 , 0x00004328 
+ 00017187  0x00001f1b beq  0x00000002 , 0x00004346 
+ 00017188  0x00001f1c beq  0x00000005 , 0x00004507 
+ 00017189  0x00001f1d beq  0x00000006 , 0x000044dd 
+ 00017190  0x00001f1e beq  0x00000008 , 0x00004a56 
+ 00017191  0x00001f1f rtn 
+ 00017192  0x00001f22 set0  0x00000018 , 0x00000000 
+ 00017193  0x00001f23 ifetch  0x00000001 , 0x00000003 
+ 00017194  0x00001f24 beq  0x000000da , 0x0000432f 
+ 00017195  0x00001f25 beq  0x000000ac , 0x00004336 
+ 00017196  0x00001f26 beq  0x000000ad , 0x0000433a 
+ 00017197  0x00001f27 beq  0x000000de , 0x00004344 
+ 00017198  0x00001f28 rtn 
+ 00017199  0x00001f2a bmark1  0x00000017 , 0x00004333 
+ 00017200  0x00001f2b force  0x000000da , 0x00000002 
+ 00017201  0x00001f2c setarg  0x00ededdc 
+ 00017202  0x00001f2d call  0x0000433c 
+ 00017203  0x00001f2f force  0x000000ac , 0x00000002 
+ 00017204  0x00001f30 setarg  0x00eeefaf 
+ 00017205  0x00001f31 branch  0x0000433c 
+ 00017206  0x00001f33 set1  0x00000017 , 0x00000000 
+ 00017207  0x00001f34 force  0x000000ad , 0x00000002 
+ 00017208  0x00001f35 setarg  0x00edacef 
+ 00017209  0x00001f36 branch  0x0000433c 
+ 00017210  0x00001f38 force  0x000000de , 0x00000002 
+ 00017211  0x00001f39 setarg  0x00d0d0ad 
+ 00017212  0x00001f3b lshift8  0x0000003f , 0x0000003f 
+ 00017213  0x00001f3c ior  0x00000002 , 0x00000002 
+ 00017214  0x00001f3d call  0x00004972 
+ 00017215  0x00001f3e istoret  0x00000004 , 0x0000000a 
+ 00017216  0x00001f3f force  0x00000001 , 0x00000007 
+ 00017217  0x00001f40 force  0x00000004 , 0x00000039 
+ 00017218  0x00001f41 set0  0x00000013 , 0x00000000 
+ 00017219  0x00001f42 branch  0x00004378 
+ 00017220  0x00001f44 force  0x00000000 , 0x00000030 
+ 00017221  0x00001f45 branch  0x00004933 
+ 00017222  0x00001f48 copy  0x00000039 , 0x00000030 
+ 00017223  0x00001f49 call  0x00004371 
+ 00017224  0x00001f4a force  0x00000000 , 0x00000012 
+ 00017225  0x00001f4b call  0x00004972 
+ 00017226  0x00001f4c copy  0x00000030 , 0x00000039 
+ 00017227  0x00001f4d ifetch  0x00000001 , 0x00000003 
+ 00017228  0x00001f4e setarg  0x00000001 
+ 00017229  0x00001f4f istore  0x00000001 , 0x0000000a 
+ 00017230  0x00001f50 set0  0x0000001a , 0x00000000 
+ 00017231  0x00001f52 ifetch  0x00000001 , 0x00000003 
+ 00017232  0x00001f53 increase  0x00000001 , 0x00000012 
+ 00017233  0x00001f54 beq  0x0000001c , 0x0000435b 
+ 00017234  0x00001f55 compare  0x00000004 , 0x00000012 , 0x000000ff 
+ 00017235  0x00001f56 nbranch  0x0000435d , 0x00000001 
+ 00017236  0x00001f57 setflag  0x00000034 , 0x0000001a , 0x00000000 
+ 00017237  0x00001f58 bne  0x0000003a , 0x0000435d 
+ 00017238  0x00001f59 setarg  0x000007d0 
+ 00017239  0x00001f5a force  0x00000000 , 0x00000007 
+ 00017240  0x00001f5b call  0x00007e4c 
+ 00017241  0x00001f5c set1  0x00000018 , 0x00000000 
+ 00017242  0x00001f5d rtn 
+ 00017243  0x00001f60 compare  0x00000006 , 0x00000012 , 0x000000ff 
+ 00017244  0x00001f61 branch  0x00004366 , 0x00000001 
+ 00017245  0x00001f63 isolate1  0x0000001a , 0x00000000 
+ 00017246  0x00001f64 call  0x00004368 , 0x00000001 
+ 00017247  0x00001f65 istore  0x00000001 , 0x0000000a 
+ 00017248  0x00001f66 loop  0x0000434f 
+ 00017249  0x00001f67 set0  0x00000019 , 0x00000000 
+ 00017250  0x00001f68 copy  0x00000030 , 0x00000039 
+ 00017251  0x00001f69 set1  0x00000013 , 0x00000000 
+ 00017252  0x00001f6a force  0x00000002 , 0x00000007 
+ 00017253  0x00001f6b branch  0x00004378 
+ 00017254  0x00001f6d set1  0x00000019 , 0x00000000 
+ 00017255  0x00001f6e branch  0x0000435d 
+ 00017256  0x00001f71 rtnmark1  0x00000019 
+ 00017257  0x00001f72 compare  0x0000000a , 0x00000012 , 0x000000ff 
+ 00017258  0x00001f73 branch  0x0000436f , 0x00000001 
+ 00017259  0x00001f74 compare  0x0000000b , 0x00000012 , 0x000000ff 
+ 00017260  0x00001f75 nrtn  0x00000001 
+ 00017261  0x00001f76 setarg  0x00000012 
+ 00017262  0x00001f77 rtn 
+ 00017263  0x00001f79 setarg  0x000000e9 
+ 00017264  0x00001f7a rtn 
+ 00017265  0x00001f7d fetch  0x00000001 , 0x00000293 
+ 00017266  0x00001f7e increase  0x00000001 , 0x0000003f 
+ 00017267  0x00001f7f and_into  0x00000007 , 0x0000003f 
+ 00017268  0x00001f80 store  0x00000001 , 0x0000028c 
+ 00017269  0x00001f81 force  0x00000000 , 0x00000039 
+ 00017270  0x00001f82 force  0x00000000 , 0x00000007 
+ 00017271  0x00001f83 set0  0x00000013 , 0x00000000 
+ 00017272  0x00001f86 add  0x00000039 , 0x00000004 , 0x00000012 
+ 00017273  0x00001f87 fetch  0x00000001 , 0x0000028c 
+ 00017274  0x00001f88 lshift3  0x0000003f , 0x00000013 
+ 00017275  0x00001f89 isolate0  0x00000014 , 0x00000000 
+ 00017276  0x00001f8a nsetflag  0x00000001 , 0x00000006 , 0x00000013 
+ 00017277  0x00001f8b branch  0x0000437f , 0x00000001 
+ 00017278  0x00001f8c increase  0x00000002 , 0x00000012 
+ 00017279  0x00001f8e bmark0  0x00000013 , 0x00004389 
+ 00017280  0x00001f8f set1  0x00000007 , 0x00000013 
+ 00017281  0x00001f90 fetch  0x00000001 , 0x00000294 
+ 00017282  0x00001f91 ior  0x00000013 , 0x00000013 
+ 00017283  0x00001f92 increase  0x00000001 , 0x0000003f 
+ 00017284  0x00001f93 and_into  0x00000007 , 0x0000003f 
+ 00017285  0x00001f94 store  0x00000001 , 0x00000294 
+ 00017286  0x00001f95 fetch  0x00000001 , 0x00000274 
+ 00017287  0x00001f96 increase  0x00000001 , 0x0000003f 
+ 00017288  0x00001f97 store  0x00000001 , 0x00000274 
+ 00017289  0x00001f99 fetch  0x00000002 , 0x0000028f 
+ 00017290  0x00001f9a iforce  0x0000000a 
+ 00017291  0x00001f9b deposit  0x00000012 
+ 00017292  0x00001f9c isolate1  0x00000013 , 0x00000000 
+ 00017293  0x00001f9d setflag  0x00000001 , 0x0000000f , 0x0000003f 
+ 00017294  0x00001f9e istore  0x00000002 , 0x0000000a 
+ 00017295  0x00001f9f copy  0x0000000a , 0x00000011 
+ 00017296  0x00001fa0 deposit  0x00000013 
+ 00017297  0x00001fa1 istore  0x00000001 , 0x0000000a 
+ 00017298  0x00001fa2 lshift4  0x00000039 , 0x0000003f 
+ 00017299  0x00001fa3 ior  0x00000007 , 0x0000003f 
+ 00017300  0x00001fa4 iadd  0x00000013 , 0x00000013 
+ 00017301  0x00001fa5 istore  0x00000002 , 0x0000000a 
+ 00017302  0x00001fa6 rshift8  0x0000003f , 0x0000003f 
+ 00017303  0x00001fa7 iadd  0x00000013 , 0x0000003f 
+ 00017304  0x00001fa8 sub  0x0000003f , 0x000000ff , 0x0000003f 
+ 00017305  0x00001fa9 istore  0x00000001 , 0x0000000a 
+ 00017306  0x00001faa bmark0  0x00000014 , 0x0000439f 
+ 00017307  0x00001fab increase  0x00000004 , 0x00000039 
+ 00017308  0x00001fac copy  0x00000011 , 0x0000000a 
+ 00017309  0x00001fad call  0x00004986 
+ 00017310  0x00001fae istore  0x00000002 , 0x0000000a 
+ 00017311  0x00001fb0 fetch  0x00000002 , 0x0000028f 
+ 00017312  0x00001fb1 iadd  0x00000012 , 0x0000000a 
+ 00017313  0x00001fb2 increase  0x00000002 , 0x0000000a 
+ 00017314  0x00001fb3 deposit  0x0000000a 
+ 00017315  0x00001fb4 store  0x00000002 , 0x0000028f 
+ 00017316  0x00001fb5 hstore  0x00000002 , 0x0000805e 
+ 00017317  0x00001fb6 fetcht  0x00000002 , 0x0000028d 
+ 00017318  0x00001fb7 call  0x000043d8 
+ 00017319  0x00001fb8 call  0x000043ab 
+ 00017320  0x00001fb9 setarg  0x00000640 
+ 00017321  0x00001fba force  0x00000007 , 0x00000007 
+ 00017322  0x00001fbb branch  0x00007e4c 
+ 00017323  0x00001fbe setarg  0x00000190 
+ 00017324  0x00001fbf force  0x00000001 , 0x00000007 
+ 00017325  0x00001fc0 call  0x00007e4c 
+ 00017326  0x00001fc1 set1  0x00000015 , 0x00000000 
+ 00017327  0x00001fc2 rtn 
+ 00017328  0x00001fc5 rtnmark0  0x00000015 
+ 00017329  0x00001fc6 force  0x00000001 , 0x00000007 
+ 00017330  0x00001fc7 call  0x00007e53 
+ 00017331  0x00001fc8 nrtn  0x00000034 
+ 00017332  0x00001fc9 fetch  0x00000002 , 0x0000028d 
+ 00017333  0x00001fca hstore  0x00000002 , 0x00008060 
+ 00017334  0x00001fcb branch  0x000043ab 
+ 00017335  0x00001fce fetch  0x00000002 , 0x0000028f 
+ 00017336  0x00001fcf fetcht  0x00000002 , 0x0000028d 
+ 00017337  0x00001fd0 isub  0x00000002 , 0x0000003e 
+ 00017338  0x00001fd1 branch  0x000043d6 , 0x00000005 
+ 00017339  0x00001fd2 copy  0x00000002 , 0x0000000a 
+ 00017340  0x00001fd3 ifetch  0x00000002 , 0x0000000a 
+ 00017341  0x00001fd4 iforce  0x00000011 
+ 00017342  0x00001fd5 iand  0x00000035 , 0x0000003f 
+ 00017343  0x00001fd6 iadd  0x0000000a , 0x0000000a 
+ 00017344  0x00001fd7 hfetch  0x00000002 , 0x00008110 
+ 00017345  0x00001fd8 isub  0x0000000a , 0x0000003f 
+ 00017346  0x00001fd9 iand  0x00000035 , 0x00000012 
+ 00017347  0x00001fda fetch  0x00000002 , 0x0000028f 
+ 00017348  0x00001fdb isub  0x0000000a , 0x0000003f 
+ 00017349  0x00001fdc iand  0x00000035 , 0x0000003f 
+ 00017350  0x00001fdd isub  0x00000012 , 0x0000003f 
+ 00017351  0x00001fde nrtn  0x00000002 
+ 00017352  0x00001fdf isolate0  0x0000000f , 0x00000011 
+ 00017353  0x00001fe0 branch  0x000043d1 , 0x00000001 
+ 00017354  0x00001fe1 fetch  0x00000001 , 0x00000272 
+ 00017355  0x00001fe2 rtn  0x00000034 
+ 00017356  0x00001fe3 increase  0xffffffff , 0x0000003f 
+ 00017357  0x00001fe4 store  0x00000001 , 0x00000272 
+ 00017358  0x00001fe5 fetch  0x00000001 , 0x00000274 
+ 00017359  0x00001fe6 increase  0xffffffff , 0x0000003f 
+ 00017360  0x00001fe7 store  0x00000001 , 0x00000274 
+ 00017361  0x00001fe9 copy  0x0000000a , 0x00000002 
+ 00017362  0x00001fea storet  0x00000002 , 0x0000028d 
+ 00017363  0x00001feb fetch  0x00000002 , 0x0000028f 
+ 00017364  0x00001fec call  0x000043d8 
+ 00017365  0x00001fed branch  0x000043b7 
+ 00017366  0x00001fef set0  0x00000015 , 0x00000000 
+ 00017367  0x00001ff0 rtn 
+ 00017368  0x00001ff3 isub  0x00000002 , 0x0000003f 
+ 00017369  0x00001ff4 iand  0x00000035 , 0x0000003f 
+ 00017370  0x00001ff5 isub  0x00000035 , 0x0000003f 
+ 00017371  0x00001ff6 sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00017372  0x00001ff7 store  0x00000002 , 0x00000291 
+ 00017373  0x00001ff8 rtn 
+ 00017374  0x00001ffb fetch  0x00000002 , 0x0000028f 
+ 00017375  0x00001ffc iadd  0x0000000a , 0x0000000a 
+ 00017376  0x00001ffd rtn 
+ 00017377  0x00002002 rtn 
+ 00017378  0x00002005 set1  0x00000025 , 0x00000000 
+ 00017379  0x00002006 bpatch  0x000000ec , 0x0000403d 
+ 00017380  0x00002007 fetch  0x00000001 , 0x00004272 
+ 00017381  0x00002008 nrtn  0x00000034 
+ 00017382  0x0000200a call  0x000043e9 
+ 00017383  0x0000200b ncall  0x0000440e , 0x00000028 
+ 00017384  0x0000200c rtn 
+ 00017385  0x0000200f set1  0x00000025 , 0x00000000 
+ 00017386  0x00002010 bpatch  0x000000ed , 0x0000403d 
+ 00017387  0x00002011 copy  0x00000003 , 0x00000011 
+ 00017388  0x00002012 arg  0x00000004 , 0x00000002 
+ 00017389  0x00002013 ifetch  0x00000001 , 0x00000003 
+ 00017390  0x00002014 beq  0x00000001 , 0x000043f4 
+ 00017391  0x00002015 increase  0x00000001 , 0x00000002 
+ 00017392  0x00002016 beq  0x00000002 , 0x000043f4 
+ 00017393  0x00002017 copy  0x00000003 , 0x0000003f 
+ 00017394  0x00002018 hstore  0x00000002 , 0x00008058 
+ 00017395  0x00002019 rtn 
+ 00017396  0x0000201b hfetch  0x00000002 , 0x00008112 
+ 00017397  0x0000201c isub  0x00000002 , 0x0000003e 
+ 00017398  0x0000201d nbranch  0x000043f4 , 0x00000002 
+ 00017399  0x0000201f disable  0x00000028 
+ 00017400  0x00002020 copy  0x00000011 , 0x00000003 
+ 00017401  0x00002021 call  0x00004417 
+ 00017402  0x00002022 iadd  0x00000002 , 0x00000002 
+ 00017403  0x00002024 hfetch  0x00000002 , 0x00008112 
+ 00017404  0x00002025 isub  0x00000002 , 0x0000003e 
+ 00017405  0x00002026 nbranch  0x000043fb , 0x00000002 
+ 00017406  0x00002027 copy  0x00000011 , 0x00000003 
+ 00017407  0x00002028 ifetch  0x00000001 , 0x00000003 
+ 00017408  0x00002029 beq  0x00000001 , 0x00004507 
+ 00017409  0x0000202a beq  0x00000002 , 0x00004403 
+ 00017410  0x0000202b branch  0x00003bf1 
+ 00017411  0x0000202d set1  0x00000025 , 0x00000000 
+ 00017412  0x0000202e bpatch  0x000000ee , 0x0000403d 
+ 00017413  0x0000202f copy  0x00000003 , 0x00000011 
+ 00017414  0x00002030 ifetch  0x00000002 , 0x00000003 
+ 00017415  0x00002031 copy  0x00000011 , 0x00000003 
+ 00017416  0x00002032 fetcht  0x00000001 , 0x00000046 
+ 00017417  0x00002033 icompare  0x000000ff , 0x00000002 
+ 00017418  0x00002034 branch  0x000044dd , 0x00000001 
+ 00017419  0x00002035 branch  0x000058ea , 0x00000036 
+ 00017420  0x00002036 enable  0x00000028 
+ 00017421  0x00002037 rtn 
+ 00017422  0x00002039 set1  0x00000025 , 0x00000000 
+ 00017423  0x0000203a bpatch  0x000000ef , 0x0000403d 
+ 00017424  0x0000203b hfetch  0x00000002 , 0x00008058 
+ 00017425  0x0000203c iforce  0x00000003 
+ 00017426  0x0000203d call  0x00004417 
+ 00017427  0x0000203e iadd  0x00000003 , 0x00000003 
+ 00017428  0x0000203f deposit  0x00000003 
+ 00017429  0x00002040 hstore  0x00000002 , 0x00008058 
+ 00017430  0x00002041 rtn 
+ 00017431  0x00002047 ifetch  0x00000001 , 0x00000003 
+ 00017432  0x00002048 increase  0x00000002 , 0x00000003 
+ 00017433  0x00002049 beq  0x00000002 , 0x0000441c 
+ 00017434  0x0000204a ifetch  0x00000001 , 0x00000003 
+ 00017435  0x0000204b rtn 
+ 00017436  0x0000204d ifetch  0x00000002 , 0x00000003 
+ 00017437  0x0000204e rtn 
+ 00017438  0x00002051 hfetch  0x00000002 , 0x0000805e 
+ 00017439  0x00002052 increase  0xfffffffb , 0x0000000a 
+ 00017440  0x00002053 iadd  0x0000000a , 0x0000000a 
+ 00017441  0x00002054 rtn 
+ 00017442  0x00002057 arg  0x00000004 , 0x00000002 
+ 00017443  0x00002058 branch  0x00004425 
+ 00017444  0x0000205a arg  0x00000002 , 0x00000002 
+ 00017445  0x0000205c set1  0x00000025 , 0x00000000 
+ 00017446  0x0000205d bpatch  0x000000f0 , 0x0000403e 
+ 00017447  0x0000205e increase  0x00000001 , 0x00000039 
+ 00017448  0x0000205f hfetch  0x00000002 , 0x0000805e 
+ 00017449  0x00002060 copy  0x0000003f , 0x0000000a 
+ 00017450  0x00002061 copy  0x00000039 , 0x0000003f 
+ 00017451  0x00002062 istoret  0x00000001 , 0x0000000a 
+ 00017452  0x00002063 increase  0xffffffff , 0x0000003f 
+ 00017453  0x00002064 iadd  0x0000000a , 0x0000000a 
+ 00017454  0x00002065 copy  0x0000000a , 0x0000003f 
+ 00017455  0x00002066 store  0x00000002 , 0x0000029d 
+ 00017456  0x00002067 copy  0x00000002 , 0x0000003f 
+ 00017457  0x00002068 rtneq  0x00000002 
+ 00017458  0x00002069 fetch  0x00000002 , 0x0000029d 
+ 00017459  0x0000206a hstore  0x00000002 , 0x0000805e 
+ 00017460  0x0000206b branch  0x0000443b 
+ 00017461  0x0000206e set1  0x00000025 , 0x00000000 
+ 00017462  0x0000206f bpatch  0x000000f1 , 0x0000403e 
+ 00017463  0x00002070 fetch  0x00000002 , 0x0000029d 
+ 00017464  0x00002071 branch  0x00003bf1 , 0x00000034 
+ 00017465  0x00002072 hstore  0x00000002 , 0x0000805e 
+ 00017466  0x00002073 branch  0x0000443b 
+ 00017467  0x00002076 setarg  0x00000000 
+ 00017468  0x00002077 store  0x00000002 , 0x0000029d 
+ 00017469  0x00002078 rtn 
+ 00017470  0x0000207b hfetcht  0x00000002 , 0x00008110 
+ 00017471  0x0000207c hfetch  0x00000002 , 0x0000805e 
+ 00017472  0x0000207d isub  0x00000002 , 0x00000011 
+ 00017473  0x0000207e nbranch  0x00004447 , 0x00000002 
+ 00017474  0x0000207f hfetcht  0x00000002 , 0x0000805a 
+ 00017475  0x00002080 hfetch  0x00000002 , 0x0000805c 
+ 00017476  0x00002081 isub  0x00000002 , 0x0000003f 
+ 00017477  0x00002082 isub  0x00000011 , 0x00000002 
+ 00017478  0x00002083 rtn 
+ 00017479  0x00002085 sub  0x00000011 , 0xffffffff , 0x00000002 
+ 00017480  0x00002086 rtn 
+ 00017481  0x0000208c set0  0x00000025 , 0x00000000 
+ 00017482  0x0000208d bpatch  0x000000cd , 0x00004019 
+ 00017483  0x0000208e fetch  0x00000001 , 0x00004132 
+ 00017484  0x0000208f rtnne  0x00000001 
+ 00017485  0x00002090 call  0x000044a3 
+ 00017486  0x00002091 call  0x00004494 
+ 00017487  0x00002092 call  0x000043b0 , 0x00000001 
+ 00017488  0x00002093 call  0x00004494 
+ 00017489  0x00002094 call  0x000043b7 , 0x00000001 
+ 00017490  0x00002095 branch  0x000044e6 
+ 00017491  0x00002096 rtnmark0  0x00000018 
+ 00017492  0x00002097 force  0x00000000 , 0x00000007 
+ 00017493  0x00002098 call  0x00007e53 
+ 00017494  0x00002099 nrtn  0x00000034 
+ 00017495  0x0000209a call  0x00004472 
+ 00017496  0x0000209b call  0x00004494 
+ 00017497  0x0000209c nrtn  0x00000001 
+ 00017498  0x0000209d set0  0x00000017 , 0x00000000 
+ 00017499  0x0000209e force  0x000000da , 0x00000002 
+ 00017500  0x0000209f setarg  0x00ededdc 
+ 00017501  0x000020a0 call  0x0000433c 
+ 00017502  0x000020a1 setarg  0x000007d0 
+ 00017503  0x000020a2 force  0x00000000 , 0x00000007 
+ 00017504  0x000020a3 branch  0x00007e4c 
+ 00017505  0x000020a7 set0  0x00000025 , 0x00000000 
+ 00017506  0x000020a8 bpatch  0x000000ce , 0x00004019 
+ 00017507  0x000020a9 rtn  0x0000002b 
+ 00017508  0x000020aa setarg  0x00004aed 
+ 00017509  0x000020ab store  0x00000002 , 0x00004290 
+ 00017510  0x000020ad setarg  0x000001a0 
+ 00017511  0x000020ae store  0x00000002 , 0x000042ac 
+ 00017512  0x000020b0 set0  0x00000025 , 0x00000000 
+ 00017513  0x000020b1 bpatch  0x000000cf , 0x00004019 
+ 00017514  0x000020b2 call  0x00006a0d 
+ 00017515  0x000020b3 setarg  0x00001800 
+ 00017516  0x000020b4 hstore  0x00000002 , 0x00008054 
+ 00017517  0x000020b5 setarg  0x00001bff 
+ 00017518  0x000020b6 hstore  0x00000002 , 0x00008056 
+ 00017519  0x000020b7 setarg  0x00001c00 
+ 00017520  0x000020b8 hstore  0x00000002 , 0x0000805a 
+ 00017521  0x000020b9 call  0x00004489 
+ 00017522  0x000020bb set0  0x00000025 , 0x00000000 
+ 00017523  0x000020bc bpatch  0x000000d0 , 0x0000401a 
+ 00017524  0x000020bd hjam  0x00000000 , 0x00008062 
+ 00017525  0x000020be jam  0x00000000 , 0x0000028b 
+ 00017526  0x000020bf jam  0x00000000 , 0x0000028c 
+ 00017527  0x000020c0 jam  0x00000000 , 0x00000294 
+ 00017528  0x000020c1 setarg  0x00001c00 
+ 00017529  0x000020c2 store  0x00000002 , 0x0000028f 
+ 00017530  0x000020c3 store  0x00000002 , 0x0000028d 
+ 00017531  0x000020c4 hstore  0x00000002 , 0x0000805e 
+ 00017532  0x000020c5 hstore  0x00000002 , 0x00008060 
+ 00017533  0x000020c6 setarg  0x00001800 
+ 00017534  0x000020c7 hstore  0x00000002 , 0x00008058 
+ 00017535  0x000020c8 store  0x00000002 , 0x00000289 
+ 00017536  0x000020ca set0  0x00000025 , 0x00000000 
+ 00017537  0x000020cb bpatch  0x000000d1 , 0x0000401a 
+ 00017538  0x000020cc hfetch  0x00000002 , 0x00008050 
+ 00017539  0x000020cd set0  0x0000000f , 0x0000003f 
+ 00017540  0x000020ce hstore  0x00000002 , 0x00008050 
+ 00017541  0x000020cf call  0x00006909 
+ 00017542  0x000020d0 hjam  0x00000001 , 0x00008043 
+ 00017543  0x000020d1 hjam  0x00000081 , 0x00008062 
+ 00017544  0x000020d2 branch  0x00004497 
+ 00017545  0x000020d5 setarg  0x00001fff 
+ 00017546  0x000020d6 hstore  0x00000002 , 0x0000805c 
+ 00017547  0x000020d7 hfetch  0x00000001 , 0x00008081 
+ 00017548  0x000020d8 or_into  0x00000007 , 0x0000003f 
+ 00017549  0x000020d9 hstore  0x00000001 , 0x00008081 
+ 00017550  0x000020da jam  0x000000ff , 0x0000029f 
+ 00017551  0x000020db rtn 
+ 00017552  0x000020de hfetch  0x00000002 , 0x00008116 
+ 00017553  0x000020df hstore  0x00000002 , 0x00008058 
+ 00017554  0x000020e0 set1  0x0000001b , 0x00000000 
+ 00017555  0x000020e1 rtn 
+ 00017556  0x000020e5 hfetch  0x00000001 , 0x00008062 
+ 00017557  0x000020e6 isolate1  0x00000003 , 0x0000003f 
+ 00017558  0x000020e7 rtn 
+ 00017559  0x000020ea setarg  0x00004803 
+ 00017560  0x000020eb store  0x00000002 , 0x00000295 
+ 00017561  0x000020ec store  0x00000002 , 0x00000297 
+ 00017562  0x000020ed force  0x00000001 , 0x00000002 
+ 00017563  0x000020ee iadd  0x00000002 , 0x0000003f 
+ 00017564  0x000020ef iadd  0x00000002 , 0x0000003f 
+ 00017565  0x000020f0 increase  0x00000002 , 0x0000003f 
+ 00017566  0x000020f1 store  0x00000002 , 0x00000299 
+ 00017567  0x000020f2 setarg  0x00000000 
+ 00017568  0x000020f3 store  0x00000001 , 0x0000029c 
+ 00017569  0x000020f4 store  0x00000001 , 0x0000029b 
+ 00017570  0x000020f5 rtn 
+ 00017571  0x000020f8 set0  0x00000025 , 0x00000000 
+ 00017572  0x000020f9 bpatch  0x000000d2 , 0x0000401a 
+ 00017573  0x000020fa hfetch  0x00000001 , 0x0000810c 
+ 00017574  0x000020fb iforce  0x00000012 
+ 00017575  0x000020fc bbit0  0x00000003 , 0x000044ad 
+ 00017576  0x000020fd hfetch  0x00000002 , 0x00008112 
+ 00017577  0x000020fe iforce  0x00000013 
+ 00017578  0x000020ff arg  0x0000044f , 0x00000002 
+ 00017579  0x00002100 isub  0x00000002 , 0x0000003e 
+ 00017580  0x00002101 nrtn  0x00000005 
+ 00017581  0x00002103 hfetch  0x00000002 , 0x00008058 
+ 00017582  0x00002104 iforce  0x00000003 
+ 00017583  0x00002105 call  0x00004494 
+ 00017584  0x00002106 branch  0x000042e5 , 0x00000001 
+ 00017585  0x00002107 branch  0x000043e2 
+ 00017586  0x0000210a call  0x00004494 
+ 00017587  0x0000210b branch  0x00004371 , 0x00000001 
+ 00017588  0x0000210c rtn 
+ 00017589  0x0000210f hfetcht  0x00000001 , 0x0000810c 
+ 00017590  0x00002110 isolate1  0x00000006 , 0x00000002 
+ 00017591  0x00002111 branch  0x000044b5 , 0x00000001 
+ 00017592  0x00002112 hstore  0x00000001 , 0x00008015 
+ 00017593  0x00002113 rtn 
+ 00017594  0x00002117 fetcht  0x00000002 , 0x00000299 
+ 00017595  0x00002118 fetch  0x00000002 , 0x00000295 
+ 00017596  0x00002119 iforce  0x00000005 
+ 00017597  0x0000211a deposit  0x00000003 
+ 00017598  0x0000211b istore  0x00000002 , 0x00000005 
+ 00017599  0x0000211c deposit  0x00000005 
+ 00017600  0x0000211d store  0x00000002 , 0x00000295 
+ 00017601  0x0000211e icompare  0x000000ff , 0x00000002 
+ 00017602  0x0000211f call  0x000044c7 , 0x00000001 
+ 00017603  0x00002120 fetch  0x00000001 , 0x0000029b 
+ 00017604  0x00002121 increase  0x00000001 , 0x0000003f 
+ 00017605  0x00002122 store  0x00000001 , 0x0000029b 
+ 00017606  0x00002123 rtn 
+ 00017607  0x00002125 setarg  0x00004803 
+ 00017608  0x00002126 store  0x00000002 , 0x00000295 
+ 00017609  0x00002127 rtn 
+ 00017610  0x0000212b fetch  0x00000001 , 0x0000029b 
+ 00017611  0x0000212c rtn  0x00000034 
+ 00017612  0x0000212d fetcht  0x00000002 , 0x00000299 
+ 00017613  0x0000212e fetch  0x00000002 , 0x00000297 
+ 00017614  0x0000212f iforce  0x00000006 
+ 00017615  0x00002130 ifetch  0x00000002 , 0x00000006 
+ 00017616  0x00002131 iforce  0x00000003 
+ 00017617  0x00002132 deposit  0x00000006 
+ 00017618  0x00002133 store  0x00000002 , 0x00000297 
+ 00017619  0x00002134 icompare  0x000000ff , 0x00000002 
+ 00017620  0x00002135 call  0x000044da , 0x00000001 
+ 00017621  0x00002136 fetch  0x00000001 , 0x0000029b 
+ 00017622  0x00002137 increase  0xffffffff , 0x0000003f 
+ 00017623  0x00002138 store  0x00000001 , 0x0000029b 
+ 00017624  0x00002139 force  0x00000001 , 0x0000003f 
+ 00017625  0x0000213a rtn 
+ 00017626  0x0000213c setarg  0x00004803 
+ 00017627  0x0000213d store  0x00000002 , 0x00000297 
+ 00017628  0x0000213e rtn 
+ 00017629  0x00002141 set0  0x00000025 , 0x00000000 
+ 00017630  0x00002142 bpatch  0x000000d3 , 0x0000401a 
+ 00017631  0x00002143 fetch  0x00000001 , 0x0000029b 
+ 00017632  0x00002144 sub  0x0000003f , 0x00000002 , 0x0000003e 
+ 00017633  0x00002145 branch  0x000044e4 , 0x00000002 
+ 00017634  0x00002146 enable  0x00000028 
+ 00017635  0x00002147 branch  0x000044e6 
+ 00017636  0x00002149 call  0x000044b2 
+ 00017637  0x0000214a call  0x000044ba 
+ 00017638  0x0000214c set0  0x00000025 , 0x00000000 
+ 00017639  0x0000214d bpatch  0x000000d4 , 0x0000401a 
+ 00017640  0x0000214e rtnmark1  0x00000002 
+ 00017641  0x0000214f call  0x000044ca 
+ 00017642  0x00002150 rtn  0x00000034 
+ 00017643  0x00002151 ifetcht  0x00000001 , 0x00000003 
+ 00017644  0x00002152 call  0x000032f7 
+ 00017645  0x00002153 nrtn  0x00000005 
+ 00017646  0x00002154 ifetch  0x00000001 , 0x00000003 
+ 00017647  0x00002155 rshift4  0x0000003f , 0x0000003f 
+ 00017648  0x00002156 and  0x0000003f , 0x00000003 , 0x0000003f 
+ 00017649  0x00002157 nbranch  0x000044f3 , 0x00000034 
+ 00017650  0x00002158 set1  0x00000001 , 0x0000003f 
+ 00017651  0x0000215a set1  0x00000002 , 0x0000003f 
+ 00017652  0x0000215b store  0x00000001 , 0x00000090 
+ 00017653  0x0000215c ifetch  0x00000002 , 0x00000003 
+ 00017654  0x0000215d store  0x00000002 , 0x00000091 
+ 00017655  0x0000215e deposit  0x00000003 
+ 00017656  0x0000215f store  0x00000002 , 0x00000179 
+ 00017657  0x00002160 set1  0x00000002 , 0x00000000 
+ 00017658  0x00002161 bmark0  0x00000009 , 0x00004502 
+ 00017659  0x00002162 fetch  0x00000001 , 0x00000046 
+ 00017660  0x00002163 isub  0x00000002 , 0x0000003e 
+ 00017661  0x00002164 nbranch  0x00004502 , 0x00000005 
+ 00017662  0x00002165 fetch  0x00000001 , 0x0000004b 
+ 00017663  0x00002166 set1  0x00000006 , 0x0000003f 
+ 00017664  0x00002167 store  0x00000001 , 0x0000004b 
+ 00017665  0x00002168 rtn 
+ 00017666  0x0000216b increase  0x0000001b , 0x00000011 
+ 00017667  0x0000216c ifetch  0x00000001 , 0x00000011 
+ 00017668  0x0000216d set1  0x00000006 , 0x0000003f 
+ 00017669  0x0000216e istore  0x00000001 , 0x00000011 
+ 00017670  0x0000216f rtn 
+ 00017671  0x00002175 set0  0x00000025 , 0x00000000 
+ 00017672  0x00002176 bpatch  0x000000d5 , 0x0000401a 
+ 00017673  0x00002177 fetch  0x00000001 , 0x00004272 
+ 00017674  0x00002178 branch  0x0000450d , 0x00000034 
+ 00017675  0x00002179 enable  0x00000028 
+ 00017676  0x0000217a rtn 
+ 00017677  0x0000217c call  0x000044b2 
+ 00017678  0x0000217d ifetch  0x00000002 , 0x00000003 
+ 00017679  0x0000217e iforce  0x00000030 
+ 00017680  0x0000217f iforce  0x00000007 
+ 00017681  0x00002180 ifetch  0x00000001 , 0x00000003 
+ 00017682  0x00002181 iforce  0x00000002 
+ 00017683  0x00002182 rshift2  0x00000030 , 0x0000003f 
+ 00017684  0x00002183 rshift8  0x0000003f , 0x0000003f 
+ 00017685  0x00002184 beq  0x00000001 , 0x0000451e 
+ 00017686  0x00002185 beq  0x00000002 , 0x0000453d 
+ 00017687  0x00002186 beq  0x00000003 , 0x0000454f 
+ 00017688  0x00002187 beq  0x00000004 , 0x00004569 
+ 00017689  0x00002188 beq  0x00000005 , 0x00004572 
+ 00017690  0x00002189 beq  0x00000006 , 0x0000457c 
+ 00017691  0x0000218a beq  0x0000003f , 0x00004585 
+ 00017692  0x0000218b beq  0x00000008 , 0x000045e0 
+ 00017693  0x0000218c rtn 
+ 00017694  0x00002190 set0  0x00000025 , 0x00000000 
+ 00017695  0x00002191 bpatch  0x000000d6 , 0x0000401a 
+ 00017696  0x00002192 deposit  0x00000007 
+ 00017697  0x00002193 beq  0x00000001 , 0x00004634 
+ 00017698  0x00002194 beq  0x00000002 , 0x00004643 
+ 00017699  0x00002195 beq  0x00000003 , 0x00004949 
+ 00017700  0x00002196 beq  0x00000004 , 0x00004949 
+ 00017701  0x00002197 beq  0x00000005 , 0x00004645 
+ 00017702  0x00002198 beq  0x00000006 , 0x0000464f 
+ 00017703  0x00002199 beq  0x00000007 , 0x00004949 
+ 00017704  0x0000219a beq  0x00000008 , 0x0000465d 
+ 00017705  0x0000219b beq  0x00000009 , 0x00004739 
+ 00017706  0x0000219c beq  0x0000000a , 0x0000473f 
+ 00017707  0x0000219d beq  0x0000000b , 0x00004664 
+ 00017708  0x0000219e beq  0x0000000c , 0x0000466a 
+ 00017709  0x0000219f beq  0x0000000d , 0x0000466d 
+ 00017710  0x000021a0 beq  0x0000000e , 0x00004675 
+ 00017711  0x000021a1 beq  0x0000000f , 0x00004743 
+ 00017712  0x000021a2 beq  0x00000011 , 0x00004688 
+ 00017713  0x000021a3 beq  0x00000013 , 0x0000468b 
+ 00017714  0x000021a4 beq  0x00000015 , 0x00004949 
+ 00017715  0x000021a5 beq  0x00000017 , 0x00004949 
+ 00017716  0x000021a6 beq  0x00000019 , 0x00004690 
+ 00017717  0x000021a7 beq  0x0000001b , 0x0000469b 
+ 00017718  0x000021a8 beq  0x0000001c , 0x00004696 
+ 00017719  0x000021a9 beq  0x0000001d , 0x000046a1 
+ 00017720  0x000021aa beq  0x0000001f , 0x000046a7 
+ 00017721  0x000021ab beq  0x00000028 , 0x000046ab 
+ 00017722  0x000021ac beq  0x00000029 , 0x000046b6 
+ 00017723  0x000021ad beq  0x0000002b , 0x0000467b 
+ 00017724  0x000021ae branch  0x0000474d 
+ 00017725  0x000021b2 set0  0x00000025 , 0x00000000 
+ 00017726  0x000021b3 bpatch  0x000000d7 , 0x0000401a 
+ 00017727  0x000021b4 deposit  0x00000007 
+ 00017728  0x000021b5 beq  0x00000009 , 0x000046cc 
+ 00017729  0x000021b6 beq  0x0000000d , 0x000046d7 
+ 00017730  0x000021b7 beq  0x00000001 , 0x00004949 
+ 00017731  0x000021b8 beq  0x00000003 , 0x0000474f 
+ 00017732  0x000021b9 beq  0x00000004 , 0x0000475a 
+ 00017733  0x000021ba beq  0x00000005 , 0x00004949 
+ 00017734  0x000021bb beq  0x00000006 , 0x00004949 
+ 00017735  0x000021bc beq  0x00000007 , 0x00004949 
+ 00017736  0x000021bd beq  0x0000000b , 0x00004760 
+ 00017737  0x000021be beq  0x0000000c , 0x00004949 
+ 00017738  0x000021bf beq  0x0000000e , 0x00004949 
+ 00017739  0x000021c0 beq  0x0000000f , 0x00004949 
+ 00017740  0x000021c1 beq  0x00000010 , 0x00004949 
+ 00017741  0x000021c2 beq  0x00000011 , 0x0000475f 
+ 00017742  0x000021c3 branch  0x0000474d 
+ 00017743  0x000021c6 set0  0x00000025 , 0x00000000 
+ 00017744  0x000021c7 bpatch  0x000000d8 , 0x0000401b 
+ 00017745  0x000021c8 deposit  0x00000007 
+ 00017746  0x000021c9 beq  0x00000001 , 0x00004725 
+ 00017747  0x000021ca beq  0x00000003 , 0x00004949 
+ 00017748  0x000021cb beq  0x00000012 , 0x000046da 
+ 00017749  0x000021cc beq  0x00000013 , 0x000046c2 
+ 00017750  0x000021cd beq  0x00000014 , 0x000046b8 
+ 00017751  0x000021ce beq  0x00000018 , 0x000046db 
+ 00017752  0x000021cf beq  0x00000019 , 0x00004705 
+ 00017753  0x000021d0 beq  0x0000001a , 0x000046de 
+ 00017754  0x000021d1 beq  0x0000001c , 0x000046e1 
+ 00017755  0x000021d2 beq  0x0000001e , 0x000046e6 
+ 00017756  0x000021d3 beq  0x00000020 , 0x000046ec 
+ 00017757  0x000021d4 beq  0x00000022 , 0x000046eb 
+ 00017758  0x000021d5 beq  0x00000024 , 0x000046ef 
+ 00017759  0x000021d6 beq  0x00000026 , 0x00004949 
+ 00017760  0x000021d7 beq  0x00000031 , 0x00004949 
+ 00017761  0x000021d8 beq  0x00000033 , 0x00004949 
+ 00017762  0x000021d9 beq  0x00000035 , 0x0000462e 
+ 00017763  0x000021da beq  0x00000043 , 0x00004949 
+ 00017764  0x000021db beq  0x00000045 , 0x00004949 
+ 00017765  0x000021dc beq  0x00000047 , 0x00004949 
+ 00017766  0x000021dd beq  0x00000051 , 0x000046f2 
+ 00017767  0x000021de beq  0x00000056 , 0x00004701 
+ 00017768  0x000021df branch  0x0000474d 
+ 00017769  0x000021e2 set0  0x00000025 , 0x00000000 
+ 00017770  0x000021e3 bpatch  0x000000d9 , 0x0000401b 
+ 00017771  0x000021e4 deposit  0x00000007 
+ 00017772  0x000021e5 beq  0x00000001 , 0x0000470a 
+ 00017773  0x000021e6 beq  0x00000003 , 0x0000470f 
+ 00017774  0x000021e7 beq  0x00000004 , 0x00004714 
+ 00017775  0x000021e8 beq  0x00000005 , 0x0000471b 
+ 00017776  0x000021e9 beq  0x00000009 , 0x00004720 
+ 00017777  0x000021ea branch  0x0000474d 
+ 00017778  0x000021ed set0  0x00000025 , 0x00000000 
+ 00017779  0x000021ee bpatch  0x000000da , 0x0000401b 
+ 00017780  0x000021ef deposit  0x00000007 
+ 00017781  0x000021f0 beq  0x00000001 , 0x00004949 
+ 00017782  0x000021f1 beq  0x00000002 , 0x00004726 
+ 00017783  0x000021f2 beq  0x00000003 , 0x00004727 
+ 00017784  0x000021f3 beq  0x00000005 , 0x0000472d 
+ 00017785  0x000021f4 beq  0x00000006 , 0x00004733 
+ 00017786  0x000021f5 beq  0x00000007 , 0x00004736 
+ 00017787  0x000021f6 branch  0x0000474d 
+ 00017788  0x000021f9 set0  0x00000025 , 0x00000000 
+ 00017789  0x000021fa bpatch  0x000000db , 0x0000401b 
+ 00017790  0x000021fb deposit  0x00000007 
+ 00017791  0x000021fc beq  0x00000001 , 0x00004949 
+ 00017792  0x000021fd beq  0x00000002 , 0x00004949 
+ 00017793  0x000021fe beq  0x00000003 , 0x00004949 
+ 00017794  0x000021ff beq  0x00000004 , 0x00004949 
+ 00017795  0x00002200 branch  0x0000474d 
+ 00017796  0x00002201 rtn 
+ 00017797  0x00002204 set0  0x00000025 , 0x00000000 
+ 00017798  0x00002205 bpatch  0x000000dc , 0x0000401b 
+ 00017799  0x00002206 deposit  0x00000007 
+ 00017800  0x00002207 beq  0x00000000 , 0x00004949 
+ 00017801  0x00002208 beq  0x00000001 , 0x0000459d 
+ 00017802  0x00002209 beq  0x00000002 , 0x000045a2 
+ 00017803  0x0000220a beq  0x00000003 , 0x000045a6 
+ 00017804  0x0000220b beq  0x00000004 , 0x000045b9 
+ 00017805  0x0000220c beq  0x00000005 , 0x00004949 
+ 00017806  0x0000220d beq  0x00000006 , 0x000045ca 
+ 00017807  0x0000220e beq  0x00000007 , 0x00004593 
+ 00017808  0x00002210 beq  0x00000010 , 0x000045cd 
+ 00017809  0x00002211 beq  0x00000011 , 0x000045d5 
+ 00017810  0x00002212 branch  0x00004949 
+ 00017811  0x00002215 call  0x00004949 
+ 00017812  0x00002216 call  0x00007f68 
+ 00017813  0x00002217 call  0x00006a68 
+ 00017814  0x00002219 call  0x00003f5c 
+ 00017815  0x0000221a call  0x00003f66 
+ 00017816  0x0000221b branch  0x00006a7d 
+ 00017817  0x0000221e jam  0x00000000 , 0x000042ae 
+ 00017818  0x0000221f call  0x00003f5a 
+ 00017819  0x00002220 call  0x00004468 
+ 00017820  0x00002221 branch  0x00003f68 
+ 00017821  0x00002224 call  0x0000496e 
+ 00017822  0x00002225 hfetch  0x00000002 , 0x00008000 
+ 00017823  0x00002226 istore  0x00000002 , 0x0000000a 
+ 00017824  0x00002227 force  0x00000006 , 0x00000039 
+ 00017825  0x00002228 branch  0x0000494c 
+ 00017826  0x0000222b ifetch  0x00000002 , 0x00000003 
+ 00017827  0x0000222c store  0x00000002 , 0x000042ac 
+ 00017828  0x0000222d hstore  0x00000002 , 0x00008052 
+ 00017829  0x0000222e rtn 
+ 00017830  0x00002232 ifetch  0x00000001 , 0x00000003 
+ 00017831  0x00002233 copy  0x0000003f , 0x00000002 
+ 00017832  0x00002234 hstore  0x00000001 , 0x00008024 
+ 00017833  0x00002235 ifetch  0x00000001 , 0x00000003 
+ 00017834  0x00002236 iadd  0x00000002 , 0x00000002 
+ 00017835  0x00002237 set1  0x00000007 , 0x0000003f 
+ 00017836  0x00002238 hstore  0x00000001 , 0x00008023 
+ 00017837  0x00002239 ifetch  0x00000001 , 0x00000003 
+ 00017838  0x0000223a iadd  0x00000002 , 0x00000002 
+ 00017839  0x0000223b copy  0x0000003f , 0x00000039 
+ 00017840  0x0000223d ifetch  0x00000001 , 0x00000003 
+ 00017841  0x0000223e hstore  0x00000001 , 0x00008025 
+ 00017842  0x0000223f iadd  0x00000002 , 0x00000002 
+ 00017843  0x00002240 loop  0x000045b0 
+ 00017844  0x00002241 and  0x00000002 , 0x000000ff , 0x00000002 
+ 00017845  0x00002242 ifetch  0x00000001 , 0x00000003 
+ 00017846  0x00002243 isub  0x00000002 , 0x0000003e 
+ 00017847  0x00002244 nbranch  0x000045c8 , 0x00000005 
+ 00017848  0x00002245 branch  0x00004949 
+ 00017849  0x00002248 arg  0x00000020 , 0x00000039 
+ 00017850  0x00002249 arg  0x00004000 , 0x00000005 
+ 00017851  0x0000224a arg  0x00000000 , 0x00000002 
+ 00017852  0x0000224c ifetch  0x00000001 , 0x00000003 
+ 00017853  0x0000224d istore  0x00000001 , 0x00000005 
+ 00017854  0x0000224e iadd  0x00000002 , 0x00000002 
+ 00017855  0x0000224f loop  0x000045bc 
+ 00017856  0x00002250 and  0x00000002 , 0x000000ff , 0x00000002 
+ 00017857  0x00002251 ifetch  0x00000001 , 0x00000003 
+ 00017858  0x00002252 isub  0x00000002 , 0x0000003e 
+ 00017859  0x00002253 nbranch  0x000045c8 , 0x00000005 
+ 00017860  0x00002254 hjam  0x00000000 , 0x00008023 
+ 00017861  0x00002255 call  0x00004949 
+ 00017862  0x00002256 call  0x0000440e 
+ 00017863  0x00002257 branch  0x00003001 
+ 00017864  0x0000225a hjam  0x00000000 , 0x00008023 
+ 00017865  0x0000225b branch  0x00003000 
+ 00017866  0x0000225e ifetch  0x00000006 , 0x00000003 
+ 00017867  0x0000225f store  0x00000006 , 0x00004140 
+ 00017868  0x00002260 branch  0x00004949 
+ 00017869  0x00002264 ifetch  0x00000001 , 0x00000003 
+ 00017870  0x00002265 store  0x00000001 , 0x000002c1 
+ 00017871  0x00002266 copy  0x0000003f , 0x00000039 
+ 00017872  0x00002267 ifetch  0x00000002 , 0x00000003 
+ 00017873  0x00002268 store  0x00000002 , 0x000002c2 
+ 00017874  0x00002269 copy  0x0000003f , 0x00000005 
+ 00017875  0x0000226a call  0x0000497c 
+ 00017876  0x0000226b branch  0x00004949 
+ 00017877  0x0000226f ifetch  0x00000001 , 0x00000003 
+ 00017878  0x00002270 store  0x00000001 , 0x000002c1 
+ 00017879  0x00002271 copy  0x0000003f , 0x00000039 
+ 00017880  0x00002272 ifetch  0x00000002 , 0x00000003 
+ 00017881  0x00002273 store  0x00000002 , 0x000002c2 
+ 00017882  0x00002274 arg  0x00001000 , 0x00000005 
+ 00017883  0x00002275 call  0x0000497c 
+ 00017884  0x00002276 fetcht  0x00000001 , 0x000002c1 
+ 00017885  0x00002277 arg  0x00001000 , 0x00000011 
+ 00017886  0x00002278 fetch  0x00000002 , 0x000002c2 
+ 00017887  0x00002279 branch  0x00006842 
+ 00017888  0x00002280 set0  0x00000025 , 0x00000000 
+ 00017889  0x00002281 bpatch  0x000000dd , 0x0000401b 
+ 00017890  0x00002282 deposit  0x00000007 
+ 00017891  0x00002283 beq  0x00000001 , 0x00004949 
+ 00017892  0x00002284 beq  0x00000002 , 0x000045f3 
+ 00017893  0x00002285 beq  0x00000003 , 0x000045f8 
+ 00017894  0x00002286 beq  0x00000006 , 0x000045ff 
+ 00017895  0x00002287 beq  0x00000008 , 0x00004603 
+ 00017896  0x00002288 beq  0x00000009 , 0x00004607 
+ 00017897  0x00002289 beq  0x0000000a , 0x0000460b 
+ 00017898  0x0000228a beq  0x0000000b , 0x0000460e 
+ 00017899  0x0000228b beq  0x0000000c , 0x00004611 
+ 00017900  0x0000228c beq  0x0000000d , 0x00004614 
+ 00017901  0x0000228d beq  0x0000000e , 0x00004626 
+ 00017902  0x0000228e beq  0x00000015 , 0x00004627 
+ 00017903  0x0000228f beq  0x00000016 , 0x00004933 
+ 00017904  0x00002290 beq  0x00000013 , 0x00004949 
+ 00017905  0x00002291 branch  0x0000474d 
+ 00017906  0x00002292 rtn 
+ 00017907  0x00002294 call  0x0000496e 
+ 00017908  0x00002295 setarg  0x00000000 
+ 00017909  0x00002296 istore  0x00000003 , 0x0000000a 
+ 00017910  0x00002297 force  0x00000007 , 0x00000039 
+ 00017911  0x00002298 branch  0x0000494c 
+ 00017912  0x0000229b call  0x0000496e 
+ 00017913  0x0000229c setarg  0x00000001 
+ 00017914  0x0000229d istore  0x00000002 , 0x0000000a 
+ 00017915  0x0000229e setarg  0x00000000 
+ 00017916  0x0000229f istore  0x00000006 , 0x0000000a 
+ 00017917  0x000022a0 force  0x0000000c , 0x00000039 
+ 00017918  0x000022a1 branch  0x0000494c 
+ 00017919  0x000022a4 arg  0x0000000f , 0x00000039 
+ 00017920  0x000022a5 arg  0x000044d7 , 0x00000005 
+ 00017921  0x000022a6 call  0x0000497c 
+ 00017922  0x000022a7 branch  0x00004949 
+ 00017923  0x000022aa arg  0x00000020 , 0x00000039 
+ 00017924  0x000022ab arg  0x000043d9 , 0x00000005 
+ 00017925  0x000022ac call  0x0000497c 
+ 00017926  0x000022ad branch  0x00004949 
+ 00017927  0x000022b0 arg  0x00000020 , 0x00000039 
+ 00017928  0x000022b1 arg  0x000043f9 , 0x00000005 
+ 00017929  0x000022b2 call  0x0000497c 
+ 00017930  0x000022b3 branch  0x00004949 
+ 00017931  0x000022b6 ifetch  0x00000001 , 0x00000003 
+ 00017932  0x000022b7 store  0x00000001 , 0x000043d8 
+ 00017933  0x000022b8 branch  0x00004949 
+ 00017934  0x000022bb ifetch  0x00000007 , 0x00000003 
+ 00017935  0x000022bc store  0x00000007 , 0x000044f6 
+ 00017936  0x000022bd branch  0x00004949 
+ 00017937  0x000022c0 ifetch  0x00000001 , 0x00000003 
+ 00017938  0x000022c1 store  0x00000001 , 0x000043d2 
+ 00017939  0x000022c2 branch  0x00004949 
+ 00017940  0x000022c5 ifetch  0x00000004 , 0x00000003 
+ 00017941  0x000022c6 store  0x00000004 , 0x000043d3 
+ 00017942  0x000022c7 ifetch  0x00000001 , 0x00000003 
+ 00017943  0x000022c8 store  0x00000001 , 0x000044f8 
+ 00017944  0x000022c9 arg  0x00000014 , 0x00000039 
+ 00017945  0x000022ca arg  0x000044e6 , 0x00000005 
+ 00017946  0x000022cb call  0x0000497c 
+ 00017947  0x000022cc jam  0x00000001 , 0x000043d2 
+ 00017948  0x000022cd fetch  0x00000001 , 0x000044ed 
+ 00017949  0x000022ce store  0x00000001 , 0x000044f7 
+ 00017950  0x000022cf fetch  0x00000002 , 0x000044f0 
+ 00017951  0x000022d0 store  0x00000002 , 0x000043d0 
+ 00017952  0x000022d1 fetch  0x00000002 , 0x000044f2 
+ 00017953  0x000022d2 store  0x00000002 , 0x000003ed 
+ 00017954  0x000022d3 fetch  0x00000002 , 0x000044f4 
+ 00017955  0x000022d4 store  0x00000002 , 0x000003ef 
+ 00017956  0x000022d5 jam  0x0000001b , 0x00004272 
+ 00017957  0x000022d6 branch  0x00004933 
+ 00017958  0x000022da branch  0x00004949 
+ 00017959  0x000022dd call  0x0000496e 
+ 00017960  0x000022de ifetch  0x00000002 , 0x00000003 
+ 00017961  0x000022df istore  0x00000002 , 0x0000000a 
+ 00017962  0x000022e0 setarg  0x001fffff 
+ 00017963  0x000022e1 istore  0x00000005 , 0x0000000a 
+ 00017964  0x000022e2 force  0x0000000b , 0x00000039 
+ 00017965  0x000022e3 branch  0x0000494c 
+ 00017966  0x000022e9 ifetch  0x00000003 , 0x00000003 
+ 00017967  0x000022ea ifetcht  0x00000003 , 0x00000003 
+ 00017968  0x000022eb fetch  0x00000002 , 0x00004800 
+ 00017969  0x000022ec iadd  0x00000002 , 0x0000003f 
+ 00017970  0x000022ed store  0x00000002 , 0x00004800 
+ 00017971  0x000022ee rtn 
+ 00017972  0x000022f1 ifetch  0x00000003 , 0x00000003 
+ 00017973  0x000022f2 store  0x00000003 , 0x00004147 
+ 00017974  0x000022f4 jam  0x00000001 , 0x00004272 
+ 00017975  0x000022f5 ifetch  0x00000001 , 0x00000003 
+ 00017976  0x000022f6 arg  0x00000640 , 0x00000002 
+ 00017977  0x000022f7 imul32  0x00000002 , 0x0000003f 
+ 00017978  0x000022f8 arg  0x0000ffff , 0x00000002 
+ 00017979  0x000022f9 isub  0x00000002 , 0x0000003e 
+ 00017980  0x000022fa nbranch  0x0000463e , 0x00000002 
+ 00017981  0x000022fb deposit  0x00000002 
+ 00017982  0x000022fd force  0x00000002 , 0x00000007 
+ 00017983  0x000022fe call  0x00007e4c 
+ 00017984  0x000022ff fetch  0x00000001 , 0x000042a4 
+ 00017985  0x00002300 bbit1  0x00000000 , 0x0000428c 
+ 00017986  0x00002301 branch  0x00004933 
+ 00017987  0x00002305 jam  0x00000002 , 0x00004272 
+ 00017988  0x00002306 branch  0x00004949 
+ 00017989  0x00002309 call  0x00004763 
+ 00017990  0x0000230a ifetch  0x00000002 , 0x00000003 
+ 00017991  0x0000230b store  0x00000002 , 0x00000275 
+ 00017992  0x0000230c ifetch  0x00000002 , 0x00000003 
+ 00017993  0x0000230d store  0x00000001 , 0x000000f3 
+ 00017994  0x0000230e call  0x00004776 
+ 00017995  0x0000230f ifetch  0x00000001 , 0x00000003 
+ 00017996  0x00002310 store  0x00000001 , 0x00004802 
+ 00017997  0x00002311 jam  0x00000005 , 0x00004272 
+ 00017998  0x00002312 branch  0x00004933 
+ 00017999  0x00002316 jam  0x00000006 , 0x00004272 
+ 00018000  0x00002317 ifetch  0x00000002 , 0x00000003 
+ 00018001  0x00002318 store  0x00000001 , 0x00004273 
+ 00018002  0x00002319 ifetch  0x00000001 , 0x00000003 
+ 00018003  0x0000231a store  0x00000001 , 0x00000446 
+ 00018004  0x0000231b jam  0x00000016 , 0x000002c0 
+ 00018005  0x0000231c fetch  0x00000001 , 0x00004273 
+ 00018006  0x0000231d fetcht  0x00000001 , 0x000000ad 
+ 00018007  0x0000231e isub  0x00000002 , 0x0000003e 
+ 00018008  0x0000231f nbranch  0x00004933 , 0x00000005 
+ 00018009  0x00002320 jam  0x00000011 , 0x00004272 
+ 00018010  0x00002321 fetch  0x00000001 , 0x000000ac 
+ 00018011  0x00002322 store  0x00000001 , 0x00004273 
+ 00018012  0x00002323 branch  0x00004933 
+ 00018013  0x00002326 call  0x0000496e 
+ 00018014  0x00002327 call  0x00004965 
+ 00018015  0x00002328 force  0x0000000a , 0x00000039 
+ 00018016  0x00002329 call  0x0000494c 
+ 00018017  0x0000232b jam  0x0000001a , 0x00004272 
+ 00018018  0x0000232c force  0x00000002 , 0x00000002 
+ 00018019  0x0000232d branch  0x00004826 
+ 00018020  0x00002330 call  0x00004763 
+ 00018021  0x00002331 arg  0x00004262 , 0x00000005 
+ 00018022  0x00002332 force  0x00000010 , 0x00000039 
+ 00018023  0x00002333 call  0x0000497c 
+ 00018024  0x00002334 jam  0x0000000b , 0x00004272 
+ 00018025  0x00002335 branch  0x00004677 
+ 00018026  0x00002338 call  0x00004763 
+ 00018027  0x00002339 jam  0x0000000c , 0x00004272 
+ 00018028  0x0000233a branch  0x00004677 
+ 00018029  0x0000233d call  0x00004763 
+ 00018030  0x0000233e ifetch  0x00000001 , 0x00000003 
+ 00018031  0x0000233f store  0x00000001 , 0x0000054f 
+ 00018032  0x00002340 iforce  0x00000039 
+ 00018033  0x00002341 arg  0x00000550 , 0x00000005 
+ 00018034  0x00002342 call  0x0000497c 
+ 00018035  0x00002343 jam  0x00000009 , 0x00004272 
+ 00018036  0x00002344 branch  0x00004677 
+ 00018037  0x00002347 call  0x00004763 
+ 00018038  0x00002348 jam  0x0000000a , 0x00004272 
+ 00018039  0x0000234a call  0x0000496e 
+ 00018040  0x0000234b call  0x00004965 
+ 00018041  0x0000234c force  0x0000000a , 0x00000039 
+ 00018042  0x0000234d branch  0x0000494c 
+ 00018043  0x00002351 increase  0x00000006 , 0x00000003 
+ 00018044  0x00002352 ifetch  0x00000003 , 0x00000003 
+ 00018045  0x00002353 store  0x00000003 , 0x000007e6 
+ 00018046  0x00002354 fetch  0x00000001 , 0x000007db 
+ 00018047  0x00002355 beq  0x00000013 , 0x00004683 
+ 00018048  0x00002356 beq  0x00000003 , 0x00004683 
+ 00018049  0x00002357 jam  0x00000016 , 0x00004272 
+ 00018050  0x00002358 branch  0x00004684 
+ 00018051  0x0000235a jam  0x00000001 , 0x000007dd 
+ 00018052  0x0000235c call  0x0000496e 
+ 00018053  0x0000235d call  0x00004965 
+ 00018054  0x0000235e force  0x0000000a , 0x00000039 
+ 00018055  0x0000235f branch  0x0000494c 
+ 00018056  0x00002363 call  0x00004766 
+ 00018057  0x00002364 jam  0x0000000d , 0x00004272 
+ 00018058  0x00002365 branch  0x00004933 
+ 00018059  0x00002368 call  0x00004766 
+ 00018060  0x00002369 ifetch  0x00000001 , 0x00000003 
+ 00018061  0x0000236a increase  0x0000000e , 0x0000003f 
+ 00018062  0x0000236b store  0x00000001 , 0x00004272 
+ 00018063  0x0000236c branch  0x00004933 
+ 00018064  0x0000236f call  0x00004763 
+ 00018065  0x00002370 ifetch  0x00000002 , 0x00000003 
+ 00018066  0x00002371 store  0x00000001 , 0x000000f3 
+ 00018067  0x00002372 call  0x00004776 
+ 00018068  0x00002373 jam  0x00000003 , 0x00004272 
+ 00018069  0x00002374 branch  0x00004933 
+ 00018070  0x00002377 ifetch  0x00000002 , 0x00000003 
+ 00018071  0x00002378 ifetch  0x00000001 , 0x00000003 
+ 00018072  0x00002379 store  0x00000001 , 0x00000449 
+ 00018073  0x0000237a jam  0x00000015 , 0x00004272 
+ 00018074  0x0000237b branch  0x00004933 
+ 00018075  0x0000237f fetch  0x00000001 , 0x00000046 
+ 00018076  0x00002380 force  0x00000002 , 0x00000011 
+ 00018077  0x00002381 branch  0x0000493d , 0x00000034 
+ 00018078  0x00002382 call  0x00004766 
+ 00018079  0x00002383 jam  0x00000004 , 0x00004272 
+ 00018080  0x00002384 branch  0x00004933 
+ 00018081  0x00002389 fetch  0x00000001 , 0x00000046 
+ 00018082  0x0000238a force  0x00000002 , 0x00000011 
+ 00018083  0x0000238b branch  0x0000493d , 0x00000034 
+ 00018084  0x0000238c call  0x00004766 
+ 00018085  0x0000238d jam  0x00000014 , 0x00004272 
+ 00018086  0x0000238e branch  0x00004933 
+ 00018087  0x00002392 call  0x0000476e 
+ 00018088  0x00002393 force  0x0000001c , 0x00000007 
+ 00018089  0x00002394 force  0x00000005 , 0x00000039 
+ 00018090  0x00002395 branch  0x00004952 
+ 00018091  0x00002398 call  0x00004766 
+ 00018092  0x00002399 increase  0x0000000a , 0x00000003 
+ 00018093  0x0000239a ifetch  0x00000002 , 0x00000003 
+ 00018094  0x0000239b store  0x00000002 , 0x00000281 
+ 00018095  0x0000239c ifetch  0x00000001 , 0x00000003 
+ 00018096  0x0000239d store  0x00000001 , 0x00000283 
+ 00018097  0x0000239e ifetch  0x00000002 , 0x00000003 
+ 00018098  0x0000239f store  0x00000002 , 0x00000284 
+ 00018099  0x000023a0 jam  0x00000002 , 0x000000ab 
+ 00018100  0x000023a1 jam  0x00000010 , 0x00004272 
+ 00018101  0x000023a2 branch  0x00004933 
+ 00018102  0x000023a5 jam  0x0000001c , 0x00004272 
+ 00018103  0x000023a6 branch  0x00004933 
+ 00018104  0x000023ab call  0x0000496e 
+ 00018105  0x000023ac arg  0x00004703 , 0x00000006 
+ 00018106  0x000023ad sub  0x00000006 , 0x000000ff , 0x00000039 
+ 00018107  0x000023ae call  0x00004976 
+ 00018108  0x000023af force  0x00000000 , 0x0000003f 
+ 00018109  0x000023b0 sub  0x00000006 , 0x00004703 , 0x00000039 
+ 00018110  0x000023b1 increase  0x000000f8 , 0x00000039 
+ 00018111  0x000023b2 call  0x00004982 
+ 00018112  0x000023b3 force  0x000000fc , 0x00000039 
+ 00018113  0x000023b4 branch  0x0000494c 
+ 00018114  0x000023b7 arg  0x00004703 , 0x00000005 
+ 00018115  0x000023b8 sub  0x00000005 , 0x000000ff , 0x00000039 
+ 00018116  0x000023ba ifetch  0x00000001 , 0x00000003 
+ 00018117  0x000023bb istore  0x00000001 , 0x00000005 
+ 00018118  0x000023bc branch  0x000046c8 , 0x00000034 
+ 00018119  0x000023bd loop  0x000046c4 
+ 00018120  0x000023bf sub  0x00000005 , 0x00004703 , 0x0000003f 
+ 00018121  0x000023c0 sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00018122  0x000023c1 store  0x00000001 , 0x00004702 
+ 00018123  0x000023c2 branch  0x00004949 
+ 00018124  0x000023c5 call  0x0000496e 
+ 00018125  0x000023c6 call  0x0000496b 
+ 00018126  0x000023c7 force  0x00000000 , 0x0000003f 
+ 00018127  0x000023c8 nsetflag  0x00000029 , 0x00000000 , 0x0000003f 
+ 00018128  0x000023c9 istore  0x00000001 , 0x0000000a 
+ 00018129  0x000023ca force  0x00000007 , 0x00000039 
+ 00018130  0x000023cb arg  0x00000809 , 0x00000030 
+ 00018131  0x000023cc call  0x0000494c 
+ 00018132  0x000023cd branch  0x000049bc 
+ 00018133  0x000023ce jam  0x00000017 , 0x00004272 
+ 00018134  0x000023cf rtn 
+ 00018135  0x000023d3 call  0x00004769 
+ 00018136  0x000023d4 force  0x00000006 , 0x00000039 
+ 00018137  0x000023d5 branch  0x0000494c 
+ 00018138  0x000023d9 branch  0x00004949 
+ 00018139  0x000023dc ifetch  0x00000002 , 0x00000003 
+ 00018140  0x000023dd store  0x00000002 , 0x00004159 
+ 00018141  0x000023de branch  0x00004949 
+ 00018142  0x000023e2 ifetch  0x00000001 , 0x00000003 
+ 00018143  0x000023e3 store  0x00000001 , 0x00004133 
+ 00018144  0x000023e4 branch  0x00004949 
+ 00018145  0x000023e7 ifetch  0x00000002 , 0x00000003 
+ 00018146  0x000023e8 store  0x00000002 , 0x00004153 
+ 00018147  0x000023e9 ifetch  0x00000002 , 0x00000003 
+ 00018148  0x000023ea store  0x00000002 , 0x00004151 
+ 00018149  0x000023eb branch  0x00004949 
+ 00018150  0x000023ee ifetch  0x00000002 , 0x00000003 
+ 00018151  0x000023ef store  0x00000002 , 0x0000414f 
+ 00018152  0x000023f0 ifetch  0x00000002 , 0x00000003 
+ 00018153  0x000023f1 store  0x00000002 , 0x0000414d 
+ 00018154  0x000023f2 branch  0x00004949 
+ 00018155  0x000023f5 branch  0x00004949 
+ 00018156  0x000023f9 ifetch  0x00000001 , 0x00000003 
+ 00018157  0x000023fa store  0x00000001 , 0x00000453 
+ 00018158  0x000023fb branch  0x00004949 
+ 00018159  0x000023fe ifetch  0x00000003 , 0x00000003 
+ 00018160  0x000023ff store  0x00000003 , 0x0000414a 
+ 00018161  0x00002400 branch  0x00004949 
+ 00018162  0x00002406 deposit  0x00000002 
+ 00018163  0x00002407 branch  0x00004949 , 0x00000034 
+ 00018164  0x00002408 call  0x00004970 
+ 00018165  0x00002409 force  0x00000001 , 0x0000003f 
+ 00018166  0x0000240a istore  0x00000001 , 0x0000000a 
+ 00018167  0x0000240b deposit  0x00000030 
+ 00018168  0x0000240c istore  0x00000002 , 0x0000000a 
+ 00018169  0x0000240d force  0x00000012 , 0x0000003f 
+ 00018170  0x0000240e istore  0x00000001 , 0x0000000a 
+ 00018171  0x0000240f setarg  0x00000000 
+ 00018172  0x00002410 increase  0x000000f1 , 0x00000039 
+ 00018173  0x00002411 call  0x00004982 
+ 00018174  0x00002413 force  0x0000000e , 0x00000007 
+ 00018175  0x00002414 force  0x000000f5 , 0x00000039 
+ 00018176  0x00002415 branch  0x00004952 
+ 00018177  0x0000241a ifetch  0x00000001 , 0x00000003 
+ 00018178  0x0000241b ncall  0x00006003 , 0x00000034 
+ 00018179  0x0000241c call  0x00006009 , 0x00000034 
+ 00018180  0x0000241d branch  0x00004949 
+ 00018181  0x00002420 call  0x0000496e 
+ 00018182  0x00002421 fetch  0x00000001 , 0x00004133 
+ 00018183  0x00002422 istore  0x00000001 , 0x0000000a 
+ 00018184  0x00002423 force  0x00000005 , 0x00000039 
+ 00018185  0x00002424 branch  0x0000494c 
+ 00018186  0x00002427 call  0x0000496e 
+ 00018187  0x00002428 fetch  0x00000008 , 0x00000080 
+ 00018188  0x00002429 istore  0x00000008 , 0x0000000a 
+ 00018189  0x0000242a force  0x0000000c , 0x00000039 
+ 00018190  0x0000242b branch  0x0000494c 
+ 00018191  0x0000242e call  0x0000496e 
+ 00018192  0x0000242f fetch  0x00000008 , 0x00004138 
+ 00018193  0x00002430 istore  0x00000008 , 0x0000000a 
+ 00018194  0x00002431 force  0x0000000c , 0x00000039 
+ 00018195  0x00002432 branch  0x0000494c 
+ 00018196  0x00002435 call  0x0000496e 
+ 00018197  0x00002436 setarg  0x00000101 
+ 00018198  0x00002437 istore  0x00000002 , 0x0000000a 
+ 00018199  0x00002438 setarg  0x00000001 
+ 00018200  0x00002439 istore  0x00000008 , 0x0000000a 
+ 00018201  0x0000243a force  0x0000000e , 0x00000039 
+ 00018202  0x0000243b branch  0x0000494c 
+ 00018203  0x0000243e call  0x0000496e 
+ 00018204  0x0000243f fetch  0x00000007 , 0x00000083 
+ 00018205  0x00002440 istore  0x00000007 , 0x0000000a 
+ 00018206  0x00002441 force  0x0000000b , 0x00000039 
+ 00018207  0x00002442 branch  0x0000494c 
+ 00018208  0x00002445 call  0x0000496e 
+ 00018209  0x00002446 fetch  0x00000006 , 0x00004140 
+ 00018210  0x00002447 istore  0x00000006 , 0x0000000a 
+ 00018211  0x00002448 force  0x0000000a , 0x00000039 
+ 00018212  0x00002449 branch  0x0000494c 
+ 00018213  0x0000244c branch  0x00004949 
+ 00018214  0x00002450 branch  0x00004949 
+ 00018215  0x00002452 call  0x0000496e 
+ 00018216  0x00002453 call  0x0000496b 
+ 00018217  0x00002454 setarg  0x000000ff 
+ 00018218  0x00002455 istore  0x00000001 , 0x0000000a 
+ 00018219  0x00002456 force  0x00000007 , 0x00000039 
+ 00018220  0x00002457 branch  0x0000494c 
+ 00018221  0x0000245a call  0x0000496e 
+ 00018222  0x0000245b call  0x0000496b 
+ 00018223  0x0000245c setarg  0x00000000 
+ 00018224  0x0000245d istore  0x00000001 , 0x0000000a 
+ 00018225  0x0000245e force  0x00000007 , 0x00000039 
+ 00018226  0x0000245f branch  0x0000494c 
+ 00018227  0x00002462 set0  0x00000025 , 0x00000000 
+ 00018228  0x00002463 bpatch  0x000000de , 0x0000401b 
+ 00018229  0x00002464 branch  0x00004949 
+ 00018230  0x00002466 set0  0x00000025 , 0x00000000 
+ 00018231  0x00002467 bpatch  0x000000df , 0x0000401b 
+ 00018232  0x00002468 branch  0x00004949 
+ 00018233  0x0000246e call  0x00004763 
+ 00018234  0x0000246f jam  0x00000007 , 0x00004272 
+ 00018235  0x00002470 ifetch  0x00000001 , 0x00000003 
+ 00018236  0x00002471 beq  0x00000001 , 0x00004933 
+ 00018237  0x00002472 jam  0x00000019 , 0x00004272 
+ 00018238  0x00002473 branch  0x00004933 
+ 00018239  0x00002476 branch  0x00004739 
+ 00018240  0x00002477 call  0x00004763 
+ 00018241  0x00002478 jam  0x00000008 , 0x00004272 
+ 00018242  0x00002479 branch  0x00004949 
+ 00018243  0x0000247c call  0x00004933 
+ 00018244  0x0000247d call  0x00004970 
+ 00018245  0x0000247e setarg  0x00000000 
+ 00018246  0x0000247f istore  0x00000001 , 0x0000000a 
+ 00018247  0x00002480 ifetch  0x00000004 , 0x00000003 
+ 00018248  0x00002481 istore  0x00000004 , 0x0000000a 
+ 00018249  0x00002482 force  0x00000008 , 0x00000039 
+ 00018250  0x00002483 arg  0x0000001d , 0x00000007 
+ 00018251  0x00002484 arg  0x00000005 , 0x00000039 
+ 00018252  0x00002485 branch  0x00004952 
+ 00018253  0x00002488 force  0x00000001 , 0x00000011 
+ 00018254  0x00002489 branch  0x0000493d 
+ 00018255  0x0000248e call  0x00004766 
+ 00018256  0x0000248f ifetch  0x00000002 , 0x00000003 
+ 00018257  0x00002490 store  0x00000002 , 0x00004280 
+ 00018258  0x00002491 ifetch  0x00000002 , 0x00000003 
+ 00018259  0x00002492 store  0x00000002 , 0x0000027b 
+ 00018260  0x00002493 ifetch  0x00000002 , 0x00000003 
+ 00018261  0x00002494 store  0x00000002 , 0x00004282 
+ 00018262  0x00002495 ifetch  0x00000002 , 0x00000003 
+ 00018263  0x00002496 store  0x00000002 , 0x00004284 
+ 00018264  0x00002497 jam  0x00000012 , 0x00004272 
+ 00018265  0x00002498 branch  0x00004933 
+ 00018266  0x0000249b call  0x00004766 
+ 00018267  0x0000249c call  0x0000475d 
+ 00018268  0x0000249d branch  0x00004933 
+ 00018269  0x000024a0 jam  0x00000013 , 0x00004272 
+ 00018270  0x000024a1 rtn 
+ 00018271  0x000024a4 branch  0x00004949 
+ 00018272  0x000024a7 call  0x00004763 
+ 00018273  0x000024a8 jam  0x00000018 , 0x00004272 
+ 00018274  0x000024a9 branch  0x00004933 
+ 00018275  0x000024ac ifetch  0x00000006 , 0x00000003 
+ 00018276  0x000024ad store  0x00000006 , 0x00004274 
+ 00018277  0x000024ae rtn 
+ 00018278  0x000024b1 ifetch  0x00000002 , 0x00000003 
+ 00018279  0x000024b2 store  0x00000001 , 0x00004273 
+ 00018280  0x000024b3 rtn 
+ 00018281  0x000024b6 call  0x00004766 
+ 00018282  0x000024b7 call  0x0000496e 
+ 00018283  0x000024b8 fetch  0x00000001 , 0x00004273 
+ 00018284  0x000024b9 istore  0x00000002 , 0x0000000a 
+ 00018285  0x000024ba rtn 
+ 00018286  0x000024bf call  0x00004766 
+ 00018287  0x000024c0 call  0x00004933 
+ 00018288  0x000024c1 call  0x00004970 
+ 00018289  0x000024c2 force  0x00000000 , 0x0000003f 
+ 00018290  0x000024c3 istore  0x00000001 , 0x0000000a 
+ 00018291  0x000024c4 fetch  0x00000001 , 0x00004273 
+ 00018292  0x000024c5 istore  0x00000002 , 0x0000000a 
+ 00018293  0x000024c6 rtn 
+ 00018294  0x000024c9 ifetch  0x00000002 , 0x00000003 
+ 00018295  0x000024ca iadd  0x00000022 , 0x0000003f 
+ 00018296  0x000024cb and_into  0x000001fc , 0x0000003f 
+ 00018297  0x000024cc store  0x00000004 , 0x000000f4 
+ 00018298  0x000024cd rtn 
+ 00018299  0x000024d0 set0  0x00000025 , 0x00000000 
+ 00018300  0x000024d1 bpatch  0x000000e0 , 0x0000401c 
+ 00018301  0x000024d2 fetch  0x00000001 , 0x00000274 
+ 00018302  0x000024d3 sub  0x0000003f , 0x00000002 , 0x0000003e 
+ 00018303  0x000024d4 nrtn  0x00000002 
+ 00018304  0x000024d5 fetcht  0x00000006 , 0x00000182 
+ 00018305  0x000024d6 call  0x000032fc 
+ 00018306  0x000024d7 rtn  0x00000005 
+ 00018307  0x000024d8 call  0x00004972 
+ 00018308  0x000024d9 setarg  0x00010f22 
+ 00018309  0x000024da istore  0x00000003 , 0x0000000a 
+ 00018310  0x000024db fetch  0x00000006 , 0x00000182 
+ 00018311  0x000024dc istore  0x00000006 , 0x0000000a 
+ 00018312  0x000024dd fetch  0x00000001 , 0x0000017d 
+ 00018313  0x000024de copy  0x0000003f , 0x00000002 
+ 00018314  0x000024df rshift3  0x0000003f , 0x0000003f 
+ 00018315  0x000024e0 rshift3  0x0000003f , 0x0000003f 
+ 00018316  0x000024e1 istore  0x00000001 , 0x0000000a 
+ 00018317  0x000024e2 copy  0x00000002 , 0x0000003f 
+ 00018318  0x000024e3 and  0x0000003f , 0x00000030 , 0x0000003f 
+ 00018319  0x000024e4 rshift3  0x0000003f , 0x0000003f 
+ 00018320  0x000024e5 rshift  0x0000003f , 0x0000003f 
+ 00018321  0x000024e6 istore  0x00000001 , 0x0000000a 
+ 00018322  0x000024e7 fetch  0x00000003 , 0x0000017f 
+ 00018323  0x000024e8 istore  0x00000003 , 0x0000000a 
+ 00018324  0x000024e9 fetch  0x00000004 , 0x0000016f 
+ 00018325  0x000024ea isub  0x00000022 , 0x0000003f 
+ 00018326  0x000024eb istore  0x00000002 , 0x0000000a 
+ 00018327  0x000024ec setarg  0x000000c8 
+ 00018328  0x000024ed istore  0x00000001 , 0x0000000a 
+ 00018329  0x000024ee force  0x0000000f , 0x00000039 
+ 00018330  0x000024ef branch  0x00004959 
+ 00018331  0x000024f2 set0  0x00000025 , 0x00000000 
+ 00018332  0x000024f3 bpatch  0x000000e1 , 0x0000401c 
+ 00018333  0x000024f4 force  0x0000021c , 0x00000002 
+ 00018334  0x000024f5 fetch  0x00000002 , 0x00000291 
+ 00018335  0x000024f6 isub  0x00000002 , 0x0000003e 
+ 00018336  0x000024f7 nrtn  0x00000002 
+ 00018337  0x000024f8 fetcht  0x00000003 , 0x00000286 
+ 00018338  0x000024f9 fetch  0x00000003 , 0x00000185 
+ 00018339  0x000024fa isub  0x00000002 , 0x0000003e 
+ 00018340  0x000024fb rtn  0x00000005 
+ 00018341  0x000024fc rtn  0x00000034 
+ 00018342  0x000024fd store  0x00000003 , 0x00000286 
+ 00018343  0x000024fe fetch  0x00000001 , 0x00000274 
+ 00018344  0x000024ff sub  0x0000003f , 0x00000002 , 0x0000003e 
+ 00018345  0x00002500 nrtn  0x00000002 
+ 00018346  0x00002501 fetcht  0x00000006 , 0x00000182 
+ 00018347  0x00002502 call  0x000032fc 
+ 00018348  0x00002503 rtn  0x00000005 
+ 00018349  0x00002504 call  0x000047cc 
+ 00018350  0x00002505 force  0x0000000f , 0x00000002 
+ 00018351  0x00002506 fetch  0x00000001 , 0x000004df 
+ 00018352  0x00002507 bne  0x00000009 , 0x000047c5 
+ 00018353  0x00002508 fetch  0x00000001 , 0x000004de 
+ 00018354  0x00002509 branch  0x000047c5 , 0x00000034 
+ 00018355  0x0000250a iforce  0x00000039 
+ 00018356  0x0000250b istore  0x00000001 , 0x0000000a 
+ 00018357  0x0000250c iadd  0x00000002 , 0x00000002 
+ 00018358  0x0000250d increase  0x00000001 , 0x00000002 
+ 00018359  0x0000250e arg  0x000004df , 0x00000006 
+ 00018360  0x00002511 ifetch  0x00000001 , 0x00000006 
+ 00018361  0x00002512 istore  0x00000001 , 0x0000000a 
+ 00018362  0x00002513 loop  0x000047b8 
+ 00018363  0x00002515 ifetch  0x00000001 , 0x00000006 
+ 00018364  0x00002516 branch  0x000047c5 , 0x00000034 
+ 00018365  0x00002517 iforce  0x00000039 
+ 00018366  0x00002518 istore  0x00000001 , 0x0000000a 
+ 00018367  0x00002519 iadd  0x00000002 , 0x00000002 
+ 00018368  0x0000251a increase  0x00000001 , 0x00000002 
+ 00018369  0x0000251c ifetch  0x00000001 , 0x00000006 
+ 00018370  0x0000251d istore  0x00000001 , 0x0000000a 
+ 00018371  0x0000251e loop  0x000047c1 
+ 00018372  0x0000251f branch  0x000047bb 
+ 00018373  0x00002521 sub  0x00000002 , 0x000000ff , 0x0000003f 
+ 00018374  0x00002522 iforce  0x00000039 
+ 00018375  0x00002524 setarg  0x00000000 
+ 00018376  0x00002525 istore  0x00000001 , 0x0000000a 
+ 00018377  0x00002526 loop  0x000047c7 
+ 00018378  0x00002527 force  0x000000ff , 0x00000039 
+ 00018379  0x00002528 branch  0x00004959 
+ 00018380  0x0000252b set0  0x00000025 , 0x00000000 
+ 00018381  0x0000252c bpatch  0x000000e2 , 0x0000401c 
+ 00018382  0x0000252d call  0x00004972 
+ 00018383  0x0000252e setarg  0x0001ff2f 
+ 00018384  0x0000252f istore  0x00000003 , 0x0000000a 
+ 00018385  0x00002530 fetch  0x00000006 , 0x00000182 
+ 00018386  0x00002531 istore  0x00000006 , 0x0000000a 
+ 00018387  0x00002532 fetch  0x00000001 , 0x0000017d 
+ 00018388  0x00002533 copy  0x0000003f , 0x00000002 
+ 00018389  0x00002534 rshift3  0x0000003f , 0x0000003f 
+ 00018390  0x00002535 rshift3  0x0000003f , 0x0000003f 
+ 00018391  0x00002536 istore  0x00000001 , 0x0000000a 
+ 00018392  0x00002537 copy  0x00000002 , 0x0000003f 
+ 00018393  0x00002538 and  0x0000003f , 0x00000030 , 0x0000003f 
+ 00018394  0x00002539 rshift3  0x0000003f , 0x0000003f 
+ 00018395  0x0000253a rshift  0x0000003f , 0x0000003f 
+ 00018396  0x0000253b istore  0x00000001 , 0x0000000a 
+ 00018397  0x0000253c fetch  0x00000003 , 0x0000017f 
+ 00018398  0x0000253d istore  0x00000003 , 0x0000000a 
+ 00018399  0x0000253e fetch  0x00000004 , 0x0000016f 
+ 00018400  0x0000253f isub  0x00000022 , 0x0000003f 
+ 00018401  0x00002540 istore  0x00000002 , 0x0000000a 
+ 00018402  0x00002541 setarg  0x000000c8 
+ 00018403  0x00002542 istore  0x00000001 , 0x0000000a 
+ 00018404  0x00002543 rtn 
+ 00018405  0x00002546 set0  0x00000025 , 0x00000000 
+ 00018406  0x00002547 bpatch  0x000000e3 , 0x0000401c 
+ 00018407  0x00002548 fetch  0x00000001 , 0x00004132 
+ 00018408  0x00002549 rtnne  0x00000001 
+ 00018409  0x0000254a call  0x00004968 
+ 00018410  0x0000254b istoret  0x00000008 , 0x0000000a 
+ 00018411  0x0000254c force  0x0000000b , 0x00000039 
+ 00018412  0x0000254d force  0x0000000b , 0x00000007 
+ 00018413  0x0000254e branch  0x00004952 
+ 00018414  0x00002551 set0  0x00000025 , 0x00000000 
+ 00018415  0x00002552 bpatch  0x000000e4 , 0x0000401c 
+ 00018416  0x00002553 fetch  0x00000001 , 0x00004132 
+ 00018417  0x00002554 rtnne  0x00000001 
+ 00018418  0x00002556 call  0x00004970 
+ 00018419  0x00002557 fetch  0x00000006 , 0x00000040 
+ 00018420  0x00002558 istore  0x00000006 , 0x0000000a 
+ 00018421  0x00002559 istoret  0x00000008 , 0x0000000a 
+ 00018422  0x0000255a force  0x0000000e , 0x00000039 
+ 00018423  0x0000255b force  0x0000003d , 0x00000007 
+ 00018424  0x0000255c branch  0x00004952 
+ 00018425  0x0000255f set0  0x00000025 , 0x00000000 
+ 00018426  0x00002560 bpatch  0x000000e5 , 0x0000401c 
+ 00018427  0x00002561 fetch  0x00000001 , 0x00004132 
+ 00018428  0x00002562 rtnne  0x00000001 
+ 00018429  0x00002564 call  0x00004968 
+ 00018430  0x00002565 fetch  0x00000001 , 0x00000449 
+ 00018431  0x00002566 istore  0x00000001 , 0x0000000a 
+ 00018432  0x00002567 setarg  0x00000001 
+ 00018433  0x00002568 istore  0x00000001 , 0x0000000a 
+ 00018434  0x00002569 istoret  0x00000008 , 0x0000000a 
+ 00018435  0x0000256a force  0x0000000d , 0x00000039 
+ 00018436  0x0000256b force  0x00000023 , 0x00000007 
+ 00018437  0x0000256c branch  0x00004952 
+ 00018438  0x00002570 set0  0x00000025 , 0x00000000 
+ 00018439  0x00002571 bpatch  0x000000e6 , 0x0000401c 
+ 00018440  0x00002572 fetch  0x00000001 , 0x00004132 
+ 00018441  0x00002573 rtnne  0x00000001 
+ 00018442  0x00002574 call  0x00004968 
+ 00018443  0x00002575 istoret  0x00000005 , 0x0000000a 
+ 00018444  0x00002576 force  0x00000008 , 0x00000039 
+ 00018445  0x00002577 force  0x0000000c , 0x00000007 
+ 00018446  0x00002578 branch  0x00004952 
+ 00018447  0x0000257b set0  0x00000025 , 0x00000000 
+ 00018448  0x0000257c bpatch  0x000000e7 , 0x0000401c 
+ 00018449  0x0000257d fetch  0x00000001 , 0x00004132 
+ 00018450  0x0000257e rtnne  0x00000001 
+ 00018451  0x00002580 call  0x00004970 
+ 00018452  0x00002581 fetch  0x00000006 , 0x00000040 
+ 00018453  0x00002582 istore  0x00000006 , 0x0000000a 
+ 00018454  0x00002583 fetch  0x00000003 , 0x000007e9 
+ 00018455  0x00002584 istore  0x00000003 , 0x0000000a 
+ 00018456  0x00002585 force  0x00000009 , 0x00000039 
+ 00018457  0x00002586 force  0x00000032 , 0x00000007 
+ 00018458  0x00002587 branch  0x00004952 
+ 00018459  0x0000258a set0  0x00000025 , 0x00000000 
+ 00018460  0x0000258b bpatch  0x000000e8 , 0x0000401d 
+ 00018461  0x0000258c fetch  0x00000001 , 0x00004132 
+ 00018462  0x0000258d rtnne  0x00000001 
+ 00018463  0x0000258f call  0x00004970 
+ 00018464  0x00002590 fetch  0x00000006 , 0x00000040 
+ 00018465  0x00002591 istore  0x00000006 , 0x0000000a 
+ 00018466  0x00002592 force  0x00000006 , 0x00000039 
+ 00018467  0x00002593 force  0x00000031 , 0x00000007 
+ 00018468  0x00002594 branch  0x00004952 
+ 00018469  0x00002598 force  0x00000000 , 0x00000002 
+ 00018470  0x0000259a set0  0x00000025 , 0x00000000 
+ 00018471  0x0000259b bpatch  0x000000e9 , 0x0000401d 
+ 00018472  0x0000259c fetch  0x00000001 , 0x00004132 
+ 00018473  0x0000259d rtnne  0x00000001 
+ 00018474  0x0000259e force  0x00000003 , 0x00000007 
+ 00018475  0x0000259f jam  0x00000005 , 0x00004800 
+ 00018476  0x000025a0 call  0x00004970 
+ 00018477  0x000025a1 istoret  0x00000001 , 0x0000000a 
+ 00018478  0x000025a2 call  0x0000496b 
+ 00018479  0x000025a3 call  0x00004965 
+ 00018480  0x000025a4 force  0x00000001 , 0x0000003f 
+ 00018481  0x000025a5 istore  0x00000001 , 0x0000000a 
+ 00018482  0x000025a6 force  0x00000000 , 0x0000003f 
+ 00018483  0x000025a7 fetcht  0x00000001 , 0x0000004c 
+ 00018484  0x000025a8 isolate1  0x00000002 , 0x00000002 
+ 00018485  0x000025a9 setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00018486  0x000025aa istore  0x00000001 , 0x0000000a 
+ 00018487  0x000025ab force  0x0000000b , 0x00000039 
+ 00018488  0x000025ac branch  0x00004952 
+ 00018489  0x000025b0 set0  0x00000025 , 0x00000000 
+ 00018490  0x000025b1 bpatch  0x000000ea , 0x0000401d 
+ 00018491  0x000025b2 fetch  0x00000001 , 0x00004132 
+ 00018492  0x000025b3 rtnne  0x00000001 
+ 00018493  0x000025b4 force  0x00000004 , 0x00000007 
+ 00018494  0x000025b5 call  0x00004970 
+ 00018495  0x000025b6 call  0x00004965 
+ 00018496  0x000025b8 fetch  0x00000003 , 0x0000017f 
+ 00018497  0x000025b9 istore  0x00000003 , 0x0000000a 
+ 00018498  0x000025ba istoret  0x00000001 , 0x0000000a 
+ 00018499  0x000025bb force  0x0000000a , 0x00000039 
+ 00018500  0x000025bc branch  0x00004952 
+ 00018501  0x000025bf set0  0x00000025 , 0x00000000 
+ 00018502  0x000025c0 bpatch  0x000000eb , 0x0000401d 
+ 00018503  0x000025c1 fetch  0x00000001 , 0x00004132 
+ 00018504  0x000025c2 rtnne  0x00000001 
+ 00018505  0x000025c3 call  0x00004968 
+ 00018506  0x000025c4 force  0x00000000 , 0x0000003f 
+ 00018507  0x000025c5 fetcht  0x00000001 , 0x0000004c 
+ 00018508  0x000025c6 isolate1  0x00000002 , 0x00000002 
+ 00018509  0x000025c7 setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00018510  0x000025c8 istore  0x00000001 , 0x0000000a 
+ 00018511  0x000025c9 force  0x00000008 , 0x00000007 
+ 00018512  0x000025ca force  0x00000004 , 0x00000039 
+ 00018513  0x000025cb branch  0x00004952 
+ 00018514  0x000025cf set0  0x00000025 , 0x00000000 
+ 00018515  0x000025d0 bpatch  0x000000ec , 0x0000401d 
+ 00018516  0x000025d1 fetch  0x00000001 , 0x00004132 
+ 00018517  0x000025d2 rtnne  0x00000001 
+ 00018518  0x000025d3 force  0x00000018 , 0x00000007 
+ 00018519  0x000025d4 call  0x00004970 
+ 00018520  0x000025d5 call  0x00004965 
+ 00018521  0x000025d6 arg  0x00004262 , 0x00000006 
+ 00018522  0x000025d7 force  0x00000010 , 0x00000039 
+ 00018523  0x000025d8 call  0x00004976 
+ 00018524  0x000025d9 force  0x00000005 , 0x0000003f 
+ 00018525  0x000025da istore  0x00000001 , 0x0000000a 
+ 00018526  0x000025db force  0x00000017 , 0x00000039 
+ 00018527  0x000025dc branch  0x00004952 
+ 00018528  0x000025df fetch  0x00000001 , 0x00004132 
+ 00018529  0x000025e0 rtnne  0x00000001 
+ 00018530  0x000025e1 force  0x00000033 , 0x00000007 
+ 00018531  0x000025e2 call  0x00004970 
+ 00018532  0x000025e3 call  0x00004965 
+ 00018533  0x000025e4 fetch  0x00000004 , 0x000007ec 
+ 00018534  0x000025e5 istore  0x00000004 , 0x0000000a 
+ 00018535  0x000025e6 force  0x0000000a , 0x00000039 
+ 00018536  0x000025e7 branch  0x00004952 
+ 00018537  0x000025ea fetch  0x00000001 , 0x00004132 
+ 00018538  0x000025eb rtnne  0x00000001 
+ 00018539  0x000025ec force  0x00000036 , 0x00000007 
+ 00018540  0x000025ed call  0x00004970 
+ 00018541  0x000025ee setarg  0x00000000 
+ 00018542  0x000025ef istore  0x00000001 , 0x0000000a 
+ 00018543  0x000025f0 call  0x00004965 
+ 00018544  0x000025f1 force  0x00000007 , 0x00000039 
+ 00018545  0x000025f2 branch  0x00004952 
+ 00018546  0x000025f6 set0  0x00000025 , 0x00000000 
+ 00018547  0x000025f7 bpatch  0x000000ed , 0x0000401d 
+ 00018548  0x000025f8 force  0x00000017 , 0x00000007 
+ 00018549  0x000025fa fetch  0x00000001 , 0x00004132 
+ 00018550  0x000025fb rtnne  0x00000001 
+ 00018551  0x000025fc call  0x00004970 
+ 00018552  0x000025fd call  0x00004965 
+ 00018553  0x000025fe force  0x00000006 , 0x00000039 
+ 00018554  0x000025ff branch  0x00004952 
+ 00018555  0x00002602 fetch  0x00000001 , 0x00004132 
+ 00018556  0x00002603 rtnne  0x00000001 
+ 00018557  0x00002604 force  0x00000016 , 0x00000007 
+ 00018558  0x00002605 branch  0x00004875 
+ 00018559  0x00002609 fetch  0x00000001 , 0x00004132 
+ 00018560  0x0000260a rtnne  0x00000001 
+ 00018561  0x0000260b force  0x00000012 , 0x00000007 
+ 00018562  0x0000260c call  0x00004970 
+ 00018563  0x0000260d force  0x00000000 , 0x0000003f 
+ 00018564  0x0000260e istore  0x00000001 , 0x0000000a 
+ 00018565  0x0000260f call  0x00004965 
+ 00018566  0x00002610 istoret  0x00000001 , 0x0000000a 
+ 00018567  0x00002611 force  0x00000008 , 0x00000039 
+ 00018568  0x00002612 branch  0x00004952 
+ 00018569  0x00002615 fetch  0x00000001 , 0x00004132 
+ 00018570  0x00002616 rtnne  0x00000001 
+ 00018571  0x00002617 force  0x00000000 , 0x00000002 
+ 00018572  0x00002618 nbranch  0x0000488e , 0x00000029 
+ 00018573  0x00002619 force  0x00000001 , 0x00000002 
+ 00018574  0x0000261b fetch  0x00000001 , 0x00004132 
+ 00018575  0x0000261c rtnne  0x00000001 
+ 00018576  0x0000261d force  0x00000012 , 0x00000007 
+ 00018577  0x0000261e call  0x00004970 
+ 00018578  0x0000261f force  0x00000035 , 0x0000003f 
+ 00018579  0x00002620 istore  0x00000001 , 0x0000000a 
+ 00018580  0x00002621 call  0x00004965 
+ 00018581  0x00002622 istoret  0x00000001 , 0x0000000a 
+ 00018582  0x00002623 force  0x00000008 , 0x00000039 
+ 00018583  0x00002624 branch  0x00004952 
+ 00018584  0x00002627 set0  0x00000025 , 0x00000000 
+ 00018585  0x00002628 bpatch  0x000000ee , 0x0000401d 
+ 00018586  0x00002629 fetch  0x00000001 , 0x00004132 
+ 00018587  0x0000262a rtnne  0x00000001 
+ 00018588  0x0000262b call  0x00004972 
+ 00018589  0x0000262c setarg  0x0000ff07 
+ 00018590  0x0000262d istore  0x00000002 , 0x0000000a 
+ 00018591  0x0000262e deposit  0x00000007 
+ 00018592  0x0000262f istore  0x00000001 , 0x0000000a 
+ 00018593  0x00002630 call  0x00004965 
+ 00018594  0x00002631 arg  0x00000103 , 0x00000006 
+ 00018595  0x00002632 force  0x000000f8 , 0x00000039 
+ 00018596  0x00002634 ifetch  0x00000001 , 0x00000006 
+ 00018597  0x00002635 istore  0x00000001 , 0x0000000a 
+ 00018598  0x00002636 loop  0x000048a4 
+ 00018599  0x00002637 force  0x000000ff , 0x00000039 
+ 00018600  0x00002638 branch  0x00004959 
+ 00018601  0x0000263b set0  0x00000025 , 0x00000000 
+ 00018602  0x0000263c bpatch  0x000000ef , 0x0000401d 
+ 00018603  0x0000263d fetch  0x00000001 , 0x00004132 
+ 00018604  0x0000263e rtnne  0x00000001 
+ 00018605  0x0000263f hfetch  0x00000001 , 0x0000810e 
+ 00018606  0x00002640 nrtn  0x00000034 
+ 00018607  0x00002641 fetch  0x00000001 , 0x0000004b 
+ 00018608  0x00002642 rtnbit0  0x00000007 
+ 00018609  0x00002643 set0  0x00000007 , 0x0000003f 
+ 00018610  0x00002644 store  0x00000001 , 0x0000004b 
+ 00018611  0x00002645 call  0x00004970 
+ 00018612  0x00002646 force  0x00000001 , 0x0000003f 
+ 00018613  0x00002647 istore  0x00000001 , 0x0000000a 
+ 00018614  0x00002648 call  0x0000496b 
+ 00018615  0x00002649 force  0x00000001 , 0x0000003f 
+ 00018616  0x0000264a istore  0x00000002 , 0x0000000a 
+ 00018617  0x0000264b force  0x00000013 , 0x00000007 
+ 00018618  0x0000264c force  0x00000005 , 0x00000039 
+ 00018619  0x0000264d branch  0x00004952 
+ 00018620  0x00002652 set0  0x00000025 , 0x00000000 
+ 00018621  0x00002653 bpatch  0x000000f0 , 0x0000401e 
+ 00018622  0x00002654 fetch  0x00000001 , 0x00004132 
+ 00018623  0x00002655 rtnne  0x00000001 
+ 00018624  0x00002656 call  0x00004968 
+ 00018625  0x00002657 force  0x00000006 , 0x00000007 
+ 00018626  0x00002658 force  0x00000003 , 0x00000039 
+ 00018627  0x00002659 branch  0x00004952 
+ 00018628  0x0000265e set0  0x00000025 , 0x00000000 
+ 00018629  0x0000265f bpatch  0x000000f1 , 0x0000401e 
+ 00018630  0x00002660 fetch  0x00000001 , 0x00004132 
+ 00018631  0x00002661 rtnne  0x00000001 
+ 00018632  0x00002662 call  0x00004970 
+ 00018633  0x00002663 force  0x00000000 , 0x0000003f 
+ 00018634  0x00002664 istore  0x00000001 , 0x0000000a 
+ 00018635  0x00002665 istoret  0x00000002 , 0x0000000a 
+ 00018636  0x00002666 fetch  0x00000001 , 0x000002c0 
+ 00018637  0x00002667 istore  0x00000001 , 0x0000000a 
+ 00018638  0x00002668 force  0x00000005 , 0x00000007 
+ 00018639  0x00002669 force  0x00000004 , 0x00000039 
+ 00018640  0x0000266a branch  0x00004952 
+ 00018641  0x0000266e set0  0x00000025 , 0x00000000 
+ 00018642  0x0000266f bpatch  0x000000f2 , 0x0000401e 
+ 00018643  0x00002670 fetch  0x00000001 , 0x00004132 
+ 00018644  0x00002671 rtnne  0x00000001 , 0x0000003f 
+ 00018645  0x00002672 call  0x00004970 
+ 00018646  0x00002673 setarg  0x00000102 
+ 00018647  0x00002674 istore  0x00000002 , 0x0000000a 
+ 00018648  0x00002675 fetcht  0x00000001 , 0x00000340 
+ 00018649  0x00002676 and  0x00000002 , 0x0000000f , 0x0000003f 
+ 00018650  0x00002677 istore  0x00000001 , 0x0000000a 
+ 00018651  0x00002678 copy  0x00000011 , 0x0000003f 
+ 00018652  0x00002679 istore  0x00000001 , 0x0000000a 
+ 00018653  0x0000267a fetcht  0x00000001 , 0x00000341 
+ 00018654  0x0000267b increase  0xfffffffa , 0x00000002 
+ 00018655  0x0000267c fetch  0x00000006 , 0x00000342 
+ 00018656  0x0000267d istore  0x00000006 , 0x0000000a 
+ 00018657  0x0000267e istoret  0x00000001 , 0x0000000a 
+ 00018658  0x0000267f copy  0x00000002 , 0x00000039 
+ 00018659  0x00002680 call  0x00004976 
+ 00018660  0x00002681 setarg  0x0000007f 
+ 00018661  0x00002682 istore  0x00000001 , 0x0000000a 
+ 00018662  0x00002683 copy  0x00000002 , 0x00000039 
+ 00018663  0x00002684 add  0x00000039 , 0x0000000c , 0x00000039 
+ 00018664  0x00002685 force  0x0000003e , 0x00000007 
+ 00018665  0x00002686 branch  0x00004952 
+ 00018666  0x00002689 set0  0x00000025 , 0x00000000 
+ 00018667  0x0000268a bpatch  0x000000f3 , 0x0000401e 
+ 00018668  0x0000268b fetch  0x00000001 , 0x00004132 
+ 00018669  0x0000268c rtnne  0x00000001 , 0x0000003f 
+ 00018670  0x0000268d call  0x00004970 
+ 00018671  0x0000268e setarg  0x00000001 
+ 00018672  0x0000268f istore  0x00000001 , 0x0000000a 
+ 00018673  0x00002690 istoret  0x00000001 , 0x0000000a 
+ 00018674  0x00002691 fetch  0x00000001 , 0x000003d6 
+ 00018675  0x00002692 istore  0x00000002 , 0x0000000a 
+ 00018676  0x00002693 fetch  0x00000001 , 0x000003c1 
+ 00018677  0x00002694 rshift  0x0000003f , 0x0000003f 
+ 00018678  0x00002695 setflip  0x00000000 , 0x0000003f 
+ 00018679  0x00002696 istore  0x00000001 , 0x0000000a 
+ 00018680  0x00002697 fetch  0x00000001 , 0x000044e6 
+ 00018681  0x00002698 istore  0x00000001 , 0x0000000a 
+ 00018682  0x00002699 fetch  0x00000006 , 0x000003d0 
+ 00018683  0x0000269a istore  0x00000006 , 0x0000000a 
+ 00018684  0x0000269b fetch  0x00000002 , 0x000043d0 
+ 00018685  0x0000269c istore  0x00000002 , 0x0000000a 
+ 00018686  0x0000269d fetch  0x00000002 , 0x000003ed 
+ 00018687  0x0000269e istore  0x00000002 , 0x0000000a 
+ 00018688  0x0000269f fetch  0x00000002 , 0x000003ef 
+ 00018689  0x000026a0 istore  0x00000002 , 0x0000000a 
+ 00018690  0x000026a1 fetch  0x00000001 , 0x000003f8 
+ 00018691  0x000026a2 istore  0x00000001 , 0x0000000a 
+ 00018692  0x000026a3 force  0x0000003e , 0x00000007 
+ 00018693  0x000026a4 arg  0x00000013 , 0x00000039 
+ 00018694  0x000026a5 branch  0x00004952 
+ 00018695  0x000026aa set0  0x00000025 , 0x00000000 
+ 00018696  0x000026ab bpatch  0x000000f4 , 0x0000401e 
+ 00018697  0x000026ac fetch  0x00000001 , 0x00004132 
+ 00018698  0x000026ad rtnne  0x00000001 
+ 00018699  0x000026af call  0x00004970 
+ 00018700  0x000026b0 call  0x00004968 
+ 00018701  0x000026b1 istoret  0x00000001 , 0x0000000a 
+ 00018702  0x000026b2 fetch  0x00000002 , 0x00000032 
+ 00018703  0x000026b3 rshift  0x0000003f , 0x0000003f 
+ 00018704  0x000026b4 istore  0x00000002 , 0x0000000a 
+ 00018705  0x000026b5 force  0x00000006 , 0x00000039 
+ 00018706  0x000026b6 force  0x00000014 , 0x00000007 
+ 00018707  0x000026b7 branch  0x00004952 
+ 00018708  0x000026bb set0  0x00000025 , 0x00000000 
+ 00018709  0x000026bc bpatch  0x000000f5 , 0x0000401e 
+ 00018710  0x000026bd fetch  0x00000001 , 0x00004132 
+ 00018711  0x000026be rtnne  0x00000001 
+ 00018712  0x000026bf set0  0x00000025 , 0x00000000 
+ 00018713  0x000026c0 bpatch  0x000000f6 , 0x0000401e 
+ 00018714  0x000026c1 call  0x00004970 
+ 00018715  0x000026c2 istoret  0x00000001 , 0x0000000a 
+ 00018716  0x000026c3 setarg  0x00000e00 
+ 00018717  0x000026c4 istore  0x00000002 , 0x0000000a 
+ 00018718  0x000026c5 call  0x00004965 
+ 00018719  0x000026c6 force  0x00000000 , 0x0000003f 
+ 00018720  0x000026c7 bmark1  0x00000007 , 0x00004924 
+ 00018721  0x000026c8 force  0x00000000 , 0x0000003f 
+ 00018722  0x000026c9 istore  0x00000007 , 0x0000000a 
+ 00018723  0x000026ca branch  0x0000492c 
+ 00018724  0x000026cc fetch  0x00000001 , 0x00004132 
+ 00018725  0x000026cd rtnne  0x00000001 
+ 00018726  0x000026ce setarg  0x00020602 
+ 00018727  0x000026cf istore  0x00000003 , 0x0000000a 
+ 00018728  0x000026d0 setarg  0x0000001e 
+ 00018729  0x000026d1 istore  0x00000002 , 0x0000000a 
+ 00018730  0x000026d2 setarg  0x0000001e 
+ 00018731  0x000026d3 istore  0x00000002 , 0x0000000a 
+ 00018732  0x000026d5 fetch  0x00000001 , 0x00004132 
+ 00018733  0x000026d6 rtnne  0x00000001 
+ 00018734  0x000026d7 fetch  0x00000001 , 0x000000ab 
+ 00018735  0x000026d8 istore  0x00000001 , 0x0000000a 
+ 00018736  0x000026d9 force  0x0000002c , 0x00000007 
+ 00018737  0x000026da force  0x00000011 , 0x00000039 
+ 00018738  0x000026db branch  0x00004952 
+ 00018739  0x000026df set0  0x00000025 , 0x00000000 
+ 00018740  0x000026e0 bpatch  0x000000f7 , 0x0000401e 
+ 00018741  0x000026e1 call  0x00004970 
+ 00018742  0x000026e2 setarg  0x00000100 
+ 00018743  0x000026e3 istore  0x00000002 , 0x0000000a 
+ 00018744  0x000026e4 deposit  0x00000030 
+ 00018745  0x000026e5 istore  0x00000002 , 0x0000000a 
+ 00018746  0x000026e6 force  0x00000004 , 0x00000039 
+ 00018747  0x000026e7 force  0x0000000f , 0x00000007 
+ 00018748  0x000026e8 branch  0x00004952 
+ 00018749  0x000026eb set0  0x00000025 , 0x00000000 
+ 00018750  0x000026ec bpatch  0x000000f8 , 0x0000401f 
+ 00018751  0x000026ed call  0x00004970 
+ 00018752  0x000026ee deposit  0x00000011 
+ 00018753  0x000026ef istore  0x00000001 , 0x0000000a 
+ 00018754  0x000026f0 setarg  0x00000001 
+ 00018755  0x000026f1 istore  0x00000001 , 0x0000000a 
+ 00018756  0x000026f2 deposit  0x00000030 
+ 00018757  0x000026f3 istore  0x00000002 , 0x0000000a 
+ 00018758  0x000026f4 force  0x00000004 , 0x00000039 
+ 00018759  0x000026f5 force  0x0000000f , 0x00000007 
+ 00018760  0x000026f6 branch  0x00004952 
+ 00018761  0x000026f9 set0  0x00000025 , 0x00000000 
+ 00018762  0x000026fa bpatch  0x000000f9 , 0x0000401f 
+ 00018763  0x000026fb force  0x00000004 , 0x00000039 
+ 00018764  0x000026fd call  0x00004970 
+ 00018765  0x000026fe force  0x00000001 , 0x0000003f 
+ 00018766  0x000026ff istore  0x00000001 , 0x0000000a 
+ 00018767  0x00002700 deposit  0x00000030 
+ 00018768  0x00002701 istore  0x00000003 , 0x0000000a 
+ 00018769  0x00002702 force  0x0000000e , 0x00000007 
+ 00018770  0x00002704 set0  0x00000025 , 0x00000000 
+ 00018771  0x00002705 bpatch  0x000000fa , 0x0000401f 
+ 00018772  0x00002706 call  0x00004972 
+ 00018773  0x00002707 deposit  0x00000007 
+ 00018774  0x00002708 istore  0x00000001 , 0x0000000a 
+ 00018775  0x00002709 deposit  0x00000039 
+ 00018776  0x0000270a istore  0x00000001 , 0x0000000a 
+ 00018777  0x0000270c set1  0x00000013 , 0x00000000 
+ 00018778  0x0000270d force  0x00000005 , 0x00000007 
+ 00018779  0x0000270e increase  0x00000002 , 0x00000039 
+ 00018780  0x00002710 call  0x00004494 
+ 00018781  0x00002711 branch  0x00004378 , 0x00000001 
+ 00018782  0x00002712 branch  0x00004422 
+ 00018783  0x00002715 force  0x000000ff , 0x00000007 
+ 00018784  0x00002716 call  0x00004970 
+ 00018785  0x00002717 setarg  0x00000001 
+ 00018786  0x00002718 istore  0x00000001 , 0x0000000a 
+ 00018787  0x00002719 force  0x00000001 , 0x00000039 
+ 00018788  0x0000271a branch  0x00004952 
+ 00018789  0x0000271e fetch  0x00000006 , 0x00000040 
+ 00018790  0x0000271f istore  0x00000006 , 0x0000000a 
+ 00018791  0x00002720 rtn 
+ 00018792  0x00002723 call  0x00004970 
+ 00018793  0x00002724 force  0x00000000 , 0x0000003f 
+ 00018794  0x00002725 istore  0x00000001 , 0x0000000a 
+ 00018795  0x00002727 fetch  0x00000001 , 0x00000046 
+ 00018796  0x00002728 istore  0x00000002 , 0x0000000a 
+ 00018797  0x00002729 rtn 
+ 00018798  0x0000272c force  0x0000000c , 0x0000000a 
+ 00018799  0x0000272d branch  0x00004973 
+ 00018800  0x00002730 force  0x00000008 , 0x0000000a 
+ 00018801  0x00002731 branch  0x00004973 
+ 00018802  0x00002734 force  0x00000006 , 0x0000000a 
+ 00018803  0x00002736 call  0x00004494 
+ 00018804  0x00002737 branch  0x000043de , 0x00000001 
+ 00018805  0x00002738 branch  0x0000441e 
+ 00018806  0x0000273b deposit  0x00000039 
+ 00018807  0x0000273c rtn  0x00000034 
+ 00018808  0x0000273e ifetch  0x00000001 , 0x00000006 
+ 00018809  0x0000273f istore  0x00000001 , 0x0000000a 
+ 00018810  0x00002740 loop  0x00004978 
+ 00018811  0x00002741 rtn 
+ 00018812  0x00002744 deposit  0x00000039 
+ 00018813  0x00002745 rtn  0x00000034 
+ 00018814  0x00002747 ifetch  0x00000001 , 0x00000003 
+ 00018815  0x00002748 istore  0x00000001 , 0x00000005 
+ 00018816  0x00002749 loop  0x0000497e 
+ 00018817  0x0000274a rtn 
+ 00018818  0x0000274d istore  0x00000001 , 0x0000000a 
+ 00018819  0x0000274e rshift8  0x0000003f , 0x0000003f 
+ 00018820  0x0000274f loop  0x00004982 
+ 00018821  0x00002750 rtn 
+ 00018822  0x00002754 pulse  0x0000000f 
+ 00018823  0x00002755 enable  0x00000009 
+ 00018824  0x00002757 ifetch  0x00000001 , 0x0000000a 
+ 00018825  0x00002758 inject  0x00000000 , 0x00000008 
+ 00018826  0x00002759 loop  0x00004988 
+ 00018827  0x0000275a enable  0x00000008 
+ 00018828  0x0000275b inject  0x00000000 , 0x00000010 
+ 00018829  0x0000275c disable  0x00000008 
+ 00018830  0x0000275d disable  0x00000009 
+ 00018831  0x0000275e disable  0x0000000f 
+ 00018832  0x0000275f byteswap  0x0000003f , 0x0000003f 
+ 00018833  0x00002760 rtn 
+ 00018834  0x00002763 nop  0x00000001 
+ 00018835  0x00002764 hjam  0x00000001 , 0x00008203 
+ 00018836  0x00002765 branch  0x00004992 
+ 00018837  0x0000276a set0  0x00000025 , 0x00000000 
+ 00018838  0x0000276b bpatch  0x000000fb , 0x0000401f 
+ 00018839  0x0000276c fetch  0x00000001 , 0x00004272 
+ 00018840  0x0000276d rtn  0x00000034 
+ 00018841  0x0000276e fetch  0x00000001 , 0x0000007c 
+ 00018842  0x0000276f nrtn  0x00000034 
+ 00018843  0x00002770 call  0x000049be 
+ 00018844  0x00002771 nbranch  0x000049aa , 0x00000005 
+ 00018845  0x00002772 fetch  0x00000001 , 0x00004272 
+ 00018846  0x00002773 beq  0x00000003 , 0x000049d4 
+ 00018847  0x00002774 beq  0x00000009 , 0x000049da 
+ 00018848  0x00002775 beq  0x0000000a , 0x000049e6 
+ 00018849  0x00002776 beq  0x0000000b , 0x000049ed 
+ 00018850  0x00002777 beq  0x0000000c , 0x000049f7 
+ 00018851  0x00002778 beq  0x00000008 , 0x00004a32 
+ 00018852  0x00002779 beq  0x00000018 , 0x000049cc 
+ 00018853  0x0000277a beq  0x00000007 , 0x000049c6 
+ 00018854  0x0000277b beq  0x00000019 , 0x000049ca 
+ 00018855  0x0000277c beq  0x0000001a , 0x00004a53 
+ 00018856  0x0000277d beq  0x00000012 , 0x00004a19 
+ 00018857  0x0000277e beq  0x00000013 , 0x00004a28 
+ 00018858  0x00002780 set0  0x00000025 , 0x00000000 
+ 00018859  0x00002781 bpatch  0x000000fc , 0x0000401f 
+ 00018860  0x00002782 call  0x000049c2 
+ 00018861  0x00002783 nrtn  0x00000034 
+ 00018862  0x00002784 fetch  0x00000001 , 0x00004272 
+ 00018863  0x00002785 beq  0x0000000d , 0x00004a01 
+ 00018864  0x00002786 beq  0x0000000f , 0x00004a0b 
+ 00018865  0x00002787 beq  0x0000000e , 0x00004a0d 
+ 00018866  0x00002788 beq  0x00000010 , 0x00004a2a 
+ 00018867  0x00002789 beq  0x00000011 , 0x00004a34 
+ 00018868  0x0000278a beq  0x0000001c , 0x00004a38 
+ 00018869  0x0000278b beq  0x00000004 , 0x00004a0f 
+ 00018870  0x0000278c beq  0x00000015 , 0x00004a14 
+ 00018871  0x0000278d beq  0x00000014 , 0x00004a17 
+ 00018872  0x0000278e beq  0x00000017 , 0x00004a48 
+ 00018873  0x0000278f beq  0x00000016 , 0x00004a51 
+ 00018874  0x00002790 rtnne  0x00000006 
+ 00018875  0x00002791 call  0x00005ed5 
+ 00018876  0x00002793 jam  0x00000000 , 0x00004272 
+ 00018877  0x00002794 rtn 
+ 00018878  0x00002797 fetch  0x00000006 , 0x00004274 
+ 00018879  0x00002798 fetcht  0x00000006 , 0x00000040 
+ 00018880  0x00002799 isub  0x00000002 , 0x0000003e 
+ 00018881  0x0000279a rtn 
+ 00018882  0x0000279e fetch  0x00000001 , 0x00004273 
+ 00018883  0x0000279f fetcht  0x00000001 , 0x00000046 
+ 00018884  0x000027a0 isub  0x00000002 , 0x0000003f 
+ 00018885  0x000027a1 rtn 
+ 00018886  0x000027a4 jam  0x00000003 , 0x0000007c 
+ 00018887  0x000027a5 jam  0x00000033 , 0x0000007d 
+ 00018888  0x000027a6 call  0x00006212 
+ 00018889  0x000027a7 branch  0x000049bc 
+ 00018890  0x000027aa branch  0x00004a38 , 0x00000029 
+ 00018891  0x000027ab set1  0x00000004 , 0x00000000 
+ 00018892  0x000027ad jam  0x00000034 , 0x0000007c 
+ 00018893  0x000027ae set1  0x00000003 , 0x00000000 
+ 00018894  0x000027af nbranch  0x000049bc , 0x00000029 
+ 00018895  0x000027b0 jam  0x00000013 , 0x0000007c 
+ 00018896  0x000027b1 fetch  0x00000001 , 0x00000177 
+ 00018897  0x000027b2 set0  0x00000002 , 0x0000003f 
+ 00018898  0x000027b3 store  0x00000001 , 0x00000177 
+ 00018899  0x000027b4 branch  0x000049bc 
+ 00018900  0x000027b8 jam  0x00000001 , 0x0000007c 
+ 00018901  0x000027b9 jam  0x00000000 , 0x00000053 
+ 00018902  0x000027ba branch  0x000049bc 
+ 00018903  0x000027be jam  0x00000001 , 0x000007dd 
+ 00018904  0x000027bf jam  0x00000012 , 0x000007db 
+ 00018905  0x000027c0 branch  0x000049bc 
+ 00018906  0x000027c3 fetch  0x00000001 , 0x0000004b 
+ 00018907  0x000027c4 bbit1  0x00000002 , 0x000049df 
+ 00018908  0x000027c5 call  0x00006209 
+ 00018909  0x000027c6 jam  0x00000008 , 0x0000007c 
+ 00018910  0x000027c7 branch  0x000049bc 
+ 00018911  0x000027c9 set0  0x00000002 , 0x0000003f 
+ 00018912  0x000027ca store  0x00000001 , 0x0000004b 
+ 00018913  0x000027cb call  0x00005ed0 
+ 00018914  0x000027cc setarg  0x00000000 
+ 00018915  0x000027cd setflag  0x00000029 , 0x00000001 , 0x0000003f 
+ 00018916  0x000027ce store  0x00000001 , 0x0000007f 
+ 00018917  0x000027cf branch  0x000049bc 
+ 00018918  0x000027d2 jam  0x00000018 , 0x00000446 
+ 00018919  0x000027d3 jam  0x00000007 , 0x0000007c 
+ 00018920  0x000027d4 fetch  0x00000001 , 0x00000030 
+ 00018921  0x000027d5 bbit1  0x00000000 , 0x000049bc 
+ 00018922  0x000027d6 force  0x00000018 , 0x00000002 
+ 00018923  0x000027d7 call  0x00004826 
+ 00018924  0x000027d8 branch  0x000049bc 
+ 00018925  0x000027dc call  0x0000321f 
+ 00018926  0x000027dd fetch  0x00000001 , 0x0000004b 
+ 00018927  0x000027de bbit1  0x00000001 , 0x00004a08 
+ 00018928  0x000027df bbit1  0x00000000 , 0x000049f3 
+ 00018929  0x000027e0 bbit1  0x00000002 , 0x000049df 
+ 00018930  0x000027e1 branch  0x000049bc 
+ 00018931  0x000027e3 set0  0x00000000 , 0x0000003f 
+ 00018932  0x000027e4 store  0x00000001 , 0x0000004b 
+ 00018933  0x000027e5 jam  0x0000000c , 0x0000007c 
+ 00018934  0x000027e6 branch  0x000049bc 
+ 00018935  0x000027e9 fetch  0x00000001 , 0x0000004b 
+ 00018936  0x000027ea bbit1  0x00000000 , 0x000049fb 
+ 00018937  0x000027eb call  0x0000487b 
+ 00018938  0x000027ec branch  0x000049bc 
+ 00018939  0x000027ee set0  0x00000000 , 0x0000003f 
+ 00018940  0x000027ef store  0x00000001 , 0x0000004b 
+ 00018941  0x000027f0 jam  0x00000004 , 0x0000007c 
+ 00018942  0x000027f1 jam  0x0000000b , 0x0000007d 
+ 00018943  0x000027f2 jam  0x00000006 , 0x0000007e 
+ 00018944  0x000027f3 branch  0x000049bc 
+ 00018945  0x000027f7 fetch  0x00000001 , 0x0000004b 
+ 00018946  0x000027f8 set1  0x00000001 , 0x0000003f 
+ 00018947  0x000027f9 store  0x00000001 , 0x0000004b 
+ 00018948  0x000027fa fetch  0x00000001 , 0x00000030 
+ 00018949  0x000027fb bbit1  0x00000007 , 0x00004a08 
+ 00018950  0x000027fc call  0x00004872 
+ 00018951  0x000027fd branch  0x000049bc 
+ 00018952  0x00002801 call  0x00006209 
+ 00018953  0x00002802 jam  0x0000000b , 0x0000007c 
+ 00018954  0x00002803 branch  0x000049bc 
+ 00018955  0x00002806 jam  0x0000000f , 0x0000007c 
+ 00018956  0x00002807 branch  0x000049bc 
+ 00018957  0x0000280a jam  0x0000000f , 0x0000007c 
+ 00018958  0x0000280b branch  0x000049bc 
+ 00018959  0x0000280e set0  0x00000025 , 0x00000000 
+ 00018960  0x0000280f bpatch  0x000000fd , 0x0000401f 
+ 00018961  0x00002810 jam  0x00000027 , 0x0000007c 
+ 00018962  0x00002811 jam  0x00000050 , 0x00004272 
+ 00018963  0x00002812 rtn 
+ 00018964  0x00002815 jam  0x00000083 , 0x0000007c 
+ 00018965  0x00002816 jam  0x00000051 , 0x00004272 
+ 00018966  0x00002817 rtn 
+ 00018967  0x0000281a jam  0x00000025 , 0x0000007c 
+ 00018968  0x0000281b branch  0x000049bc 
+ 00018969  0x0000281e jam  0x00000017 , 0x0000007c 
+ 00018970  0x0000281f arg  0x00000455 , 0x00000005 
+ 00018971  0x00002820 setarg  0x00000000 
+ 00018972  0x00002821 isolate1  0x0000001b , 0x00000028 
+ 00018973  0x00002822 setflag  0x00000001 , 0x00000001 , 0x0000003f 
+ 00018974  0x00002823 istore  0x00000001 , 0x00000005 
+ 00018975  0x00002824 setarg  0x00000000 
+ 00018976  0x00002825 istore  0x00000002 , 0x00000005 
+ 00018977  0x00002826 fetch  0x00000002 , 0x00004280 
+ 00018978  0x00002827 istore  0x00000002 , 0x00000005 
+ 00018979  0x00002828 fetch  0x00000001 , 0x00004282 
+ 00018980  0x00002829 istore  0x00000002 , 0x00000005 
+ 00018981  0x0000282a fetch  0x00000001 , 0x00004284 
+ 00018982  0x0000282b istore  0x00000002 , 0x00000005 
+ 00018983  0x0000282c branch  0x000049bc 
+ 00018984  0x0000282f jam  0x00000018 , 0x0000007c 
+ 00018985  0x00002830 branch  0x000049bc 
+ 00018986  0x00002833 call  0x00003512 
+ 00018987  0x00002834 store  0x00000001 , 0x000000ad 
+ 00018988  0x00002835 fetch  0x00000001 , 0x00000046 
+ 00018989  0x00002836 store  0x00000001 , 0x000000ac 
+ 00018990  0x00002837 jam  0x0000002b , 0x0000007c 
+ 00018991  0x00002838 set1  0x00000007 , 0x00000000 
+ 00018992  0x00002839 jam  0x0000008c , 0x0000007c 
+ 00018993  0x0000283a branch  0x000049bc 
+ 00018994  0x0000283d call  0x00005ed5 
+ 00018995  0x0000283e branch  0x000049bc 
+ 00018996  0x00002841 jam  0x0000002c , 0x0000007c 
+ 00018997  0x00002842 bmark0  0x00000007 , 0x000049bc 
+ 00018998  0x00002843 jam  0x0000008d , 0x0000007c 
+ 00018999  0x00002844 branch  0x000049bc 
+ 00019000  0x00002847 branch  0x00004a41 , 0x00000029 
+ 00019001  0x00002848 jam  0x00000003 , 0x0000007c 
+ 00019002  0x00002849 jam  0x0000002b , 0x0000007d 
+ 00019003  0x0000284a bmark0  0x00000007 , 0x000049bc 
+ 00019004  0x0000284b fetch  0x00000001 , 0x000000b0 
+ 00019005  0x0000284c bne  0x00000007 , 0x00005c04 
+ 00019006  0x0000284d jam  0x00000081 , 0x0000007c 
+ 00019007  0x0000284e jam  0x0000008c , 0x0000007d 
+ 00019008  0x0000284f branch  0x000049bc 
+ 00019009  0x00002851 call  0x00003512 
+ 00019010  0x00002852 store  0x00000001 , 0x000000ad 
+ 00019011  0x00002853 fetch  0x00000001 , 0x00000046 
+ 00019012  0x00002854 store  0x00000001 , 0x000000ac 
+ 00019013  0x00002855 jam  0x0000002b , 0x0000007c 
+ 00019014  0x00002856 bmark0  0x00000007 , 0x000049bc 
+ 00019015  0x00002857 branch  0x00005c04 
+ 00019016  0x0000285b call  0x0000496e 
+ 00019017  0x0000285c call  0x0000496b 
+ 00019018  0x0000285d force  0x00000000 , 0x0000003f 
+ 00019019  0x0000285e nsetflag  0x00000029 , 0x00000000 , 0x0000003f 
+ 00019020  0x0000285f istore  0x00000001 , 0x0000000a 
+ 00019021  0x00002860 force  0x00000007 , 0x00000039 
+ 00019022  0x00002861 arg  0x00000809 , 0x00000030 
+ 00019023  0x00002862 call  0x0000494c 
+ 00019024  0x00002863 branch  0x000049bc 
+ 00019025  0x00002866 jam  0x0000009a , 0x0000007c 
+ 00019026  0x00002867 branch  0x000049bc 
+ 00019027  0x0000286a jam  0x00000007 , 0x0000007c 
+ 00019028  0x0000286b jam  0x00000013 , 0x00000446 
+ 00019029  0x0000286c branch  0x000049bc 
+ 00019030  0x00002872 jam  0x00000000 , 0x000002bc 
+ 00019031  0x00002875 ifetch  0x00000001 , 0x00000003 
+ 00019032  0x00002876 store  0x00000001 , 0x000002bb 
+ 00019033  0x00002877 call  0x00004a6d 
+ 00019034  0x00002879 call  0x00007e00 
+ 00019035  0x0000287a fetch  0x00000001 , 0x000002bb 
+ 00019036  0x0000287b copy  0x0000003f , 0x00000002 
+ 00019037  0x0000287c fetch  0x00000001 , 0x0000029f 
+ 00019038  0x0000287d increase  0x00000001 , 0x0000003f 
+ 00019039  0x0000287e icompare  0x000000ff , 0x00000002 
+ 00019040  0x0000287f nbranch  0x00004a77 , 0x00000001 
+ 00019041  0x00002880 store  0x00000001 , 0x0000029f 
+ 00019042  0x00002881 call  0x00007e0e 
+ 00019043  0x00002883 ifetch  0x00000001 , 0x00000003 
+ 00019044  0x00002884 beq  0x00000001 , 0x00004ad8 
+ 00019045  0x00002885 beq  0x00000002 , 0x00004aae 
+ 00019046  0x00002886 beq  0x00000003 , 0x00004adf 
+ 00019047  0x00002887 beq  0x00000005 , 0x00004ac3 
+ 00019048  0x00002888 beq  0x00000006 , 0x00004a80 
+ 00019049  0x00002889 beq  0x00000007 , 0x00004a91 
+ 00019050  0x0000288a beq  0x00000008 , 0x00004aa8 
+ 00019051  0x0000288b beq  0x00000009 , 0x00004ae6 
+ 00019052  0x0000288c rtn 
+ 00019053  0x0000288e copy  0x0000003f , 0x00000002 
+ 00019054  0x0000288f call  0x00007e00 
+ 00019055  0x00002890 fetch  0x00000001 , 0x000002bc 
+ 00019056  0x00002891 iadd  0x00000002 , 0x0000003f 
+ 00019057  0x00002892 store  0x00000001 , 0x000002bc 
+ 00019058  0x00002893 branch  0x00007e0e 
+ 00019059  0x00002897 force  0x00000001 , 0x0000003f 
+ 00019060  0x00002898 call  0x000044b5 
+ 00019061  0x00002899 fetch  0x00000001 , 0x0000029f 
+ 00019062  0x0000289a branch  0x000044b5 
+ 00019063  0x0000289d call  0x00007e0e 
+ 00019064  0x0000289e branch  0x00004a7c 
+ 00019065  0x000028a0 fetch  0x00000001 , 0x0000029f 
+ 00019066  0x000028a1 increase  0xffffffff , 0x0000003f 
+ 00019067  0x000028a2 store  0x00000001 , 0x0000029f 
+ 00019068  0x000028a4 force  0x00000000 , 0x0000003f 
+ 00019069  0x000028a5 call  0x000044b5 
+ 00019070  0x000028a6 fetch  0x00000001 , 0x0000029f 
+ 00019071  0x000028a7 branch  0x000044b5 
+ 00019072  0x000028aa call  0x00004a6d 
+ 00019073  0x000028ab ifetch  0x00000001 , 0x00000003 
+ 00019074  0x000028ac store  0x00000001 , 0x000002bd 
+ 00019075  0x000028ad call  0x00004a6d 
+ 00019076  0x000028ae ifetch  0x00000001 , 0x00000003 
+ 00019077  0x000028af lshift8  0x0000003f , 0x00000005 
+ 00019078  0x000028b0 call  0x00004a6d 
+ 00019079  0x000028b1 fetch  0x00000001 , 0x000002bd 
+ 00019080  0x000028b2 iadd  0x00000005 , 0x00000005 
+ 00019081  0x000028b3 ifetch  0x00000001 , 0x00000003 
+ 00019082  0x000028b4 istore  0x00000001 , 0x00000005 
+ 00019083  0x000028b5 call  0x00004a6d 
+ 00019084  0x000028b6 ifetch  0x00000001 , 0x00000003 
+ 00019085  0x000028b7 call  0x00004a6d 
+ 00019086  0x000028b8 fetch  0x00000001 , 0x000002bc 
+ 00019087  0x000028b9 bne  0x000000ff , 0x00004a79 
+ 00019088  0x000028ba branch  0x00004a73 
+ 00019089  0x000028bd call  0x00004a6d 
+ 00019090  0x000028be ifetch  0x00000001 , 0x00000003 
+ 00019091  0x000028bf store  0x00000001 , 0x000002bd 
+ 00019092  0x000028c0 call  0x00004a6d 
+ 00019093  0x000028c1 ifetch  0x00000001 , 0x00000003 
+ 00019094  0x000028c2 store  0x00000001 , 0x000002be 
+ 00019095  0x000028c3 call  0x00004a6d 
+ 00019096  0x000028c4 ifetch  0x00000001 , 0x00000003 
+ 00019097  0x000028c5 call  0x00004a6d 
+ 00019098  0x000028c6 fetch  0x00000001 , 0x000002bc 
+ 00019099  0x000028c7 bne  0x000000ff , 0x00004a79 
+ 00019100  0x000028c9 fetch  0x00000001 , 0x000002be 
+ 00019101  0x000028ca lshift8  0x0000003f , 0x00000002 
+ 00019102  0x000028cb fetch  0x00000001 , 0x000002bd 
+ 00019103  0x000028cc iadd  0x00000002 , 0x00000003 
+ 00019104  0x000028cd ifetch  0x00000001 , 0x00000003 
+ 00019105  0x000028ce store  0x00000001 , 0x000002bd 
+ 00019106  0x000028d0 force  0x00000001 , 0x0000003f 
+ 00019107  0x000028d1 call  0x000044b5 
+ 00019108  0x000028d2 fetch  0x00000001 , 0x000002bd 
+ 00019109  0x000028d3 call  0x000044b5 
+ 00019110  0x000028d4 jam  0x000000ff , 0x0000029f 
+ 00019111  0x000028d5 rtn 
+ 00019112  0x000028d8 call  0x00004a6d 
+ 00019113  0x000028d9 ifetch  0x00000001 , 0x00000003 
+ 00019114  0x000028da call  0x00004a6d 
+ 00019115  0x000028db fetch  0x00000001 , 0x000002bc 
+ 00019116  0x000028dc bne  0x000000ff , 0x00004a79 
+ 00019117  0x000028dd branch  0x00004a73 
+ 00019118  0x000028e0 call  0x00004a6d 
+ 00019119  0x000028e1 ifetch  0x00000001 , 0x00000003 
+ 00019120  0x000028e2 hstore  0x00000001 , 0x00008024 
+ 00019121  0x000028e3 call  0x00004a6d 
+ 00019122  0x000028e4 ifetch  0x00000001 , 0x00000003 
+ 00019123  0x000028e5 set1  0x00000007 , 0x0000003f 
+ 00019124  0x000028e6 hstore  0x00000001 , 0x00008023 
+ 00019125  0x000028e7 set0  0x00000007 , 0x0000003f 
+ 00019126  0x000028e8 call  0x00004a6d 
+ 00019127  0x000028e9 ifetch  0x00000001 , 0x00000003 
+ 00019128  0x000028ea copy  0x0000003f , 0x00000039 
+ 00019129  0x000028eb call  0x00004a6d 
+ 00019130  0x000028ed ifetch  0x00000001 , 0x00000003 
+ 00019131  0x000028ee hstore  0x00000001 , 0x00008025 
+ 00019132  0x000028ef call  0x00004a6d 
+ 00019133  0x000028f0 loop  0x00004aba 
+ 00019134  0x000028f1 ifetch  0x00000001 , 0x00000003 
+ 00019135  0x000028f2 call  0x00004a6d 
+ 00019136  0x000028f3 fetch  0x00000001 , 0x000002bc 
+ 00019137  0x000028f4 bne  0x000000ff , 0x00004a79 
+ 00019138  0x000028f5 branch  0x00004a73 
+ 00019139  0x000028f8 call  0x00004a6d 
+ 00019140  0x000028f9 ifetch  0x00000001 , 0x00000003 
+ 00019141  0x000028fa store  0x00000001 , 0x000002bd 
+ 00019142  0x000028fb call  0x00004a6d 
+ 00019143  0x000028fc ifetch  0x00000001 , 0x00000003 
+ 00019144  0x000028fd lshift8  0x0000003f , 0x00000005 
+ 00019145  0x000028fe call  0x00004a6d 
+ 00019146  0x000028ff fetch  0x00000001 , 0x000002bd 
+ 00019147  0x00002900 iadd  0x00000005 , 0x00000005 
+ 00019148  0x00002901 ifetch  0x00000001 , 0x00000003 
+ 00019149  0x00002902 iforce  0x00000039 
+ 00019150  0x00002903 call  0x00004a6d 
+ 00019151  0x00002905 ifetch  0x00000001 , 0x00000003 
+ 00019152  0x00002906 istore  0x00000001 , 0x00000005 
+ 00019153  0x00002907 call  0x00004a6d 
+ 00019154  0x00002908 loop  0x00004acf 
+ 00019155  0x00002909 ifetch  0x00000001 , 0x00000003 
+ 00019156  0x0000290a call  0x00004a6d 
+ 00019157  0x0000290b fetch  0x00000001 , 0x000002bc 
+ 00019158  0x0000290c bne  0x000000ff , 0x00004a79 
+ 00019159  0x0000290d branch  0x00004a73 
+ 00019160  0x00002912 call  0x00004a6d 
+ 00019161  0x00002913 ifetch  0x00000001 , 0x00000003 
+ 00019162  0x00002914 call  0x00004a6d 
+ 00019163  0x00002915 fetch  0x00000001 , 0x000002bc 
+ 00019164  0x00002916 bne  0x000000ff , 0x00004a79 
+ 00019165  0x00002917 hjam  0x00000080 , 0x00008023 
+ 00019166  0x00002918 branch  0x00004a73 
+ 00019167  0x0000291b call  0x00004a6d 
+ 00019168  0x0000291c ifetch  0x00000001 , 0x00000003 
+ 00019169  0x0000291d call  0x00004a6d 
+ 00019170  0x0000291e fetch  0x00000001 , 0x000002bc 
+ 00019171  0x0000291f bne  0x000000ff , 0x00004a79 
+ 00019172  0x00002920 hjam  0x00000000 , 0x00008023 
+ 00019173  0x00002921 branch  0x00004a73 
+ 00019174  0x00002924 call  0x00004a6d 
+ 00019175  0x00002925 ifetch  0x00000001 , 0x00000003 
+ 00019176  0x00002926 call  0x00004a6d 
+ 00019177  0x00002927 fetch  0x00000001 , 0x000002bc 
+ 00019178  0x00002928 bne  0x000000ff , 0x00004a79 
+ 00019179  0x00002929 call  0x00004a73 
+ 00019180  0x0000292a branch  0x00003001 
+ 00019181  0x0000292e call  0x00006a8b 
+ 00019182  0x0000292f rtn  0x00000001 
+ 00019183  0x00002930 arg  0x00000007 , 0x00000002 
+ 00019184  0x00002931 call  0x000069e5 
+ 00019185  0x00002932 nbranch  0x00004af4 , 0x00000001 
+ 00019186  0x00002933 jam  0x00000001 , 0x000042ae 
+ 00019187  0x00002934 rtn 
+ 00019188  0x00002936 fetch  0x00000001 , 0x000042ae 
+ 00019189  0x00002937 rtnne  0x00000001 
+ 00019190  0x00002938 call  0x00004599 
+ 00019191  0x00002939 branch  0x0000495f 
+ 00019192  0x00002948 set1  0x00000025 , 0x00000000 
+ 00019193  0x00002949 bpatch  0x0000009c , 0x00004033 
+ 00019194  0x0000294a fetch  0x00000002 , 0x000002cb 
+ 00019195  0x0000294b copy  0x0000003f , 0x00000006 
+ 00019196  0x0000294c ifetch  0x00000001 , 0x00000006 
+ 00019197  0x0000294d and  0x0000003f , 0x0000000f , 0x00000002 
+ 00019198  0x0000294e rshift4  0x0000003f , 0x0000003f 
+ 00019199  0x0000294f beq  0x00000009 , 0x00004b18 
+ 00019200  0x00002950 beq  0x00000007 , 0x00004b18 
+ 00019201  0x00002951 beq  0x0000000a , 0x00004b24 
+ 00019202  0x00002952 beq  0x00000005 , 0x00004b11 
+ 00019203  0x00002953 beq  0x00000001 , 0x00004b05 
+ 00019204  0x00002954 rtn 
+ 00019205  0x00002957 copy  0x00000002 , 0x0000003f 
+ 00019206  0x00002958 beq  0x00000005 , 0x00004b09 
+ 00019207  0x00002959 beq  0x00000003 , 0x00004b10 
+ 00019208  0x0000295a rtn 
+ 00019209  0x0000295d jam  0x00000027 , 0x00000b7d 
+ 00019210  0x0000295e call  0x00007c27 
+ 00019211  0x0000295f fetch  0x00000001 , 0x00004132 
+ 00019212  0x00002960 rtnne  0x00000006 , 0x0000003f 
+ 00019213  0x00002961 copy  0x00000002 , 0x0000003f 
+ 00019214  0x00002962 beq  0x00000005 , 0x00006946 
+ 00019215  0x00002963 rtn 
+ 00019216  0x00002965 rtn 
+ 00019217  0x00002968 arg  0x00000001 , 0x00000011 
+ 00019218  0x00002969 call  0x00004b2c 
+ 00019219  0x0000296a fetch  0x00000002 , 0x000042b5 
+ 00019220  0x0000296b istore  0x00000002 , 0x00000005 
+ 00019221  0x0000296c setarg  0x00000000 
+ 00019222  0x0000296d istore  0x00000001 , 0x00000005 
+ 00019223  0x0000296e rtn 
+ 00019224  0x00002971 arg  0x00000001 , 0x00000011 
+ 00019225  0x00002972 call  0x00004b2c 
+ 00019226  0x00002973 fetch  0x00000002 , 0x000042b5 
+ 00019227  0x00002974 istore  0x00000002 , 0x00000005 
+ 00019228  0x00002975 setarg  0x00000000 
+ 00019229  0x00002976 istore  0x00000001 , 0x00000005 
+ 00019230  0x00002977 jam  0x00000001 , 0x000008a8 
+ 00019231  0x00002978 fetch  0x00000001 , 0x000042bb 
+ 00019232  0x00002979 set1  0x00000006 
+ 00019233  0x0000297a store  0x00000001 , 0x000042bb 
+ 00019234  0x0000297c jam  0x00000012 , 0x00000b7d 
+ 00019235  0x0000297d branch  0x00007c27 
+ 00019236  0x00002980 ifetch  0x00000001 , 0x00000006 
+ 00019237  0x00002981 beq  0x00000001 , 0x00004b27 
+ 00019238  0x00002982 rtn 
+ 00019239  0x00002985 copy  0x00000006 , 0x00000011 
+ 00019240  0x00002986 fetch  0x00000001 , 0x00004132 
+ 00019241  0x00002987 rtnne  0x00000003 , 0x0000003f 
+ 00019242  0x00002988 copy  0x00000011 , 0x00000006 
+ 00019243  0x00002989 branch  0x00004c4a 
+ 00019244  0x0000298c call  0x00005248 
+ 00019245  0x0000298d copy  0x00000011 , 0x00000002 
+ 00019246  0x0000298e storet  0x00000001 , 0x000008a8 
+ 00019247  0x0000298f copy  0x0000003f , 0x00000005 
+ 00019248  0x00002990 copy  0x00000011 , 0x0000003f 
+ 00019249  0x00002991 istore  0x00000002 , 0x00000005 
+ 00019250  0x00002992 rtn 
+ 00019251  0x00002996 setarg  0x00004b5b 
+ 00019252  0x00002997 store  0x00000002 , 0x0000428c 
+ 00019253  0x00002998 setarg  0x00004b44 
+ 00019254  0x00002999 store  0x00000002 , 0x00004296 
+ 00019255  0x0000299a call  0x0000691d 
+ 00019256  0x0000299b call  0x00005347 
+ 00019257  0x0000299c hjam  0x0000009e , 0x000080a2 
+ 00019258  0x0000299d hjam  0x00000008 , 0x00008081 
+ 00019259  0x0000299e hjam  0x00000005 , 0x00008075 
+ 00019260  0x0000299f setarg  0xffffffff 
+ 00019261  0x000029a0 set0  0x00000001 , 0x0000003f 
+ 00019262  0x000029a1 set0  0x00000015 , 0x0000003f 
+ 00019263  0x000029a2 hstore  0x00000004 , 0x00008070 
+ 00019264  0x000029a3 hjam  0x00000002 , 0x00008078 
+ 00019265  0x000029a4 rtn  0x0000002b 
+ 00019266  0x000029a5 jam  0x00000001 , 0x000043d8 
+ 00019267  0x000029a6 rtn 
+ 00019268  0x000029aa ifetch  0x00000001 , 0x00000011 
+ 00019269  0x000029ab store  0x00000001 , 0x00004803 
+ 00019270  0x000029ac beq  0x00000003 , 0x00004b4f 
+ 00019271  0x000029ad beq  0x00000004 , 0x00004b51 
+ 00019272  0x000029ae beq  0x00000005 , 0x00004b53 
+ 00019273  0x000029af beq  0x00000014 , 0x00004b64 
+ 00019274  0x000029b0 beq  0x00000015 , 0x00004b67 
+ 00019275  0x000029b1 rtnne  0x00000002 
+ 00019276  0x000029b2 ifetch  0x00000001 , 0x00000006 
+ 00019277  0x000029b3 store  0x00000001 , 0x00004804 
+ 00019278  0x000029b4 rtn 
+ 00019279  0x000029b7 arg  0x00004807 , 0x00000005 
+ 00019280  0x000029b8 branch  0x00004b55 
+ 00019281  0x000029bb arg  0x00004825 , 0x00000005 
+ 00019282  0x000029bc branch  0x00004b55 
+ 00019283  0x000029bf fetch  0x00000002 , 0x00004800 
+ 00019284  0x000029c0 iforce  0x00000005 
+ 00019285  0x000029c3 arg  0x00000013 , 0x00000039 
+ 00019286  0x000029c4 call  0x00007e45 
+ 00019287  0x000029c5 deposit  0x00000005 
+ 00019288  0x000029c6 store  0x00000002 , 0x00004800 
+ 00019289  0x000029c7 jam  0x00000000 , 0x00004803 
+ 00019290  0x000029c8 rtn 
+ 00019291  0x000029cd fetch  0x00000001 , 0x00004803 
+ 00019292  0x000029ce beq  0x00000001 , 0x00004b71 
+ 00019293  0x000029cf beq  0x00000002 , 0x00004b8d 
+ 00019294  0x000029d0 beq  0x0000000a , 0x00004b7a 
+ 00019295  0x000029d1 beq  0x0000000b , 0x00004b7a 
+ 00019296  0x000029d2 beq  0x0000000c , 0x00004b7a 
+ 00019297  0x000029d3 beq  0x00000008 , 0x00004b8d 
+ 00019298  0x000029d4 beq  0x00000009 , 0x00004b6a 
+ 00019299  0x000029d5 rtn 
+ 00019300  0x000029d8 jam  0x00000000 , 0x00004213 
+ 00019301  0x000029d9 jam  0x00000000 , 0x00004803 
+ 00019302  0x000029da rtn 
+ 00019303  0x000029dc jam  0x0000001e , 0x00004213 
+ 00019304  0x000029dd jam  0x00000000 , 0x00004803 
+ 00019305  0x000029de rtn 
+ 00019306  0x000029e3 jam  0x00000000 , 0x00004803 
+ 00019307  0x000029e4 arg  0x000fffff , 0x0000001b 
+ 00019308  0x000029e5 call  0x00004b91 
+ 00019309  0x000029e6 rtn 
+ 00019310  0x000029e9 fetcht  0x00000002 , 0x000003c2 
+ 00019311  0x000029ea iadd  0x00000002 , 0x0000003f 
+ 00019312  0x000029eb store  0x00000004 , 0x000003c4 
+ 00019313  0x000029ed fetch  0x00000004 , 0x000003c4 
+ 00019314  0x000029ee isub  0x00000028 , 0x0000003f 
+ 00019315  0x000029ef nbranch  0x00004b6e , 0x00000002 
+ 00019316  0x000029f0 rshift  0x0000003f , 0x0000001b 
+ 00019317  0x000029f1 call  0x00004b91 
+ 00019318  0x000029f2 rtn  0x00000034 
+ 00019319  0x000029f3 jam  0x0000000c , 0x00004803 
+ 00019320  0x000029f4 arg  0x00001800 , 0x00000002 
+ 00019321  0x000029f5 storet  0x00000002 , 0x00004800 
+ 00019322  0x000029f8 call  0x0000561c 
+ 00019323  0x000029f9 nrtn  0x00000034 
+ 00019324  0x000029fa jam  0x00000014 , 0x000044c2 
+ 00019325  0x000029fb jam  0x0000001b , 0x00000b7d 
+ 00019326  0x000029fc call  0x00005620 
+ 00019327  0x000029fd fetch  0x00000002 , 0x00000419 
+ 00019328  0x000029fe iforce  0x00000005 
+ 00019329  0x000029ff fetch  0x00000002 , 0x00004800 
+ 00019330  0x00002a00 iforce  0x00000006 
+ 00019331  0x00002a01 arg  0x00000014 , 0x00000039 
+ 00019332  0x00002a02 call  0x00007e45 
+ 00019333  0x00002a03 deposit  0x00000006 
+ 00019334  0x00002a04 store  0x00000002 , 0x00004800 
+ 00019335  0x00002a05 fetch  0x00000002 , 0x00004805 
+ 00019336  0x00002a06 increase  0xffffffec , 0x0000003f 
+ 00019337  0x00002a07 store  0x00000002 , 0x00004805 
+ 00019338  0x00002a08 rtn  0x00000002 
+ 00019339  0x00002a09 jam  0x00000000 , 0x00004803 
+ 00019340  0x00002a0a rtn 
+ 00019341  0x00002a0e fetch  0x00000001 , 0x00004804 
+ 00019342  0x00002a0f call  0x00004be2 
+ 00019343  0x00002a10 jam  0x00000000 , 0x00004803 
+ 00019344  0x00002a11 rtn 
+ 00019345  0x00002a15 call  0x00004b97 
+ 00019346  0x00002a16 setarg  0x00001800 
+ 00019347  0x00002a17 isub  0x00000005 , 0x0000003f 
+ 00019348  0x00002a18 sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00019349  0x00002a19 store  0x00000002 , 0x00004805 
+ 00019350  0x00002a1a rtn 
+ 00019351  0x00002a1f disable  0x00000010 
+ 00019352  0x00002a20 arg  0x00001800 , 0x00000005 
+ 00019353  0x00002a22 rtn  0x00000003 
+ 00019354  0x00002a23 hfetch  0x00000001 , 0x0000811e 
+ 00019355  0x00002a24 bbit0  0x00000005 , 0x00004b99 
+ 00019356  0x00002a25 copy  0x00000019 , 0x00000002 
+ 00019357  0x00002a26 arg  0x00000080 , 0x00000039 
+ 00019358  0x00002a27 call  0x00007e3b 
+ 00019359  0x00002a28 arg  0x00001800 , 0x00000005 
+ 00019360  0x00002a29 arg  0x00000000 , 0x00000013 
+ 00019361  0x00002a2b arg  0x000000b4 , 0x0000001b 
+ 00019362  0x00002a2d rtn  0x00000003 
+ 00019363  0x00002a2e hfetch  0x00000001 , 0x0000811e 
+ 00019364  0x00002a2f ixor  0x00000013 , 0x0000003f 
+ 00019365  0x00002a30 bbit1  0x00000005 , 0x00004ba2 
+ 00019366  0x00002a31 copy  0x00000019 , 0x0000003f 
+ 00019367  0x00002a32 iforce  0x00000030 
+ 00019368  0x00002a33 call  0x00007e78 
+ 00019369  0x00002a34 sub  0x0000003f , 0x000000ff , 0x0000003e 
+ 00019370  0x00002a35 branch  0x00004ba2 , 0x00000002 
+ 00019371  0x00002a36 isolate0  0x00000005 , 0x00000013 
+ 00019372  0x00002a37 setflag  0x00000001 , 0x00000017 , 0x0000003f 
+ 00019373  0x00002a38 istore  0x00000003 , 0x00000005 
+ 00019374  0x00002a39 rshift8  0x00000005 , 0x0000003f 
+ 00019375  0x00002a3a rtneq  0x0000001c 
+ 00019376  0x00002a3b copy  0x00000030 , 0x00000002 
+ 00019377  0x00002a3c xor_into  0x00000020 , 0x00000013 
+ 00019378  0x00002a3d branch  0x00004ba1 
+ 00019379  0x00002a42 branch  0x00004bc7 , 0x00000028 
+ 00019380  0x00002a43 branch  0x00004bca , 0x0000002c 
+ 00019381  0x00002a45 arg  0x00004826 , 0x00000002 
+ 00019382  0x00002a46 fetch  0x00000001 , 0x00004825 
+ 00019383  0x00002a47 iadd  0x00000002 , 0x0000003f 
+ 00019384  0x00002a48 isub  0x00000011 , 0x0000003e 
+ 00019385  0x00002a49 branch  0x00004bda , 0x00000005 
+ 00019386  0x00002a4a ifetch  0x00000001 , 0x00000011 
+ 00019387  0x00002a4b copy  0x00000006 , 0x00000011 
+ 00019388  0x00002a4c bbit0  0x00000007 , 0x00004bc1 
+ 00019389  0x00002a4d enable  0x0000002c 
+ 00019390  0x00002a4e and  0x0000003f , 0x0000007f , 0x00000012 
+ 00019391  0x00002a4f lshift3  0x00000011 , 0x00000011 
+ 00019392  0x00002a50 branch  0x00004bca 
+ 00019393  0x00002a52 rshift4  0x0000003f , 0x00000008 
+ 00019394  0x00002a53 and_into  0x0000000f , 0x0000003f 
+ 00019395  0x00002a54 isub  0x00000008 , 0x0000003e 
+ 00019396  0x00002a55 rtn  0x00000005 
+ 00019397  0x00002a56 enable  0x00000028 
+ 00019398  0x00002a57 rtn 
+ 00019399  0x00002a59 deposit  0x00000008 
+ 00019400  0x00002a5a disable  0x00000028 
+ 00019401  0x00002a5b rtn 
+ 00019402  0x00002a5d deposit  0x00000012 
+ 00019403  0x00002a5e branch  0x00004bd6 , 0x00000034 
+ 00019404  0x00002a5f and  0x00000011 , 0x00000007 , 0x00000007 
+ 00019405  0x00002a60 rshift3  0x00000011 , 0x00000006 
+ 00019406  0x00002a61 ifetch  0x00000001 , 0x00000006 
+ 00019407  0x00002a62 increase  0x00000001 , 0x00000011 
+ 00019408  0x00002a63 increase  0xffffffff , 0x00000012 
+ 00019409  0x00002a64 qisolate0  0x0000003f 
+ 00019410  0x00002a65 fetch  0x00000001 , 0x00004807 
+ 00019411  0x00002a66 branch  0x00004bc1 , 0x00000001 
+ 00019412  0x00002a67 fetch  0x00000001 , 0x00004808 
+ 00019413  0x00002a68 branch  0x00004bc1 
+ 00019414  0x00002a6a disable  0x0000002c 
+ 00019415  0x00002a6b increase  0x00000007 , 0x00000011 
+ 00019416  0x00002a6c rshift3  0x00000011 , 0x00000011 
+ 00019417  0x00002a6d branch  0x00004bb5 
+ 00019418  0x00002a6f setarg  0x000000ff 
+ 00019419  0x00002a70 rtn 
+ 00019420  0x00002a74 lshift  0x0000003f , 0x00000006 
+ 00019421  0x00002a75 iadd  0x00000006 , 0x0000003f 
+ 00019422  0x00002a76 arg  0x00004809 , 0x00000006 
+ 00019423  0x00002a77 iadd  0x00000006 , 0x00000006 
+ 00019424  0x00002a78 ifetch  0x00000003 , 0x00000006 
+ 00019425  0x00002a79 rtn 
+ 00019426  0x00002a7d enable  0x00000010 
+ 00019427  0x00002a7e iforce  0x00000039 
+ 00019428  0x00002a80 disable  0x00000028 
+ 00019429  0x00002a81 disable  0x0000002c 
+ 00019430  0x00002a82 arg  0x00004826 , 0x00000011 
+ 00019431  0x00002a84 call  0x00004bb3 
+ 00019432  0x00002a85 beq  0x000000ff , 0x00004bf1 
+ 00019433  0x00002a86 call  0x00004bdc 
+ 00019434  0x00002a87 bbit0  0x00000017 , 0x00004bed 
+ 00019435  0x00002a88 set0  0x00000017 , 0x0000003f 
+ 00019436  0x00002a89 hjam  0x0000009e , 0x000080a0 
+ 00019437  0x00002a8b iforce  0x0000001b 
+ 00019438  0x00002a8c until  0x0000003e , 0x00000003 
+ 00019439  0x00002a8d hjam  0x00000000 , 0x000080a0 
+ 00019440  0x00002a8e branch  0x00004be7 
+ 00019441  0x00002a90 loop  0x00004be4 
+ 00019442  0x00002a91 rtn 
+ 00019443  0x00002a98 call  0x00004c21 
+ 00019444  0x00002a99 setarg  0x00004d21 
+ 00019445  0x00002a9a store  0x00000002 , 0x00004290 
+ 00019446  0x00002a9b setarg  0x00004c59 
+ 00019447  0x00002a9c store  0x00000002 , 0x0000428e 
+ 00019448  0x00002a9d setarg  0x00004d37 
+ 00019449  0x00002a9e store  0x00000002 , 0x00004292 
+ 00019450  0x00002a9f setarg  0x00004d7e 
+ 00019451  0x00002aa0 store  0x00000002 , 0x0000428a 
+ 00019452  0x00002aa1 setarg  0x00004d7b 
+ 00019453  0x00002aa2 store  0x00000002 , 0x00004294 
+ 00019454  0x00002aa3 setarg  0x00004d7e 
+ 00019455  0x00002aa4 store  0x00000002 , 0x00004288 
+ 00019456  0x00002aa5 setarg  0x00004d22 
+ 00019457  0x00002aa6 store  0x00000002 , 0x00004286 
+ 00019458  0x00002aa7 rtn  0x0000002b 
+ 00019459  0x00002aa9 fetch  0x00000002 , 0x000047f4 
+ 00019460  0x00002aaa bbit1  0x0000000c , 0x00003f79 
+ 00019461  0x00002aab call  0x00003f23 
+ 00019462  0x00002aac branch  0x00004d79 , 0x00000034 
+ 00019463  0x00002aad call  0x00003f7e 
+ 00019464  0x00002aae branch  0x00003f6e 
+ 00019465  0x00002ab2 call  0x00004c21 
+ 00019466  0x00002ab3 setarg  0x00004d21 
+ 00019467  0x00002ab4 store  0x00000002 , 0x00004290 
+ 00019468  0x00002ab5 setarg  0x00004c59 
+ 00019469  0x00002ab6 store  0x00000002 , 0x0000428e 
+ 00019470  0x00002ab7 setarg  0x00004d37 
+ 00019471  0x00002ab8 store  0x00000002 , 0x00004292 
+ 00019472  0x00002ab9 setarg  0x00004d7e 
+ 00019473  0x00002aba store  0x00000002 , 0x0000428a 
+ 00019474  0x00002abb setarg  0x00004d7b 
+ 00019475  0x00002abc store  0x00000002 , 0x00004294 
+ 00019476  0x00002abd setarg  0x00004d7e 
+ 00019477  0x00002abe store  0x00000002 , 0x00004288 
+ 00019478  0x00002abf setarg  0x00004d22 
+ 00019479  0x00002ac0 store  0x00000002 , 0x00004286 
+ 00019480  0x00002ac1 rtn  0x0000002b 
+ 00019481  0x00002ac3 jam  0x00000000 , 0x000007dc 
+ 00019482  0x00002ac4 jam  0x00000000 , 0x000007dd 
+ 00019483  0x00002ac6 fetch  0x00000002 , 0x000047f4 
+ 00019484  0x00002ac7 bbit1  0x0000000c , 0x00003f79 
+ 00019485  0x00002ac8 call  0x00003f23 
+ 00019486  0x00002ac9 branch  0x00004d79 , 0x00000034 
+ 00019487  0x00002aca call  0x00003f7e 
+ 00019488  0x00002acb branch  0x00003f6e 
+ 00019489  0x00002ad0 set1  0x00000025 , 0x00000000 
+ 00019490  0x00002ad1 bpatch  0x000000b6 , 0x00004036 
+ 00019491  0x00002ad3 fetch  0x00000001 , 0x00008140 
+ 00019492  0x00002ad4 branch  0x00003bf1 , 0x00000034 
+ 00019493  0x00002ad5 hjam  0x00000000 , 0x00008070 
+ 00019494  0x00002ad6 hjam  0x000000ff , 0x00008078 
+ 00019495  0x00002ad8 hjam  0x000000ff , 0x00008071 
+ 00019496  0x00002ad9 hjam  0x000000ff , 0x00008072 
+ 00019497  0x00002ada hfetch  0x00000001 , 0x00008073 
+ 00019498  0x00002adb or_into  0x0000000f , 0x0000003f 
+ 00019499  0x00002adc hstore  0x00000001 , 0x00008073 
+ 00019500  0x00002ade hjam  0x00000000 , 0x00008080 
+ 00019501  0x00002adf hjam  0x00000000 , 0x00008081 
+ 00019502  0x00002ae0 hjam  0x000000ff , 0x00008083 
+ 00019503  0x00002ae1 hjam  0x000000ff , 0x00008084 
+ 00019504  0x00002ae2 hfetch  0x00000001 , 0x00008085 
+ 00019505  0x00002ae3 or_into  0x00000003 , 0x0000003f 
+ 00019506  0x00002ae4 hstore  0x00000001 , 0x00008085 
+ 00019507  0x00002ae5 hjam  0x00000000 , 0x0000806f 
+ 00019508  0x00002ae6 setarg  0x00000013 
+ 00019509  0x00002ae7 lshift3  0x0000003f , 0x0000003f 
+ 00019510  0x00002ae8 add  0x0000003f , 0x00000007 , 0x0000003f 
+ 00019511  0x00002ae9 hstore  0x00000001 , 0x00008064 
+ 00019512  0x00002aeb hfetch  0x00000001 , 0x00008043 
+ 00019513  0x00002aec set1  0x00000002 , 0x0000003f 
+ 00019514  0x00002aed hstore  0x00000001 , 0x00008043 
+ 00019515  0x00002aee hfetch  0x00000001 , 0x00008051 
+ 00019516  0x00002aef set0  0x00000001 , 0x0000003f 
+ 00019517  0x00002af0 hstore  0x00000001 , 0x00008051 
+ 00019518  0x00002af1 hjam  0x0000000d , 0x00008063 
+ 00019519  0x00002af2 hjam  0x000000d3 , 0x00008067 
+ 00019520  0x00002af3 hjam  0x00000000 , 0x00008065 
+ 00019521  0x00002af4 hjam  0x00000031 , 0x00008066 
+ 00019522  0x00002af5 call  0x00003e0b 
+ 00019523  0x00002af6 fetcht  0x00000001 , 0x0000480e 
+ 00019524  0x00002af7 call  0x000069da 
+ 00019525  0x00002af8 fetcht  0x00000001 , 0x0000480f 
+ 00019526  0x00002af9 call  0x000069da 
+ 00019527  0x00002afa fetcht  0x00000001 , 0x00004810 
+ 00019528  0x00002afb call  0x000069da 
+ 00019529  0x00002afc rtn 
+ 00019530  0x00002aff set1  0x00000025 , 0x00000000 
+ 00019531  0x00002b00 bpatch  0x000000b7 , 0x00004036 
+ 00019532  0x00002b01 ifetch  0x00000001 , 0x00000006 
+ 00019533  0x00002b02 copy  0x0000003f , 0x00000011 
+ 00019534  0x00002b03 fetcht  0x00000001 , 0x0000480f 
+ 00019535  0x00002b04 isolate1  0x00000000 , 0x00000011 
+ 00019536  0x00002b05 call  0x000069f0 
+ 00019537  0x00002b06 fetcht  0x00000001 , 0x0000480e 
+ 00019538  0x00002b07 isolate1  0x00000001 , 0x00000011 
+ 00019539  0x00002b08 call  0x000069f0 
+ 00019540  0x00002b09 fetcht  0x00000001 , 0x00004810 
+ 00019541  0x00002b0a isolate1  0x00000002 , 0x00000011 
+ 00019542  0x00002b0b call  0x000069f0 
+ 00019543  0x00002b0c jam  0x00000001 , 0x00004809 
+ 00019544  0x00002b0d rtn 
+ 00019545  0x00002b12 call  0x00004c99 
+ 00019546  0x00002b13 nrtn  0x00000028 
+ 00019547  0x00002b14 nrtn  0x0000002c 
+ 00019548  0x00002b16 fetch  0x00000001 , 0x00000450 
+ 00019549  0x00002b17 beq  0x00000001 , 0x00004c69 
+ 00019550  0x00002b18 fetch  0x00000001 , 0x000042bc 
+ 00019551  0x00002b19 rtnne  0x0000003f 
+ 00019552  0x00002b1b arg  0x0000000a , 0x00000011 
+ 00019553  0x00002b1c call  0x00004b2c 
+ 00019554  0x00002b1d fetch  0x00000002 , 0x000042b7 
+ 00019555  0x00002b1e istore  0x00000002 , 0x00000005 
+ 00019556  0x00002b1f setarg  0x000001a1 
+ 00019557  0x00002b20 istore  0x00000002 , 0x00000005 
+ 00019558  0x00002b21 fetch  0x00000008 , 0x00004800 
+ 00019559  0x00002b22 istore  0x00000008 , 0x00000005 
+ 00019560  0x00002b23 rtn 
+ 00019561  0x00002b26 fetcht  0x00000001 , 0x0000054f 
+ 00019562  0x00002b27 setarg  0x00000550 
+ 00019563  0x00002b28 iadd  0x00000002 , 0x00000005 
+ 00019564  0x00002b29 fetch  0x00000001 , 0x00004802 
+ 00019565  0x00002b2a branch  0x00004c72 , 0x00000034 
+ 00019566  0x00002b2b beq  0x0000002a , 0x00004c74 
+ 00019567  0x00002b2c bne  0x00000028 , 0x00004c7e 
+ 00019568  0x00002b2d storet  0x00000001 , 0x0000054f 
+ 00019569  0x00002b2e branch  0x00003f6a 
+ 00019570  0x00002b31 storet  0x00000001 , 0x0000054f 
+ 00019571  0x00002b32 rtn 
+ 00019572  0x00002b34 fetch  0x00000001 , 0x0000054f 
+ 00019573  0x00002b35 rtn  0x00000034 
+ 00019574  0x00002b36 increase  0xffffffff , 0x0000003f 
+ 00019575  0x00002b37 store  0x00000001 , 0x0000054f 
+ 00019576  0x00002b38 arg  0x00000550 , 0x00000005 
+ 00019577  0x00002b39 iadd  0x00000005 , 0x00000005 
+ 00019578  0x00002b3a setarg  0x00000000 
+ 00019579  0x00002b3b istore  0x00000001 , 0x00000005 
+ 00019580  0x00002b3c enable  0x0000002c 
+ 00019581  0x00002b3d branch  0x00004c8d 
+ 00019582  0x00002b3f sub  0x0000003f , 0x0000001d , 0x0000003e 
+ 00019583  0x00002b40 rtn  0x00000002 
+ 00019584  0x00002b41 arg  0x00000030 , 0x00000002 
+ 00019585  0x00002b42 sub  0x0000003f , 0x00000027 , 0x0000003e 
+ 00019586  0x00002b43 nrtn  0x00000002 
+ 00019587  0x00002b44 branch  0x00004c87 , 0x00000005 
+ 00019588  0x00002b45 arg  0x0000001d , 0x00000002 
+ 00019589  0x00002b46 isub  0x00000002 , 0x00000002 
+ 00019590  0x00002b47 or_into  0x00000030 , 0x00000002 
+ 00019591  0x00002b49 istoret  0x00000001 , 0x00000005 
+ 00019592  0x00002b4a fetch  0x00000001 , 0x0000054f 
+ 00019593  0x00002b4b increase  0x00000001 , 0x0000003f 
+ 00019594  0x00002b4c store  0x00000001 , 0x0000054f 
+ 00019595  0x00002b4d disable  0x0000002c 
+ 00019596  0x00002b4e branch  0x00004c8d 
+ 00019597  0x00002b51 fetch  0x00000002 , 0x000042b7 
+ 00019598  0x00002b52 rtn  0x00000034 
+ 00019599  0x00002b53 arg  0x00000003 , 0x00000011 
+ 00019600  0x00002b54 call  0x00004b2c 
+ 00019601  0x00002b55 fetch  0x00000002 , 0x000042b7 
+ 00019602  0x00002b56 istore  0x00000002 , 0x00000005 
+ 00019603  0x00002b57 setarg  0x0000ffa1 
+ 00019604  0x00002b58 istore  0x00000002 , 0x00000005 
+ 00019605  0x00002b59 setarg  0x00000000 
+ 00019606  0x00002b5a setflag  0x0000002c , 0x00000000 , 0x0000003f 
+ 00019607  0x00002b5b istore  0x00000001 , 0x00000005 
+ 00019608  0x00002b5c rtn 
+ 00019609  0x00002b61 disable  0x00000028 
+ 00019610  0x00002b62 disable  0x0000002c 
+ 00019611  0x00002b63 hfetch  0x00000001 , 0x00008119 
+ 00019612  0x00002b64 rtnbit1  0x00000000 
+ 00019613  0x00002b67 hfetch  0x00000001 , 0x0000811b 
+ 00019614  0x00002b68 bbit1  0x00000000 , 0x00004ca3 
+ 00019615  0x00002b69 hfetch  0x00000001 , 0x00008119 
+ 00019616  0x00002b6a bbit0  0x00000006 , 0x00004ca3 
+ 00019617  0x00002b6b hfetch  0x00000001 , 0x0000811a 
+ 00019618  0x00002b6c branch  0x00004c99 
+ 00019619  0x00002b6f enable  0x00000028 
+ 00019620  0x00002b70 enable  0x0000002c 
+ 00019621  0x00002b71 hfetch  0x00000001 , 0x0000811b 
+ 00019622  0x00002b72 isolate0  0x00000000 , 0x0000003f 
+ 00019623  0x00002b73 hfetch  0x00000001 , 0x0000811a 
+ 00019624  0x00002b74 arg  0x00004811 , 0x00000006 
+ 00019625  0x00002b75 iadd  0x00000006 , 0x00000006 
+ 00019626  0x00002b76 ifetch  0x00000001 , 0x00000006 
+ 00019627  0x00002b77 bbit1  0x00000007 , 0x00004ce4 
+ 00019628  0x00002b78 nbranch  0x00004ccc , 0x00000001 
+ 00019629  0x00002b79 disable  0x0000002c 
+ 00019630  0x00002b7a iforce  0x00000002 
+ 00019631  0x00002b7b fetch  0x00000001 , 0x00004808 
+ 00019632  0x00002b7c sub  0x0000003f , 0x00000004 , 0x0000003e 
+ 00019633  0x00002b7d nrtn  0x00000002 
+ 00019634  0x00002b7e copy  0x0000003f , 0x00000011 
+ 00019635  0x00002b7f arg  0x00000003 , 0x00000039 
+ 00019636  0x00002b80 arg  0x00004802 , 0x00000006 
+ 00019637  0x00002b82 ifetch  0x00000001 , 0x00000006 
+ 00019638  0x00002b83 isub  0x00000002 , 0x0000003e 
+ 00019639  0x00002b84 branch  0x00004c99 , 0x00000005 
+ 00019640  0x00002b85 loop  0x00004cb5 
+ 00019641  0x00002b87 copy  0x00000011 , 0x0000003f 
+ 00019642  0x00002b88 arg  0x00004802 , 0x00000005 
+ 00019643  0x00002b89 iadd  0x00000005 , 0x00000005 
+ 00019644  0x00002b8a istoret  0x00000001 , 0x00000005 
+ 00019645  0x00002b8b increase  0x00000001 , 0x0000003f 
+ 00019646  0x00002b8c store  0x00000001 , 0x00004808 
+ 00019647  0x00002b8d hfetch  0x00000001 , 0x0000811b 
+ 00019648  0x00002b8e rshift3  0x0000003f , 0x0000003f 
+ 00019649  0x00002b8f nbranch  0x00004cc3 , 0x00000034 
+ 00019650  0x00002b90 branch  0x00004cca 
+ 00019651  0x00002b93 increase  0xffffffff , 0x0000003f 
+ 00019652  0x00002b94 branch  0x00004cca , 0x00000005 
+ 00019653  0x00002b95 hfetch  0x00000001 , 0x0000811b 
+ 00019654  0x00002b96 and_into  0x00000001 , 0x0000003f 
+ 00019655  0x00002b97 beq  0x00000000 , 0x00004c99 
+ 00019656  0x00002b98 beq  0x00000001 , 0x00004cca 
+ 00019657  0x00002b99 rtn 
+ 00019658  0x00002b9b enable  0x0000002c 
+ 00019659  0x00002b9c rtn 
+ 00019660  0x00002b9f and  0x0000003f , 0x000000ff , 0x00000002 
+ 00019661  0x00002ba0 fetch  0x00000001 , 0x00004808 
+ 00019662  0x00002ba1 rtn  0x00000034 
+ 00019663  0x00002ba2 iforce  0x00000039 
+ 00019664  0x00002ba3 arg  0x00004802 , 0x00000006 
+ 00019665  0x00002ba5 ifetch  0x00000001 , 0x00000006 
+ 00019666  0x00002ba6 isub  0x00000002 , 0x0000003e 
+ 00019667  0x00002ba7 branch  0x00004cd6 , 0x00000005 
+ 00019668  0x00002ba8 loop  0x00004cd1 
+ 00019669  0x00002ba9 rtn 
+ 00019670  0x00002bab add  0x00000006 , 0xffffffff , 0x00000005 
+ 00019671  0x00002bac call  0x00007e45 
+ 00019672  0x00002bad fetch  0x00000001 , 0x00004808 
+ 00019673  0x00002bae increase  0xffffffff , 0x0000003f 
+ 00019674  0x00002baf store  0x00000001 , 0x00004808 
+ 00019675  0x00002bb0 hfetch  0x00000001 , 0x0000811b 
+ 00019676  0x00002bb1 rshift3  0x0000003f , 0x0000003f 
+ 00019677  0x00002bb2 nbranch  0x00004cdf , 0x00000034 
+ 00019678  0x00002bb3 rtn 
+ 00019679  0x00002bb6 hfetch  0x00000001 , 0x0000811b 
+ 00019680  0x00002bb7 and_into  0x00000001 , 0x0000003f 
+ 00019681  0x00002bb8 beq  0x00000000 , 0x00004cca 
+ 00019682  0x00002bb9 beq  0x00000001 , 0x00004c99 
+ 00019683  0x00002bba rtn 
+ 00019684  0x00002bbd and  0x0000003f , 0x00000007 , 0x00000007 
+ 00019685  0x00002bbe fetch  0x00000001 , 0x00004800 
+ 00019686  0x00002bbf qsetflag  0x00000001 , 0x0000003f 
+ 00019687  0x00002bc0 store  0x00000001 , 0x00004800 
+ 00019688  0x00002bc1 rtn 
+ 00019689  0x00002bc4 setarg  0x00000000 
+ 00019690  0x00002bc5 store  0x00000008 , 0x00004800 
+ 00019691  0x00002bc6 store  0x00000001 , 0x00004808 
+ 00019692  0x00002bc7 rtn 
+ 00019693  0x00002bca hfetch  0x00000001 , 0x0000811b 
+ 00019694  0x00002bcb hfetch  0x00000001 , 0x0000811a 
+ 00019695  0x00002bcc hfetch  0x00000001 , 0x00008119 
+ 00019696  0x00002bcd bbit0  0x00000000 , 0x00004ced 
+ 00019697  0x00002bce setarg  0x000000ff 
+ 00019698  0x00002bcf enable  0x00000028 
+ 00019699  0x00002bd0 rtn 
+ 00019700  0x00002bd3 fetcht  0x00000002 , 0x000044c2 
+ 00019701  0x00002bd4 call  0x00005866 
+ 00019702  0x00002bd5 rtnbit0  0x00000000 
+ 00019703  0x00002bd6 fetch  0x00000001 , 0x000046f8 
+ 00019704  0x00002bd7 rtnbit0  0x00000000 
+ 00019705  0x00002bd8 call  0x0000561c 
+ 00019706  0x00002bd9 nrtn  0x00000034 
+ 00019707  0x00002bda call  0x00004c99 
+ 00019708  0x00002bdb nrtn  0x00000028 
+ 00019709  0x00002bdc nrtn  0x0000002c 
+ 00019710  0x00002bde call  0x00003f5e 
+ 00019711  0x00002bdf jam  0x00000002 , 0x00004213 
+ 00019712  0x00002be0 fetcht  0x00000002 , 0x000044c2 
+ 00019713  0x00002be1 call  0x00005a88 
+ 00019714  0x00002be2 add  0x00000006 , 0x00000001 , 0x00000005 
+ 00019715  0x00002be3 fetch  0x00000008 , 0x00004800 
+ 00019716  0x00002be4 istore  0x00000008 , 0x00000005 
+ 00019717  0x00002be5 jam  0x0000001b , 0x00000b7d 
+ 00019718  0x00002be6 call  0x00005620 
+ 00019719  0x00002be7 fetch  0x00000001 , 0x000003e4 
+ 00019720  0x00002be8 bbit1  0x00000003 , 0x00003bf2 
+ 00019721  0x00002be9 rtn 
+ 00019722  0x00002beb copy  0x00000013 , 0x0000003f 
+ 00019723  0x00002bec beq  0x00000010 , 0x00004d15 
+ 00019724  0x00002bee beq  0x00000014 , 0x00004d13 
+ 00019725  0x00002bef beq  0x00000028 , 0x00004d11 
+ 00019726  0x00002bf0 beq  0x00000029 , 0x00004d11 
+ 00019727  0x00002bf1 beq  0x0000002e , 0x00003f57 
+ 00019728  0x00002bf2 rtn 
+ 00019729  0x00002bf5 call  0x00003fa4 
+ 00019730  0x00002bf6 branch  0x00003f92 
+ 00019731  0x00002bf8 call  0x00004ced 
+ 00019732  0x00002bf9 branch  0x00004ce9 
+ 00019733  0x00002bfc call  0x00005b30 
+ 00019734  0x00002bfd call  0x00003f90 
+ 00019735  0x00002bfe call  0x00003f88 
+ 00019736  0x00002bff branch  0x00003f94 
+ 00019737  0x00002c02 fetch  0x00000001 , 0x0000442e 
+ 00019738  0x00002c03 rtn  0x00000034 
+ 00019739  0x00002c04 increase  0xffffffff , 0x0000003f 
+ 00019740  0x00002c05 store  0x00000001 , 0x0000442e 
+ 00019741  0x00002c06 nrtn  0x00000034 
+ 00019742  0x00002c07 fetch  0x00000001 , 0x000044db 
+ 00019743  0x00002c08 rtn  0x00000034 
+ 00019744  0x00002c09 branch  0x00003f98 
+ 00019745  0x00002c0d branch  0x00004d2e 
+ 00019746  0x00002c11 hfetch  0x00000003 , 0x0000811c 
+ 00019747  0x00002c12 copy  0x0000003f , 0x00000012 
+ 00019748  0x00002c13 hfetch  0x00000001 , 0x0000811f 
+ 00019749  0x00002c14 and_into  0x0000000f , 0x0000003f 
+ 00019750  0x00002c15 lshift16  0x0000003f , 0x0000003f 
+ 00019751  0x00002c16 lshift8  0x0000003f , 0x0000003f 
+ 00019752  0x00002c17 ior  0x00000012 , 0x0000003f 
+ 00019753  0x00002c18 fetcht  0x00000004 , 0x0000480a 
+ 00019754  0x00002c19 isub  0x00000002 , 0x0000003f 
+ 00019755  0x00002c1a rtn  0x00000034 
+ 00019756  0x00002c1b arg  0x000000bb , 0x00000012 
+ 00019757  0x00002c1c branch  0x00003f5e 
+ 00019758  0x00002c20 fetch  0x00000001 , 0x00004133 
+ 00019759  0x00002c21 nrtn  0x00000034 
+ 00019760  0x00002c22 fetch  0x00000001 , 0x0000427f 
+ 00019761  0x00002c23 nrtn  0x00000034 
+ 00019762  0x00002c24 fetch  0x00000001 , 0x000047ea 
+ 00019763  0x00002c25 rtn  0x00000034 
+ 00019764  0x00002c26 fetch  0x00000001 , 0x000047eb 
+ 00019765  0x00002c27 nrtn  0x00000034 
+ 00019766  0x00002c28 branch  0x00003f9a 
+ 00019767  0x00002c2b copy  0x00000013 , 0x0000003f 
+ 00019768  0x00002c2c beq  0x00000006 , 0x00004d8b 
+ 00019769  0x00002c2d beq  0x0000000a , 0x00004d7c 
+ 00019770  0x00002c2e beq  0x00000006 , 0x00004d8f 
+ 00019771  0x00002c2f beq  0x00000010 , 0x00004d68 
+ 00019772  0x00002c30 beq  0x0000002e , 0x00003f57 
+ 00019773  0x00002c31 beq  0x00000001 , 0x00004d77 
+ 00019774  0x00002c32 beq  0x00000002 , 0x00004d51 
+ 00019775  0x00002c34 beq  0x00000004 , 0x00004d4e 
+ 00019776  0x00002c35 beq  0x00000013 , 0x00004d4e 
+ 00019777  0x00002c36 and  0x0000003f , 0x0000000f , 0x00000002 
+ 00019778  0x00002c37 and_into  0x000000f0 , 0x0000003f 
+ 00019779  0x00002c38 beq  0x00000050 , 0x00004d45 
+ 00019780  0x00002c39 rtn 
+ 00019781  0x00002c3c set1  0x00000025 , 0x00000000 
+ 00019782  0x00002c3d bpatch  0x000000b8 , 0x00004037 
+ 00019783  0x00002c3e storet  0x00000001 , 0x00000259 
+ 00019784  0x00002c40 fetch  0x00000001 , 0x00000259 
+ 00019785  0x00002c41 rtn  0x00000034 
+ 00019786  0x00002c42 increase  0xffffffff , 0x0000003f 
+ 00019787  0x00002c43 store  0x00000001 , 0x00000259 
+ 00019788  0x00002c45 call  0x00004d62 
+ 00019789  0x00002c46 branch  0x00004d48 
+ 00019790  0x00002c49 fetch  0x00000002 , 0x000047f4 
+ 00019791  0x00002c4a bbit1  0x0000000c , 0x00004d79 
+ 00019792  0x00002c4b branch  0x00003f10 
+ 00019793  0x00002c4f set1  0x00000025 , 0x00000000 
+ 00019794  0x00002c50 bpatch  0x000000b9 , 0x00004037 
+ 00019795  0x00002c51 call  0x00004d59 
+ 00019796  0x00002c52 fetch  0x00000002 , 0x000042a0 
+ 00019797  0x00002c54 bbit1  0x00000000 , 0x00003f12 
+ 00019798  0x00002c55 bbit1  0x00000001 , 0x00004d5c 
+ 00019799  0x00002c56 bbit1  0x00000002 , 0x00004d5f 
+ 00019800  0x00002c57 branch  0x00004d79 
+ 00019801  0x00002c59 jam  0x00000000 , 0x0000425e 
+ 00019802  0x00002c5a jam  0x00000000 , 0x0000448b 
+ 00019803  0x00002c5b rtn 
+ 00019804  0x00002c5e bbit1  0x00000005 , 0x00003f10 
+ 00019805  0x00002c5f bbit1  0x00000003 , 0x00003f10 
+ 00019806  0x00002c60 branch  0x00004d79 
+ 00019807  0x00002c62 fetch  0x00000002 , 0x000047f4 
+ 00019808  0x00002c63 bbit1  0x0000000c , 0x00004d79 
+ 00019809  0x00002c64 branch  0x00003f10 
+ 00019810  0x00002c69 fetch  0x00000001 , 0x000047f2 
+ 00019811  0x00002c6a rtn  0x00000034 
+ 00019812  0x00002c6b increase  0xffffffff , 0x0000003f 
+ 00019813  0x00002c6c store  0x00000001 , 0x000047f2 
+ 00019814  0x00002c6d nrtn  0x00000034 
+ 00019815  0x00002c6e branch  0x00004d8f 
+ 00019816  0x00002c72 call  0x00004d6a 
+ 00019817  0x00002c73 branch  0x00004d79 
+ 00019818  0x00002c76 set1  0x00000025 , 0x00000000 
+ 00019819  0x00002c77 bpatch  0x000000ba , 0x00004037 
+ 00019820  0x00002c78 fetch  0x00000002 , 0x000047f4 
+ 00019821  0x00002c79 isolate1  0x00000007 , 0x0000003f 
+ 00019822  0x00002c7a call  0x00003f75 , 0x00000001 
+ 00019823  0x00002c7b fetch  0x00000002 , 0x000047fe 
+ 00019824  0x00002c7c store  0x00000002 , 0x000047f0 
+ 00019825  0x00002c7d fetch  0x00000002 , 0x000042a2 
+ 00019826  0x00002c7e set1  0x00000000 , 0x0000003f 
+ 00019827  0x00002c7f store  0x00000002 , 0x000042a2 
+ 00019828  0x00002c80 fetch  0x00000002 , 0x000047f4 
+ 00019829  0x00002c81 bbit1  0x00000000 , 0x00003f77 
+ 00019830  0x00002c82 rtn 
+ 00019831  0x00002c86 call  0x00003f7e 
+ 00019832  0x00002c87 branch  0x00003f98 
+ 00019833  0x00002c8a call  0x00003f7c 
+ 00019834  0x00002c8b branch  0x00003f94 
+ 00019835  0x00002c8e branch  0x00003f9a 
+ 00019836  0x00002c91 jam  0x00000000 , 0x0000054f 
+ 00019837  0x00002c92 rtn 
+ 00019838  0x00002c98 hjam  0x00000000 , 0x00008083 
+ 00019839  0x00002c99 hjam  0x00000000 , 0x00008084 
+ 00019840  0x00002c9a hfetch  0x00000001 , 0x00008085 
+ 00019841  0x00002c9b and_into  0x000000f0 , 0x0000003f 
+ 00019842  0x00002c9c hstore  0x00000001 , 0x00008085 
+ 00019843  0x00002c9d setarg  0x00000000 
+ 00019844  0x00002c9e store  0x00000004 , 0x000000a7 
+ 00019845  0x00002c9f setarg  0x000000ff 
+ 00019846  0x00002ca0 fetcht  0x00000001 , 0x000047fd 
+ 00019847  0x00002ca1 copy  0x00000002 , 0x00000007 
+ 00019848  0x00002ca2 qset1  0x0000003f 
+ 00019849  0x00002ca3 store  0x00000004 , 0x000000a3 
+ 00019850  0x00002ca4 rtn 
+ 00019851  0x00002ca7 setarg  0x00000002 
+ 00019852  0x00002ca8 store  0x00000001 , 0x000047f2 
+ 00019853  0x00002ca9 call  0x00004ced 
+ 00019854  0x00002cad branch  0x00004ce9 
+ 00019855  0x00002caf set1  0x00000025 , 0x00000000 
+ 00019856  0x00002cb0 bpatch  0x000000bb , 0x00004037 
+ 00019857  0x00002cb1 jam  0x00000001 , 0x0000427f 
+ 00019858  0x00002cb2 call  0x00003fa4 
+ 00019859  0x00002cb3 call  0x00003fa2 
+ 00019860  0x00002cb5 setarg  0x00000000 
+ 00019861  0x00002cb6 store  0x00000002 , 0x000047f0 
+ 00019862  0x00002cb7 store  0x00000001 , 0x000047f2 
+ 00019863  0x00002cb8 branch  0x00003f9e 
+ 00019864  0x00002cc0 branch  0x00004d9d , 0x0000002b 
+ 00019865  0x00002cc2 setarg  0x000043ce 
+ 00019866  0x00002cc3 arg  0x000042af , 0x00000005 
+ 00019867  0x00002cc4 isub  0x00000005 , 0x00000039 
+ 00019868  0x00002cc5 call  0x00007e3f 
+ 00019869  0x00002cc7 set1  0x00000025 , 0x00000000 
+ 00019870  0x00002cc8 bpatch  0x00000016 , 0x00004022 
+ 00019871  0x00002cc9 setarg  0x000004de 
+ 00019872  0x00002cca arg  0x000004a9 , 0x00000005 
+ 00019873  0x00002ccb isub  0x00000005 , 0x00000039 
+ 00019874  0x00002ccc call  0x00007e3f 
+ 00019875  0x00002ccd setarg  0x00000330 
+ 00019876  0x00002cce arg  0x000002c4 , 0x00000005 
+ 00019877  0x00002ccf isub  0x00000005 , 0x00000039 
+ 00019878  0x00002cd0 call  0x00007e3f 
+ 00019879  0x00002cd1 branch  0x0000532a 
+ 00019880  0x00002cd4 set1  0x00000025 , 0x00000000 
+ 00019881  0x00002cd5 bpatch  0x00000017 , 0x00004022 
+ 00019882  0x00002cd6 copy  0x00000006 , 0x00000002 
+ 00019883  0x00002cd9 copy  0x00000002 , 0x00000006 
+ 00019884  0x00002cda ifetch  0x00000002 , 0x00000006 
+ 00019885  0x00002cdb store  0x00000002 , 0x000002cd 
+ 00019886  0x00002cdc ifetch  0x00000002 , 0x00000006 
+ 00019887  0x00002cdd store  0x00000002 , 0x000002cf 
+ 00019888  0x00002cde deposit  0x00000006 
+ 00019889  0x00002cdf store  0x00000002 , 0x000002cb 
+ 00019890  0x00002ce0 fetch  0x00000001 , 0x000047f3 
+ 00019891  0x00002ce1 beq  0x00000000 , 0x00004db5 
+ 00019892  0x00002ce2 branch  0x000050fa 
+ 00019893  0x00002ce5 set1  0x00000025 , 0x00000000 
+ 00019894  0x00002ce6 bpatch  0x00000018 , 0x00004023 
+ 00019895  0x00002ce7 fetch  0x00000002 , 0x000002cd 
+ 00019896  0x00002ce8 branch  0x00004dfc , 0x00000034 
+ 00019897  0x00002ce9 fetch  0x00000001 , 0x000002cf 
+ 00019898  0x00002cea beq  0x00000001 , 0x00004dc0 
+ 00019899  0x00002cec beq  0x00000050 , 0x00004de7 
+ 00019900  0x00002ced beq  0x00000051 , 0x00004df4 
+ 00019901  0x00002cee beq  0x00000052 , 0x00004df2 
+ 00019902  0x00002cef beq  0x00000053 , 0x00004df2 
+ 00019903  0x00002cf0 branch  0x00004dfc 
+ 00019904  0x00002cf3 call  0x0000527a 
+ 00019905  0x00002cf4 nrtn  0x00000034 
+ 00019906  0x00002cf5 jam  0x00000000 , 0x000043cd 
+ 00019907  0x00002cf7 call  0x000052c4 
+ 00019908  0x00002cf8 call  0x00004e01 
+ 00019909  0x00002cf9 fetcht  0x00000002 , 0x000002d6 
+ 00019910  0x00002cfa branch  0x00004dfb , 0x00000034 
+ 00019911  0x00002cfb call  0x000052ce 
+ 00019912  0x00002cfc fetch  0x00000002 , 0x000002d6 
+ 00019913  0x00002cfd istore  0x00000002 , 0x00000005 
+ 00019914  0x00002cfe force  0x00000001 , 0x0000003f 
+ 00019915  0x00002cff istore  0x00000002 , 0x00000005 
+ 00019916  0x00002d00 branch  0x00004dfc 
+ 00019917  0x00002d03 fetch  0x00000001 , 0x00004132 
+ 00019918  0x00002d04 rtneq  0x00000001 
+ 00019919  0x00002d05 fetch  0x00000001 , 0x000043cd 
+ 00019920  0x00002d06 rtn  0x00000034 
+ 00019921  0x00002d07 copy  0x0000003f , 0x00000011 
+ 00019922  0x00002d08 fetch  0x00000004 , 0x0000033c 
+ 00019923  0x00002d09 arg  0x00000100 , 0x00000002 
+ 00019924  0x00002d0a iadd  0x00000002 , 0x00000002 
+ 00019925  0x00002d0b copy  0x00000022 , 0x0000003f 
+ 00019926  0x00002d0c isub  0x00000002 , 0x0000003e 
+ 00019927  0x00002d0d nrtn  0x00000002 
+ 00019928  0x00002d0e jam  0x00000000 , 0x000043cd 
+ 00019929  0x00002d0f copy  0x00000011 , 0x0000003f 
+ 00019930  0x00002d10 beq  0x00000050 , 0x00004ddc 
+ 00019931  0x00002d11 branch  0x00003bf1 
+ 00019932  0x00002d13 call  0x000052c4 
+ 00019933  0x00002d14 call  0x00004e84 
+ 00019934  0x00002d15 call  0x000052d0 
+ 00019935  0x00002d16 call  0x00007e1c 
+ 00019936  0x00002d17 call  0x00004eb7 
+ 00019937  0x00002d18 call  0x000052ce 
+ 00019938  0x00002d1a setarg  0x0000000c 
+ 00019939  0x00002d1b istore  0x00000002 , 0x00000005 
+ 00019940  0x00002d1c force  0x00000001 , 0x0000003f 
+ 00019941  0x00002d1d istore  0x00000002 , 0x00000005 
+ 00019942  0x00002d1e branch  0x00004dfc 
+ 00019943  0x00002d21 call  0x0000527e 
+ 00019944  0x00002d22 nrtn  0x00000034 
+ 00019945  0x00002d23 call  0x000052d2 
+ 00019946  0x00002d24 call  0x00006f72 
+ 00019947  0x00002d25 call  0x000052dc 
+ 00019948  0x00002d26 fetch  0x00000002 , 0x000002dc 
+ 00019949  0x00002d27 branch  0x00004dfb , 0x00000034 
+ 00019950  0x00002d28 istore  0x00000002 , 0x00000005 
+ 00019951  0x00002d29 fetch  0x00000002 , 0x000042b1 
+ 00019952  0x00002d2a istore  0x00000002 , 0x00000005 
+ 00019953  0x00002d2b branch  0x00004dfc 
+ 00019954  0x00002d2e call  0x00004af8 
+ 00019955  0x00002d2f branch  0x00004dfc 
+ 00019956  0x00002d32 set1  0x00000025 , 0x00000000 
+ 00019957  0x00002d33 bpatch  0x00000019 , 0x00004023 
+ 00019958  0x00002d34 jam  0x00000000 , 0x000002eb 
+ 00019959  0x00002d35 call  0x00006bdc 
+ 00019960  0x00002d36 fetch  0x00000001 , 0x000002eb 
+ 00019961  0x00002d37 rtneq  0x00000001 
+ 00019962  0x00002d38 branch  0x00004dfc 
+ 00019963  0x00002d3a call  0x0000526f 
+ 00019964  0x00002d3d setarg  0x00000000 
+ 00019965  0x00002d3e store  0x00000002 , 0x000002cd 
+ 00019966  0x00002d3f store  0x00000002 , 0x000002cf 
+ 00019967  0x00002d40 jam  0x00000001 , 0x000002d1 
+ 00019968  0x00002d41 rtn 
+ 00019969  0x00002d44 set1  0x00000025 , 0x00000000 
+ 00019970  0x00002d45 bpatch  0x0000001a , 0x00004023 
+ 00019971  0x00002d46 call  0x000052d0 
+ 00019972  0x00002d47 force  0x00000000 , 0x00000012 
+ 00019973  0x00002d48 fetch  0x00000002 , 0x000002cd 
+ 00019974  0x00002d49 copy  0x0000003f , 0x00000013 
+ 00019975  0x00002d4a fetch  0x00000002 , 0x000002cb 
+ 00019976  0x00002d4b iforce  0x00000006 
+ 00019977  0x00002d4d call  0x00004e11 
+ 00019978  0x00002d4e deposit  0x00000013 
+ 00019979  0x00002d4f increase  0xfffffffc , 0x00000013 
+ 00019980  0x00002d50 increase  0xfffffffc , 0x0000003f 
+ 00019981  0x00002d51 nbranch  0x00004e09 , 0x00000034 
+ 00019982  0x00002d52 copy  0x00000012 , 0x0000003f 
+ 00019983  0x00002d53 store  0x00000002 , 0x000002d6 
+ 00019984  0x00002d54 rtn 
+ 00019985  0x00002d57 set1  0x00000025 , 0x00000000 
+ 00019986  0x00002d58 bpatch  0x0000001b , 0x00004023 
+ 00019987  0x00002d59 ifetch  0x00000001 , 0x00000006 
+ 00019988  0x00002d5a beq  0x00000001 , 0x00004e54 
+ 00019989  0x00002d5b beq  0x00000002 , 0x00004e5c 
+ 00019990  0x00002d5c beq  0x00000003 , 0x00004ee0 
+ 00019991  0x00002d5d beq  0x00000004 , 0x00004f0f 
+ 00019992  0x00002d5e beq  0x00000005 , 0x00004fad 
+ 00019993  0x00002d5f beq  0x00000006 , 0x00004fd5 
+ 00019994  0x00002d60 beq  0x00000007 , 0x00005024 
+ 00019995  0x00002d61 beq  0x00000008 , 0x00005058 
+ 00019996  0x00002d62 beq  0x00000009 , 0x00005068 
+ 00019997  0x00002d63 beq  0x0000000a , 0x00004e21 
+ 00019998  0x00002d64 beq  0x0000000b , 0x00005069 
+ 00019999  0x00002d65 call  0x0000506a 
+ 00020000  0x00002d67 rtn 
+ 00020001  0x00002d6a ifetch  0x00000001 , 0x00000006 
+ 00020002  0x00002d6b copy  0x0000003f , 0x00000007 
+ 00020003  0x00002d6c ifetch  0x00000002 , 0x00000006 
+ 00020004  0x00002d6d copy  0x0000003f , 0x00000011 
+ 00020005  0x00002d6e copy  0x00000013 , 0x0000003f 
+ 00020006  0x00002d6f isub  0x00000011 , 0x00000013 
+ 00020007  0x00002d70 copy  0x00000011 , 0x0000003f 
+ 00020008  0x00002d71 iadd  0x00000006 , 0x00000006 
+ 00020009  0x00002d72 setarg  0x0000000b 
+ 00020010  0x00002d73 istore  0x00000001 , 0x00000005 
+ 00020011  0x00002d74 copy  0x00000007 , 0x0000003f 
+ 00020012  0x00002d75 istore  0x00000001 , 0x00000005 
+ 00020013  0x00002d76 force  0x00000008 , 0x0000003f 
+ 00020014  0x00002d77 istore  0x00000002 , 0x00000005 
+ 00020015  0x00002d78 force  0x00000002 , 0x0000003f 
+ 00020016  0x00002d79 istore  0x00000002 , 0x00000005 
+ 00020017  0x00002d7a force  0x00000000 , 0x0000003f 
+ 00020018  0x00002d7b istore  0x00000002 , 0x00000005 
+ 00020019  0x00002d7c force  0x00000400 , 0x0000003f 
+ 00020020  0x00002d7d istore  0x00000002 , 0x00000005 
+ 00020021  0x00002d7e force  0x00000000 , 0x0000003f 
+ 00020022  0x00002d7f istore  0x00000002 , 0x00000005 
+ 00020023  0x00002d80 force  0x0000000c , 0x0000003f 
+ 00020024  0x00002d81 iadd  0x00000012 , 0x00000012 
+ 00020025  0x00002d82 branch  0x00004e20 
+ 00020026  0x00002d85 ifetch  0x00000001 , 0x00000006 
+ 00020027  0x00002d86 copy  0x0000003f , 0x00000007 
+ 00020028  0x00002d87 ifetch  0x00000002 , 0x00000006 
+ 00020029  0x00002d88 copy  0x0000003f , 0x00000011 
+ 00020030  0x00002d89 copy  0x00000013 , 0x0000003f 
+ 00020031  0x00002d8a isub  0x00000011 , 0x00000013 
+ 00020032  0x00002d8b copy  0x00000011 , 0x0000003f 
+ 00020033  0x00002d8c iadd  0x00000006 , 0x00000006 
+ 00020034  0x00002d8d call  0x000052d0 
+ 00020035  0x00002d8e setarg  0x0000000b 
+ 00020036  0x00002d8f istore  0x00000001 , 0x00000005 
+ 00020037  0x00002d90 copy  0x00000007 , 0x0000003f 
+ 00020038  0x00002d91 istore  0x00000001 , 0x00000005 
+ 00020039  0x00002d92 force  0x00000008 , 0x0000003f 
+ 00020040  0x00002d93 istore  0x00000002 , 0x00000005 
+ 00020041  0x00002d94 force  0x00000002 , 0x0000003f 
+ 00020042  0x00002d95 istore  0x00000002 , 0x00000005 
+ 00020043  0x00002d96 force  0x00000000 , 0x0000003f 
+ 00020044  0x00002d97 istore  0x00000002 , 0x00000005 
+ 00020045  0x00002d98 force  0x00000400 , 0x0000003f 
+ 00020046  0x00002d99 istore  0x00000002 , 0x00000005 
+ 00020047  0x00002d9a force  0x00000000 , 0x0000003f 
+ 00020048  0x00002d9b istore  0x00000002 , 0x00000005 
+ 00020049  0x00002d9c force  0x0000000c , 0x0000003f 
+ 00020050  0x00002d9d iadd  0x00000012 , 0x00000012 
+ 00020051  0x00002d9f branch  0x00004e20 
+ 00020052  0x00002da4 ifetch  0x00000001 , 0x00000006 
+ 00020053  0x00002da5 copy  0x0000003f , 0x00000007 
+ 00020054  0x00002da6 ifetch  0x00000002 , 0x00000006 
+ 00020055  0x00002da7 copy  0x0000003f , 0x00000011 
+ 00020056  0x00002da8 iadd  0x00000006 , 0x00000006 
+ 00020057  0x00002da9 copy  0x00000013 , 0x0000003f 
+ 00020058  0x00002daa isub  0x00000011 , 0x00000013 
+ 00020059  0x00002dac branch  0x00004e20 
+ 00020060  0x00002daf call  0x00007e1c 
+ 00020061  0x00002db2 call  0x00007e21 
+ 00020062  0x00002db3 arg  0x00000000 , 0x00000008 
+ 00020063  0x00002db4 ifetch  0x00000001 , 0x00000006 
+ 00020064  0x00002db5 copy  0x0000003f , 0x00000007 
+ 00020065  0x00002db6 ifetch  0x00000002 , 0x00000006 
+ 00020066  0x00002db7 copy  0x0000003f , 0x00000011 
+ 00020067  0x00002db8 ifetch  0x00000002 , 0x00000006 
+ 00020068  0x00002db9 copy  0x0000003f , 0x00000002 
+ 00020069  0x00002dba ifetch  0x00000002 , 0x00000006 
+ 00020070  0x00002dbb copy  0x0000003f , 0x0000000b 
+ 00020071  0x00002dbc copy  0x00000002 , 0x0000003f 
+ 00020072  0x00002dbd beq  0x00000001 , 0x00004e6e 
+ 00020073  0x00002dbe beq  0x00000003 , 0x00004e90 
+ 00020074  0x00002dbf beq  0x00000011 , 0x00004e9c 
+ 00020075  0x00002dc0 beq  0x00000013 , 0x00004ea7 
+ 00020076  0x00002dc1 call  0x0000506a 
+ 00020077  0x00002dc2 branch  0x00004edf 
+ 00020078  0x00002dc5 call  0x00007e1c 
+ 00020079  0x00002dc6 arg  0x00000050 , 0x00000002 
+ 00020080  0x00002dc7 fetch  0x00000002 , 0x000042b1 
+ 00020081  0x00002dc8 nbranch  0x00004ed9 , 0x00000034 
+ 00020082  0x00002dc9 copy  0x0000000b , 0x0000003f 
+ 00020083  0x00002dca store  0x00000002 , 0x000042b1 
+ 00020084  0x00002dcb copy  0x00000022 , 0x0000003f 
+ 00020085  0x00002dcc store  0x00000004 , 0x0000033c 
+ 00020086  0x00002dcd call  0x00004e78 
+ 00020087  0x00002dce branch  0x00004eb3 
+ 00020088  0x00002dd1 storet  0x00000002 , 0x0000033a 
+ 00020089  0x00002dd2 deposit  0x0000000b 
+ 00020090  0x00002dd3 store  0x00000002 , 0x00000330 
+ 00020091  0x00002dd4 deposit  0x00000011 
+ 00020092  0x00002dd5 store  0x00000002 , 0x00000332 
+ 00020093  0x00002dd6 deposit  0x00000012 
+ 00020094  0x00002dd7 store  0x00000002 , 0x00000334 
+ 00020095  0x00002dd8 deposit  0x00000013 
+ 00020096  0x00002dd9 store  0x00000002 , 0x00000336 
+ 00020097  0x00002dda deposit  0x00000007 
+ 00020098  0x00002ddb store  0x00000002 , 0x00000338 
+ 00020099  0x00002ddc rtn 
+ 00020100  0x00002ddf fetcht  0x00000002 , 0x0000033a 
+ 00020101  0x00002de0 fetch  0x00000002 , 0x00000330 
+ 00020102  0x00002de1 copy  0x0000003f , 0x0000000b 
+ 00020103  0x00002de2 fetch  0x00000002 , 0x00000332 
+ 00020104  0x00002de3 copy  0x0000003f , 0x00000011 
+ 00020105  0x00002de4 fetch  0x00000002 , 0x00000334 
+ 00020106  0x00002de5 copy  0x0000003f , 0x00000012 
+ 00020107  0x00002de6 fetch  0x00000002 , 0x00000336 
+ 00020108  0x00002de7 copy  0x0000003f , 0x00000013 
+ 00020109  0x00002de8 fetch  0x00000002 , 0x00000338 
+ 00020110  0x00002de9 copy  0x0000003f , 0x00000007 
+ 00020111  0x00002dea rtn 
+ 00020112  0x00002ded call  0x00007e1c 
+ 00020113  0x00002dee setarg  0x00000051 
+ 00020114  0x00002def arg  0x00000051 , 0x00000002 
+ 00020115  0x00002df0 fetch  0x00000002 , 0x000042b3 
+ 00020116  0x00002df1 nbranch  0x00004ed9 , 0x00000034 
+ 00020117  0x00002df2 copy  0x0000000b , 0x0000003f 
+ 00020118  0x00002df3 store  0x00000002 , 0x000042b3 
+ 00020119  0x00002df4 fetch  0x00000001 , 0x000042ba 
+ 00020120  0x00002df5 set1  0x00000000 , 0x0000003f 
+ 00020121  0x00002df6 set1  0x00000001 , 0x0000003f 
+ 00020122  0x00002df7 store  0x00000001 , 0x000042ba 
+ 00020123  0x00002df8 branch  0x00004ebb 
+ 00020124  0x00002dfa call  0x00007e1c 
+ 00020125  0x00002dfb arg  0x00000052 , 0x00000002 
+ 00020126  0x00002dfc fetch  0x00000002 , 0x000042b5 
+ 00020127  0x00002dfd nbranch  0x00004ed9 , 0x00000034 
+ 00020128  0x00002dfe copy  0x0000000b , 0x0000003f 
+ 00020129  0x00002dff store  0x00000002 , 0x000042b5 
+ 00020130  0x00002e00 fetch  0x00000001 , 0x000042bb 
+ 00020131  0x00002e01 set1  0x00000000 , 0x0000003f 
+ 00020132  0x00002e02 set1  0x00000001 , 0x0000003f 
+ 00020133  0x00002e03 store  0x00000001 , 0x000042bb 
+ 00020134  0x00002e04 branch  0x00004ebb 
+ 00020135  0x00002e06 call  0x00007e1c 
+ 00020136  0x00002e07 deposit  0x0000001a 
+ 00020137  0x00002e08 arg  0x00000053 , 0x00000002 
+ 00020138  0x00002e09 fetch  0x00000002 , 0x000042b7 
+ 00020139  0x00002e0a nbranch  0x00004ed9 , 0x00000034 
+ 00020140  0x00002e0b copy  0x0000000b , 0x0000003f 
+ 00020141  0x00002e0c store  0x00000002 , 0x000042b7 
+ 00020142  0x00002e0d fetch  0x00000001 , 0x000042bc 
+ 00020143  0x00002e0e set1  0x00000000 , 0x0000003f 
+ 00020144  0x00002e0f set1  0x00000001 , 0x0000003f 
+ 00020145  0x00002e10 store  0x00000001 , 0x000042bc 
+ 00020146  0x00002e11 branch  0x00004ebb 
+ 00020147  0x00002e14 setarg  0x00000001 
+ 00020148  0x00002e15 store  0x00000002 , 0x000002e4 
+ 00020149  0x00002e16 jam  0x00000050 , 0x000043cd 
+ 00020150  0x00002e17 branch  0x00004ebd 
+ 00020151  0x00002e19 fetch  0x00000001 , 0x000042b9 
+ 00020152  0x00002e1a set1  0x00000000 , 0x0000003f 
+ 00020153  0x00002e1b set1  0x00000001 , 0x0000003f 
+ 00020154  0x00002e1c store  0x00000001 , 0x000042b9 
+ 00020155  0x00002e1e setarg  0x00000000 
+ 00020156  0x00002e1f store  0x00000002 , 0x000002e4 
+ 00020157  0x00002e21 set1  0x00000025 , 0x00000000 
+ 00020158  0x00002e22 bpatch  0x0000001c , 0x00004023 
+ 00020159  0x00002e23 call  0x00007e21 
+ 00020160  0x00002e24 setarg  0x00000003 
+ 00020161  0x00002e25 istore  0x00000001 , 0x00000005 
+ 00020162  0x00002e26 copy  0x00000007 , 0x0000003f 
+ 00020163  0x00002e27 istore  0x00000001 , 0x00000005 
+ 00020164  0x00002e28 setarg  0x00000008 
+ 00020165  0x00002e29 istore  0x00000002 , 0x00000005 
+ 00020166  0x00002e2a copy  0x00000002 , 0x0000003f 
+ 00020167  0x00002e2b istore  0x00000002 , 0x00000005 
+ 00020168  0x00002e2c copy  0x0000000b , 0x0000003f 
+ 00020169  0x00002e2d istore  0x00000002 , 0x00000005 
+ 00020170  0x00002e2e fetch  0x00000002 , 0x000002e4 
+ 00020171  0x00002e2f beq  0x00000001 , 0x00004ed4 
+ 00020172  0x00002e30 isolate0  0x00000000 , 0x00000008 
+ 00020173  0x00002e31 branch  0x00004ecf , 0x00000001 
+ 00020174  0x00002e32 setarg  0x00000004 
+ 00020175  0x00002e34 istore  0x00000002 , 0x00000005 
+ 00020176  0x00002e35 force  0x00000000 , 0x0000003f 
+ 00020177  0x00002e36 istore  0x00000002 , 0x00000005 
+ 00020178  0x00002e37 setarg  0x0000000c 
+ 00020179  0x00002e38 branch  0x00004edb 
+ 00020180  0x00002e3a istore  0x00000002 , 0x00000005 
+ 00020181  0x00002e3b force  0x00000002 , 0x0000003f 
+ 00020182  0x00002e3c istore  0x00000002 , 0x00000005 
+ 00020183  0x00002e3d setarg  0x0000000c 
+ 00020184  0x00002e3e branch  0x00004edb 
+ 00020185  0x00002e41 set1  0x00000000 , 0x00000008 
+ 00020186  0x00002e42 branch  0x00004ebb 
+ 00020187  0x00002e44 iadd  0x00000012 , 0x00000012 
+ 00020188  0x00002e45 copy  0x00000013 , 0x0000003f 
+ 00020189  0x00002e46 isub  0x00000011 , 0x00000013 
+ 00020190  0x00002e47 branch  0x00004edf 
+ 00020191  0x00002e49 branch  0x00004e20 
+ 00020192  0x00002e4c ifetch  0x00000001 , 0x00000006 
+ 00020193  0x00002e4d copy  0x0000003f , 0x00000007 
+ 00020194  0x00002e4e ifetch  0x00000002 , 0x00000006 
+ 00020195  0x00002e4f copy  0x0000003f , 0x00000011 
+ 00020196  0x00002e50 copy  0x00000013 , 0x0000003f 
+ 00020197  0x00002e51 isub  0x00000011 , 0x00000013 
+ 00020198  0x00002e52 ifetch  0x00000002 , 0x00000006 
+ 00020199  0x00002e53 copy  0x0000003f , 0x0000000b 
+ 00020200  0x00002e54 ifetch  0x00000002 , 0x00000006 
+ 00020201  0x00002e55 copy  0x0000003f , 0x00000002 
+ 00020202  0x00002e56 setarg  0x00000050 
+ 00020203  0x00002e57 isub  0x00000002 , 0x0000003e 
+ 00020204  0x00002e58 branch  0x00004ef7 , 0x00000005 
+ 00020205  0x00002e59 setarg  0x00000051 
+ 00020206  0x00002e5a isub  0x00000002 , 0x0000003e 
+ 00020207  0x00002e5b branch  0x00004efd , 0x00000005 
+ 00020208  0x00002e5c setarg  0x00000052 
+ 00020209  0x00002e5d isub  0x00000002 , 0x0000003e 
+ 00020210  0x00002e5e branch  0x00004f09 , 0x00000005 
+ 00020211  0x00002e5f setarg  0x00000053 
+ 00020212  0x00002e60 isub  0x00000002 , 0x0000003e 
+ 00020213  0x00002e61 branch  0x00004f03 , 0x00000005 
+ 00020214  0x00002e62 rtn 
+ 00020215  0x00002e65 copy  0x0000000b , 0x0000003f 
+ 00020216  0x00002e66 store  0x00000002 , 0x000042b1 
+ 00020217  0x00002e67 fetch  0x00000001 , 0x000042b9 
+ 00020218  0x00002e68 set1  0x00000001 , 0x0000003f 
+ 00020219  0x00002e69 store  0x00000001 , 0x000042b9 
+ 00020220  0x00002e6a branch  0x00004e20 
+ 00020221  0x00002e6c copy  0x0000000b , 0x0000003f 
+ 00020222  0x00002e6d store  0x00000002 , 0x000042b3 
+ 00020223  0x00002e6e fetch  0x00000001 , 0x000042ba 
+ 00020224  0x00002e6f set1  0x00000001 , 0x0000003f 
+ 00020225  0x00002e70 store  0x00000001 , 0x000042ba 
+ 00020226  0x00002e71 rtn 
+ 00020227  0x00002e73 copy  0x0000000b , 0x0000003f 
+ 00020228  0x00002e74 store  0x00000002 , 0x000042b5 
+ 00020229  0x00002e75 fetch  0x00000001 , 0x000042bc 
+ 00020230  0x00002e76 set1  0x00000001 , 0x0000003f 
+ 00020231  0x00002e77 store  0x00000001 , 0x000042bc 
+ 00020232  0x00002e78 rtn 
+ 00020233  0x00002e7a copy  0x0000000b , 0x0000003f 
+ 00020234  0x00002e7b store  0x00000002 , 0x000042b7 
+ 00020235  0x00002e7c fetch  0x00000001 , 0x000042bb 
+ 00020236  0x00002e7d set1  0x00000001 , 0x0000003f 
+ 00020237  0x00002e7e store  0x00000001 , 0x000042bb 
+ 00020238  0x00002e7f rtn 
+ 00020239  0x00002e82 ifetch  0x00000001 , 0x00000006 
+ 00020240  0x00002e83 copy  0x0000003f , 0x00000007 
+ 00020241  0x00002e84 ifetch  0x00000002 , 0x00000006 
+ 00020242  0x00002e85 copy  0x0000003f , 0x00000011 
+ 00020243  0x00002e86 copy  0x00000013 , 0x0000003f 
+ 00020244  0x00002e87 isub  0x00000011 , 0x00000013 
+ 00020245  0x00002e88 ifetch  0x00000002 , 0x00000006 
+ 00020246  0x00002e89 copy  0x0000003f , 0x00000002 
+ 00020247  0x00002e8a copy  0x00000002 , 0x00000011 
+ 00020248  0x00002e8b setarg  0x00000050 
+ 00020249  0x00002e8c isub  0x00000002 , 0x0000003e 
+ 00020250  0x00002e8d branch  0x00004f25 , 0x00000005 
+ 00020251  0x00002e8e setarg  0x00000051 
+ 00020252  0x00002e8f isub  0x00000002 , 0x0000003e 
+ 00020253  0x00002e90 branch  0x00004f43 , 0x00000005 
+ 00020254  0x00002e91 setarg  0x00000052 
+ 00020255  0x00002e92 isub  0x00000002 , 0x0000003e 
+ 00020256  0x00002e93 branch  0x00004f2f , 0x00000005 
+ 00020257  0x00002e94 setarg  0x00000053 
+ 00020258  0x00002e95 isub  0x00000002 , 0x0000003e 
+ 00020259  0x00002e96 branch  0x00004f39 , 0x00000005 
+ 00020260  0x00002e97 branch  0x0000506a 
+ 00020261  0x00002e9a copy  0x00000005 , 0x0000000b 
+ 00020262  0x00002e9b fetch  0x00000001 , 0x000042b9 
+ 00020263  0x00002e9c set1  0x00000004 , 0x0000003f 
+ 00020264  0x00002e9d set1  0x00000003 , 0x0000003f 
+ 00020265  0x00002e9f store  0x00000001 , 0x000042b9 
+ 00020266  0x00002ea0 copy  0x0000000b , 0x00000005 
+ 00020267  0x00002ea1 arg  0x00000050 , 0x0000000b 
+ 00020268  0x00002ea2 fetch  0x00000002 , 0x000042b1 
+ 00020269  0x00002ea3 copy  0x0000003f , 0x00000002 
+ 00020270  0x00002ea4 branch  0x00004f4c 
+ 00020271  0x00002ea6 copy  0x00000005 , 0x0000000b 
+ 00020272  0x00002ea7 fetch  0x00000001 , 0x000042bb 
+ 00020273  0x00002ea8 set1  0x00000004 , 0x0000003f 
+ 00020274  0x00002ea9 set1  0x00000003 , 0x0000003f 
+ 00020275  0x00002eab store  0x00000001 , 0x000042bb 
+ 00020276  0x00002eac copy  0x0000000b , 0x00000005 
+ 00020277  0x00002ead arg  0x00000052 , 0x0000000b 
+ 00020278  0x00002eae fetch  0x00000002 , 0x000042b5 
+ 00020279  0x00002eaf copy  0x0000003f , 0x00000002 
+ 00020280  0x00002eb0 branch  0x00004f4c 
+ 00020281  0x00002eb2 copy  0x00000005 , 0x0000000b 
+ 00020282  0x00002eb3 fetch  0x00000001 , 0x000042bc 
+ 00020283  0x00002eb4 set1  0x00000004 , 0x0000003f 
+ 00020284  0x00002eb5 set1  0x00000003 , 0x0000003f 
+ 00020285  0x00002eb7 store  0x00000001 , 0x000042bc 
+ 00020286  0x00002eb8 copy  0x0000000b , 0x00000005 
+ 00020287  0x00002eb9 arg  0x00000053 , 0x0000000b 
+ 00020288  0x00002eba fetch  0x00000002 , 0x000042b7 
+ 00020289  0x00002ebb copy  0x0000003f , 0x00000002 
+ 00020290  0x00002ebc branch  0x00004f4c 
+ 00020291  0x00002ebe copy  0x00000005 , 0x0000000b 
+ 00020292  0x00002ebf fetch  0x00000001 , 0x000042ba 
+ 00020293  0x00002ec0 set1  0x00000004 , 0x0000003f 
+ 00020294  0x00002ec1 set1  0x00000003 , 0x0000003f 
+ 00020295  0x00002ec3 store  0x00000001 , 0x000042ba 
+ 00020296  0x00002ec5 copy  0x0000000b , 0x00000005 
+ 00020297  0x00002ec6 arg  0x00000051 , 0x0000000b 
+ 00020298  0x00002ec7 fetch  0x00000002 , 0x000042b3 
+ 00020299  0x00002ec8 copy  0x0000003f , 0x00000002 
+ 00020300  0x00002eca set1  0x00000025 , 0x00000000 
+ 00020301  0x00002ecb bpatch  0x0000001d , 0x00004023 
+ 00020302  0x00002ecc setarg  0x00000005 
+ 00020303  0x00002ecd istore  0x00000001 , 0x00000005 
+ 00020304  0x00002ece copy  0x00000007 , 0x0000003f 
+ 00020305  0x00002ecf istore  0x00000001 , 0x00000005 
+ 00020306  0x00002ed0 setarg  0x00000006 
+ 00020307  0x00002ed1 istore  0x00000002 , 0x00000005 
+ 00020308  0x00002ed2 copy  0x00000002 , 0x0000003f 
+ 00020309  0x00002ed3 istore  0x00000002 , 0x00000005 
+ 00020310  0x00002ed4 force  0x00000000 , 0x0000003f 
+ 00020311  0x00002ed5 istore  0x00000002 , 0x00000005 
+ 00020312  0x00002ed6 force  0x00000000 , 0x0000003f 
+ 00020313  0x00002ed7 istore  0x00000002 , 0x00000005 
+ 00020314  0x00002ed8 force  0x0000000a , 0x0000003f 
+ 00020315  0x00002ed9 iadd  0x00000012 , 0x00000012 
+ 00020316  0x00002edb storet  0x00000002 , 0x000002e9 
+ 00020317  0x00002edc copy  0x00000007 , 0x0000003f 
+ 00020318  0x00002edd store  0x00000001 , 0x000002e8 
+ 00020319  0x00002ede force  0x00000050 , 0x0000003f 
+ 00020320  0x00002edf icompare  0x000000ff , 0x0000000b 
+ 00020321  0x00002ee0 branch  0x00004f63 , 0x00000001 
+ 00020322  0x00002ee1 increase  0x00000001 , 0x0000003f 
+ 00020323  0x00002ee4 rtn 
+ 00020324  0x00002ee6 disable  0x00000028 
+ 00020325  0x00002ee7 rtnbit1  0x00000002 , 0x0000003f 
+ 00020326  0x00002ee8 rtnbit0  0x00000000 , 0x0000003f 
+ 00020327  0x00002ee9 rtnbit0  0x00000001 , 0x0000003f 
+ 00020328  0x00002eea set1  0x00000002 , 0x0000003f 
+ 00020329  0x00002eeb copy  0x00000006 , 0x00000005 
+ 00020330  0x00002eec increase  0xffffffff , 0x00000005 
+ 00020331  0x00002eed istore  0x00000001 , 0x00000005 
+ 00020332  0x00002eee enable  0x00000028 
+ 00020333  0x00002eef rtn 
+ 00020334  0x00002ef2 fetch  0x00000001 , 0x000042b9 
+ 00020335  0x00002ef3 call  0x00004f64 
+ 00020336  0x00002ef4 nbranch  0x00004f75 , 0x00000028 
+ 00020337  0x00002ef5 jam  0x00000050 , 0x000002e7 
+ 00020338  0x00002ef6 fetch  0x00000002 , 0x000042b1 
+ 00020339  0x00002ef7 store  0x00000002 , 0x000002e9 
+ 00020340  0x00002ef8 branch  0x00004f89 
+ 00020341  0x00002efa fetch  0x00000001 , 0x000042ba 
+ 00020342  0x00002efb call  0x00004f64 
+ 00020343  0x00002efc nbranch  0x00004f7c , 0x00000028 
+ 00020344  0x00002efd jam  0x00000051 , 0x000002e7 
+ 00020345  0x00002efe fetch  0x00000002 , 0x000042b3 
+ 00020346  0x00002eff store  0x00000002 , 0x000002e9 
+ 00020347  0x00002f00 branch  0x00004f89 
+ 00020348  0x00002f02 fetch  0x00000001 , 0x000042bb 
+ 00020349  0x00002f03 call  0x00004f64 
+ 00020350  0x00002f04 nbranch  0x00004f83 , 0x00000028 
+ 00020351  0x00002f05 jam  0x00000052 , 0x000002e7 
+ 00020352  0x00002f06 fetch  0x00000002 , 0x000042b5 
+ 00020353  0x00002f07 store  0x00000002 , 0x000002e9 
+ 00020354  0x00002f08 branch  0x00004f89 
+ 00020355  0x00002f0a fetch  0x00000001 , 0x000042bc 
+ 00020356  0x00002f0b call  0x00004f64 
+ 00020357  0x00002f0c nrtn  0x00000028 
+ 00020358  0x00002f0d jam  0x00000053 , 0x000002e7 
+ 00020359  0x00002f0e fetch  0x00000002 , 0x000042b7 
+ 00020360  0x00002f0f store  0x00000002 , 0x000002e9 
+ 00020361  0x00002f13 set1  0x00000025 , 0x00000000 
+ 00020362  0x00002f14 bpatch  0x0000001e , 0x00004023 
+ 00020363  0x00002f15 call  0x00005242 
+ 00020364  0x00002f16 call  0x000052c4 
+ 00020365  0x00002f17 force  0x00000000 , 0x00000012 
+ 00020366  0x00002f18 call  0x000052d0 
+ 00020367  0x00002f19 force  0x00000004 , 0x0000003f 
+ 00020368  0x00002f1a istore  0x00000001 , 0x00000005 
+ 00020369  0x00002f1b fetch  0x00000001 , 0x000042be 
+ 00020370  0x00002f1c istore  0x00000001 , 0x00000005 
+ 00020371  0x00002f1d setarg  0x00000008 
+ 00020372  0x00002f1e istore  0x00000002 , 0x00000005 
+ 00020373  0x00002f1f fetch  0x00000002 , 0x000002e9 
+ 00020374  0x00002f20 istore  0x00000002 , 0x00000005 
+ 00020375  0x00002f21 setarg  0x00000000 
+ 00020376  0x00002f22 istore  0x00000002 , 0x00000005 
+ 00020377  0x00002f23 force  0x00000001 , 0x0000003f 
+ 00020378  0x00002f24 istore  0x00000001 , 0x00000005 
+ 00020379  0x00002f25 force  0x00000002 , 0x0000003f 
+ 00020380  0x00002f26 istore  0x00000001 , 0x00000005 
+ 00020381  0x00002f27 fetch  0x00000001 , 0x000002e7 
+ 00020382  0x00002f28 beq  0x00000051 , 0x00004fa2 
+ 00020383  0x00002f29 setarg  0x00000030 
+ 00020384  0x00002f2a istore  0x00000002 , 0x00000005 
+ 00020385  0x00002f2b branch  0x00004fa4 
+ 00020386  0x00002f2d setarg  0x000003e3 
+ 00020387  0x00002f2e istore  0x00000002 , 0x00000005 
+ 00020388  0x00002f30 arg  0x0000000c , 0x00000002 
+ 00020389  0x00002f31 storet  0x00000002 , 0x000002d6 
+ 00020390  0x00002f32 call  0x000052ce 
+ 00020391  0x00002f33 fetch  0x00000002 , 0x000002d6 
+ 00020392  0x00002f34 istore  0x00000002 , 0x00000005 
+ 00020393  0x00002f35 force  0x00000001 , 0x0000003f 
+ 00020394  0x00002f36 istore  0x00000002 , 0x00000005 
+ 00020395  0x00002f37 jam  0x00000000 , 0x000002e7 
+ 00020396  0x00002f39 branch  0x00004e20 
+ 00020397  0x00002f3c increase  0x00000001 , 0x00000006 
+ 00020398  0x00002f3d ifetch  0x00000002 , 0x00000006 
+ 00020399  0x00002f3e copy  0x0000003f , 0x00000011 
+ 00020400  0x00002f3f copy  0x00000013 , 0x0000003f 
+ 00020401  0x00002f40 isub  0x00000011 , 0x00000013 
+ 00020402  0x00002f41 ifetch  0x00000002 , 0x00000006 
+ 00020403  0x00002f42 copy  0x0000003f , 0x00000011 
+ 00020404  0x00002f43 setarg  0x00000050 
+ 00020405  0x00002f44 isub  0x00000011 , 0x0000003e 
+ 00020406  0x00002f45 branch  0x00004fc4 , 0x00000005 
+ 00020407  0x00002f46 setarg  0x00000051 
+ 00020408  0x00002f47 isub  0x00000011 , 0x0000003e 
+ 00020409  0x00002f48 branch  0x00004fc8 , 0x00000005 
+ 00020410  0x00002f49 setarg  0x00000052 
+ 00020411  0x00002f4a isub  0x00000011 , 0x0000003e 
+ 00020412  0x00002f4b branch  0x00004fcc , 0x00000005 
+ 00020413  0x00002f4c setarg  0x00000053 
+ 00020414  0x00002f4d isub  0x00000011 , 0x0000003e 
+ 00020415  0x00002f4e branch  0x00004fd0 , 0x00000005 
+ 00020416  0x00002f4f increase  0x00000002 , 0x00000006 
+ 00020417  0x00002f50 ifetch  0x00000002 , 0x00000006 
+ 00020418  0x00002f51 iforce  0x0000003e 
+ 00020419  0x00002f52 branch  0x00004e20 
+ 00020420  0x00002f54 fetch  0x00000001 , 0x000042b9 
+ 00020421  0x00002f55 set1  0x00000005 , 0x0000003f 
+ 00020422  0x00002f56 store  0x00000001 , 0x000042b9 
+ 00020423  0x00002f57 branch  0x00004e20 
+ 00020424  0x00002f59 fetch  0x00000001 , 0x000042ba 
+ 00020425  0x00002f5a set1  0x00000005 , 0x0000003f 
+ 00020426  0x00002f5b store  0x00000001 , 0x000042ba 
+ 00020427  0x00002f5c branch  0x00004e20 
+ 00020428  0x00002f5e fetch  0x00000001 , 0x000042bb 
+ 00020429  0x00002f5f set1  0x00000005 , 0x0000003f 
+ 00020430  0x00002f60 store  0x00000001 , 0x000042bb 
+ 00020431  0x00002f61 branch  0x00004e20 
+ 00020432  0x00002f63 fetch  0x00000001 , 0x000042bc 
+ 00020433  0x00002f64 set1  0x00000005 , 0x0000003f 
+ 00020434  0x00002f65 store  0x00000001 , 0x000042bc 
+ 00020435  0x00002f66 jam  0x00000006 , 0x00000b7d 
+ 00020436  0x00002f67 branch  0x00007c27 
+ 00020437  0x00002f6c ifetch  0x00000001 , 0x00000006 
+ 00020438  0x00002f6d copy  0x0000003f , 0x00000007 
+ 00020439  0x00002f6e ifetch  0x00000002 , 0x00000006 
+ 00020440  0x00002f6f copy  0x0000003f , 0x00000011 
+ 00020441  0x00002f70 copy  0x00000013 , 0x0000003f 
+ 00020442  0x00002f71 isub  0x00000011 , 0x00000013 
+ 00020443  0x00002f72 ifetch  0x00000002 , 0x00000006 
+ 00020444  0x00002f73 copy  0x0000003f , 0x00000011 
+ 00020445  0x00002f74 ifetch  0x00000002 , 0x00000006 
+ 00020446  0x00002f75 copy  0x0000003f , 0x0000000b 
+ 00020447  0x00002f76 copy  0x00000011 , 0x00000002 
+ 00020448  0x00002f77 call  0x00007e1c 
+ 00020449  0x00002f78 setarg  0x00000050 
+ 00020450  0x00002f79 isub  0x00000002 , 0x0000003e 
+ 00020451  0x00002f7a branch  0x00004ffb , 0x00000005 
+ 00020452  0x00002f7b setarg  0x00000051 
+ 00020453  0x00002f7c isub  0x00000002 , 0x0000003e 
+ 00020454  0x00002f7d branch  0x0000500b , 0x00000005 
+ 00020455  0x00002f7e setarg  0x00000052 
+ 00020456  0x00002f7f isub  0x00000002 , 0x0000003e 
+ 00020457  0x00002f80 branch  0x00004fef , 0x00000005 
+ 00020458  0x00002f81 setarg  0x00000053 
+ 00020459  0x00002f82 isub  0x00000002 , 0x0000003e 
+ 00020460  0x00002f83 branch  0x00004ff5 , 0x00000005 
+ 00020461  0x00002f84 call  0x0000506a 
+ 00020462  0x00002f85 branch  0x00005020 
+ 00020463  0x00002f87 copy  0x0000000b , 0x00000002 
+ 00020464  0x00002f88 fetch  0x00000002 , 0x000042b5 
+ 00020465  0x00002f89 isub  0x00000002 , 0x0000003e 
+ 00020466  0x00002f8a branch  0x00005001 , 0x00000005 
+ 00020467  0x00002f8b call  0x0000506a 
+ 00020468  0x00002f8c branch  0x00005020 
+ 00020469  0x00002f8e copy  0x0000000b , 0x00000002 
+ 00020470  0x00002f8f fetch  0x00000002 , 0x000042b7 
+ 00020471  0x00002f90 isub  0x00000002 , 0x0000003e 
+ 00020472  0x00002f91 branch  0x00005003 , 0x00000005 
+ 00020473  0x00002f92 call  0x0000506a 
+ 00020474  0x00002f93 branch  0x00005020 
+ 00020475  0x00002f96 copy  0x0000000b , 0x00000002 
+ 00020476  0x00002f97 fetch  0x00000002 , 0x000042b1 
+ 00020477  0x00002f98 isub  0x00000002 , 0x0000003e 
+ 00020478  0x00002f99 branch  0x00005007 , 0x00000005 
+ 00020479  0x00002f9a call  0x0000506a 
+ 00020480  0x00002f9b branch  0x00005020 
+ 00020481  0x00002f9d call  0x00005081 
+ 00020482  0x00002f9e branch  0x00005013 
+ 00020483  0x00002fa0 call  0x00005087 
+ 00020484  0x00002fa1 fetch  0x00000002 , 0x000042b5 
+ 00020485  0x00002fa2 branch  0x00005013 , 0x00000034 
+ 00020486  0x00002faa branch  0x00005013 
+ 00020487  0x00002fad call  0x0000507c 
+ 00020488  0x00002fae fetch  0x00000001 , 0x000002ef 
+ 00020489  0x00002faf nbranch  0x00005013 , 0x00000034 
+ 00020490  0x00002fb2 branch  0x00005013 
+ 00020491  0x00002fb4 copy  0x0000000b , 0x00000002 
+ 00020492  0x00002fb5 fetch  0x00000002 , 0x000042b3 
+ 00020493  0x00002fb6 isub  0x00000002 , 0x0000003e 
+ 00020494  0x00002fb7 branch  0x00005011 , 0x00000005 
+ 00020495  0x00002fb8 call  0x0000506a 
+ 00020496  0x00002fb9 branch  0x00005020 
+ 00020497  0x00002fbb call  0x00005077 
+ 00020498  0x00002fbc branch  0x00005013 
+ 00020499  0x00002fbe call  0x00007e21 
+ 00020500  0x00002fbf setarg  0x00000007 
+ 00020501  0x00002fc0 istore  0x00000001 , 0x00000005 
+ 00020502  0x00002fc1 copy  0x00000007 , 0x0000003f 
+ 00020503  0x00002fc2 istore  0x00000001 , 0x00000005 
+ 00020504  0x00002fc3 setarg  0x00000004 
+ 00020505  0x00002fc4 istore  0x00000002 , 0x00000005 
+ 00020506  0x00002fc5 copy  0x00000011 , 0x0000003f 
+ 00020507  0x00002fc6 istore  0x00000002 , 0x00000005 
+ 00020508  0x00002fc7 copy  0x0000000b , 0x0000003f 
+ 00020509  0x00002fc8 istore  0x00000002 , 0x00000005 
+ 00020510  0x00002fc9 force  0x00000008 , 0x0000003f 
+ 00020511  0x00002fca branch  0x00005022 
+ 00020512  0x00002fcc call  0x00007e21 
+ 00020513  0x00002fcd branch  0x00005022 
+ 00020514  0x00002fcf iadd  0x00000012 , 0x00000012 
+ 00020515  0x00002fd0 branch  0x00004e20 
+ 00020516  0x00002fd2 ifetch  0x00000001 , 0x00000006 
+ 00020517  0x00002fd3 copy  0x0000003f , 0x00000007 
+ 00020518  0x00002fd4 ifetch  0x00000002 , 0x00000006 
+ 00020519  0x00002fd5 copy  0x0000003f , 0x00000011 
+ 00020520  0x00002fd6 copy  0x00000013 , 0x0000003f 
+ 00020521  0x00002fd7 isub  0x00000011 , 0x00000013 
+ 00020522  0x00002fd8 ifetch  0x00000002 , 0x00000006 
+ 00020523  0x00002fd9 copy  0x0000003f , 0x0000000b 
+ 00020524  0x00002fda ifetch  0x00000002 , 0x00000006 
+ 00020525  0x00002fdb copy  0x0000003f , 0x00000002 
+ 00020526  0x00002fdc call  0x00007e1c 
+ 00020527  0x00002fdd setarg  0x00000050 
+ 00020528  0x00002fde isub  0x00000002 , 0x0000003e 
+ 00020529  0x00002fdf branch  0x0000503d , 0x00000005 
+ 00020530  0x00002fe0 setarg  0x00000051 
+ 00020531  0x00002fe1 isub  0x00000002 , 0x0000003e 
+ 00020532  0x00002fe2 branch  0x00005043 , 0x00000005 
+ 00020533  0x00002fe3 setarg  0x00000052 
+ 00020534  0x00002fe4 isub  0x00000002 , 0x0000003e 
+ 00020535  0x00002fe5 branch  0x00005049 , 0x00000005 
+ 00020536  0x00002fe6 setarg  0x00000053 
+ 00020537  0x00002fe7 isub  0x00000002 , 0x0000003e 
+ 00020538  0x00002fe8 branch  0x0000504f , 0x00000005 
+ 00020539  0x00002fe9 call  0x0000506a 
+ 00020540  0x00002fea branch  0x00005057 
+ 00020541  0x00002fec copy  0x00000002 , 0x00000011 
+ 00020542  0x00002fed copy  0x0000000b , 0x00000002 
+ 00020543  0x00002fee fetch  0x00000002 , 0x000042b1 
+ 00020544  0x00002fef isub  0x00000002 , 0x0000003e 
+ 00020545  0x00002ff0 call  0x0000507c , 0x00000005 
+ 00020546  0x00002ff1 branch  0x00005055 
+ 00020547  0x00002ff3 copy  0x00000002 , 0x00000011 
+ 00020548  0x00002ff4 copy  0x0000000b , 0x00000002 
+ 00020549  0x00002ff5 fetch  0x00000002 , 0x000042b3 
+ 00020550  0x00002ff6 isub  0x00000002 , 0x0000003e 
+ 00020551  0x00002ff7 call  0x00005077 , 0x00000005 
+ 00020552  0x00002ff8 branch  0x00005055 
+ 00020553  0x00002ffa copy  0x00000002 , 0x00000011 
+ 00020554  0x00002ffb copy  0x0000000b , 0x00000002 
+ 00020555  0x00002ffc fetch  0x00000002 , 0x000042b5 
+ 00020556  0x00002ffd isub  0x00000002 , 0x0000003e 
+ 00020557  0x00002ffe call  0x00005081 , 0x00000005 
+ 00020558  0x00002fff branch  0x00005055 
+ 00020559  0x00003001 copy  0x00000002 , 0x00000011 
+ 00020560  0x00003002 copy  0x0000000b , 0x00000002 
+ 00020561  0x00003003 fetch  0x00000002 , 0x000042b7 
+ 00020562  0x00003004 isub  0x00000002 , 0x0000003e 
+ 00020563  0x00003005 call  0x00005087 , 0x00000005 
+ 00020564  0x00003006 branch  0x00005055 
+ 00020565  0x00003008 call  0x00007e21 
+ 00020566  0x00003009 branch  0x00004e20 
+ 00020567  0x0000300b branch  0x00004e20 
+ 00020568  0x0000300f ifetch  0x00000001 , 0x00000006 
+ 00020569  0x00003010 copy  0x0000003f , 0x00000007 
+ 00020570  0x00003011 ifetch  0x00000002 , 0x00000006 
+ 00020571  0x00003012 copy  0x0000003f , 0x00000011 
+ 00020572  0x00003013 iadd  0x00000006 , 0x00000006 
+ 00020573  0x00003014 setarg  0x00000009 
+ 00020574  0x00003015 istore  0x00000001 , 0x00000005 
+ 00020575  0x00003016 copy  0x00000007 , 0x0000003f 
+ 00020576  0x00003017 istore  0x00000001 , 0x00000005 
+ 00020577  0x00003018 force  0x00000000 , 0x0000003f 
+ 00020578  0x00003019 istore  0x00000002 , 0x00000005 
+ 00020579  0x0000301a force  0x00000004 , 0x0000003f 
+ 00020580  0x0000301b iadd  0x00000012 , 0x00000012 
+ 00020581  0x0000301c copy  0x00000013 , 0x0000003f 
+ 00020582  0x0000301d isub  0x00000011 , 0x00000013 
+ 00020583  0x0000301e branch  0x00004e20 
+ 00020584  0x00003020 branch  0x00004e20 
+ 00020585  0x00003023 branch  0x00004e20 
+ 00020586  0x00003025 force  0x00000000 , 0x00000012 
+ 00020587  0x00003026 call  0x000052d0 
+ 00020588  0x00003027 setarg  0x00000001 
+ 00020589  0x00003028 istore  0x00000001 , 0x00000005 
+ 00020590  0x00003029 copy  0x00000007 , 0x0000003f 
+ 00020591  0x0000302a istore  0x00000001 , 0x00000005 
+ 00020592  0x0000302b setarg  0x00000002 
+ 00020593  0x0000302c istore  0x00000002 , 0x00000005 
+ 00020594  0x0000302d setarg  0x00000000 
+ 00020595  0x0000302e istore  0x00000002 , 0x00000005 
+ 00020596  0x0000302f increase  0x00000006 , 0x00000012 
+ 00020597  0x00003030 arg  0x00000004 , 0x00000013 
+ 00020598  0x00003031 branch  0x00004e20 
+ 00020599  0x00003036 setarg  0x00000000 
+ 00020600  0x00003037 store  0x00000002 , 0x000002e2 
+ 00020601  0x00003038 store  0x00000002 , 0x000042b3 
+ 00020602  0x00003039 jam  0x00000000 , 0x000042ba 
+ 00020603  0x0000303a rtn 
+ 00020604  0x0000303c setarg  0x00000000 
+ 00020605  0x0000303d store  0x00000002 , 0x000002dc 
+ 00020606  0x0000303e store  0x00000002 , 0x000042b1 
+ 00020607  0x0000303f jam  0x00000000 , 0x000042b9 
+ 00020608  0x00003040 rtn 
+ 00020609  0x00003042 setarg  0x00000000 
+ 00020610  0x00003043 store  0x00000002 , 0x000042b5 
+ 00020611  0x00003044 jam  0x00000000 , 0x000042bb 
+ 00020612  0x00003045 fetch  0x00000001 , 0x000042bc 
+ 00020613  0x00003046 beq  0x00000000 , 0x0000508d 
+ 00020614  0x00003047 rtn 
+ 00020615  0x0000304a setarg  0x00000000 
+ 00020616  0x0000304b store  0x00000002 , 0x000042b7 
+ 00020617  0x0000304c jam  0x00000000 , 0x000042bc 
+ 00020618  0x0000304d fetch  0x00000001 , 0x000042bb 
+ 00020619  0x0000304e beq  0x00000000 , 0x0000508d 
+ 00020620  0x0000304f rtn 
+ 00020621  0x00003052 jam  0x00000007 , 0x00000b7d 
+ 00020622  0x00003053 branch  0x00007c27 
+ 00020623  0x00003056 fetch  0x00000001 , 0x000002e6 
+ 00020624  0x00003057 set0  0x00000000 , 0x0000003f 
+ 00020625  0x00003058 store  0x00000001 , 0x000002e6 
+ 00020626  0x00003059 fetch  0x00000002 , 0x000042b7 
+ 00020627  0x0000305a rtn  0x00000034 
+ 00020628  0x0000305b call  0x000052c4 
+ 00020629  0x0000305c fetch  0x00000002 , 0x000042b7 
+ 00020630  0x0000305d copy  0x0000003f , 0x00000011 
+ 00020631  0x0000305e force  0x00000053 , 0x00000012 
+ 00020632  0x0000305f branch  0x000050a2 
+ 00020633  0x00003061 fetch  0x00000001 , 0x000002e6 
+ 00020634  0x00003062 set0  0x00000007 , 0x0000003f 
+ 00020635  0x00003063 store  0x00000001 , 0x000002e6 
+ 00020636  0x00003064 fetch  0x00000002 , 0x000042b5 
+ 00020637  0x00003065 rtn  0x00000034 
+ 00020638  0x00003066 call  0x000052c4 
+ 00020639  0x00003067 fetch  0x00000002 , 0x000042b5 
+ 00020640  0x00003068 copy  0x0000003f , 0x00000011 
+ 00020641  0x00003069 force  0x00000052 , 0x00000012 
+ 00020642  0x0000306b call  0x00005242 
+ 00020643  0x0000306c call  0x000052d0 
+ 00020644  0x0000306d force  0x00000006 , 0x0000003f 
+ 00020645  0x0000306e istore  0x00000001 , 0x00000005 
+ 00020646  0x0000306f fetch  0x00000001 , 0x000042be 
+ 00020647  0x00003070 istore  0x00000001 , 0x00000005 
+ 00020648  0x00003071 setarg  0x00000004 
+ 00020649  0x00003072 istore  0x00000002 , 0x00000005 
+ 00020650  0x00003073 copy  0x00000011 , 0x0000003f 
+ 00020651  0x00003074 istore  0x00000002 , 0x00000005 
+ 00020652  0x00003075 copy  0x00000012 , 0x0000003f 
+ 00020653  0x00003076 istore  0x00000002 , 0x00000005 
+ 00020654  0x00003077 force  0x00000008 , 0x00000002 
+ 00020655  0x00003078 branch  0x000050e9 
+ 00020656  0x0000307b set1  0x00000025 , 0x00000000 
+ 00020657  0x0000307c bpatch  0x0000001f , 0x00004023 
+ 00020658  0x0000307d call  0x00005242 
+ 00020659  0x0000307e call  0x000052d0 
+ 00020660  0x0000307f setarg  0x00000002 
+ 00020661  0x00003080 istore  0x00000001 , 0x00000005 
+ 00020662  0x00003081 fetch  0x00000001 , 0x000042be 
+ 00020663  0x00003082 istore  0x00000001 , 0x00000005 
+ 00020664  0x00003083 setarg  0x00000004 
+ 00020665  0x00003084 istore  0x00000002 , 0x00000005 
+ 00020666  0x00003085 copy  0x00000002 , 0x0000003f 
+ 00020667  0x00003086 istore  0x00000002 , 0x00000005 
+ 00020668  0x00003087 copy  0x0000000b , 0x0000003f 
+ 00020669  0x00003088 istore  0x00000002 , 0x00000005 
+ 00020670  0x00003089 arg  0x00000008 , 0x00000002 
+ 00020671  0x0000308a branch  0x000050e9 
+ 00020672  0x0000308c set1  0x00000025 , 0x00000000 
+ 00020673  0x0000308d bpatch  0x00000020 , 0x00004024 
+ 00020674  0x0000308e call  0x00005242 
+ 00020675  0x0000308f call  0x000052d0 
+ 00020676  0x00003090 setarg  0x00000004 
+ 00020677  0x00003091 istore  0x00000001 , 0x00000005 
+ 00020678  0x00003092 fetch  0x00000001 , 0x000042be 
+ 00020679  0x00003093 istore  0x00000001 , 0x00000005 
+ 00020680  0x00003094 setarg  0x00000008 
+ 00020681  0x00003095 istore  0x00000002 , 0x00000005 
+ 00020682  0x00003097 copy  0x00000002 , 0x0000003f 
+ 00020683  0x00003099 istore  0x00000002 , 0x00000005 
+ 00020684  0x0000309a setarg  0x00000000 
+ 00020685  0x0000309b istore  0x00000002 , 0x00000005 
+ 00020686  0x0000309c setarg  0x00000001 
+ 00020687  0x0000309d istore  0x00000001 , 0x00000005 
+ 00020688  0x0000309e setarg  0x00000002 
+ 00020689  0x0000309f istore  0x00000001 , 0x00000005 
+ 00020690  0x000030a0 setarg  0x000003e3 
+ 00020691  0x000030a1 istore  0x00000002 , 0x00000005 
+ 00020692  0x000030a2 arg  0x0000000c , 0x00000002 
+ 00020693  0x000030a3 branch  0x000050e9 
+ 00020694  0x000030a5 set1  0x00000025 , 0x00000000 
+ 00020695  0x000030a6 bpatch  0x00000021 , 0x00004024 
+ 00020696  0x000030a7 call  0x00005242 
+ 00020697  0x000030a8 call  0x000052d0 
+ 00020698  0x000030a9 setarg  0x00000006 
+ 00020699  0x000030aa istore  0x00000001 , 0x00000005 
+ 00020700  0x000030ab fetch  0x00000001 , 0x000042be 
+ 00020701  0x000030ac increase  0x00000001 , 0x0000003f 
+ 00020702  0x000030ad copy  0x00000005 , 0x00000011 
+ 00020703  0x000030ae store  0x00000001 , 0x000042be 
+ 00020704  0x000030af copy  0x00000011 , 0x00000005 
+ 00020705  0x000030b0 istore  0x00000001 , 0x00000005 
+ 00020706  0x000030b1 setarg  0x00000004 
+ 00020707  0x000030b2 istore  0x00000002 , 0x00000005 
+ 00020708  0x000030b3 copy  0x00000002 , 0x0000003f 
+ 00020709  0x000030b4 istore  0x00000002 , 0x00000005 
+ 00020710  0x000030b5 copy  0x0000000b , 0x0000003f 
+ 00020711  0x000030b6 istore  0x00000002 , 0x00000005 
+ 00020712  0x000030b7 arg  0x00000008 , 0x00000002 
+ 00020713  0x000030bb storet  0x00000002 , 0x000002d6 
+ 00020714  0x000030bc copy  0x00000002 , 0x0000003f 
+ 00020715  0x000030bd branch  0x0000526f , 0x00000034 
+ 00020716  0x000030be call  0x000052ce 
+ 00020717  0x000030bf fetch  0x00000002 , 0x000002d6 
+ 00020718  0x000030c0 istore  0x00000002 , 0x00000005 
+ 00020719  0x000030c1 force  0x00000001 , 0x0000003f 
+ 00020720  0x000030c2 istore  0x00000002 , 0x00000005 
+ 00020721  0x000030c3 rtn 
+ 00020722  0x000030c6 fetch  0x00000002 , 0x000002dc 
+ 00020723  0x000030c7 branch  0x00003bf1 , 0x00000034 
+ 00020724  0x000030c8 call  0x000052dc 
+ 00020725  0x000030c9 fetch  0x00000002 , 0x000002dc 
+ 00020726  0x000030ca istore  0x00000002 , 0x00000005 
+ 00020727  0x000030cb fetch  0x00000002 , 0x000042b1 
+ 00020728  0x000030cc istore  0x00000002 , 0x00000005 
+ 00020729  0x000030cd rtn 
+ 00020730  0x000030cf set1  0x00000025 , 0x00000000 
+ 00020731  0x000030d0 bpatch  0x00000022 , 0x00004024 
+ 00020732  0x000030d1 fetch  0x00000002 , 0x000002cd 
+ 00020733  0x000030d2 branch  0x00004dfc , 0x00000034 
+ 00020734  0x000030d3 fetch  0x00000001 , 0x000002cf 
+ 00020735  0x000030d4 beq  0x00000001 , 0x00005105 
+ 00020736  0x000030d5 beq  0x00000050 , 0x00004de7 
+ 00020737  0x000030d6 beq  0x00000051 , 0x00004df4 
+ 00020738  0x000030d7 beq  0x00000052 , 0x00004df2 
+ 00020739  0x000030d8 beq  0x00000053 , 0x00004df2 
+ 00020740  0x000030d9 branch  0x00004dfc 
+ 00020741  0x000030dc set1  0x00000025 , 0x00000000 
+ 00020742  0x000030dd bpatch  0x00000023 , 0x00004024 
+ 00020743  0x000030de call  0x000052c4 
+ 00020744  0x000030df force  0x00000000 , 0x00000012 
+ 00020745  0x000030e0 call  0x000052d0 
+ 00020746  0x000030e1 copy  0x0000003f , 0x00000005 
+ 00020747  0x000030e2 fetch  0x00000002 , 0x000002cd 
+ 00020748  0x000030e3 copy  0x0000003f , 0x00000013 
+ 00020749  0x000030e4 fetch  0x00000002 , 0x000002cb 
+ 00020750  0x000030e5 iforce  0x00000006 
+ 00020751  0x000030e7 call  0x00005115 
+ 00020752  0x000030e8 increase  0xfffffffc , 0x00000013 
+ 00020753  0x000030e9 nbranch  0x0000510f , 0x00000005 
+ 00020754  0x000030ea copy  0x00000012 , 0x00000002 
+ 00020755  0x000030eb call  0x000050e9 
+ 00020756  0x000030ec branch  0x00004dfc 
+ 00020757  0x000030ef ifetch  0x00000001 , 0x00000006 
+ 00020758  0x000030f0 beq  0x00000002 , 0x00005120 
+ 00020759  0x000030f1 beq  0x00000001 , 0x00005123 
+ 00020760  0x000030f2 beq  0x00000003 , 0x0000512d 
+ 00020761  0x000030f3 beq  0x00000005 , 0x00005168 
+ 00020762  0x000030f4 beq  0x00000004 , 0x00005199 
+ 00020763  0x000030f5 beq  0x00000007 , 0x0000521c 
+ 00020764  0x000030f6 beq  0x00000006 , 0x000051eb 
+ 00020765  0x000030f7 beq  0x00000008 , 0x00005058 
+ 00020766  0x000030f8 beq  0x0000000a , 0x00004e3a 
+ 00020767  0x000030f9 branch  0x00005236 
+ 00020768  0x000030fc call  0x00007e1c 
+ 00020769  0x000030fe call  0x00007e21 
+ 00020770  0x000030ff branch  0x00004e5c 
+ 00020771  0x00003101 ifetch  0x00000001 , 0x00000006 
+ 00020772  0x00003102 copy  0x0000003f , 0x00000007 
+ 00020773  0x00003103 ifetch  0x00000002 , 0x00000006 
+ 00020774  0x00003104 copy  0x0000003f , 0x00000011 
+ 00020775  0x00003105 copy  0x00000013 , 0x0000003f 
+ 00020776  0x00003106 isub  0x00000011 , 0x00000013 
+ 00020777  0x00003108 ifetch  0x00000001 , 0x00000006 
+ 00020778  0x00003109 increase  0xffffffff , 0x00000011 
+ 00020779  0x0000310a nbranch  0x00005129 , 0x00000005 
+ 00020780  0x0000310b rtn 
+ 00020781  0x0000310d ifetch  0x00000001 , 0x00000006 
+ 00020782  0x0000310e copy  0x0000003f , 0x00000007 
+ 00020783  0x0000310f ifetch  0x00000002 , 0x00000006 
+ 00020784  0x00003110 copy  0x0000003f , 0x00000011 
+ 00020785  0x00003111 ifetch  0x00000002 , 0x00000006 
+ 00020786  0x00003112 copy  0x0000003f , 0x0000000b 
+ 00020787  0x00003113 ifetch  0x00000002 , 0x00000006 
+ 00020788  0x00003114 copy  0x0000003f , 0x00000002 
+ 00020789  0x00003115 ifetch  0x00000002 , 0x00000006 
+ 00020790  0x00003116 sub  0x0000003f , 0x00000000 , 0x0000003e 
+ 00020791  0x00003117 branch  0x0000513f , 0x00000005 
+ 00020792  0x00003118 beq  0x00000002 , 0x0000513b 
+ 00020793  0x00003119 beq  0x00000004 , 0x0000513b 
+ 00020794  0x0000311a branch  0x0000513d 
+ 00020795  0x0000311c jam  0x00000016 , 0x00000b7d 
+ 00020796  0x0000311d call  0x00007c27 
+ 00020797  0x0000311f ifetch  0x00000002 , 0x00000006 
+ 00020798  0x00003120 branch  0x00005165 
+ 00020799  0x00003122 call  0x00007e1c 
+ 00020800  0x00003126 setarg  0x00000050 
+ 00020801  0x00003127 isub  0x00000002 , 0x0000003e 
+ 00020802  0x00003128 branch  0x0000514d , 0x00000005 
+ 00020803  0x00003129 setarg  0x00000051 
+ 00020804  0x0000312a isub  0x00000002 , 0x0000003e 
+ 00020805  0x0000312b branch  0x00005153 , 0x00000005 
+ 00020806  0x0000312c setarg  0x00000053 
+ 00020807  0x0000312d isub  0x00000002 , 0x0000003e 
+ 00020808  0x0000312e branch  0x0000515f , 0x00000005 
+ 00020809  0x0000312f setarg  0x00000052 
+ 00020810  0x00003130 isub  0x00000002 , 0x0000003e 
+ 00020811  0x00003131 branch  0x00005159 , 0x00000005 
+ 00020812  0x00003132 branch  0x00005165 
+ 00020813  0x00003134 copy  0x0000000b , 0x0000003f 
+ 00020814  0x00003135 store  0x00000002 , 0x000042b1 
+ 00020815  0x00003136 fetch  0x00000001 , 0x000042b9 
+ 00020816  0x00003137 set1  0x00000001 
+ 00020817  0x00003138 store  0x00000001 , 0x000042b9 
+ 00020818  0x00003139 branch  0x00005164 
+ 00020819  0x0000313b copy  0x0000000b , 0x0000003f 
+ 00020820  0x0000313c store  0x00000002 , 0x000042b3 
+ 00020821  0x0000313d fetch  0x00000001 , 0x000042ba 
+ 00020822  0x0000313e set1  0x00000001 
+ 00020823  0x0000313f store  0x00000001 , 0x000042ba 
+ 00020824  0x00003140 branch  0x00005164 
+ 00020825  0x00003142 copy  0x0000000b , 0x0000003f 
+ 00020826  0x00003143 store  0x00000002 , 0x000042b5 
+ 00020827  0x00003144 fetch  0x00000001 , 0x000042bb 
+ 00020828  0x00003145 set1  0x00000001 
+ 00020829  0x00003146 store  0x00000001 , 0x000042bb 
+ 00020830  0x00003147 branch  0x00005164 
+ 00020831  0x00003149 copy  0x0000000b , 0x0000003f 
+ 00020832  0x0000314a store  0x00000002 , 0x000042b7 
+ 00020833  0x0000314b fetch  0x00000001 , 0x000042bc 
+ 00020834  0x0000314c set1  0x00000001 
+ 00020835  0x0000314d store  0x00000001 , 0x000042bc 
+ 00020836  0x00003151 call  0x00007e21 
+ 00020837  0x00003153 copy  0x00000013 , 0x0000003f 
+ 00020838  0x00003154 isub  0x00000011 , 0x00000013 
+ 00020839  0x00003155 rtn 
+ 00020840  0x00003158 ifetch  0x00000001 , 0x00000006 
+ 00020841  0x00003159 copy  0x0000003f , 0x00000007 
+ 00020842  0x0000315a ifetch  0x00000002 , 0x00000006 
+ 00020843  0x0000315b copy  0x0000003f , 0x00000011 
+ 00020844  0x0000315c copy  0x00000013 , 0x0000003f 
+ 00020845  0x0000315d isub  0x00000011 , 0x00000013 
+ 00020846  0x0000315e ifetch  0x00000002 , 0x00000006 
+ 00020847  0x0000315f copy  0x0000003f , 0x0000000b 
+ 00020848  0x00003160 ifetch  0x00000002 , 0x00000006 
+ 00020849  0x00003161 ifetch  0x00000002 , 0x00000006 
+ 00020850  0x00003162 nbranch  0x00005193 , 0x00000034 
+ 00020851  0x00003163 call  0x00007e1c 
+ 00020852  0x00003167 copy  0x0000000b , 0x00000002 
+ 00020853  0x00003168 setarg  0x00000050 
+ 00020854  0x00003169 isub  0x00000002 , 0x0000003e 
+ 00020855  0x0000316a branch  0x00005181 , 0x00000005 
+ 00020856  0x0000316b setarg  0x00000051 
+ 00020857  0x0000316c isub  0x00000002 , 0x0000003e 
+ 00020858  0x0000316d branch  0x00005185 , 0x00000005 
+ 00020859  0x0000316e setarg  0x00000052 
+ 00020860  0x0000316f isub  0x00000002 , 0x0000003e 
+ 00020861  0x00003170 branch  0x00005189 , 0x00000005 
+ 00020862  0x00003171 setarg  0x00000053 
+ 00020863  0x00003172 isub  0x00000002 , 0x0000003e 
+ 00020864  0x00003173 branch  0x0000518d , 0x00000005 
+ 00020865  0x00003175 fetch  0x00000001 , 0x000042b9 
+ 00020866  0x00003176 set1  0x00000005 
+ 00020867  0x00003177 store  0x00000001 , 0x000042b9 
+ 00020868  0x00003178 rtn 
+ 00020869  0x0000317a fetch  0x00000001 , 0x000042ba 
+ 00020870  0x0000317b set1  0x00000005 
+ 00020871  0x0000317c store  0x00000001 , 0x000042ba 
+ 00020872  0x0000317d rtn 
+ 00020873  0x0000317f fetch  0x00000001 , 0x000042bb 
+ 00020874  0x00003180 set1  0x00000005 
+ 00020875  0x00003181 store  0x00000001 , 0x000042bb 
+ 00020876  0x00003182 rtn 
+ 00020877  0x00003184 fetch  0x00000001 , 0x000042bc 
+ 00020878  0x00003185 set1  0x00000005 
+ 00020879  0x00003186 store  0x00000001 , 0x000042bc 
+ 00020880  0x00003187 jam  0x00000006 , 0x00000b7d 
+ 00020881  0x00003188 branch  0x00007c27 
+ 00020882  0x0000318c call  0x00007e21 
+ 00020883  0x0000318e increase  0xfffffffa , 0x00000011 
+ 00020884  0x00003190 branch  0x00005198 , 0x00000005 
+ 00020885  0x00003191 increase  0x00000001 , 0x00000006 
+ 00020886  0x00003192 increase  0xffffffff , 0x00000011 
+ 00020887  0x00003193 branch  0x00005194 
+ 00020888  0x00003195 rtn 
+ 00020889  0x00003197 ifetch  0x00000001 , 0x00000006 
+ 00020890  0x00003198 copy  0x0000003f , 0x00000007 
+ 00020891  0x00003199 ifetch  0x00000002 , 0x00000006 
+ 00020892  0x0000319a copy  0x0000003f , 0x00000011 
+ 00020893  0x0000319b copy  0x00000013 , 0x0000003f 
+ 00020894  0x0000319c isub  0x00000011 , 0x00000013 
+ 00020895  0x0000319d ifetch  0x00000002 , 0x00000006 
+ 00020896  0x0000319e increase  0x00000002 , 0x00000006 
+ 00020897  0x0000319f copy  0x0000003f , 0x00000002 
+ 00020898  0x000031a0 setarg  0x00000005 
+ 00020899  0x000031a1 istore  0x00000001 , 0x00000005 
+ 00020900  0x000031a2 copy  0x00000007 , 0x0000003f 
+ 00020901  0x000031a3 istore  0x00000001 , 0x00000005 
+ 00020902  0x000031a4 increase  0x00000002 , 0x00000011 
+ 00020903  0x000031a5 copy  0x00000011 , 0x0000003f 
+ 00020904  0x000031a6 istore  0x00000002 , 0x00000005 
+ 00020905  0x000031a7 call  0x00007e1c 
+ 00020906  0x000031a8 setarg  0x00000050 
+ 00020907  0x000031a9 isub  0x00000002 , 0x0000003e 
+ 00020908  0x000031aa branch  0x000051b7 , 0x00000005 
+ 00020909  0x000031ab setarg  0x00000051 
+ 00020910  0x000031ac isub  0x00000002 , 0x0000003e 
+ 00020911  0x000031ad branch  0x000051c8 , 0x00000005 
+ 00020912  0x000031ae setarg  0x00000052 
+ 00020913  0x000031af isub  0x00000002 , 0x0000003e 
+ 00020914  0x000031b0 branch  0x000051ce , 0x00000005 
+ 00020915  0x000031b1 setarg  0x00000053 
+ 00020916  0x000031b2 isub  0x00000002 , 0x0000003e 
+ 00020917  0x000031b3 branch  0x000051d4 , 0x00000005 
+ 00020918  0x000031b4 branch  0x000051d9 
+ 00020919  0x000031b6 fetch  0x00000001 , 0x000042b9 
+ 00020920  0x000031b7 set1  0x00000004 , 0x0000003f 
+ 00020921  0x000031b8 set1  0x00000003 , 0x0000003f 
+ 00020922  0x000031b9 store  0x00000001 , 0x000042b9 
+ 00020923  0x000031ba bbit1  0x00000002 , 0x000051c5 
+ 00020924  0x000031bb fetcht  0x00000001 , 0x000002e6 
+ 00020925  0x000031bc set1  0x00000006 , 0x00000002 
+ 00020926  0x000031bd storet  0x00000001 , 0x000002e6 
+ 00020927  0x000031be copy  0x00000007 , 0x0000003f 
+ 00020928  0x000031bf increase  0x00000001 , 0x0000003f 
+ 00020929  0x000031c0 store  0x00000001 , 0x000002e8 
+ 00020930  0x000031c1 fetch  0x00000001 , 0x000042b9 
+ 00020931  0x000031c2 set1  0x00000002 , 0x0000003f 
+ 00020932  0x000031c3 store  0x00000001 , 0x000042b9 
+ 00020933  0x000031c5 fetch  0x00000002 , 0x000042b1 
+ 00020934  0x000031c6 store  0x00000002 , 0x000002e9 
+ 00020935  0x000031c7 branch  0x000051d9 
+ 00020936  0x000031c9 fetch  0x00000001 , 0x000042ba 
+ 00020937  0x000031ca set1  0x00000004 , 0x0000003f 
+ 00020938  0x000031cb set1  0x00000003 , 0x0000003f 
+ 00020939  0x000031cc store  0x00000001 , 0x000042ba 
+ 00020940  0x000031cd fetch  0x00000002 , 0x000042b3 
+ 00020941  0x000031ce branch  0x000051d9 
+ 00020942  0x000031d0 fetch  0x00000001 , 0x000042bb 
+ 00020943  0x000031d1 set1  0x00000004 , 0x0000003f 
+ 00020944  0x000031d2 set1  0x00000003 , 0x0000003f 
+ 00020945  0x000031d3 store  0x00000001 , 0x000042bb 
+ 00020946  0x000031d4 fetch  0x00000002 , 0x000042b5 
+ 00020947  0x000031d5 branch  0x000051d9 
+ 00020948  0x000031d7 fetch  0x00000001 , 0x000042bc 
+ 00020949  0x000031d8 set1  0x00000004 , 0x0000003f 
+ 00020950  0x000031d9 set1  0x00000003 , 0x0000003f 
+ 00020951  0x000031da store  0x00000001 , 0x000042bc 
+ 00020952  0x000031db fetch  0x00000002 , 0x000042b7 
+ 00020953  0x000031df copy  0x0000003f , 0x0000000b 
+ 00020954  0x000031e0 call  0x00007e21 
+ 00020955  0x000031e2 copy  0x0000000b , 0x0000003f 
+ 00020956  0x000031e4 istore  0x00000002 , 0x00000005 
+ 00020957  0x000031e5 force  0x00000000 , 0x0000003f 
+ 00020958  0x000031e6 istore  0x00000002 , 0x00000005 
+ 00020959  0x000031e7 force  0x00000000 , 0x0000003f 
+ 00020960  0x000031e8 istore  0x00000002 , 0x00000005 
+ 00020961  0x000031e9 force  0x0000000a , 0x0000003f 
+ 00020962  0x000031ea iadd  0x00000012 , 0x00000012 
+ 00020963  0x000031eb increase  0xfffffffa , 0x00000011 
+ 00020964  0x000031ed branch  0x000051ea , 0x00000005 
+ 00020965  0x000031ee ifetch  0x00000001 , 0x00000006 
+ 00020966  0x000031ef istore  0x00000001 , 0x00000005 
+ 00020967  0x000031f0 increase  0x00000001 , 0x00000012 
+ 00020968  0x000031f1 increase  0xffffffff , 0x00000011 
+ 00020969  0x000031f2 branch  0x000051e4 
+ 00020970  0x000031f4 rtn 
+ 00020971  0x000031f6 ifetch  0x00000001 , 0x00000006 
+ 00020972  0x000031f7 copy  0x0000003f , 0x00000007 
+ 00020973  0x000031f8 ifetch  0x00000002 , 0x00000006 
+ 00020974  0x000031f9 copy  0x0000003f , 0x00000011 
+ 00020975  0x000031fa copy  0x00000013 , 0x0000003f 
+ 00020976  0x000031fb isub  0x00000011 , 0x00000013 
+ 00020977  0x000031fd ifetch  0x00000002 , 0x00000006 
+ 00020978  0x000031fe copy  0x0000003f , 0x00000011 
+ 00020979  0x000031ff ifetch  0x00000002 , 0x00000006 
+ 00020980  0x00003200 copy  0x0000003f , 0x0000000b 
+ 00020981  0x00003201 call  0x00007e1c 
+ 00020982  0x00003202 setarg  0x00000050 
+ 00020983  0x00003203 copy  0x00000011 , 0x00000002 
+ 00020984  0x00003204 isub  0x00000002 , 0x0000003e 
+ 00020985  0x00003205 branch  0x00005203 , 0x00000005 
+ 00020986  0x00003206 setarg  0x00000052 
+ 00020987  0x00003207 copy  0x00000011 , 0x00000002 
+ 00020988  0x00003208 isub  0x00000002 , 0x0000003e 
+ 00020989  0x00003209 branch  0x00005208 , 0x00000005 
+ 00020990  0x0000320a setarg  0x00000053 
+ 00020991  0x0000320b copy  0x00000011 , 0x00000002 
+ 00020992  0x0000320c isub  0x00000002 , 0x0000003e 
+ 00020993  0x0000320d branch  0x0000520a , 0x00000005 
+ 00020994  0x0000320e branch  0x0000520c 
+ 00020995  0x00003210 setarg  0x00000000 
+ 00020996  0x00003211 store  0x00000002 , 0x000002dc 
+ 00020997  0x00003212 store  0x00000002 , 0x000042b1 
+ 00020998  0x00003213 store  0x00000001 , 0x000042b9 
+ 00020999  0x00003214 branch  0x0000520e 
+ 00021000  0x00003216 call  0x00005081 
+ 00021001  0x00003217 branch  0x0000520e 
+ 00021002  0x00003219 call  0x00005087 
+ 00021003  0x0000321f branch  0x0000520e 
+ 00021004  0x00003221 setarg  0x00000000 
+ 00021005  0x00003222 store  0x00000002 , 0x000002e2 
+ 00021006  0x00003224 call  0x00007e21 
+ 00021007  0x00003225 setarg  0x00000007 
+ 00021008  0x00003226 istore  0x00000001 , 0x00000005 
+ 00021009  0x00003227 copy  0x00000007 , 0x0000003f 
+ 00021010  0x00003228 istore  0x00000001 , 0x00000005 
+ 00021011  0x00003229 setarg  0x00000004 
+ 00021012  0x0000322a istore  0x00000002 , 0x00000005 
+ 00021013  0x0000322b copy  0x00000011 , 0x0000003f 
+ 00021014  0x0000322c istore  0x00000002 , 0x00000005 
+ 00021015  0x0000322d copy  0x0000000b , 0x0000003f 
+ 00021016  0x0000322e istore  0x00000002 , 0x00000005 
+ 00021017  0x0000322f force  0x00000008 , 0x0000003f 
+ 00021018  0x00003230 iadd  0x00000012 , 0x00000012 
+ 00021019  0x00003231 rtn 
+ 00021020  0x00003234 ifetch  0x00000001 , 0x00000006 
+ 00021021  0x00003235 copy  0x0000003f , 0x00000007 
+ 00021022  0x00003236 ifetch  0x00000002 , 0x00000006 
+ 00021023  0x00003237 copy  0x0000003f , 0x00000011 
+ 00021024  0x00003238 ifetch  0x00000002 , 0x00000006 
+ 00021025  0x00003239 copy  0x0000003f , 0x0000000b 
+ 00021026  0x0000323a ifetch  0x00000002 , 0x00000006 
+ 00021027  0x0000323b copy  0x0000003f , 0x00000002 
+ 00021028  0x0000323c call  0x00007e1c 
+ 00021029  0x0000323d fetch  0x00000001 , 0x000042be 
+ 00021030  0x0000323e icompare  0x000000ff , 0x00000007 
+ 00021031  0x0000323f nbranch  0x00005232 , 0x00000001 
+ 00021032  0x00003240 setarg  0x00000050 
+ 00021033  0x00003241 isub  0x00000002 , 0x0000003e 
+ 00021034  0x00003242 branch  0x0000522f , 0x00000005 
+ 00021035  0x00003243 setarg  0x00000051 
+ 00021036  0x00003244 isub  0x00000002 , 0x0000003e 
+ 00021037  0x00003245 branch  0x00005232 , 0x00000005 
+ 00021038  0x00003246 branch  0x00005232 
+ 00021039  0x00003248 jam  0x00000000 , 0x000042b1 
+ 00021040  0x00003249 jam  0x00000000 , 0x000042b9 
+ 00021041  0x0000324a branch  0x00005232 
+ 00021042  0x0000324f call  0x00007e21 
+ 00021043  0x00003250 copy  0x00000013 , 0x0000003f 
+ 00021044  0x00003251 isub  0x00000011 , 0x00000013 
+ 00021045  0x00003252 rtn 
+ 00021046  0x00003255 setarg  0x00000001 
+ 00021047  0x00003256 istore  0x00000001 , 0x00000005 
+ 00021048  0x00003257 ifetch  0x00000001 , 0x00000006 
+ 00021049  0x00003258 istore  0x00000001 , 0x00000005 
+ 00021050  0x00003259 setarg  0x00000002 
+ 00021051  0x0000325a istore  0x00000002 , 0x00000005 
+ 00021052  0x0000325b setarg  0x00000000 
+ 00021053  0x0000325c istore  0x00000002 , 0x00000005 
+ 00021054  0x0000325d setarg  0x00000006 
+ 00021055  0x0000325e iadd  0x00000012 , 0x00000012 
+ 00021056  0x0000325f force  0x00000004 , 0x00000013 
+ 00021057  0x00003260 rtn 
+ 00021058  0x00003264 fetch  0x00000001 , 0x000042be 
+ 00021059  0x00003265 increase  0x00000001 , 0x0000003f 
+ 00021060  0x00003266 bne  0x00000000 , 0x00005246 
+ 00021061  0x00003267 increase  0x00000001 , 0x0000003f 
+ 00021062  0x00003269 store  0x00000001 , 0x000042be 
+ 00021063  0x0000326a rtn 
+ 00021064  0x00003275 set1  0x00000025 , 0x00000000 
+ 00021065  0x00003276 bpatch  0x00000024 , 0x00004024 
+ 00021066  0x00003277 arg  0x00000000 , 0x00000012 
+ 00021067  0x00003278 call  0x0000527a 
+ 00021068  0x00003279 nbranch  0x00003bf1 , 0x00000034 
+ 00021069  0x0000327a call  0x00005287 
+ 00021070  0x0000327b arg  0x00001800 , 0x00000012 
+ 00021071  0x0000327c arg  0x00000000 , 0x00000007 
+ 00021072  0x0000327e fetcht  0x00000001 , 0x000042bf 
+ 00021073  0x0000327f qisolate1  0x00000002 
+ 00021074  0x00003280 branch  0x00005258 , 0x00000001 
+ 00021075  0x00003281 call  0x000052ab 
+ 00021076  0x00003282 sub  0x0000000b , 0x00000000 , 0x0000003e 
+ 00021077  0x00003283 branch  0x00005258 , 0x00000002 
+ 00021078  0x00003284 call  0x00005292 
+ 00021079  0x00003285 branch  0x0000525e 
+ 00021080  0x00003287 increase  0x00000080 , 0x00000012 
+ 00021081  0x00003288 increase  0x00000001 , 0x00000007 
+ 00021082  0x00003289 setarg  0x00000008 
+ 00021083  0x0000328a isub  0x00000007 , 0x0000003e 
+ 00021084  0x0000328b branch  0x00005250 , 0x00000002 
+ 00021085  0x0000328c arg  0x00000000 , 0x00000012 
+ 00021086  0x0000328e copy  0x00000012 , 0x0000003f 
+ 00021087  0x0000328f branch  0x00003bf1 , 0x00000034 
+ 00021088  0x00003290 rtn 
+ 00021089  0x00003299 set1  0x00000025 , 0x00000000 
+ 00021090  0x0000329a bpatch  0x00000025 , 0x00004024 
+ 00021091  0x0000329b call  0x00005280 
+ 00021092  0x0000329c increase  0x00000001 , 0x00000006 
+ 00021093  0x0000329d ifetch  0x00000002 , 0x00000006 
+ 00021094  0x0000329e rtn 
+ 00021095  0x000032a5 set1  0x00000025 , 0x00000000 
+ 00021096  0x000032a6 bpatch  0x00000026 , 0x00004024 
+ 00021097  0x000032a7 call  0x00005280 
+ 00021098  0x000032a8 copy  0x00000006 , 0x00000005 
+ 00021099  0x000032a9 copy  0x00000006 , 0x00000002 
+ 00021100  0x000032aa setarg  0x00000000 
+ 00021101  0x000032ab istore  0x00000003 , 0x00000005 
+ 00021102  0x000032ac rtn 
+ 00021103  0x000032b2 set1  0x00000025 , 0x00000000 
+ 00021104  0x000032b3 bpatch  0x00000027 , 0x00004024 
+ 00021105  0x000032b4 call  0x0000527e 
+ 00021106  0x000032b5 branch  0x00003bf1 , 0x00000034 
+ 00021107  0x000032b6 fetch  0x00000003 , 0x000042c6 
+ 00021108  0x000032b7 store  0x00000003 , 0x000042c9 
+ 00021109  0x000032b8 fetch  0x00000003 , 0x000042c3 
+ 00021110  0x000032b9 store  0x00000003 , 0x000042c6 
+ 00021111  0x000032ba fetch  0x00000003 , 0x000042c0 
+ 00021112  0x000032bb store  0x00000003 , 0x000042c3 
+ 00021113  0x000032bc rtn 
+ 00021114  0x000032c3 fetch  0x00000003 , 0x000042c0 
+ 00021115  0x000032c4 rtn 
+ 00021116  0x000032cb fetch  0x00000003 , 0x000042c3 
+ 00021117  0x000032cc rtn 
+ 00021118  0x000032d3 fetch  0x00000003 , 0x000042c9 
+ 00021119  0x000032d4 rtn 
+ 00021120  0x000032da call  0x0000527e 
+ 00021121  0x000032db branch  0x00003bf1 , 0x00000034 
+ 00021122  0x000032dc arg  0x000042c0 , 0x00000006 
+ 00021123  0x000032de ifetch  0x00000003 , 0x00000006 
+ 00021124  0x000032df branch  0x00005283 , 0x00000034 
+ 00021125  0x000032e0 increase  0xfffffffd , 0x00000006 
+ 00021126  0x000032e1 rtn 
+ 00021127  0x000032e9 set1  0x00000025 , 0x00000000 
+ 00021128  0x000032ea bpatch  0x00000028 , 0x00004025 
+ 00021129  0x000032eb arg  0x00000004 , 0x00000039 
+ 00021130  0x000032ec arg  0x000042c0 , 0x00000006 
+ 00021131  0x000032ed arg  0x00000000 , 0x00000002 
+ 00021132  0x000032ef ifetch  0x00000003 , 0x00000006 
+ 00021133  0x000032f0 and  0x0000003f , 0x000000ff , 0x0000003f 
+ 00021134  0x000032f1 ior  0x00000002 , 0x00000002 
+ 00021135  0x000032f2 loop  0x0000528c 
+ 00021136  0x000032f3 storet  0x00000001 , 0x000042bf 
+ 00021137  0x000032f4 rtn 
+ 00021138  0x000032fd set1  0x00000025 , 0x00000000 
+ 00021139  0x000032fe bpatch  0x00000029 , 0x00004025 
+ 00021140  0x000032ff call  0x0000527a 
+ 00021141  0x00003300 nbranch  0x00003bf1 , 0x00000034 
+ 00021142  0x00003301 call  0x0000527e 
+ 00021143  0x00003302 branch  0x000052a0 , 0x00000034 
+ 00021144  0x00003303 fetch  0x00000003 , 0x000042c3 
+ 00021145  0x00003304 store  0x00000003 , 0x000042c0 
+ 00021146  0x00003305 ifetch  0x00000003 , 0x00000006 
+ 00021147  0x00003306 istore  0x00000003 , 0x00000005 
+ 00021148  0x00003307 ifetch  0x00000003 , 0x00000006 
+ 00021149  0x00003308 istore  0x00000003 , 0x00000005 
+ 00021150  0x00003309 setarg  0x00000000 
+ 00021151  0x0000330a istore  0x00000003 , 0x00000005 
+ 00021152  0x0000330c arg  0x00000000 , 0x00000002 
+ 00021153  0x0000330d copy  0x0000000b , 0x0000003f 
+ 00021154  0x0000330e iadd  0x00000007 , 0x0000003f 
+ 00021155  0x00003310 qset1  0x00000002 
+ 00021156  0x00003311 increase  0x00000001 , 0x00000007 
+ 00021157  0x00003312 isub  0x00000007 , 0x0000003e 
+ 00021158  0x00003313 nbranch  0x000052a3 , 0x00000005 
+ 00021159  0x00003315 lshift8  0x00000012 , 0x0000003f 
+ 00021160  0x00003316 ior  0x00000002 , 0x0000003f 
+ 00021161  0x00003317 store  0x00000003 , 0x000042c9 
+ 00021162  0x00003318 rtn 
+ 00021163  0x00003323 set1  0x00000025 , 0x00000000 
+ 00021164  0x00003324 bpatch  0x0000002a , 0x00004025 
+ 00021165  0x00003325 call  0x00005287 
+ 00021166  0x00003326 copy  0x00000007 , 0x00000013 
+ 00021167  0x00003327 arg  0x00000000 , 0x00000002 
+ 00021168  0x00003328 arg  0x00000000 , 0x0000000b 
+ 00021169  0x0000332b copy  0x00000007 , 0x0000003f 
+ 00021170  0x0000332c beq  0x00000008 , 0x000052bc 
+ 00021171  0x0000332d fetch  0x00000001 , 0x000042bf 
+ 00021172  0x0000332e qisolate1  0x0000003f 
+ 00021173  0x0000332f branch  0x000052bc , 0x00000001 
+ 00021174  0x00003330 increase  0x00000080 , 0x00000002 
+ 00021175  0x00003331 increase  0x00000001 , 0x00000007 
+ 00021176  0x00003332 copy  0x00000011 , 0x0000003f 
+ 00021177  0x00003333 isub  0x00000002 , 0x0000003e 
+ 00021178  0x00003334 branch  0x000052bc , 0x00000005 
+ 00021179  0x00003335 branch  0x000052b1 , 0x00000002 
+ 00021180  0x00003337 copy  0x00000002 , 0x0000003f 
+ 00021181  0x00003338 isub  0x00000011 , 0x0000003e 
+ 00021182  0x00003339 nbranch  0x000052c2 , 0x00000002 
+ 00021183  0x0000333a copy  0x00000007 , 0x0000003f 
+ 00021184  0x0000333b copy  0x00000013 , 0x00000002 
+ 00021185  0x0000333c isub  0x00000002 , 0x0000000b 
+ 00021186  0x0000333e copy  0x00000013 , 0x00000007 
+ 00021187  0x0000333f rtn 
+ 00021188  0x00003343 set1  0x00000025 , 0x00000000 
+ 00021189  0x00003344 bpatch  0x0000002b , 0x00004025 
+ 00021190  0x00003345 arg  0x0000007f , 0x00000011 
+ 00021191  0x00003346 call  0x00005248 
+ 00021192  0x00003347 store  0x00000002 , 0x000002d2 
+ 00021193  0x00003348 increase  0x00000004 , 0x0000003f 
+ 00021194  0x00003349 store  0x00000002 , 0x000002d4 
+ 00021195  0x0000334a setarg  0x00000000 
+ 00021196  0x0000334b store  0x00000002 , 0x000002d6 
+ 00021197  0x0000334c rtn 
+ 00021198  0x0000334f fetch  0x00000002 , 0x000002d2 
+ 00021199  0x00003350 branch  0x000052f2 
+ 00021200  0x00003353 fetch  0x00000002 , 0x000002d4 
+ 00021201  0x00003354 branch  0x000052f2 
+ 00021202  0x00003358 set1  0x00000025 , 0x00000000 
+ 00021203  0x00003359 bpatch  0x0000002c , 0x00004025 
+ 00021204  0x0000335a arg  0x000002ff , 0x00000011 
+ 00021205  0x0000335b call  0x00005248 
+ 00021206  0x0000335c store  0x00000002 , 0x000002d8 
+ 00021207  0x0000335d increase  0x00000004 , 0x0000003f 
+ 00021208  0x0000335e store  0x00000002 , 0x000002da 
+ 00021209  0x0000335f setarg  0x00000000 
+ 00021210  0x00003360 store  0x00000002 , 0x000002dc 
+ 00021211  0x00003361 rtn 
+ 00021212  0x00003364 fetch  0x00000002 , 0x000002d8 
+ 00021213  0x00003365 branch  0x000052f2 
+ 00021214  0x00003368 fetch  0x00000002 , 0x000002da 
+ 00021215  0x00003369 branch  0x000052f2 
+ 00021216  0x0000336d set1  0x00000025 , 0x00000000 
+ 00021217  0x0000336e bpatch  0x0000002d , 0x00004025 
+ 00021218  0x0000336f call  0x00007e00 
+ 00021219  0x00003370 jam  0x00000001 , 0x000002eb 
+ 00021220  0x00003371 call  0x0000527a 
+ 00021221  0x00003372 nrtn  0x00000034 
+ 00021222  0x00003373 arg  0x0000007f , 0x00000011 
+ 00021223  0x00003374 call  0x00005248 
+ 00021224  0x00003375 store  0x00000002 , 0x000002de 
+ 00021225  0x00003376 increase  0x00000004 , 0x0000003f 
+ 00021226  0x00003377 store  0x00000002 , 0x000002e0 
+ 00021227  0x00003378 setarg  0x00000000 
+ 00021228  0x00003379 store  0x00000002 , 0x000002e2 
+ 00021229  0x0000337a jam  0x00000000 , 0x000002eb 
+ 00021230  0x0000337b branch  0x00007e0e 
+ 00021231  0x0000337e fetch  0x00000002 , 0x000002de 
+ 00021232  0x0000337f branch  0x000052f2 
+ 00021233  0x00003382 fetch  0x00000002 , 0x000002e0 
+ 00021234  0x00003385 branch  0x00003bf1 , 0x00000034 
+ 00021235  0x00003386 copy  0x0000003f , 0x00000005 
+ 00021236  0x00003387 rtn 
+ 00021237  0x0000338b set1  0x00000025 , 0x00000000 
+ 00021238  0x0000338c bpatch  0x0000002e , 0x00004025 
+ 00021239  0x0000338d arg  0x00000000 , 0x00000012 
+ 00021240  0x0000338e arg  0x000042c0 , 0x00000011 
+ 00021241  0x0000338f increase  0xfffffffe , 0x00000011 
+ 00021242  0x00003391 increase  0x00000002 , 0x00000011 
+ 00021243  0x00003392 setarg  0x000042cc 
+ 00021244  0x00003393 isub  0x00000011 , 0x0000003e 
+ 00021245  0x00003394 branch  0x00005306 , 0x00000005 
+ 00021246  0x00003395 ifetch  0x00000001 , 0x00000011 
+ 00021247  0x00003396 increase  0x00000001 , 0x00000011 
+ 00021248  0x00003397 branch  0x000052fa , 0x00000034 
+ 00021249  0x00003398 ifetcht  0x00000002 , 0x00000011 
+ 00021250  0x00003399 ifetch  0x00000002 , 0x00000002 
+ 00021251  0x0000339a iadd  0x00000012 , 0x00000012 
+ 00021252  0x0000339b increase  0x00000004 , 0x00000012 
+ 00021253  0x0000339c branch  0x000052fa 
+ 00021254  0x0000339e copy  0x00000012 , 0x0000003f 
+ 00021255  0x0000339f rtn 
+ 00021256  0x000033a3 arg  0x0000000c , 0x00000007 
+ 00021257  0x000033a4 branch  0x00003dc2 
+ 00021258  0x000033a7 arg  0x0000000c , 0x00000007 
+ 00021259  0x000033a8 branch  0x00003dc6 
+ 00021260  0x000033ab set1  0x00000025 , 0x00000000 
+ 00021261  0x000033ac bpatch  0x0000002f , 0x00004025 
+ 00021262  0x000033ad call  0x00005287 
+ 00021263  0x000033ae fetch  0x00000001 , 0x000042bf 
+ 00021264  0x000033af rtn  0x00000034 
+ 00021265  0x000033b0 call  0x000052f5 
+ 00021266  0x000033b1 arg  0x00000100 , 0x00000002 
+ 00021267  0x000033b2 isub  0x00000002 , 0x0000003e 
+ 00021268  0x000033b3 branch  0x00005308 , 0x00000002 
+ 00021269  0x000033b4 call  0x0000530a 
+ 00021270  0x000033b5 arg  0x000042cc , 0x00000005 
+ 00021271  0x000033b6 arg  0x000042c0 , 0x00000011 
+ 00021272  0x000033b8 setarg  0x000042cc 
+ 00021273  0x000033b9 isub  0x00000011 , 0x0000003e 
+ 00021274  0x000033ba rtn  0x00000005 
+ 00021275  0x000033bb ifetch  0x00000001 , 0x00000011 
+ 00021276  0x000033bc increase  0x00000001 , 0x00000011 
+ 00021277  0x000033bd nbranch  0x00005321 , 0x00000034 
+ 00021278  0x000033be istore  0x00000002 , 0x00000005 
+ 00021279  0x000033bf increase  0x00000002 , 0x00000011 
+ 00021280  0x000033c0 branch  0x00005318 
+ 00021281  0x000033c2 ifetch  0x00000002 , 0x00000011 
+ 00021282  0x000033c3 increase  0x00000002 , 0x00000011 
+ 00021283  0x000033c4 copy  0x0000003f , 0x00000006 
+ 00021284  0x000033c5 ifetch  0x00000002 , 0x00000006 
+ 00021285  0x000033c6 istore  0x00000002 , 0x00000005 
+ 00021286  0x000033c7 copy  0x0000003f , 0x00000039 
+ 00021287  0x000033c8 increase  0x00000002 , 0x00000039 
+ 00021288  0x000033c9 call  0x00007e45 
+ 00021289  0x000033ca branch  0x00005318 
+ 00021290  0x000033cd set1  0x00000025 , 0x00000000 
+ 00021291  0x000033ce bpatch  0x00000030 , 0x00004026 
+ 00021292  0x000033cf call  0x00005287 
+ 00021293  0x000033d0 fetch  0x00000001 , 0x000042bf 
+ 00021294  0x000033d1 rtn  0x00000034 
+ 00021295  0x000033d2 arg  0x000042c1 , 0x00000011 
+ 00021296  0x000033d3 increase  0xfffffffd , 0x00000011 
+ 00021297  0x000033d4 arg  0x000042cc , 0x00000006 
+ 00021298  0x000033d6 increase  0x00000003 , 0x00000011 
+ 00021299  0x000033d7 setarg  0x000042cd 
+ 00021300  0x000033d8 isub  0x00000011 , 0x0000003e 
+ 00021301  0x000033d9 rtn  0x00000005 
+ 00021302  0x000033da ifetch  0x00000002 , 0x00000006 
+ 00021303  0x000033db branch  0x00005332 , 0x00000034 
+ 00021304  0x000033dc increase  0x00000004 , 0x0000003f 
+ 00021305  0x000033dd copy  0x0000003f , 0x00000039 
+ 00021306  0x000033de copy  0x00000006 , 0x00000012 
+ 00021307  0x000033df ifetch  0x00000002 , 0x00000011 
+ 00021308  0x000033e0 copy  0x0000003f , 0x00000005 
+ 00021309  0x000033e1 copy  0x00000012 , 0x00000006 
+ 00021310  0x000033e2 increase  0xfffffffe , 0x00000006 
+ 00021311  0x000033e3 call  0x00007e45 
+ 00021312  0x000033e4 branch  0x00005332 
+ 00021313  0x000033ed rtn  0x0000002b 
+ 00021314  0x000033ee setarg  0x00000010 
+ 00021315  0x000033ef store  0x00000002 , 0x000043d3 
+ 00021316  0x000033f0 setarg  0x00000010 
+ 00021317  0x000033f1 store  0x00000002 , 0x000043d5 
+ 00021318  0x000033f2 rtn 
+ 00021319  0x000033f5 arg  0x00000014 , 0x00000002 
+ 00021320  0x000033f6 call  0x00005a88 
+ 00021321  0x000033f7 add  0x00000006 , 0x00000001 , 0x0000003f 
+ 00021322  0x000033f8 store  0x00000002 , 0x00000419 
+ 00021323  0x000033f9 rtn 
+ 00021324  0x000033fc set1  0x00000025 , 0x00000000 
+ 00021325  0x000033fd bpatch  0x00000032 , 0x00004026 
+ 00021326  0x000033fe disable  0x0000002b 
+ 00021327  0x000033ff jam  0x00000001 , 0x0000427e 
+ 00021328  0x00003400 jam  0x00000001 , 0x000003d6 
+ 00021329  0x00003401 jam  0x00000003 , 0x000003c0 
+ 00021330  0x00003402 jam  0x00000001 , 0x000003d7 
+ 00021331  0x00003403 setarg  0xffffffff 
+ 00021332  0x00003404 store  0x00000002 , 0x000003da 
+ 00021333  0x00003405 force  0x00000000 , 0x0000003f 
+ 00021334  0x00003406 store  0x00000001 , 0x000003e3 
+ 00021335  0x00003407 store  0x00000001 , 0x000003d8 
+ 00021336  0x00003408 store  0x00000001 , 0x000003e4 
+ 00021337  0x00003409 store  0x00000003 , 0x0000420a 
+ 00021338  0x0000340a store  0x00000003 , 0x0000420d 
+ 00021339  0x0000340b store  0x00000005 , 0x00004465 
+ 00021340  0x0000340c set1  0x00000027 , 0x0000003f 
+ 00021341  0x0000340d store  0x00000005 , 0x0000446a 
+ 00021342  0x0000340e branch  0x00005a0b 
+ 00021343  0x00003411 set1  0x00000025 , 0x00000000 
+ 00021344  0x00003412 bpatch  0x00000033 , 0x00004026 
+ 00021345  0x00003413 enable  0x00000029 
+ 00021346  0x00003414 jam  0x00000003 , 0x000003c1 
+ 00021347  0x00003415 jam  0x00000001 , 0x000003fa 
+ 00021348  0x00003416 jam  0x00000001 , 0x000044bc 
+ 00021349  0x00003417 setarg  0x0000ffff 
+ 00021350  0x00003418 store  0x00000002 , 0x000044be 
+ 00021351  0x00003419 force  0x00000000 , 0x0000003f 
+ 00021352  0x0000341a store  0x00000005 , 0x0000446a 
+ 00021353  0x0000341b set1  0x00000027 , 0x0000003f 
+ 00021354  0x0000341c store  0x00000005 , 0x00004465 
+ 00021355  0x0000341d branch  0x0000534c 
+ 00021356  0x00003421 set1  0x00000025 , 0x00000000 
+ 00021357  0x00003422 bpatch  0x00000034 , 0x00004026 
+ 00021358  0x00003423 disable  0x00000029 
+ 00021359  0x00003424 jam  0x00000001 , 0x000003c1 
+ 00021360  0x00003425 jam  0x00000000 , 0x000043d8 
+ 00021361  0x00003426 jam  0x00000000 , 0x000000a2 
+ 00021362  0x00003427 branch  0x0000534c 
+ 00021363  0x0000342e call  0x000053d2 
+ 00021364  0x0000342f call  0x000055d3 
+ 00021365  0x00003430 call  0x00005a0e 
+ 00021366  0x00003431 branch  0x000053d7 
+ 00021367  0x00003434 set1  0x00000025 , 0x00000000 
+ 00021368  0x00003435 bpatch  0x00000035 , 0x00004026 
+ 00021369  0x00003436 call  0x000053d2 
+ 00021370  0x00003437 call  0x00003e71 
+ 00021371  0x00003438 fetch  0x00000001 , 0x000003c1 
+ 00021372  0x00003439 beq  0x00000003 , 0x0000537e 
+ 00021373  0x0000343a branch  0x00005395 
+ 00021374  0x00003441 set1  0x00000025 , 0x00000000 
+ 00021375  0x00003442 bpatch  0x00000036 , 0x00004026 
+ 00021376  0x00003443 enable  0x00000029 
+ 00021377  0x00003444 call  0x00005a02 
+ 00021378  0x00003445 branch  0x00005392 , 0x00000002 
+ 00021379  0x00003446 call  0x00003e28 
+ 00021380  0x00003447 call  0x0000541c 
+ 00021381  0x00003448 call  0x00005622 
+ 00021382  0x00003449 disable  0x0000002d 
+ 00021383  0x0000344a call  0x000054b2 
+ 00021384  0x0000344b nrtn  0x0000002d 
+ 00021385  0x0000344c set1  0x00000025 , 0x00000000 
+ 00021386  0x0000344d bpatch  0x00000037 , 0x00004026 
+ 00021387  0x0000344e fetch  0x00000001 , 0x00000005 
+ 00021388  0x0000344f increase  0x00000001 , 0x0000003f 
+ 00021389  0x00003450 store  0x00000001 , 0x00000005 
+ 00021390  0x00003451 call  0x000055a2 
+ 00021391  0x00003452 call  0x00005a99 
+ 00021392  0x00003453 disable  0x00000029 
+ 00021393  0x00003454 rtn 
+ 00021394  0x00003457 call  0x000053ba 
+ 00021395  0x00003458 disable  0x00000029 
+ 00021396  0x00003459 rtn 
+ 00021397  0x0000345f set1  0x00000025 , 0x00000000 
+ 00021398  0x00003460 bpatch  0x00000038 , 0x00004027 
+ 00021399  0x00003461 disable  0x0000002e 
+ 00021400  0x00003462 call  0x00005a02 
+ 00021401  0x00003463 branch  0x000053ba , 0x00000002 
+ 00021402  0x00003464 call  0x00003e28 
+ 00021403  0x00003465 call  0x0000541c 
+ 00021404  0x00003466 call  0x00005478 
+ 00021405  0x00003467 nbranch  0x000053ad , 0x0000002d 
+ 00021406  0x00003469 set1  0x00000025 , 0x00000000 
+ 00021407  0x0000346a bpatch  0x00000039 , 0x00004027 
+ 00021408  0x0000346b call  0x000053c8 
+ 00021409  0x0000346c call  0x000055a2 
+ 00021410  0x0000346d call  0x00005622 
+ 00021411  0x0000346e fetch  0x00000001 , 0x00000340 
+ 00021412  0x0000346f bbit1  0x00000004 , 0x000053b4 
+ 00021413  0x00003470 call  0x0000561a 
+ 00021414  0x00003471 nbranch  0x000053b4 , 0x00000034 
+ 00021415  0x00003473 set1  0x00000025 , 0x00000000 
+ 00021416  0x00003474 bpatch  0x0000003a , 0x00004027 
+ 00021417  0x00003475 call  0x000054bb 
+ 00021418  0x00003477 call  0x00007c45 
+ 00021419  0x00003478 fetch  0x00000001 , 0x000003e4 
+ 00021420  0x00003479 bbit1  0x00000003 , 0x000053ba 
+ 00021421  0x0000347b set1  0x00000025 , 0x00000000 
+ 00021422  0x0000347c bpatch  0x0000003b , 0x00004027 
+ 00021423  0x0000347d call  0x00007f44 
+ 00021424  0x0000347e call  0x00005b19 
+ 00021425  0x0000347f call  0x00005594 
+ 00021426  0x00003480 call  0x00005576 
+ 00021427  0x00003481 branch  0x000039ac 
+ 00021428  0x00003484 set1  0x00000025 , 0x00000000 
+ 00021429  0x00003485 bpatch  0x0000003c , 0x00004027 
+ 00021430  0x00003486 enable  0x0000002e 
+ 00021431  0x00003487 call  0x000054b2 
+ 00021432  0x00003488 branch  0x0000539e , 0x0000002d 
+ 00021433  0x00003489 branch  0x000053aa 
+ 00021434  0x0000348f set1  0x00000025 , 0x00000000 
+ 00021435  0x00003490 bpatch  0x0000003d , 0x00004027 
+ 00021436  0x00003491 call  0x000053c0 
+ 00021437  0x00003492 call  0x00003f1d 
+ 00021438  0x00003493 jam  0x00000015 , 0x00000b7d 
+ 00021439  0x00003494 branch  0x00007c27 
+ 00021440  0x00003497 fetcht  0x00000001 , 0x000003d6 
+ 00021441  0x00003498 jam  0x00000008 , 0x000002c0 
+ 00021442  0x00003499 call  0x000048c4 
+ 00021443  0x0000349a jam  0x00000000 , 0x000003d6 
+ 00021444  0x0000349b jam  0x00000000 , 0x000003c1 
+ 00021445  0x0000349c jam  0x00000000 , 0x000003c0 
+ 00021446  0x0000349d jam  0x00000000 , 0x0000427e 
+ 00021447  0x0000349e rtn 
+ 00021448  0x000034a1 fetch  0x00000001 , 0x00000005 
+ 00021449  0x000034a2 increase  0x00000001 , 0x0000003f 
+ 00021450  0x000034a3 store  0x00000001 , 0x00000005 
+ 00021451  0x000034a4 fetch  0x00000001 , 0x000003c0 
+ 00021452  0x000034a5 rtnbit1  0x00000003 
+ 00021453  0x000034a6 set1  0x00000003 
+ 00021454  0x000034a7 store  0x00000001 , 0x000003c0 
+ 00021455  0x000034a8 setarg  0x00000000 
+ 00021456  0x000034a9 store  0x00000004 , 0x000046f9 
+ 00021457  0x000034aa rtn 
+ 00021458  0x000034b0 set1  0x00000025 , 0x00000000 
+ 00021459  0x000034b1 bpatch  0x0000003e , 0x00004027 
+ 00021460  0x000034b2 enable  0x00000036 
+ 00021461  0x000034b3 hjam  0x00000007 , 0x00008914 
+ 00021462  0x000034b4 branch  0x00003e28 
+ 00021463  0x000034b7 set1  0x00000025 , 0x00000000 
+ 00021464  0x000034b8 bpatch  0x0000003f , 0x00004027 
+ 00021465  0x000034b9 disable  0x00000036 
+ 00021466  0x000034ba hjam  0x00000003 , 0x00008914 
+ 00021467  0x000034bb arg  0x00000000 , 0x0000001b 
+ 00021468  0x000034bc rtn 
+ 00021469  0x000034bf disable  0x00000009 
+ 00021470  0x000034c0 disable  0x00000007 
+ 00021471  0x000034c1 fetch  0x00000003 , 0x000003e9 
+ 00021472  0x000034c2 iforce  0x0000000f 
+ 00021473  0x000034c3 fetch  0x00000001 , 0x00000016 
+ 00021474  0x000034c4 reverse  0x0000003f , 0x00000002 
+ 00021475  0x000034c5 set1  0x00000001 , 0x00000002 
+ 00021476  0x000034c6 rshift  0x00000002 , 0x0000000e 
+ 00021477  0x000034c7 rtn 
+ 00021478  0x000034cb call  0x000053ee 
+ 00021479  0x000034cc call  0x00003a82 
+ 00021480  0x000034cd setarg  0x00000500 
+ 00021481  0x000034ce call  0x00003bf3 
+ 00021482  0x000034cf branch  0x00003a87 
+ 00021483  0x000034d2 branch  0x00003a98 , 0x0000002d 
+ 00021484  0x000034d3 call  0x000053ee 
+ 00021485  0x000034d4 branch  0x00003a91 
+ 00021486  0x000034d6 set1  0x00000025 , 0x00000000 
+ 00021487  0x000034d7 bpatch  0x00000040 , 0x00004028 
+ 00021488  0x000034d8 call  0x00003a7a 
+ 00021489  0x000034d9 fetch  0x00000001 , 0x0000040d 
+ 00021490  0x000034da nbranch  0x00005402 , 0x00000034 
+ 00021491  0x000034db fetch  0x00000001 , 0x00000016 
+ 00021492  0x000034dc sub  0x0000003f , 0x00000024 , 0x0000003e 
+ 00021493  0x000034dd branch  0x000053fc , 0x00000002 
+ 00021494  0x000034de force  0x00000000 , 0x00000002 
+ 00021495  0x000034df rtneq  0x00000025 
+ 00021496  0x000034e0 force  0x00000018 , 0x00000002 
+ 00021497  0x000034e1 rtneq  0x00000026 
+ 00021498  0x000034e2 force  0x0000004e , 0x00000002 
+ 00021499  0x000034e3 rtn 
+ 00021500  0x000034e6 sub  0x0000003f , 0x0000000a , 0x0000003e 
+ 00021501  0x000034e7 branch  0x000053ff , 0x00000002 
+ 00021502  0x000034e8 increase  0x00000001 , 0x0000003f 
+ 00021503  0x000034eb lshift  0x0000003f , 0x0000003f 
+ 00021504  0x000034ec add  0x0000003f , 0x00000002 , 0x00000002 
+ 00021505  0x000034ed rtn 
+ 00021506  0x000034f0 fetch  0x00000001 , 0x00000016 
+ 00021507  0x000034f1 lshift  0x0000003f , 0x00000002 
+ 00021508  0x000034f2 rtn 
+ 00021509  0x000034f5 arg  0x000001f4 , 0x00000002 
+ 00021510  0x000034f6 rtn  0x00000034 
+ 00021511  0x000034f7 arg  0x000000fa , 0x00000002 
+ 00021512  0x000034f8 rtneq  0x00000001 
+ 00021513  0x000034f9 arg  0x00000096 , 0x00000002 
+ 00021514  0x000034fa rtneq  0x00000002 
+ 00021515  0x000034fb arg  0x00000064 , 0x00000002 
+ 00021516  0x000034fc rtneq  0x00000003 
+ 00021517  0x000034fd arg  0x0000004b , 0x00000002 
+ 00021518  0x000034fe rtneq  0x00000004 
+ 00021519  0x000034ff arg  0x00000032 , 0x00000002 
+ 00021520  0x00003500 rtneq  0x00000005 
+ 00021521  0x00003501 arg  0x00000028 , 0x00000002 
+ 00021522  0x00003502 rtneq  0x00000006 
+ 00021523  0x00003503 arg  0x00000014 , 0x00000002 
+ 00021524  0x00003504 rtn 
+ 00021525  0x00003509 setarg  0x008e89be 
+ 00021526  0x0000350a lshift8  0x0000003f , 0x0000003f 
+ 00021527  0x0000350b or_into  0x000000d6 , 0x0000003f 
+ 00021528  0x0000350c iforce  0x00000009 
+ 00021529  0x0000350d setarg  0x00555555 
+ 00021530  0x0000350e store  0x00000003 , 0x000003e9 
+ 00021531  0x0000350f rtn 
+ 00021532  0x00003512 set1  0x00000025 , 0x00000000 
+ 00021533  0x00003513 bpatch  0x00000041 , 0x00004028 
+ 00021534  0x00003514 enable  0x00000010 
+ 00021535  0x00003515 fetch  0x00000004 , 0x000003e5 
+ 00021536  0x00003516 iforce  0x00000009 
+ 00021537  0x00003517 call  0x00005453 
+ 00021538  0x00003518 setarg  0x00000200 
+ 00021539  0x00003519 branch  0x00005426 , 0x00000029 
+ 00021540  0x0000351a fetch  0x00000002 , 0x000003ce 
+ 00021541  0x0000351b rshift  0x0000003f , 0x0000003f 
+ 00021542  0x0000351d arg  0x00000500 , 0x00000002 
+ 00021543  0x0000351e iadd  0x00000002 , 0x0000003f 
+ 00021544  0x0000351f call  0x00003b7d 
+ 00021545  0x00003520 deposit  0x0000001a 
+ 00021546  0x00003521 store  0x00000006 , 0x00000412 
+ 00021547  0x00003522 rtn 
+ 00021548  0x00003525 set1  0x00000025 , 0x00000000 
+ 00021549  0x00003526 bpatch  0x00000042 , 0x00004028 
+ 00021550  0x00003527 fetch  0x00000001 , 0x00000016 
+ 00021551  0x00003528 increase  0x00000001 , 0x0000003f 
+ 00021552  0x00003529 store  0x00000001 , 0x00000016 
+ 00021553  0x0000352a rtnne  0x00000028 
+ 00021554  0x0000352b jam  0x00000025 , 0x00000016 
+ 00021555  0x0000352c rtn 
+ 00021556  0x0000352f set1  0x00000025 , 0x00000000 
+ 00021557  0x00003530 bpatch  0x00000043 , 0x00004028 
+ 00021558  0x00003531 add  0x00000011 , 0x00000001 , 0x00000006 
+ 00021559  0x00003532 ifetch  0x00000001 , 0x00000006 
+ 00021560  0x00003533 rtnbit0  0x00000000 
+ 00021561  0x00003534 add  0x00000011 , 0x0000001a , 0x00000005 
+ 00021562  0x00003535 ifetch  0x00000002 , 0x00000005 
+ 00021563  0x00003536 increase  0x00000001 , 0x0000003f 
+ 00021564  0x00003537 istore  0x00000002 , 0x00000005 
+ 00021565  0x00003538 add  0x00000011 , 0x00000019 , 0x00000006 
+ 00021566  0x00003539 ifetch  0x00000001 , 0x00000006 
+ 00021567  0x0000353a add  0x00000011 , 0x00000018 , 0x00000005 
+ 00021568  0x0000353b ifetcht  0x00000001 , 0x00000005 
+ 00021569  0x0000353c iadd  0x00000002 , 0x0000003f 
+ 00021570  0x0000353d sub  0x0000003f , 0x00000024 , 0x0000003e 
+ 00021571  0x0000353e branch  0x00005445 , 0x00000002 
+ 00021572  0x0000353f increase  0xffffffdb , 0x0000003f 
+ 00021573  0x00003541 istore  0x00000001 , 0x00000005 
+ 00021574  0x00003542 rtn 
+ 00021575  0x00003546 set1  0x00000025 , 0x00000000 
+ 00021576  0x00003547 bpatch  0x00000044 , 0x00004028 
+ 00021577  0x00003548 fetch  0x00000005 , 0x000003f1 
+ 00021578  0x00003549 force  0x00000000 , 0x00000002 
+ 00021579  0x0000354a force  0x00000025 , 0x00000039 
+ 00021580  0x0000354c bbit0  0x00000000 , 0x0000544e 
+ 00021581  0x0000354d increase  0x00000001 , 0x00000002 
+ 00021582  0x0000354f rshift  0x0000003f , 0x0000003f 
+ 00021583  0x00003550 loop  0x0000544c 
+ 00021584  0x00003551 add  0x00000002 , 0xffffffff , 0x0000003f 
+ 00021585  0x00003552 store  0x00000001 , 0x000003e2 
+ 00021586  0x00003553 rtn 
+ 00021587  0x00003556 set1  0x00000025 , 0x00000000 
+ 00021588  0x00003557 bpatch  0x00000045 , 0x00004028 
+ 00021589  0x00003558 fetch  0x00000001 , 0x000003d8 
+ 00021590  0x00003559 iforce  0x00000007 
+ 00021591  0x0000355a fetcht  0x00000005 , 0x000003f1 
+ 00021592  0x0000355b qisolate1  0x00000002 
+ 00021593  0x0000355c branch  0x0000546b , 0x00000001 
+ 00021594  0x0000355e set1  0x00000025 , 0x00000000 
+ 00021595  0x0000355f bpatch  0x00000046 , 0x00004028 
+ 00021596  0x00003560 fetch  0x00000001 , 0x000003e2 
+ 00021597  0x00003561 isub  0x00000007 , 0x0000003f 
+ 00021598  0x00003562 branch  0x00005461 , 0x00000002 
+ 00021599  0x00003563 sub  0x0000003f , 0xffffffff , 0x00000007 
+ 00021600  0x00003564 branch  0x0000545a 
+ 00021601  0x00003566 copy  0x00000007 , 0x00000039 
+ 00021602  0x00003567 force  0x00000000 , 0x00000007 
+ 00021603  0x00003569 qisolate1  0x00000002 
+ 00021604  0x0000356a branch  0x00005466 , 0x00000001 
+ 00021605  0x0000356b increase  0x00000001 , 0x00000039 
+ 00021606  0x0000356d deposit  0x00000039 
+ 00021607  0x0000356e branch  0x0000546b , 0x00000034 
+ 00021608  0x0000356f increase  0x00000001 , 0x00000007 
+ 00021609  0x00003570 increase  0xffffffff , 0x00000039 
+ 00021610  0x00003571 branch  0x00005463 
+ 00021611  0x00003573 deposit  0x00000007 
+ 00021612  0x00003574 store  0x00000001 , 0x00000016 
+ 00021613  0x00003575 rtn 
+ 00021614  0x00003579 branch  0x00005471 , 0x00000029 
+ 00021615  0x0000357a until  0x0000003e , 0x00000003 
+ 00021616  0x0000357b rtn 
+ 00021617  0x0000357e arg  0x00000ea0 , 0x0000000b 
+ 00021618  0x0000357f until  0x00000023 , 0x00000026 
+ 00021619  0x00003580 rtn 
+ 00021620  0x00003583 disable  0x00000010 
+ 00021621  0x00003584 fetch  0x00000002 , 0x000043d5 
+ 00021622  0x00003585 copy  0x0000003f , 0x0000000b 
+ 00021623  0x00003586 branch  0x0000547e 
+ 00021624  0x0000358a set1  0x00000025 , 0x00000000 
+ 00021625  0x0000358b bpatch  0x00000047 , 0x00004028 
+ 00021626  0x0000358c enable  0x00000010 
+ 00021627  0x0000358d fetch  0x00000002 , 0x000003ce 
+ 00021628  0x0000358e fetcht  0x00000004 , 0x000046f9 
+ 00021629  0x0000358f iadd  0x00000002 , 0x0000000b 
+ 00021630  0x00003591 call  0x000053e6 
+ 00021631  0x00003593 set1  0x00000025 , 0x00000000 
+ 00021632  0x00003594 bpatch  0x00000048 , 0x00004029 
+ 00021633  0x00003595 call  0x000053dd 
+ 00021634  0x00003596 disable  0x0000002d 
+ 00021635  0x00003597 enable  0x0000000d 
+ 00021636  0x00003598 enable  0x00000021 
+ 00021637  0x00003599 disable  0x00000020 
+ 00021638  0x0000359a copy  0x0000000b , 0x0000001b 
+ 00021639  0x0000359b correlate  0x0000003e , 0x00000003 
+ 00021640  0x0000359c branch  0x0000548b , 0x0000002e 
+ 00021641  0x0000359d copy  0x0000001a , 0x00000002 
+ 00021642  0x0000359e storet  0x00000006 , 0x0000009c 
+ 00021643  0x000035a0 nbranch  0x0000375c , 0x00000018 
+ 00021644  0x000035a1 branch  0x00005492 , 0x0000002e 
+ 00021645  0x000035a2 arg  0x000001e0 , 0x00000029 
+ 00021646  0x000035a3 copy  0x00000021 , 0x00000028 
+ 00021647  0x000035a4 fetch  0x00000001 , 0x000003c0 
+ 00021648  0x000035a5 bbit0  0x00000003 , 0x00005492 
+ 00021649  0x000035a6 call  0x00003cb6 , 0x0000002b 
+ 00021650  0x000035a8 set1  0x00000025 , 0x00000000 
+ 00021651  0x000035a9 bpatch  0x00000049 , 0x00004029 
+ 00021652  0x000035aa call  0x00003af3 
+ 00021653  0x000035ab enable  0x00000007 
+ 00021654  0x000035ac enable  0x00000009 
+ 00021655  0x000035ad parse  0x00000003 , 0x00000000 , 0x00000008 
+ 00021656  0x000035ae rshift3  0x0000000c , 0x0000003f 
+ 00021657  0x000035af store  0x00000001 , 0x00000340 
+ 00021658  0x000035b0 parse  0x00000003 , 0x00000000 , 0x00000008 
+ 00021659  0x000035b1 rshift3  0x0000000c , 0x0000003f 
+ 00021660  0x000035b2 istore  0x00000001 , 0x00000005 
+ 00021661  0x000035b3 and  0x0000003f , 0x0000003f , 0x00000039 
+ 00021662  0x000035b4 branch  0x000054a3 , 0x00000005 
+ 00021663  0x000035b7 parse  0x00000003 , 0x00000000 , 0x00000008 
+ 00021664  0x000035b8 rshift3  0x0000000c , 0x0000003f 
+ 00021665  0x000035b9 istore  0x00000001 , 0x00000005 
+ 00021666  0x000035ba loop  0x0000549f 
+ 00021667  0x000035bd set1  0x00000025 , 0x00000000 
+ 00021668  0x000035be bpatch  0x0000004a , 0x00004029 
+ 00021669  0x000035bf parse  0x00000003 , 0x00000000 , 0x00000018 
+ 00021670  0x000035c0 enable  0x00000010 
+ 00021671  0x000035c1 arg  0x00000664 , 0x0000001b 
+ 00021672  0x000035c2 rshift32  0x0000003f , 0x0000003f 
+ 00021673  0x000035c3 rshift16  0x0000003f , 0x0000003f 
+ 00021674  0x000035c4 istore  0x00000003 , 0x00000005 
+ 00021675  0x000035c5 branch  0x0000375c , 0x00000006 
+ 00021676  0x000035c6 enable  0x0000002d 
+ 00021677  0x000035c7 fetch  0x00000001 , 0x00000017 
+ 00021678  0x000035c8 add  0x0000003f , 0x00000002 , 0x00000011 
+ 00021679  0x000035c9 call  0x00003ab6 
+ 00021680  0x000035ca disable  0x0000000d 
+ 00021681  0x000035cb branch  0x00003a7a 
+ 00021682  0x000035ce set1  0x00000025 , 0x00000000 
+ 00021683  0x000035cf bpatch  0x0000004b , 0x00004029 
+ 00021684  0x000035d0 call  0x000054bd 
+ 00021685  0x000035d1 fetcht  0x00000001 , 0x00000017 
+ 00021686  0x000035d2 call  0x00003a82 
+ 00021687  0x000035d3 call  0x00003a87 
+ 00021688  0x000035d4 enable  0x00000010 
+ 00021689  0x000035d5 arg  0x00001388 , 0x0000000b 
+ 00021690  0x000035d6 branch  0x0000547f 
+ 00021691  0x000035d9 call  0x000054bd 
+ 00021692  0x000035da branch  0x0000375c 
+ 00021693  0x000035dd set1  0x00000025 , 0x00000000 
+ 00021694  0x000035de bpatch  0x0000004c , 0x00004029 
+ 00021695  0x000035df call  0x000053dd 
+ 00021696  0x000035e0 call  0x000053eb 
+ 00021697  0x000035e1 set1  0x00000000 , 0x00000015 
+ 00021698  0x000035e2 enable  0x0000001d 
+ 00021699  0x000035e3 enable  0x00000020 
+ 00021700  0x000035e4 disable  0x00000021 
+ 00021701  0x000035e5 call  0x0000546e 
+ 00021702  0x000035e6 rshift16  0x00000009 , 0x0000003f 
+ 00021703  0x000035e7 rshift8  0x0000003f , 0x0000003f 
+ 00021704  0x000035e8 rshift4  0x0000003f , 0x0000003f 
+ 00021705  0x000035e9 inject  0x00000003 , 0x00000028 
+ 00021706  0x000035ea enable  0x00000007 
+ 00021707  0x000035eb enable  0x00000009 
+ 00021708  0x000035ec set1  0x00000025 , 0x00000000 
+ 00021709  0x000035ed bpatch  0x0000004d , 0x00004029 
+ 00021710  0x000035ee fetch  0x00000001 , 0x0000443e 
+ 00021711  0x000035ef inject  0x00000003 , 0x00000008 
+ 00021712  0x000035f0 ifetch  0x00000001 , 0x00000006 
+ 00021713  0x000035f1 and  0x0000003f , 0x0000003f , 0x00000039 
+ 00021714  0x000035f2 inject  0x00000003 , 0x00000008 
+ 00021715  0x000035f3 branch  0x000054d7 , 0x00000005 
+ 00021716  0x000035f5 ifetch  0x00000001 , 0x00000006 
+ 00021717  0x000035f6 inject  0x00000003 , 0x00000008 
+ 00021718  0x000035f7 loop  0x000054d4 
+ 00021719  0x000035fa enable  0x00000008 
+ 00021720  0x000035fb inject  0x00000003 , 0x00000018 
+ 00021721  0x000035fc disable  0x00000008 
+ 00021722  0x000035fd until  0x0000003e , 0x00000027 
+ 00021723  0x000035fe nop  0x00000064 
+ 00021724  0x000035ff disable  0x0000001d 
+ 00021725  0x00003600 rtn 
+ 00021726  0x00003603 set1  0x00000025 , 0x00000000 
+ 00021727  0x00003604 bpatch  0x0000004e , 0x00004029 
+ 00021728  0x00003605 fetch  0x00000001 , 0x000044db 
+ 00021729  0x00003606 beq  0x00000001 , 0x000054ef 
+ 00021730  0x00003607 fetch  0x00000001 , 0x000044dc 
+ 00021731  0x00003608 lshift4  0x0000003f , 0x0000003f 
+ 00021732  0x00003609 lshift2  0x0000003f , 0x0000003f 
+ 00021733  0x0000360a store  0x00000001 , 0x0000443e 
+ 00021734  0x0000360b fetcht  0x00000001 , 0x000043d9 
+ 00021735  0x0000360c add  0x00000002 , 0x00000006 , 0x0000003f 
+ 00021736  0x0000360d store  0x00000001 , 0x0000443f 
+ 00021737  0x0000360e fetch  0x00000006 , 0x000044f9 
+ 00021738  0x0000360f store  0x00000006 , 0x00004440 
+ 00021739  0x00003610 copy  0x00000002 , 0x00000039 
+ 00021740  0x00003611 arg  0x000043da , 0x00000006 
+ 00021741  0x00003612 call  0x00007e45 
+ 00021742  0x00003613 branch  0x000054ff 
+ 00021743  0x00003615 fetcht  0x00000002 , 0x000044c2 
+ 00021744  0x00003616 call  0x00005866 
+ 00021745  0x00003617 copy  0x00000011 , 0x00000005 
+ 00021746  0x00003618 setarg  0x00000001 
+ 00021747  0x00003619 istore  0x00000001 , 0x00000005 
+ 00021748  0x0000361a fetch  0x00000001 , 0x000044dd 
+ 00021749  0x0000361b lshift4  0x0000003f , 0x0000003f 
+ 00021750  0x0000361c lshift2  0x0000003f , 0x0000003f 
+ 00021751  0x0000361d increase  0x00000001 , 0x0000003f 
+ 00021752  0x0000361e store  0x00000001 , 0x0000443e 
+ 00021753  0x0000361f setarg  0x0000000c 
+ 00021754  0x00003620 store  0x00000001 , 0x0000443f 
+ 00021755  0x00003621 fetch  0x00000006 , 0x000044f9 
+ 00021756  0x00003622 store  0x00000006 , 0x00004440 
+ 00021757  0x00003623 fetch  0x00000006 , 0x00004274 
+ 00021758  0x00003624 istore  0x00000006 , 0x00000005 
+ 00021759  0x00003626 set1  0x00000025 , 0x00000000 
+ 00021760  0x00003627 bpatch  0x0000004f , 0x00004029 
+ 00021761  0x00003628 fetch  0x00000001 , 0x00000000 
+ 00021762  0x00003629 increase  0x00000001 , 0x0000003f 
+ 00021763  0x0000362a store  0x00000001 , 0x00000000 
+ 00021764  0x0000362b arg  0x00000708 , 0x0000001b 
+ 00021765  0x0000362c disable  0x0000002d 
+ 00021766  0x0000362d branch  0x000054b2 
+ 00021767  0x00003630 set1  0x00000025 , 0x00000000 
+ 00021768  0x00003631 bpatch  0x00000050 , 0x0000402a 
+ 00021769  0x00003632 fetch  0x00000001 , 0x000044f6 
+ 00021770  0x00003633 rtnne  0x00000001 , 0x0000003f 
+ 00021771  0x00003634 fetch  0x00000001 , 0x00000000 
+ 00021772  0x00003635 increase  0x00000001 , 0x0000003f 
+ 00021773  0x00003636 store  0x00000001 , 0x00000000 
+ 00021774  0x00003637 arg  0x00000c03 , 0x00000002 
+ 00021775  0x00003638 fetch  0x00000001 , 0x000044f7 
+ 00021776  0x00003639 nsetflag  0x00000034 , 0x00000006 , 0x00000002 
+ 00021777  0x0000363a copy  0x00000011 , 0x0000003f 
+ 00021778  0x0000363b nsetflag  0x00000034 , 0x00000007 , 0x00000002 
+ 00021779  0x0000363c storet  0x00000002 , 0x0000443e 
+ 00021780  0x0000363d fetch  0x00000006 , 0x000044f9 
+ 00021781  0x0000363e istore  0x00000006 , 0x00000005 
+ 00021782  0x0000363f fetch  0x00000006 , 0x000003d0 
+ 00021783  0x00003640 istore  0x00000006 , 0x00000005 
+ 00021784  0x00003641 branch  0x000054b2 
+ 00021785  0x00003645 set1  0x00000025 , 0x00000000 
+ 00021786  0x00003646 bpatch  0x00000051 , 0x0000402a 
+ 00021787  0x00003647 arg  0x00000004 , 0x00000002 
+ 00021788  0x00003648 fetch  0x00000001 , 0x000044dc 
+ 00021789  0x00003649 nsetflag  0x00000034 , 0x00000006 , 0x00000002 
+ 00021790  0x0000364a storet  0x00000001 , 0x0000443e 
+ 00021791  0x0000364b fetcht  0x00000001 , 0x000043f9 
+ 00021792  0x0000364c add  0x00000002 , 0x00000006 , 0x0000003f 
+ 00021793  0x0000364d store  0x00000001 , 0x0000443f 
+ 00021794  0x0000364e fetch  0x00000006 , 0x000044f9 
+ 00021795  0x0000364f store  0x00000006 , 0x00004440 
+ 00021796  0x00003650 arg  0x000043fa , 0x00000006 
+ 00021797  0x00003651 copy  0x00000002 , 0x00000039 
+ 00021798  0x00003652 call  0x00007e45 
+ 00021799  0x00003653 branch  0x000054bb 
+ 00021800  0x00003657 set1  0x00000025 , 0x00000000 
+ 00021801  0x00003658 bpatch  0x00000052 , 0x0000402a 
+ 00021802  0x00003659 force  0xffffffff , 0x0000003f 
+ 00021803  0x0000365a setsect  0x00000002 , 0x00000001 
+ 00021804  0x0000365b store  0x00000005 , 0x000003f1 
+ 00021805  0x0000365c call  0x00005447 
+ 00021806  0x0000365d force  0x00000004 , 0x00000039 
+ 00021807  0x0000365e arg  0x000003e5 , 0x00000005 
+ 00021808  0x0000365f call  0x00006227 
+ 00021809  0x00003660 fetch  0x00000002 , 0x000044f4 
+ 00021810  0x00003661 store  0x00000002 , 0x000003ef 
+ 00021811  0x00003663 random  0x0000003f 
+ 00021812  0x00003664 and_into  0x0000000f , 0x0000003f 
+ 00021813  0x00003665 sub  0x0000003f , 0x00000004 , 0x0000003e 
+ 00021814  0x00003666 branch  0x00005533 , 0x00000002 
+ 00021815  0x00003667 store  0x00000001 , 0x000003d9 
+ 00021816  0x00003668 store  0x00000001 , 0x00000682 
+ 00021817  0x00003669 set1  0x00000025 , 0x00000000 
+ 00021818  0x0000366a bpatch  0x00000053 , 0x0000402a 
+ 00021819  0x0000366b fetcht  0x00000002 , 0x000043d0 
+ 00021820  0x0000366c storet  0x00000002 , 0x000003c2 
+ 00021821  0x0000366d copy  0x00000002 , 0x00000013 
+ 00021822  0x0000366e add  0x00000022 , 0x00000007 , 0x0000003f 
+ 00021823  0x0000366f idiv  0x00000013 
+ 00021824  0x00003670 call  0x00007efd 
+ 00021825  0x00003671 remainder  0x00000011 
+ 00021826  0x00003672 isub  0x00000011 , 0x0000003f 
+ 00021827  0x00003673 iadd  0x00000013 , 0x0000003f 
+ 00021828  0x00003674 fetcht  0x00000002 , 0x000043ce 
+ 00021829  0x00003675 iadd  0x00000002 , 0x0000003f 
+ 00021830  0x00003676 store  0x00000004 , 0x000003c4 
+ 00021831  0x00003677 isub  0x00000022 , 0x00000011 
+ 00021832  0x00003678 increase  0xfffffffa , 0x00000011 
+ 00021833  0x00003679 arg  0x00002205 , 0x00000012 
+ 00021834  0x0000367a fetch  0x00000001 , 0x000044ed 
+ 00021835  0x0000367b nsetflag  0x00000034 , 0x00000006 , 0x00000012 
+ 00021836  0x0000367c fetch  0x00000001 , 0x000044e6 
+ 00021837  0x0000367d nsetflag  0x00000034 , 0x00000007 , 0x00000012 
+ 00021838  0x0000367e copy  0x00000012 , 0x0000003f 
+ 00021839  0x0000367f store  0x00000002 , 0x0000443e 
+ 00021840  0x00003680 fetch  0x00000006 , 0x000044f9 
+ 00021841  0x00003681 istore  0x00000006 , 0x00000005 
+ 00021842  0x00003682 fetch  0x00000006 , 0x000003d0 
+ 00021843  0x00003683 istore  0x00000006 , 0x00000005 
+ 00021844  0x00003684 fetch  0x00000004 , 0x000003e5 
+ 00021845  0x00003685 istore  0x00000004 , 0x00000005 
+ 00021846  0x00003686 random  0x0000003f 
+ 00021847  0x00003687 istore  0x00000002 , 0x00000005 
+ 00021848  0x00003688 random  0x0000003f 
+ 00021849  0x00003689 istore  0x00000001 , 0x00000005 
+ 00021850  0x0000368a force  0x00000002 , 0x0000003f 
+ 00021851  0x0000368b istore  0x00000001 , 0x00000005 
+ 00021852  0x0000368c rshift2  0x00000011 , 0x0000003f 
+ 00021853  0x0000368d istore  0x00000002 , 0x00000005 
+ 00021854  0x0000368e rshift2  0x00000013 , 0x0000003f 
+ 00021855  0x0000368f istore  0x00000002 , 0x00000005 
+ 00021856  0x00003690 set1  0x00000025 , 0x00000000 
+ 00021857  0x00003691 bpatch  0x00000054 , 0x0000402a 
+ 00021858  0x00003692 fetch  0x00000002 , 0x000044f2 
+ 00021859  0x00003693 istore  0x00000002 , 0x00000005 
+ 00021860  0x00003694 fetch  0x00000002 , 0x000044f4 
+ 00021861  0x00003695 istore  0x00000002 , 0x00000005 
+ 00021862  0x00003696 fetch  0x00000005 , 0x000003f1 
+ 00021863  0x00003697 istore  0x00000005 , 0x00000005 
+ 00021864  0x00003698 fetch  0x00000001 , 0x000003d9 
+ 00021865  0x00003699 arg  0x000000a0 , 0x00000002 
+ 00021866  0x0000369a ior  0x00000002 , 0x0000003f 
+ 00021867  0x0000369b istore  0x00000001 , 0x00000005 
+ 00021868  0x0000369c call  0x000054bb 
+ 00021869  0x0000369d setarg  0x0000443e 
+ 00021870  0x0000369e add  0x0000003f , 0x00000012 , 0x00000006 
+ 00021871  0x0000369f ifetch  0x00000003 , 0x00000006 
+ 00021872  0x000036a0 store  0x00000003 , 0x000003e9 
+ 00021873  0x000036a1 rtn 
+ 00021874  0x000036a4 set1  0x00000025 , 0x00000000 
+ 00021875  0x000036a5 bpatch  0x00000055 , 0x0000402a 
+ 00021876  0x000036a6 disable  0x00000029 
+ 00021877  0x000036a7 branch  0x00005415 
+ 00021878  0x000036ac set1  0x00000025 , 0x00000000 
+ 00021879  0x000036ad bpatch  0x00000056 , 0x0000402a 
+ 00021880  0x000036ae fetch  0x00000001 , 0x000003c0 
+ 00021881  0x000036af rtnbit0  0x00000005 
+ 00021882  0x000036b0 fetch  0x00000002 , 0x000003da 
+ 00021883  0x000036b1 fetcht  0x00000002 , 0x000003e0 
+ 00021884  0x000036b2 isub  0x00000002 , 0x0000003f 
+ 00021885  0x000036b3 nrtn  0x00000002 
+ 00021886  0x000036b4 fetch  0x00000001 , 0x000003c0 
+ 00021887  0x000036b5 set0  0x00000005 , 0x0000003f 
+ 00021888  0x000036b6 set0  0x00000003 , 0x0000003f 
+ 00021889  0x000036b7 store  0x00000001 , 0x000003c0 
+ 00021890  0x000036b8 fetch  0x00000004 , 0x000003c4 
+ 00021891  0x000036b9 fetcht  0x00000002 , 0x000003c2 
+ 00021892  0x000036ba isub  0x00000002 , 0x00000011 
+ 00021893  0x000036bb set1  0x00000025 , 0x00000000 
+ 00021894  0x000036bc bpatch  0x00000057 , 0x0000402a 
+ 00021895  0x000036bd fetch  0x00000001 , 0x00004434 
+ 00021896  0x000036be store  0x00000001 , 0x000003ec 
+ 00021897  0x000036bf ifetcht  0x00000002 , 0x00000006 
+ 00021898  0x000036c0 ifetch  0x00000002 , 0x00000006 
+ 00021899  0x000036c1 lshift2  0x0000003f , 0x0000003f 
+ 00021900  0x000036c2 store  0x00000002 , 0x000003c2 
+ 00021901  0x000036c3 lshift2  0x00000002 , 0x00000002 
+ 00021902  0x000036c4 iadd  0x00000002 , 0x0000003f 
+ 00021903  0x000036c5 ifetcht  0x00000004 , 0x00000006 
+ 00021904  0x000036c6 storet  0x00000004 , 0x000003ed 
+ 00021905  0x000036c7 iadd  0x00000011 , 0x0000003f 
+ 00021906  0x000036c8 store  0x00000004 , 0x000003c4 
+ 00021907  0x000036c9 branch  0x00005a2b 
+ 00021908  0x000036cc set1  0x00000025 , 0x00000000 
+ 00021909  0x000036cd bpatch  0x00000058 , 0x0000402b 
+ 00021910  0x000036ce fetch  0x00000001 , 0x000003c0 
+ 00021911  0x000036cf rtnbit0  0x00000006 
+ 00021912  0x000036d0 fetch  0x00000002 , 0x000003da 
+ 00021913  0x000036d1 fetcht  0x00000002 , 0x000003e0 
+ 00021914  0x000036d2 isub  0x00000002 , 0x0000003f 
+ 00021915  0x000036d3 nrtn  0x00000002 
+ 00021916  0x000036d4 fetch  0x00000001 , 0x000003c0 
+ 00021917  0x000036d5 set0  0x00000006 , 0x0000003f 
+ 00021918  0x000036d6 store  0x00000001 , 0x000003c0 
+ 00021919  0x000036d7 fetch  0x00000005 , 0x0000442f 
+ 00021920  0x000036d8 store  0x00000005 , 0x000003f1 
+ 00021921  0x000036d9 branch  0x00005447 
+ 00021922  0x000036dd set1  0x00000025 , 0x00000000 
+ 00021923  0x000036de bpatch  0x00000059 , 0x0000402b 
+ 00021924  0x000036df call  0x00005a0b 
+ 00021925  0x000036e0 call  0x000055b7 
+ 00021926  0x000036e1 fetch  0x00000001 , 0x00000340 
+ 00021927  0x000036e2 rshift  0x0000003f , 0x0000003f 
+ 00021928  0x000036e3 ixor  0x00000002 , 0x0000003f 
+ 00021929  0x000036e4 isolate1  0x00000002 , 0x0000003f 
+ 00021930  0x000036e5 setflag  0x00000001 , 0x0000000f , 0x00000000 
+ 00021931  0x000036e6 fetch  0x00000001 , 0x00000341 
+ 00021932  0x000036e7 branch  0x000055b2 , 0x00000034 
+ 00021933  0x000036e8 fetch  0x00000001 , 0x000003c0 
+ 00021934  0x000036e9 bbit0  0x00000004 , 0x000055b2 
+ 00021935  0x000036ea call  0x00007599 
+ 00021936  0x000036eb call  0x0000750e 
+ 00021937  0x000036ec nrtn  0x00000034 
+ 00021938  0x000036ee rtnmark1  0x0000000f 
+ 00021939  0x000036ef fetcht  0x00000001 , 0x000003d7 
+ 00021940  0x000036f0 setflip  0x00000002 , 0x00000002 
+ 00021941  0x000036f1 storet  0x00000001 , 0x000003d7 
+ 00021942  0x000036f2 branch  0x000058ac 
+ 00021943  0x000036f5 set1  0x00000025 , 0x00000000 
+ 00021944  0x000036f6 bpatch  0x0000005a , 0x0000402b 
+ 00021945  0x000036f7 fetcht  0x00000001 , 0x000003d7 
+ 00021946  0x000036f8 isolate0  0x00000005 , 0x00000002 
+ 00021947  0x000036f9 rtn  0x00000001 
+ 00021948  0x000036fa fetch  0x00000001 , 0x00000340 
+ 00021949  0x000036fb lshift  0x0000003f , 0x0000003f 
+ 00021950  0x000036fc ixor  0x00000002 , 0x0000003f 
+ 00021951  0x000036fd rtnbit0  0x00000003 
+ 00021952  0x000036fe set0  0x00000005 , 0x00000002 
+ 00021953  0x000036ff setflip  0x00000003 , 0x00000002 
+ 00021954  0x00003700 storet  0x00000001 , 0x000003d7 
+ 00021955  0x00003701 compare  0x00000003 , 0x00000002 , 0x00000003 
+ 00021956  0x00003702 nrtn  0x00000001 
+ 00021957  0x00003703 fetch  0x00000001 , 0x00004440 
+ 00021958  0x00003704 rtnne  0x00000005 
+ 00021959  0x00003705 fetch  0x00000001 , 0x000003c0 
+ 00021960  0x00003706 set1  0x00000004 , 0x0000003f 
+ 00021961  0x00003707 store  0x00000001 , 0x000003c0 
+ 00021962  0x00003708 rtn 
+ 00021963  0x0000370b set1  0x00000025 , 0x00000000 
+ 00021964  0x0000370c bpatch  0x0000005b , 0x0000402b 
+ 00021965  0x0000370d call  0x0000542c 
+ 00021966  0x0000370e call  0x00005474 
+ 00021967  0x0000370f fetch  0x00000001 , 0x00000001 
+ 00021968  0x00003710 increase  0x00000001 , 0x0000003f 
+ 00021969  0x00003711 store  0x00000001 , 0x00000001 
+ 00021970  0x00003712 rtn 
+ 00021971  0x00003715 set1  0x00000025 , 0x00000000 
+ 00021972  0x00003716 bpatch  0x0000005c , 0x0000402b 
+ 00021973  0x00003717 fetch  0x00000001 , 0x000043d2 
+ 00021974  0x00003718 rtnne  0x00000001 
+ 00021975  0x00003719 arg  0x00000003 , 0x00000007 
+ 00021976  0x0000371a call  0x00007e53 
+ 00021977  0x0000371b nrtn  0x00000034 
+ 00021978  0x0000371c fetch  0x00000002 , 0x000043d3 
+ 00021979  0x0000371d fetcht  0x00000002 , 0x000043d5 
+ 00021980  0x0000371e isub  0x00000002 , 0x0000003f 
+ 00021981  0x0000371f arg  0x00000003 , 0x00000007 
+ 00021982  0x00003720 call  0x00007e4c 
+ 00021983  0x00003721 disable  0x00000029 
+ 00021984  0x00003722 call  0x00005572 
+ 00021985  0x00003723 call  0x000055cb 
+ 00021986  0x00003724 nrtn  0x0000002d 
+ 00021987  0x00003725 set1  0x00000025 , 0x00000000 
+ 00021988  0x00003726 bpatch  0x0000005d , 0x0000402b 
+ 00021989  0x00003727 fetch  0x00000006 , 0x00000342 
+ 00021990  0x00003728 store  0x00000006 , 0x000003d0 
+ 00021991  0x00003729 call  0x000042a7 
+ 00021992  0x0000372a call  0x00005b39 
+ 00021993  0x0000372c fetch  0x00000001 , 0x00000002 
+ 00021994  0x0000372d increase  0x00000001 , 0x0000003f 
+ 00021995  0x0000372e store  0x00000001 , 0x00000002 
+ 00021996  0x0000372f call  0x000055f9 
+ 00021997  0x00003730 rtn  0x00000029 
+ 00021998  0x00003731 call  0x000048d1 
+ 00021999  0x00003732 call  0x00005507 
+ 00022000  0x00003733 nrtn  0x0000002d 
+ 00022001  0x00003734 set1  0x00000025 , 0x00000000 
+ 00022002  0x00003735 bpatch  0x0000005e , 0x0000402b 
+ 00022003  0x00003736 fetch  0x00000001 , 0x00000004 
+ 00022004  0x00003737 increase  0x00000001 , 0x0000003f 
+ 00022005  0x00003738 store  0x00000001 , 0x00000004 
+ 00022006  0x00003739 fetch  0x00000009 , 0x00000348 
+ 00022007  0x0000373a store  0x00000009 , 0x00000103 
+ 00022008  0x0000373b branch  0x000048d1 
+ 00022009  0x0000373e set1  0x00000025 , 0x00000000 
+ 00022010  0x0000373f bpatch  0x0000005f , 0x0000402b 
+ 00022011  0x00003740 fetch  0x00000001 , 0x0000041c 
+ 00022012  0x00003741 rtnne  0x0000001b , 0x0000003f 
+ 00022013  0x00003742 fetch  0x00000006 , 0x000003d0 
+ 00022014  0x00003743 fetcht  0x00000006 , 0x000044e7 
+ 00022015  0x00003744 isub  0x00000002 , 0x0000003e 
+ 00022016  0x00003745 nrtn  0x00000005 
+ 00022017  0x00003746 call  0x000032d6 
+ 00022018  0x00003747 nrtn  0x00000005 
+ 00022019  0x00003748 call  0x00005528 
+ 00022020  0x00003749 call  0x0000535f 
+ 00022021  0x0000374a set1  0x00000025 , 0x00000000 
+ 00022022  0x0000374b bpatch  0x00000060 , 0x0000402c 
+ 00022023  0x0000374c jam  0x00000000 , 0x00004272 
+ 00022024  0x0000374d jam  0x00000000 , 0x000003f8 
+ 00022025  0x0000374e fetch  0x00000001 , 0x00004132 
+ 00022026  0x0000374f bne  0x00000004 , 0x0000560c 
+ 00022027  0x00003750 jam  0x00000021 , 0x000003e3 
+ 00022028  0x00003752 arg  0x00000000 , 0x00000002 
+ 00022029  0x00003753 call  0x000048ea 
+ 00022030  0x00003754 jam  0x00000000 , 0x000043d2 
+ 00022031  0x00003755 jam  0x00000000 , 0x0000041c 
+ 00022032  0x00003756 jam  0x0000002c , 0x00000b7d 
+ 00022033  0x00003757 call  0x00005620 
+ 00022034  0x00003758 branch  0x000032bd 
+ 00022035  0x0000375b arg  0x00000001 , 0x00000011 
+ 00022036  0x0000375c fetch  0x00000001 , 0x00000340 
+ 00022037  0x0000375d rtnbit1  0x00000006 
+ 00022038  0x0000375e arg  0x00000000 , 0x00000011 
+ 00022039  0x0000375f rtn 
+ 00022040  0x00003762 arg  0x000044ff , 0x00000006 
+ 00022041  0x00003763 branch  0x00007fb2 
+ 00022042  0x00003766 arg  0x000044ff , 0x00000011 
+ 00022043  0x00003767 branch  0x00007fac 
+ 00022044  0x0000376a arg  0x000044ff , 0x00000011 
+ 00022045  0x0000376b branch  0x00007fae 
+ 00022046  0x0000376e arg  0x000044ff , 0x00000011 
+ 00022047  0x0000376f branch  0x00007fb0 
+ 00022048  0x00003772 arg  0x000044ff , 0x00000011 
+ 00022049  0x00003773 branch  0x00007f92 
+ 00022050  0x00003776 set1  0x00000025 , 0x00000000 
+ 00022051  0x00003777 bpatch  0x00000061 , 0x0000402c 
+ 00022052  0x00003778 fetch  0x00000001 , 0x000003d7 
+ 00022053  0x00003779 rtnbit1  0x00000005 
+ 00022054  0x0000377a arg  0x000044ff , 0x00000011 
+ 00022055  0x0000377b call  0x00007f9f 
+ 00022056  0x0000377c nbranch  0x00005630 , 0x00000034 
+ 00022057  0x0000377d fetch  0x00000001 , 0x00004132 
+ 00022058  0x0000377e bne  0x00000001 , 0x00005890 
+ 00022059  0x0000377f arg  0x00000000 , 0x00000001 
+ 00022060  0x00003780 call  0x000044a3 
+ 00022061  0x00003781 copy  0x00000001 , 0x0000003f 
+ 00022062  0x00003782 nrtn  0x00000034 
+ 00022063  0x00003783 branch  0x00005890 
+ 00022064  0x00003785 copy  0x0000003f , 0x00000002 
+ 00022065  0x00003786 set1  0x00000025 , 0x00000000 
+ 00022066  0x00003787 bpatch  0x00000062 , 0x0000402c 
+ 00022067  0x00003788 copy  0x00000002 , 0x0000003f 
+ 00022068  0x00003789 bbit0  0x00000005 , 0x0000564b 
+ 00022069  0x0000378a force  0x00000003 , 0x00000001 
+ 00022070  0x0000378b set0  0x00000005 , 0x0000003f 
+ 00022071  0x0000378c store  0x00000001 , 0x00004440 
+ 00022072  0x0000378d set1  0x00000025 , 0x00000000 
+ 00022073  0x0000378e bpatch  0x00000063 , 0x0000402c 
+ 00022074  0x0000378f fetch  0x00000001 , 0x00004440 
+ 00022075  0x00003790 beq  0x00000000 , 0x0000568f 
+ 00022076  0x00003791 beq  0x00000001 , 0x00005691 
+ 00022077  0x00003792 beq  0x00000002 , 0x00005693 
+ 00022078  0x00003793 beq  0x00000003 , 0x00005695 
+ 00022079  0x00003794 beq  0x00000004 , 0x000056a6 
+ 00022080  0x00003795 beq  0x00000005 , 0x000056b7 
+ 00022081  0x00003796 beq  0x00000006 , 0x000056b9 
+ 00022082  0x00003797 beq  0x00000007 , 0x000056bf 
+ 00022083  0x00003798 beq  0x00000008 , 0x000056c1 
+ 00022084  0x00003799 beq  0x00000009 , 0x000056c1 
+ 00022085  0x0000379a beq  0x0000000a , 0x000056c5 
+ 00022086  0x0000379b beq  0x0000000b , 0x000056c7 
+ 00022087  0x0000379c beq  0x0000000c , 0x000056c9 
+ 00022088  0x0000379d beq  0x0000000d , 0x000056cf 
+ 00022089  0x0000379e beq  0x0000000f , 0x000056d1 
+ 00022090  0x0000379f branch  0x00003bf1 
+ 00022091  0x000037a2 jam  0x00000000 , 0x00004443 
+ 00022092  0x000037a3 force  0x00000002 , 0x00000001 
+ 00022093  0x000037a4 bbit0  0x00000006 , 0x00005662 
+ 00022094  0x000037a5 beq  0x00000052 , 0x00005662 
+ 00022095  0x000037a6 beq  0x000000d2 , 0x00005662 
+ 00022096  0x000037a7 jam  0x00000006 , 0x00004442 
+ 00022097  0x000037a8 set0  0x00000006 , 0x0000003f 
+ 00022098  0x000037a9 store  0x00000001 , 0x00004444 
+ 00022099  0x000037ab set1  0x00000025 , 0x00000000 
+ 00022100  0x000037ac bpatch  0x00000064 , 0x0000402c 
+ 00022101  0x000037ad fetch  0x00000001 , 0x00004444 
+ 00022102  0x000037af beq  0x00000001 , 0x000056e5 
+ 00022103  0x000037b0 beq  0x00000002 , 0x000056ed 
+ 00022104  0x000037b1 beq  0x00000003 , 0x000056f5 
+ 00022105  0x000037b2 beq  0x00000004 , 0x000056fa 
+ 00022106  0x000037b3 beq  0x00000005 , 0x000056ff 
+ 00022107  0x000037b4 beq  0x00000006 , 0x00005701 
+ 00022108  0x000037b5 beq  0x00000007 , 0x0000570b 
+ 00022109  0x000037b6 beq  0x00000008 , 0x00005712 
+ 00022110  0x000037b7 beq  0x00000009 , 0x00005717 
+ 00022111  0x000037b8 beq  0x0000000a , 0x0000571e 
+ 00022112  0x000037b9 beq  0x0000000b , 0x00005721 
+ 00022113  0x000037ba branch  0x00003bf1 
+ 00022114  0x000037bd jam  0x00000004 , 0x00004442 
+ 00022115  0x000037be store  0x00000001 , 0x00004444 
+ 00022116  0x000037bf set1  0x00000025 , 0x00000000 
+ 00022117  0x000037c0 bpatch  0x00000065 , 0x0000402c 
+ 00022118  0x000037c2 fetch  0x00000001 , 0x00004444 
+ 00022119  0x000037c3 beq  0x00000001 , 0x00005729 
+ 00022120  0x000037c4 beq  0x00000002 , 0x0000572f 
+ 00022121  0x000037c5 beq  0x00000003 , 0x0000572f 
+ 00022122  0x000037c6 beq  0x00000004 , 0x00005732 
+ 00022123  0x000037c7 beq  0x00000005 , 0x00005737 
+ 00022124  0x000037c8 beq  0x00000006 , 0x00005748 
+ 00022125  0x000037c9 beq  0x00000007 , 0x00005752 
+ 00022126  0x000037ca beq  0x00000008 , 0x00005793 
+ 00022127  0x000037cb beq  0x00000009 , 0x0000579b 
+ 00022128  0x000037cc beq  0x0000000a , 0x000057be 
+ 00022129  0x000037cd beq  0x0000000b , 0x000057c6 
+ 00022130  0x000037ce beq  0x0000000c , 0x000057d1 
+ 00022131  0x000037cf beq  0x0000000d , 0x000057d6 
+ 00022132  0x000037d0 beq  0x0000000e , 0x000057e5 
+ 00022133  0x000037d1 beq  0x0000000f , 0x000057ec 
+ 00022134  0x000037d2 beq  0x00000010 , 0x00005812 
+ 00022135  0x000037d3 beq  0x00000011 , 0x0000581a 
+ 00022136  0x000037d4 beq  0x00000012 , 0x0000583e 
+ 00022137  0x000037d5 beq  0x00000013 , 0x00005845 
+ 00022138  0x000037d6 beq  0x00000016 , 0x0000585e 
+ 00022139  0x000037d7 beq  0x00000017 , 0x00005860 
+ 00022140  0x000037d8 beq  0x00000018 , 0x00005862 
+ 00022141  0x000037d9 beq  0x00000019 , 0x00005864 
+ 00022142  0x000037da beq  0x0000001b , 0x00005873 
+ 00022143  0x000037db beq  0x0000001d , 0x00005882 
+ 00022144  0x000037dc beq  0x0000001e , 0x00005884 
+ 00022145  0x000037dd beq  0x00000052 , 0x00005886 
+ 00022146  0x000037de beq  0x000000d2 , 0x00005888 
+ 00022147  0x000037df beq  0x0000009e , 0x00005686 
+ 00022148  0x000037e0 beq  0x0000009f , 0x00005688 
+ 00022149  0x000037e1 branch  0x00003bf1 
+ 00022150  0x000037e4 jam  0x00000010 , 0x00000b7d 
+ 00022151  0x000037e5 call  0x00005620 
+ 00022152  0x000037e8 setarg  0x00000011 
+ 00022153  0x000037e9 store  0x00000002 , 0x0000443e 
+ 00022154  0x000037ea fetch  0x00000001 , 0x000003d7 
+ 00022155  0x000037eb set1  0x00000005 , 0x0000003f 
+ 00022156  0x000037ec store  0x00000001 , 0x000003d7 
+ 00022157  0x000037ed jam  0x00000012 , 0x00000b7d 
+ 00022158  0x000037ee branch  0x00005620 
+ 00022159  0x000037f1 force  0x0000000c , 0x00000002 
+ 00022160  0x000037f2 branch  0x00005892 
+ 00022161  0x000037f5 force  0x00000008 , 0x00000002 
+ 00022162  0x000037f6 branch  0x00005892 
+ 00022163  0x000037f9 force  0x00000002 , 0x00000002 
+ 00022164  0x000037fa branch  0x00005892 
+ 00022165  0x000037fd force  0x00000000 , 0x0000003f 
+ 00022166  0x000037fe istore  0x00000008 , 0x00000005 
+ 00022167  0x000037ff istore  0x00000002 , 0x00000005 
+ 00022168  0x00003800 copy  0x00000005 , 0x00000002 
+ 00022169  0x00003801 arg  0x00000380 , 0x00000005 
+ 00022170  0x00003802 force  0x00000008 , 0x00000039 
+ 00022171  0x00003803 call  0x00006227 
+ 00022172  0x00003804 fetch  0x00000008 , 0x00000380 
+ 00022173  0x00003805 istore  0x00000008 , 0x00000002 
+ 00022174  0x00003806 copy  0x00000005 , 0x00000002 
+ 00022175  0x00003807 arg  0x00004473 , 0x00000005 
+ 00022176  0x00003808 force  0x00000004 , 0x00000039 
+ 00022177  0x00003809 call  0x00006227 
+ 00022178  0x0000380a fetch  0x00000004 , 0x00004473 
+ 00022179  0x0000380b istore  0x00000004 , 0x00000002 
+ 00022180  0x0000380c force  0x00000017 , 0x00000002 
+ 00022181  0x0000380d branch  0x00005892 
+ 00022182  0x00003810 copy  0x00000005 , 0x00000002 
+ 00022183  0x00003811 arg  0x00000388 , 0x00000005 
+ 00022184  0x00003812 force  0x00000008 , 0x00000039 
+ 00022185  0x00003813 call  0x00006227 
+ 00022186  0x00003814 fetch  0x00000008 , 0x00000388 
+ 00022187  0x00003815 istore  0x00000008 , 0x00000002 
+ 00022188  0x00003816 copy  0x00000005 , 0x00000002 
+ 00022189  0x00003817 arg  0x00004477 , 0x00000005 
+ 00022190  0x00003818 force  0x00000004 , 0x00000039 
+ 00022191  0x00003819 call  0x00006227 
+ 00022192  0x0000381a fetch  0x00000004 , 0x00004477 
+ 00022193  0x0000381b istore  0x00000004 , 0x00000002 
+ 00022194  0x0000381c call  0x000074b6 
+ 00022195  0x0000381d jam  0x00000025 , 0x00000b7d 
+ 00022196  0x0000381e call  0x00005620 
+ 00022197  0x0000381f force  0x0000000d , 0x00000002 
+ 00022198  0x00003820 branch  0x00005892 
+ 00022199  0x00003823 force  0x00000001 , 0x00000002 
+ 00022200  0x00003824 branch  0x00005892 
+ 00022201  0x00003827 force  0x00000001 , 0x00000002 
+ 00022202  0x00003828 branch  0x00005892 , 0x00000029 
+ 00022203  0x00003829 jam  0x00000046 , 0x00000b7d 
+ 00022204  0x0000382a call  0x00005620 
+ 00022205  0x0000382b force  0x00000001 , 0x00000002 
+ 00022206  0x0000382c branch  0x00005892 
+ 00022207  0x0000382f force  0x00000002 , 0x00000002 
+ 00022208  0x00003830 branch  0x00005892 
+ 00022209  0x00003833 setarg  0x00000001 
+ 00022210  0x00003834 istore  0x00000008 , 0x00000005 
+ 00022211  0x00003835 force  0x00000009 , 0x00000002 
+ 00022212  0x00003836 branch  0x00005892 
+ 00022213  0x00003839 force  0x00000006 , 0x00000002 
+ 00022214  0x0000383a branch  0x00005892 
+ 00022215  0x0000383d force  0x00000006 , 0x00000002 
+ 00022216  0x0000383e branch  0x00005892 
+ 00022217  0x00003841 setarg  0x00000a06 
+ 00022218  0x00003842 istore  0x00000003 , 0x00000005 
+ 00022219  0x00003843 setarg  0x00001d87 
+ 00022220  0x00003844 istore  0x00000002 , 0x00000005 
+ 00022221  0x00003845 force  0x00000006 , 0x00000002 
+ 00022222  0x00003846 branch  0x00005892 
+ 00022223  0x00003849 force  0x00000002 , 0x00000002 
+ 00022224  0x0000384a branch  0x00005892 
+ 00022225  0x0000384d increase  0xffffffff , 0x00000005 
+ 00022226  0x0000384e setarg  0x0000000c 
+ 00022227  0x0000384f istore  0x00000002 , 0x00000005 
+ 00022228  0x00003850 setarg  0x00000005 
+ 00022229  0x00003851 istore  0x00000002 , 0x00000005 
+ 00022230  0x00003852 setarg  0x0000b412 
+ 00022231  0x00003853 istore  0x00000002 , 0x00000005 
+ 00022232  0x00003854 setarg  0x00000008 
+ 00022233  0x00003855 istore  0x00000002 , 0x00000005 
+ 00022234  0x00003856 setarg  0x00000008 
+ 00022235  0x00003857 istore  0x00000002 , 0x00000005 
+ 00022236  0x00003858 setarg  0x00000010 
+ 00022237  0x00003859 istore  0x00000002 , 0x00000005 
+ 00022238  0x0000385a setarg  0x00000000 
+ 00022239  0x0000385b istore  0x00000002 , 0x00000005 
+ 00022240  0x0000385c setarg  0x0000012c 
+ 00022241  0x0000385d istore  0x00000002 , 0x00000005 
+ 00022242  0x0000385e call  0x0000588a 
+ 00022243  0x0000385f force  0x00000002 , 0x00000001 
+ 00022244  0x00003860 branch  0x00005892 
+ 00022245  0x00003863 setarg  0x01000401 
+ 00022246  0x00003864 store  0x00000004 , 0x000044ae 
+ 00022247  0x00003865 setarg  0x00070710 
+ 00022248  0x00003866 istore  0x00000003 , 0x00000005 
+ 00022249  0x00003867 fetch  0x00000006 , 0x000044af 
+ 00022250  0x00003868 store  0x00000006 , 0x00004445 
+ 00022251  0x00003869 force  0x0000000b , 0x00000002 
+ 00022252  0x0000386a branch  0x00005892 
+ 00022253  0x0000386d setarg  0x01000302 
+ 00022254  0x0000386e store  0x00000004 , 0x000044b5 
+ 00022255  0x0000386f setarg  0x00010410 
+ 00022256  0x00003870 istore  0x00000003 , 0x00000005 
+ 00022257  0x00003871 fetch  0x00000006 , 0x000044b6 
+ 00022258  0x00003872 store  0x00000006 , 0x00004445 
+ 00022259  0x00003873 force  0x0000000b , 0x00000002 
+ 00022260  0x00003874 branch  0x00005892 
+ 00022261  0x00003877 call  0x000074b0 
+ 00022262  0x00003878 arg  0x00004445 , 0x00000005 
+ 00022263  0x00003879 call  0x000075a3 
+ 00022264  0x0000387a force  0x00000015 , 0x00000002 
+ 00022265  0x0000387b branch  0x00005892 
+ 00022266  0x0000387e fetch  0x00000008 , 0x000003b0 
+ 00022267  0x0000387f branch  0x000056fd , 0x00000029 
+ 00022268  0x00003880 fetch  0x00000008 , 0x0000449c 
+ 00022269  0x00003883 call  0x00005723 
+ 00022270  0x00003884 branch  0x00005892 
+ 00022271  0x00003887 force  0x00000006 , 0x00000002 
+ 00022272  0x00003888 branch  0x00005892 
+ 00022273  0x0000388b jam  0x00000029 , 0x00000b7d 
+ 00022274  0x0000388c call  0x00007c27 
+ 00022275  0x0000388d jam  0x00000047 , 0x00000b7d 
+ 00022276  0x0000388e call  0x00005620 
+ 00022277  0x0000388f arg  0x000003a0 , 0x00000005 
+ 00022278  0x00003890 call  0x00006226 
+ 00022279  0x00003891 fetch  0x00000008 , 0x000003a0 
+ 00022280  0x00003892 fetch  0x00000008 , 0x0000447b 
+ 00022281  0x00003893 call  0x00005723 
+ 00022282  0x00003894 branch  0x00005892 
+ 00022283  0x00003897 jam  0x00000048 , 0x00000b7d 
+ 00022284  0x00003898 call  0x00005620 
+ 00022285  0x00003899 arg  0x00004445 , 0x00000005 
+ 00022286  0x0000389a force  0x00000008 , 0x00000039 
+ 00022287  0x0000389b call  0x00006227 
+ 00022288  0x0000389c force  0x0000000f , 0x00000002 
+ 00022289  0x0000389d branch  0x00005892 
+ 00022290  0x000038a0 jam  0x00000049 , 0x00000b7d 
+ 00022291  0x000038a1 call  0x00005620 
+ 00022292  0x000038a2 arg  0x00004445 , 0x00000005 
+ 00022293  0x000038a3 call  0x00006226 
+ 00022294  0x000038a4 branch  0x0000588a 
+ 00022295  0x000038a7 jam  0x0000004a , 0x00000b7d 
+ 00022296  0x000038a8 call  0x00005620 
+ 00022297  0x000038a9 force  0x00000000 , 0x0000003f 
+ 00022298  0x000038aa store  0x00000001 , 0x00004445 
+ 00022299  0x000038ab fetch  0x00000006 , 0x000044f9 
+ 00022300  0x000038ac istore  0x00000006 , 0x00000005 
+ 00022301  0x000038ad branch  0x0000588a 
+ 00022302  0x000038b0 arg  0x00004445 , 0x00000005 
+ 00022303  0x000038b1 call  0x00006226 
+ 00022304  0x000038b2 branch  0x0000588a 
+ 00022305  0x000038b5 force  0x00000006 , 0x00000002 
+ 00022306  0x000038b6 branch  0x00005892 
+ 00022307  0x000038b9 store  0x00000008 , 0x00004445 
+ 00022308  0x000038ba ifetch  0x00000008 , 0x00000006 
+ 00022309  0x000038bb istore  0x00000008 , 0x00000005 
+ 00022310  0x000038bc force  0x00000015 , 0x00000002 
+ 00022311  0x000038bd rtn 
+ 00022312  0x000038c0 jam  0x0000000a , 0x000003fc 
+ 00022313  0x000038c2 jam  0x00000001 , 0x00004444 
+ 00022314  0x000038c3 fetch  0x00000003 , 0x000003f9 
+ 00022315  0x000038c4 store  0x00000003 , 0x00004445 
+ 00022316  0x000038c5 fetch  0x00000001 , 0x000003fc 
+ 00022317  0x000038c6 istore  0x00000001 , 0x00000005 
+ 00022318  0x000038c7 branch  0x0000588a 
+ 00022319  0x000038ca setarg  0x00000017 
+ 00022320  0x000038cb istore  0x00000002 , 0x00000005 
+ 00022321  0x000038cc branch  0x0000588a 
+ 00022322  0x000038cf fetch  0x00000002 , 0x000044bc 
+ 00022323  0x000038d0 store  0x00000002 , 0x00004445 
+ 00022324  0x000038d1 fetch  0x00000002 , 0x000044be 
+ 00022325  0x000038d2 istore  0x00000002 , 0x00000005 
+ 00022326  0x000038d3 branch  0x0000588a 
+ 00022327  0x000038d8 force  0x00000001 , 0x0000003f 
+ 00022328  0x000038d9 store  0x00000001 , 0x00004445 
+ 00022329  0x000038da call  0x00005a74 
+ 00022330  0x000038dc call  0x00005a7d 
+ 00022331  0x000038dd branch  0x00005746 , 0x00000034 
+ 00022332  0x000038de nbranch  0x00005744 , 0x00000002 
+ 00022333  0x000038df disable  0x00000028 
+ 00022334  0x000038e0 istore  0x00000002 , 0x00000005 
+ 00022335  0x000038e1 ifetch  0x00000002 , 0x00000006 
+ 00022336  0x000038e2 istore  0x00000002 , 0x00000005 
+ 00022337  0x000038e4 ifetch  0x00000001 , 0x00000006 
+ 00022338  0x000038e5 iadd  0x00000006 , 0x00000006 
+ 00022339  0x000038e6 branch  0x0000573a 
+ 00022340  0x000038e8 increase  0x00000002 , 0x00000006 
+ 00022341  0x000038e9 branch  0x00005741 
+ 00022342  0x000038eb branch  0x00005728 , 0x00000028 
+ 00022343  0x000038ec branch  0x0000588a 
+ 00022344  0x000038f0 fetch  0x00000002 , 0x000044bc 
+ 00022345  0x000038f1 branch  0x00005688 , 0x00000034 
+ 00022346  0x000038f2 store  0x00000002 , 0x00004445 
+ 00022347  0x000038f3 fetch  0x00000002 , 0x000044be 
+ 00022348  0x000038f5 istore  0x00000002 , 0x00000005 
+ 00022349  0x000038f6 fetch  0x00000002 , 0x000044c4 
+ 00022350  0x000038f8 istore  0x00000002 , 0x00000005 
+ 00022351  0x000038f9 fetch  0x00000002 , 0x000044c0 
+ 00022352  0x000038fb istore  0x00000002 , 0x00000005 
+ 00022353  0x000038fc branch  0x0000588a 
+ 00022354  0x00003900 call  0x0000577b 
+ 00022355  0x00003901 rtn  0x00000028 
+ 00022356  0x00003902 fetcht  0x00000002 , 0x000044c4 
+ 00022357  0x00003903 setarg  0x00002800 
+ 00022358  0x00003904 isub  0x00000002 , 0x0000003e 
+ 00022359  0x00003905 branch  0x00005762 , 0x00000005 
+ 00022360  0x00003906 setarg  0x00002801 
+ 00022361  0x00003907 isub  0x00000002 , 0x0000003e 
+ 00022362  0x00003908 branch  0x00005728 , 0x00000005 
+ 00022363  0x00003909 setarg  0x00002802 
+ 00022364  0x0000390a isub  0x00000002 , 0x0000003e 
+ 00022365  0x0000390b branch  0x00005728 , 0x00000005 
+ 00022366  0x0000390c setarg  0x00002803 
+ 00022367  0x0000390d isub  0x00000002 , 0x0000003e 
+ 00022368  0x0000390e branch  0x00005728 , 0x00000005 
+ 00022369  0x0000390f branch  0x00005728 
+ 00022370  0x00003912 fetcht  0x00000002 , 0x000044c0 
+ 00022371  0x00003913 increase  0x00000002 , 0x00000006 
+ 00022372  0x00003914 ifetch  0x00000001 , 0x00000006 
+ 00022373  0x00003915 icopy  0x00000013 
+ 00022374  0x00003916 increase  0x00000001 , 0x00000013 
+ 00022375  0x00003919 increase  0xffffffff , 0x00000013 
+ 00022376  0x0000391a branch  0x00005728 , 0x00000005 
+ 00022377  0x0000391b ifetch  0x00000002 , 0x00000006 
+ 00022378  0x0000391c isub  0x00000002 , 0x0000003e 
+ 00022379  0x0000391d branch  0x0000576e , 0x00000005 
+ 00022380  0x0000391e increase  0x00000004 , 0x00000006 
+ 00022381  0x0000391f branch  0x00005767 
+ 00022382  0x00003922 ifetch  0x00000002 , 0x00000006 
+ 00022383  0x00003923 icopy  0x00000011 
+ 00022384  0x00003924 ifetch  0x00000002 , 0x00000006 
+ 00022385  0x00003925 icopy  0x00000012 
+ 00022386  0x00003926 call  0x00005785 
+ 00022387  0x00003927 rtn  0x00000028 
+ 00022388  0x00003928 jam  0x00000007 , 0x00004444 
+ 00022389  0x00003929 deposit  0x00000011 
+ 00022390  0x0000392a store  0x00000002 , 0x00004445 
+ 00022391  0x0000392b deposit  0x00000012 
+ 00022392  0x0000392c istore  0x00000002 , 0x00000005 
+ 00022393  0x0000392d force  0x00000009 , 0x00000002 
+ 00022394  0x0000392e branch  0x00005892 
+ 00022395  0x00003934 disable  0x00000028 
+ 00022396  0x00003935 fetcht  0x00000002 , 0x000044bc 
+ 00022397  0x00003936 fetch  0x00000002 , 0x000044be 
+ 00022398  0x00003937 isub  0x00000002 , 0x0000003e 
+ 00022399  0x00003938 nbranch  0x00005782 , 0x00000002 
+ 00022400  0x00003939 deposit  0x00000002 
+ 00022401  0x0000393a rtnne  0x00000000 
+ 00022402  0x0000393d enable  0x00000028 
+ 00022403  0x0000393f jam  0x00000001 , 0x000003fc 
+ 00022404  0x00003940 branch  0x00005729 
+ 00022405  0x00003943 disable  0x00000028 
+ 00022406  0x00003944 fetcht  0x00000002 , 0x000044bc 
+ 00022407  0x00003945 deposit  0x00000011 
+ 00022408  0x00003946 isub  0x00000002 , 0x0000003e 
+ 00022409  0x00003947 nbranch  0x00005791 , 0x00000002 
+ 00022410  0x00003948 fetch  0x00000002 , 0x000044be 
+ 00022411  0x00003949 isub  0x00000012 , 0x0000003e 
+ 00022412  0x0000394a nbranch  0x00005791 , 0x00000002 
+ 00022413  0x0000394b deposit  0x00000012 
+ 00022414  0x0000394c isub  0x00000011 , 0x0000003e 
+ 00022415  0x0000394d nbranch  0x00005791 , 0x00000002 
+ 00022416  0x0000394e rtn 
+ 00022417  0x00003951 enable  0x00000028 
+ 00022418  0x00003952 branch  0x00005728 
+ 00022419  0x00003956 fetch  0x00000002 , 0x000044bc 
+ 00022420  0x00003958 istore  0x00000002 , 0x00000005 
+ 00022421  0x00003959 fetch  0x00000002 , 0x000044be 
+ 00022422  0x0000395b istore  0x00000002 , 0x00000005 
+ 00022423  0x0000395c fetch  0x00000002 , 0x000044c0 
+ 00022424  0x0000395d istore  0x00000002 , 0x00000005 
+ 00022425  0x0000395e force  0x0000000b , 0x00000002 
+ 00022426  0x0000395f branch  0x00005892 
+ 00022427  0x00003963 fetcht  0x00000002 , 0x000044c0 
+ 00022428  0x00003964 setarg  0x00002803 
+ 00022429  0x00003965 isub  0x00000002 , 0x0000003e 
+ 00022430  0x00003966 setarg  0x00000007 
+ 00022431  0x00003967 branch  0x000057a5 , 0x00000005 
+ 00022432  0x00003968 setarg  0x00002800 
+ 00022433  0x00003969 isub  0x00000002 , 0x0000003e 
+ 00022434  0x0000396a setarg  0x00000006 
+ 00022435  0x0000396b branch  0x000057a5 , 0x00000005 
+ 00022436  0x0000396c branch  0x00005728 
+ 00022437  0x0000396e store  0x00000001 , 0x00004445 
+ 00022438  0x0000396f call  0x00005a74 
+ 00022439  0x00003970 force  0x00000003 , 0x00000030 
+ 00022440  0x00003972 call  0x00005a7d 
+ 00022441  0x00003973 branch  0x000057bc , 0x00000034 
+ 00022442  0x00003974 nbranch  0x000057b8 , 0x00000002 
+ 00022443  0x00003975 iforce  0x00000011 
+ 00022444  0x00003976 ifetch  0x00000002 , 0x00000006 
+ 00022445  0x00003977 isub  0x00000002 , 0x0000003e 
+ 00022446  0x00003978 nbranch  0x000057b9 , 0x00000005 
+ 00022447  0x00003979 disable  0x00000028 
+ 00022448  0x0000397a deposit  0x00000011 
+ 00022449  0x0000397b istore  0x00000002 , 0x00000005 
+ 00022450  0x0000397c ifetch  0x00000001 , 0x00000006 
+ 00022451  0x0000397d add  0x0000003f , 0x00000004 , 0x00000039 
+ 00022452  0x0000397e call  0x00007e45 
+ 00022453  0x0000397f increase  0xffffffff , 0x00000030 
+ 00022454  0x00003980 branch  0x000057bc , 0x00000005 
+ 00022455  0x00003981 branch  0x000057b9 
+ 00022456  0x00003983 increase  0x00000002 , 0x00000006 
+ 00022457  0x00003985 ifetch  0x00000001 , 0x00000006 
+ 00022458  0x00003986 iadd  0x00000006 , 0x00000006 
+ 00022459  0x00003987 branch  0x000057a8 
+ 00022460  0x00003989 branch  0x00005728 , 0x00000028 
+ 00022461  0x0000398a branch  0x0000588a 
+ 00022462  0x0000398e fetch  0x00000001 , 0x0000443d 
+ 00022463  0x00003990 increase  0xffffffff , 0x0000003f 
+ 00022464  0x00003991 store  0x00000001 , 0x0000443d 
+ 00022465  0x00003992 lshift  0x0000003f , 0x0000003f 
+ 00022466  0x00003994 iadd  0x00000006 , 0x00000006 
+ 00022467  0x00003995 ifetcht  0x00000002 , 0x00000006 
+ 00022468  0x00003996 storet  0x00000002 , 0x00004445 
+ 00022469  0x00003997 branch  0x0000588a 
+ 00022470  0x0000399a fetcht  0x00000002 , 0x000003fa 
+ 00022471  0x0000399b call  0x00005a88 
+ 00022472  0x0000399c branch  0x00005728 , 0x00000034 
+ 00022473  0x0000399d ifetch  0x00000001 , 0x00000006 
+ 00022474  0x0000399e branch  0x0000588a , 0x00000034 
+ 00022475  0x0000399f sub  0x0000003f , 0x00000016 , 0x0000003e 
+ 00022476  0x000039a0 branch  0x000057ce , 0x00000002 
+ 00022477  0x000039a1 force  0x00000016 , 0x0000003f 
+ 00022478  0x000039a3 icopy  0x00000039 
+ 00022479  0x000039a4 call  0x00007e45 
+ 00022480  0x000039a5 branch  0x0000588a 
+ 00022481  0x000039a9 setarg  0x00000003 
+ 00022482  0x000039aa store  0x00000002 , 0x00004445 
+ 00022483  0x000039ab setarg  0x00000008 
+ 00022484  0x000039ac istore  0x00000002 , 0x00000005 
+ 00022485  0x000039ad branch  0x0000588a 
+ 00022486  0x000039b0 fetch  0x00000002 , 0x000044c0 
+ 00022487  0x000039b1 iforce  0x00000011 
+ 00022488  0x000039b2 fetcht  0x00000002 , 0x000003fa 
+ 00022489  0x000039b3 call  0x00005a88 
+ 00022490  0x000039b4 branch  0x00005728 , 0x00000034 
+ 00022491  0x000039b5 ifetch  0x00000001 , 0x00000006 
+ 00022492  0x000039b6 isub  0x00000011 , 0x00000039 
+ 00022493  0x000039b7 nbranch  0x00005728 , 0x00000002 
+ 00022494  0x000039b8 sub  0x00000039 , 0x00000016 , 0x0000003e 
+ 00022495  0x000039b9 branch  0x000057e1 , 0x00000002 
+ 00022496  0x000039ba force  0x00000016 , 0x00000039 
+ 00022497  0x000039bc deposit  0x00000011 
+ 00022498  0x000039bd iadd  0x00000006 , 0x00000006 
+ 00022499  0x000039be call  0x00007e45 
+ 00022500  0x000039bf branch  0x0000588a 
+ 00022501  0x000039c2 setarg  0x00000003 
+ 00022502  0x000039c3 istore  0x00000002 , 0x00000005 
+ 00022503  0x000039c4 setarg  0x00000007 
+ 00022504  0x000039c5 istore  0x00000002 , 0x00000005 
+ 00022505  0x000039c6 setarg  0x00000009 
+ 00022506  0x000039c7 istore  0x00000002 , 0x00000005 
+ 00022507  0x000039c8 branch  0x0000588a 
+ 00022508  0x000039cb fetch  0x00000001 , 0x0000443d 
+ 00022509  0x000039cc icopy  0x00000013 
+ 00022510  0x000039cd arg  0x00000347 , 0x00000011 
+ 00022511  0x000039ce arg  0x00004445 , 0x00000012 
+ 00022512  0x000039cf arg  0x00000000 , 0x0000000b 
+ 00022513  0x000039d0 disable  0x00000031 
+ 00022514  0x000039d3 copy  0x00000011 , 0x00000006 
+ 00022515  0x000039d4 ifetcht  0x00000002 , 0x00000006 
+ 00022516  0x000039d5 copy  0x00000006 , 0x00000011 
+ 00022517  0x000039d6 call  0x00005a88 
+ 00022518  0x000039d7 branch  0x00005805 , 0x00000034 
+ 00022519  0x000039d8 ifetch  0x00000001 , 0x00000006 
+ 00022520  0x000039d9 icopy  0x00000039 
+ 00022521  0x000039da iadd  0x0000000b , 0x0000000b 
+ 00022522  0x000039de sub  0x0000000b , 0x00000018 , 0x0000003e 
+ 00022523  0x000039df nbranch  0x0000580a , 0x00000002 
+ 00022524  0x000039e0 copy  0x00000012 , 0x00000005 
+ 00022525  0x000039e3 ifetch  0x00000001 , 0x00000006 
+ 00022526  0x000039e4 istore  0x00000001 , 0x00000005 
+ 00022527  0x000039e5 loop  0x000057fd 
+ 00022528  0x000039e6 copy  0x00000005 , 0x00000012 
+ 00022529  0x000039e7 enable  0x00000031 
+ 00022530  0x000039e8 increase  0xffffffff , 0x00000013 
+ 00022531  0x000039e9 branch  0x00005805 , 0x00000005 
+ 00022532  0x000039ea branch  0x000057f2 
+ 00022533  0x000039ed nbranch  0x00005810 , 0x00000031 
+ 00022534  0x000039ee disable  0x00000031 
+ 00022535  0x000039ef copy  0x0000000b , 0x00000002 
+ 00022536  0x000039f0 increase  0x00000005 , 0x00000002 
+ 00022537  0x000039f1 branch  0x00005892 
+ 00022538  0x000039f4 nbranch  0x00005810 , 0x00000031 
+ 00022539  0x000039f5 disable  0x00000031 
+ 00022540  0x000039f6 deposit  0x0000000b 
+ 00022541  0x000039f7 isub  0x00000039 , 0x00000002 
+ 00022542  0x000039f8 increase  0x00000005 , 0x00000002 
+ 00022543  0x000039f9 branch  0x00005892 
+ 00022544  0x000039fc jam  0x00000010 , 0x000003fc 
+ 00022545  0x000039fd branch  0x00005729 
+ 00022546  0x00003a01 fetch  0x00000002 , 0x000003fa 
+ 00022547  0x00003a02 branch  0x00005688 , 0x00000034 
+ 00022548  0x00003a03 istore  0x00000002 , 0x00000005 
+ 00022549  0x00003a04 setarg  0x0000ffff 
+ 00022550  0x00003a05 istore  0x00000002 , 0x00000005 
+ 00022551  0x00003a06 setarg  0x00002800 
+ 00022552  0x00003a07 istore  0x00000002 , 0x00000005 
+ 00022553  0x00003a08 branch  0x0000588a 
+ 00022554  0x00003a0c setarg  0x00000006 
+ 00022555  0x00003a0d store  0x00000001 , 0x00004445 
+ 00022556  0x00003a0e fetch  0x00000002 , 0x000044c0 
+ 00022557  0x00003a0f iforce  0x00000011 
+ 00022558  0x00003a10 call  0x00005a74 
+ 00022559  0x00003a11 force  0x00000003 , 0x00000039 
+ 00022560  0x00003a13 call  0x00005a7d 
+ 00022561  0x00003a14 branch  0x00005835 , 0x00000034 
+ 00022562  0x00003a15 nbranch  0x0000583a , 0x00000002 
+ 00022563  0x00003a16 iforce  0x00000030 
+ 00022564  0x00003a17 ifetch  0x00000002 , 0x00000006 
+ 00022565  0x00003a18 isub  0x00000011 , 0x0000003e 
+ 00022566  0x00003a19 nbranch  0x0000583b , 0x00000005 
+ 00022567  0x00003a1a deposit  0x00000030 
+ 00022568  0x00003a1b branch  0x0000582f , 0x00000028 
+ 00022569  0x00003a1c increase  0xffffffff , 0x0000003f 
+ 00022570  0x00003a1d istore  0x00000002 , 0x00000005 
+ 00022571  0x00003a1e istoret  0x00000002 , 0x00000005 
+ 00022572  0x00003a1f increase  0x00000001 , 0x0000003f 
+ 00022573  0x00003a20 increase  0xffffffff , 0x00000039 
+ 00022574  0x00003a21 branch  0x0000588a , 0x00000005 
+ 00022575  0x00003a23 disable  0x00000028 
+ 00022576  0x00003a24 istore  0x00000002 , 0x00000005 
+ 00022577  0x00003a25 increase  0x00000001 , 0x00000006 
+ 00022578  0x00003a26 ifetcht  0x00000002 , 0x00000006 
+ 00022579  0x00003a27 increase  0xfffffffd , 0x00000006 
+ 00022580  0x00003a28 branch  0x0000583b 
+ 00022581  0x00003a2a branch  0x00005728 , 0x00000028 
+ 00022582  0x00003a2b force  0xffffffff , 0x0000003f 
+ 00022583  0x00003a2c istore  0x00000002 , 0x00000005 
+ 00022584  0x00003a2d istoret  0x00000002 , 0x00000005 
+ 00022585  0x00003a2e branch  0x0000588a 
+ 00022586  0x00003a30 increase  0x00000002 , 0x00000006 
+ 00022587  0x00003a32 ifetch  0x00000001 , 0x00000006 
+ 00022588  0x00003a33 iadd  0x00000006 , 0x00000006 
+ 00022589  0x00003a34 branch  0x00005820 
+ 00022590  0x00003a39 fetch  0x00000002 , 0x000044c2 
+ 00022591  0x00003a3a store  0x00000002 , 0x00004445 
+ 00022592  0x00003a3b fetch  0x00000001 , 0x000044c6 
+ 00022593  0x00003a3c copy  0x0000003f , 0x00000039 
+ 00022594  0x00003a3d arg  0x000044c7 , 0x00000006 
+ 00022595  0x00003a3e call  0x00007e45 
+ 00022596  0x00003a3f branch  0x0000588a 
+ 00022597  0x00003a42 fetcht  0x00000002 , 0x000003fa 
+ 00022598  0x00003a43 call  0x00005a88 
+ 00022599  0x00003a44 branch  0x0000585c , 0x00000034 
+ 00022600  0x00003a45 increase  0xfffffffe , 0x00000006 
+ 00022601  0x00003a46 ifetcht  0x00000002 , 0x00000006 
+ 00022602  0x00003a47 setarg  0x00002902 
+ 00022603  0x00003a48 isub  0x00000002 , 0x0000003e 
+ 00022604  0x00003a49 nbranch  0x0000585c , 0x00000005 
+ 00022605  0x00003a4a increase  0x00000001 , 0x00000006 
+ 00022606  0x00003a4b ifetcht  0x00000002 , 0x00000006 
+ 00022607  0x00003a4c setarg  0x00000001 
+ 00022608  0x00003a4d isub  0x00000002 , 0x0000003e 
+ 00022609  0x00003a4e branch  0x00005856 , 0x00000005 
+ 00022610  0x00003a4f setarg  0x00000000 
+ 00022611  0x00003a50 isub  0x00000002 , 0x0000003e 
+ 00022612  0x00003a51 nbranch  0x0000585c , 0x00000005 
+ 00022613  0x00003a52 branch  0x0000585c 
+ 00022614  0x00003a55 increase  0xfffffff9 , 0x00000006 
+ 00022615  0x00003a56 ifetch  0x00000002 , 0x00000006 
+ 00022616  0x00003a57 increase  0xffffffff , 0x0000003f 
+ 00022617  0x00003a58 store  0x00000002 , 0x000044c2 
+ 00022618  0x00003a59 jam  0x0000001b , 0x00000b7d 
+ 00022619  0x00003a5a call  0x00005620 
+ 00022620  0x00003a5e force  0x00000005 , 0x00000002 
+ 00022621  0x00003a5f branch  0x00005892 
+ 00022622  0x00003a62 force  0x00000006 , 0x00000002 
+ 00022623  0x00003a63 branch  0x00005892 
+ 00022624  0x00003a66 force  0x00000006 , 0x00000002 
+ 00022625  0x00003a67 branch  0x00005892 
+ 00022626  0x00003a6a force  0x00000006 , 0x00000002 
+ 00022627  0x00003a6b branch  0x00005892 
+ 00022628  0x00003a6e force  0x00000006 , 0x00000002 
+ 00022629  0x00003a6f branch  0x00005892 
+ 00022630  0x00003a72 set1  0x00000025 , 0x00000000 
+ 00022631  0x00003a73 bpatch  0x00000066 , 0x0000402c 
+ 00022632  0x00003a74 increase  0x00000001 , 0x00000002 
+ 00022633  0x00003a75 call  0x00005a88 
+ 00022634  0x00003a76 increase  0xfffffffe , 0x00000006 
+ 00022635  0x00003a77 ifetch  0x00000002 , 0x00000006 
+ 00022636  0x00003a78 arg  0x00002902 , 0x00000002 
+ 00022637  0x00003a79 isub  0x00000002 , 0x0000003e 
+ 00022638  0x00003a7a nrtn  0x00000005 
+ 00022639  0x00003a7b increase  0x00000001 , 0x00000006 
+ 00022640  0x00003a7c copy  0x00000006 , 0x00000011 
+ 00022641  0x00003a7d ifetch  0x00000001 , 0x00000006 
+ 00022642  0x00003a7e rtn 
+ 00022643  0x00003a81 jam  0x00000000 , 0x0000041b 
+ 00022644  0x00003a82 fetch  0x00000002 , 0x00004298 
+ 00022645  0x00003a83 call  0x00007f66 
+ 00022646  0x00003a84 arg  0x00004444 , 0x00000005 
+ 00022647  0x00003a85 increase  0x00000001 , 0x00000005 
+ 00022648  0x00003a86 fetcht  0x00000002 , 0x000044c2 
+ 00022649  0x00003a87 istoret  0x00000002 , 0x00000005 
+ 00022650  0x00003a88 call  0x00005a88 
+ 00022651  0x00003a89 ifetch  0x00000001 , 0x00000006 
+ 00022652  0x00003a8a icopy  0x00000039 
+ 00022653  0x00003a8b call  0x00007e45 
+ 00022654  0x00003a8c fetcht  0x00000001 , 0x0000041b 
+ 00022655  0x00003a8d increase  0x00000007 , 0x00000002 
+ 00022656  0x00003a8e call  0x00005892 
+ 00022657  0x00003a8f branch  0x00005ace 
+ 00022658  0x00003a92 force  0x00000006 , 0x00000002 
+ 00022659  0x00003a93 branch  0x00005892 
+ 00022660  0x00003a96 force  0x00000006 , 0x00000002 
+ 00022661  0x00003a97 branch  0x00005892 
+ 00022662  0x00003a9a force  0x00000006 , 0x00000002 
+ 00022663  0x00003a9b branch  0x00005892 
+ 00022664  0x00003a9e force  0x00000006 , 0x00000002 
+ 00022665  0x00003a9f branch  0x00005892 
+ 00022666  0x00003aa3 set1  0x00000025 , 0x00000000 
+ 00022667  0x00003aa4 bpatch  0x00000067 , 0x0000402c 
+ 00022668  0x00003aa5 setarg  0x00004440 
+ 00022669  0x00003aa6 isub  0x00000005 , 0x0000003f 
+ 00022670  0x00003aa7 sub  0x0000003f , 0x00000000 , 0x00000002 
+ 00022671  0x00003aa8 branch  0x00005892 
+ 00022672  0x00003aac force  0x00000000 , 0x00000002 
+ 00022673  0x00003aad force  0x00000001 , 0x00000001 
+ 00022674  0x00003ab0 set1  0x00000025 , 0x00000000 
+ 00022675  0x00003ab1 bpatch  0x00000068 , 0x0000402d 
+ 00022676  0x00003ab2 storet  0x00000001 , 0x0000443f 
+ 00022677  0x00003ab3 compare  0x00000002 , 0x00000001 , 0x00000003 
+ 00022678  0x00003ab4 nbranch  0x00005899 , 0x00000001 
+ 00022679  0x00003ab5 add  0x00000002 , 0xfffffffc , 0x0000003f 
+ 00022680  0x00003ab6 store  0x00000002 , 0x00004440 
+ 00022681  0x00003ab9 fetcht  0x00000001 , 0x000003d7 
+ 00022682  0x00003aba call  0x0000561a 
+ 00022683  0x00003abb nsetflag  0x00000034 , 0x00000004 , 0x00000002 
+ 00022684  0x00003abc set1  0x00000005 , 0x00000002 
+ 00022685  0x00003abd and  0x00000002 , 0x000000fc , 0x0000003f 
+ 00022686  0x00003abe ior  0x00000001 , 0x0000003f 
+ 00022687  0x00003abf store  0x00000001 , 0x000003d7 
+ 00022688  0x00003ac0 and_into  0x0000001f , 0x0000003f 
+ 00022689  0x00003ac1 store  0x00000001 , 0x0000443e 
+ 00022690  0x00003ac2 set1  0x00000025 , 0x00000000 
+ 00022691  0x00003ac3 bpatch  0x00000069 , 0x0000402d 
+ 00022692  0x00003ac4 fetch  0x00000001 , 0x0000443e 
+ 00022693  0x00003ac5 compare  0x00000001 , 0x00000001 , 0x00000003 
+ 00022694  0x00003ac6 rtn  0x00000001 
+ 00022695  0x00003ac7 fetch  0x00000007 , 0x0000443f 
+ 00022696  0x00003ac8 fetch  0x00000001 , 0x000003c0 
+ 00022697  0x00003ac9 rtnbit0  0x00000004 
+ 00022698  0x00003aca call  0x00007599 
+ 00022699  0x00003acb branch  0x000074f7 
+ 00022700  0x00003ace set1  0x00000025 , 0x00000000 
+ 00022701  0x00003acf bpatch  0x0000006a , 0x0000402d 
+ 00022702  0x00003ad0 call  0x0000561c 
+ 00022703  0x00003ad1 nbranch  0x00003bf1 , 0x00000034 
+ 00022704  0x00003ad2 nrtn  0x00000034 
+ 00022705  0x00003ad3 fetch  0x00000001 , 0x00000341 
+ 00022706  0x00003ad4 rtn  0x00000034 
+ 00022707  0x00003ad5 fetch  0x00000001 , 0x00000340 
+ 00022708  0x00003ad6 compare  0x00000001 , 0x0000003f , 0x00000003 
+ 00022709  0x00003ad7 branch  0x000058cf , 0x00000001 
+ 00022710  0x00003ad8 fetch  0x00000007 , 0x00000341 
+ 00022711  0x00003ad9 fetch  0x00000001 , 0x00000340 
+ 00022712  0x00003ada compare  0x00000002 , 0x0000003f , 0x00000003 
+ 00022713  0x00003adb branch  0x000058cf , 0x00000001 
+ 00022714  0x00003adc fetch  0x00000001 , 0x00000342 
+ 00022715  0x00003add store  0x00000001 , 0x00000418 
+ 00022716  0x00003ade copy  0x0000003f , 0x00000013 
+ 00022717  0x00003adf set1  0x00000025 , 0x00000000 
+ 00022718  0x00003ae0 bpatch  0x0000006b , 0x0000402d 
+ 00022719  0x00003ae1 copy  0x00000013 , 0x0000003f 
+ 00022720  0x00003ae2 beq  0x00000000 , 0x00005924 
+ 00022721  0x00003ae3 beq  0x00000001 , 0x0000592c 
+ 00022722  0x00003ae4 beq  0x00000002 , 0x00005934 
+ 00022723  0x00003ae5 beq  0x00000003 , 0x00005938 
+ 00022724  0x00003ae6 beq  0x00000004 , 0x0000593f 
+ 00022725  0x00003ae7 beq  0x00000005 , 0x00005944 
+ 00022726  0x00003ae8 beq  0x00000006 , 0x00005949 
+ 00022727  0x00003ae9 beq  0x00000007 , 0x0000594c 
+ 00022728  0x00003aea beq  0x00000008 , 0x0000594d 
+ 00022729  0x00003aeb beq  0x00000009 , 0x0000594f 
+ 00022730  0x00003aec beq  0x0000000a , 0x00005950 
+ 00022731  0x00003aed beq  0x0000000b , 0x00005951 
+ 00022732  0x00003aee beq  0x0000000c , 0x00005952 
+ 00022733  0x00003aef beq  0x0000000d , 0x00005955 
+ 00022734  0x00003af0 branch  0x00003bf1 
+ 00022735  0x00003af3 fetch  0x00000001 , 0x00000341 
+ 00022736  0x00003af4 and  0x0000003f , 0x0000001f , 0x0000003f 
+ 00022737  0x00003af5 rtn  0x00000034 
+ 00022738  0x00003af6 fetch  0x00000001 , 0x00004132 
+ 00022739  0x00003af7 beq  0x00000001 , 0x000058d8 
+ 00022740  0x00003af8 fetch  0x00000002 , 0x00000344 
+ 00022741  0x00003af9 beq  0x00000004 , 0x00005903 
+ 00022742  0x00003afa beq  0x00000006 , 0x000058f4 
+ 00022743  0x00003afb rtn 
+ 00022744  0x00003afe set1  0x00000025 , 0x00000000 
+ 00022745  0x00003aff bpatch  0x0000006c , 0x0000402d 
+ 00022746  0x00003b00 call  0x00004972 
+ 00022747  0x00003b01 fetch  0x00000001 , 0x000003d6 
+ 00022748  0x00003b02 fetcht  0x00000001 , 0x00000340 
+ 00022749  0x00003b03 and_into  0x00000003 , 0x00000002 
+ 00022750  0x00003b04 lshift8  0x00000002 , 0x00000002 
+ 00022751  0x00003b05 lshift4  0x00000002 , 0x00000002 
+ 00022752  0x00003b06 ior  0x00000002 , 0x0000003f 
+ 00022753  0x00003b07 istore  0x00000002 , 0x0000000a 
+ 00022754  0x00003b08 fetcht  0x00000001 , 0x00000341 
+ 00022755  0x00003b09 and  0x00000002 , 0x0000001f , 0x00000002 
+ 00022756  0x00003b0a istoret  0x00000002 , 0x0000000a 
+ 00022757  0x00003b0b copy  0x00000002 , 0x00000039 
+ 00022758  0x00003b0c call  0x00004976 
+ 00022759  0x00003b0d add  0x00000002 , 0x00000004 , 0x00000039 
+ 00022760  0x00003b0e call  0x00004424 
+ 00022761  0x00003b0f branch  0x00004435 
+ 00022762  0x00003b12 set1  0x00000025 , 0x00000000 
+ 00022763  0x00003b13 bpatch  0x0000006d , 0x0000402d 
+ 00022764  0x00003b14 arg  0x00000002 , 0x00000001 
+ 00022765  0x00003b15 ifetch  0x00000002 , 0x00000003 
+ 00022766  0x00003b16 ifetch  0x00000002 , 0x00000003 
+ 00022767  0x00003b17 branch  0x00003bf1 , 0x00000034 
+ 00022768  0x00003b18 copy  0x0000003f , 0x00000039 
+ 00022769  0x00003b19 arg  0x00004440 , 0x00000005 
+ 00022770  0x00003b1a call  0x0000497c 
+ 00022771  0x00003b1b branch  0x0000588a 
+ 00022772  0x00003b1e set1  0x00000025 , 0x00000000 
+ 00022773  0x00003b1f bpatch  0x0000006e , 0x0000402d 
+ 00022774  0x00003b20 ifetch  0x00000001 , 0x00000006 
+ 00022775  0x00003b21 beq  0x00000001 , 0x00005956 
+ 00022776  0x00003b22 beq  0x00000002 , 0x0000595b 
+ 00022777  0x00003b23 beq  0x00000003 , 0x00005960 
+ 00022778  0x00003b24 beq  0x00000004 , 0x00005966 
+ 00022779  0x00003b25 beq  0x00000005 , 0x0000596f 
+ 00022780  0x00003b26 beq  0x00000006 , 0x00005970 
+ 00022781  0x00003b27 beq  0x00000007 , 0x00005972 
+ 00022782  0x00003b28 beq  0x00000008 , 0x00005973 
+ 00022783  0x00003b29 beq  0x00000009 , 0x00005974 
+ 00022784  0x00003b2a beq  0x0000000a , 0x00005975 
+ 00022785  0x00003b2b beq  0x0000000b , 0x00005976 
+ 00022786  0x00003b2c branch  0x00003bf1 
+ 00022787  0x00003b2f set1  0x00000025 , 0x00000000 
+ 00022788  0x00003b30 bpatch  0x0000006f , 0x0000402d 
+ 00022789  0x00003b31 ifetch  0x00000003 , 0x00000006 
+ 00022790  0x00003b32 store  0x00000003 , 0x000003f9 
+ 00022791  0x00003b34 beq  0x00000001 , 0x00005977 
+ 00022792  0x00003b35 beq  0x00000002 , 0x0000598e 
+ 00022793  0x00003b36 beq  0x00000003 , 0x00005990 
+ 00022794  0x00003b37 beq  0x00000004 , 0x00005991 
+ 00022795  0x00003b38 beq  0x00000005 , 0x00005997 
+ 00022796  0x00003b39 beq  0x00000006 , 0x0000599a 
+ 00022797  0x00003b3a beq  0x00000007 , 0x000059a4 
+ 00022798  0x00003b3b beq  0x00000008 , 0x000059a5 
+ 00022799  0x00003b3c beq  0x00000009 , 0x000059ad 
+ 00022800  0x00003b3d beq  0x0000000a , 0x000059ae 
+ 00022801  0x00003b3e beq  0x0000000b , 0x000059b2 
+ 00022802  0x00003b3f beq  0x0000000c , 0x000059b5 
+ 00022803  0x00003b40 beq  0x0000000d , 0x000059b9 
+ 00022804  0x00003b41 beq  0x0000000e , 0x000059ba 
+ 00022805  0x00003b42 beq  0x0000000f , 0x000059c0 
+ 00022806  0x00003b43 beq  0x00000010 , 0x000059c1 
+ 00022807  0x00003b44 beq  0x00000011 , 0x000059c9 
+ 00022808  0x00003b45 beq  0x00000012 , 0x000059ca 
+ 00022809  0x00003b46 beq  0x00000013 , 0x000059da 
+ 00022810  0x00003b47 beq  0x00000016 , 0x000059dc 
+ 00022811  0x00003b48 beq  0x00000017 , 0x000059dd 
+ 00022812  0x00003b49 beq  0x00000018 , 0x000059de 
+ 00022813  0x00003b4a beq  0x00000019 , 0x000059df 
+ 00022814  0x00003b4b beq  0x0000001b , 0x000059e0 
+ 00022815  0x00003b4c beq  0x0000001d , 0x000059eb 
+ 00022816  0x00003b4d beq  0x0000001e , 0x000059ec 
+ 00022817  0x00003b4e beq  0x00000052 , 0x000059ed 
+ 00022818  0x00003b4f beq  0x000000d2 , 0x00005a01 
+ 00022819  0x00003b50 branch  0x00003bf1 
+ 00022820  0x00003b54 ifetch  0x00000009 , 0x00000006 
+ 00022821  0x00003b55 store  0x00000009 , 0x00004434 
+ 00022822  0x00003b56 ifetch  0x00000002 , 0x00000006 
+ 00022823  0x00003b57 store  0x00000002 , 0x000003e0 
+ 00022824  0x00003b58 fetch  0x00000001 , 0x000003c0 
+ 00022825  0x00003b59 set1  0x00000005 , 0x0000003f 
+ 00022826  0x00003b5a store  0x00000001 , 0x000003c0 
+ 00022827  0x00003b5b rtn 
+ 00022828  0x00003b5e ifetch  0x00000005 , 0x00000006 
+ 00022829  0x00003b5f store  0x00000005 , 0x0000442f 
+ 00022830  0x00003b60 ifetch  0x00000002 , 0x00000006 
+ 00022831  0x00003b61 store  0x00000002 , 0x000003e0 
+ 00022832  0x00003b62 fetch  0x00000001 , 0x000003c0 
+ 00022833  0x00003b63 set1  0x00000006 , 0x0000003f 
+ 00022834  0x00003b64 store  0x00000001 , 0x000003c0 
+ 00022835  0x00003b65 rtn 
+ 00022836  0x00003b68 fetch  0x00000001 , 0x000003e4 
+ 00022837  0x00003b69 set1  0x00000003 , 0x0000003f 
+ 00022838  0x00003b6a store  0x00000001 , 0x000003e4 
+ 00022839  0x00003b6b rtn 
+ 00022840  0x00003b6e increase  0x0000000a , 0x00000006 
+ 00022841  0x00003b6f ifetch  0x00000008 , 0x00000006 
+ 00022842  0x00003b70 store  0x00000008 , 0x00000380 
+ 00022843  0x00003b71 ifetch  0x00000004 , 0x00000006 
+ 00022844  0x00003b72 store  0x00000004 , 0x00004473 
+ 00022845  0x00003b73 jam  0x00000024 , 0x00000b7d 
+ 00022846  0x00003b74 branch  0x00005620 
+ 00022847  0x00003b77 ifetch  0x00000008 , 0x00000006 
+ 00022848  0x00003b78 store  0x00000008 , 0x00000388 
+ 00022849  0x00003b79 ifetch  0x00000004 , 0x00000006 
+ 00022850  0x00003b7a store  0x00000004 , 0x00004477 
+ 00022851  0x00003b7b branch  0x000074b6 
+ 00022852  0x00003b7e fetch  0x00000001 , 0x000003c0 
+ 00022853  0x00003b7f set1  0x00000004 , 0x0000003f 
+ 00022854  0x00003b80 store  0x00000001 , 0x000003c0 
+ 00022855  0x00003b81 jam  0x00000026 , 0x00000b7d 
+ 00022856  0x00003b82 branch  0x00005620 
+ 00022857  0x00003b85 rtn  0x00000029 
+ 00022858  0x00003b86 jam  0x00000026 , 0x00000b7d 
+ 00022859  0x00003b87 branch  0x00005620 
+ 00022860  0x00003b8a rtn 
+ 00022861  0x00003b8d jam  0x00000029 , 0x00000b7d 
+ 00022862  0x00003b8e branch  0x00005620 
+ 00022863  0x00003b91 rtn 
+ 00022864  0x00003b94 rtn 
+ 00022865  0x00003b97 rtn 
+ 00022866  0x00003b9a rtn  0x00000029 
+ 00022867  0x00003b9b jam  0x0000002c , 0x00000b7d 
+ 00022868  0x00003b9c branch  0x00005620 
+ 00022869  0x00003b9f rtn 
+ 00022870  0x00003ba3 store  0x00000001 , 0x000044ae 
+ 00022871  0x00003ba4 ifetch  0x00000006 , 0x00000006 
+ 00022872  0x00003ba5 istore  0x00000006 , 0x00000005 
+ 00022873  0x00003ba6 jam  0x00000042 , 0x00000b7d 
+ 00022874  0x00003ba7 branch  0x00005620 
+ 00022875  0x00003baa store  0x00000001 , 0x000044b5 
+ 00022876  0x00003bab ifetch  0x00000006 , 0x00000006 
+ 00022877  0x00003bac istore  0x00000006 , 0x00000005 
+ 00022878  0x00003bad jam  0x00000043 , 0x00000b7d 
+ 00022879  0x00003bae branch  0x00005620 
+ 00022880  0x00003bb1 arg  0x0000448c , 0x00000005 
+ 00022881  0x00003bb2 call  0x00007e35 
+ 00022882  0x00003bb3 jam  0x00000044 , 0x00000b7d 
+ 00022883  0x00003bb4 branch  0x00005620 , 0x00000029 
+ 00022884  0x00003bb5 jam  0x00000043 , 0x00000b7d 
+ 00022885  0x00003bb6 branch  0x00005620 
+ 00022886  0x00003bb9 call  0x000074a8 
+ 00022887  0x00003bba branch  0x0000596a , 0x00000005 
+ 00022888  0x00003bbb jam  0x00000045 , 0x00000b7d 
+ 00022889  0x00003bbc branch  0x00005620 
+ 00022890  0x00003bbf call  0x000074a5 
+ 00022891  0x00003bc0 jam  0x00000023 , 0x00000b7d 
+ 00022892  0x00003bc1 branch  0x00005620 , 0x00000029 
+ 00022893  0x00003bc2 jam  0x00000044 , 0x00000b7d 
+ 00022894  0x00003bc3 branch  0x00005620 
+ 00022895  0x00003bc6 rtn 
+ 00022896  0x00003bc9 arg  0x00000390 , 0x00000005 
+ 00022897  0x00003bca branch  0x00007e35 
+ 00022898  0x00003bcd rtn 
+ 00022899  0x00003bd0 rtn 
+ 00022900  0x00003bd3 rtn 
+ 00022901  0x00003bd6 rtn 
+ 00022902  0x00003bd9 rtn 
+ 00022903  0x00003bdc increase  0xfffffffe , 0x00000006 
+ 00022904  0x00003bdd ifetcht  0x00000001 , 0x00000006 
+ 00022905  0x00003bde setarg  0x00000006 
+ 00022906  0x00003bdf isub  0x00000002 , 0x0000003e 
+ 00022907  0x00003be0 branch  0x00005989 , 0x00000005 
+ 00022908  0x00003be1 setarg  0x00000004 
+ 00022909  0x00003be2 isub  0x00000002 , 0x0000003e 
+ 00022910  0x00003be3 branch  0x0000598a , 0x00000005 
+ 00022911  0x00003be4 setarg  0x00000008 
+ 00022912  0x00003be5 isub  0x00000002 , 0x0000003e 
+ 00022913  0x00003be6 branch  0x0000598b , 0x00000005 
+ 00022914  0x00003be7 setarg  0x0000000c 
+ 00022915  0x00003be8 isub  0x00000002 , 0x0000003e 
+ 00022916  0x00003be9 branch  0x0000598c , 0x00000005 
+ 00022917  0x00003bea setarg  0x0000000e 
+ 00022918  0x00003beb isub  0x00000002 , 0x0000003e 
+ 00022919  0x00003bec branch  0x0000598d , 0x00000005 
+ 00022920  0x00003bed rtn 
+ 00022921  0x00003bf0 rtn 
+ 00022922  0x00003bf3 rtn 
+ 00022923  0x00003bf6 rtn 
+ 00022924  0x00003bf9 rtn 
+ 00022925  0x00003bfc rtn 
+ 00022926  0x00003c00 jam  0x00000003 , 0x00000b7d 
+ 00022927  0x00003c01 branch  0x00005620 
+ 00022928  0x00003c04 rtn 
+ 00022929  0x00003c07 rshift8  0x0000003f , 0x0000003f 
+ 00022930  0x00003c08 store  0x00000002 , 0x000044bc 
+ 00022931  0x00003c09 ifetch  0x00000002 , 0x00000006 
+ 00022932  0x00003c0a store  0x00000002 , 0x000044be 
+ 00022933  0x00003c0b jam  0x00000005 , 0x00000b7d 
+ 00022934  0x00003c0c branch  0x00005620 
+ 00022935  0x00003c0f rtn 
+ 00022936  0x00003c12 rtn 
+ 00022937  0x00003c15 rtn 
+ 00022938  0x00003c18 rshift8  0x0000003f , 0x0000003f 
+ 00022939  0x00003c19 store  0x00000002 , 0x000044bc 
+ 00022940  0x00003c1a ifetch  0x00000002 , 0x00000006 
+ 00022941  0x00003c1b store  0x00000002 , 0x000044be 
+ 00022942  0x00003c1c ifetch  0x00000002 , 0x00000006 
+ 00022943  0x00003c1d store  0x00000002 , 0x000044c4 
+ 00022944  0x00003c1e ifetch  0x00000002 , 0x00000006 
+ 00022945  0x00003c1f store  0x00000002 , 0x000044c0 
+ 00022946  0x00003c20 jam  0x00000007 , 0x00000b7d 
+ 00022947  0x00003c21 branch  0x00005620 
+ 00022948  0x00003c25 rtn 
+ 00022949  0x00003c28 rshift8  0x0000003f , 0x0000003f 
+ 00022950  0x00003c29 store  0x00000002 , 0x000044bc 
+ 00022951  0x00003c2a ifetch  0x00000002 , 0x00000006 
+ 00022952  0x00003c2b store  0x00000002 , 0x000044be 
+ 00022953  0x00003c2c ifetch  0x00000002 , 0x00000006 
+ 00022954  0x00003c2d store  0x00000002 , 0x000044c0 
+ 00022955  0x00003c2e jam  0x00000009 , 0x00000b7d 
+ 00022956  0x00003c2f branch  0x00005620 
+ 00022957  0x00003c32 rtn 
+ 00022958  0x00003c35 fetch  0x00000002 , 0x00000347 
+ 00022959  0x00003c36 store  0x00000002 , 0x000003fa 
+ 00022960  0x00003c37 jam  0x0000000b , 0x00000b7d 
+ 00022961  0x00003c38 branch  0x00005620 
+ 00022962  0x00003c3b rtn 
+ 00022963  0x00003c3e rtn 
+ 00022964  0x00003c41 rtn 
+ 00022965  0x00003c45 ifetch  0x00000002 , 0x00000006 
+ 00022966  0x00003c46 store  0x00000002 , 0x000044c0 
+ 00022967  0x00003c47 jam  0x0000000d , 0x00000b7d 
+ 00022968  0x00003c48 branch  0x00005620 
+ 00022969  0x00003c4b rtn 
+ 00022970  0x00003c4e fetch  0x00000001 , 0x00000341 
+ 00022971  0x00003c4f increase  0xfffffffb , 0x0000003f 
+ 00022972  0x00003c50 rshift  0x0000003f , 0x0000003f 
+ 00022973  0x00003c51 store  0x00000001 , 0x0000443d 
+ 00022974  0x00003c52 jam  0x0000000f , 0x00000b7d 
+ 00022975  0x00003c53 branch  0x00005620 
+ 00022976  0x00003c56 rtn 
+ 00022977  0x00003c59 rshift8  0x0000003f , 0x0000003f 
+ 00022978  0x00003c5a store  0x00000002 , 0x000044bc 
+ 00022979  0x00003c5b ifetch  0x00000002 , 0x00000006 
+ 00022980  0x00003c5c store  0x00000002 , 0x000044be 
+ 00022981  0x00003c5d ifetch  0x00000002 , 0x00000006 
+ 00022982  0x00003c5e store  0x00000002 , 0x000044c0 
+ 00022983  0x00003c5f jam  0x00000011 , 0x00000b7d 
+ 00022984  0x00003c60 branch  0x00005620 
+ 00022985  0x00003c63 rtn 
+ 00022986  0x00003c66 fetch  0x00000001 , 0x00000341 
+ 00022987  0x00003c67 increase  0xfffffff9 , 0x0000003f 
+ 00022988  0x00003c68 icopy  0x00000039 
+ 00022989  0x00003c69 fetcht  0x00000002 , 0x000003fa 
+ 00022990  0x00003c6a call  0x00005a88 
+ 00022991  0x00003c6b branch  0x000059d8 , 0x00000034 
+ 00022992  0x00003c6c ifetch  0x00000001 , 0x00000006 
+ 00022993  0x00003c6d isub  0x00000039 , 0x0000003e 
+ 00022994  0x00003c6e nbranch  0x000059d8 , 0x00000002 
+ 00022995  0x00003c6f copy  0x00000006 , 0x00000005 
+ 00022996  0x00003c71 arg  0x00000349 , 0x00000006 
+ 00022997  0x00003c72 call  0x00007e45 
+ 00022998  0x00003c73 jam  0x00000028 , 0x00000b7d 
+ 00022999  0x00003c74 call  0x00007c27 
+ 00023000  0x00003c76 jam  0x00000013 , 0x00000b7d 
+ 00023001  0x00003c77 branch  0x00005620 
+ 00023002  0x00003c7a fetch  0x00000001 , 0x000003e3 
+ 00023003  0x00003c7b rtn 
+ 00023004  0x00003c7e rtn 
+ 00023005  0x00003c81 rtn 
+ 00023006  0x00003c84 rtn 
+ 00023007  0x00003c87 rtn 
+ 00023008  0x00003c90 ifetch  0x00000005 , 0x00000006 
+ 00023009  0x00003c91 store  0x00000005 , 0x00000ff1 
+ 00023010  0x00003c92 jam  0x00000001 , 0x00000ff0 
+ 00023011  0x00003c94 call  0x00007cdb 
+ 00023012  0x00003c95 rtn 
+ 00023013  0x00003c97 copy  0x00000011 , 0x00000006 
+ 00023014  0x00003c98 ifetch  0x00000008 , 0x00000006 
+ 00023015  0x00003c99 store  0x00000008 , 0x00000ff1 
+ 00023016  0x00003c9a jam  0x00000002 , 0x00000ff0 
+ 00023017  0x00003c9b call  0x00007cdb 
+ 00023018  0x00003c9c rtn 
+ 00023019  0x00003c9f rtn 
+ 00023020  0x00003ca2 rtn 
+ 00023021  0x00003ca5 fetch  0x00000001 , 0x00000341 
+ 00023022  0x00003ca6 increase  0xfffffff9 , 0x0000003f 
+ 00023023  0x00003ca7 icopy  0x00000039 
+ 00023024  0x00003ca8 fetcht  0x00000002 , 0x000003fa 
+ 00023025  0x00003ca9 call  0x00005a88 
+ 00023026  0x00003caa branch  0x000059fd , 0x00000034 
+ 00023027  0x00003cab ifetch  0x00000001 , 0x00000006 
+ 00023028  0x00003cac isub  0x00000039 , 0x0000003e 
+ 00023029  0x00003cad nbranch  0x000059fd , 0x00000002 
+ 00023030  0x00003cae copy  0x00000006 , 0x00000005 
+ 00023031  0x00003caf copy  0x00000006 , 0x00000011 
+ 00023032  0x00003cb0 copy  0x00000039 , 0x00000012 
+ 00023033  0x00003cb1 arg  0x00000349 , 0x00000006 
+ 00023034  0x00003cb2 call  0x00007e45 
+ 00023035  0x00003cb3 jam  0x00000001 , 0x00000481 
+ 00023036  0x00003cb4 call  0x000059fe 
+ 00023037  0x00003cb6 rtn 
+ 00023038  0x00003cba fetch  0x00000002 , 0x00004296 
+ 00023039  0x00003cbb rtn  0x00000034 
+ 00023040  0x00003cbc iforce  0x0000003d 
+ 00023041  0x00003cc0 rtn 
+ 00023042  0x00003cc3 fetcht  0x00000004 , 0x000003dc 
+ 00023043  0x00003cc4 call  0x00003bde 
+ 00023044  0x00003cc5 isub  0x00000002 , 0x0000000b 
+ 00023045  0x00003cc6 deposit  0x0000000b 
+ 00023046  0x00003cc7 fetcht  0x00000002 , 0x000003ef 
+ 00023047  0x00003cc8 lshift4  0x00000002 , 0x00000002 
+ 00023048  0x00003cc9 lshift  0x00000002 , 0x00000002 
+ 00023049  0x00003cca isub  0x00000002 , 0x0000003f 
+ 00023050  0x00003ccb rtn 
+ 00023051  0x00003cce call  0x00003bde 
+ 00023052  0x00003ccf store  0x00000004 , 0x000003dc 
+ 00023053  0x00003cd0 rtn 
+ 00023054  0x00003cd5 set1  0x00000025 , 0x00000000 
+ 00023055  0x00003cd6 bpatch  0x00000070 , 0x0000402e 
+ 00023056  0x00003cd7 fetch  0x00000001 , 0x000043d8 
+ 00023057  0x00003cd8 rtn  0x00000034 
+ 00023058  0x00003cd9 arg  0x00000001 , 0x00000007 
+ 00023059  0x00003cda call  0x00007e53 
+ 00023060  0x00003cdb nrtn  0x00000034 
+ 00023061  0x00003cdc disable  0x00000029 
+ 00023062  0x00003cdd enable  0x00000010 
+ 00023063  0x00003cde call  0x00005572 
+ 00023064  0x00003cdf call  0x0000542c 
+ 00023065  0x00003ce0 call  0x000054de 
+ 00023066  0x00003ce1 nbranch  0x00005a24 , 0x0000002d 
+ 00023067  0x00003ce2 set1  0x00000025 , 0x00000000 
+ 00023068  0x00003ce3 bpatch  0x00000071 , 0x0000402e 
+ 00023069  0x00003ce4 fetch  0x00000001 , 0x00000003 
+ 00023070  0x00003ce5 increase  0x00000001 , 0x0000003f 
+ 00023071  0x00003ce6 store  0x00000001 , 0x00000003 
+ 00023072  0x00003ce7 fetch  0x00000001 , 0x00000340 
+ 00023073  0x00003ce8 and  0x0000003f , 0x0000000f , 0x0000003f 
+ 00023074  0x00003ce9 beq  0x00000003 , 0x00005519 
+ 00023075  0x00003cea beq  0x00000005 , 0x00005a41 
+ 00023076  0x00003cec nop  0x00002710 
+ 00023077  0x00003ced fetch  0x00000001 , 0x00000016 
+ 00023078  0x00003cee bne  0x00000027 , 0x00005a0e 
+ 00023079  0x00003cef call  0x00005ad8 
+ 00023080  0x00003cf0 arg  0x00000001 , 0x00000007 
+ 00023081  0x00003cf1 fetch  0x00000002 , 0x000044d9 
+ 00023082  0x00003cf2 branch  0x00007e4c 
+ 00023083  0x00003cf6 set1  0x00000025 , 0x00000000 
+ 00023084  0x00003cf7 bpatch  0x00000072 , 0x0000402e 
+ 00023085  0x00003cf8 fetch  0x00000001 , 0x000003f8 
+ 00023086  0x00003cf9 call  0x00005405 
+ 00023087  0x00003cfa fetch  0x00000002 , 0x000003c2 
+ 00023088  0x00003cfb imul32  0x00000002 , 0x0000003f 
+ 00023089  0x00003cfc arg  0x00000177 , 0x00000002 
+ 00023090  0x00003cfd imul32  0x00000002 , 0x0000003f 
+ 00023091  0x00003cfe arg  0x000186a0 , 0x00000002 
+ 00023092  0x00003cff idiv  0x00000002 
+ 00023093  0x00003d00 fetch  0x00000001 , 0x000003ec 
+ 00023094  0x00003d01 arg  0x00004e20 , 0x00000002 
+ 00023095  0x00003d02 imul32  0x00000002 , 0x0000003f 
+ 00023096  0x00003d03 store  0x00000004 , 0x000046f9 
+ 00023097  0x00003d04 set1  0x00000025 , 0x00000000 
+ 00023098  0x00003d05 bpatch  0x00000073 , 0x0000402e 
+ 00023099  0x00003d06 fetch  0x00000002 , 0x00004161 
+ 00023100  0x00003d07 call  0x00007efd 
+ 00023101  0x00003d08 quotient  0x00000002 
+ 00023102  0x00003d09 iadd  0x00000002 , 0x0000003f 
+ 00023103  0x00003d0a store  0x00000002 , 0x000003ce 
+ 00023104  0x00003d0b rtn 
+ 00023105  0x00003d0e set1  0x00000025 , 0x00000000 
+ 00023106  0x00003d0f bpatch  0x00000074 , 0x0000402e 
+ 00023107  0x00003d10 fetch  0x00000006 , 0x00000348 
+ 00023108  0x00003d11 fetcht  0x00000006 , 0x000044f9 
+ 00023109  0x00003d12 isub  0x00000002 , 0x0000003e 
+ 00023110  0x00003d13 nrtn  0x00000005 
+ 00023111  0x00003d14 call  0x00005613 
+ 00023112  0x00003d15 copy  0x00000011 , 0x0000003f 
+ 00023113  0x00003d16 store  0x00000001 , 0x000044e6 
+ 00023114  0x00003d17 fetch  0x00000007 , 0x00000355 
+ 00023115  0x00003d18 store  0x00000007 , 0x00000103 
+ 00023116  0x00003d19 ifetch  0x00000008 , 0x00000006 
+ 00023117  0x00003d1a istore  0x00000008 , 0x00000005 
+ 00023118  0x00003d1b fetch  0x00000006 , 0x00000342 
+ 00023119  0x00003d1c store  0x00000006 , 0x000003d0 
+ 00023120  0x00003d1d set1  0x00000025 , 0x00000000 
+ 00023121  0x00003d1e bpatch  0x00000075 , 0x0000402e 
+ 00023122  0x00003d1f increase  0x00000006 , 0x00000006 
+ 00023123  0x00003d20 ifetch  0x00000008 , 0x00000006 
+ 00023124  0x00003d21 store  0x00000008 , 0x000003e5 
+ 00023125  0x00003d22 ifetcht  0x00000002 , 0x00000006 
+ 00023126  0x00003d23 lshift2  0x00000002 , 0x00000002 
+ 00023127  0x00003d24 ifetch  0x00000002 , 0x00000006 
+ 00023128  0x00003d25 lshift2  0x0000003f , 0x0000003f 
+ 00023129  0x00003d26 store  0x00000002 , 0x000003c2 
+ 00023130  0x00003d27 store  0x00000004 , 0x000003c4 
+ 00023131  0x00003d28 isub  0x00000002 , 0x0000003f 
+ 00023132  0x00003d29 add  0x0000003f , 0xfffffffe , 0x00000028 
+ 00023133  0x00003d2a ifetch  0x00000009 , 0x00000006 
+ 00023134  0x00003d2b store  0x00000009 , 0x000003ed 
+ 00023135  0x00003d2c set1  0x00000025 , 0x00000000 
+ 00023136  0x00003d2d bpatch  0x00000076 , 0x0000402e 
+ 00023137  0x00003d2e ifetch  0x00000001 , 0x00000006 
+ 00023138  0x00003d2f rshift4  0x0000003f , 0x00000002 
+ 00023139  0x00003d30 rshift  0x00000002 , 0x00000002 
+ 00023140  0x00003d31 storet  0x00000001 , 0x000003f8 
+ 00023141  0x00003d32 and_into  0x0000001f , 0x0000003f 
+ 00023142  0x00003d33 store  0x00000001 , 0x000003d9 
+ 00023143  0x00003d34 call  0x00005a2b 
+ 00023144  0x00003d35 call  0x00005447 
+ 00023145  0x00003d36 call  0x0000536c 
+ 00023146  0x00003d37 call  0x000032d6 
+ 00023147  0x00003d38 nrtn  0x00000005 
+ 00023148  0x00003d39 set1  0x00000025 , 0x00000000 
+ 00023149  0x00003d3a bpatch  0x00000077 , 0x0000402e 
+ 00023150  0x00003d3b arg  0x00000000 , 0x00000002 
+ 00023151  0x00003d3c call  0x000048ea 
+ 00023152  0x00003d3d call  0x000039ac 
+ 00023153  0x00003d3e jam  0x00000014 , 0x00000b7d 
+ 00023154  0x00003d3f call  0x00007c27 
+ 00023155  0x00003d41 branch  0x000032bd 
+ 00023156  0x00003d45 set1  0x00000025 , 0x00000000 
+ 00023157  0x00003d46 bpatch  0x00000078 , 0x0000402f 
+ 00023158  0x00003d47 fetch  0x00000002 , 0x000044bc 
+ 00023159  0x00003d48 iforce  0x00000012 
+ 00023160  0x00003d49 fetch  0x00000002 , 0x000044be 
+ 00023161  0x00003d4a iforce  0x00000013 
+ 00023162  0x00003d4b arg  0x00004504 , 0x00000006 
+ 00023163  0x00003d4c enable  0x00000028 
+ 00023164  0x00003d4d rtn 
+ 00023165  0x00003d51 ifetch  0x00000002 , 0x00000006 
+ 00023166  0x00003d52 rtn  0x00000034 
+ 00023167  0x00003d53 isub  0x00000012 , 0x0000003e 
+ 00023168  0x00003d54 nrtn  0x00000002 
+ 00023169  0x00003d55 isub  0x00000013 , 0x0000003e 
+ 00023170  0x00003d56 rtn  0x00000005 
+ 00023171  0x00003d57 branch  0x00005a86 , 0x00000002 
+ 00023172  0x00003d58 force  0x00000001 , 0x0000003e 
+ 00023173  0x00003d59 rtn 
+ 00023174  0x00003d5b force  0x00000000 , 0x0000003f 
+ 00023175  0x00003d5c rtn 
+ 00023176  0x00003d60 arg  0x00004504 , 0x00000006 
+ 00023177  0x00003d62 ifetch  0x00000002 , 0x00000006 
+ 00023178  0x00003d63 rtn  0x00000034 
+ 00023179  0x00003d64 increase  0x00000002 , 0x00000006 
+ 00023180  0x00003d65 isub  0x00000002 , 0x0000003e 
+ 00023181  0x00003d66 rtn  0x00000005 
+ 00023182  0x00003d67 ifetch  0x00000001 , 0x00000006 
+ 00023183  0x00003d68 iadd  0x00000006 , 0x00000006 
+ 00023184  0x00003d69 branch  0x00005a89 
+ 00023185  0x00003d6c jam  0x00000002 , 0x000044c6 
+ 00023186  0x00003d6d setarg  0x00000001 
+ 00023187  0x00003d6e store  0x00000002 , 0x000044c7 
+ 00023188  0x00003d6f jam  0x00000025 , 0x000003e3 
+ 00023189  0x00003d70 jam  0x00000012 , 0x00000b7d 
+ 00023190  0x00003d71 branch  0x00005620 
+ 00023191  0x00003d74 rtn 
+ 00023192  0x00003d76 rtn 
+ 00023193  0x00003d78 set1  0x00000025 , 0x00000000 
+ 00023194  0x00003d79 bpatch  0x00000079 , 0x0000402f 
+ 00023195  0x00003d7a fetch  0x00000001 , 0x00004132 
+ 00023196  0x00003d7b rtnne  0x00000004 
+ 00023197  0x00003d7c fetch  0x00000001 , 0x000003e3 
+ 00023198  0x00003d7d beq  0x00000021 , 0x00005a91 
+ 00023199  0x00003d7e beq  0x00000025 , 0x00005a97 
+ 00023200  0x00003d7f beq  0x00000026 , 0x00005a98 
+ 00023201  0x00003d80 rtn 
+ 00023202  0x00003d83 setarg  0x00005aae 
+ 00023203  0x00003d84 store  0x00000002 , 0x0000428c 
+ 00023204  0x00003d85 hjam  0x00000081 , 0x00008062 
+ 00023205  0x00003d86 setarg  0x000001a0 
+ 00023206  0x00003d87 hstore  0x00000002 , 0x00008052 
+ 00023207  0x00003d88 hjam  0x00000001 , 0x00008043 
+ 00023208  0x00003d89 hjam  0x00000004 , 0x00008081 
+ 00023209  0x00003d8a setarg  0x00005ac6 
+ 00023210  0x00003d8b store  0x00000002 , 0x00004296 
+ 00023211  0x00003d8c call  0x00005347 
+ 00023212  0x00003d8d rtn  0x0000002b 
+ 00023213  0x00003d8e branch  0x0000691d 
+ 00023214  0x00003d92 fetch  0x00000001 , 0x000003c1 
+ 00023215  0x00003d93 compare  0x00000001 , 0x0000003f , 0x000000ff 
+ 00023216  0x00003d94 setarg  0x00000005 
+ 00023217  0x00003d95 call  0x00006a04 , 0x00000001 
+ 00023218  0x00003d96 ncall  0x000069ff , 0x00000001 
+ 00023219  0x00003d97 call  0x000068fd 
+ 00023220  0x00003d98 branch  0x00005abe , 0x00000034 
+ 00023221  0x00003d99 fetch  0x00000002 , 0x00000419 
+ 00023222  0x00003d9a iforce  0x00000005 
+ 00023223  0x00003d9b sub  0x00000039 , 0x00000014 , 0x0000003e 
+ 00023224  0x00003d9c branch  0x00005aba , 0x00000002 
+ 00023225  0x00003d9d force  0x00000014 , 0x00000039 
+ 00023226  0x00003d9f ifetch  0x00000001 , 0x00000003 
+ 00023227  0x00003da0 istore  0x00000001 , 0x00000005 
+ 00023228  0x00003da1 loop  0x00005aba 
+ 00023229  0x00003da2 call  0x00006906 
+ 00023230  0x00003da4 jam  0x00000014 , 0x000044c2 
+ 00023231  0x00003da5 fetcht  0x00000002 , 0x00000419 
+ 00023232  0x00003da6 ifetch  0x00000001 , 0x00000002 
+ 00023233  0x00003da7 rtn  0x00000034 
+ 00023234  0x00003da8 call  0x0000561c 
+ 00023235  0x00003da9 nrtn  0x00000034 
+ 00023236  0x00003daa jam  0x0000001b , 0x00000b7d 
+ 00023237  0x00003dab branch  0x00005620 
+ 00023238  0x00003dae copy  0x00000012 , 0x00000002 
+ 00023239  0x00003daf call  0x000068f7 
+ 00023240  0x00003db0 copy  0x00000011 , 0x00000006 
+ 00023241  0x00003db1 copy  0x00000012 , 0x00000039 
+ 00023242  0x00003db3 ifetch  0x00000001 , 0x00000006 
+ 00023243  0x00003db4 istore  0x00000001 , 0x0000000a 
+ 00023244  0x00003db5 loop  0x00005aca 
+ 00023245  0x00003db6 branch  0x000068fa 
+ 00023246  0x00003db9 fetch  0x00000001 , 0x00004132 
+ 00023247  0x00003dba rtnne  0x00000006 
+ 00023248  0x00003dbb fetch  0x00000002 , 0x000044c2 
+ 00023249  0x00003dbc rtnne  0x00000014 
+ 00023250  0x00003dbd fetcht  0x00000002 , 0x00000419 
+ 00023251  0x00003dbe setarg  0x00000000 
+ 00023252  0x00003dbf istore  0x00000009 , 0x00000002 
+ 00023253  0x00003dc0 istore  0x00000009 , 0x00000005 
+ 00023254  0x00003dc1 istore  0x00000002 , 0x00000005 
+ 00023255  0x00003dc2 rtn 
+ 00023256  0x00003dc6 fetcht  0x00000001 , 0x000043d7 
+ 00023257  0x00003dc7 setflip  0x00000007 , 0x00000002 
+ 00023258  0x00003dc8 branch  0x000069f3 
+ 00023259  0x00003dcc set1  0x00000025 , 0x00000000 
+ 00023260  0x00003dcd bpatch  0x0000007a , 0x0000402f 
+ 00023261  0x00003dce call  0x00005adf 
+ 00023262  0x00003dcf branch  0x00005aed 
+ 00023263  0x00003dd2 fetch  0x00000001 , 0x00004419 
+ 00023264  0x00003dd3 copy  0x0000003f , 0x00000039 
+ 00023265  0x00003dd4 arg  0x00002a00 , 0x00000002 
+ 00023266  0x00003dd5 call  0x00005b0c 
+ 00023267  0x00003dd6 increase  0x00000001 , 0x00000006 
+ 00023268  0x00003dd7 copy  0x00000006 , 0x00000005 
+ 00023269  0x00003dd8 arg  0x0000441a , 0x00000006 
+ 00023270  0x00003dd9 call  0x00007e45 
+ 00023271  0x00003dda fetch  0x00000001 , 0x00004419 
+ 00023272  0x00003ddb sub  0x0000003f , 0x00000014 , 0x00000039 
+ 00023273  0x00003ddc copy  0x00000039 , 0x00000002 
+ 00023274  0x00003ddd copy  0x00000039 , 0x0000003f 
+ 00023275  0x00003dde ncall  0x00005b15 , 0x00000034 
+ 00023276  0x00003ddf rtn 
+ 00023277  0x00003de2 fetch  0x00000001 , 0x000043d9 
+ 00023278  0x00003de3 fetcht  0x00000001 , 0x000043da 
+ 00023279  0x00003de4 isub  0x00000002 , 0x0000003f 
+ 00023280  0x00003de5 copy  0x0000003f , 0x00000039 
+ 00023281  0x00003de6 copy  0x0000003f , 0x00000011 
+ 00023282  0x00003de7 fetch  0x00000001 , 0x000043da 
+ 00023283  0x00003de8 increase  0x00000001 , 0x0000003f 
+ 00023284  0x00003de9 arg  0x000043da , 0x00000006 
+ 00023285  0x00003dea iadd  0x00000006 , 0x00000006 
+ 00023286  0x00003deb arg  0x0000041d , 0x00000005 
+ 00023287  0x00003dec call  0x00007e45 
+ 00023288  0x00003ded set1  0x00000025 , 0x00000000 
+ 00023289  0x00003dee bpatch  0x0000007b , 0x0000402f 
+ 00023290  0x00003def fetch  0x00000001 , 0x00004419 
+ 00023291  0x00003df0 copy  0x0000003f , 0x00000039 
+ 00023292  0x00003df1 increase  0x00000001 , 0x0000003f 
+ 00023293  0x00003df2 store  0x00000001 , 0x000043da 
+ 00023294  0x00003df3 arg  0x000043dc , 0x00000005 
+ 00023295  0x00003df4 arg  0x0000441a , 0x00000006 
+ 00023296  0x00003df5 call  0x00007e45 
+ 00023297  0x00003df6 copy  0x00000011 , 0x00000039 
+ 00023298  0x00003df7 arg  0x0000041d , 0x00000006 
+ 00023299  0x00003df8 call  0x00007e45 
+ 00023300  0x00003df9 fetch  0x00000001 , 0x000043da 
+ 00023301  0x00003dfa iadd  0x00000011 , 0x0000003f 
+ 00023302  0x00003dfb store  0x00000001 , 0x000043d9 
+ 00023303  0x00003dfc rtn 
+ 00023304  0x00003e00 set1  0x00000025 , 0x00000000 
+ 00023305  0x00003e01 bpatch  0x0000007c , 0x0000402f 
+ 00023306  0x00003e02 arg  0x00002a00 , 0x00000002 
+ 00023307  0x00003e03 branch  0x00005b0c 
+ 00023308  0x00003e07 arg  0x00004504 , 0x00000006 
+ 00023309  0x00003e09 ifetch  0x00000002 , 0x00000006 
+ 00023310  0x00003e0a branch  0x00003bf1 , 0x00000034 
+ 00023311  0x00003e0b ifetch  0x00000002 , 0x00000006 
+ 00023312  0x00003e0c isub  0x00000002 , 0x0000003e 
+ 00023313  0x00003e0d rtn  0x00000005 
+ 00023314  0x00003e0e ifetch  0x00000001 , 0x00000006 
+ 00023315  0x00003e0f iadd  0x00000006 , 0x00000006 
+ 00023316  0x00003e10 branch  0x00005b0d 
+ 00023317  0x00003e14 setarg  0x00000020 
+ 00023318  0x00003e15 istore  0x00000001 , 0x00000005 
+ 00023319  0x00003e16 loop  0x00005b15 
+ 00023320  0x00003e17 rtn 
+ 00023321  0x00003e1b set1  0x00000025 , 0x00000000 
+ 00023322  0x00003e1c bpatch  0x0000007d , 0x0000402f 
+ 00023323  0x00003e1d disable  0x0000002b 
+ 00023324  0x00003e1e branch  0x00005b1e , 0x0000002e 
+ 00023325  0x00003e1f nbranch  0x00005b2a , 0x0000002d 
+ 00023326  0x00003e21 call  0x00003d76 
+ 00023327  0x00003e22 fetch  0x00000002 , 0x00004161 
+ 00023328  0x00003e23 store  0x00000002 , 0x000003ce 
+ 00023329  0x00003e24 fetch  0x00000001 , 0x00000340 
+ 00023330  0x00003e25 compare  0x00000001 , 0x0000003f , 0x00000003 
+ 00023331  0x00003e26 nbranch  0x00003d8a , 0x00000001 
+ 00023332  0x00003e27 fetch  0x00000001 , 0x0000443e 
+ 00023333  0x00003e28 compare  0x00000001 , 0x0000003f , 0x00000003 
+ 00023334  0x00003e29 nbranch  0x00003d8a , 0x00000001 
+ 00023335  0x00003e2a fetch  0x00000001 , 0x000003c0 
+ 00023336  0x00003e2b bbit1  0x00000005 , 0x00003d8a 
+ 00023337  0x00003e2c branch  0x00003d6f 
+ 00023338  0x00003e2f fetcht  0x00000002 , 0x00004161 
+ 00023339  0x00003e30 rshift  0x00000002 , 0x00000002 
+ 00023340  0x00003e31 fetch  0x00000002 , 0x000003ce 
+ 00023341  0x00003e32 iadd  0x00000002 , 0x0000003f 
+ 00023342  0x00003e33 store  0x00000002 , 0x000003ce 
+ 00023343  0x00003e34 branch  0x00003d82 
+ 00023344  0x00003e37 set1  0x00000025 , 0x00000000 
+ 00023345  0x00003e38 bpatch  0x0000007e , 0x0000402f 
+ 00023346  0x00003e39 jam  0x00000000 , 0x000046f8 
+ 00023347  0x00003e3a fetcht  0x00000002 , 0x000044c2 
+ 00023348  0x00003e3b call  0x00005866 
+ 00023349  0x00003e3c copy  0x00000011 , 0x00000005 
+ 00023350  0x00003e3d setarg  0x00000000 
+ 00023351  0x00003e3e istore  0x00000001 , 0x00000005 
+ 00023352  0x00003e3f rtn 
+ 00023353  0x00003e41 fetch  0x00000001 , 0x00004132 
+ 00023354  0x00003e42 rtnne  0x0000000a 
+ 00023355  0x00003e43 call  0x00007f6e 
+ 00023356  0x00003e44 arg  0x000003d0 , 0x00000011 
+ 00023357  0x00003e45 call  0x00007e9d 
+ 00023358  0x00003e46 setarg  0x0000002c 
+ 00023359  0x00003e47 istore  0x00000001 , 0x0000000a 
+ 00023360  0x00003e48 call  0x000041d4 
+ 00023361  0x00003e49 branch  0x000068fa 
+ 00023362  0x00003e4d arg  0x00000014 , 0x00000002 
+ 00023363  0x00003e4e call  0x00005866 
+ 00023364  0x00003e4f rtnbit0  0x00000000 
+ 00023365  0x00003e50 call  0x0000561c 
+ 00023366  0x00003e51 nrtn  0x00000034 
+ 00023367  0x00003e52 arg  0x00000014 , 0x00000002 
+ 00023368  0x00003e53 storet  0x00000002 , 0x000044c2 
+ 00023369  0x00003e54 call  0x00005a88 
+ 00023370  0x00003e55 branch  0x00003bf1 , 0x00000034 
+ 00023371  0x00003e56 add  0x00000006 , 0x00000001 , 0x00000005 
+ 00023372  0x00003e57 arg  0x00000014 , 0x00000039 
+ 00023373  0x00003e58 arg  0x0000046d , 0x00000006 
+ 00023374  0x00003e59 call  0x00007e45 
+ 00023375  0x00003e5a jam  0x0000001b , 0x00000b7d 
+ 00023376  0x00003e5b branch  0x00005620 
+ 00023377  0x00003e5d rtn 
+ 00023378  0x00003e61 set1  0x00000025 , 0x00000000 
+ 00023379  0x00003e62 bpatch  0x0000007f , 0x0000402f 
+ 00023380  0x00003e63 fetch  0x00000001 , 0x00000341 
+ 00023381  0x00003e64 arg  0x00000348 , 0x00000006 
+ 00023382  0x00003e65 iadd  0x00000006 , 0x00000039 
+ 00023383  0x00003e67 ifetcht  0x00000001 , 0x00000006 
+ 00023384  0x00003e68 ifetch  0x00000001 , 0x00000006 
+ 00023385  0x00003e69 isub  0x00000011 , 0x0000003e 
+ 00023386  0x00003e6a rtn  0x00000005 
+ 00023387  0x00003e6b add  0x00000002 , 0xffffffff , 0x0000003f 
+ 00023388  0x00003e6c iadd  0x00000006 , 0x00000006 
+ 00023389  0x00003e6d deposit  0x00000039 
+ 00023390  0x00003e6e isub  0x00000006 , 0x0000003e 
+ 00023391  0x00003e6f branch  0x00005b57 , 0x00000002 
+ 00023392  0x00003e70 force  0x00000001 , 0x0000003e 
+ 00023393  0x00003e71 rtn 
+ 00023394  0x00003e79 rtn  0x0000002b 
+ 00023395  0x00003e7b setarg  0x00000000 
+ 00023396  0x00003e7c store  0x00000001 , 0x00000048 
+ 00023397  0x00003e7d store  0x00000001 , 0x00000055 
+ 00023398  0x00003e7e store  0x00000001 , 0x00000078 
+ 00023399  0x00003e7f store  0x00000001 , 0x0000007c 
+ 00023400  0x00003e80 store  0x00000001 , 0x000041f9 
+ 00023401  0x00003e81 store  0x00000001 , 0x00000453 
+ 00023402  0x00003e82 store  0x00000001 , 0x00000177 
+ 00023403  0x00003e83 store  0x00000001 , 0x000007e1 
+ 00023404  0x00003e84 jam  0x00000000 , 0x00004748 
+ 00023405  0x00003e85 jam  0x00000000 , 0x00000258 
+ 00023406  0x00003e86 jam  0x00000000 , 0x00000454 
+ 00023407  0x00003e88 set1  0x00000025 , 0x00000000 
+ 00023408  0x00003e89 bpatch  0x000000e0 , 0x0000403c 
+ 00023409  0x00003e8a jam  0x00000000 , 0x000007e1 
+ 00023410  0x00003e8b jam  0x00000000 , 0x000007e0 
+ 00023411  0x00003e8c jam  0x00000000 , 0x0000044d 
+ 00023412  0x00003e8d fetch  0x00000001 , 0x00004132 
+ 00023413  0x00003e8e rtnne  0x00000001 , 0x0000003f 
+ 00023414  0x00003e8f jam  0x00000000 , 0x0000425e 
+ 00023415  0x00003e92 rtn 
+ 00023416  0x00003e95 set1  0x00000025 , 0x00000000 
+ 00023417  0x00003e96 bpatch  0x000000e1 , 0x0000403c 
+ 00023418  0x00003e97 call  0x00006219 , 0x00000029 
+ 00023419  0x00003e98 ncall  0x0000621d , 0x00000029 
+ 00023420  0x00003e99 fetch  0x00000001 , 0x0000007c 
+ 00023421  0x00003e9a ncall  0x000061d9 , 0x00000034 
+ 00023422  0x00003e9b fetch  0x00000001 , 0x0000007c 
+ 00023423  0x00003e9c nrtn  0x00000034 
+ 00023424  0x00003e9d fetch  0x00000001 , 0x0000004c 
+ 00023425  0x00003e9e rtnbit0  0x00000006 
+ 00023426  0x00003e9f set0  0x00000006 , 0x0000003f 
+ 00023427  0x00003ea0 set0  0x00000001 , 0x00000000 
+ 00023428  0x00003ea1 store  0x00000001 , 0x0000004c 
+ 00023429  0x00003ea2 fetch  0x00000001 , 0x000004de 
+ 00023430  0x00003ea3 fetcht  0x00000001 , 0x0000004c 
+ 00023431  0x00003ea4 isolate1  0x00000000 , 0x0000003f 
+ 00023432  0x00003ea5 setflag  0x00000001 , 0x00000001 , 0x00000002 
+ 00023433  0x00003ea6 storet  0x00000001 , 0x0000004c 
+ 00023434  0x00003ea7 and_into  0x00000002 , 0x00000002 
+ 00023435  0x00003ea8 storet  0x00000001 , 0x0000007f 
+ 00023436  0x00003ea9 fetcht  0x00000001 , 0x0000004c 
+ 00023437  0x00003eaa rshift  0x0000003f , 0x0000003f 
+ 00023438  0x00003eab store  0x00000001 , 0x0000007d 
+ 00023439  0x00003eac set1  0x00000025 , 0x00000000 
+ 00023440  0x00003ead bpatch  0x000000e2 , 0x0000403c 
+ 00023441  0x00003eae fetch  0x00000001 , 0x0000007d 
+ 00023442  0x00003eaf beq  0x0000007f , 0x00005bdc 
+ 00023443  0x00003eb0 beq  0x00000003 , 0x00005c56 
+ 00023444  0x00003eb1 beq  0x00000004 , 0x00005c67 
+ 00023445  0x00003eb2 beq  0x0000003c , 0x00005bcf 
+ 00023446  0x00003eb3 beq  0x00000005 , 0x00005bcb 
+ 00023447  0x00003eb4 beq  0x0000000f , 0x00005e48 
+ 00023448  0x00003eb5 beq  0x00000010 , 0x00005ce1 
+ 00023449  0x00003eb6 beq  0x00000023 , 0x00005cff 
+ 00023450  0x00003eb7 beq  0x00000039 , 0x00005e67 
+ 00023451  0x00003eb8 beq  0x00000038 , 0x00005e62 
+ 00023452  0x00003eb9 beq  0x00000031 , 0x00005ce4 
+ 00023453  0x00003eba beq  0x00000037 , 0x00005d72 
+ 00023454  0x00003ebb beq  0x00000027 , 0x00005d6e 
+ 00023455  0x00003ebc beq  0x00000033 , 0x00005d68 
+ 00023456  0x00003ebd beq  0x00000025 , 0x00005d70 
+ 00023457  0x00003ebe beq  0x00000026 , 0x00005cfb 
+ 00023458  0x00003ebf beq  0x00000007 , 0x00005cf3 
+ 00023459  0x00003ec0 beq  0x0000002d , 0x00005cea 
+ 00023460  0x00003ec1 beq  0x0000002e , 0x00005ceb 
+ 00023461  0x00003ec2 beq  0x00000001 , 0x00005d64 
+ 00023462  0x00003ec3 beq  0x00000002 , 0x00005d4f 
+ 00023463  0x00003ec4 beq  0x00000028 , 0x00005e53 
+ 00023464  0x00003ec5 beq  0x00000009 , 0x00005d45 
+ 00023465  0x00003ec6 beq  0x0000000b , 0x00005d1a 
+ 00023466  0x00003ec7 beq  0x00000008 , 0x00005d00 
+ 00023467  0x00003ec8 beq  0x0000000c , 0x00005d2c 
+ 00023468  0x00003ec9 beq  0x0000001f , 0x00005cf7 
+ 00023469  0x00003eca beq  0x00000020 , 0x00005cf9 
+ 00023470  0x00003ecb beq  0x00000021 , 0x00005d8d 
+ 00023471  0x00003ecc beq  0x00000022 , 0x00005d8e 
+ 00023472  0x00003ecd beq  0x00000035 , 0x00005d8f 
+ 00023473  0x00003ece beq  0x00000036 , 0x00005d90 
+ 00023474  0x00003ecf beq  0x00000024 , 0x00005d91 
+ 00023475  0x00003ed0 beq  0x0000002c , 0x00005d92 
+ 00023476  0x00003ed1 beq  0x0000002b , 0x00005d95 
+ 00023477  0x00003ed2 beq  0x00000034 , 0x00005d9f 
+ 00023478  0x00003ed3 beq  0x00000017 , 0x00005da2 
+ 00023479  0x00003ed4 beq  0x00000011 , 0x00005db7 
+ 00023480  0x00003ed5 beq  0x00000012 , 0x00005dbb 
+ 00023481  0x00003ed6 beq  0x00000013 , 0x00005dbd 
+ 00023482  0x00003ed7 beq  0x0000000d , 0x00005dcf 
+ 00023483  0x00003ed8 beq  0x0000000e , 0x00005dd0 
+ 00023484  0x00003ed9 beq  0x0000002f , 0x00005d6c 
+ 00023485  0x00003eda beq  0x00000030 , 0x00005dd1 
+ 00023486  0x00003edb beq  0x0000000a , 0x00005dd2 
+ 00023487  0x00003edc beq  0x00000018 , 0x00005dd3 
+ 00023488  0x00003edd beq  0x00000032 , 0x00005dda 
+ 00023489  0x00003ede beq  0x0000003d , 0x00005ddb 
+ 00023490  0x00003edf beq  0x0000003e , 0x00005dff 
+ 00023491  0x00003ee0 beq  0x0000003f , 0x00005df9 
+ 00023492  0x00003ee1 beq  0x00000040 , 0x00005e22 
+ 00023493  0x00003ee2 beq  0x00000041 , 0x00005e34 
+ 00023494  0x00003ee3 beq  0x00000006 , 0x00005e47 
+ 00023495  0x00003ee4 beq  0x0000003a , 0x00005bcd 
+ 00023496  0x00003ee8 jam  0x00000019 , 0x0000007e 
+ 00023497  0x00003eea jam  0x00000004 , 0x0000007c 
+ 00023498  0x00003eeb rtn 
+ 00023499  0x00003eee jam  0x00000006 , 0x0000007c 
+ 00023500  0x00003eef rtn 
+ 00023501  0x00003ef2 jam  0x0000003b , 0x0000007c 
+ 00023502  0x00003ef3 rtn 
+ 00023503  0x00003ef6 fetch  0x00000004 , 0x000004df 
+ 00023504  0x00003ef7 lshift  0x0000003f , 0x0000003f 
+ 00023505  0x00003ef8 store  0x00000004 , 0x00004173 
+ 00023506  0x00003ef9 fetch  0x00000001 , 0x000004e3 
+ 00023507  0x00003efa store  0x00000001 , 0x0000417a 
+ 00023508  0x00003efb fetch  0x00000005 , 0x000004e4 
+ 00023509  0x00003efc store  0x00000005 , 0x00004188 
+ 00023510  0x00003efd fetch  0x00000005 , 0x000004e9 
+ 00023511  0x00003efe istore  0x00000005 , 0x00000005 
+ 00023512  0x00003eff fetch  0x00000001 , 0x00000031 
+ 00023513  0x00003f00 set1  0x00000003 , 0x0000003f 
+ 00023514  0x00003f01 store  0x00000001 , 0x00000031 
+ 00023515  0x00003f02 rtn 
+ 00023516  0x00003f04 fetch  0x00000001 , 0x000004df 
+ 00023517  0x00003f05 set1  0x00000007 , 0x0000003f 
+ 00023518  0x00003f06 store  0x00000001 , 0x0000007d 
+ 00023519  0x00003f07 beq  0x00000081 , 0x00005c26 
+ 00023520  0x00003f08 beq  0x00000082 , 0x00005c2e 
+ 00023521  0x00003f09 beq  0x00000095 , 0x00005d73 
+ 00023522  0x00003f0a beq  0x00000096 , 0x00005d8c 
+ 00023523  0x00003f0b beq  0x0000008b , 0x00005d81 
+ 00023524  0x00003f0c beq  0x00000083 , 0x00005c49 
+ 00023525  0x00003f0d beq  0x00000084 , 0x00005c4b 
+ 00023526  0x00003f0e beq  0x00000090 , 0x00005bf1 
+ 00023527  0x00003f0f beq  0x00000097 , 0x00005c42 
+ 00023528  0x00003f10 beq  0x00000098 , 0x00005c47 
+ 00023529  0x00003f11 beq  0x00000099 , 0x00005c14 
+ 00023530  0x00003f12 beq  0x0000009a , 0x00005c19 
+ 00023531  0x00003f13 beq  0x0000008d , 0x00005c11 
+ 00023532  0x00003f14 beq  0x0000008c , 0x00005bf4 
+ 00023533  0x00003f15 rtneq  0x00000084 
+ 00023534  0x00003f19 jam  0x00000082 , 0x0000007c 
+ 00023535  0x00003f1a jam  0x00000019 , 0x0000007e 
+ 00023536  0x00003f1c rtn 
+ 00023537  0x00003f1e jam  0x00000082 , 0x0000007c 
+ 00023538  0x00003f1f jam  0x0000002e , 0x0000007e 
+ 00023539  0x00003f20 rtn 
+ 00023540  0x00003f23 fetch  0x00000001 , 0x000004e0 
+ 00023541  0x00003f24 store  0x00000001 , 0x000000ad 
+ 00023542  0x00003f25 fetch  0x00000001 , 0x000004e1 
+ 00023543  0x00003f26 store  0x00000001 , 0x000041f9 
+ 00023544  0x00003f27 fetch  0x00000001 , 0x000004e3 
+ 00023545  0x00003f28 store  0x00000001 , 0x000000af 
+ 00023546  0x00003f29 fetch  0x00000001 , 0x000004e7 
+ 00023547  0x00003f2a store  0x00000001 , 0x000000b0 
+ 00023548  0x00003f2b fetch  0x00000001 , 0x000004ec 
+ 00023549  0x00003f2c store  0x00000001 , 0x000000ab 
+ 00023550  0x00003f2d bmark1  0x00000007 , 0x00005c07 
+ 00023551  0x00003f2e set1  0x00000007 , 0x00000000 
+ 00023552  0x00003f2f call  0x00005d16 
+ 00023553  0x00003f30 store  0x00000001 , 0x00000452 
+ 00023554  0x00003f31 force  0x00000000 , 0x00000002 
+ 00023555  0x00003f32 branch  0x00004839 
+ 00023556  0x00003f35 jam  0x0000008c , 0x0000007c 
+ 00023557  0x00003f36 jam  0x00000001 , 0x000000b1 
+ 00023558  0x00003f37 branch  0x000049bc 
+ 00023559  0x00003f3a fetch  0x00000001 , 0x000000b0 
+ 00023560  0x00003f3b bne  0x00000007 , 0x00005c0b 
+ 00023561  0x00003f3c jam  0x00000081 , 0x0000007c 
+ 00023562  0x00003f3d branch  0x00005c0f 
+ 00023563  0x00003f3f set0  0x00000007 , 0x00000000 
+ 00023564  0x00003f40 jam  0x00000082 , 0x0000007c 
+ 00023565  0x00003f41 force  0x00000001 , 0x00000002 
+ 00023566  0x00003f42 call  0x00004914 
+ 00023567  0x00003f44 jam  0x0000008c , 0x0000007d 
+ 00023568  0x00003f45 rtn 
+ 00023569  0x00003f49 jam  0x00000081 , 0x0000007c 
+ 00023570  0x00003f4a jam  0x0000008d , 0x0000007d 
+ 00023571  0x00003f4b branch  0x00003869 
+ 00023572  0x00003f4e call  0x00005c1d 
+ 00023573  0x00003f4f fetch  0x00000001 , 0x00004132 
+ 00023574  0x00003f50 beq  0x00000001 , 0x00005c21 
+ 00023575  0x00003f51 jam  0x0000009a , 0x0000007c 
+ 00023576  0x00003f52 rtn 
+ 00023577  0x00003f55 call  0x00005c1d 
+ 00023578  0x00003f56 fetch  0x00000001 , 0x00004132 
+ 00023579  0x00003f57 beq  0x00000001 , 0x00005c21 
+ 00023580  0x00003f58 branch  0x00005c22 
+ 00023581  0x00003f5b arg  0x000007e9 , 0x00000005 
+ 00023582  0x00003f5c fetch  0x00000003 , 0x000004e0 
+ 00023583  0x00003f5d istore  0x00000003 , 0x00000005 
+ 00023584  0x00003f5e rtn 
+ 00023585  0x00003f61 call  0x0000480f 
+ 00023586  0x00003f63 call  0x00006216 
+ 00023587  0x00003f64 ncall  0x0000481b , 0x00000001 
+ 00023588  0x00003f65 branch  0x0000780f , 0x00000001 
+ 00023589  0x00003f66 rtn 
+ 00023590  0x00003f68 fetch  0x00000001 , 0x000004e1 
+ 00023591  0x00003f69 set1  0x00000007 , 0x0000003f 
+ 00023592  0x00003f6a store  0x00000001 , 0x00000445 
+ 00023593  0x00003f6b beq  0x0000008b , 0x00005c36 
+ 00023594  0x00003f6c beq  0x0000008c , 0x0000384a 
+ 00023595  0x00003f6d beq  0x0000008d , 0x00005c2d 
+ 00023596  0x00003f6e rtn 
+ 00023597  0x00003f71 branch  0x00003869 
+ 00023598  0x00003f74 fetch  0x00000001 , 0x000004e1 
+ 00023599  0x00003f75 set1  0x00000007 , 0x0000003f 
+ 00023600  0x00003f76 store  0x00000001 , 0x00000445 
+ 00023601  0x00003f77 beq  0x0000008b , 0x00005c3a 
+ 00023602  0x00003f78 beq  0x0000008c , 0x00005c34 
+ 00023603  0x00003f79 rtn 
+ 00023604  0x00003f7c set0  0x00000007 , 0x00000000 
+ 00023605  0x00003f7d rtn 
+ 00023606  0x00003f80 fetch  0x00000001 , 0x000041fb 
+ 00023607  0x00003f81 fetcht  0x00000001 , 0x0000004c 
+ 00023608  0x00003f82 nsetflag  0x00000034 , 0x00000005 , 0x00000002 
+ 00023609  0x00003f83 storet  0x00000001 , 0x0000004c 
+ 00023610  0x00003f85 fetch  0x00000001 , 0x00000030 
+ 00023611  0x00003f86 rtnbit0  0x00000005 
+ 00023612  0x00003f87 set0  0x00000005 , 0x0000003f 
+ 00023613  0x00003f88 store  0x00000001 , 0x00000030 
+ 00023614  0x00003f89 fetch  0x00000001 , 0x00000453 
+ 00023615  0x00003f8a nbranch  0x00004872 , 0x00000034 
+ 00023616  0x00003f8b jam  0x00000031 , 0x0000007c 
+ 00023617  0x00003f8c rtn 
+ 00023618  0x00003f8f nbranch  0x00005c45 , 0x00000029 
+ 00023619  0x00003f90 jam  0x00000012 , 0x0000007c 
+ 00023620  0x00003f91 branch  0x00006205 
+ 00023621  0x00003f94 jam  0x00000097 , 0x0000007c 
+ 00023622  0x00003f95 rtn 
+ 00023623  0x00003f9a call  0x00006205 
+ 00023624  0x00003f9b branch  0x00005ecd 
+ 00023625  0x00003f9e jam  0x00000084 , 0x0000007c 
+ 00023626  0x00003f9f rtn 
+ 00023627  0x00003fa2 fetcht  0x00000001 , 0x000004e2 
+ 00023628  0x00003fa3 and  0x00000002 , 0x00000001 , 0x00000002 
+ 00023629  0x00003fa4 storet  0x00000001 , 0x0000044c 
+ 00023630  0x00003fa5 fetch  0x00000001 , 0x00004272 
+ 00023631  0x00003fa6 bne  0x00000051 , 0x00005c52 
+ 00023632  0x00003fa7 jam  0x00000000 , 0x00004272 
+ 00023633  0x00003fa8 call  0x000047f9 
+ 00023634  0x00003faa fetch  0x00000001 , 0x00000055 
+ 00023635  0x00003fab rtnne  0x00000015 
+ 00023636  0x00003fac jam  0x00000004 , 0x00000055 
+ 00023637  0x00003fad branch  0x00006235 
+ 00023638  0x00003fb0 fetch  0x00000001 , 0x000004df 
+ 00023639  0x00003fb1 store  0x00000001 , 0x00000445 
+ 00023640  0x00003fb2 beq  0x00000033 , 0x00005c7d 
+ 00023641  0x00003fb3 beq  0x00000008 , 0x00005c90 
+ 00023642  0x00003fb4 beq  0x0000000f , 0x00005c97 
+ 00023643  0x00003fb5 beq  0x00000010 , 0x00005c9d 
+ 00023644  0x00003fb6 beq  0x00000011 , 0x00005c9e 
+ 00023645  0x00003fb7 beq  0x00000012 , 0x00005ca6 
+ 00023646  0x00003fb8 beq  0x00000018 , 0x00005ccc 
+ 00023647  0x00003fb9 beq  0x00000017 , 0x00005cd1 
+ 00023648  0x00003fba beq  0x0000002b , 0x0000384a 
+ 00023649  0x00003fbc beq  0x00000013 , 0x00005c74 
+ 00023650  0x00003fbe beq  0x0000003d , 0x00005de9 
+ 00023651  0x00003fbf beq  0x0000003e , 0x00005e18 
+ 00023652  0x00003fc0 beq  0x00000040 , 0x00005deb 
+ 00023653  0x00003fc1 beq  0x00000041 , 0x00005def 
+ 00023654  0x00003fc2 rtn 
+ 00023655  0x00003fc5 fetch  0x00000001 , 0x000004df 
+ 00023656  0x00003fc6 store  0x00000001 , 0x00000445 
+ 00023657  0x00003fc7 beq  0x00000001 , 0x00005cc3 
+ 00023658  0x00003fc8 beq  0x00000033 , 0x00005c87 
+ 00023659  0x00003fc9 beq  0x0000000b , 0x00005ca7 
+ 00023660  0x00003fca beq  0x0000002b , 0x00005c8e 
+ 00023661  0x00003fcb beq  0x00000008 , 0x00005cba 
+ 00023662  0x00003fcc beq  0x00000013 , 0x00005c77 
+ 00023663  0x00003fce beq  0x00000040 , 0x00005cc4 
+ 00023664  0x00003fcf beq  0x00000041 , 0x00005cc7 
+ 00023665  0x00003fd0 beq  0x00000018 , 0x00005cca 
+ 00023666  0x00003fd1 beq  0x00000017 , 0x00005cdf 
+ 00023667  0x00003fd2 rtn 
+ 00023668  0x00003fd5 jam  0x00000020 , 0x00000b7d 
+ 00023669  0x00003fd6 call  0x00007c27 
+ 00023670  0x00003fd7 branch  0x00003245 
+ 00023671  0x00003fd9 jam  0x00000019 , 0x00000b7d 
+ 00023672  0x00003fda call  0x00007c27 
+ 00023673  0x00003fdb jam  0x00000002 , 0x00004748 
+ 00023674  0x00003fdc setarg  0x00000050 
+ 00023675  0x00003fdd arg  0x0000000a , 0x00000007 
+ 00023676  0x00003fde branch  0x00007e4c 
+ 00023677  0x00003fe4 fetch  0x00000001 , 0x0000044d 
+ 00023678  0x00003fe5 set1  0x00000000 , 0x0000003f 
+ 00023679  0x00003fe6 store  0x00000001 , 0x0000044d 
+ 00023680  0x00003fe7 jam  0x00000001 , 0x00000b7d 
+ 00023681  0x00003fe8 call  0x00007c27 
+ 00023682  0x00003fe9 jam  0x0000008b , 0x0000007c 
+ 00023683  0x00003fed fetch  0x00000001 , 0x00000055 
+ 00023684  0x00003fee bne  0x00000005 , 0x00005b77 
+ 00023685  0x00003ff1 jam  0x00000006 , 0x00000055 
+ 00023686  0x00003ff2 rtn 
+ 00023687  0x00003ffb jam  0x0000000b , 0x00000446 
+ 00023688  0x00003ffc jam  0x00000007 , 0x0000007c 
+ 00023689  0x00003ffd force  0x00000010 , 0x00000002 
+ 00023690  0x00003ffe call  0x00004826 
+ 00023691  0x00004000 jam  0x00000000 , 0x00000055 
+ 00023692  0x00004002 branch  0x00005b77 , 0x00000001 
+ 00023693  0x00004003 rtn 
+ 00023694  0x00004006 jam  0x0000002b , 0x0000007c 
+ 00023695  0x00004007 rtn 
+ 00023696  0x0000400b fetch  0x00000001 , 0x0000425e 
+ 00023697  0x0000400c nrtn  0x00000034 
+ 00023698  0x0000400d call  0x00003507 
+ 00023699  0x0000400e call  0x00005ecb 
+ 00023700  0x0000400f rtn  0x00000029 
+ 00023701  0x00004010 set1  0x00000021 , 0x00000000 
+ 00023702  0x00004011 rtn 
+ 00023703  0x00004014 nrtn  0x00000029 
+ 00023704  0x00004015 jam  0x00000010 , 0x0000007c 
+ 00023705  0x00004016 fetch  0x00000001 , 0x0000004c 
+ 00023706  0x00004017 rtnbit0  0x00000002 
+ 00023707  0x00004018 jam  0x00000012 , 0x0000007c 
+ 00023708  0x00004019 rtn 
+ 00023709  0x0000401c branch  0x00005ecd 
+ 00023710  0x0000401f call  0x00005f2d 
+ 00023711  0x00004020 fetch  0x00000001 , 0x00000030 
+ 00023712  0x00004021 rtnbit1  0x00000004 
+ 00023713  0x00004022 jam  0x00000031 , 0x0000007c 
+ 00023714  0x00004023 fetch  0x00000001 , 0x00000055 
+ 00023715  0x00004024 rtnne  0x0000000a 
+ 00023716  0x00004025 jam  0x0000000b , 0x00000055 
+ 00023717  0x00004026 rtn 
+ 00023718  0x00004030 rtn 
+ 00023719  0x00004033 fetch  0x00000001 , 0x00004132 
+ 00023720  0x00004034 bne  0x00000001 , 0x00005cb7 
+ 00023721  0x00004035 fetch  0x00000001 , 0x0000425e 
+ 00023722  0x00004036 rtn  0x00000034 
+ 00023723  0x00004037 fetcht  0x00000001 , 0x00000055 
+ 00023724  0x00004038 jam  0x00000000 , 0x00000055 
+ 00023725  0x00004039 jam  0x00000000 , 0x0000425e 
+ 00023726  0x0000403a fetch  0x00000001 , 0x000004e0 
+ 00023727  0x0000403b rtnne  0x00000006 
+ 00023728  0x0000403c storet  0x00000001 , 0x00000055 
+ 00023729  0x0000403d jam  0x00000001 , 0x000007e0 
+ 00023730  0x0000403e fetch  0x00000002 , 0x0000044a 
+ 00023731  0x0000403f fetcht  0x00000001 , 0x0000044c 
+ 00023732  0x00004040 iand  0x00000002 , 0x0000003f 
+ 00023733  0x00004041 branch  0x000049da , 0x00000034 
+ 00023734  0x00004042 branch  0x000049d7 
+ 00023735  0x00004045 jam  0x00000007 , 0x0000007c 
+ 00023736  0x00004046 jam  0x00000013 , 0x00000446 
+ 00023737  0x00004047 rtn 
+ 00023738  0x0000404a fetch  0x00000001 , 0x000004e0 
+ 00023739  0x0000404b beq  0x00000006 , 0x00005cc0 
+ 00023740  0x0000404c rtnne  0x00000018 
+ 00023741  0x0000404d jam  0x00000018 , 0x00000446 
+ 00023742  0x0000404e jam  0x00000007 , 0x0000007c 
+ 00023743  0x0000404f rtn 
+ 00023744  0x00004051 jam  0x00000006 , 0x00000446 
+ 00023745  0x00004052 jam  0x00000007 , 0x0000007c 
+ 00023746  0x00004053 rtn 
+ 00023747  0x00004056 rtn 
+ 00023748  0x00004059 jam  0x00000000 , 0x000007da 
+ 00023749  0x0000405a jam  0x00000007 , 0x0000007c 
+ 00023750  0x0000405b branch  0x00005b77 
+ 00023751  0x0000405e jam  0x00000000 , 0x000007da 
+ 00023752  0x0000405f jam  0x00000007 , 0x0000007c 
+ 00023753  0x00004060 branch  0x00005b77 
+ 00023754  0x00004062 jam  0x00000024 , 0x00000b7d 
+ 00023755  0x00004063 branch  0x00007c27 
+ 00023756  0x00004066 jam  0x00000023 , 0x00000b7d 
+ 00023757  0x00004067 call  0x00007c27 
+ 00023758  0x00004068 call  0x00003806 
+ 00023759  0x00004069 force  0x00000000 , 0x00000002 
+ 00023760  0x0000406a branch  0x00004907 
+ 00023761  0x0000406d jam  0x00000022 , 0x00000b7d 
+ 00023762  0x0000406e call  0x00007c27 
+ 00023763  0x0000406f force  0x00000002 , 0x00000002 
+ 00023764  0x00004070 call  0x00004907 
+ 00023765  0x00004071 setarg  0x00000000 
+ 00023766  0x00004072 store  0x00000002 , 0x00000075 
+ 00023767  0x00004073 fetch  0x00000002 , 0x00004280 
+ 00023768  0x00004074 lshift  0x0000003f , 0x0000003f 
+ 00023769  0x00004075 store  0x00000002 , 0x00000032 
+ 00023770  0x00004076 fetch  0x00000001 , 0x00004282 
+ 00023771  0x00004077 store  0x00000001 , 0x00000073 
+ 00023772  0x00004078 fetch  0x00000001 , 0x00004284 
+ 00023773  0x00004079 store  0x00000001 , 0x00000074 
+ 00023774  0x0000407a branch  0x000037e1 
+ 00023775  0x0000407d jam  0x00000021 , 0x00000b7d 
+ 00023776  0x0000407e branch  0x00007c27 
+ 00023777  0x00004081 fetcht  0x00000001 , 0x000004df 
+ 00023778  0x00004082 storet  0x00000001 , 0x00000054 
+ 00023779  0x00004083 branch  0x00005cf5 
+ 00023780  0x00004086 fetch  0x00000001 , 0x0000044d 
+ 00023781  0x00004087 set1  0x00000002 , 0x0000003f 
+ 00023782  0x00004088 store  0x00000001 , 0x0000044d 
+ 00023783  0x00004089 rtnbit1  0x00000003 
+ 00023784  0x0000408a jam  0x00000031 , 0x0000007c 
+ 00023785  0x0000408b branch  0x00005b77 
+ 00023786  0x00004090 rtn 
+ 00023787  0x00004093 fetch  0x00000001 , 0x00004171 
+ 00023788  0x00004094 fetcht  0x00000001 , 0x000004df 
+ 00023789  0x00004095 isub  0x00000002 , 0x0000003e 
+ 00023790  0x00004097 branch  0x00005cf5 , 0x00000002 
+ 00023791  0x00004098 jam  0x00000004 , 0x0000007c 
+ 00023792  0x00004099 jam  0x0000001f , 0x0000007e 
+ 00023793  0x0000409a jam  0x0000002e , 0x0000007d 
+ 00023794  0x0000409b rtn 
+ 00023795  0x0000409e call  0x0000605a 
+ 00023796  0x0000409f branch  0x00005cf5 
+ 00023797  0x000040a2 jam  0x00000003 , 0x0000007c 
+ 00023798  0x000040a3 rtn 
+ 00023799  0x000040a6 jam  0x00000021 , 0x0000007c 
+ 00023800  0x000040a7 rtn 
+ 00023801  0x000040aa jam  0x00000022 , 0x0000007c 
+ 00023802  0x000040ab rtn 
+ 00023803  0x000040ae fetch  0x00000001 , 0x00000055 
+ 00023804  0x000040af rtneq  0x00000013 
+ 00023805  0x000040b1 jam  0x00000002 , 0x00000055 
+ 00023806  0x000040b3 rtn 
+ 00023807  0x000040b7 rtn 
+ 00023808  0x000040ba call  0x00005ec8 
+ 00023809  0x000040bb jam  0x00000001 , 0x00000450 
+ 00023810  0x000040bc fetch  0x00000001 , 0x00004132 
+ 00023811  0x000040bd beq  0x00000001 , 0x00005d06 
+ 00023812  0x000040be jam  0x0000000a , 0x00000b7d 
+ 00023813  0x000040bf call  0x00007c27 
+ 00023814  0x000040c1 call  0x0000487b 
+ 00023815  0x000040c2 call  0x0000620d 
+ 00023816  0x000040c3 nbranch  0x00005ed0 , 0x00000001 
+ 00023817  0x000040c4 nbranch  0x00005d0e , 0x00000029 
+ 00023818  0x000040c5 jam  0x00000004 , 0x0000007c 
+ 00023819  0x000040c6 jam  0x00000008 , 0x0000007d 
+ 00023820  0x000040c7 jam  0x00000023 , 0x0000007e 
+ 00023821  0x000040c8 rtn 
+ 00023822  0x000040ca fetch  0x00000001 , 0x0000004b 
+ 00023823  0x000040cb set1  0x00000002 , 0x0000003f 
+ 00023824  0x000040cc store  0x00000001 , 0x0000004b 
+ 00023825  0x000040cd rtn 
+ 00023826  0x000040d1 fetcht  0x00000001 , 0x0000004c 
+ 00023827  0x000040d2 nsetflag  0x00000034 , 0x00000001 , 0x00000002 
+ 00023828  0x000040d3 storet  0x00000001 , 0x0000004c 
+ 00023829  0x000040d4 rtn 
+ 00023830  0x000040d8 fetch  0x00000001 , 0x0000007f 
+ 00023831  0x000040d9 rshift  0x0000003f , 0x0000003f 
+ 00023832  0x000040da and_into  0x00000001 , 0x0000003f 
+ 00023833  0x000040db rtn 
+ 00023834  0x000040de call  0x00005d16 
+ 00023835  0x000040df store  0x00000001 , 0x00000451 
+ 00023836  0x000040e0 call  0x00005ec8 
+ 00023837  0x000040e1 jam  0x0000000c , 0x0000007c 
+ 00023838  0x000040e2 fetch  0x00000001 , 0x0000425e 
+ 00023839  0x000040e3 nrtn  0x00000034 
+ 00023840  0x000040e4 fetch  0x00000001 , 0x00000030 
+ 00023841  0x000040e5 rtnbit1  0x00000006 
+ 00023842  0x000040e6 jam  0x00000006 , 0x0000007e 
+ 00023843  0x000040e7 fetch  0x00000001 , 0x00004132 
+ 00023844  0x000040e8 bne  0x00000001 , 0x00005bc9 
+ 00023845  0x000040e9 fetch  0x00000001 , 0x00000453 
+ 00023846  0x000040ea nbranch  0x00005bc9 , 0x00000034 
+ 00023847  0x000040eb jam  0x00000000 , 0x0000007c 
+ 00023848  0x000040ed fetch  0x00000001 , 0x0000004b 
+ 00023849  0x000040ee set1  0x00000000 , 0x0000003f 
+ 00023850  0x000040ef store  0x00000001 , 0x0000004b 
+ 00023851  0x000040f0 branch  0x00004872 
+ 00023852  0x000040f3 arg  0x00000040 , 0x00000011 
+ 00023853  0x000040f4 call  0x0000739d 
+ 00023854  0x000040f5 fetch  0x00000004 , 0x000004df 
+ 00023855  0x000040f6 fetcht  0x00000004 , 0x0000051f 
+ 00023856  0x000040f7 isub  0x00000002 , 0x0000003e 
+ 00023857  0x000040f8 branch  0x00005d35 , 0x00000005 
+ 00023858  0x000040f9 jam  0x00000007 , 0x0000007c 
+ 00023859  0x000040fa jam  0x00000005 , 0x00000446 
+ 00023860  0x000040fb rtn 
+ 00023861  0x000040fd call  0x0000749b 
+ 00023862  0x000040fe call  0x00003211 
+ 00023863  0x000040ff fetch  0x00000001 , 0x0000004b 
+ 00023864  0x00004100 isolate1  0x00000001 , 0x0000003f 
+ 00023865  0x00004101 set0  0x00000001 , 0x0000003f 
+ 00023866  0x00004102 store  0x00000001 , 0x0000004b 
+ 00023867  0x00004103 call  0x000048bc , 0x00000001 
+ 00023868  0x00004104 fetch  0x00000001 , 0x00000055 
+ 00023869  0x00004105 beq  0x00000019 , 0x00005d40 
+ 00023870  0x00004106 beq  0x00000018 , 0x00005d40 
+ 00023871  0x00004107 rtn 
+ 00023872  0x00004109 fetch  0x00000001 , 0x000007e1 
+ 00023873  0x0000410a rtnne  0x00000000 
+ 00023874  0x0000410b fetch  0x00000001 , 0x0000004c 
+ 00023875  0x0000410c rtnbit1  0x00000002 
+ 00023876  0x0000410d branch  0x000062cf 
+ 00023877  0x00004110 arg  0x000004df , 0x00000011 
+ 00023878  0x00004111 arg  0x0000050f , 0x00000012 
+ 00023879  0x00004112 arg  0x000004ef , 0x00000005 
+ 00023880  0x00004113 call  0x00007467 
+ 00023881  0x00004114 arg  0x00000040 , 0x00000011 
+ 00023882  0x00004115 call  0x0000622b 
+ 00023883  0x00004116 jam  0x0000000b , 0x0000007c 
+ 00023884  0x00004117 fetch  0x00000001 , 0x00000030 
+ 00023885  0x00004118 bbit0  0x00000006 , 0x00005ecb 
+ 00023886  0x00004119 rtn 
+ 00023887  0x0000411c fetch  0x00000002 , 0x00000169 
+ 00023888  0x0000411d add  0x0000003f , 0xfffffffd , 0x00000039 
+ 00023889  0x0000411e fetcht  0x00000001 , 0x000004df 
+ 00023890  0x0000411f setarg  0x00000103 
+ 00023891  0x00004120 iadd  0x00000002 , 0x00000005 
+ 00023892  0x00004121 arg  0x000004e1 , 0x00000006 
+ 00023893  0x00004122 call  0x00007e45 
+ 00023894  0x00004123 fetcht  0x00000001 , 0x00000053 
+ 00023895  0x00004124 fetch  0x00000001 , 0x000004e0 
+ 00023896  0x00004125 isub  0x00000002 , 0x0000003f 
+ 00023897  0x00004126 sub  0x0000003f , 0x0000000e , 0x0000003e 
+ 00023898  0x00004127 branch  0x00005d5f , 0x00000002 
+ 00023899  0x00004128 add  0x00000002 , 0x0000000e , 0x0000003f 
+ 00023900  0x00004129 store  0x00000001 , 0x00000053 
+ 00023901  0x0000412a jam  0x00000001 , 0x0000007c 
+ 00023902  0x0000412b rtn 
+ 00023903  0x0000412d fetch  0x00000001 , 0x0000004c 
+ 00023904  0x0000412e set1  0x00000003 , 0x0000003f 
+ 00023905  0x0000412f store  0x00000001 , 0x0000004c 
+ 00023906  0x00004130 bbit1  0x00000004 , 0x00005ed5 
+ 00023907  0x00004133 rtn 
+ 00023908  0x00004135 fetch  0x00000001 , 0x000004df 
+ 00023909  0x00004136 store  0x00000001 , 0x0000007d 
+ 00023910  0x00004137 jam  0x00000002 , 0x0000007c 
+ 00023911  0x00004138 rtn 
+ 00023912  0x0000413b fetch  0x00000001 , 0x00004132 
+ 00023913  0x0000413c bne  0x00000001 , 0x00005cf5 
+ 00023914  0x0000413d force  0x00000001 , 0x00000002 
+ 00023915  0x0000413e branch  0x00004839 
+ 00023916  0x00004141 jam  0x00000030 , 0x0000007c 
+ 00023917  0x00004142 rtn 
+ 00023918  0x00004145 jam  0x00000028 , 0x0000007c 
+ 00023919  0x00004146 rtn 
+ 00023920  0x00004149 jam  0x00000026 , 0x0000007c 
+ 00023921  0x0000414a rtn 
+ 00023922  0x0000414f rtn 
+ 00023923  0x00004154 fetch  0x00000002 , 0x00000032 
+ 00023924  0x00004155 iforce  0x00000002 
+ 00023925  0x00004156 fetch  0x00000001 , 0x000004e0 
+ 00023926  0x00004157 store  0x00000001 , 0x00000097 
+ 00023927  0x00004158 imul32  0x00000002 , 0x00000002 
+ 00023928  0x00004159 fetch  0x00000002 , 0x000004e1 
+ 00023929  0x0000415a lshift  0x0000003f , 0x0000003f 
+ 00023930  0x0000415b store  0x00000002 , 0x00000098 
+ 00023931  0x0000415c fetch  0x00000004 , 0x000004e3 
+ 00023932  0x0000415d lshift  0x0000003f , 0x0000003f 
+ 00023933  0x0000415e store  0x00000004 , 0x00000093 
+ 00023934  0x00004160 deposit  0x00000002 
+ 00023935  0x00004161 store  0x00000002 , 0x0000009a 
+ 00023936  0x00004162 rtn 
+ 00023937  0x00004164 fetcht  0x00000001 , 0x000041fb 
+ 00023938  0x00004165 fetch  0x00000001 , 0x000004e0 
+ 00023939  0x00004166 ixor  0x00000002 , 0x0000003e 
+ 00023940  0x00004167 nbranch  0x00005bee , 0x00000005 
+ 00023941  0x00004168 isolate1  0x00000000 , 0x0000003f 
+ 00023942  0x00004169 fetch  0x00000001 , 0x0000004c 
+ 00023943  0x0000416a setflag  0x00000001 , 0x00000005 , 0x0000003f 
+ 00023944  0x0000416b store  0x00000001 , 0x0000004c 
+ 00023945  0x0000416c jam  0x00000081 , 0x0000007c 
+ 00023946  0x0000416d jam  0x0000008b , 0x0000007d 
+ 00023947  0x0000416e rtn 
+ 00023948  0x00004172 rtn 
+ 00023949  0x00004175 rtn 
+ 00023950  0x00004177 rtn 
+ 00023951  0x0000417a branch  0x00005cf5 
+ 00023952  0x0000417e branch  0x00005cf5 
+ 00023953  0x00004180 rtn 
+ 00023954  0x00004182 call  0x0000385e 
+ 00023955  0x00004183 jam  0x0000002c , 0x0000007d 
+ 00023956  0x00004184 branch  0x00005cf5 
+ 00023957  0x00004188 fetch  0x00000001 , 0x000004df 
+ 00023958  0x00004189 store  0x00000001 , 0x000000ad 
+ 00023959  0x0000418a fetch  0x00000001 , 0x000004e1 
+ 00023960  0x0000418b store  0x00000001 , 0x000000af 
+ 00023961  0x0000418c fetch  0x00000001 , 0x000004e4 
+ 00023962  0x0000418d store  0x00000001 , 0x000000ab 
+ 00023963  0x0000418e call  0x00005d16 
+ 00023964  0x0000418f store  0x00000001 , 0x00000452 
+ 00023965  0x00004190 force  0x00000000 , 0x00000002 
+ 00023966  0x00004191 branch  0x00004839 
+ 00023967  0x00004194 fetch  0x00000002 , 0x000004df 
+ 00023968  0x00004195 store  0x00000002 , 0x0000017b 
+ 00023969  0x00004196 rtn 
+ 00023970  0x00004199 fetch  0x00000001 , 0x00000030 
+ 00023971  0x0000419a bbit1  0x00000001 , 0x00005db5 
+ 00023972  0x0000419b fetch  0x00000002 , 0x000004e0 
+ 00023973  0x0000419c lshift  0x0000003f , 0x0000003f 
+ 00023974  0x0000419d store  0x00000002 , 0x00000075 
+ 00023975  0x0000419e fetch  0x00000002 , 0x000004e2 
+ 00023976  0x0000419f lshift  0x0000003f , 0x0000003f 
+ 00023977  0x000041a0 store  0x00000002 , 0x00000032 
+ 00023978  0x000041a1 fetch  0x00000002 , 0x000004e4 
+ 00023979  0x000041a2 store  0x00000001 , 0x00000073 
+ 00023980  0x000041a3 iforce  0x00000002 
+ 00023981  0x000041a4 fetch  0x00000002 , 0x000004e6 
+ 00023982  0x000041a5 store  0x00000001 , 0x00000074 
+ 00023983  0x000041a6 isub  0x00000002 , 0x0000003e 
+ 00023984  0x000041a7 nbranch  0x00005db2 , 0x00000002 
+ 00023985  0x000041a8 store  0x00000001 , 0x00000073 
+ 00023986  0x000041ab jam  0x00000003 , 0x0000007c 
+ 00023987  0x000041ac jam  0x00000017 , 0x0000007d 
+ 00023988  0x000041ad rtn 
+ 00023989  0x000041b0 jam  0x00000024 , 0x0000007e 
+ 00023990  0x000041b1 branch  0x00005bc9 
+ 00023991  0x000041b4 call  0x00005cf5 
+ 00023992  0x000041b5 call  0x00005ec8 
+ 00023993  0x000041b6 call  0x000073a0 
+ 00023994  0x000041b7 branch  0x000037d0 
+ 00023995  0x000041ba call  0x00005cf5 
+ 00023996  0x000041bb branch  0x000037da 
+ 00023997  0x000041bf fetch  0x00000004 , 0x000004df 
+ 00023998  0x000041c0 lshift  0x0000003f , 0x0000003f 
+ 00023999  0x000041c2 branch  0x00005dc9 , 0x00000029 
+ 00024000  0x000041c3 fetcht  0x00000001 , 0x0000425e 
+ 00024001  0x000041c4 nbranch  0x00005dc6 , 0x00000034 
+ 00024002  0x000041c6 jam  0x00000004 , 0x0000007c 
+ 00024003  0x000041c7 jam  0x00000013 , 0x0000007d 
+ 00024004  0x000041c8 jam  0x00000024 , 0x0000007e 
+ 00024005  0x000041c9 rtn 
+ 00024006  0x000041cb jam  0x00000034 , 0x0000007c 
+ 00024007  0x000041cc jam  0x00000000 , 0x00000055 
+ 00024008  0x000041cd branch  0x00003241 
+ 00024009  0x000041d0 call  0x00003241 
+ 00024010  0x000041d1 set1  0x00000022 , 0x00000000 
+ 00024011  0x000041d2 fetch  0x00000001 , 0x00000177 
+ 00024012  0x000041d3 set0  0x00000002 , 0x0000003f 
+ 00024013  0x000041d4 store  0x00000001 , 0x00000177 
+ 00024014  0x000041d5 branch  0x00005cf5 
+ 00024015  0x000041da rtn 
+ 00024016  0x000041dc rtn 
+ 00024017  0x000041de rtn 
+ 00024018  0x000041e2 rtn 
+ 00024019  0x000041e6 jam  0x00000003 , 0x0000007c 
+ 00024020  0x000041e7 jam  0x00000018 , 0x0000007d 
+ 00024021  0x000041e8 jam  0x0000002e , 0x00000b7d 
+ 00024022  0x000041e9 call  0x00007c27 
+ 00024023  0x000041ea force  0x00000000 , 0x00000002 
+ 00024024  0x000041eb call  0x00004907 
+ 00024025  0x000041ec branch  0x00003806 
+ 00024026  0x000041ee rtn 
+ 00024027  0x000041f1 fetch  0x00000001 , 0x000004df 
+ 00024028  0x000041f2 bne  0x00000001 , 0x00005de7 
+ 00024029  0x000041f3 fetch  0x00000001 , 0x000004e0 
+ 00024030  0x000041f4 bne  0x00000001 , 0x00005de7 
+ 00024031  0x000041f5 fetch  0x00000001 , 0x000004e1 
+ 00024032  0x000041f6 bne  0x00000030 , 0x00005de7 
+ 00024033  0x000041f7 call  0x00006216 
+ 00024034  0x000041f8 branch  0x00005de4 , 0x00000001 
+ 00024035  0x000041f9 jam  0x00000001 , 0x000007da 
+ 00024036  0x000041fb jam  0x00000003 , 0x0000007c 
+ 00024037  0x000041fc jam  0x0000003d , 0x0000007d 
+ 00024038  0x000041fd branch  0x00005b77 
+ 00024039  0x00004200 jam  0x00000024 , 0x0000007e 
+ 00024040  0x00004201 branch  0x00005bc9 
+ 00024041  0x00004206 jam  0x0000003e , 0x0000007c 
+ 00024042  0x00004208 rtn 
+ 00024043  0x0000420a call  0x00006216 
+ 00024044  0x0000420b rtn  0x00000001 
+ 00024045  0x0000420c jam  0x00000008 , 0x000007da 
+ 00024046  0x0000420d rtn 
+ 00024047  0x00004211 call  0x00006216 
+ 00024048  0x00004212 ncall  0x00007a9d , 0x00000001 
+ 00024049  0x00004213 call  0x00007aab , 0x00000001 
+ 00024050  0x00004214 call  0x00004860 
+ 00024051  0x00004215 call  0x00004869 
+ 00024052  0x00004216 call  0x00006216 
+ 00024053  0x00004217 rtn  0x00000001 
+ 00024054  0x00004218 jam  0x0000000c , 0x000007da 
+ 00024055  0x00004219 jam  0x00000001 , 0x000007dc 
+ 00024056  0x0000421a rtn 
+ 00024057  0x0000421d arg  0x00000888 , 0x00000005 
+ 00024058  0x0000421e fetch  0x00000008 , 0x000004df 
+ 00024059  0x0000421f istore  0x00000008 , 0x00000005 
+ 00024060  0x00004220 fetch  0x00000008 , 0x000004e7 
+ 00024061  0x00004221 istore  0x00000008 , 0x00000005 
+ 00024062  0x00004222 branch  0x0000780f 
+ 00024063  0x00004225 fetch  0x00000001 , 0x000007db 
+ 00024064  0x00004226 beq  0x00000007 , 0x00005e03 
+ 00024065  0x00004227 fetch  0x00000001 , 0x000007da 
+ 00024066  0x00004228 bne  0x00000001 , 0x00005e16 
+ 00024067  0x0000422a fetch  0x00000001 , 0x000007e3 
+ 00024068  0x0000422b sub  0x0000003f , 0x00000020 , 0x00000005 
+ 00024069  0x0000422c nbranch  0x00005e16 , 0x00000002 
+ 00024070  0x0000422d arg  0x000007f0 , 0x00000005 
+ 00024071  0x0000422e iadd  0x00000005 , 0x00000005 
+ 00024072  0x0000422f fetch  0x00000008 , 0x000004df 
+ 00024073  0x00004230 istore  0x00000008 , 0x00000005 
+ 00024074  0x00004231 fetch  0x00000008 , 0x000004e7 
+ 00024075  0x00004232 istore  0x00000008 , 0x00000005 
+ 00024076  0x00004233 fetch  0x00000001 , 0x000007e3 
+ 00024077  0x00004234 increase  0x00000010 , 0x0000003f 
+ 00024078  0x00004235 store  0x00000001 , 0x000007e3 
+ 00024079  0x00004236 bne  0x00000030 , 0x00005cf5 
+ 00024080  0x00004238 call  0x00006216 
+ 00024081  0x00004239 branch  0x00005cf5 , 0x00000001 
+ 00024082  0x0000423a jam  0x00000001 , 0x000007e4 
+ 00024083  0x0000423b jam  0x00000002 , 0x000007da 
+ 00024084  0x0000423c jam  0x00000001 , 0x000007dc 
+ 00024085  0x0000423d branch  0x00005cf5 
+ 00024086  0x0000423f jam  0x00000024 , 0x0000007e 
+ 00024087  0x00004240 branch  0x00005bc9 
+ 00024088  0x00004242 fetch  0x00000001 , 0x000007e2 
+ 00024089  0x00004243 beq  0x00000030 , 0x00005e1c 
+ 00024090  0x00004244 jam  0x0000003e , 0x0000007c 
+ 00024091  0x00004245 branch  0x00005b77 
+ 00024092  0x00004247 call  0x00006216 
+ 00024093  0x00004248 branch  0x00005e21 , 0x00000001 
+ 00024094  0x00004249 jam  0x00000001 , 0x000007dc 
+ 00024095  0x0000424a jam  0x00000004 , 0x000007da 
+ 00024096  0x0000424b branch  0x00005b77 
+ 00024097  0x0000424e branch  0x00005b77 
+ 00024098  0x00004251 fetch  0x00000001 , 0x000007db 
+ 00024099  0x00004252 beq  0x00000007 , 0x00005e26 
+ 00024100  0x00004253 fetch  0x00000001 , 0x000007da 
+ 00024101  0x00004254 bne  0x00000006 , 0x00005e32 
+ 00024102  0x00004256 arg  0x00000848 , 0x00000005 
+ 00024103  0x00004257 fetch  0x00000008 , 0x000004df 
+ 00024104  0x00004258 istore  0x00000008 , 0x00000005 
+ 00024105  0x00004259 fetch  0x00000008 , 0x000004e7 
+ 00024106  0x0000425a istore  0x00000008 , 0x00000005 
+ 00024107  0x0000425b call  0x00006216 
+ 00024108  0x0000425c branch  0x00005e30 , 0x00000001 
+ 00024109  0x0000425d jam  0x00000007 , 0x000007da 
+ 00024110  0x0000425e jam  0x00000001 , 0x000007dc 
+ 00024111  0x0000425f branch  0x00005cf5 
+ 00024112  0x00004261 jam  0x00000004 , 0x000007db 
+ 00024113  0x00004262 branch  0x0000780f 
+ 00024114  0x00004266 jam  0x00000024 , 0x0000007e 
+ 00024115  0x00004267 branch  0x00005bc9 
+ 00024116  0x0000426a fetch  0x00000001 , 0x000007db 
+ 00024117  0x0000426b beq  0x0000000b , 0x00005e38 
+ 00024118  0x0000426c fetch  0x00000001 , 0x000007da 
+ 00024119  0x0000426d bne  0x00000008 , 0x00005e45 
+ 00024120  0x0000426f arg  0x00000878 , 0x00000005 
+ 00024121  0x00004270 fetch  0x00000008 , 0x000004df 
+ 00024122  0x00004271 istore  0x00000008 , 0x00000005 
+ 00024123  0x00004272 fetch  0x00000008 , 0x000004e7 
+ 00024124  0x00004273 istore  0x00000008 , 0x00000005 
+ 00024125  0x00004274 call  0x00006216 
+ 00024126  0x00004275 branch  0x00005e42 , 0x00000001 
+ 00024127  0x00004276 jam  0x00000009 , 0x000007da 
+ 00024128  0x00004277 jam  0x00000001 , 0x000007dc 
+ 00024129  0x00004278 branch  0x00005b77 
+ 00024130  0x0000427a jam  0x00000009 , 0x000007db 
+ 00024131  0x0000427b jam  0x00000001 , 0x000007dd 
+ 00024132  0x0000427c branch  0x00005b77 
+ 00024133  0x0000427e jam  0x00000024 , 0x0000007e 
+ 00024134  0x0000427f branch  0x00005bc9 
+ 00024135  0x00004282 branch  0x00005b77 
+ 00024136  0x00004285 fetch  0x00000001 , 0x00000177 
+ 00024137  0x00004286 set0  0x00000001 
+ 00024138  0x00004287 store  0x00000001 , 0x00000177 
+ 00024139  0x00004288 call  0x00005cf5 
+ 00024140  0x00004289 nrtn  0x00000029 
+ 00024141  0x0000428a fetch  0x00000001 , 0x000004df 
+ 00024142  0x0000428b fetcht  0x00000001 , 0x0000004b 
+ 00024143  0x0000428c setflag  0x00000034 , 0x00000004 , 0x00000002 
+ 00024144  0x0000428d nsetflag  0x00000034 , 0x00000005 , 0x00000002 
+ 00024145  0x0000428e storet  0x00000001 , 0x0000004b 
+ 00024146  0x0000428f rtn 
+ 00024147  0x00004292 fetcht  0x00000008 , 0x000004df 
+ 00024148  0x00004293 fetch  0x00000001 , 0x00004272 
+ 00024149  0x00004294 bne  0x00000050 , 0x00005e58 
+ 00024150  0x00004295 jam  0x00000000 , 0x00004272 
+ 00024151  0x00004296 call  0x000047e5 
+ 00024152  0x00004298 fetch  0x00000001 , 0x00000055 
+ 00024153  0x00004299 rtnne  0x00000003 
+ 00024154  0x0000429a fetch  0x00000001 , 0x00004132 
+ 00024155  0x0000429b beq  0x00000001 , 0x00005e5e 
+ 00024156  0x0000429c fetch  0x00000001 , 0x00000177 
+ 00024157  0x0000429d bbit0  0x00000004 , 0x00005e60 
+ 00024158  0x0000429f jam  0x00000014 , 0x00000055 
+ 00024159  0x000042a0 rtn 
+ 00024160  0x000042a2 jam  0x00000004 , 0x00000055 
+ 00024161  0x000042a3 rtn 
+ 00024162  0x000042a5 fetch  0x00000001 , 0x00000189 
+ 00024163  0x000042a6 store  0x00000001 , 0x0000015d 
+ 00024164  0x000042a7 jam  0x00000003 , 0x0000007c 
+ 00024165  0x000042a8 jam  0x00000038 , 0x0000007d 
+ 00024166  0x000042a9 rtn 
+ 00024167  0x000042ad jam  0x00000003 , 0x0000007c 
+ 00024168  0x000042ae jam  0x00000039 , 0x0000007d 
+ 00024169  0x000042af force  0x00000009 , 0x00000039 
+ 00024170  0x000042b0 arg  0x000004df , 0x00000006 
+ 00024171  0x000042b1 arg  0x00000154 , 0x00000005 
+ 00024172  0x000042b3 ifetch  0x00000001 , 0x00000006 
+ 00024173  0x000042b4 xor_into  0x00000055 , 0x0000003f 
+ 00024174  0x000042b5 istore  0x00000001 , 0x00000005 
+ 00024175  0x000042b6 loop  0x00005e6c 
+ 00024176  0x000042b7 fetch  0x00000001 , 0x00000154 
+ 00024177  0x000042b8 fetcht  0x00000001 , 0x00000153 
+ 00024178  0x000042b9 set0  0x00000007 , 0x00000002 
+ 00024179  0x000042ba set0  0x00000004 , 0x00000002 
+ 00024180  0x000042bb beq  0x000000ff , 0x00005e80 
+ 00024181  0x000042bc beq  0x00000000 , 0x00005e99 
+ 00024182  0x000042bd beq  0x00000005 , 0x00005e8d 
+ 00024183  0x000042be beq  0x00000007 , 0x00005e8c 
+ 00024184  0x000042bf beq  0x00000006 , 0x00005e8d 
+ 00024185  0x000042c0 beq  0x00000008 , 0x00005e8c 
+ 00024186  0x000042c1 beq  0x00000001 , 0x00005e85 
+ 00024187  0x000042c2 beq  0x00000002 , 0x00005e85 
+ 00024188  0x000042c3 beq  0x00000003 , 0x00005e85 
+ 00024189  0x000042c4 beq  0x00000009 , 0x00005e85 
+ 00024190  0x000042c5 beq  0x00000004 , 0x00005e85 
+ 00024191  0x000042c6 rtn 
+ 00024192  0x000042c9 fetch  0x00000001 , 0x00000153 
+ 00024193  0x000042ca set1  0x00000003 , 0x0000003f 
+ 00024194  0x000042cb set1  0x00000002 , 0x0000003f 
+ 00024195  0x000042cc store  0x00000001 , 0x00000153 
+ 00024196  0x000042cd rtn 
+ 00024197  0x000042cf set1  0x00000004 , 0x00000002 
+ 00024198  0x000042d0 jam  0x00000005 , 0x0000018a 
+ 00024199  0x000042d1 fetch  0x00000002 , 0x0000015b 
+ 00024200  0x000042d2 iforce  0x00000039 
+ 00024201  0x000042d3 store  0x00000002 , 0x00000169 
+ 00024202  0x000042d4 arg  0x000004de , 0x00000005 
+ 00024203  0x000042d5 call  0x00007ed8 
+ 00024204  0x000042d7 set1  0x00000007 , 0x00000002 
+ 00024205  0x000042d9 set1  0x00000002 , 0x00000002 
+ 00024206  0x000042da force  0x00000000 , 0x0000003f 
+ 00024207  0x000042db store  0x00000001 , 0x0000000b 
+ 00024208  0x000042dc store  0x00000002 , 0x000000fc 
+ 00024209  0x000042dd store  0x00000002 , 0x000000fe 
+ 00024210  0x000042de store  0x00000002 , 0x000000fa 
+ 00024211  0x000042df store  0x00000002 , 0x000000f8 
+ 00024212  0x000042e0 fetch  0x00000001 , 0x00000155 
+ 00024213  0x000042e1 compare  0x00000000 , 0x0000003f , 0x000000ff 
+ 00024214  0x000042e2 setflag  0x00000001 , 0x00000006 , 0x00000002 
+ 00024215  0x000042e3 storet  0x00000001 , 0x00000153 
+ 00024216  0x000042e4 rtn 
+ 00024217  0x000042e7 set0  0x00000011 , 0x00000000 
+ 00024218  0x000042e8 jam  0x00000000 , 0x00000153 
+ 00024219  0x000042e9 fetch  0x00000001 , 0x00000189 
+ 00024220  0x000042ea set0  0x00000006 , 0x0000003f 
+ 00024221  0x000042eb store  0x00000001 , 0x00000189 
+ 00024222  0x000042ec rtn 
+ 00024223  0x000042ef fetch  0x00000001 , 0x00000153 
+ 00024224  0x000042f0 rtnbit0  0x00000002 
+ 00024225  0x000042f1 fetch  0x00000001 , 0x0000015e 
+ 00024226  0x000042f2 increase  0x00000001 , 0x0000003f 
+ 00024227  0x000042f3 store  0x00000001 , 0x0000015e 
+ 00024228  0x000042f4 rtnne  0x00000005 
+ 00024229  0x000042f5 jam  0x00000000 , 0x0000015e 
+ 00024230  0x000042f6 fetch  0x00000001 , 0x00000153 
+ 00024231  0x000042f7 set0  0x00000002 , 0x0000003f 
+ 00024232  0x000042f8 store  0x00000001 , 0x00000153 
+ 00024233  0x000042f9 bbit1  0x00000003 , 0x00005ec0 
+ 00024234  0x000042fa isolate1  0x00000007 , 0x0000003f 
+ 00024235  0x000042fb call  0x00007f86 , 0x00000001 
+ 00024236  0x000042fc ncall  0x00007f8a , 0x00000001 
+ 00024237  0x000042fd fetch  0x00000001 , 0x0000015a 
+ 00024238  0x000042fe compare  0x00000020 , 0x0000003f , 0x00000030 
+ 00024239  0x000042ff fetch  0x00000001 , 0x0000004c 
+ 00024240  0x00004300 setflag  0x00000001 , 0x00000005 , 0x0000003f 
+ 00024241  0x00004301 store  0x00000001 , 0x0000004c 
+ 00024242  0x00004302 fetch  0x00000001 , 0x00000153 
+ 00024243  0x00004303 fetcht  0x00000001 , 0x00000189 
+ 00024244  0x00004304 isolate1  0x00000004 , 0x0000003f 
+ 00024245  0x00004305 setflag  0x00000001 , 0x00000006 , 0x00000002 
+ 00024246  0x00004306 isolate1  0x00000006 , 0x0000003f 
+ 00024247  0x00004307 setflag  0x00000001 , 0x00000004 , 0x00000002 
+ 00024248  0x00004308 setflag  0x00000001 , 0x00000005 , 0x00000002 
+ 00024249  0x00004309 storet  0x00000001 , 0x00000189 
+ 00024250  0x0000430a fetch  0x00000001 , 0x00000156 
+ 00024251  0x0000430b store  0x00000001 , 0x00000447 
+ 00024252  0x0000430c fetch  0x00000001 , 0x00000157 
+ 00024253  0x0000430d store  0x00000001 , 0x00000448 
+ 00024254  0x0000430e set1  0x00000011 , 0x00000000 
+ 00024255  0x0000430f rtn 
+ 00024256  0x00004312 set0  0x00000011 , 0x00000000 
+ 00024257  0x00004313 jam  0x00000000 , 0x00000153 
+ 00024258  0x00004314 fetch  0x00000001 , 0x0000015d 
+ 00024259  0x00004315 store  0x00000001 , 0x00000189 
+ 00024260  0x00004316 hfetch  0x00000001 , 0x00008043 
+ 00024261  0x00004317 and_into  0x000000fb , 0x0000003f 
+ 00024262  0x00004318 hstore  0x00000001 , 0x00008043 
+ 00024263  0x00004319 rtn 
+ 00024264  0x0000431d arg  0x000004df , 0x00000006 
+ 00024265  0x0000431e arg  0x000004ef , 0x00000005 
+ 00024266  0x0000431f branch  0x00007e35 
+ 00024267  0x00004322 jam  0x00000009 , 0x0000007c 
+ 00024268  0x00004323 rtn 
+ 00024269  0x00004326 nrtn  0x00000029 
+ 00024270  0x00004327 jam  0x00000011 , 0x0000007c 
+ 00024271  0x00004328 rtn 
+ 00024272  0x0000432b arg  0x00004140 , 0x00000011 
+ 00024273  0x0000432c call  0x0000736a 
+ 00024274  0x0000432d jam  0x00000003 , 0x0000007c 
+ 00024275  0x0000432e jam  0x00000008 , 0x0000007d 
+ 00024276  0x0000432f rtn 
+ 00024277  0x00004332 jam  0x0000000a , 0x00000072 
+ 00024278  0x00004333 jam  0x00000007 , 0x0000007c 
+ 00024279  0x00004334 jam  0x00000016 , 0x00000446 
+ 00024280  0x00004335 rtn 
+ 00024281  0x0000433c set1  0x00000025 , 0x00000000 
+ 00024282  0x0000433d bpatch  0x000000e3 , 0x0000403c 
+ 00024283  0x0000433e disable  0x00000028 
+ 00024284  0x0000433f call  0x000061d9 
+ 00024285  0x00004340 fetch  0x00000001 , 0x00000048 
+ 00024286  0x00004341 rtn  0x00000034 
+ 00024287  0x00004346 bbit1  0x00000007 , 0x00005f10 
+ 00024288  0x00004347 beq  0x00000001 , 0x00006072 
+ 00024289  0x00004348 beq  0x00000002 , 0x00005f9b 
+ 00024290  0x00004349 beq  0x00000003 , 0x00005f1d 
+ 00024291  0x0000434a beq  0x00000004 , 0x00005f36 
+ 00024292  0x0000434b beq  0x00000027 , 0x000060f2 
+ 00024293  0x0000434c beq  0x00000028 , 0x00005fbf 
+ 00024294  0x0000434d beq  0x00000030 , 0x00005fab 
+ 00024295  0x0000434e beq  0x00000025 , 0x000060ed 
+ 00024296  0x0000434f beq  0x00000026 , 0x00005fba 
+ 00024297  0x00004350 beq  0x00000031 , 0x000060dc 
+ 00024298  0x00004351 beq  0x00000037 , 0x0000606d 
+ 00024299  0x00004352 beq  0x00000033 , 0x0000605f 
+ 00024300  0x00004353 beq  0x00000008 , 0x00006174 
+ 00024301  0x00004354 beq  0x00000009 , 0x0000616a 
+ 00024302  0x00004355 beq  0x0000000b , 0x0000617f 
+ 00024303  0x00004356 beq  0x0000000c , 0x00006188 
+ 00024304  0x00004357 beq  0x0000000f , 0x00006065 
+ 00024305  0x00004358 beq  0x00000010 , 0x000061af 
+ 00024306  0x00004359 beq  0x00000011 , 0x000061a5 
+ 00024307  0x0000435a beq  0x00000007 , 0x00006055 
+ 00024308  0x0000435b beq  0x0000002a , 0x00006081 
+ 00024309  0x0000435c beq  0x0000000a , 0x00006082 
+ 00024310  0x0000435e beq  0x0000002b , 0x000060b5 
+ 00024311  0x0000435f beq  0x00000006 , 0x00005fb0 
+ 00024312  0x00004360 beq  0x00000021 , 0x00006062 
+ 00024313  0x00004361 beq  0x0000002d , 0x000060d2 
+ 00024314  0x00004362 beq  0x0000002e , 0x000060d7 
+ 00024315  0x00004363 beq  0x00000022 , 0x00006062 
+ 00024316  0x00004364 beq  0x0000002c , 0x000060cb 
+ 00024317  0x00004365 beq  0x00000034 , 0x00006083 
+ 00024318  0x00004366 beq  0x00000013 , 0x00006098 
+ 00024319  0x00004367 beq  0x00000017 , 0x000060a7 
+ 00024320  0x00004368 beq  0x00000012 , 0x000061ac 
+ 00024321  0x00004369 beq  0x0000002f , 0x000060ad 
+ 00024322  0x0000436a beq  0x00000018 , 0x000060b2 
+ 00024323  0x0000436b beq  0x0000003d , 0x00006119 
+ 00024324  0x0000436c beq  0x0000003e , 0x00006125 
+ 00024325  0x0000436d beq  0x0000003f , 0x00006137 
+ 00024326  0x0000436e beq  0x00000040 , 0x00006142 
+ 00024327  0x0000436f beq  0x00000041 , 0x00006157 
+ 00024328  0x00004370 beq  0x00000023 , 0x00006166 
+ 00024329  0x00004371 beq  0x0000003b , 0x00006161 
+ 00024330  0x00004373 beq  0x00000005 , 0x00006167 
+ 00024331  0x00004374 beq  0x00000029 , 0x00006168 
+ 00024332  0x00004375 beq  0x00000038 , 0x00006169 
+ 00024333  0x00004376 beq  0x00000039 , 0x00006078 
+ 00024334  0x00004378 branch  0x00003bf1 
+ 00024335  0x00004379 rtn 
+ 00024336  0x0000437b beq  0x0000008c , 0x00005fc4 
+ 00024337  0x0000437c beq  0x0000008d , 0x00005fe3 
+ 00024338  0x0000437d beq  0x00000081 , 0x00005f43 
+ 00024339  0x0000437e beq  0x00000084 , 0x00005f76 
+ 00024340  0x0000437f beq  0x00000082 , 0x00005f50 
+ 00024341  0x00004380 beq  0x00000083 , 0x00005fec 
+ 00024342  0x00004381 beq  0x0000008b , 0x00005ff7 
+ 00024343  0x00004382 beq  0x00000097 , 0x00006051 
+ 00024344  0x00004383 beq  0x00000099 , 0x00005f8c 
+ 00024345  0x00004384 beq  0x0000009a , 0x00005f81 
+ 00024346  0x00004385 beq  0x00000095 , 0x00005f91 
+ 00024347  0x00004386 beq  0x00000096 , 0x00005f92 
+ 00024348  0x00004387 branch  0x00003bf1 
+ 00024349  0x0000438e force  0x00000002 , 0x0000003f 
+ 00024350  0x0000438f call  0x000061b5 
+ 00024351  0x00004390 fetch  0x00000001 , 0x00000049 
+ 00024352  0x00004391 istore  0x00000001 , 0x00000005 
+ 00024353  0x00004392 beq  0x0000002b , 0x00005f5a 
+ 00024354  0x00004393 call  0x000061c4 
+ 00024355  0x00004394 fetch  0x00000001 , 0x00000049 
+ 00024356  0x00004395 beq  0x00000008 , 0x00005f5d 
+ 00024357  0x00004396 beq  0x0000000f , 0x00005f61 
+ 00024358  0x00004397 beq  0x00000010 , 0x00005f6c 
+ 00024359  0x00004398 beq  0x00000017 , 0x00005f33 
+ 00024360  0x00004399 beq  0x00000033 , 0x00005f6f 
+ 00024361  0x0000439a beq  0x0000002c , 0x00005f74 
+ 00024362  0x0000439b beq  0x00000041 , 0x00005f75 
+ 00024363  0x0000439c beq  0x00000011 , 0x00005f2d 
+ 00024364  0x0000439d rtn 
+ 00024365  0x000043a0 fetch  0x00000001 , 0x00000055 
+ 00024366  0x000043a1 rtn  0x00000034 
+ 00024367  0x000043a2 jam  0x0000001b , 0x00000055 
+ 00024368  0x000043a3 setarg  0x0000000c 
+ 00024369  0x000043a4 arg  0x0000000b , 0x00000007 
+ 00024370  0x000043a5 branch  0x00007e4c 
+ 00024371  0x000043a8 force  0x00000002 , 0x00000002 
+ 00024372  0x000043a9 call  0x00004907 
+ 00024373  0x000043aa branch  0x000037e1 
+ 00024374  0x000043ac force  0x00000003 , 0x0000003f 
+ 00024375  0x000043ad call  0x000061b5 
+ 00024376  0x000043ae fetch  0x00000001 , 0x00000049 
+ 00024377  0x000043af beq  0x0000000b , 0x00005f3e 
+ 00024378  0x000043b0 istore  0x00000001 , 0x00000005 
+ 00024379  0x000043b1 fetch  0x00000001 , 0x0000004a 
+ 00024380  0x000043b2 istore  0x00000001 , 0x00000005 
+ 00024381  0x000043b3 branch  0x000061c4 
+ 00024382  0x000043b6 istore  0x00000001 , 0x00000005 
+ 00024383  0x000043b7 fetch  0x00000001 , 0x0000004a 
+ 00024384  0x000043b8 istore  0x00000001 , 0x00000005 
+ 00024385  0x000043b9 arg  0x00000451 , 0x00000002 
+ 00024386  0x000043ba branch  0x000061fb 
+ 00024387  0x000043bd force  0x00000004 , 0x00000007 
+ 00024388  0x000043be call  0x000061bd 
+ 00024389  0x000043bf setarg  0x0000007f 
+ 00024390  0x000043c0 istore  0x00000001 , 0x00000005 
+ 00024391  0x000043c1 fetch  0x00000001 , 0x00000049 
+ 00024392  0x000043c2 set0  0x00000007 , 0x0000003f 
+ 00024393  0x000043c3 istore  0x00000001 , 0x00000005 
+ 00024394  0x000043c4 fetch  0x00000001 , 0x00000049 
+ 00024395  0x000043c5 beq  0x0000008c , 0x00005f5a 
+ 00024396  0x000043c6 call  0x000061c4 
+ 00024397  0x000043c7 fetch  0x00000001 , 0x00000049 
+ 00024398  0x000043c8 beq  0x0000008d , 0x00005f74 
+ 00024399  0x000043c9 rtn 
+ 00024400  0x000043cc force  0x00000005 , 0x00000007 
+ 00024401  0x000043cd call  0x000061bd 
+ 00024402  0x000043ce setarg  0x0000007f 
+ 00024403  0x000043cf istore  0x00000001 , 0x00000005 
+ 00024404  0x000043d0 fetch  0x00000001 , 0x00000049 
+ 00024405  0x000043d1 set0  0x00000007 , 0x0000003f 
+ 00024406  0x000043d2 istore  0x00000001 , 0x00000005 
+ 00024407  0x000043d3 fetch  0x00000001 , 0x0000004a 
+ 00024408  0x000043d4 istore  0x00000001 , 0x00000005 
+ 00024409  0x000043d5 branch  0x000061c4 
+ 00024410  0x000043d8 call  0x0000384a 
+ 00024411  0x000043d9 arg  0x00000452 , 0x00000002 
+ 00024412  0x000043da branch  0x000061fb 
+ 00024413  0x000043de call  0x00003507 
+ 00024414  0x000043df call  0x0000620d 
+ 00024415  0x000043e0 rtn  0x00000001 
+ 00024416  0x000043e1 branch  0x00005ecb 
+ 00024417  0x000043e4 fetch  0x00000001 , 0x0000004b 
+ 00024418  0x000043e5 bbit1  0x00000005 , 0x00005f68 
+ 00024419  0x000043e6 rtnbit0  0x00000004 
+ 00024420  0x000043e7 jam  0x00000012 , 0x0000007c 
+ 00024421  0x000043e8 set0  0x00000004 , 0x0000003f 
+ 00024422  0x000043e9 call  0x00006205 
+ 00024423  0x000043ea branch  0x00005f6a 
+ 00024424  0x000043ec jam  0x00000010 , 0x0000007c 
+ 00024425  0x000043ed set0  0x00000005 , 0x0000003f 
+ 00024426  0x000043ef store  0x00000001 , 0x0000004b 
+ 00024427  0x000043f0 rtn 
+ 00024428  0x000043f3 call  0x00006216 
+ 00024429  0x000043f4 branch  0x00005ecd , 0x00000001 
+ 00024430  0x000043f5 rtn 
+ 00024431  0x000043f9 fetch  0x00000001 , 0x0000044d 
+ 00024432  0x000043fa set1  0x00000000 , 0x0000003f 
+ 00024433  0x000043fb store  0x00000001 , 0x0000044d 
+ 00024434  0x000043fc jam  0x00000001 , 0x00000b7d 
+ 00024435  0x000043fd branch  0x00007c27 
+ 00024436  0x00004401 rtn 
+ 00024437  0x00004404 rtn 
+ 00024438  0x00004409 force  0x0000000c , 0x00000007 
+ 00024439  0x0000440a call  0x000061bd 
+ 00024440  0x0000440b setarg  0x00000001 
+ 00024441  0x0000440c istore  0x00000001 , 0x00000005 
+ 00024442  0x0000440d fetch  0x00000002 , 0x0000044a 
+ 00024443  0x0000440e istore  0x00000002 , 0x00000005 
+ 00024444  0x0000440f setarg  0x00000000 
+ 00024445  0x00004410 istore  0x00000003 , 0x00000005 
+ 00024446  0x00004411 setarg  0x00000000 
+ 00024447  0x00004412 istore  0x00000004 , 0x00000005 
+ 00024448  0x00004413 branch  0x000061cd 
+ 00024449  0x00004416 force  0x00000005 , 0x00000007 
+ 00024450  0x00004417 call  0x000061bd 
+ 00024451  0x00004418 fetch  0x00000001 , 0x00004132 
+ 00024452  0x00004419 beq  0x00000001 , 0x00005f89 
+ 00024453  0x0000441a setarg  0x00040003 
+ 00024454  0x0000441b istore  0x00000003 , 0x00000005 
+ 00024455  0x0000441c store  0x00000003 , 0x000007e6 
+ 00024456  0x0000441d branch  0x000061cd 
+ 00024457  0x0000441f fetch  0x00000003 , 0x000007e6 
+ 00024458  0x00004420 istore  0x00000003 , 0x00000005 
+ 00024459  0x00004421 branch  0x000061cd 
+ 00024460  0x00004424 force  0x00000005 , 0x00000007 
+ 00024461  0x00004425 call  0x000061bd 
+ 00024462  0x00004426 fetch  0x00000003 , 0x000007e6 
+ 00024463  0x00004427 istore  0x00000003 , 0x00000005 
+ 00024464  0x00004428 branch  0x000061cf 
+ 00024465  0x0000442d rtn 
+ 00024466  0x0000442f force  0x00000009 , 0x00000007 
+ 00024467  0x00004430 call  0x000061bd 
+ 00024468  0x00004431 fetch  0x00000001 , 0x00000097 
+ 00024469  0x00004432 istore  0x00000001 , 0x00000005 
+ 00024470  0x00004433 fetch  0x00000002 , 0x00000098 
+ 00024471  0x00004434 istore  0x00000002 , 0x00000005 
+ 00024472  0x00004435 fetch  0x00000004 , 0x00000093 
+ 00024473  0x00004436 istore  0x00000004 , 0x00000005 
+ 00024474  0x00004437 branch  0x000061cd 
+ 00024475  0x0000443a force  0x00000011 , 0x0000003f 
+ 00024476  0x0000443b call  0x000061b5 
+ 00024477  0x0000443c fetch  0x00000001 , 0x00000049 
+ 00024478  0x0000443d copy  0x0000003f , 0x00000002 
+ 00024479  0x0000443e beq  0x00000000 , 0x00005fa3 
+ 00024480  0x0000443f beq  0x0000000e , 0x00005fa3 
+ 00024481  0x00004440 beq  0x0000001c , 0x00005fa3 
+ 00024482  0x00004441 rtn 
+ 00024483  0x00004443 istore  0x00000001 , 0x00000005 
+ 00024484  0x00004444 fetch  0x00000001 , 0x00004702 
+ 00024485  0x00004445 istore  0x00000001 , 0x00000005 
+ 00024486  0x00004446 copy  0x0000003f , 0x00000039 
+ 00024487  0x00004447 setarg  0x00004703 
+ 00024488  0x00004448 iadd  0x00000002 , 0x00000006 
+ 00024489  0x00004449 call  0x00007e45 
+ 00024490  0x0000444a branch  0x000061cd 
+ 00024491  0x0000444e force  0x00000003 , 0x0000003f 
+ 00024492  0x0000444f call  0x000061b5 
+ 00024493  0x00004450 setarg  0x00000114 
+ 00024494  0x00004451 istore  0x00000002 , 0x00000005 
+ 00024495  0x00004452 branch  0x000061cd 
+ 00024496  0x00004456 force  0x00000003 , 0x0000003f 
+ 00024497  0x00004457 call  0x000061b5 
+ 00024498  0x00004458 fetch  0x00000004 , 0x0000016f 
+ 00024499  0x00004459 isub  0x00000022 , 0x0000003f 
+ 00024500  0x0000445a branch  0x00005fb6 , 0x00000029 
+ 00024501  0x0000445b sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00024502  0x0000445e rshift2  0x0000003f , 0x0000003f 
+ 00024503  0x0000445f set0  0x0000000f , 0x0000003f 
+ 00024504  0x00004460 istore  0x00000002 , 0x00000005 
+ 00024505  0x00004461 branch  0x000061cd 
+ 00024506  0x00004464 force  0x00000006 , 0x0000003f 
+ 00024507  0x00004465 call  0x000061b5 
+ 00024508  0x00004466 fetch  0x00000005 , 0x000046fd 
+ 00024509  0x00004467 istore  0x00000005 , 0x00000005 
+ 00024510  0x00004468 branch  0x000061cd 
+ 00024511  0x0000446b force  0x00000009 , 0x0000003f 
+ 00024512  0x0000446c call  0x000061b5 
+ 00024513  0x0000446d fetch  0x00000008 , 0x00004138 
+ 00024514  0x0000446e istore  0x00000008 , 0x00000005 
+ 00024515  0x0000446f branch  0x000061cd 
+ 00024516  0x00004476 branch  0x00005fc6 , 0x00000029 
+ 00024517  0x00004479 branch  0x00005fc7 
+ 00024518  0x0000447b jam  0x00000007 , 0x000041f9 
+ 00024519  0x0000447d jam  0x00000000 , 0x000000af 
+ 00024520  0x0000447e force  0x00000010 , 0x00000007 
+ 00024521  0x0000447f call  0x000061bd 
+ 00024522  0x00004480 fetch  0x00000001 , 0x000000ad 
+ 00024523  0x00004481 istore  0x00000001 , 0x00000005 
+ 00024524  0x00004482 fetch  0x00000001 , 0x000041f9 
+ 00024525  0x00004483 istore  0x00000001 , 0x00000005 
+ 00024526  0x00004484 setarg  0x00000000 
+ 00024527  0x00004485 istore  0x00000001 , 0x00000005 
+ 00024528  0x00004486 fetch  0x00000001 , 0x000000af 
+ 00024529  0x00004487 istore  0x00000001 , 0x00000005 
+ 00024530  0x00004488 setarg  0x00000006 
+ 00024531  0x00004489 istore  0x00000001 , 0x00000005 
+ 00024532  0x0000448a setarg  0x00000002 
+ 00024533  0x0000448b istore  0x00000001 , 0x00000005 
+ 00024534  0x0000448c setarg  0x00000007 
+ 00024535  0x0000448d istore  0x00000001 , 0x00000005 
+ 00024536  0x0000448e istore  0x00000001 , 0x00000005 
+ 00024537  0x0000448f setarg  0x0000001e 
+ 00024538  0x00004490 istore  0x00000002 , 0x00000005 
+ 00024539  0x00004491 istore  0x00000002 , 0x00000005 
+ 00024540  0x00004492 fetch  0x00000001 , 0x000000ab 
+ 00024541  0x00004493 istore  0x00000001 , 0x00000005 
+ 00024542  0x00004494 fetch  0x00000001 , 0x000000b1 
+ 00024543  0x00004495 istore  0x00000001 , 0x00000005 
+ 00024544  0x00004496 nbranch  0x000061cd , 0x00000034 
+ 00024545  0x00004497 branch  0x000061cd , 0x00000029 
+ 00024546  0x00004498 branch  0x000061cf 
+ 00024547  0x0000449b force  0x00000004 , 0x00000007 
+ 00024548  0x0000449c call  0x000061bd 
+ 00024549  0x0000449d fetch  0x00000001 , 0x000000ad 
+ 00024550  0x0000449e istore  0x00000001 , 0x00000005 
+ 00024551  0x0000449f fetch  0x00000001 , 0x00000446 
+ 00024552  0x000044a0 istore  0x00000001 , 0x00000005 
+ 00024553  0x000044a1 fetch  0x00000001 , 0x000000b4 
+ 00024554  0x000044a2 store  0x00000001 , 0x00000047 
+ 00024555  0x000044a3 branch  0x000061cf 
+ 00024556  0x000044a7 force  0x0000000c , 0x00000007 
+ 00024557  0x000044a8 call  0x000061bd 
+ 00024558  0x000044a9 setarg  0x00000001 
+ 00024559  0x000044aa istore  0x00000001 , 0x00000005 
+ 00024560  0x000044ab fetch  0x00000002 , 0x0000044a 
+ 00024561  0x000044ac istore  0x00000002 , 0x00000005 
+ 00024562  0x000044ad setarg  0x00000000 
+ 00024563  0x000044ae istore  0x00000003 , 0x00000005 
+ 00024564  0x000044af setarg  0x00000000 
+ 00024565  0x000044b0 istore  0x00000004 , 0x00000005 
+ 00024566  0x000044b1 branch  0x000061cf 
+ 00024567  0x000044b4 force  0x00000003 , 0x00000007 
+ 00024568  0x000044b5 call  0x000061bd 
+ 00024569  0x000044b6 fetch  0x00000001 , 0x000041fb 
+ 00024570  0x000044b7 istore  0x00000001 , 0x00000005 
+ 00024571  0x000044b8 disable  0x00000028 
+ 00024572  0x000044b9 call  0x000061cf 
+ 00024573  0x000044ba nrtn  0x00000028 
+ 00024574  0x000044bb nrtn  0x00000029 
+ 00024575  0x000044bc fetch  0x00000001 , 0x00004179 
+ 00024576  0x000044bd rtnbit0  0x00000000 
+ 00024577  0x000044be call  0x0000600f 
+ 00024578  0x000044bf branch  0x00006019 
+ 00024579  0x000044c3 fetch  0x00000001 , 0x0000413e 
+ 00024580  0x000044c4 set1  0x00000003 , 0x0000003f 
+ 00024581  0x000044c5 store  0x00000001 , 0x0000413e 
+ 00024582  0x000044c6 setarg  0x00000101 
+ 00024583  0x000044c7 store  0x00000002 , 0x0000044a 
+ 00024584  0x000044c8 rtn 
+ 00024585  0x000044cb fetch  0x00000001 , 0x0000413e 
+ 00024586  0x000044cc set0  0x00000003 , 0x0000003f 
+ 00024587  0x000044cd store  0x00000001 , 0x0000413e 
+ 00024588  0x000044ce setarg  0x00000000 
+ 00024589  0x000044cf store  0x00000002 , 0x0000044a 
+ 00024590  0x000044d0 rtn 
+ 00024591  0x000044d3 jam  0x00000003 , 0x00004179 
+ 00024592  0x000044d4 setarg  0x00000000 
+ 00024593  0x000044d5 store  0x00000004 , 0x000041e3 
+ 00024594  0x000044d6 arg  0x0000417b , 0x00000005 
+ 00024595  0x000044d7 call  0x00006023 
+ 00024596  0x000044d8 arg  0x00004188 , 0x00000005 
+ 00024597  0x000044d9 call  0x00006023 
+ 00024598  0x000044da arg  0x000041e7 , 0x00000005 
+ 00024599  0x000044db call  0x00006023 
+ 00024600  0x000044dc branch  0x0000602a 
+ 00024601  0x000044de arg  0x00004188 , 0x00000005 
+ 00024602  0x000044df call  0x00006023 
+ 00024603  0x000044e0 call  0x0000602a 
+ 00024604  0x000044e1 branch  0x0000602d 
+ 00024605  0x000044e5 fetch  0x00000005 , 0x000041e7 
+ 00024606  0x000044e6 store  0x00000005 , 0x00004188 
+ 00024607  0x000044e7 ifetch  0x00000005 , 0x00000006 
+ 00024608  0x000044e8 istore  0x00000005 , 0x00000005 
+ 00024609  0x000044e9 call  0x0000602a 
+ 00024610  0x000044ea branch  0x0000602d 
+ 00024611  0x000044ed setarg  0x00ffffff 
+ 00024612  0x000044ee istore  0x00000003 , 0x00000005 
+ 00024613  0x000044ef istore  0x00000003 , 0x00000005 
+ 00024614  0x000044f0 istore  0x00000003 , 0x00000005 
+ 00024615  0x000044f1 setarg  0x0000007f 
+ 00024616  0x000044f2 istore  0x00000001 , 0x00000005 
+ 00024617  0x000044f3 rtn 
+ 00024618  0x000044f5 setarg  0x00000000 
+ 00024619  0x000044f6 store  0x00000002 , 0x00004177 
+ 00024620  0x000044f7 rtn 
+ 00024621  0x000044f9 fetch  0x00000001 , 0x00004179 
+ 00024622  0x000044fa set1  0x00000002 , 0x0000003f 
+ 00024623  0x000044fb store  0x00000001 , 0x00004179 
+ 00024624  0x000044fc rtn 
+ 00024625  0x000044fe nrtn  0x00000029 
+ 00024626  0x000044ff force  0x00000010 , 0x0000003f 
+ 00024627  0x00004500 call  0x000061b5 
+ 00024628  0x00004501 deposit  0x00000022 
+ 00024629  0x00004502 arg  0x000001dc , 0x00000002 
+ 00024630  0x00004503 iadd  0x00000002 , 0x0000003f 
+ 00024631  0x00004504 rshift  0x0000003f , 0x0000003f 
+ 00024632  0x00004505 increase  0x00000001 , 0x0000003f 
+ 00024633  0x00004506 set0  0x00000000 , 0x0000003f 
+ 00024634  0x00004507 istore  0x00000004 , 0x00000005 
+ 00024635  0x00004508 copy  0x0000003f , 0x00000002 
+ 00024636  0x00004509 setarg  0x00000001 
+ 00024637  0x0000450a istore  0x00000001 , 0x00000005 
+ 00024638  0x0000450b fetch  0x00000005 , 0x00004188 
+ 00024639  0x0000450c istore  0x00000005 , 0x00000005 
+ 00024640  0x0000450d ifetch  0x00000005 , 0x00000006 
+ 00024641  0x0000450e istore  0x00000005 , 0x00000005 
+ 00024642  0x0000450f lshift  0x00000002 , 0x00000002 
+ 00024643  0x00004510 storet  0x00000004 , 0x00004173 
+ 00024644  0x00004511 call  0x000061cf 
+ 00024645  0x00004512 fetch  0x00000001 , 0x00000031 
+ 00024646  0x00004513 set1  0x00000003 , 0x0000003f 
+ 00024647  0x00004514 store  0x00000001 , 0x00000031 
+ 00024648  0x00004515 jam  0x00000001 , 0x0000417a 
+ 00024649  0x00004516 fetch  0x00000004 , 0x00004173 
+ 00024650  0x00004517 arg  0x0002ee00 , 0x00000002 
+ 00024651  0x00004518 iadd  0x00000002 , 0x0000003f 
+ 00024652  0x00004519 store  0x00000004 , 0x000041e3 
+ 00024653  0x0000451a fetch  0x00000001 , 0x00004179 
+ 00024654  0x0000451b rtnbit1  0x00000004 
+ 00024655  0x0000451c jam  0x00000090 , 0x0000007c 
+ 00024656  0x0000451d rtn 
+ 00024657  0x00004521 force  0x00000002 , 0x00000007 
+ 00024658  0x00004522 call  0x000061bd 
+ 00024659  0x00004523 nbranch  0x000061cd , 0x00000029 
+ 00024660  0x00004525 branch  0x000061cf 
+ 00024661  0x0000452a force  0x00000002 , 0x0000003f 
+ 00024662  0x0000452b call  0x000061b5 
+ 00024663  0x0000452c fetch  0x00000001 , 0x00000446 
+ 00024664  0x0000452d istore  0x00000001 , 0x00000005 
+ 00024665  0x0000452e call  0x000061cf 
+ 00024666  0x00004530 fetch  0x00000001 , 0x0000004b 
+ 00024667  0x00004531 set1  0x00000003 , 0x0000003f 
+ 00024668  0x00004532 store  0x00000001 , 0x0000004b 
+ 00024669  0x00004533 jam  0x00000032 , 0x00000072 
+ 00024670  0x00004534 rtn 
+ 00024671  0x00004538 force  0x00000001 , 0x0000003f 
+ 00024672  0x00004539 call  0x000061b5 
+ 00024673  0x0000453a branch  0x000061cf 
+ 00024674  0x0000453c force  0x00000001 , 0x0000003f 
+ 00024675  0x0000453d call  0x000061b5 
+ 00024676  0x0000453e branch  0x000061cd 
+ 00024677  0x00004542 force  0x00000002 , 0x0000003f 
+ 00024678  0x00004543 call  0x000061b5 
+ 00024679  0x00004544 fetch  0x00000001 , 0x0000004c 
+ 00024680  0x00004545 isolate0  0x00000002 , 0x0000003f 
+ 00024681  0x00004546 setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00024682  0x00004547 and_into  0x00000001 , 0x0000003f 
+ 00024683  0x00004548 istore  0x00000001 , 0x00000005 
+ 00024684  0x00004549 branch  0x000061cf 
+ 00024685  0x0000454d force  0x00000003 , 0x0000003f 
+ 00024686  0x0000454e call  0x000061b5 
+ 00024687  0x0000454f fetch  0x00000002 , 0x00000051 
+ 00024688  0x00004550 istore  0x00000002 , 0x00000005 
+ 00024689  0x00004551 branch  0x000061cf 
+ 00024690  0x00004554 jam  0x000000fa , 0x00000072 
+ 00024691  0x00004555 force  0x00000002 , 0x0000003f 
+ 00024692  0x00004556 call  0x000061b5 
+ 00024693  0x00004557 fetch  0x00000001 , 0x00000053 
+ 00024694  0x00004558 istore  0x00000001 , 0x00000005 
+ 00024695  0x00004559 branch  0x000061cf 
+ 00024696  0x0000455c force  0x0000000a , 0x0000003f 
+ 00024697  0x0000455d call  0x000061b5 
+ 00024698  0x0000455e arg  0x00000154 , 0x00000006 
+ 00024699  0x0000455f force  0x00000009 , 0x00000039 
+ 00024700  0x00004561 ifetch  0x00000001 , 0x00000006 
+ 00024701  0x00004562 xor_into  0x00000055 , 0x0000003f 
+ 00024702  0x00004563 istore  0x00000001 , 0x00000005 
+ 00024703  0x00004564 loop  0x0000607c 
+ 00024704  0x00004565 branch  0x000061cf 
+ 00024705  0x00004568 branch  0x000061cf 
+ 00024706  0x0000456a branch  0x000061cf 
+ 00024707  0x0000456d rtn  0x00000029 
+ 00024708  0x0000456e call  0x00003997 
+ 00024709  0x0000456f force  0x00000009 , 0x0000003f 
+ 00024710  0x00004570 call  0x000061b5 
+ 00024711  0x00004571 fetch  0x00000002 , 0x0000017b 
+ 00024712  0x00004572 istore  0x00000002 , 0x00000005 
+ 00024713  0x00004573 fetch  0x00000003 , 0x00004140 
+ 00024714  0x00004574 istore  0x00000003 , 0x00000005 
+ 00024715  0x00004575 fetch  0x00000001 , 0x00004143 
+ 00024716  0x00004576 istore  0x00000001 , 0x00000005 
+ 00024717  0x00004577 fetch  0x00000002 , 0x00004144 
+ 00024718  0x00004578 istore  0x00000002 , 0x00000005 
+ 00024719  0x00004579 bmark0  0x00000003 , 0x00006094 
+ 00024720  0x0000457a set0  0x00000003 , 0x00000000 
+ 00024721  0x0000457b call  0x000061cf 
+ 00024722  0x0000457c jam  0x00000013 , 0x0000007c 
+ 00024723  0x0000457d rtn 
+ 00024724  0x0000457f call  0x000061cd 
+ 00024725  0x00004580 jam  0x00000003 , 0x0000007c 
+ 00024726  0x00004581 jam  0x00000013 , 0x0000007d 
+ 00024727  0x00004582 rtn 
+ 00024728  0x00004585 arg  0x00000200 , 0x00000002 
+ 00024729  0x00004586 branch  0x0000609c , 0x00000029 
+ 00024730  0x00004587 deposit  0x00000028 
+ 00024731  0x00004588 branch  0x0000609d 
+ 00024732  0x0000458a deposit  0x00000022 
+ 00024733  0x0000458c deposit  0x00000021 
+ 00024734  0x0000458d iadd  0x00000002 , 0x0000003f 
+ 00024735  0x0000458e and_into  0x000001fc , 0x0000003f 
+ 00024736  0x0000458f store  0x00000004 , 0x00000034 
+ 00024737  0x00004590 force  0x00000005 , 0x0000003f 
+ 00024738  0x00004591 call  0x000061b5 
+ 00024739  0x00004592 fetch  0x00000004 , 0x00000034 
+ 00024740  0x00004593 rshift  0x0000003f , 0x0000003f 
+ 00024741  0x00004594 istore  0x00000004 , 0x00000005 
+ 00024742  0x00004595 branch  0x000061cf 
+ 00024743  0x00004598 force  0x0000000a , 0x0000003f 
+ 00024744  0x00004599 call  0x000061b5 
+ 00024745  0x0000459a arg  0x00000455 , 0x00000006 
+ 00024746  0x0000459b ifetch  0x00000009 , 0x00000006 
+ 00024747  0x0000459c istore  0x00000009 , 0x00000005 
+ 00024748  0x0000459d branch  0x000061cf 
+ 00024749  0x000045a2 force  0x00000003 , 0x0000003f 
+ 00024750  0x000045a3 call  0x000061b5 
+ 00024751  0x000045a4 setarg  0x00000114 
+ 00024752  0x000045a5 istore  0x00000002 , 0x00000005 
+ 00024753  0x000045a6 branch  0x000061cf 
+ 00024754  0x000045aa force  0x00000001 , 0x0000003f 
+ 00024755  0x000045ab call  0x000061b5 
+ 00024756  0x000045b4 branch  0x000061cf 
+ 00024757  0x000045b7 branch  0x000060ba , 0x00000029 
+ 00024758  0x000045b8 jam  0x00000000 , 0x000000ad 
+ 00024759  0x000045b9 fetch  0x00000001 , 0x00000031 
+ 00024760  0x000045ba set1  0x00000004 , 0x0000003f 
+ 00024761  0x000045bb store  0x00000001 , 0x00000031 
+ 00024762  0x000045bd jam  0x00000000 , 0x000000af 
+ 00024763  0x000045be force  0x00000007 , 0x0000003f 
+ 00024764  0x000045bf call  0x000061b5 
+ 00024765  0x000045c0 fetch  0x00000001 , 0x000000ad 
+ 00024766  0x000045c1 istore  0x00000001 , 0x00000005 
+ 00024767  0x000045c2 setarg  0x00000000 
+ 00024768  0x000045c3 istore  0x00000001 , 0x00000005 
+ 00024769  0x000045c4 fetch  0x00000001 , 0x000000af 
+ 00024770  0x000045c5 istore  0x00000001 , 0x00000005 
+ 00024771  0x000045c6 setarg  0x00000006 
+ 00024772  0x000045c7 istore  0x00000001 , 0x00000005 
+ 00024773  0x000045c8 setarg  0x00000002 
+ 00024774  0x000045c9 istore  0x00000001 , 0x00000005 
+ 00024775  0x000045ca fetch  0x00000001 , 0x000000ab 
+ 00024776  0x000045cb istore  0x00000001 , 0x00000005 
+ 00024777  0x000045cc branch  0x000061cd , 0x00000029 
+ 00024778  0x000045cd branch  0x000061ca 
+ 00024779  0x000045d1 force  0x00000003 , 0x0000003f 
+ 00024780  0x000045d2 call  0x000061b5 
+ 00024781  0x000045d3 fetch  0x00000001 , 0x000000ad 
+ 00024782  0x000045d4 istore  0x00000001 , 0x00000005 
+ 00024783  0x000045d5 force  0x00000013 , 0x0000003f 
+ 00024784  0x000045d6 istore  0x00000001 , 0x00000005 
+ 00024785  0x000045d7 branch  0x000061cf 
+ 00024786  0x000045da force  0x00000002 , 0x0000003f 
+ 00024787  0x000045db call  0x000061b5 
+ 00024788  0x000045dc fetch  0x00000001 , 0x00004171 
+ 00024789  0x000045dd istore  0x00000001 , 0x00000005 
+ 00024790  0x000045de branch  0x000061cf 
+ 00024791  0x000045e2 force  0x00000002 , 0x0000003f 
+ 00024792  0x000045e3 call  0x000061b5 
+ 00024793  0x000045e4 setarg  0x00000005 
+ 00024794  0x000045e5 istore  0x00000001 , 0x00000005 
+ 00024795  0x000045e6 branch  0x000061cf 
+ 00024796  0x000045e9 fetch  0x00000001 , 0x00000030 
+ 00024797  0x000045ea set1  0x00000004 , 0x0000003f 
+ 00024798  0x000045eb store  0x00000001 , 0x00000030 
+ 00024799  0x000045ec copy  0x00000022 , 0x0000003f 
+ 00024800  0x000045ed store  0x00000004 , 0x00000465 
+ 00024801  0x000045ee fetch  0x00000001 , 0x0000044d 
+ 00024802  0x000045ef bbit1  0x00000003 , 0x000060eb 
+ 00024803  0x000045f0 set1  0x00000003 , 0x0000003f 
+ 00024804  0x000045f1 store  0x00000001 , 0x0000044d 
+ 00024805  0x000045f2 jam  0x00000005 , 0x00000b7d 
+ 00024806  0x000045f3 call  0x00007c27 
+ 00024807  0x000045f4 call  0x00004825 
+ 00024808  0x000045f5 force  0x00000001 , 0x0000003f 
+ 00024809  0x000045f6 call  0x000061b5 
+ 00024810  0x000045f7 branch  0x000061cf 
+ 00024811  0x000045f9 jam  0x00000000 , 0x00000048 
+ 00024812  0x000045fa rtn 
+ 00024813  0x000045fd force  0x00000006 , 0x0000003f 
+ 00024814  0x000045fe call  0x000061b5 
+ 00024815  0x000045ff fetch  0x00000005 , 0x000046fd 
+ 00024816  0x00004600 istore  0x00000005 , 0x00000005 
+ 00024817  0x00004601 branch  0x000061cf 
+ 00024818  0x00004604 force  0x00000009 , 0x0000003f 
+ 00024819  0x00004605 call  0x000061b5 
+ 00024820  0x00004606 fetch  0x00000008 , 0x00004138 
+ 00024821  0x00004607 istore  0x00000008 , 0x00000005 
+ 00024822  0x00004608 branch  0x000061cf 
+ 00024823  0x0000460b call  0x0000481b 
+ 00024824  0x0000460c fetch  0x00000001 , 0x00004132 
+ 00024825  0x0000460d beq  0x00000001 , 0x000060fd 
+ 00024826  0x0000460e jam  0x00000001 , 0x000007dd 
+ 00024827  0x0000460f fetch  0x00000001 , 0x00004793 
+ 00024828  0x00004610 rtnne  0x00000001 
+ 00024829  0x00004612 jam  0x00000013 , 0x000007db 
+ 00024830  0x00004613 rtn 
+ 00024831  0x00004616 call  0x00006209 
+ 00024832  0x00004617 jam  0x00000099 , 0x0000007c 
+ 00024833  0x00004618 jam  0x00000003 , 0x000007db 
+ 00024834  0x00004619 rtn 
+ 00024835  0x0000461d call  0x00006209 
+ 00024836  0x0000461e jam  0x0000003d , 0x0000007c 
+ 00024837  0x0000461f jam  0x00000007 , 0x000007db 
+ 00024838  0x00004620 rtn 
+ 00024839  0x00004623 arg  0x00000868 , 0x00000011 
+ 00024840  0x00004624 arg  0x00000888 , 0x00000012 
+ 00024841  0x00004625 arg  0x00000010 , 0x00000039 
+ 00024842  0x00004626 call  0x00007f25 
+ 00024843  0x00004627 branch  0x00006111 , 0x00000005 
+ 00024844  0x00004628 jam  0x00000000 , 0x000007db 
+ 00024845  0x00004629 call  0x00007811 
+ 00024846  0x0000462a jam  0x00000024 , 0x0000007e 
+ 00024847  0x0000462b jam  0x00000040 , 0x0000007d 
+ 00024848  0x0000462c branch  0x00005bc9 
+ 00024849  0x0000462e jam  0x0000000a , 0x000007db 
+ 00024850  0x0000462f call  0x0000780f 
+ 00024851  0x00004630 jam  0x00000040 , 0x0000007d 
+ 00024852  0x00004631 branch  0x00005cf5 
+ 00024853  0x00004636 jam  0x00000040 , 0x0000007c 
+ 00024854  0x00004637 rtn 
+ 00024855  0x0000463e jam  0x0000003d , 0x0000007c 
+ 00024856  0x00004640 rtn 
+ 00024857  0x00004647 jam  0x00000000 , 0x000007e2 
+ 00024858  0x00004648 force  0x00000004 , 0x0000003f 
+ 00024859  0x00004649 call  0x000061b5 
+ 00024860  0x0000464a force  0x00000001 , 0x0000003f 
+ 00024861  0x0000464b istore  0x00000001 , 0x00000005 
+ 00024862  0x0000464c force  0x00000001 , 0x0000003f 
+ 00024863  0x0000464d istore  0x00000001 , 0x00000005 
+ 00024864  0x0000464e force  0x00000030 , 0x0000003f 
+ 00024865  0x0000464f istore  0x00000001 , 0x00000005 
+ 00024866  0x00004650 call  0x00006216 
+ 00024867  0x00004651 branch  0x000061cf , 0x00000001 
+ 00024868  0x00004652 branch  0x000061cd 
+ 00024869  0x00004656 force  0x00000011 , 0x0000003f 
+ 00024870  0x00004657 call  0x000061b5 
+ 00024871  0x00004658 fetch  0x00000001 , 0x000007e2 
+ 00024872  0x00004659 arg  0x000047ac , 0x00000006 
+ 00024873  0x0000465a iadd  0x00000006 , 0x00000006 
+ 00024874  0x0000465b ifetch  0x00000008 , 0x00000006 
+ 00024875  0x0000465c istore  0x00000008 , 0x00000005 
+ 00024876  0x0000465d ifetch  0x00000008 , 0x00000006 
+ 00024877  0x0000465e istore  0x00000008 , 0x00000005 
+ 00024878  0x0000465f fetch  0x00000001 , 0x000007e2 
+ 00024879  0x00004660 increase  0x00000010 , 0x0000003f 
+ 00024880  0x00004661 store  0x00000001 , 0x000007e2 
+ 00024881  0x00004662 call  0x00006216 
+ 00024882  0x00004663 branch  0x000061cf , 0x00000001 
+ 00024883  0x00004664 branch  0x000061cd 
+ 00024884  0x00004668 jam  0x00000006 , 0x000007da 
+ 00024885  0x00004669 jam  0x0000003f , 0x0000007c 
+ 00024886  0x0000466a rtn 
+ 00024887  0x0000466e force  0x00000011 , 0x0000003f 
+ 00024888  0x0000466f call  0x000061b5 
+ 00024889  0x00004670 arg  0x00000868 , 0x00000006 
+ 00024890  0x00004671 ifetch  0x00000008 , 0x00000006 
+ 00024891  0x00004672 istore  0x00000008 , 0x00000005 
+ 00024892  0x00004673 ifetch  0x00000008 , 0x00000006 
+ 00024893  0x00004674 istore  0x00000008 , 0x00000005 
+ 00024894  0x00004675 branch  0x000061cd 
+ 00024895  0x00004678 call  0x000061d9 
+ 00024896  0x0000467a jam  0x00000040 , 0x0000007c 
+ 00024897  0x0000467b rtn 
+ 00024898  0x0000467f call  0x00006216 
+ 00024899  0x00004680 call  0x0000774d , 0x00000001 
+ 00024900  0x00004681 force  0x00000011 , 0x0000003f 
+ 00024901  0x00004682 call  0x000061b5 
+ 00024902  0x00004683 arg  0x00000838 , 0x00000006 
+ 00024903  0x00004684 ifetch  0x00000008 , 0x00000006 
+ 00024904  0x00004685 istore  0x00000008 , 0x00000005 
+ 00024905  0x00004686 ifetch  0x00000008 , 0x00000006 
+ 00024906  0x00004687 istore  0x00000008 , 0x00000005 
+ 00024907  0x00004688 call  0x00006216 
+ 00024908  0x00004689 nbranch  0x000061cd , 0x00000001 
+ 00024909  0x0000468a branch  0x000061cf , 0x00000001 
+ 00024910  0x0000468e jam  0x0000000f , 0x000007db 
+ 00024911  0x00004690 call  0x00006209 
+ 00024912  0x00004691 jam  0x0000000b , 0x0000007c 
+ 00024913  0x00004692 call  0x00006221 
+ 00024914  0x00004693 branch  0x00007785 , 0x00000001 
+ 00024915  0x00004694 branch  0x0000778f 
+ 00024916  0x00004696 call  0x00006205 
+ 00024917  0x00004698 jam  0x00000041 , 0x0000007c 
+ 00024918  0x00004699 rtn 
+ 00024919  0x0000469c force  0x00000011 , 0x0000003f 
+ 00024920  0x0000469d call  0x000061b5 
+ 00024921  0x0000469e arg  0x00000868 , 0x00000006 
+ 00024922  0x0000469f ifetch  0x00000008 , 0x00000006 
+ 00024923  0x000046a0 istore  0x00000008 , 0x00000005 
+ 00024924  0x000046a1 ifetch  0x00000008 , 0x00000006 
+ 00024925  0x000046a2 istore  0x00000008 , 0x00000005 
+ 00024926  0x000046a3 call  0x00006216 
+ 00024927  0x000046a4 nbranch  0x000061cd , 0x00000001 
+ 00024928  0x000046a5 branch  0x000061cf , 0x00000001 
+ 00024929  0x000046a8 force  0x00000003 , 0x0000003f 
+ 00024930  0x000046a9 call  0x000061b5 
+ 00024931  0x000046aa setarg  0x0000fffe 
+ 00024932  0x000046ab istore  0x00000002 , 0x00000005 
+ 00024933  0x000046ac branch  0x000061cd 
+ 00024934  0x000046af branch  0x000061cf 
+ 00024935  0x000046b1 branch  0x000061cf 
+ 00024936  0x000046b3 branch  0x000061cf 
+ 00024937  0x000046b5 branch  0x000061cf 
+ 00024938  0x000046bb call  0x00006225 
+ 00024939  0x000046bc arg  0x00004140 , 0x00000011 
+ 00024940  0x000046bd call  0x0000622b 
+ 00024941  0x000046be force  0x00000011 , 0x0000003f 
+ 00024942  0x000046bf call  0x000061b5 
+ 00024943  0x000046c0 arg  0x0000050f , 0x00000011 
+ 00024944  0x000046c1 arg  0x000004ef , 0x00000012 
+ 00024945  0x000046c2 call  0x00007467 
+ 00024946  0x000046c3 nbranch  0x000061c4 , 0x00000029 
+ 00024947  0x000046c4 branch  0x000061ca 
+ 00024948  0x000046c7 call  0x00006225 
+ 00024949  0x000046c8 arg  0x00000040 , 0x00000011 
+ 00024950  0x000046c9 call  0x0000736a 
+ 00024951  0x000046cb force  0x00000011 , 0x0000003f 
+ 00024952  0x000046cc call  0x000061b5 
+ 00024953  0x000046cd arg  0x000004ef , 0x00000006 
+ 00024954  0x000046ce call  0x00007e35 
+ 00024955  0x000046cf fetch  0x00000001 , 0x00000055 
+ 00024956  0x000046d0 beq  0x00000019 , 0x000061cf 
+ 00024957  0x000046d1 beq  0x00000018 , 0x000061cf 
+ 00024958  0x000046d2 branch  0x000061ca 
+ 00024959  0x000046d5 fetch  0x00000001 , 0x000007e1 
+ 00024960  0x000046d6 branch  0x00006185 , 0x00000034 
+ 00024961  0x000046d7 call  0x00006216 
+ 00024962  0x000046d8 call  0x00006209 , 0x00000001 
+ 00024963  0x000046d9 ncall  0x00006205 , 0x00000001 
+ 00024964  0x000046da branch  0x00006186 
+ 00024965  0x000046dc call  0x00006209 
+ 00024966  0x000046de call  0x00006225 
+ 00024967  0x000046df branch  0x00006177 
+ 00024968  0x000046e2 arg  0x00004140 , 0x00000011 
+ 00024969  0x000046e3 call  0x0000739d 
+ 00024970  0x000046e4 force  0x00000005 , 0x0000003f 
+ 00024971  0x000046e5 call  0x000061b5 
+ 00024972  0x000046e6 fetch  0x00000004 , 0x0000051f 
+ 00024973  0x000046e7 istore  0x00000004 , 0x00000005 
+ 00024974  0x000046e8 arg  0x00000451 , 0x00000002 
+ 00024975  0x000046e9 call  0x000061fb 
+ 00024976  0x000046ea call  0x0000749b 
+ 00024977  0x000046eb call  0x00006216 
+ 00024978  0x000046ec branch  0x00006197 , 0x00000001 
+ 00024979  0x000046ed jam  0x00000001 , 0x00000454 
+ 00024980  0x000046ee fetch  0x00000001 , 0x000007e1 
+ 00024981  0x000046ef rtn  0x00000034 
+ 00024982  0x000046f0 jam  0x0000000b , 0x0000007c 
+ 00024983  0x000046f2 fetch  0x00000001 , 0x0000425e 
+ 00024984  0x000046f3 rtn  0x00000034 
+ 00024985  0x000046f4 call  0x00006216 
+ 00024986  0x000046f5 call  0x00004852 , 0x00000001 
+ 00024987  0x000046f7 call  0x00006216 
+ 00024988  0x000046f8 nbranch  0x000061a1 , 0x00000001 
+ 00024989  0x000046f9 fetch  0x00000001 , 0x00000453 
+ 00024990  0x000046fa rtn  0x00000034 
+ 00024991  0x000046fb jam  0x0000000f , 0x0000007c 
+ 00024992  0x000046fc rtn 
+ 00024993  0x000046fe rtnmark0  0x00000021 
+ 00024994  0x000046ff set0  0x00000021 , 0x00000000 
+ 00024995  0x00004700 jam  0x0000000f , 0x0000007c 
+ 00024996  0x00004701 rtn 
+ 00024997  0x00004706 call  0x00006225 
+ 00024998  0x00004707 call  0x000073a0 
+ 00024999  0x00004708 force  0x00000011 , 0x0000003f 
+ 00025000  0x00004709 call  0x000061b5 
+ 00025001  0x0000470a arg  0x000004ef , 0x00000006 
+ 00025002  0x0000470b call  0x00007e35 
+ 00025003  0x0000470c branch  0x000061ca 
+ 00025004  0x0000470f force  0x00000001 , 0x0000003f 
+ 00025005  0x00004710 call  0x000061b5 
+ 00025006  0x00004711 branch  0x000061ca 
+ 00025007  0x00004714 force  0x00000002 , 0x0000003f 
+ 00025008  0x00004715 call  0x000061b5 
+ 00025009  0x00004716 force  0x00000010 , 0x0000003f 
+ 00025010  0x00004717 istore  0x00000001 , 0x00000005 
+ 00025011  0x00004718 store  0x00000001 , 0x00000054 
+ 00025012  0x00004719 branch  0x000061ca 
+ 00025013  0x0000471d lshift3  0x0000003f , 0x0000003f 
+ 00025014  0x0000471e or_into  0x00000007 , 0x0000003f 
+ 00025015  0x0000471f store  0x00000001 , 0x00000432 
+ 00025016  0x00004720 arg  0x00000011 , 0x00000039 
+ 00025017  0x00004721 arg  0x00000434 , 0x00000005 
+ 00025018  0x00004722 call  0x00007e3f 
+ 00025019  0x00004723 arg  0x00000434 , 0x00000005 
+ 00025020  0x00004724 rtn 
+ 00025021  0x00004727 and  0x0000003f , 0x0000007f , 0x00000011 
+ 00025022  0x00004728 jam  0x0000007f , 0x00000048 
+ 00025023  0x00004729 deposit  0x00000007 
+ 00025024  0x0000472a call  0x000061b5 
+ 00025025  0x0000472b deposit  0x00000011 
+ 00025026  0x0000472c istore  0x00000001 , 0x00000005 
+ 00025027  0x0000472d rtn 
+ 00025028  0x00004730 fetch  0x00000001 , 0x00000048 
+ 00025029  0x00004731 lshift  0x0000003f , 0x0000003f 
+ 00025030  0x00004732 fetcht  0x00000001 , 0x0000004c 
+ 00025031  0x00004733 isolate1  0x00000001 , 0x00000002 
+ 00025032  0x00004734 setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00025033  0x00004735 branch  0x000061d4 
+ 00025034  0x00004739 fetcht  0x00000001 , 0x0000004c 
+ 00025035  0x0000473a and_into  0x00000001 , 0x00000002 
+ 00025036  0x0000473b branch  0x000061d0 
+ 00025037  0x0000473e force  0x00000000 , 0x00000002 
+ 00025038  0x0000473f branch  0x000061d0 
+ 00025039  0x00004742 force  0x00000001 , 0x00000002 
+ 00025040  0x00004744 fetch  0x00000001 , 0x00000048 
+ 00025041  0x00004745 lshift  0x0000003f , 0x0000003f 
+ 00025042  0x00004746 setflag  0x00000029 , 0x00000000 , 0x0000003f 
+ 00025043  0x00004747 ixor  0x00000002 , 0x0000003f 
+ 00025044  0x00004749 store  0x00000001 , 0x00000433 
+ 00025045  0x0000474a jam  0x00000000 , 0x00000048 
+ 00025046  0x0000474b call  0x000061e0 
+ 00025047  0x0000474c enable  0x00000028 
+ 00025048  0x0000474d rtn 
+ 00025049  0x00004750 set1  0x00000025 , 0x00000000 
+ 00025050  0x00004751 bpatch  0x000000e4 , 0x0000403c 
+ 00025051  0x00004752 fetch  0x00000001 , 0x00000048 
+ 00025052  0x00004753 branch  0x000061e0 , 0x00000034 
+ 00025053  0x00004754 fetch  0x00000001 , 0x00000078 
+ 00025054  0x00004755 nrtn  0x00000034 
+ 00025055  0x00004756 branch  0x000061ea 
+ 00025056  0x00004758 fetch  0x00000001 , 0x00000078 
+ 00025057  0x00004759 branch  0x000061f0 , 0x00000034 
+ 00025058  0x0000475a fetch  0x00000003 , 0x00000078 
+ 00025059  0x0000475b store  0x00000003 , 0x00000048 
+ 00025060  0x0000475c fetcht  0x00000001 , 0x0000007b 
+ 00025061  0x0000475d fetch  0x00000001 , 0x0000004c 
+ 00025062  0x0000475e set0  0x00000001 , 0x0000003f 
+ 00025063  0x0000475f ior  0x00000002 , 0x0000003f 
+ 00025064  0x00004760 store  0x00000001 , 0x0000004c 
+ 00025065  0x00004761 jam  0x00000000 , 0x00000078 
+ 00025066  0x00004763 fetch  0x00000001 , 0x0000007c 
+ 00025067  0x00004764 rtn  0x00000034 
+ 00025068  0x00004765 fetch  0x00000004 , 0x0000007c 
+ 00025069  0x00004766 store  0x00000004 , 0x00000078 
+ 00025070  0x00004767 jam  0x00000000 , 0x0000007c 
+ 00025071  0x00004768 rtn 
+ 00025072  0x0000476a fetch  0x00000001 , 0x0000007c 
+ 00025073  0x0000476b rtn  0x00000034 
+ 00025074  0x0000476c fetch  0x00000003 , 0x0000007c 
+ 00025075  0x0000476d store  0x00000003 , 0x00000048 
+ 00025076  0x0000476e fetcht  0x00000001 , 0x0000007f 
+ 00025077  0x0000476f fetch  0x00000001 , 0x0000004c 
+ 00025078  0x00004770 set0  0x00000001 , 0x0000003f 
+ 00025079  0x00004771 ior  0x00000002 , 0x0000003f 
+ 00025080  0x00004772 store  0x00000001 , 0x0000004c 
+ 00025081  0x00004773 jam  0x00000000 , 0x0000007c 
+ 00025082  0x00004774 rtn 
+ 00025083  0x00004778 set1  0x00000025 , 0x00000000 
+ 00025084  0x00004779 bpatch  0x000000e5 , 0x0000403c 
+ 00025085  0x0000477a fetch  0x00000001 , 0x0000004c 
+ 00025086  0x0000477b copy  0x0000003f , 0x00000013 
+ 00025087  0x0000477c ifetch  0x00000001 , 0x00000002 
+ 00025088  0x0000477d call  0x00005d12 
+ 00025089  0x0000477e call  0x000061c4 
+ 00025090  0x0000477f copy  0x00000013 , 0x0000003f 
+ 00025091  0x00004780 store  0x00000001 , 0x0000004c 
+ 00025092  0x00004781 rtn 
+ 00025093  0x00004784 fetcht  0x00000001 , 0x0000004c 
+ 00025094  0x00004785 set0  0x00000000 , 0x00000002 
+ 00025095  0x00004786 storet  0x00000001 , 0x0000004c 
+ 00025096  0x00004787 rtn 
+ 00025097  0x0000478a fetcht  0x00000001 , 0x0000004c 
+ 00025098  0x0000478b set1  0x00000000 , 0x00000002 
+ 00025099  0x0000478c storet  0x00000001 , 0x0000004c 
+ 00025100  0x0000478d rtn 
+ 00025101  0x00004791 nsetflag  0x00000029 , 0x00000001 , 0x0000003f 
+ 00025102  0x00004792 fetcht  0x00000001 , 0x0000004c 
+ 00025103  0x00004793 ixor  0x00000002 , 0x0000003f 
+ 00025104  0x00004794 isolate1  0x00000001 , 0x0000003f 
+ 00025105  0x00004795 rtn 
+ 00025106  0x00004799 fetch  0x00000001 , 0x0000004c 
+ 00025107  0x0000479a setflag  0x00000029 , 0x00000001 , 0x0000003f 
+ 00025108  0x0000479b store  0x00000001 , 0x0000004c 
+ 00025109  0x0000479c rtn 
+ 00025110  0x000047a0 fetch  0x00000001 , 0x000007e0 
+ 00025111  0x000047a1 compare  0x00000001 , 0x0000003f , 0x0000007f 
+ 00025112  0x000047a2 rtn 
+ 00025113  0x000047a4 fetch  0x00000001 , 0x000007e0 
+ 00025114  0x000047a5 set1  0x00000007 , 0x0000003f 
+ 00025115  0x000047a6 store  0x00000001 , 0x000007e0 
+ 00025116  0x000047a7 rtn 
+ 00025117  0x000047a9 fetch  0x00000001 , 0x000007e0 
+ 00025118  0x000047aa set0  0x00000007 , 0x0000003f 
+ 00025119  0x000047ab store  0x00000001 , 0x000007e0 
+ 00025120  0x000047ac rtn 
+ 00025121  0x000047ae fetch  0x00000001 , 0x000007e0 
+ 00025122  0x000047af isolate1  0x00000007 , 0x0000003f 
+ 00025123  0x000047b0 store  0x00000001 , 0x000007e0 
+ 00025124  0x000047b1 rtn 
+ 00025125  0x000047b5 arg  0x000004ef , 0x00000005 
+ 00025126  0x000047b7 force  0x00000010 , 0x00000039 
+ 00025127  0x000047ba random  0x0000003f 
+ 00025128  0x000047bb istore  0x00000001 , 0x00000005 
+ 00025129  0x000047bc loop  0x00006227 
+ 00025130  0x000047bd rtn 
+ 00025131  0x000047c0 call  0x0000736e 
+ 00025132  0x000047c1 arg  0x00004262 , 0x00000011 
+ 00025133  0x000047c2 arg  0x0000051f , 0x00000012 
+ 00025134  0x000047c3 ifetch  0x00000008 , 0x00000011 
+ 00025135  0x000047c4 fetcht  0x00000001 , 0x00000030 
+ 00025136  0x000047c5 nsetflag  0x00000034 , 0x00000006 , 0x00000002 
+ 00025137  0x000047c6 storet  0x00000001 , 0x00000030 
+ 00025138  0x000047c7 copy  0x00000011 , 0x00000005 
+ 00025139  0x000047c8 call  0x00007467 
+ 00025140  0x000047c9 branch  0x00003229 
+ 00025141  0x000047d1 set1  0x00000025 , 0x00000000 
+ 00025142  0x000047d2 bpatch  0x000000e6 , 0x0000403c 
+ 00025143  0x000047d3 fetch  0x00000001 , 0x0000007c 
+ 00025144  0x000047d4 branch  0x0000623c , 0x00000034 
+ 00025145  0x000047d5 call  0x000061d9 
+ 00025146  0x000047d6 fetch  0x00000001 , 0x0000007c 
+ 00025147  0x000047d7 nrtn  0x00000034 
+ 00025148  0x000047d9 fetch  0x00000001 , 0x00000055 
+ 00025149  0x000047da rtn  0x00000034 
+ 00025150  0x000047de beq  0x00000004 , 0x0000628d 
+ 00025151  0x000047df beq  0x00000005 , 0x00006292 
+ 00025152  0x000047e0 beq  0x00000002 , 0x00006284 
+ 00025153  0x000047e1 beq  0x00000003 , 0x0000629a 
+ 00025154  0x000047e2 beq  0x0000000e , 0x00006287 
+ 00025155  0x000047e3 beq  0x00000006 , 0x000062b6 
+ 00025156  0x000047e4 beq  0x00000007 , 0x000062ce 
+ 00025157  0x000047e5 beq  0x00000009 , 0x000062cf 
+ 00025158  0x000047e6 beq  0x0000000a , 0x000062d8 
+ 00025159  0x000047e7 beq  0x0000000b , 0x000062dc 
+ 00025160  0x000047e8 beq  0x0000000c , 0x000062a4 
+ 00025161  0x000047e9 beq  0x0000000d , 0x000062a7 
+ 00025162  0x000047ea beq  0x0000000f , 0x000062ad 
+ 00025163  0x000047eb beq  0x00000012 , 0x00006277 
+ 00025164  0x000047ec beq  0x00000013 , 0x0000629a 
+ 00025165  0x000047ed beq  0x00000010 , 0x0000627a 
+ 00025166  0x000047ee beq  0x00000014 , 0x00006274 
+ 00025167  0x000047ef beq  0x00000015 , 0x0000629a 
+ 00025168  0x000047f0 beq  0x00000016 , 0x0000626e 
+ 00025169  0x000047f1 beq  0x00000018 , 0x00006273 
+ 00025170  0x000047f2 beq  0x00000017 , 0x00006267 
+ 00025171  0x000047f3 beq  0x00000019 , 0x0000626d 
+ 00025172  0x000047f4 beq  0x0000001a , 0x00006258 
+ 00025173  0x000047f5 beq  0x0000001b , 0x00006262 
+ 00025174  0x000047f6 jam  0x00000000 , 0x00000055 
+ 00025175  0x000047f8 rtn 
+ 00025176  0x000047fa fetch  0x00000001 , 0x0000044d 
+ 00025177  0x000047fb rtnbit0  0x00000002 
+ 00025178  0x000047fc rtnbit0  0x00000003 
+ 00025179  0x000047fd jam  0x00000000 , 0x00000055 
+ 00025180  0x000047fe call  0x0000625e 
+ 00025181  0x000047ff branch  0x00006e41 
+ 00025182  0x00004802 fetch  0x00000001 , 0x00000177 
+ 00025183  0x00004803 rtnbit0  0x00000001 
+ 00025184  0x00004804 jam  0x0000000a , 0x00000055 
+ 00025185  0x00004805 rtn 
+ 00025186  0x00004808 arg  0x0000000b , 0x00000007 
+ 00025187  0x00004809 call  0x00007e53 
+ 00025188  0x0000480a nrtn  0x00000034 
+ 00025189  0x0000480b jam  0x0000001a , 0x00000055 
+ 00025190  0x0000480c rtn 
+ 00025191  0x0000480f fetch  0x00000001 , 0x00000177 
+ 00025192  0x00004810 set0  0x00000000 , 0x0000003f 
+ 00025193  0x00004811 store  0x00000001 , 0x00000177 
+ 00025194  0x00004812 jam  0x00000019 , 0x00000055 
+ 00025195  0x00004813 jam  0x0000000b , 0x0000007c 
+ 00025196  0x00004814 rtn 
+ 00025197  0x00004816 rtn 
+ 00025198  0x00004818 fetch  0x00000001 , 0x00000450 
+ 00025199  0x00004819 rtnne  0x00000002 
+ 00025200  0x0000481a call  0x000062de 
+ 00025201  0x0000481b jam  0x00000018 , 0x00000055 
+ 00025202  0x0000481c rtn 
+ 00025203  0x0000481f rtn 
+ 00025204  0x00004821 jam  0x00000015 , 0x00000055 
+ 00025205  0x00004822 jam  0x00000083 , 0x0000007c 
+ 00025206  0x00004823 rtn 
+ 00025207  0x00004825 jam  0x00000013 , 0x00000055 
+ 00025208  0x00004826 jam  0x00000025 , 0x0000007c 
+ 00025209  0x00004827 rtn 
+ 00025210  0x0000482a fetch  0x00000001 , 0x00004748 
+ 00025211  0x0000482b rtneq  0x00000000 
+ 00025212  0x0000482c beq  0x00000001 , 0x00006282 
+ 00025213  0x0000482d arg  0x0000000a , 0x00000007 
+ 00025214  0x0000482e call  0x00007e53 
+ 00025215  0x0000482f nrtn  0x00000034 
+ 00025216  0x00004830 jam  0x00000000 , 0x00004748 
+ 00025217  0x00004831 branch  0x0000629b 
+ 00025218  0x00004833 rtn  0x00000029 
+ 00025219  0x00004834 branch  0x000062b6 
+ 00025220  0x00004837 jam  0x00000003 , 0x00000055 
+ 00025221  0x00004838 jam  0x00000027 , 0x0000007c 
+ 00025222  0x00004839 rtn 
+ 00025223  0x0000483b jam  0x00000013 , 0x0000007c 
+ 00025224  0x0000483c set1  0x00000003 , 0x00000000 
+ 00025225  0x0000483d jam  0x00000005 , 0x00000055 
+ 00025226  0x0000483e setarg  0x000001ff 
+ 00025227  0x0000483f store  0x00000002 , 0x0000044e 
+ 00025228  0x00004840 rtn 
+ 00025229  0x00004842 jam  0x00000005 , 0x00000055 
+ 00025230  0x00004843 jam  0x000000ff , 0x0000044e 
+ 00025231  0x00004844 set0  0x00000022 , 0x00000000 
+ 00025232  0x00004845 jam  0x00000033 , 0x0000007c 
+ 00025233  0x00004846 branch  0x00005b6f 
+ 00025234  0x00004848 rtnmark1  0x00000022 
+ 00025235  0x00004849 fetch  0x00000002 , 0x0000044e 
+ 00025236  0x0000484a sub  0x0000003f , 0x00000001 , 0x0000003f 
+ 00025237  0x0000484b branch  0x00006298 , 0x00000005 
+ 00025238  0x0000484c store  0x00000002 , 0x0000044e 
+ 00025239  0x0000484d rtn 
+ 00025240  0x0000484f jam  0x0000000e , 0x00000055 
+ 00025241  0x00004850 rtn 
+ 00025242  0x00004853 rtn 
+ 00025243  0x00004856 fetch  0x00000001 , 0x0000044d 
+ 00025244  0x00004857 rtnbit0  0x00000003 
+ 00025245  0x00004858 rtnbit0  0x00000002 
+ 00025246  0x00004859 fetch  0x00000001 , 0x00000177 
+ 00025247  0x0000485a set0  0x00000002 , 0x0000003f 
+ 00025248  0x0000485b store  0x00000001 , 0x00000177 
+ 00025249  0x0000485c jam  0x00000013 , 0x0000007c 
+ 00025250  0x0000485d jam  0x00000010 , 0x00000055 
+ 00025251  0x0000485e rtn 
+ 00025252  0x00004861 jam  0x0000000d , 0x00000055 
+ 00025253  0x00004862 jam  0x00000031 , 0x0000007c 
+ 00025254  0x00004863 rtn 
+ 00025255  0x00004866 fetch  0x00000001 , 0x0000044d 
+ 00025256  0x00004867 rtnbit0  0x00000002 
+ 00025257  0x00004868 jam  0x00000000 , 0x00000055 
+ 00025258  0x0000486a rtn 
+ 00025259  0x0000486c jam  0x00000006 , 0x00000055 
+ 00025260  0x0000486d rtn 
+ 00025261  0x00004870 fetch  0x00000001 , 0x0000044e 
+ 00025262  0x00004871 increase  0xffffffff , 0x0000003f 
+ 00025263  0x00004872 branch  0x000062b2 , 0x00000034 
+ 00025264  0x00004873 store  0x00000001 , 0x0000044e 
+ 00025265  0x00004874 rtn 
+ 00025266  0x00004876 jam  0x00000007 , 0x0000007c 
+ 00025267  0x00004877 jam  0x00000016 , 0x00000446 
+ 00025268  0x00004878 jam  0x00000000 , 0x00000055 
+ 00025269  0x00004879 rtn 
+ 00025270  0x0000487c fetch  0x00000001 , 0x00000177 
+ 00025271  0x0000487d bbit1  0x00000002 , 0x0000629b 
+ 00025272  0x0000487e bbit1  0x00000000 , 0x000062bb 
+ 00025273  0x00004880 jam  0x0000001a , 0x00000055 
+ 00025274  0x00004881 rtn 
+ 00025275  0x00004883 fetch  0x00000001 , 0x0000425e 
+ 00025276  0x00004884 branch  0x000062c7 , 0x00000034 
+ 00025277  0x00004885 fetch  0x00000001 , 0x0000044d 
+ 00025278  0x00004886 rtnbit0  0x00000003 
+ 00025279  0x00004887 rtnbit0  0x00000002 
+ 00025280  0x00004888 fetch  0x00000004 , 0x00000465 
+ 00025281  0x00004889 arg  0x00000064 , 0x00000002 
+ 00025282  0x0000488a iadd  0x00000002 , 0x00000002 
+ 00025283  0x0000488b copy  0x00000022 , 0x0000003f 
+ 00025284  0x0000488c isub  0x00000002 , 0x0000003e 
+ 00025285  0x0000488d nrtn  0x00000002 
+ 00025286  0x0000488e branch  0x00006267 
+ 00025287  0x00004893 jam  0x00000016 , 0x00000055 
+ 00025288  0x00004894 jam  0x00000004 , 0x0000054f 
+ 00025289  0x00004895 setarg  0x00003030 
+ 00025290  0x00004896 store  0x00000002 , 0x00000550 
+ 00025291  0x00004897 istore  0x00000002 , 0x00000005 
+ 00025292  0x00004898 jam  0x00000002 , 0x00000450 
+ 00025293  0x00004899 branch  0x0000626e 
+ 00025294  0x0000489c rtn 
+ 00025295  0x0000489e fetch  0x00000001 , 0x00000177 
+ 00025296  0x0000489f bbit1  0x00000001 , 0x000062d3 
+ 00025297  0x000048a0 jam  0x0000001a , 0x00000055 
+ 00025298  0x000048a1 rtn 
+ 00025299  0x000048a4 fetch  0x00000001 , 0x00000177 
+ 00025300  0x000048a5 set0  0x00000001 , 0x0000003f 
+ 00025301  0x000048a6 store  0x00000001 , 0x00000177 
+ 00025302  0x000048a7 jam  0x0000000f , 0x0000007c 
+ 00025303  0x000048a8 rtn 
+ 00025304  0x000048ab fetch  0x00000001 , 0x00000454 
+ 00025305  0x000048ac rtn  0x00000034 
+ 00025306  0x000048ad jam  0x00000000 , 0x00000055 
+ 00025307  0x000048ae branch  0x000062d3 
+ 00025308  0x000048b1 jam  0x0000000c , 0x00000055 
+ 00025309  0x000048b2 rtn 
+ 00025310  0x000048b5 fetch  0x00000001 , 0x0000004b 
+ 00025311  0x000048b6 bbit1  0x00000002 , 0x000062e3 
+ 00025312  0x000048b7 call  0x00006209 
+ 00025313  0x000048b8 jam  0x00000008 , 0x0000007c 
+ 00025314  0x000048b9 branch  0x000049bc 
+ 00025315  0x000048bb fetch  0x00000001 , 0x0000004b 
+ 00025316  0x000048bc set0  0x00000002 , 0x0000003f 
+ 00025317  0x000048bd store  0x00000001 , 0x0000004b 
+ 00025318  0x000048be call  0x00005ed0 
+ 00025319  0x000048bf call  0x00006212 
+ 00025320  0x000048c0 branch  0x000049bc 
+ 00025321  0x000048c3 setarg  0x00000004 
+ 00025322  0x000048c4 store  0x00000001 , 0x0000054f 
+ 00025323  0x000048c5 setarg  0x00003030 
+ 00025324  0x000048c6 istore  0x00000002 , 0x00000005 
+ 00025325  0x000048c7 istore  0x00000002 , 0x00000005 
+ 00025326  0x000048c8 rtn 
+ 00025327  0x000048d1 rtn  0x0000002b 
+ 00025328  0x000048d2 jam  0x00000000 , 0x00004813 
+ 00025329  0x000048d3 call  0x00006321 
+ 00025330  0x000048d4 call  0x00006438 
+ 00025331  0x000048d5 setarg  0x0000632e 
+ 00025332  0x000048d6 store  0x00000002 , 0x00004290 
+ 00025333  0x000048d7 setarg  0x0000632f 
+ 00025334  0x000048d8 store  0x00000002 , 0x0000428e 
+ 00025335  0x000048d9 setarg  0x00006337 
+ 00025336  0x000048da store  0x00000002 , 0x00004292 
+ 00025337  0x000048db setarg  0x000063b6 
+ 00025338  0x000048dc store  0x00000002 , 0x00004296 
+ 00025339  0x000048dd setarg  0x0000632f 
+ 00025340  0x000048de store  0x00000002 , 0x0000428c 
+ 00025341  0x000048df set1  0x00000025 , 0x00000000 
+ 00025342  0x000048e0 bpatch  0x00000080 , 0x00004030 
+ 00025343  0x000048e1 setarg  0x0000632a 
+ 00025344  0x000048e2 store  0x00000002 , 0x00004286 
+ 00025345  0x000048e3 setarg  0x000063be 
+ 00025346  0x000048e4 store  0x00000002 , 0x00004298 
+ 00025347  0x000048e5 setarg  0x00000000 
+ 00025348  0x000048e6 store  0x00000004 , 0x0000480a 
+ 00025349  0x000048e7 store  0x00000002 , 0x00004810 
+ 00025350  0x000048e8 call  0x0000630a 
+ 00025351  0x000048e9 call  0x00003fc5 
+ 00025352  0x000048ea call  0x00003e2b 
+ 00025353  0x000048eb branch  0x0000691d 
+ 00025354  0x000048ee rtn  0x0000002b 
+ 00025355  0x000048ef setarg  0x000001a0 
+ 00025356  0x000048f0 store  0x00000002 , 0x000042ac 
+ 00025357  0x000048f2 call  0x00006a0d 
+ 00025358  0x000048f3 setarg  0x00004a00 
+ 00025359  0x000048f4 hstore  0x00000002 , 0x00008054 
+ 00025360  0x000048f5 setarg  0x00004fff 
+ 00025361  0x000048f6 hstore  0x00000002 , 0x00008056 
+ 00025362  0x000048f7 setarg  0x00001c00 
+ 00025363  0x000048f8 hstore  0x00000002 , 0x0000805a 
+ 00025364  0x000048f9 setarg  0x00001fff 
+ 00025365  0x000048fa hstore  0x00000002 , 0x0000805c 
+ 00025366  0x000048fb hjam  0x00000004 , 0x00008081 
+ 00025367  0x000048fc jam  0x000000ff , 0x0000029f 
+ 00025368  0x000048fd hjam  0x00000000 , 0x00008062 
+ 00025369  0x000048fe setarg  0x00001c00 
+ 00025370  0x000048ff hstore  0x00000002 , 0x0000805e 
+ 00025371  0x00004900 hstore  0x00000002 , 0x00008060 
+ 00025372  0x00004901 setarg  0x00004a00 
+ 00025373  0x00004902 hstore  0x00000002 , 0x00008058 
+ 00025374  0x00004903 branch  0x00004480 
+ 00025375  0x00004907 call  0x0000630d 
+ 00025376  0x00004908 branch  0x00006321 
+ 00025377  0x0000490c call  0x00007bd9 
+ 00025378  0x0000490d call  0x00003f94 
+ 00025379  0x0000490f fetcht  0x00000001 , 0x00004803 
+ 00025380  0x00004910 call  0x000069da 
+ 00025381  0x00004911 call  0x0000639e 
+ 00025382  0x00004913 fetcht  0x00000001 , 0x00004801 
+ 00025383  0x00004914 call  0x000069d1 
+ 00025384  0x00004915 fetcht  0x00000001 , 0x00004800 
+ 00025385  0x00004916 branch  0x000069d2 
+ 00025386  0x00004919 fetcht  0x00000001 , 0x00004801 
+ 00025387  0x0000491a call  0x000069e5 
+ 00025388  0x0000491b nbranch  0x00003f5c , 0x00000001 
+ 00025389  0x0000491c branch  0x00003f5a 
+ 00025390  0x00004921 branch  0x00006330 
+ 00025391  0x00004923 branch  0x00006330 
+ 00025392  0x00004925 set1  0x00000025 , 0x00000000 
+ 00025393  0x00004926 bpatch  0x00000081 , 0x00004030 
+ 00025394  0x00004927 call  0x0000641c 
+ 00025395  0x00004928 call  0x00006421 
+ 00025396  0x00004929 call  0x0000527a 
+ 00025397  0x0000492a nrtn  0x00000034 
+ 00025398  0x0000492b branch  0x000063a0 
+ 00025399  0x0000492d copy  0x00000013 , 0x0000003f 
+ 00025400  0x0000492e beq  0x0000000a , 0x00006368 
+ 00025401  0x0000492f beq  0x00000004 , 0x00006383 
+ 00025402  0x00004930 beq  0x00000013 , 0x00006387 
+ 00025403  0x00004931 beq  0x00000002 , 0x0000634c 
+ 00025404  0x00004932 beq  0x00000019 , 0x0000636a 
+ 00025405  0x00004933 beq  0x00000020 , 0x0000636f 
+ 00025406  0x00004934 beq  0x00000022 , 0x00006374 
+ 00025407  0x00004935 beq  0x00000021 , 0x00006375 
+ 00025408  0x00004936 beq  0x00000023 , 0x00006376 
+ 00025409  0x00004937 beq  0x00000024 , 0x00006379 
+ 00025410  0x00004938 beq  0x00000014 , 0x0000637a 
+ 00025411  0x00004939 beq  0x00000001 , 0x00006382 
+ 00025412  0x0000493a beq  0x00000015 , 0x00006364 
+ 00025413  0x0000493b beq  0x00000005 , 0x0000635d 
+ 00025414  0x0000493c beq  0x0000000b , 0x00006352 
+ 00025415  0x0000493d beq  0x0000000c , 0x00003fa6 
+ 00025416  0x0000493e and  0x0000003f , 0x0000000f , 0x00000002 
+ 00025417  0x0000493f and_into  0x000000f0 , 0x0000003f 
+ 00025418  0x00004940 beq  0x00000050 , 0x000063ec 
+ 00025419  0x00004941 rtn 
+ 00025420  0x00004944 call  0x0000638a 
+ 00025421  0x00004945 fetch  0x00000002 , 0x000042a0 
+ 00025422  0x00004946 rtnbit0  0x00000004 
+ 00025423  0x00004947 arg  0x00000003 , 0x00000039 
+ 00025424  0x00004948 arg  0x00004849 , 0x00000006 
+ 00025425  0x00004949 branch  0x00007f71 
+ 00025426  0x0000494e fetch  0x00000002 , 0x00004042 
+ 00025427  0x0000494f rshift  0x0000003f , 0x0000003f 
+ 00025428  0x00004950 fetcht  0x00000002 , 0x00004280 
+ 00025429  0x00004951 isub  0x00000002 , 0x0000003e 
+ 00025430  0x00004952 nbranch  0x00006358 , 0x00000005 
+ 00025431  0x00004953 branch  0x00003fa4 
+ 00025432  0x00004955 fetch  0x00000001 , 0x00004813 
+ 00025433  0x00004956 rtnbit1  0x00000000 
+ 00025434  0x00004957 hfetch  0x00000002 , 0x00008112 
+ 00025435  0x00004958 ncall  0x0000640c , 0x00000034 
+ 00025436  0x00004959 branch  0x00003f9c 
+ 00025437  0x0000495c call  0x00006395 
+ 00025438  0x0000495d call  0x0000642e 
+ 00025439  0x0000495e branch  0x00006361 , 0x00000005 
+ 00025440  0x0000495f branch  0x00003f77 
+ 00025441  0x00004961 arg  0x00000004 , 0x00000039 
+ 00025442  0x00004962 arg  0x0000488e , 0x00000006 
+ 00025443  0x00004963 branch  0x00007f71 
+ 00025444  0x00004966 call  0x0000638a 
+ 00025445  0x00004967 arg  0x00000005 , 0x00000039 
+ 00025446  0x00004968 arg  0x00004847 , 0x00000006 
+ 00025447  0x00004969 branch  0x00007f71 
+ 00025448  0x0000496c call  0x00003fc1 
+ 00025449  0x0000496d branch  0x00003f6a 
+ 00025450  0x0000496f fetch  0x00000001 , 0x00004813 
+ 00025451  0x00004970 rtnbit0  0x00000004 
+ 00025452  0x00004971 set0  0x00000004 , 0x0000003f 
+ 00025453  0x00004972 store  0x00000001 , 0x00004813 
+ 00025454  0x00004973 branch  0x0000427f 
+ 00025455  0x00004976 fetch  0x00000001 , 0x00004813 
+ 00025456  0x00004977 rtnbit0  0x00000004 
+ 00025457  0x00004978 set0  0x00000004 , 0x0000003f 
+ 00025458  0x00004979 store  0x00000001 , 0x00004813 
+ 00025459  0x0000497a branch  0x00004286 
+ 00025460  0x0000497d rtn 
+ 00025461  0x00004980 rtn 
+ 00025462  0x00004983 fetch  0x00000001 , 0x00004813 
+ 00025463  0x00004984 bbit0  0x00000000 , 0x00003f9e 
+ 00025464  0x00004985 branch  0x00006410 
+ 00025465  0x00004988 rtn 
+ 00025466  0x0000498b call  0x00006395 
+ 00025467  0x0000498c arg  0x000003d0 , 0x00000012 
+ 00025468  0x0000498d call  0x0000642e 
+ 00025469  0x0000498e branch  0x0000637f , 0x00000005 
+ 00025470  0x0000498f branch  0x00003f90 
+ 00025471  0x00004991 arg  0x00000006 , 0x00000039 
+ 00025472  0x00004992 arg  0x0000488c , 0x00000006 
+ 00025473  0x00004993 branch  0x00007f71 
+ 00025474  0x00004996 rtn 
+ 00025475  0x0000499a arg  0x00000007 , 0x00000039 
+ 00025476  0x0000499b arg  0x00004899 , 0x00000006 
+ 00025477  0x0000499c call  0x00007f71 
+ 00025478  0x0000499d branch  0x0000638a 
+ 00025479  0x0000499f arg  0x00000007 , 0x00000039 
+ 00025480  0x000049a0 arg  0x00004892 , 0x00000006 
+ 00025481  0x000049a1 call  0x00007f71 
+ 00025482  0x000049a3 call  0x0000638c 
+ 00025483  0x000049a4 branch  0x00006393 
+ 00025484  0x000049a7 fetch  0x00000001 , 0x00004812 
+ 00025485  0x000049a8 isolate1  0x00000000 , 0x0000003f 
+ 00025486  0x000049a9 call  0x00003f7c , 0x00000001 
+ 00025487  0x000049aa fetch  0x00000001 , 0x00004812 
+ 00025488  0x000049ab isolate1  0x00000001 , 0x0000003f 
+ 00025489  0x000049ac call  0x00003f88 , 0x00000001 
+ 00025490  0x000049ad rtn 
+ 00025491  0x000049af fetcht  0x00000001 , 0x00004803 
+ 00025492  0x000049b0 branch  0x000069ef 
+ 00025493  0x000049b3 call  0x00006397 
+ 00025494  0x000049b4 branch  0x0000639e 
+ 00025495  0x000049b7 fetch  0x00000001 , 0x00004812 
+ 00025496  0x000049b8 isolate1  0x00000000 , 0x0000003f 
+ 00025497  0x000049b9 call  0x00003f7e , 0x00000001 
+ 00025498  0x000049ba fetch  0x00000001 , 0x00004812 
+ 00025499  0x000049bb isolate1  0x00000001 , 0x0000003f 
+ 00025500  0x000049bc call  0x00003f86 , 0x00000001 
+ 00025501  0x000049bd rtn 
+ 00025502  0x000049bf fetcht  0x00000001 , 0x00004803 
+ 00025503  0x000049c0 branch  0x000069ed 
+ 00025504  0x000049c6 fetch  0x00000001 , 0x00004132 
+ 00025505  0x000049c7 rtnne  0x0000000a 
+ 00025506  0x000049c8 hfetch  0x00000002 , 0x00008112 
+ 00025507  0x000049c9 rtn  0x00000034 
+ 00025508  0x000049ca store  0x00000002 , 0x0000480e 
+ 00025509  0x000049cc call  0x000063a9 
+ 00025510  0x000049cd branch  0x00003fef , 0x00000001 
+ 00025511  0x000049ce call  0x00006400 
+ 00025512  0x000049cf branch  0x000063af 
+ 00025513  0x000049d3 fetcht  0x00000001 , 0x00004800 
+ 00025514  0x000049d4 branch  0x000069e5 
+ 00025515  0x000049d8 fetch  0x00000001 , 0x00004813 
+ 00025516  0x000049d9 rtnbit1  0x00000000 
+ 00025517  0x000049da call  0x0000640c 
+ 00025518  0x000049db branch  0x00003f9c 
+ 00025519  0x000049de fetch  0x00000001 , 0x00004040 
+ 00025520  0x000049df bbit0  0x00000000 , 0x0000428c 
+ 00025521  0x000049e0 fetch  0x00000001 , 0x00004041 
+ 00025522  0x000049e1 bbit1  0x00000000 , 0x000063d5 
+ 00025523  0x000049e2 call  0x00003f40 
+ 00025524  0x000049e3 branch  0x000063ab , 0x00000001 
+ 00025525  0x000049e4 branch  0x00006d97 
+ 00025526  0x000049e7 call  0x00005a88 
+ 00025527  0x000049e8 ifetch  0x00000001 , 0x00000006 
+ 00025528  0x000049e9 copy  0x00000006 , 0x00000011 
+ 00025529  0x000049ea call  0x00007f6e 
+ 00025530  0x000049eb copy  0x00000012 , 0x00000039 
+ 00025531  0x000049ec copy  0x00000011 , 0x00000006 
+ 00025532  0x000049ed call  0x00004976 
+ 00025533  0x000049ee branch  0x000068fa 
+ 00025534  0x000049f3 fetch  0x00000002 , 0x00004810 
+ 00025535  0x000049f4 rtn  0x00000034 
+ 00025536  0x000049f5 arg  0x00000014 , 0x00000002 
+ 00025537  0x000049f6 call  0x00007fb9 
+ 00025538  0x000049f7 store  0x00000002 , 0x00000469 
+ 00025539  0x000049f9 copy  0x0000003f , 0x00000002 
+ 00025540  0x000049fa fetch  0x00000002 , 0x00004810 
+ 00025541  0x000049fb isub  0x00000002 , 0x0000003f 
+ 00025542  0x000049fc store  0x00000002 , 0x00004810 
+ 00025543  0x000049fd nbranch  0x00003bf1 , 0x00000002 
+ 00025544  0x000049ff arg  0x00000014 , 0x00000002 
+ 00025545  0x00004a00 storet  0x00000002 , 0x000044c2 
+ 00025546  0x00004a01 call  0x00005a88 
+ 00025547  0x00004a02 branch  0x00003bf1 , 0x00000034 
+ 00025548  0x00004a03 add  0x00000006 , 0x00000001 , 0x00000005 
+ 00025549  0x00004a05 fetch  0x00000002 , 0x00000469 
+ 00025550  0x00004a06 copy  0x0000003f , 0x00000039 
+ 00025551  0x00004a08 call  0x00007f6b 
+ 00025552  0x00004a0a call  0x0000497c 
+ 00025553  0x00004a0c fetch  0x00000002 , 0x00000469 
+ 00025554  0x00004a0d store  0x00000002 , 0x0000480e 
+ 00025555  0x00004a0e store  0x00000002 , 0x0000041b 
+ 00025556  0x00004a0f branch  0x0000428c 
+ 00025557  0x00004a13 rtnmark0  0x00000009 
+ 00025558  0x00004a14 call  0x000063d8 
+ 00025559  0x00004a15 call  0x000063d8 
+ 00025560  0x00004a17 call  0x0000561e 
+ 00025561  0x00004a18 nrtn  0x00000034 
+ 00025562  0x00004a19 hfetch  0x00000002 , 0x00008112 
+ 00025563  0x00004a1a rtn  0x00000034 
+ 00025564  0x00004a1b fetcht  0x00000002 , 0x00004810 
+ 00025565  0x00004a1c isub  0x00000002 , 0x0000003f 
+ 00025566  0x00004a1d nbranch  0x00003bf1 , 0x00000002 
+ 00025567  0x00004a1e store  0x00000002 , 0x0000480e 
+ 00025568  0x00004a1f rtn  0x00000034 
+ 00025569  0x00004a20 call  0x00006407 
+ 00025570  0x00004a21 fetch  0x00000002 , 0x00004810 
+ 00025571  0x00004a22 fetcht  0x00000002 , 0x0000480e 
+ 00025572  0x00004a23 iadd  0x00000002 , 0x0000003f 
+ 00025573  0x00004a24 store  0x00000002 , 0x00004810 
+ 00025574  0x00004a25 fetcht  0x00000002 , 0x00004810 
+ 00025575  0x00004a26 hfetch  0x00000002 , 0x00008112 
+ 00025576  0x00004a27 isub  0x00000002 , 0x00000011 
+ 00025577  0x00004a28 nbranch  0x00003bf1 , 0x00000002 
+ 00025578  0x00004a29 jam  0x0000001b , 0x00000b7d 
+ 00025579  0x00004a2a branch  0x00005620 
+ 00025580  0x00004a2d storet  0x00000001 , 0x00000259 
+ 00025581  0x00004a2f fetch  0x00000001 , 0x00000259 
+ 00025582  0x00004a30 rtn  0x00000034 
+ 00025583  0x00004a31 increase  0xffffffff , 0x0000003f 
+ 00025584  0x00004a32 store  0x00000001 , 0x00000259 
+ 00025585  0x00004a33 call  0x000063f3 
+ 00025586  0x00004a34 branch  0x000063ed 
+ 00025587  0x00004a37 fetch  0x00000002 , 0x0000481a 
+ 00025588  0x00004a38 rtn  0x00000034 
+ 00025589  0x00004a39 increase  0xffffffff , 0x0000003f 
+ 00025590  0x00004a3a store  0x00000002 , 0x0000481a 
+ 00025591  0x00004a3b nrtn  0x00000034 
+ 00025592  0x00004a3c fetch  0x00000001 , 0x000042a4 
+ 00025593  0x00004a3d jam  0x00000000 , 0x000042a4 
+ 00025594  0x00004a3e bbit1  0x00000001 , 0x000063fd 
+ 00025595  0x00004a3f bbit1  0x00000000 , 0x000063fe 
+ 00025596  0x00004a40 branch  0x00003bf1 
+ 00025597  0x00004a42 branch  0x00003f8c 
+ 00025598  0x00004a44 jam  0x00000002 , 0x00004272 
+ 00025599  0x00004a45 rtn 
+ 00025600  0x00004a48 fetch  0x00000001 , 0x00004041 
+ 00025601  0x00004a49 bbit1  0x00000000 , 0x00006407 
+ 00025602  0x00004a4a fetch  0x00000002 , 0x0000480e 
+ 00025603  0x00004a4b arg  0x0000006e , 0x00000002 
+ 00025604  0x00004a4d call  0x00007fb9 
+ 00025605  0x00004a4e store  0x00000002 , 0x0000480e 
+ 00025606  0x00004a4f rtn 
+ 00025607  0x00004a51 fetch  0x00000002 , 0x0000480e 
+ 00025608  0x00004a52 arg  0x00000014 , 0x00000002 
+ 00025609  0x00004a53 call  0x00007fb9 
+ 00025610  0x00004a54 store  0x00000002 , 0x0000480e 
+ 00025611  0x00004a55 rtn 
+ 00025612  0x00004a58 fetch  0x00000001 , 0x00004813 
+ 00025613  0x00004a59 set1  0x00000000 , 0x0000003f 
+ 00025614  0x00004a5a store  0x00000001 , 0x00004813 
+ 00025615  0x00004a5b rtn 
+ 00025616  0x00004a5e fetch  0x00000001 , 0x00004813 
+ 00025617  0x00004a5f set0  0x00000000 , 0x0000003f 
+ 00025618  0x00004a60 store  0x00000001 , 0x00004813 
+ 00025619  0x00004a61 rtn 
+ 00025620  0x00004a64 fetch  0x00000001 , 0x00004813 
+ 00025621  0x00004a65 set1  0x00000007 , 0x0000003f 
+ 00025622  0x00004a66 store  0x00000001 , 0x00004813 
+ 00025623  0x00004a67 rtn 
+ 00025624  0x00004a6a fetch  0x00000001 , 0x00004813 
+ 00025625  0x00004a6b set0  0x00000007 , 0x0000003f 
+ 00025626  0x00004a6c store  0x00000001 , 0x00004813 
+ 00025627  0x00004a6d rtn 
+ 00025628  0x00004a70 set1  0x00000025 , 0x00000000 
+ 00025629  0x00004a71 bpatch  0x00000082 , 0x00004030 
+ 00025630  0x00004a72 call  0x00007f8e 
+ 00025631  0x00004a73 branch  0x00003f66 , 0x00000002 
+ 00025632  0x00004a74 branch  0x00003f68 
+ 00025633  0x00004a77 call  0x000063a9 
+ 00025634  0x00004a78 branch  0x00006428 , 0x00000001 
+ 00025635  0x00004a79 hfetcht  0x00000002 , 0x00008052 
+ 00025636  0x00004a7a fetch  0x00000002 , 0x000042ac 
+ 00025637  0x00004a7b isub  0x00000002 , 0x0000003e 
+ 00025638  0x00004a7c rtn  0x00000005 
+ 00025639  0x00004a7d branch  0x00006909 
+ 00025640  0x00004a81 hfetcht  0x00000002 , 0x00008052 
+ 00025641  0x00004a82 setarg  0x000001a0 
+ 00025642  0x00004a83 isub  0x00000002 , 0x0000003e 
+ 00025643  0x00004a84 rtn  0x00000005 
+ 00025644  0x00004a85 hstore  0x00000002 , 0x00008052 
+ 00025645  0x00004a86 rtn 
+ 00025646  0x00004a89 set1  0x00000025 , 0x00000000 
+ 00025647  0x00004a8a bpatch  0x00000083 , 0x00004030 
+ 00025648  0x00004a8b fetch  0x00000001 , 0x00004812 
+ 00025649  0x00004a8c isolate0  0x00000002 , 0x0000003f 
+ 00025650  0x00004a8d branch  0x00006436 , 0x00000001 
+ 00025651  0x00004a8e arg  0x00004814 , 0x00000011 
+ 00025652  0x00004a8f arg  0x00000006 , 0x00000039 
+ 00025653  0x00004a90 branch  0x00007f25 
+ 00025654  0x00004a92 force  0x00000000 , 0x0000003e 
+ 00025655  0x00004a93 rtn 
+ 00025656  0x00004a96 set1  0x00000025 , 0x00000000 
+ 00025657  0x00004a97 bpatch  0x00000084 , 0x00004030 
+ 00025658  0x00004a98 arg  0x0000481c , 0x00000005 
+ 00025659  0x00004a99 setsect  0x00000000 , 0x00035350 
+ 00025660  0x00004a9a setsect  0x00000001 , 0x00015115 
+ 00025661  0x00004a9b setsect  0x00000002 , 0x00012415 
+ 00025662  0x00004a9c setsect  0x00000003 , 0x00010951 
+ 00025663  0x00004a9d istore  0x00000009 , 0x00000005 
+ 00025664  0x00004a9e setsect  0x00000000 , 0x0002454c 
+ 00025665  0x00004a9f setsect  0x00000001 , 0x00035053 
+ 00025666  0x00004aa0 setsect  0x00000002 , 0x00002454 
+ 00025667  0x00004aa1 setsect  0x00000003 , 0x00011531 
+ 00025668  0x00004aa2 istore  0x00000009 , 0x00000005 
+ 00025669  0x00004aa3 setsect  0x00000000 , 0x00034441 
+ 00025670  0x00004aa4 setsect  0x00000001 , 0x000194d4 
+ 00025671  0x00004aa5 setsect  0x00000002 , 0x00012455 
+ 00025672  0x00004aa6 setsect  0x00000003 , 0x00010d4d 
+ 00025673  0x00004aa7 istore  0x00000009 , 0x00000005 
+ 00025674  0x00004aa8 setsect  0x00000000 , 0x0003414c 
+ 00025675  0x00004aa9 setsect  0x00000001 , 0x0000d4d4 
+ 00025676  0x00004aaa setsect  0x00000002 , 0x000124c4 
+ 00025677  0x00004aab setsect  0x00000003 , 0x00013119 
+ 00025678  0x00004aac istore  0x00000009 , 0x00000005 
+ 00025679  0x00004aad setsect  0x00000000 , 0x00015247 
+ 00025680  0x00004aae setsect  0x00000001 , 0x0003d0d1 
+ 00025681  0x00004aaf setsect  0x00000002 , 0x0000e4e4 
+ 00025682  0x00004ab0 setsect  0x00000003 , 0x00011531 
+ 00025683  0x00004ab1 istore  0x00000009 , 0x00000005 
+ 00025684  0x00004ab2 setsect  0x00000000 , 0x00034944 
+ 00025685  0x00004ab3 setsect  0x00000001 , 0x000114d4 
+ 00025686  0x00004ab4 setsect  0x00000002 , 0x0000e535 
+ 00025687  0x00004ab5 setsect  0x00000003 , 0x00015105 
+ 00025688  0x00004ab6 istore  0x00000009 , 0x00000005 
+ 00025689  0x00004ab7 setsect  0x00000000 , 0x00014c2b 
+ 00025690  0x00004ab8 setsect  0x00000001 , 0x000114d2 
+ 00025691  0x00004ab9 setsect  0x00000002 , 0x0000f525 
+ 00025692  0x00004aba setsect  0x00000003 , 0x00011531 
+ 00025693  0x00004abb istore  0x00000009 , 0x00000005 
+ 00025694  0x00004abc setsect  0x00000000 , 0x00014e53 
+ 00025695  0x00004abd setsect  0x00000001 , 0x00019192 
+ 00025696  0x00004abe setsect  0x00000002 , 0x000044c4 
+ 00025697  0x00004abf setsect  0x00000003 , 0x00015915 
+ 00025698  0x00004ac0 istore  0x00000009 , 0x00000005 
+ 00025699  0x00004ac1 setsect  0x00000000 , 0x00035352 
+ 00025700  0x00004ac2 setsect  0x00000001 , 0x0000d254 
+ 00025701  0x00004ac3 setsect  0x00000002 , 0x00005444 
+ 00025702  0x00004ac4 setsect  0x00000003 , 0x00010959 
+ 00025703  0x00004ac5 istore  0x00000009 , 0x00000005 
+ 00025704  0x00004ac6 setsect  0x00000000 , 0x0001454c 
+ 00025705  0x00004ac7 setsect  0x00000001 , 0x00005392 
+ 00025706  0x00004ac8 setsect  0x00000002 , 0x00003525 
+ 00025707  0x00004ac9 setsect  0x00000003 , 0x00013d35 
+ 00025708  0x00004aca istore  0x00000009 , 0x00000005 
+ 00025709  0x00004acb setsect  0x00000000 , 0x00014544 
+ 00025710  0x00004acc setsect  0x00000001 , 0x000113d3 
+ 00025711  0x00004acd setsect  0x00000002 , 0x00004454 
+ 00025712  0x00004ace setsect  0x00000003 , 0x00014d35 
+ 00025713  0x00004acf istore  0x00000009 , 0x00000005 
+ 00025714  0x00004ad0 setsect  0x00000000 , 0x00004154 
+ 00025715  0x00004ad1 setsect  0x00000001 , 0x00011155 
+ 00025716  0x00004ad2 setsect  0x00000002 , 0x00013494 
+ 00025717  0x00004ad3 setsect  0x00000003 , 0x00013d0d 
+ 00025718  0x00004ad4 istore  0x00000009 , 0x00000005 
+ 00025719  0x00004ad5 setsect  0x00000000 , 0x00004f56 
+ 00025720  0x00004ad6 setsect  0x00000001 , 0x00031055 
+ 00025721  0x00004ad7 setsect  0x00000002 , 0x00003454 
+ 00025722  0x00004ad8 setsect  0x00000003 , 0x0001393d 
+ 00025723  0x00004ad9 istore  0x00000009 , 0x00000005 
+ 00025724  0x00004ada setsect  0x00000000 , 0x0001504e 
+ 00025725  0x00004adb setsect  0x00000001 , 0x000151d0 
+ 00025726  0x00004adc setsect  0x00000002 , 0x000154f4 
+ 00025727  0x00004add setsect  0x00000003 , 0x00014951 
+ 00025728  0x00004ade istore  0x00000009 , 0x00000005 
+ 00025729  0x00004adf setsect  0x00000000 , 0x00024345 
+ 00025730  0x00004ae0 setsect  0x00000001 , 0x00025051 
+ 00025731  0x00004ae1 setsect  0x00000002 , 0x000004c4 
+ 00025732  0x00004ae2 istore  0x00000006 , 0x00000005 
+ 00025733  0x00004ae3 rtn 
+ 00025734  0x00004ae8 setarg  0x000065d7 
+ 00025735  0x00004ae9 store  0x00000002 , 0x0000428c 
+ 00025736  0x00004aea setarg  0x0000652e 
+ 00025737  0x00004aeb store  0x00000002 , 0x0000428e 
+ 00025738  0x00004aec setarg  0x000064e3 
+ 00025739  0x00004aed store  0x00000002 , 0x0000428a 
+ 00025740  0x00004aee setarg  0x000065f3 
+ 00025741  0x00004aef store  0x00000002 , 0x00004292 
+ 00025742  0x00004af0 setarg  0x000064a9 
+ 00025743  0x00004af1 store  0x00000002 , 0x00004290 
+ 00025744  0x00004af2 setarg  0x00006561 
+ 00025745  0x00004af3 store  0x00000002 , 0x00004298 
+ 00025746  0x00004af4 jam  0x00000000 , 0x000007dc 
+ 00025747  0x00004af5 jam  0x00000000 , 0x000007dd 
+ 00025748  0x00004af6 set0  0x00000025 , 0x00000000 
+ 00025749  0x00004af7 bpatch  0x000000c0 , 0x00004018 
+ 00025750  0x00004af8 call  0x000064c4 
+ 00025751  0x00004af9 rtn  0x0000002b 
+ 00025752  0x00004afa call  0x0000649f 
+ 00025753  0x00004afb call  0x000064a7 
+ 00025754  0x00004afc setarg  0x000064e0 
+ 00025755  0x00004afd store  0x00000002 , 0x00004288 
+ 00025756  0x00004afe fetch  0x00000002 , 0x000047f4 
+ 00025757  0x00004aff bbit1  0x0000000c , 0x00006697 
+ 00025758  0x00004b00 branch  0x00006693 
+ 00025759  0x00004b03 call  0x00003f4d 
+ 00025760  0x00004b04 branch  0x000064a4 , 0x00000005 
+ 00025761  0x00004b05 call  0x00006963 
+ 00025762  0x00004b06 call  0x000066ba 
+ 00025763  0x00004b07 branch  0x00003f45 
+ 00025764  0x00004b09 call  0x0000691d 
+ 00025765  0x00004b0a call  0x00006967 
+ 00025766  0x00004b0b branch  0x000066c0 
+ 00025767  0x00004b0e jam  0x00000001 , 0x0000481c 
+ 00025768  0x00004b0f branch  0x000064bb 
+ 00025769  0x00004b12 call  0x00007cd7 
+ 00025770  0x00004b13 call  0x000064ac 
+ 00025771  0x00004b14 branch  0x000064f6 
+ 00025772  0x00004b17 fetcht  0x00000001 , 0x00004825 
+ 00025773  0x00004b18 call  0x000069e5 
+ 00025774  0x00004b19 nbranch  0x000064b3 , 0x00000001 
+ 00025775  0x00004b1b fetch  0x00000001 , 0x0000481c 
+ 00025776  0x00004b1c rtneq  0x00000000 
+ 00025777  0x00004b1d jam  0x00000000 , 0x0000481c 
+ 00025778  0x00004b1e rtn 
+ 00025779  0x00004b20 fetch  0x00000001 , 0x0000481c 
+ 00025780  0x00004b21 rtneq  0x00000001 
+ 00025781  0x00004b22 jam  0x00000001 , 0x0000481c 
+ 00025782  0x00004b23 fetch  0x00000001 , 0x0000481b 
+ 00025783  0x00004b24 increase  0x00000001 , 0x0000003f 
+ 00025784  0x00004b25 and  0x0000003f , 0x00000003 , 0x0000003f 
+ 00025785  0x00004b26 store  0x00000001 , 0x0000481b 
+ 00025786  0x00004b27 branch  0x000064bb 
+ 00025787  0x00004b29 setarg  0x00000006 
+ 00025788  0x00004b2a call  0x000066d8 
+ 00025789  0x00004b2b and  0x0000003f , 0x000000fc , 0x00000002 
+ 00025790  0x00004b2c fetch  0x00000001 , 0x0000481b 
+ 00025791  0x00004b2d iadd  0x00000002 , 0x0000003f 
+ 00025792  0x00004b2e lshift8  0x0000003f , 0x0000003f 
+ 00025793  0x00004b2f add  0x0000003f , 0x00000006 , 0x0000003f 
+ 00025794  0x00004b30 call  0x000066d7 
+ 00025795  0x00004b31 branch  0x000066ba 
+ 00025796  0x00004b34 call  0x000065c5 
+ 00025797  0x00004b35 call  0x000064ca 
+ 00025798  0x00004b36 hfetch  0x00000002 , 0x00008050 
+ 00025799  0x00004b37 set0  0x0000000b , 0x0000003f 
+ 00025800  0x00004b38 hstore  0x00000002 , 0x00008050 
+ 00025801  0x00004b39 rtn 
+ 00025802  0x00004b3c call  0x00003e0b 
+ 00025803  0x00004b3d fetcht  0x00000001 , 0x00004827 
+ 00025804  0x00004b3e call  0x000069d1 
+ 00025805  0x00004b3f fetcht  0x00000001 , 0x00004828 
+ 00025806  0x00004b40 call  0x000069d1 
+ 00025807  0x00004b41 fetcht  0x00000001 , 0x00004822 
+ 00025808  0x00004b42 call  0x000069d1 
+ 00025809  0x00004b43 fetcht  0x00000001 , 0x00004823 
+ 00025810  0x00004b44 call  0x000069d1 
+ 00025811  0x00004b45 fetcht  0x00000001 , 0x00004824 
+ 00025812  0x00004b46 call  0x000069d1 
+ 00025813  0x00004b47 fetcht  0x00000001 , 0x00004826 
+ 00025814  0x00004b48 call  0x000069d1 
+ 00025815  0x00004b49 fetcht  0x00000001 , 0x00004825 
+ 00025816  0x00004b4a call  0x000069d1 
+ 00025817  0x00004b4b hfetch  0x00000001 , 0x0000807b 
+ 00025818  0x00004b4c or_into  0x00000018 , 0x0000003f 
+ 00025819  0x00004b4d hstore  0x00000001 , 0x0000807b 
+ 00025820  0x00004b4e hfetch  0x00000001 , 0x0000807f 
+ 00025821  0x00004b4f and_into  0x000000e7 , 0x0000003f 
+ 00025822  0x00004b50 hstore  0x00000001 , 0x0000807f 
+ 00025823  0x00004b51 rtn 
+ 00025824  0x00004b55 setarg  0x0000bc05 
+ 00025825  0x00004b56 call  0x000066d7 
+ 00025826  0x00004b57 jam  0x00000001 , 0x000000a2 
+ 00025827  0x00004b5a call  0x000064f6 
+ 00025828  0x00004b5b arg  0x00000019 , 0x00000002 
+ 00025829  0x00004b5c call  0x000069da 
+ 00025830  0x00004b5d hjam  0x00000000 , 0x00008081 
+ 00025831  0x00004b5e fetcht  0x00000001 , 0x00004827 
+ 00025832  0x00004b5f call  0x000069b4 
+ 00025833  0x00004b60 fetcht  0x00000001 , 0x00004828 
+ 00025834  0x00004b61 call  0x000069b4 
+ 00025835  0x00004b62 fetcht  0x00000001 , 0x00004822 
+ 00025836  0x00004b63 call  0x000069b4 
+ 00025837  0x00004b64 fetcht  0x00000001 , 0x00004823 
+ 00025838  0x00004b65 call  0x000069b4 
+ 00025839  0x00004b66 fetcht  0x00000001 , 0x00004824 
+ 00025840  0x00004b67 call  0x000069b4 
+ 00025841  0x00004b68 fetcht  0x00000001 , 0x00004826 
+ 00025842  0x00004b69 call  0x000069b9 
+ 00025843  0x00004b6a fetch  0x00000001 , 0x000000a2 
+ 00025844  0x00004b6b nrtn  0x00000034 
+ 00025845  0x00004b6c branch  0x000069c4 
+ 00025846  0x00004b6f set0  0x00000025 , 0x00000000 
+ 00025847  0x00004b70 bpatch  0x000000c1 , 0x00004018 
+ 00025848  0x00004b71 arg  0x00000000 , 0x00000011 
+ 00025849  0x00004b72 fetcht  0x00000001 , 0x00004827 
+ 00025850  0x00004b73 call  0x000069e5 
+ 00025851  0x00004b74 setflag  0x00000001 , 0x00000000 , 0x00000011 
+ 00025852  0x00004b75 fetcht  0x00000001 , 0x00004828 
+ 00025853  0x00004b76 call  0x000069e5 
+ 00025854  0x00004b77 setflag  0x00000001 , 0x00000001 , 0x00000011 
+ 00025855  0x00004b78 copy  0x00000011 , 0x0000003f 
+ 00025856  0x00004b7a and_into  0x00000003 , 0x0000003f 
+ 00025857  0x00004b7b fetcht  0x00000001 , 0x00004808 
+ 00025858  0x00004b7c store  0x00000001 , 0x00004808 
+ 00025859  0x00004b7d isub  0x00000002 , 0x0000003e 
+ 00025860  0x00004b7e branch  0x00006514 , 0x00000005 
+ 00025861  0x00004b7f fetch  0x00000001 , 0x00004807 
+ 00025862  0x00004b80 store  0x00000001 , 0x00004806 
+ 00025863  0x00004b81 storet  0x00000001 , 0x00004807 
+ 00025864  0x00004b82 fetch  0x00000001 , 0x00004808 
+ 00025865  0x00004b83 lshift4  0x0000003f , 0x0000003f 
+ 00025866  0x00004b84 fetcht  0x00000001 , 0x00004807 
+ 00025867  0x00004b85 lshift2  0x00000002 , 0x00000002 
+ 00025868  0x00004b86 iadd  0x00000002 , 0x0000003f 
+ 00025869  0x00004b87 fetcht  0x00000001 , 0x00004806 
+ 00025870  0x00004b88 iadd  0x00000002 , 0x0000003f 
+ 00025871  0x00004b89 beq  0x00000038 , 0x00006515 
+ 00025872  0x00004b8a beq  0x00000034 , 0x00006519 
+ 00025873  0x00004b8b beq  0x0000000b , 0x00006519 
+ 00025874  0x00004b8c beq  0x00000007 , 0x00006515 
+ 00025875  0x00004b8d rtn 
+ 00025876  0x00004b90 rtn 
+ 00025877  0x00004b93 fetch  0x00000001 , 0x00004809 
+ 00025878  0x00004b94 increase  0x00000001 , 0x0000003f 
+ 00025879  0x00004b95 store  0x00000001 , 0x00004809 
+ 00025880  0x00004b96 rtn 
+ 00025881  0x00004b99 fetch  0x00000001 , 0x00004809 
+ 00025882  0x00004b9a increase  0xffffffff , 0x0000003f 
+ 00025883  0x00004b9b store  0x00000001 , 0x00004809 
+ 00025884  0x00004b9c rtn 
+ 00025885  0x00004ba0 rtn 
+ 00025886  0x00004ba2 setarg  0x0000b805 
+ 00025887  0x00004ba3 branch  0x000066d7 
+ 00025888  0x00004ba6 rtn 
+ 00025889  0x00004ba9 call  0x00003fa0 
+ 00025890  0x00004baa jam  0x00000002 , 0x00004820 
+ 00025891  0x00004bab call  0x00003fa4 
+ 00025892  0x00004bad branch  0x00003f92 
+ 00025893  0x00004bb0 fetch  0x00000002 , 0x0000481e 
+ 00025894  0x00004bb1 rtn  0x00000034 
+ 00025895  0x00004bb2 increase  0xffffffff , 0x0000003f 
+ 00025896  0x00004bb3 store  0x00000002 , 0x0000481e 
+ 00025897  0x00004bb4 nrtn  0x00000034 
+ 00025898  0x00004bb5 branch  0x00003f9a 
+ 00025899  0x00004bb8 setarg  0x00000002 
+ 00025900  0x00004bb9 store  0x00000001 , 0x000047f2 
+ 00025901  0x00004bba rtn 
+ 00025902  0x00004bbd fetch  0x00000001 , 0x0000427f 
+ 00025903  0x00004bbe rtn  0x00000034 
+ 00025904  0x00004bbf call  0x0000527c 
+ 00025905  0x00004bc0 nrtn  0x00000034 
+ 00025906  0x00004bc1 call  0x00006578 
+ 00025907  0x00004bc2 nrtn  0x00000028 
+ 00025908  0x00004bc3 call  0x0000655e 
+ 00025909  0x00004bc4 call  0x0000655a 
+ 00025910  0x00004bc6 arg  0x00000008 , 0x00000011 
+ 00025911  0x00004bc7 call  0x00004b2c 
+ 00025912  0x00004bc8 fetch  0x00000002 , 0x000042b7 
+ 00025913  0x00004bc9 istore  0x00000002 , 0x00000005 
+ 00025914  0x00004bca setarg  0x000002a1 
+ 00025915  0x00004bcb istore  0x00000002 , 0x00000005 
+ 00025916  0x00004bcc fetch  0x00000001 , 0x00004805 
+ 00025917  0x00004bcd istore  0x00000001 , 0x00000005 
+ 00025918  0x00004bce fetch  0x00000002 , 0x00004800 
+ 00025919  0x00004bcf arg  0x00000fff , 0x00000002 
+ 00025920  0x00004bd0 iand  0x00000002 , 0x0000003f 
+ 00025921  0x00004bd1 fetcht  0x00000002 , 0x00004802 
+ 00025922  0x00004bd2 lshift4  0x00000002 , 0x00000002 
+ 00025923  0x00004bd3 lshift8  0x00000002 , 0x00000002 
+ 00025924  0x00004bd4 ior  0x00000002 , 0x0000003f 
+ 00025925  0x00004bd5 istore  0x00000003 , 0x00000005 
+ 00025926  0x00004bd6 fetch  0x00000001 , 0x00004804 
+ 00025927  0x00004bd7 istore  0x00000001 , 0x00000005 
+ 00025928  0x00004bd8 setarg  0x00000000 
+ 00025929  0x00004bd9 istore  0x00000001 , 0x00000005 
+ 00025930  0x00004bda jam  0x00000008 , 0x000008a8 
+ 00025931  0x00004bdb rtn 
+ 00025932  0x00004bdf set0  0x00000025 , 0x00000000 
+ 00025933  0x00004be0 bpatch  0x000000c2 , 0x00004018 
+ 00025934  0x00004be1 fetch  0x00000001 , 0x0000481a 
+ 00025935  0x00004be2 rtn  0x00000034 
+ 00025936  0x00004be3 increase  0xffffffff , 0x0000003f 
+ 00025937  0x00004be4 store  0x00000001 , 0x0000481a 
+ 00025938  0x00004be5 nrtn  0x00000034 
+ 00025939  0x00004be6 call  0x0000527e 
+ 00025940  0x00004be7 nrtn  0x00000034 
+ 00025941  0x00004be8 setarg  0x00000000 
+ 00025942  0x00004be9 store  0x00000005 , 0x00004800 
+ 00025943  0x00004bea call  0x00006536 
+ 00025944  0x00004beb jam  0x00000050 , 0x0000481a 
+ 00025945  0x00004bec rtn 
+ 00025946  0x00004bee fetch  0x00000002 , 0x00004810 
+ 00025947  0x00004bef store  0x00000002 , 0x00004818 
+ 00025948  0x00004bf0 jam  0x00000050 , 0x0000481a 
+ 00025949  0x00004bf1 rtn 
+ 00025950  0x00004bf4 fetch  0x00000002 , 0x0000480e 
+ 00025951  0x00004bf5 store  0x00000002 , 0x00004816 
+ 00025952  0x00004bf6 rtn 
+ 00025953  0x00004bfa fetcht  0x00000002 , 0x000044c2 
+ 00025954  0x00004bfb call  0x00005a88 
+ 00025955  0x00004bfc ifetch  0x00000001 , 0x00000006 
+ 00025956  0x00004bfd store  0x00000001 , 0x0000041b 
+ 00025957  0x00004bfe rtn 
+ 00025958  0x00004c02 set0  0x00000025 , 0x00000000 
+ 00025959  0x00004c03 bpatch  0x000000c3 , 0x00004018 
+ 00025960  0x00004c04 fetcht  0x00000002 , 0x000044c2 
+ 00025961  0x00004c05 call  0x00005a88 
+ 00025962  0x00004c06 add  0x00000006 , 0x00000001 , 0x00000005 
+ 00025963  0x00004c08 fetch  0x00000001 , 0x00004805 
+ 00025964  0x00004c09 istore  0x00000001 , 0x00000005 
+ 00025965  0x00004c0a fetch  0x00000002 , 0x00004800 
+ 00025966  0x00004c0b arg  0x00000fff , 0x00000002 
+ 00025967  0x00004c0c iand  0x00000002 , 0x0000003f 
+ 00025968  0x00004c0d fetcht  0x00000002 , 0x00004802 
+ 00025969  0x00004c0e lshift4  0x00000002 , 0x00000002 
+ 00025970  0x00004c0f lshift8  0x00000002 , 0x00000002 
+ 00025971  0x00004c10 ior  0x00000002 , 0x0000003f 
+ 00025972  0x00004c11 istore  0x00000003 , 0x00000005 
+ 00025973  0x00004c12 fetch  0x00000001 , 0x00004804 
+ 00025974  0x00004c13 istore  0x00000001 , 0x00000005 
+ 00025975  0x00004c14 rtn 
+ 00025976  0x00004c17 set0  0x00000025 , 0x00000000 
+ 00025977  0x00004c18 bpatch  0x000000c4 , 0x00004018 
+ 00025978  0x00004c19 disable  0x00000028 
+ 00025979  0x00004c1a setarg  0x00000000 
+ 00025980  0x00004c1b store  0x00000005 , 0x00004800 
+ 00025981  0x00004c1c call  0x00006581 
+ 00025982  0x00004c1d call  0x000065b4 
+ 00025983  0x00004c1e call  0x0000659c 
+ 00025984  0x00004c1f branch  0x000065a2 
+ 00025985  0x00004c22 fetch  0x00000001 , 0x00004821 
+ 00025986  0x00004c23 rtnne  0x00000002 
+ 00025987  0x00004c24 fetch  0x00000001 , 0x0000480a 
+ 00025988  0x00004c25 call  0x000065ba , 0x00000034 
+ 00025989  0x00004c26 jam  0x00000001 , 0x0000480a 
+ 00025990  0x00004c27 disable  0x00000028 
+ 00025991  0x00004c28 fetcht  0x00000001 , 0x00004826 
+ 00025992  0x00004c29 call  0x000069e5 
+ 00025993  0x00004c2a nrtn  0x00000001 
+ 00025994  0x00004c2b setarg  0x00000000 
+ 00025995  0x00004c2c call  0x000066d8 
+ 00025996  0x00004c2d bne  0x00000030 , 0x000066c6 
+ 00025997  0x00004c2e setarg  0x00000002 
+ 00025998  0x00004c2f call  0x000066d8 
+ 00025999  0x00004c30 rtnbit0  0x00000007 
+ 00026000  0x00004c31 setarg  0x00000003 
+ 00026001  0x00004c32 call  0x000066d8 
+ 00026002  0x00004c33 call  0x000065d3 
+ 00026003  0x00004c34 store  0x00000002 , 0x00004800 
+ 00026004  0x00004c35 setarg  0x00000004 
+ 00026005  0x00004c36 call  0x000066d8 
+ 00026006  0x00004c37 call  0x000065d3 
+ 00026007  0x00004c38 sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00026008  0x00004c39 store  0x00000002 , 0x00004802 
+ 00026009  0x00004c3a fetch  0x00000004 , 0x00004800 
+ 00026010  0x00004c3b enable  0x00000028 
+ 00026011  0x00004c3c rtn 
+ 00026012  0x00004c3e fetch  0x00000001 , 0x00004809 
+ 00026013  0x00004c3f rtn  0x00000034 
+ 00026014  0x00004c40 store  0x00000001 , 0x00004804 
+ 00026015  0x00004c41 jam  0x00000000 , 0x00004809 
+ 00026016  0x00004c42 enable  0x00000028 
+ 00026017  0x00004c43 rtn 
+ 00026018  0x00004c45 arg  0x00000000 , 0x00000011 
+ 00026019  0x00004c46 fetcht  0x00000001 , 0x00004822 
+ 00026020  0x00004c47 call  0x000069e5 
+ 00026021  0x00004c48 setflag  0x00000001 , 0x00000000 , 0x00000011 
+ 00026022  0x00004c49 fetcht  0x00000001 , 0x00004823 
+ 00026023  0x00004c4a call  0x000069e5 
+ 00026024  0x00004c4b setflag  0x00000001 , 0x00000001 , 0x00000011 
+ 00026025  0x00004c4c fetcht  0x00000001 , 0x00004824 
+ 00026026  0x00004c4d call  0x000069e5 
+ 00026027  0x00004c4e setflag  0x00000001 , 0x00000002 , 0x00000011 
+ 00026028  0x00004c4f deposit  0x00000011 
+ 00026029  0x00004c50 fetcht  0x00000001 , 0x00004805 
+ 00026030  0x00004c51 store  0x00000001 , 0x00004805 
+ 00026031  0x00004c52 ixor  0x00000002 , 0x0000003f 
+ 00026032  0x00004c53 sub  0x0000003f , 0x00000000 , 0x0000003e 
+ 00026033  0x00004c54 rtn  0x00000005 
+ 00026034  0x00004c55 enable  0x00000028 
+ 00026035  0x00004c56 rtn 
+ 00026036  0x00004c5c arg  0x0000001a , 0x00000002 
+ 00026037  0x00004c5d call  0x000069e5 
+ 00026038  0x00004c5e rtn  0x00000001 
+ 00026039  0x00004c5f setarg  0x00000000 
+ 00026040  0x00004c60 call  0x000066d8 
+ 00026041  0x00004c61 branch  0x000065b4 
+ 00026042  0x00004c64 arg  0x00000000 , 0x00000039 
+ 00026043  0x00004c66 setarg  0x00000002 
+ 00026044  0x00004c67 call  0x000066d8 
+ 00026045  0x00004c68 nop  0x00000064 
+ 00026046  0x00004c69 increase  0x00000001 , 0x00000039 
+ 00026047  0x00004c6a fetcht  0x00000001 , 0x00004826 
+ 00026048  0x00004c6b call  0x000069e5 
+ 00026049  0x00004c6c branch  0x000065bb , 0x00000001 
+ 00026050  0x00004c6d deposit  0x00000039 
+ 00026051  0x00004c6e store  0x00000002 , 0x0000046b 
+ 00026052  0x00004c6f rtn 
+ 00026053  0x00004c71 call  0x0000678e 
+ 00026054  0x00004c72 rtn  0x0000002b 
+ 00026055  0x00004c75 setarg  0x00000000 
+ 00026056  0x00004c76 call  0x000066d8 
+ 00026057  0x00004c77 store  0x00000001 , 0x00000256 
+ 00026058  0x00004c78 beq  0x00000030 , 0x000065ce 
+ 00026059  0x00004c79 call  0x000066c6 
+ 00026060  0x00004c7a nop  0x00002710 
+ 00026061  0x00004c7b branch  0x000065c7 
+ 00026062  0x00004c7d setarg  0x00008006 
+ 00026063  0x00004c7e call  0x000066d7 
+ 00026064  0x00004c7f nop  0x000003e8 
+ 00026065  0x00004c80 jam  0x00000002 , 0x00004821 
+ 00026066  0x00004c81 rtn 
+ 00026067  0x00004c86 rtnbit0  0x00000007 
+ 00026068  0x00004c87 arg  0x0000ff00 , 0x00000002 
+ 00026069  0x00004c88 ior  0x00000002 , 0x0000003f 
+ 00026070  0x00004c89 rtn 
+ 00026071  0x00004c8e call  0x0000561e 
+ 00026072  0x00004c8f nrtn  0x00000034 
+ 00026073  0x00004c90 fetcht  0x00000002 , 0x000044c2 
+ 00026074  0x00004c91 call  0x00005866 
+ 00026075  0x00004c92 rtnbit0  0x00000000 
+ 00026076  0x00004c93 fetch  0x00000001 , 0x000046f8 
+ 00026077  0x00004c94 rtnbit0  0x00000000 
+ 00026078  0x00004c95 call  0x00006578 
+ 00026079  0x00004c97 nrtn  0x00000028 
+ 00026080  0x00004c98 call  0x0000655e 
+ 00026081  0x00004c9a jam  0x0000001b , 0x00000b7d 
+ 00026082  0x00004c9b call  0x00005620 
+ 00026083  0x00004c9c branch  0x00006566 
+ 00026084  0x00004c9f rtn  0x00000028 
+ 00026085  0x00004ca0 fetch  0x00000001 , 0x0000481d 
+ 00026086  0x00004ca1 increase  0x00000001 , 0x0000003f 
+ 00026087  0x00004ca2 store  0x00000001 , 0x0000481d 
+ 00026088  0x00004ca3 arg  0x00000001 , 0x00000002 
+ 00026089  0x00004ca4 bbit0  0x00000007 , 0x000065eb 
+ 00026090  0x00004ca5 arg  0x0000ffff , 0x00000002 
+ 00026091  0x00004ca7 storet  0x00000005 , 0x00004800 
+ 00026092  0x00004ca8 enable  0x00000028 
+ 00026093  0x00004ca9 rtn 
+ 00026094  0x00004cac disable  0x00000028 
+ 00026095  0x00004cad fetch  0x00000001 , 0x00004820 
+ 00026096  0x00004cae rtneq  0x00000002 
+ 00026097  0x00004caf enable  0x00000028 
+ 00026098  0x00004cb0 rtn 
+ 00026099  0x00004cb3 copy  0x00000013 , 0x0000003f 
+ 00026100  0x00004cb4 beq  0x00000014 , 0x00006606 
+ 00026101  0x00004cb5 beq  0x00000001 , 0x000066a6 
+ 00026102  0x00004cb6 beq  0x00000015 , 0x00006617 
+ 00026103  0x00004cb7 beq  0x00000002 , 0x00006617 
+ 00026104  0x00004cb8 beq  0x00000005 , 0x00006616 
+ 00026105  0x00004cb9 beq  0x00000010 , 0x0000666a 
+ 00026106  0x00004cba beq  0x00000012 , 0x0000668a 
+ 00026107  0x00004cbb beq  0x00000006 , 0x00006614 
+ 00026108  0x00004cbc beq  0x00000028 , 0x00006521 
+ 00026109  0x00004cbd beq  0x00000029 , 0x00006524 
+ 00026110  0x00004cbe beq  0x00000004 , 0x00006611 
+ 00026111  0x00004cbf beq  0x00000013 , 0x00006611 
+ 00026112  0x00004cc0 beq  0x0000000a , 0x0000660f 
+ 00026113  0x00004cc1 beq  0x0000002e , 0x00003f57 
+ 00026114  0x00004cc2 and  0x0000003f , 0x0000000f , 0x00000002 
+ 00026115  0x00004cc3 and_into  0x000000f0 , 0x0000003f 
+ 00026116  0x00004cc4 beq  0x00000050 , 0x00006634 
+ 00026117  0x00004cc5 rtn 
+ 00026118  0x00004cc8 fetch  0x00000002 , 0x000042a2 
+ 00026119  0x00004cc9 set0  0x00000000 , 0x0000003f 
+ 00026120  0x00004cca store  0x00000002 , 0x000042a2 
+ 00026121  0x00004ccb setarg  0x00000000 
+ 00026122  0x00004ccc store  0x00000002 , 0x00004814 
+ 00026123  0x00004ccd fetch  0x00000001 , 0x00004829 
+ 00026124  0x00004cce increase  0x00000001 , 0x0000003f 
+ 00026125  0x00004ccf store  0x00000001 , 0x00004829 
+ 00026126  0x00004cd0 branch  0x000066a6 
+ 00026127  0x00004cd3 call  0x000062e9 
+ 00026128  0x00004cd4 branch  0x00003f6a 
+ 00026129  0x00004cd7 fetch  0x00000002 , 0x000047f4 
+ 00026130  0x00004cd8 bbit1  0x0000000c , 0x00006697 
+ 00026131  0x00004cd9 branch  0x00003f10 
+ 00026132  0x00004cdd call  0x0000652b 
+ 00026133  0x00004cde rtn 
+ 00026134  0x00004ce0 rtn 
+ 00026135  0x00004ce3 set0  0x00000025 , 0x00000000 
+ 00026136  0x00004ce4 bpatch  0x000000c5 , 0x00004018 
+ 00026137  0x00004ce5 call  0x00006621 
+ 00026138  0x00004ce6 fetch  0x00000002 , 0x000042a0 
+ 00026139  0x00004ce7 bbit1  0x00000007 , 0x00006630 
+ 00026140  0x00004ce8 bbit1  0x00000000 , 0x00003f12 
+ 00026141  0x00004ce9 bbit1  0x00000001 , 0x0000662a 
+ 00026142  0x00004cea bbit1  0x00000002 , 0x0000662d 
+ 00026143  0x00004ceb bbit1  0x00000003 , 0x0000662d 
+ 00026144  0x00004cec branch  0x00006697 
+ 00026145  0x00004cee setarg  0x00000000 
+ 00026146  0x00004cef store  0x00000004 , 0x00004806 
+ 00026147  0x00004cf0 jam  0x00000000 , 0x0000481a 
+ 00026148  0x00004cf1 jam  0x00000000 , 0x0000480a 
+ 00026149  0x00004cf2 jam  0x00000000 , 0x0000427f 
+ 00026150  0x00004cf3 jam  0x00000000 , 0x0000448b 
+ 00026151  0x00004cf4 jam  0x00000000 , 0x00004820 
+ 00026152  0x00004cf5 jam  0x00000000 , 0x0000480b 
+ 00026153  0x00004cf6 rtn 
+ 00026154  0x00004cf9 bbit1  0x00000005 , 0x0000662d 
+ 00026155  0x00004cfa bbit1  0x00000003 , 0x0000662d 
+ 00026156  0x00004cfb branch  0x00006697 
+ 00026157  0x00004cfd fetch  0x00000002 , 0x000047f4 
+ 00026158  0x00004cfe bbit1  0x0000000c , 0x00006697 
+ 00026159  0x00004cff branch  0x00003f10 
+ 00026160  0x00004d02 call  0x00005b30 
+ 00026161  0x00004d03 fetch  0x00000002 , 0x000042a0 
+ 00026162  0x00004d04 bbit1  0x00000000 , 0x00003f12 
+ 00026163  0x00004d05 branch  0x00003f10 
+ 00026164  0x00004d08 set0  0x00000025 , 0x00000000 
+ 00026165  0x00004d09 bpatch  0x000000c6 , 0x00004018 
+ 00026166  0x00004d0a storet  0x00000001 , 0x00000259 
+ 00026167  0x00004d0c fetch  0x00000001 , 0x00000259 
+ 00026168  0x00004d0d rtn  0x00000034 
+ 00026169  0x00004d0e increase  0xffffffff , 0x0000003f 
+ 00026170  0x00004d0f store  0x00000001 , 0x00000259 
+ 00026171  0x00004d12 call  0x00006649 
+ 00026172  0x00004d13 call  0x0000664f 
+ 00026173  0x00004d14 call  0x00006656 
+ 00026174  0x00004d15 call  0x00006664 
+ 00026175  0x00004d17 fetch  0x00000001 , 0x00004820 
+ 00026176  0x00004d18 compare  0x00000002 , 0x0000003f , 0x000000ff 
+ 00026177  0x00004d19 call  0x00006648 , 0x00000001 
+ 00026178  0x00004d1a fetch  0x00000001 , 0x00004820 
+ 00026179  0x00004d1b compare  0x00000001 , 0x0000003f , 0x000000ff 
+ 00026180  0x00004d1c call  0x00006646 , 0x00000001 
+ 00026181  0x00004d1d branch  0x00006637 
+ 00026182  0x00004d21 call  0x0000665d 
+ 00026183  0x00004d22 branch  0x0000654c 
+ 00026184  0x00004d26 rtn 
+ 00026185  0x00004d29 fetch  0x00000001 , 0x000047f2 
+ 00026186  0x00004d2a rtn  0x00000034 
+ 00026187  0x00004d2b increase  0xffffffff , 0x0000003f 
+ 00026188  0x00004d2c store  0x00000001 , 0x000047f2 
+ 00026189  0x00004d2d nrtn  0x00000034 
+ 00026190  0x00004d2e branch  0x0000668a 
+ 00026191  0x00004d31 fetch  0x00000002 , 0x00004812 
+ 00026192  0x00004d32 rtn  0x00000034 
+ 00026193  0x00004d33 increase  0xffffffff , 0x0000003f 
+ 00026194  0x00004d34 store  0x00000002 , 0x00004812 
+ 00026195  0x00004d35 nrtn  0x00000034 
+ 00026196  0x00004d36 call  0x000066a6 
+ 00026197  0x00004d37 branch  0x00003f9a 
+ 00026198  0x00004d3a fetch  0x00000002 , 0x00004814 
+ 00026199  0x00004d3b rtn  0x00000034 
+ 00026200  0x00004d3c increase  0xffffffff , 0x0000003f 
+ 00026201  0x00004d3d store  0x00000002 , 0x00004814 
+ 00026202  0x00004d3e nrtn  0x00000034 
+ 00026203  0x00004d3f call  0x00003f84 
+ 00026204  0x00004d40 branch  0x00003f9a 
+ 00026205  0x00004d43 fetch  0x00000002 , 0x00004818 
+ 00026206  0x00004d44 rtn  0x00000034 
+ 00026207  0x00004d45 increase  0xffffffff , 0x0000003f 
+ 00026208  0x00004d46 store  0x00000002 , 0x00004818 
+ 00026209  0x00004d47 nrtn  0x00000034 
+ 00026210  0x00004d48 jam  0x00000000 , 0x0000481a 
+ 00026211  0x00004d49 rtn 
+ 00026212  0x00004d4c fetch  0x00000002 , 0x00004816 
+ 00026213  0x00004d4d rtn  0x00000034 
+ 00026214  0x00004d4e increase  0xffffffff , 0x0000003f 
+ 00026215  0x00004d4f store  0x00000002 , 0x00004816 
+ 00026216  0x00004d50 nrtn  0x00000034 
+ 00026217  0x00004d51 branch  0x000066b1 
+ 00026218  0x00004d54 set0  0x00000025 , 0x00000000 
+ 00026219  0x00004d55 bpatch  0x000000c7 , 0x00004018 
+ 00026220  0x00004d56 jam  0x00000000 , 0x0000481a 
+ 00026221  0x00004d57 jam  0x00000001 , 0x0000480b 
+ 00026222  0x00004d58 setarg  0x00000000 
+ 00026223  0x00004d59 store  0x00000002 , 0x00004814 
+ 00026224  0x00004d5a call  0x000066b1 
+ 00026225  0x00004d5b fetch  0x00000001 , 0x00004132 
+ 00026226  0x00004d5c isolate1  0x00000001 , 0x0000003f 
+ 00026227  0x00004d5d call  0x00006688 , 0x00000001 
+ 00026228  0x00004d5e fetch  0x00000001 , 0x00004132 
+ 00026229  0x00004d5f isolate1  0x00000000 , 0x0000003f 
+ 00026230  0x00004d60 call  0x00006684 , 0x00000001 
+ 00026231  0x00004d61 call  0x00003fa6 
+ 00026232  0x00004d62 branch  0x00006697 
+ 00026233  0x00004d67 fetch  0x00000006 , 0x00004274 
+ 00026234  0x00004d68 branch  0x00003f79 , 0x00000034 
+ 00026235  0x00004d69 branch  0x00003f6e 
+ 00026236  0x00004d6c fetch  0x00000006 , 0x00004274 
+ 00026237  0x00004d6d branch  0x00006682 , 0x00000034 
+ 00026238  0x00004d6e fetch  0x00000002 , 0x0000480c 
+ 00026239  0x00004d6f store  0x00000002 , 0x00004814 
+ 00026240  0x00004d70 call  0x00003fa4 
+ 00026241  0x00004d71 branch  0x00003f82 
+ 00026242  0x00004d73 call  0x00003f94 
+ 00026243  0x00004d74 branch  0x00003f88 
+ 00026244  0x00004d77 fetch  0x00000002 , 0x000047f4 
+ 00026245  0x00004d78 isolate1  0x00000007 , 0x0000003f 
+ 00026246  0x00004d79 call  0x00003f75 , 0x00000001 
+ 00026247  0x00004d7a rtn 
+ 00026248  0x00004d7c call  0x00005b30 
+ 00026249  0x00004d7d rtn 
+ 00026250  0x00004d80 jam  0x00000001 , 0x0000427f 
+ 00026251  0x00004d81 call  0x00003fa4 
+ 00026252  0x00004d82 call  0x00003fa2 
+ 00026253  0x00004d83 jam  0x00000001 , 0x00004820 
+ 00026254  0x00004d84 setarg  0x00000000 
+ 00026255  0x00004d85 store  0x00000002 , 0x000047f0 
+ 00026256  0x00004d86 store  0x00000001 , 0x000047f2 
+ 00026257  0x00004d87 call  0x00003f9e 
+ 00026258  0x00004d88 branch  0x0000655a 
+ 00026259  0x00004d8b fetch  0x00000001 , 0x000042a9 
+ 00026260  0x00004d8c beq  0x00000033 , 0x00006679 
+ 00026261  0x00004d8d beq  0x00000034 , 0x0000667c 
+ 00026262  0x00004d8e branch  0x00006697 
+ 00026263  0x00004d91 set0  0x00000025 , 0x00000000 
+ 00026264  0x00004d92 bpatch  0x000000c8 , 0x00004019 
+ 00026265  0x00004d93 fetch  0x00000001 , 0x000044f9 
+ 00026266  0x00004d94 increase  0x00000001 , 0x0000003f 
+ 00026267  0x00004d95 store  0x00000001 , 0x000044f9 
+ 00026268  0x00004d96 call  0x00003fa6 
+ 00026269  0x00004d97 fetch  0x00000002 , 0x000047fe 
+ 00026270  0x00004d98 store  0x00000002 , 0x00004812 
+ 00026271  0x00004d99 fetch  0x00000001 , 0x00004132 
+ 00026272  0x00004d9a isolate1  0x00000001 , 0x0000003f 
+ 00026273  0x00004d9b call  0x00003f88 , 0x00000001 
+ 00026274  0x00004d9c fetch  0x00000001 , 0x00004132 
+ 00026275  0x00004d9d isolate1  0x00000000 , 0x0000003f 
+ 00026276  0x00004d9e call  0x00003f7c , 0x00000001 
+ 00026277  0x00004d9f branch  0x00003f94 
+ 00026278  0x00004da2 set0  0x00000025 , 0x00000000 
+ 00026279  0x00004da3 bpatch  0x000000c9 , 0x00004019 
+ 00026280  0x00004da4 setarg  0x00000000 
+ 00026281  0x00004da5 store  0x00000002 , 0x00004812 
+ 00026282  0x00004da6 fetch  0x00000001 , 0x00004132 
+ 00026283  0x00004da7 isolate1  0x00000001 , 0x0000003f 
+ 00026284  0x00004da8 call  0x00003f86 , 0x00000001 
+ 00026285  0x00004da9 fetch  0x00000001 , 0x00004132 
+ 00026286  0x00004daa isolate1  0x00000000 , 0x0000003f 
+ 00026287  0x00004dab call  0x00003f7e , 0x00000001 
+ 00026288  0x00004dac branch  0x00003f98 
+ 00026289  0x00004daf set0  0x00000025 , 0x00000000 
+ 00026290  0x00004db0 bpatch  0x000000ca , 0x00004019 
+ 00026291  0x00004db1 setarg  0x00000000 
+ 00026292  0x00004db2 store  0x00000002 , 0x00004816 
+ 00026293  0x00004db3 fetch  0x00000002 , 0x000047f4 
+ 00026294  0x00004db4 bbit1  0x00000009 , 0x00003f90 
+ 00026295  0x00004db5 fetch  0x00000002 , 0x000047f4 
+ 00026296  0x00004db6 bbit1  0x00000000 , 0x00003f77 
+ 00026297  0x00004db7 rtn 
+ 00026298  0x00004dba set0  0x00000025 , 0x00000000 
+ 00026299  0x00004dbb bpatch  0x000000cb , 0x00004019 
+ 00026300  0x00004dbc arg  0x00000001 , 0x00000002 
+ 00026301  0x00004dbd arg  0x0000481b , 0x00000011 
+ 00026302  0x00004dbe arg  0x000000c6 , 0x00000012 
+ 00026303  0x00004dbf branch  0x0000683e 
+ 00026304  0x00004dc2 set0  0x00000025 , 0x00000000 
+ 00026305  0x00004dc3 bpatch  0x000000cc , 0x00004019 
+ 00026306  0x00004dc4 arg  0x00000001 , 0x00000002 
+ 00026307  0x00004dc5 arg  0x0000481b , 0x00000011 
+ 00026308  0x00004dc6 arg  0x000000c6 , 0x00000012 
+ 00026309  0x00004dc7 branch  0x0000681d 
+ 00026310  0x00004dd0 set0  0x00000025 , 0x00000000 
+ 00026311  0x00004dd1 bpatch  0x000000fe , 0x0000401f 
+ 00026312  0x00004dd2 hfetch  0x00000001 , 0x00008073 
+ 00026313  0x00004dd3 arg  0x00000006 , 0x00000002 
+ 00026314  0x00004dd4 ior  0x00000002 , 0x0000003f 
+ 00026315  0x00004dd5 hstore  0x00000001 , 0x00008073 
+ 00026316  0x00004dd6 hfetch  0x00000001 , 0x00008077 
+ 00026317  0x00004dd7 ior  0x00000002 , 0x0000003f 
+ 00026318  0x00004dd8 hstore  0x00000001 , 0x00008077 
+ 00026319  0x00004dd9 hjam  0x00000000 , 0x00008081 
+ 00026320  0x00004dda hfetch  0x00000001 , 0x00008077 
+ 00026321  0x00004ddb set0  0x00000001 , 0x0000003f 
+ 00026322  0x00004ddc set0  0x00000002 , 0x0000003f 
+ 00026323  0x00004ddd hstore  0x00000001 , 0x00008077 
+ 00026324  0x00004dde nop  0x0000001e 
+ 00026325  0x00004ddf hjam  0x00000001 , 0x00008081 
+ 00026326  0x00004de0 rtn 
+ 00026327  0x00004de2 branch  0x000067a1 
+ 00026328  0x00004de5 branch  0x000067a9 
+ 00026329  0x00004ded nbranch  0x000066dd , 0x00000028 
+ 00026330  0x00004dee hfetch  0x00000001 , 0x00008085 
+ 00026331  0x00004def or_into  0x00000020 , 0x0000003f 
+ 00026332  0x00004df0 hstore  0x00000001 , 0x00008085 
+ 00026333  0x00004df2 copy  0x00000002 , 0x0000003e 
+ 00026334  0x00004df3 branch  0x000066e0 , 0x00000005 
+ 00026335  0x00004df4 copy  0x00000013 , 0x0000003d 
+ 00026336  0x00004df6 isolate0  0x00000000 , 0x0000003e 
+ 00026337  0x00004df7 branch  0x00006763 
+ 00026338  0x00004dfb force  0x00000004 , 0x00000002 
+ 00026339  0x00004dfd arg  0x0000022c , 0x00000011 
+ 00026340  0x00004dfe hfetch  0x00000001 , 0x00008085 
+ 00026341  0x00004dff and_into  0x000000df , 0x0000003f 
+ 00026342  0x00004e00 hstore  0x00000001 , 0x00008085 
+ 00026343  0x00004e01 call  0x000066dd 
+ 00026344  0x00004e02 arg  0x000055aa , 0x00000011 
+ 00026345  0x00004e03 fetch  0x00000002 , 0x0000022c 
+ 00026346  0x00004e04 ifetcht  0x00000002 , 0x00000006 
+ 00026347  0x00004e05 isub  0x00000011 , 0x0000003e 
+ 00026348  0x00004e06 rtn 
+ 00026349  0x00004e09 arg  0x00000002 , 0x00000002 
+ 00026350  0x00004e0a arg  0x00000232 , 0x00000011 
+ 00026351  0x00004e0b call  0x000066dd 
+ 00026352  0x00004e0c fetch  0x00000002 , 0x00000232 
+ 00026353  0x00004e0d store  0x00000002 , 0x00000225 
+ 00026354  0x00004e0e call  0x000066f4 , 0x00000028 
+ 00026355  0x00004e0f rtn 
+ 00026356  0x00004e12 arg  0x00000010 , 0x00000002 
+ 00026357  0x00004e13 arg  0x00000234 , 0x00000011 
+ 00026358  0x00004e14 hfetch  0x00000001 , 0x00008085 
+ 00026359  0x00004e15 and_into  0x000000df , 0x0000003f 
+ 00026360  0x00004e16 hstore  0x00000001 , 0x00008085 
+ 00026361  0x00004e17 call  0x000066dd 
+ 00026362  0x00004e18 arg  0x00000234 , 0x00000006 
+ 00026363  0x00004e19 arg  0x00000010 , 0x00000039 
+ 00026364  0x00004e1a call  0x00007584 
+ 00026365  0x00004e1b call  0x0000753d 
+ 00026366  0x00004e1c call  0x0000759d 
+ 00026367  0x00004e1d branch  0x00007534 
+ 00026368  0x00004e20 disable  0x0000002d 
+ 00026369  0x00004e21 call  0x000066e2 
+ 00026370  0x00004e22 nrtn  0x00000005 
+ 00026371  0x00004e23 enable  0x0000002d 
+ 00026372  0x00004e24 hjam  0x00000080 , 0x00008023 
+ 00026373  0x00004e25 hjam  0x00000000 , 0x00008022 
+ 00026374  0x00004e26 hjam  0x00000000 , 0x00008024 
+ 00026375  0x00004e27 arg  0x00008025 , 0x00000011 
+ 00026376  0x00004e28 call  0x000066d9 
+ 00026377  0x00004e29 hjam  0x00000000 , 0x00008023 
+ 00026378  0x00004e2a call  0x000066e2 
+ 00026379  0x00004e2b nrtn  0x00000005 
+ 00026380  0x00004e2c force  0x00000000 , 0x0000003f 
+ 00026381  0x00004e2d hstore  0x00000002 , 0x00008288 
+ 00026382  0x00004e2e arg  0x0000828a , 0x00000011 
+ 00026383  0x00004e2f call  0x000066d9 
+ 00026384  0x00004e31 arg  0x00000006 , 0x00000002 
+ 00026385  0x00004e32 call  0x000066e3 
+ 00026386  0x00004e33 nrtn  0x00000005 
+ 00026387  0x00004e34 ifetch  0x00000002 , 0x00000006 
+ 00026388  0x00004e35 iforce  0x00000011 
+ 00026389  0x00004e36 call  0x000066dd 
+ 00026390  0x00004e37 branch  0x00006710 
+ 00026391  0x00004e3e call  0x00007f36 
+ 00026392  0x00004e3f setarg  0x00001000 
+ 00026393  0x00004e40 store  0x00000002 , 0x00000225 
+ 00026394  0x00004e41 arg  0x00006823 , 0x00000013 
+ 00026395  0x00004e42 arg  0x00000002 , 0x00000039 
+ 00026396  0x00004e44 call  0x000066e2 
+ 00026397  0x00004e45 nrtn  0x00000005 
+ 00026398  0x00004e46 fetch  0x00000002 , 0x00000225 
+ 00026399  0x00004e47 byteswap  0x0000003f , 0x0000003f 
+ 00026400  0x00004e48 iadd  0x00000002 , 0x0000003f 
+ 00026401  0x00004e49 byteswap  0x0000003f , 0x0000003f 
+ 00026402  0x00004e4a store  0x00000002 , 0x00000225 
+ 00026403  0x00004e4b loop  0x0000671c 
+ 00026404  0x00004e4c branch  0x00006710 
+ 00026405  0x00004e4f hjam  0x00000025 , 0x00008050 
+ 00026406  0x00004e50 hjam  0x00000005 , 0x00008280 
+ 00026407  0x00004e51 call  0x00007f36 
+ 00026408  0x00004e53 disable  0x00000028 
+ 00026409  0x00004e54 call  0x0000688a 
+ 00026410  0x00004e55 setarg  0x00000000 
+ 00026411  0x00004e56 arg  0x00000221 , 0x00000011 
+ 00026412  0x00004e57 arg  0x00000002 , 0x00000002 
+ 00026413  0x00004e58 call  0x000068d3 
+ 00026414  0x00004e59 fetch  0x00000002 , 0x00000221 
+ 00026415  0x00004e5a bbit0  0x00000007 , 0x00006738 
+ 00026416  0x00004e5b setarg  0x000007f0 
+ 00026417  0x00004e5c arg  0x00000234 , 0x00000011 
+ 00026418  0x00004e5d arg  0x00000010 , 0x00000002 
+ 00026419  0x00004e5e call  0x000068d3 
+ 00026420  0x00004e5f hjam  0x00000008 , 0x00008006 
+ 00026421  0x00004e60 arg  0x00000234 , 0x00000006 
+ 00026422  0x00004e61 call  0x00007590 
+ 00026423  0x00004e62 enable  0x00000028 
+ 00026424  0x00004e64 fetch  0x00000002 , 0x00000221 
+ 00026425  0x00004e65 byteswap  0x0000003f , 0x0000003f 
+ 00026426  0x00004e66 arg  0x000007ff , 0x00000002 
+ 00026427  0x00004e67 iand  0x00000002 , 0x0000003f 
+ 00026428  0x00004e68 branch  0x00006744 , 0x00000005 
+ 00026429  0x00004e69 call  0x0000688f 
+ 00026430  0x00004e6a arg  0x000068d8 , 0x00000013 
+ 00026431  0x00004e6b call  0x000066f4 , 0x00000028 
+ 00026432  0x00004e6c call  0x00006700 
+ 00026433  0x00004e6d fetch  0x00000001 , 0x00000220 
+ 00026434  0x00004e6e compare  0x00000003 , 0x0000003f , 0x00000003 
+ 00026435  0x00004e6f nbranch  0x00006738 , 0x00000001 
+ 00026436  0x00004e71 call  0x0000688d 
+ 00026437  0x00004e72 fetch  0x00000001 , 0x00000221 
+ 00026438  0x00004e73 bbit1  0x00000005 , 0x00006751 
+ 00026439  0x00004e74 setarg  0x00000000 
+ 00026440  0x00004e75 store  0x00000003 , 0x00000224 
+ 00026441  0x00004e76 call  0x000067b9 
+ 00026442  0x00004e77 arg  0x000067db , 0x00000013 
+ 00026443  0x00004e78 call  0x000066ed 
+ 00026444  0x00004e79 call  0x00006700 
+ 00026445  0x00004e7a nbranch  0x00006751 , 0x0000002d 
+ 00026446  0x00004e7b fetch  0x00000001 , 0x00000220 
+ 00026447  0x00004e7c compare  0x00000003 , 0x0000003f , 0x00000003 
+ 00026448  0x00004e7d nbranch  0x00006744 , 0x00000001 
+ 00026449  0x00004e7f fetch  0x00000001 , 0x00000221 
+ 00026450  0x00004e80 bbit1  0x00000006 , 0x0000675d 
+ 00026451  0x00004e81 setarg  0x00000000 
+ 00026452  0x00004e82 store  0x00000002 , 0x00000225 
+ 00026453  0x00004e83 arg  0x00006823 , 0x00000013 
+ 00026454  0x00004e84 call  0x00006805 
+ 00026455  0x00004e85 call  0x000066ed 
+ 00026456  0x00004e86 call  0x00006700 
+ 00026457  0x00004e87 nbranch  0x0000675d , 0x0000002d 
+ 00026458  0x00004e88 fetch  0x00000001 , 0x00000220 
+ 00026459  0x00004e89 compare  0x00000003 , 0x0000003f , 0x00000003 
+ 00026460  0x00004e8a nbranch  0x00006751 , 0x00000001 
+ 00026461  0x00004e8c hjam  0x00000021 , 0x00008050 
+ 00026462  0x00004e8d fetch  0x00000001 , 0x00000221 
+ 00026463  0x00004e8e rtnbit0  0x00000004 
+ 00026464  0x00004e8f call  0x00004461 
+ 00026465  0x00004e91 call  0x000044a3 
+ 00026466  0x00004e92 branch  0x00006761 
+ 00026467  0x00004e96 fetch  0x00000001 , 0x00000220 
+ 00026468  0x00004e97 lshift  0x0000003f , 0x0000003f 
+ 00026469  0x00004e98 setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00026470  0x00004e99 isolate0  0x0000000f , 0x00000011 
+ 00026471  0x00004e9a rtn  0x00000001 
+ 00026472  0x00004e9b store  0x00000001 , 0x00000220 
+ 00026473  0x00004e9c rtn 
+ 00026474  0x00004ea0 hfetch  0x00000001 , 0x00008085 
+ 00026475  0x00004ea1 rtnbit0  0x00000005 
+ 00026476  0x00004ea2 branch  0x00006770 
+ 00026477  0x00004ea4 hfetch  0x00000001 , 0x0000812c 
+ 00026478  0x00004ea5 qisolate1  0x0000003f 
+ 00026479  0x00004ea6 rtn  0x00000001 
+ 00026480  0x00004ea8 hfetch  0x00000001 , 0x00008108 
+ 00026481  0x00004ea9 bbit0  0x00000001 , 0x0000676d 
+ 00026482  0x00004eaa call  0x00007534 
+ 00026483  0x00004eab branch  0x0000676d 
+ 00026484  0x00004eb0 copy  0x00000039 , 0x00000002 
+ 00026485  0x00004eb1 storet  0x00000002 , 0x0000423c 
+ 00026486  0x00004eb2 hjam  0x00000080 , 0x00008023 
+ 00026487  0x00004eb3 hjam  0x00000000 , 0x00008022 
+ 00026488  0x00004eb4 hjam  0x00000000 , 0x00008024 
+ 00026489  0x00004eb5 store  0x00000002 , 0x0000423a 
+ 00026490  0x00004eb6 iforce  0x00000005 
+ 00026491  0x00004eb7 lshift2  0x00000039 , 0x00000039 
+ 00026492  0x00004eb9 hfetch  0x00000001 , 0x00008025 
+ 00026493  0x00004eba istore  0x00000001 , 0x00000005 
+ 00026494  0x00004ebb loop  0x0000677c 
+ 00026495  0x00004ebc hjam  0x00000000 , 0x00008023 
+ 00026496  0x00004ebd rtn 
+ 00026497  0x00004ec0 fetch  0x00000002 , 0x0000423a 
+ 00026498  0x00004ec1 rtn  0x00000034 
+ 00026499  0x00004ec2 hjam  0x00000080 , 0x00008023 
+ 00026500  0x00004ec3 hjam  0x00000000 , 0x00008022 
+ 00026501  0x00004ec4 hjam  0x00000000 , 0x00008024 
+ 00026502  0x00004ec5 fetcht  0x00000002 , 0x0000423c 
+ 00026503  0x00004ec6 lshift2  0x00000002 , 0x00000039 
+ 00026504  0x00004ec7 iforce  0x00000006 
+ 00026505  0x00004ec9 ifetch  0x00000001 , 0x00000006 
+ 00026506  0x00004eca hstore  0x00000001 , 0x00008025 
+ 00026507  0x00004ecb loop  0x00006789 
+ 00026508  0x00004ecc hjam  0x00000000 , 0x00008023 
+ 00026509  0x00004ecd rtn 
+ 00026510  0x00004ed3 set0  0x00000025 , 0x00000000 
+ 00026511  0x00004ed4 bpatch  0x000000ff , 0x0000401f 
+ 00026512  0x00004ed5 hjam  0x00000075 , 0x00008086 
+ 00026513  0x00004ed6 hjam  0x0000000a , 0x00008087 
+ 00026514  0x00004ed7 setarg  0x00000223 
+ 00026515  0x00004ed8 hstore  0x00000002 , 0x0000808a 
+ 00026516  0x00004ed9 setarg  0x00000228 
+ 00026517  0x00004eda hstore  0x00000002 , 0x0000808c 
+ 00026518  0x00004edb hfetch  0x00000001 , 0x00008081 
+ 00026519  0x00004edc set1  0x00000000 , 0x0000003f 
+ 00026520  0x00004edd set0  0x00000001 , 0x0000003f 
+ 00026521  0x00004ede hstore  0x00000001 , 0x00008081 
+ 00026522  0x00004edf rtn 
+ 00026523  0x00004ee2 hfetch  0x00000001 , 0x00008086 
+ 00026524  0x00004ee3 set1  0x00000007 , 0x0000003f 
+ 00026525  0x00004ee4 hstore  0x00000001 , 0x00008086 
+ 00026526  0x00004ee5 set0  0x00000007 , 0x0000003f 
+ 00026527  0x00004ee6 hstore  0x00000001 , 0x00008086 
+ 00026528  0x00004ee7 rtn 
+ 00026529  0x00004eec set1  0x00000007 , 0x0000003f 
+ 00026530  0x00004eed store  0x00000002 , 0x00000223 
+ 00026531  0x00004eee set1  0x00000025 , 0x00000000 
+ 00026532  0x00004eef bpatch  0x00000000 , 0x00004020 
+ 00026533  0x00004ef0 hjam  0x00000002 , 0x00008088 
+ 00026534  0x00004ef1 hjam  0x00000000 , 0x0000808e 
+ 00026535  0x00004ef2 hjam  0x00000002 , 0x00008006 
+ 00026536  0x00004ef3 branch  0x000067b3 
+ 00026537  0x00004ef7 force  0x00000001 , 0x00000002 
+ 00026538  0x00004efb store  0x00000001 , 0x00000223 
+ 00026539  0x00004efc set1  0x00000025 , 0x00000000 
+ 00026540  0x00004efd bpatch  0x00000001 , 0x00004020 
+ 00026541  0x00004efe hjam  0x00000001 , 0x00008088 
+ 00026542  0x00004eff hstoret  0x00000002 , 0x0000808e 
+ 00026543  0x00004f00 hjam  0x00000002 , 0x00008006 
+ 00026544  0x00004f01 call  0x000067b3 
+ 00026545  0x00004f02 fetch  0x00000001 , 0x00000228 
+ 00026546  0x00004f03 rtn 
+ 00026547  0x00004f06 fetch  0x00000002 , 0x00004177 
+ 00026548  0x00004f07 increase  0x00000001 , 0x0000003f 
+ 00026549  0x00004f08 store  0x00000002 , 0x00004177 
+ 00026550  0x00004f09 hfetch  0x00000001 , 0x0000812c 
+ 00026551  0x00004f0a bbit0  0x00000003 , 0x000067b3 
+ 00026552  0x00004f0b rtn 
+ 00026553  0x00004f0e hjam  0x00000040 , 0x00008086 
+ 00026554  0x00004f0f hjam  0x00000000 , 0x00008087 
+ 00026555  0x00004f10 hfetch  0x00000001 , 0x00008081 
+ 00026556  0x00004f11 set0  0x00000000 , 0x0000003f 
+ 00026557  0x00004f12 set1  0x00000001 , 0x0000003f 
+ 00026558  0x00004f13 hstore  0x00000001 , 0x00008081 
+ 00026559  0x00004f14 setarg  0x00000000 
+ 00026560  0x00004f15 store  0x00000004 , 0x00000223 
+ 00026561  0x00004f16 rtn 
+ 00026562  0x00004f19 setarg  0x00000000 
+ 00026563  0x00004f1a hstore  0x00000002 , 0x0000808e 
+ 00026564  0x00004f1b setarg  0x00000001 
+ 00026565  0x00004f1c hstore  0x00000001 , 0x00008088 
+ 00026566  0x00004f1d setarg  0x00000223 
+ 00026567  0x00004f1e hstore  0x00000002 , 0x0000808a 
+ 00026568  0x00004f1f jam  0x00000006 , 0x00000223 
+ 00026569  0x00004f20 hjam  0x00000002 , 0x00008006 
+ 00026570  0x00004f21 branch  0x000067b3 
+ 00026571  0x00004f26 increase  0x00000004 , 0x00000002 
+ 00026572  0x00004f27 hstoret  0x00000002 , 0x00008088 
+ 00026573  0x00004f28 increase  0xfffffffc , 0x00000011 
+ 00026574  0x00004f29 arg  0x00000002 , 0x00000002 
+ 00026575  0x00004f2a istoret  0x00000001 , 0x00000011 
+ 00026576  0x00004f2b rshift16  0x0000003f , 0x00000002 
+ 00026577  0x00004f2c istoret  0x00000001 , 0x00000005 
+ 00026578  0x00004f2d rshift8  0x0000003f , 0x00000002 
+ 00026579  0x00004f2e istoret  0x00000001 , 0x00000005 
+ 00026580  0x00004f2f istore  0x00000001 , 0x00000005 
+ 00026581  0x00004f30 deposit  0x00000011 
+ 00026582  0x00004f31 hstore  0x00000002 , 0x0000808a 
+ 00026583  0x00004f32 setarg  0x00000000 
+ 00026584  0x00004f33 hstore  0x00000002 , 0x0000808e 
+ 00026585  0x00004f34 hjam  0x00000002 , 0x00008006 
+ 00026586  0x00004f35 branch  0x000067b3 
+ 00026587  0x00004f3a hstoret  0x00000002 , 0x0000808e 
+ 00026588  0x00004f3b setarg  0x00000004 
+ 00026589  0x00004f3c hstore  0x00000002 , 0x00008088 
+ 00026590  0x00004f3d jam  0x00000003 , 0x00000223 
+ 00026591  0x00004f3e setarg  0x00000223 
+ 00026592  0x00004f3f hstore  0x00000002 , 0x0000808a 
+ 00026593  0x00004f40 deposit  0x00000011 
+ 00026594  0x00004f41 hstore  0x00000002 , 0x0000808c 
+ 00026595  0x00004f42 hfetch  0x00000001 , 0x00008086 
+ 00026596  0x00004f43 isolate0  0x0000000f , 0x00000011 
+ 00026597  0x00004f44 setflag  0x00000001 , 0x00000006 , 0x0000003f 
+ 00026598  0x00004f45 hstore  0x00000001 , 0x00008086 
+ 00026599  0x00004f46 hjam  0x00000002 , 0x00008006 
+ 00026600  0x00004f48 hfetch  0x00000001 , 0x0000812c 
+ 00026601  0x00004f49 bbit1  0x00000007 , 0x000067e8 
+ 00026602  0x00004f4a arg  0x00000003 , 0x00000007 
+ 00026603  0x00004f4b call  0x0000676a 
+ 00026604  0x00004f4c call  0x000067b3 
+ 00026605  0x00004f4d isolate1  0x00000002 , 0x0000003f 
+ 00026606  0x00004f4e call  0x00006763 
+ 00026607  0x00004f4f fetch  0x00000001 , 0x00000224 
+ 00026608  0x00004f50 lshift16  0x0000003f , 0x00000012 
+ 00026609  0x00004f51 fetch  0x00000001 , 0x00000225 
+ 00026610  0x00004f52 lshift8  0x0000003f , 0x0000003f 
+ 00026611  0x00004f53 ior  0x00000012 , 0x00000012 
+ 00026612  0x00004f54 fetch  0x00000001 , 0x00000226 
+ 00026613  0x00004f55 ior  0x00000012 , 0x0000003f 
+ 00026614  0x00004f56 iadd  0x00000002 , 0x0000003f 
+ 00026615  0x00004f57 store  0x00000001 , 0x00000226 
+ 00026616  0x00004f58 rshift8  0x0000003f , 0x0000003f 
+ 00026617  0x00004f59 store  0x00000001 , 0x00000225 
+ 00026618  0x00004f5a rshift8  0x0000003f , 0x0000003f 
+ 00026619  0x00004f5b store  0x00000001 , 0x00000224 
+ 00026620  0x00004f5c rtn 
+ 00026621  0x00004f61 hjam  0x0000000a , 0x00008042 
+ 00026622  0x00004f62 hjam  0x00000002 , 0x00008091 
+ 00026623  0x00004f63 hjam  0x00000003 , 0x00008092 
+ 00026624  0x00004f64 hjam  0x00000003 , 0x00008093 
+ 00026625  0x00004f65 hjam  0x00000003 , 0x00008094 
+ 00026626  0x00004f66 hjam  0x00000003 , 0x00008095 
+ 00026627  0x00004f67 hjam  0x00000002 , 0x00008096 
+ 00026628  0x00004f68 rtn 
+ 00026629  0x00004f6b hjam  0x00000005 , 0x00008091 
+ 00026630  0x00004f6c hjam  0x00000007 , 0x00008092 
+ 00026631  0x00004f6d hjam  0x00000007 , 0x00008093 
+ 00026632  0x00004f6e hjam  0x00000007 , 0x00008094 
+ 00026633  0x00004f6f hjam  0x00000007 , 0x00008095 
+ 00026634  0x00004f70 hjam  0x00000005 , 0x00008096 
+ 00026635  0x00004f71 rtn 
+ 00026636  0x00004f76 hfetch  0x00000001 , 0x0000812c 
+ 00026637  0x00004f77 bbit0  0x00000005 , 0x0000680c 
+ 00026638  0x00004f78 rtn 
+ 00026639  0x00004f7c store  0x00000001 , 0x00000224 
+ 00026640  0x00004f7d setarg  0x00000224 
+ 00026641  0x00004f7e hstore  0x00000002 , 0x0000809a 
+ 00026642  0x00004f7f setarg  0x00000001 
+ 00026643  0x00004f80 hstore  0x00000002 , 0x00008098 
+ 00026644  0x00004f81 hstoret  0x00000002 , 0x0000809e 
+ 00026645  0x00004f82 deposit  0x00000011 
+ 00026646  0x00004f83 hstore  0x00000002 , 0x0000809c 
+ 00026647  0x00004f84 hjam  0x00000001 , 0x00008090 
+ 00026648  0x00004f85 hjam  0x00000004 , 0x00008006 
+ 00026649  0x00004f86 branch  0x0000680c 
+ 00026650  0x00004f89 byteswap  0x0000003f , 0x0000003f 
+ 00026651  0x00004f8a store  0x00000002 , 0x00000225 
+ 00026652  0x00004f8b rtn 
+ 00026653  0x00004f92 set1  0x00000025 , 0x00000000 
+ 00026654  0x00004f93 bpatch  0x00000002 , 0x00004020 
+ 00026655  0x00004f94 fetch  0x00000002 , 0x0000429b 
+ 00026656  0x00004f95 iadd  0x00000012 , 0x0000003f 
+ 00026657  0x00004f99 byteswap  0x0000003f , 0x0000003f 
+ 00026658  0x00004f9a store  0x00000002 , 0x00000225 
+ 00026659  0x00004f9e set1  0x00000025 , 0x00000000 
+ 00026660  0x00004f9f bpatch  0x00000003 , 0x00004020 
+ 00026661  0x00004fa0 setarg  0x00000004 
+ 00026662  0x00004fa1 hstore  0x00000002 , 0x00008098 
+ 00026663  0x00004fa2 jam  0x000000a0 , 0x00000224 
+ 00026664  0x00004fa3 jam  0x000000a1 , 0x00000227 
+ 00026665  0x00004fa4 setarg  0x00000224 
+ 00026666  0x00004fa5 hstore  0x00000002 , 0x0000809a 
+ 00026667  0x00004fa6 hstoret  0x00000002 , 0x0000809e 
+ 00026668  0x00004fa7 deposit  0x00000011 
+ 00026669  0x00004fa8 hstore  0x00000002 , 0x0000809c 
+ 00026670  0x00004fa9 setarg  0x00000002 
+ 00026671  0x00004faa isolate0  0x0000000f , 0x00000011 
+ 00026672  0x00004fab setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00026673  0x00004fac hstore  0x00000001 , 0x00008090 
+ 00026674  0x00004fad hjam  0x00000004 , 0x00008006 
+ 00026675  0x00004fae arg  0x00000005 , 0x00000007 
+ 00026676  0x00004faf call  0x0000676a 
+ 00026677  0x00004fb0 call  0x0000680c 
+ 00026678  0x00004fb1 isolate1  0x00000004 , 0x0000003f 
+ 00026679  0x00004fb2 call  0x00006763 
+ 00026680  0x00004fb3 fetch  0x00000002 , 0x00000225 
+ 00026681  0x00004fb4 byteswap  0x0000003f , 0x0000003f 
+ 00026682  0x00004fb5 iadd  0x00000002 , 0x0000003f 
+ 00026683  0x00004fb6 byteswap  0x0000003f , 0x0000003f 
+ 00026684  0x00004fb7 store  0x00000002 , 0x00000225 
+ 00026685  0x00004fb8 rtn 
+ 00026686  0x00004fbf set1  0x00000025 , 0x00000000 
+ 00026687  0x00004fc0 bpatch  0x00000004 , 0x00004020 
+ 00026688  0x00004fc1 fetch  0x00000002 , 0x0000429b 
+ 00026689  0x00004fc2 iadd  0x00000012 , 0x0000003f 
+ 00026690  0x00004fc6 store  0x00000002 , 0x00000161 
+ 00026691  0x00004fc7 set1  0x00000025 , 0x00000000 
+ 00026692  0x00004fc8 bpatch  0x00000005 , 0x00004020 
+ 00026693  0x00004fc9 storet  0x00000002 , 0x000002a0 
+ 00026694  0x00004fca copy  0x00000011 , 0x0000003f 
+ 00026695  0x00004fcb store  0x00000002 , 0x000002b7 
+ 00026696  0x00004fcd call  0x00006858 
+ 00026697  0x00004fcf fetcht  0x00000002 , 0x000002b0 
+ 00026698  0x00004fd0 fetch  0x00000002 , 0x000002b7 
+ 00026699  0x00004fd1 copy  0x0000003f , 0x00000011 
+ 00026700  0x00004fd2 fetch  0x00000002 , 0x00000161 
+ 00026701  0x00004fd4 call  0x00006870 
+ 00026702  0x00004fd6 fetch  0x00000002 , 0x000002b0 
+ 00026703  0x00004fd7 fetcht  0x00000002 , 0x000002b7 
+ 00026704  0x00004fd8 iadd  0x00000002 , 0x00000002 
+ 00026705  0x00004fd9 storet  0x00000002 , 0x000002b7 
+ 00026706  0x00004fda fetcht  0x00000002 , 0x00000161 
+ 00026707  0x00004fdb iadd  0x00000002 , 0x00000002 
+ 00026708  0x00004fdc storet  0x00000002 , 0x00000161 
+ 00026709  0x00004fdd fetch  0x00000002 , 0x000002a0 
+ 00026710  0x00004fde nbranch  0x00006848 , 0x00000034 
+ 00026711  0x00004fdf rtn 
+ 00026712  0x00004fe8 set1  0x00000025 , 0x00000000 
+ 00026713  0x00004fe9 bpatch  0x00000006 , 0x00004020 
+ 00026714  0x00004fea fetch  0x00000002 , 0x000042aa 
+ 00026715  0x00004feb increase  0xffffffff , 0x0000003f 
+ 00026716  0x00004fec fetcht  0x00000002 , 0x00000161 
+ 00026717  0x00004fed ior  0x00000002 , 0x0000003f 
+ 00026718  0x00004fee increase  0x00000001 , 0x0000003f 
+ 00026719  0x00004fef store  0x00000003 , 0x000002b4 
+ 00026720  0x00004ff1 fetch  0x00000002 , 0x000002a0 
+ 00026721  0x00004ff2 iadd  0x00000002 , 0x0000003f 
+ 00026722  0x00004ff4 fetcht  0x00000003 , 0x000002b4 
+ 00026723  0x00004ff5 isub  0x00000002 , 0x0000003f 
+ 00026724  0x00004ff6 nbranch  0x0000686b , 0x00000002 
+ 00026725  0x00004ff7 store  0x00000002 , 0x000002a0 
+ 00026726  0x00004ff8 fetch  0x00000003 , 0x000002b4 
+ 00026727  0x00004ff9 fetcht  0x00000002 , 0x00000161 
+ 00026728  0x00004ffa isub  0x00000002 , 0x0000003f 
+ 00026729  0x00004ffb store  0x00000002 , 0x000002b0 
+ 00026730  0x00004ffc rtn 
+ 00026731  0x00004ffe fetch  0x00000002 , 0x000002a0 
+ 00026732  0x00004fff store  0x00000002 , 0x000002b0 
+ 00026733  0x00005000 setarg  0x00000000 
+ 00026734  0x00005001 store  0x00000002 , 0x000002a0 
+ 00026735  0x00005002 rtn 
+ 00026736  0x00005008 copy  0x0000003f , 0x00000012 
+ 00026737  0x00005009 set1  0x00000025 , 0x00000000 
+ 00026738  0x0000500a bpatch  0x00000007 , 0x00004020 
+ 00026739  0x0000500b copy  0x00000012 , 0x0000003f 
+ 00026740  0x0000500c increase  0x00000003 , 0x00000002 
+ 00026741  0x0000500d hstoret  0x00000002 , 0x00008098 
+ 00026742  0x0000500e increase  0xfffffffd , 0x00000011 
+ 00026743  0x0000500f ifetcht  0x00000003 , 0x00000011 
+ 00026744  0x00005010 copy  0x00000002 , 0x00000012 
+ 00026745  0x00005011 arg  0x000000a0 , 0x00000002 
+ 00026746  0x00005012 istoret  0x00000001 , 0x00000011 
+ 00026747  0x00005013 byteswap  0x0000003f , 0x0000003f 
+ 00026748  0x00005014 istore  0x00000002 , 0x00000005 
+ 00026749  0x00005015 deposit  0x00000011 
+ 00026750  0x00005016 hstore  0x00000002 , 0x0000809a 
+ 00026751  0x00005017 setarg  0x00000000 
+ 00026752  0x00005018 hstore  0x00000002 , 0x0000809e 
+ 00026753  0x00005019 hjam  0x00000001 , 0x00008090 
+ 00026754  0x0000501a hjam  0x00000004 , 0x00008006 
+ 00026755  0x0000501b call  0x0000680c 
+ 00026756  0x0000501c copy  0x00000012 , 0x0000003f 
+ 00026757  0x0000501d istore  0x00000003 , 0x00000011 
+ 00026758  0x0000501e nop  0x00002710 
+ 00026759  0x0000501f nop  0x00002710 
+ 00026760  0x00005020 nop  0x00002710 
+ 00026761  0x00005021 rtn 
+ 00026762  0x00005026 hjam  0x00000070 , 0x00008973 
+ 00026763  0x00005027 nop  0x00000bb8 
+ 00026764  0x00005028 rtn 
+ 00026765  0x0000502b hjam  0x00000030 , 0x00008973 
+ 00026766  0x0000502c rtn 
+ 00026767  0x0000502f lshift3  0x0000003f , 0x0000003f 
+ 00026768  0x00005030 hstore  0x00000002 , 0x00008045 
+ 00026769  0x00005031 hjam  0x00000000 , 0x0000804b 
+ 00026770  0x00005032 rtn 
+ 00026771  0x00005036 call  0x0000688f 
+ 00026772  0x00005037 call  0x000068c0 
+ 00026773  0x00005039 ifetcht  0x00000001 , 0x00000011 
+ 00026774  0x0000503a increase  0x00000001 , 0x00000011 
+ 00026775  0x0000503b force  0x00000000 , 0x00000007 
+ 00026776  0x0000503d qisolate0  0x00000002 
+ 00026777  0x0000503e branch  0x000068b7 , 0x00000001 
+ 00026778  0x0000503f hfetch  0x00000001 , 0x00008046 
+ 00026779  0x00005040 set1  0x00000006 , 0x0000003f 
+ 00026780  0x00005041 set1  0x00000007 , 0x0000003f 
+ 00026781  0x00005042 hstore  0x00000001 , 0x00008046 
+ 00026782  0x00005043 hjam  0x00000002 , 0x00008047 
+ 00026783  0x00005044 hjam  0x00000082 , 0x00008047 
+ 00026784  0x00005045 set0  0x00000007 , 0x0000003f 
+ 00026785  0x00005046 hstore  0x00000001 , 0x00008046 
+ 00026786  0x00005047 hjam  0x0000008a , 0x00008047 
+ 00026787  0x00005048 nop  0x0000000b 
+ 00026788  0x00005049 hjam  0x000000ca , 0x00008047 
+ 00026789  0x0000504a nop  0x00000021 
+ 00026790  0x0000504b hjam  0x0000004a , 0x00008047 
+ 00026791  0x0000504c nop  0x0000002c 
+ 00026792  0x0000504d hjam  0x000000ca , 0x00008047 
+ 00026793  0x0000504e nop  0x00000016 
+ 00026794  0x0000504f hjam  0x0000008a , 0x00008047 
+ 00026795  0x00005050 nop  0x00000021 
+ 00026796  0x00005051 hjam  0x00000082 , 0x00008047 
+ 00026797  0x00005052 nop  0x00000001 
+ 00026798  0x00005053 hjam  0x00000092 , 0x00008047 
+ 00026799  0x00005054 nop  0x0000000a 
+ 00026800  0x00005055 hjam  0x000000b2 , 0x00008047 
+ 00026801  0x00005056 hfetch  0x00000001 , 0x00008007 
+ 00026802  0x00005057 hjam  0x00000092 , 0x00008047 
+ 00026803  0x00005058 nop  0x00000001 
+ 00026804  0x00005059 hjam  0x00000082 , 0x00008047 
+ 00026805  0x0000505a qisolate0  0x0000003f 
+ 00026806  0x0000505b branch  0x00006898 , 0x00000001 
+ 00026807  0x0000505d hfetch  0x00000002 , 0x00008045 
+ 00026808  0x0000505e increase  0x00000001 , 0x0000003f 
+ 00026809  0x0000505f hstore  0x00000002 , 0x00008045 
+ 00026810  0x00005060 increase  0x00000001 , 0x00000007 
+ 00026811  0x00005061 compare  0x00000008 , 0x00000007 , 0x0000000f 
+ 00026812  0x00005062 nbranch  0x00006898 , 0x00000001 
+ 00026813  0x00005063 loop  0x00006895 
+ 00026814  0x00005064 hjam  0x00000083 , 0x00008047 
+ 00026815  0x00005065 rtn 
+ 00026816  0x00005068 hjam  0x00000082 , 0x00008047 
+ 00026817  0x00005069 nop  0x0000000c 
+ 00026818  0x0000506a hjam  0x00000080 , 0x00008047 
+ 00026819  0x0000506b hjam  0x00000082 , 0x00008047 
+ 00026820  0x0000506c nop  0x00000096 
+ 00026821  0x0000506d rtn 
+ 00026822  0x00005071 call  0x000068c0 
+ 00026823  0x00005073 hjam  0x000000a2 , 0x00008047 
+ 00026824  0x00005074 deposit  0x00000011 
+ 00026825  0x00005075 hstore  0x00000002 , 0x00008048 
+ 00026826  0x00005076 set1  0x0000000b , 0x00000002 
+ 00026827  0x00005077 isolate0  0x0000000f , 0x0000003f 
+ 00026828  0x00005078 setflag  0x00000001 , 0x0000000f , 0x00000002 
+ 00026829  0x00005079 hstoret  0x00000002 , 0x0000804a 
+ 00026830  0x0000507a hjam  0x00000001 , 0x00008006 
+ 00026831  0x0000507b rtn 
+ 00026832  0x0000507e hfetch  0x00000001 , 0x0000812c 
+ 00026833  0x0000507f bbit0  0x00000001 , 0x000068d0 
+ 00026834  0x00005080 rtn 
+ 00026835  0x00005084 call  0x0000688f 
+ 00026836  0x00005085 call  0x000068c6 
+ 00026837  0x00005086 call  0x000068d0 
+ 00026838  0x00005087 hjam  0x00000083 , 0x00008047 
+ 00026839  0x00005088 rtn 
+ 00026840  0x0000508e hfetch  0x00000002 , 0x00008124 
+ 00026841  0x0000508f hstore  0x00000002 , 0x00008045 
+ 00026842  0x00005090 call  0x000068c6 
+ 00026843  0x00005091 arg  0x00000001 , 0x00000007 
+ 00026844  0x00005092 call  0x0000676a 
+ 00026845  0x00005093 call  0x000068d0 
+ 00026846  0x00005094 isolate1  0x00000000 , 0x0000003f 
+ 00026847  0x00005095 call  0x00006763 
+ 00026848  0x00005096 hjam  0x00000083 , 0x00008047 
+ 00026849  0x00005097 rtn 
+ 00026850  0x0000509b jam  0x00000001 , 0x0000427a 
+ 00026851  0x0000509c force  0x0000000e , 0x00000007 
+ 00026852  0x0000509d fetch  0x00000002 , 0x0000427c 
+ 00026853  0x0000509e branch  0x00007e4c 
+ 00026854  0x000050a0 hfetch  0x00000002 , 0x00008112 
+ 00026855  0x000050a1 rtn  0x00000034 
+ 00026856  0x000050a2 fetcht  0x00000001 , 0x0000427b 
+ 00026857  0x000050a3 isub  0x00000002 , 0x0000003e 
+ 00026858  0x000050a4 branch  0x000068f2 , 0x00000002 
+ 00026859  0x000050a5 fetch  0x00000001 , 0x0000427a 
+ 00026860  0x000050a6 branch  0x000068e2 , 0x00000034 
+ 00026861  0x000050a7 arg  0x0000000e , 0x00000007 
+ 00026862  0x000050a8 call  0x00007e53 
+ 00026863  0x000050a9 branch  0x000068f2 , 0x00000034 
+ 00026864  0x000050aa setarg  0x00000000 
+ 00026865  0x000050ab rtn 
+ 00026866  0x000050ad force  0x0000000e , 0x00000007 
+ 00026867  0x000050ae call  0x00007e4b 
+ 00026868  0x000050af jam  0x00000000 , 0x0000427a 
+ 00026869  0x000050b0 hfetch  0x00000002 , 0x00008112 
+ 00026870  0x000050b1 rtn 
+ 00026871  0x000050b9 hfetch  0x00000002 , 0x0000805e 
+ 00026872  0x000050ba iforce  0x0000000a 
+ 00026873  0x000050bb rtn 
+ 00026874  0x000050be deposit  0x0000000a 
+ 00026875  0x000050bf hstore  0x00000002 , 0x0000805e 
+ 00026876  0x000050c0 rtn 
+ 00026877  0x000050c3 hfetch  0x00000002 , 0x00008112 
+ 00026878  0x000050c4 rtn  0x00000034 
+ 00026879  0x000050c5 iforce  0x00000039 
+ 00026880  0x000050c6 hfetch  0x00000002 , 0x00008058 
+ 00026881  0x000050c7 iforce  0x00000003 
+ 00026882  0x000050c8 rtn 
+ 00026883  0x000050cc hfetch  0x00000002 , 0x00008058 
+ 00026884  0x000050cd iadd  0x00000002 , 0x0000003f 
+ 00026885  0x000050ce copy  0x0000003f , 0x00000003 
+ 00026886  0x000050d0 deposit  0x00000003 
+ 00026887  0x000050d1 hstore  0x00000002 , 0x00008058 
+ 00026888  0x000050d2 rtn 
+ 00026889  0x000050d5 fetch  0x00000002 , 0x000042ac 
+ 00026890  0x000050d6 hstore  0x00000002 , 0x00008052 
+ 00026891  0x000050d7 rtn 
+ 00026892  0x000050dc fetch  0x00000006 , 0x000003d0 
+ 00026893  0x000050dd store  0x00000006 , 0x000001b4 
+ 00026894  0x000050de jam  0x00000034 , 0x000001b3 
+ 00026895  0x000050df branch  0x00006913 
+ 00026896  0x000050e1 fetch  0x00000006 , 0x00000040 
+ 00026897  0x000050e2 store  0x00000006 , 0x000001b4 
+ 00026898  0x000050e3 jam  0x00000033 , 0x000001b3 
+ 00026899  0x000050e5 set1  0x00000025 , 0x00000000 
+ 00026900  0x000050e6 bpatch  0x00000008 , 0x00004021 
+ 00026901  0x000050e7 call  0x00006954 
+ 00026902  0x000050e8 call  0x00006950 
+ 00026903  0x000050e9 fetch  0x00000001 , 0x000001b3 
+ 00026904  0x000050ea beq  0x00000034 , 0x0000691b 
+ 00026905  0x000050eb beq  0x00000033 , 0x0000697c 
+ 00026906  0x000050ec rtn 
+ 00026907  0x000050ee call  0x0000697a 
+ 00026908  0x000050ef branch  0x00006963 
+ 00026909  0x000050f3 set1  0x00000025 , 0x00000000 
+ 00026910  0x000050f4 bpatch  0x00000009 , 0x00004021 
+ 00026911  0x000050f5 call  0x00006929 
+ 00026912  0x000050f6 fetch  0x00000001 , 0x000001b2 
+ 00026913  0x000050f7 rtneq  0x000000ff 
+ 00026914  0x000050f8 fetch  0x00000006 , 0x000001b4 
+ 00026915  0x000050f9 store  0x00000006 , 0x00004274 
+ 00026916  0x000050fa fetch  0x00000001 , 0x000001b3 
+ 00026917  0x000050fb store  0x00000001 , 0x000042a9 
+ 00026918  0x000050fc beq  0x00000033 , 0x0000692d 
+ 00026919  0x000050fd beq  0x00000034 , 0x0000692f 
+ 00026920  0x000050fe rtn 
+ 00026921  0x00005100 call  0x0000694c 
+ 00026922  0x00005101 fetch  0x00000001 , 0x000001b2 
+ 00026923  0x00005102 rtneq  0x000000ff 
+ 00026924  0x00005103 branch  0x0000696b 
+ 00026925  0x00005105 call  0x00006983 
+ 00026926  0x00005106 branch  0x000069a2 
+ 00026927  0x00005108 call  0x00006981 
+ 00026928  0x00005109 branch  0x000069a8 
+ 00026929  0x0000510b call  0x00006988 
+ 00026930  0x0000510c disable  0x00000028 
+ 00026931  0x0000510d call  0x0000698c 
+ 00026932  0x0000510e nbranch  0x0000427f , 0x00000028 
+ 00026933  0x00005110 fetcht  0x00000002 , 0x000001ba 
+ 00026934  0x00005111 increase  0xffffffff , 0x00000002 
+ 00026935  0x00005112 setarg  0x00000000 
+ 00026936  0x00005113 istore  0x00000007 , 0x00000002 
+ 00026937  0x00005114 arg  0x0000001c , 0x00000002 
+ 00026938  0x00005115 arg  0x00000195 , 0x00000011 
+ 00026939  0x00005116 arg  0x00000000 , 0x00000012 
+ 00026940  0x00005117 branch  0x0000683e 
+ 00026941  0x0000511a set1  0x00000025 , 0x00000000 
+ 00026942  0x0000511b bpatch  0x0000000a , 0x00004021 
+ 00026943  0x0000511c arg  0x0000018e , 0x00000005 
+ 00026944  0x0000511d force  0x00000004 , 0x00000039 
+ 00026945  0x0000511e call  0x00007e3b 
+ 00026946  0x0000511f arg  0x0000001c , 0x00000002 
+ 00026947  0x00005120 arg  0x0000018e , 0x00000011 
+ 00026948  0x00005121 arg  0x00000000 , 0x00000012 
+ 00026949  0x00005122 branch  0x0000683e 
+ 00026950  0x00005125 set1  0x00000025 , 0x00000000 
+ 00026951  0x00005126 bpatch  0x0000000b , 0x00004021 
+ 00026952  0x00005127 setarg  0x00000000 
+ 00026953  0x00005128 store  0x00000003 , 0x00000040 
+ 00026954  0x00005129 istore  0x00000003 , 0x00000005 
+ 00026955  0x0000512a branch  0x00006954 
+ 00026956  0x0000512d arg  0x00000001 , 0x00000002 
+ 00026957  0x0000512e arg  0x000001b2 , 0x00000011 
+ 00026958  0x0000512f arg  0x0000001c , 0x00000012 
+ 00026959  0x00005130 branch  0x0000681d 
+ 00026960  0x00005133 arg  0x00000001 , 0x00000002 
+ 00026961  0x00005134 arg  0x000001b2 , 0x00000011 
+ 00026962  0x00005135 arg  0x0000001c , 0x00000012 
+ 00026963  0x00005136 branch  0x0000683e 
+ 00026964  0x0000513a set1  0x00000025 , 0x00000000 
+ 00026965  0x0000513b bpatch  0x0000000c , 0x00004021 
+ 00026966  0x0000513c call  0x00006988 
+ 00026967  0x0000513d disable  0x00000028 
+ 00026968  0x0000513e call  0x0000698c 
+ 00026969  0x0000513f rtn  0x00000028 
+ 00026970  0x00005141 jam  0x00000000 , 0x000001b2 
+ 00026971  0x00005142 fetch  0x00000006 , 0x000001b4 
+ 00026972  0x00005143 store  0x00000006 , 0x0000018f 
+ 00026973  0x00005144 fetch  0x00000001 , 0x000001b3 
+ 00026974  0x00005145 store  0x00000001 , 0x0000018e 
+ 00026975  0x00005146 arg  0x0000001c , 0x00000002 
+ 00026976  0x00005147 arg  0x0000018e , 0x00000011 
+ 00026977  0x00005148 arg  0x00000000 , 0x00000012 
+ 00026978  0x00005149 branch  0x0000683e 
+ 00026979  0x0000514d arg  0x00000006 , 0x00000002 
+ 00026980  0x0000514e arg  0x000044f9 , 0x00000011 
+ 00026981  0x0000514f arg  0x0000001d , 0x00000012 
+ 00026982  0x00005150 branch  0x0000683e 
+ 00026983  0x00005153 arg  0x00000006 , 0x00000002 
+ 00026984  0x00005154 arg  0x000044f9 , 0x00000011 
+ 00026985  0x00005155 arg  0x0000001d , 0x00000012 
+ 00026986  0x00005156 branch  0x0000681d 
+ 00026987  0x0000515a set1  0x00000025 , 0x00000000 
+ 00026988  0x0000515b bpatch  0x0000000d , 0x00004021 
+ 00026989  0x0000515c arg  0x00000007 , 0x00000002 
+ 00026990  0x0000515d arg  0x000001b3 , 0x00000011 
+ 00026991  0x0000515e arg  0x00000000 , 0x00000012 
+ 00026992  0x0000515f fetch  0x00000001 , 0x000001b2 
+ 00026993  0x00005160 mul32  0x0000003f , 0x00000007 , 0x0000003f 
+ 00026994  0x00005161 iadd  0x00000012 , 0x00000012 
+ 00026995  0x00005162 branch  0x0000681d 
+ 00026996  0x00005165 arg  0x00000010 , 0x00000002 
+ 00026997  0x00005166 arg  0x00000023 , 0x00000012 
+ 00026998  0x00005167 fetch  0x00000001 , 0x000001b2 
+ 00026999  0x00005168 lshift4  0x0000003f , 0x0000003f 
+ 00027000  0x00005169 iadd  0x00000012 , 0x00000012 
+ 00027001  0x0000516a rtn 
+ 00027002  0x0000516d arg  0x0000447b , 0x00000011 
+ 00027003  0x0000516e branch  0x0000697d 
+ 00027004  0x00005170 arg  0x00004262 , 0x00000011 
+ 00027005  0x00005172 set1  0x00000025 , 0x00000000 
+ 00027006  0x00005173 bpatch  0x0000000e , 0x00004021 
+ 00027007  0x00005174 call  0x00006974 
+ 00027008  0x00005175 branch  0x0000683e 
+ 00027009  0x00005178 arg  0x0000447b , 0x00000011 
+ 00027010  0x00005179 branch  0x00006984 
+ 00027011  0x0000517b arg  0x00004262 , 0x00000011 
+ 00027012  0x0000517d set1  0x00000025 , 0x00000000 
+ 00027013  0x0000517e bpatch  0x0000000f , 0x00004021 
+ 00027014  0x0000517f call  0x00006974 
+ 00027015  0x00005180 branch  0x0000681d 
+ 00027016  0x00005185 arg  0x0000001c , 0x00000002 
+ 00027017  0x00005186 arg  0x00000195 , 0x00000011 
+ 00027018  0x00005187 arg  0x00000000 , 0x00000012 
+ 00027019  0x00005188 branch  0x0000681d 
+ 00027020  0x0000518b set1  0x00000025 , 0x00000000 
+ 00027021  0x0000518c bpatch  0x00000010 , 0x00004022 
+ 00027022  0x0000518d setarg  0x00000195 
+ 00027023  0x0000518e store  0x00000002 , 0x000001ba 
+ 00027024  0x0000518f jam  0x00000000 , 0x000001b2 
+ 00027025  0x00005190 arg  0x00000004 , 0x00000039 
+ 00027026  0x00005192 copy  0x00000039 , 0x0000003f 
+ 00027027  0x00005193 store  0x00000001 , 0x00000161 
+ 00027028  0x00005194 fetch  0x00000002 , 0x000001ba 
+ 00027029  0x00005195 copy  0x0000003f , 0x00000011 
+ 00027030  0x00005196 call  0x000069ac 
+ 00027031  0x00005197 rtn  0x00000028 
+ 00027032  0x00005198 fetch  0x00000002 , 0x000001ba 
+ 00027033  0x00005199 increase  0x00000007 , 0x0000003f 
+ 00027034  0x0000519a store  0x00000002 , 0x000001ba 
+ 00027035  0x0000519b fetch  0x00000001 , 0x000001b2 
+ 00027036  0x0000519c increase  0x00000001 , 0x0000003f 
+ 00027037  0x0000519d store  0x00000001 , 0x000001b2 
+ 00027038  0x0000519e fetch  0x00000001 , 0x00000161 
+ 00027039  0x0000519f copy  0x0000003f , 0x00000039 
+ 00027040  0x000051a0 loop  0x00006992 
+ 00027041  0x000051a1 rtn 
+ 00027042  0x000051a4 fetch  0x00000008 , 0x00004262 
+ 00027043  0x000051a5 fetcht  0x00000008 , 0x0000426a 
+ 00027044  0x000051a6 ior  0x00000002 , 0x0000003f 
+ 00027045  0x000051a7 rtn  0x00000034 
+ 00027046  0x000051a8 jam  0x00000001 , 0x0000425e 
+ 00027047  0x000051a9 rtn 
+ 00027048  0x000051ab fetch  0x00000006 , 0x00004274 
+ 00027049  0x000051ac rtn  0x00000034 
+ 00027050  0x000051ad jam  0x00000001 , 0x0000448b 
+ 00027051  0x000051ae rtn 
+ 00027052  0x000051b1 arg  0x000001b3 , 0x00000012 
+ 00027053  0x000051b2 arg  0x00000007 , 0x00000039 
+ 00027054  0x000051b3 call  0x00007f25 
+ 00027055  0x000051b4 branch  0x000069b1 , 0x00000005 
+ 00027056  0x000051b5 rtn 
+ 00027057  0x000051b7 enable  0x00000028 
+ 00027058  0x000051b8 rtn 
+ 00027059  0x000051ba branch  0x00003bf1 
+ 00027060  0x000051c2 set1  0x00000025 , 0x00000000 
+ 00027061  0x000051c3 bpatch  0x00000011 , 0x00004022 
+ 00027062  0x000051c4 set1  0x00000007 , 0x00000002 
+ 00027063  0x000051c5 call  0x000069e5 
+ 00027064  0x000051c6 nsetflag  0x00000001 , 0x00000007 , 0x00000002 
+ 00027065  0x000051cc set1  0x00000025 , 0x00000000 
+ 00027066  0x000051cd bpatch  0x00000012 , 0x00004022 
+ 00027067  0x000051ce isolate0  0x00000007 , 0x00000002 
+ 00027068  0x000051cf and  0x00000002 , 0x0000001f , 0x00000007 
+ 00027069  0x000051d0 fetch  0x00000004 , 0x000000a3 
+ 00027070  0x000051d1 qsetflag  0x00000001 , 0x0000003f 
+ 00027071  0x000051d2 store  0x00000004 , 0x000000a3 
+ 00027072  0x000051d3 fetch  0x00000004 , 0x000000a7 
+ 00027073  0x000051d4 nqsetflag  0x00000001 , 0x0000003f 
+ 00027074  0x000051d5 store  0x00000004 , 0x000000a7 
+ 00027075  0x000051d6 rtn 
+ 00027076  0x000051da set1  0x00000025 , 0x00000000 
+ 00027077  0x000051db bpatch  0x00000013 , 0x00004022 
+ 00027078  0x000051dc isolate0  0x00000007 , 0x00000002 
+ 00027079  0x000051dd and  0x00000002 , 0x0000001f , 0x00000007 
+ 00027080  0x000051de fetch  0x00000004 , 0x000000a3 
+ 00027081  0x000051df qset0  0x0000003f 
+ 00027082  0x000051e0 store  0x00000004 , 0x000000a3 
+ 00027083  0x000051e1 fetch  0x00000004 , 0x000000a7 
+ 00027084  0x000051e2 qset0  0x0000003f 
+ 00027085  0x000051e3 store  0x00000004 , 0x000000a7 
+ 00027086  0x000051e4 rtn 
+ 00027087  0x000051e8 call  0x000069c4 
+ 00027088  0x000051e9 branch  0x000069d2 
+ 00027089  0x000051ed ncall  0x000069b9 , 0x0000002b 
+ 00027090  0x000051f0 arg  0x0000807c , 0x00000005 
+ 00027091  0x000051f1 call  0x000069f4 
+ 00027092  0x000051f2 setflip  0x00000007 , 0x00000002 
+ 00027093  0x000051f3 arg  0x00008078 , 0x00000005 
+ 00027094  0x000051f4 call  0x000069f4 
+ 00027095  0x000051f5 set0  0x00000007 , 0x00000002 
+ 00027096  0x000051f6 arg  0x00008070 , 0x00000005 
+ 00027097  0x000051f7 branch  0x000069f4 
+ 00027098  0x000051fb setflip  0x00000007 , 0x00000002 
+ 00027099  0x000051fc call  0x000069f3 
+ 00027100  0x000051fd set1  0x00000007 , 0x00000002 
+ 00027101  0x000051fe arg  0x00008070 , 0x00000005 
+ 00027102  0x000051ff branch  0x000069f4 
+ 00027103  0x00005202 and  0x00000002 , 0x00000007 , 0x00000007 
+ 00027104  0x00005203 rshift3  0x00000002 , 0x0000003f 
+ 00027105  0x00005204 and_into  0x00000003 , 0x0000003f 
+ 00027106  0x00005205 iadd  0x00000005 , 0x00000005 
+ 00027107  0x00005206 ifetch  0x00000001 , 0x00000005 
+ 00027108  0x00005207 rtn 
+ 00027109  0x0000520c arg  0x0000811c , 0x00000005 
+ 00027110  0x0000520d call  0x000069df 
+ 00027111  0x0000520e isolate1  0x00000007 , 0x00000002 
+ 00027112  0x0000520f branch  0x000069eb , 0x00000001 
+ 00027113  0x00005210 qisolate0  0x0000003f 
+ 00027114  0x00005211 rtn 
+ 00027115  0x00005213 qisolate1  0x0000003f 
+ 00027116  0x00005214 rtn 
+ 00027117  0x00005217 isolate1  0x00000007 , 0x0000003e 
+ 00027118  0x00005218 branch  0x000069f0 
+ 00027119  0x0000521b isolate0  0x00000007 , 0x0000003e 
+ 00027120  0x0000521f setarg  0x00000000 
+ 00027121  0x00005220 nsetflag  0x00000001 , 0x00000007 , 0x0000003f 
+ 00027122  0x00005221 ixor  0x00000002 , 0x00000002 
+ 00027123  0x00005225 arg  0x00008074 , 0x00000005 
+ 00027124  0x00005229 call  0x000069df 
+ 00027125  0x0000522a isolate1  0x00000007 , 0x00000002 
+ 00027126  0x0000522b qsetflag  0x00000001 , 0x0000003f 
+ 00027127  0x0000522c istore  0x00000001 , 0x00000005 
+ 00027128  0x0000522d rtn 
+ 00027129  0x00005230 fetch  0x00000001 , 0x0000416e 
+ 00027130  0x00005231 rtneq  0x0000007f 
+ 00027131  0x00005232 hjam  0x00000000 , 0x00008077 
+ 00027132  0x00005233 nop  0x0000001e 
+ 00027133  0x00005234 hjam  0x00000008 , 0x00008077 
+ 00027134  0x00005235 rtn 
+ 00027135  0x0000523b lshift8  0x0000003f , 0x0000003f 
+ 00027136  0x0000523c lshift4  0x0000003f , 0x0000003f 
+ 00027137  0x0000523d hstore  0x00000002 , 0x000080a2 
+ 00027138  0x0000523e hstore  0x00000002 , 0x000080a0 
+ 00027139  0x0000523f rtn 
+ 00027140  0x00005242 setarg  0x00000000 
+ 00027141  0x00005243 hstore  0x00000002 , 0x000080a2 
+ 00027142  0x00005244 setarg  0x00000001 
+ 00027143  0x00005245 hstore  0x00000002 , 0x000080a0 
+ 00027144  0x00005246 rtn 
+ 00027145  0x00005249 setarg  0x00000000 
+ 00027146  0x0000524a hstore  0x00000002 , 0x000080a2 
+ 00027147  0x0000524b hstore  0x00000002 , 0x000080a0 
+ 00027148  0x0000524c rtn 
+ 00027149  0x00005252 arg  0x00008800 , 0x00000005 
+ 00027150  0x00005253 arg  0x00000020 , 0x00000039 
+ 00027151  0x00005254 call  0x00007e3b 
+ 00027152  0x00005255 setarg  0x000004f9 
+ 00027153  0x00005256 hstore  0x00000002 , 0x00008848 
+ 00027154  0x00005257 hstore  0x00000002 , 0x0000884a 
+ 00027155  0x00005258 hstore  0x00000002 , 0x0000884c 
+ 00027156  0x00005259 hstore  0x00000002 , 0x0000886c 
+ 00027157  0x0000525a hstore  0x00000002 , 0x0000888c 
+ 00027158  0x0000525b hstore  0x00000002 , 0x000088ac 
+ 00027159  0x0000525c setarg  0x00000204 
+ 00027160  0x0000525d hstore  0x00000002 , 0x000088ae 
+ 00027161  0x0000525e setarg  0x00000506 
+ 00027162  0x0000525f hstore  0x00000002 , 0x000088b0 
+ 00027163  0x00005260 setarg  0x00000504 
+ 00027164  0x00005261 hstore  0x00000002 , 0x000088b2 
+ 00027165  0x00005262 setarg  0x00000200 
+ 00027166  0x00005263 hstore  0x00000002 , 0x000088b4 
+ 00027167  0x00005264 setarg  0x0000fefb 
+ 00027168  0x00005265 hstore  0x00000002 , 0x000088b6 
+ 00027169  0x00005266 setarg  0x0000faf9 
+ 00027170  0x00005267 hstore  0x00000002 , 0x000088b8 
+ 00027171  0x00005268 setarg  0x0000fafb 
+ 00027172  0x00005269 hstore  0x00000002 , 0x000088ba 
+ 00027173  0x0000526a setarg  0x0000fd00 
+ 00027174  0x0000526b hstore  0x00000002 , 0x000088bc 
+ 00027175  0x0000526c setarg  0x00000408 
+ 00027176  0x0000526d hstore  0x00000002 , 0x000088be 
+ 00027177  0x0000526e setarg  0x00000a0c 
+ 00027178  0x0000526f hstore  0x00000002 , 0x000088c0 
+ 00027179  0x00005270 setarg  0x00000b09 
+ 00027180  0x00005271 hstore  0x00000002 , 0x000088c2 
+ 00027181  0x00005272 setarg  0x00000500 
+ 00027182  0x00005273 hstore  0x00000002 , 0x000088c4 
+ 00027183  0x00005274 setarg  0x0000f8f1 
+ 00027184  0x00005275 hstore  0x00000002 , 0x000088c6 
+ 00027185  0x00005276 setarg  0x0000ece8 
+ 00027186  0x00005277 hstore  0x00000002 , 0x000088c8 
+ 00027187  0x00005278 setarg  0x0000e9eb 
+ 00027188  0x00005279 hstore  0x00000002 , 0x000088ca 
+ 00027189  0x0000527a setarg  0x0000f500 
+ 00027190  0x0000527b hstore  0x00000002 , 0x000088cc 
+ 00027191  0x0000527c setarg  0x00001223 
+ 00027192  0x0000527d hstore  0x00000002 , 0x000088ce 
+ 00027193  0x0000527e setarg  0x0000374b 
+ 00027194  0x0000527f hstore  0x00000002 , 0x000088d0 
+ 00027195  0x00005280 setarg  0x00005e71 
+ 00027196  0x00005281 hstore  0x00000002 , 0x000088d2 
+ 00027197  0x00005282 setarg  0x0000787f 
+ 00027198  0x00005283 hstore  0x00000002 , 0x000088d4 
+ 00027199  0x00005284 rtn 
+ 00027200  0x00005287 set1  0x00000025 , 0x00000000 
+ 00027201  0x00005288 bpatch  0x00000014 , 0x00004022 
+ 00027202  0x00005289 hfetch  0x00000002 , 0x00008050 
+ 00027203  0x0000528a set0  0x0000000e , 0x0000003f 
+ 00027204  0x0000528b hstore  0x00000002 , 0x00008050 
+ 00027205  0x0000528c hjam  0x00000011 , 0x000080b0 
+ 00027206  0x0000528d hjam  0x00000001 , 0x000080b1 
+ 00027207  0x0000528e hjam  0x00000001 , 0x000080b2 
+ 00027208  0x0000528f hjam  0x00000011 , 0x000080b3 
+ 00027209  0x00005290 rtn 
+ 00027210  0x00005293 set1  0x00000025 , 0x00000000 
+ 00027211  0x00005294 bpatch  0x00000015 , 0x00004022 
+ 00027212  0x00005295 hfetch  0x00000002 , 0x00008050 
+ 00027213  0x00005296 set1  0x0000000e , 0x0000003f 
+ 00027214  0x00005297 hstore  0x00000002 , 0x00008050 
+ 00027215  0x00005298 hjam  0x00000004 , 0x000080b0 
+ 00027216  0x00005299 hjam  0x00000004 , 0x000080b3 
+ 00027217  0x0000529a hjam  0x00000000 , 0x000080b1 
+ 00027218  0x0000529b hjam  0x00000000 , 0x000080b2 
+ 00027219  0x0000529c rtn 
+ 00027220  0x000052a1 fetch  0x00000001 , 0x00000030 
+ 00027221  0x000052a2 rtnbit0  0x00000002 
+ 00027222  0x000052a3 arg  0x000000b5 , 0x00000005 
+ 00027223  0x000052a4 arg  0x0000001e , 0x00000039 
+ 00027224  0x000052a6 hfetch  0x00000001 , 0x00008134 
+ 00027225  0x000052a7 istore  0x00000001 , 0x00000005 
+ 00027226  0x000052a8 loop  0x00006a58 
+ 00027227  0x000052a9 rtn 
+ 00027228  0x000052ad fetch  0x00000001 , 0x00000030 
+ 00027229  0x000052ae rtnbit0  0x00000002 
+ 00027230  0x000052af arg  0x000000d3 , 0x00000006 
+ 00027231  0x000052b0 force  0x0000001e , 0x00000039 
+ 00027232  0x000052b2 ifetch  0x00000001 , 0x00000006 
+ 00027233  0x000052b3 hstore  0x00000001 , 0x00008009 
+ 00027234  0x000052b4 loop  0x00006a60 
+ 00027235  0x000052b5 rtn 
+ 00027236  0x000052b8 rtn 
+ 00027237  0x000052be call  0x00006a87 
+ 00027238  0x000052bf arg  0x00000006 , 0x00000002 
+ 00027239  0x000052c0 branch  0x000069da 
+ 00027240  0x000052c3 call  0x00006a65 
+ 00027241  0x000052c4 arg  0x00000006 , 0x00000002 
+ 00027242  0x000052c5 branch  0x000069ed 
+ 00027243  0x000052c8 call  0x00006a65 
+ 00027244  0x000052c9 arg  0x00000006 , 0x00000002 
+ 00027245  0x000052ca branch  0x000069ef 
+ 00027246  0x000052cd call  0x00006a87 
+ 00027247  0x000052ce arg  0x00000007 , 0x00000002 
+ 00027248  0x000052cf branch  0x000069da 
+ 00027249  0x000052d2 call  0x00006a6e 
+ 00027250  0x000052d3 arg  0x00000007 , 0x00000002 
+ 00027251  0x000052d4 branch  0x000069ed 
+ 00027252  0x000052d7 call  0x00006a6e 
+ 00027253  0x000052d8 arg  0x00000007 , 0x00000002 
+ 00027254  0x000052d9 branch  0x000069ef 
+ 00027255  0x000052dc call  0x00006a87 
+ 00027256  0x000052dd hfetch  0x00000001 , 0x00008078 
+ 00027257  0x000052de set1  0x00000006 , 0x0000003f 
+ 00027258  0x000052df hstore  0x00000001 , 0x00008078 
+ 00027259  0x000052e0 arg  0x00000006 , 0x00000002 
+ 00027260  0x000052e1 branch  0x000069d1 
+ 00027261  0x000052e4 call  0x00006a87 
+ 00027262  0x000052e5 hfetch  0x00000001 , 0x00008078 
+ 00027263  0x000052e6 set1  0x00000007 , 0x0000003f 
+ 00027264  0x000052e7 hstore  0x00000001 , 0x00008078 
+ 00027265  0x000052e8 arg  0x00000007 , 0x00000002 
+ 00027266  0x000052e9 branch  0x000069d1 
+ 00027267  0x000052ec hfetch  0x00000001 , 0x00008081 
+ 00027268  0x000052ed or_into  0x00000004 , 0x0000003f 
+ 00027269  0x000052ee hstore  0x00000001 , 0x00008081 
+ 00027270  0x000052ef rtn 
+ 00027271  0x000052f2 hfetch  0x00000001 , 0x00008081 
+ 00027272  0x000052f3 and_into  0x000000fb , 0x0000003f 
+ 00027273  0x000052f4 hstore  0x00000001 , 0x00008081 
+ 00027274  0x000052f5 rtn 
+ 00027275  0x000052f8 hfetch  0x00000001 , 0x00008081 
+ 00027276  0x000052f9 isolate1  0x00000002 , 0x0000003f 
+ 00027277  0x000052fa rtn 
+ 00027278  0x000052fe setarg  0x00006a91 
+ 00027279  0x000052ff store  0x00000002 , 0x00004296 
+ 00027280  0x00005300 rtn 
+ 00027281  0x00005302 call  0x00006b14 
+ 00027282  0x00005303 fetch  0x00000001 , 0x00000481 
+ 00027283  0x00005304 beq  0x00000001 , 0x00006a96 
+ 00027284  0x00005305 beq  0x00000002 , 0x00006a9c 
+ 00027285  0x00005306 branch  0x00003bf1 
+ 00027286  0x00005308 arg  0x00000017 , 0x00000002 
+ 00027287  0x00005309 storet  0x00000002 , 0x000044c2 
+ 00027288  0x0000530a call  0x00005a88 
+ 00027289  0x0000530b ifetch  0x00000001 , 0x00000006 
+ 00027290  0x0000530c call  0x00006a9e 
+ 00027291  0x0000530d branch  0x00005b42 
+ 00027292  0x0000530f call  0x00006a9e 
+ 00027293  0x00005310 branch  0x00005b51 
+ 00027294  0x00005312 copy  0x00000006 , 0x00000011 
+ 00027295  0x00005313 set1  0x00000025 , 0x00000000 
+ 00027296  0x00005314 bpatch  0x00000031 , 0x00004026 
+ 00027297  0x00005315 ifetch  0x00000001 , 0x00000006 
+ 00027298  0x00005316 beq  0x00000000 , 0x00006ab7 
+ 00027299  0x00005317 beq  0x00000001 , 0x00006abc 
+ 00027300  0x00005318 beq  0x00000002 , 0x00006abd 
+ 00027301  0x00005319 beq  0x00000003 , 0x00006abe 
+ 00027302  0x0000531a beq  0x00000004 , 0x00006b50 
+ 00027303  0x0000531b beq  0x00000005 , 0x00006aff 
+ 00027304  0x0000531c beq  0x00000006 , 0x00006b51 
+ 00027305  0x0000531d beq  0x00000007 , 0x00006b52 
+ 00027306  0x0000531e beq  0x00000008 , 0x00006abf 
+ 00027307  0x0000531f beq  0x00000009 , 0x00006ac0 
+ 00027308  0x00005320 beq  0x0000000a , 0x00006ac1 
+ 00027309  0x00005321 beq  0x0000000b , 0x00006ac2 
+ 00027310  0x00005322 beq  0x0000000c , 0x00006ac3 
+ 00027311  0x00005323 beq  0x0000000d , 0x00006ad5 
+ 00027312  0x00005324 beq  0x0000000e , 0x00006ae3 
+ 00027313  0x00005325 beq  0x0000000f , 0x00006af0 
+ 00027314  0x00005326 beq  0x00000010 , 0x00006af1 
+ 00027315  0x00005327 beq  0x00000011 , 0x00006af8 
+ 00027316  0x00005328 beq  0x00000012 , 0x00006b19 
+ 00027317  0x00005329 beq  0x00000013 , 0x00006b45 
+ 00027318  0x0000532a rtn 
+ 00027319  0x0000532e copy  0x00000011 , 0x00000006 
+ 00027320  0x0000532f ifetch  0x00000001 , 0x00000006 
+ 00027321  0x00005330 lshift8  0x0000003f , 0x0000003f 
+ 00027322  0x00005331 store  0x00000003 , 0x0000046d 
+ 00027323  0x00005332 rtn 
+ 00027324  0x00005334 rtn 
+ 00027325  0x00005336 rtn 
+ 00027326  0x00005338 rtn 
+ 00027327  0x0000533d rtn 
+ 00027328  0x0000533f rtn 
+ 00027329  0x00005341 rtn 
+ 00027330  0x00005343 rtn 
+ 00027331  0x00005348 ifetch  0x00000004 , 0x00000006 
+ 00027332  0x00005349 hstore  0x00000001 , 0x00008082 
+ 00027333  0x0000534a rshift8  0x0000003f , 0x0000003f 
+ 00027334  0x0000534b hfetcht  0x00000001 , 0x00008081 
+ 00027335  0x0000534c and_into  0x0000007f , 0x00000002 
+ 00027336  0x0000534d ior  0x00000002 , 0x00000002 
+ 00027337  0x0000534e hstoret  0x00000001 , 0x00008081 
+ 00027338  0x0000534f rshift8  0x0000003f , 0x0000003f 
+ 00027339  0x00005350 hfetcht  0x00000001 , 0x00008051 
+ 00027340  0x00005351 and_into  0x000000df , 0x00000002 
+ 00027341  0x00005352 ior  0x00000002 , 0x00000002 
+ 00027342  0x00005353 hstoret  0x00000001 , 0x00008051 
+ 00027343  0x00005354 rshift8  0x0000003f , 0x0000003f 
+ 00027344  0x00005355 hfetcht  0x00000001 , 0x00008042 
+ 00027345  0x00005356 and_into  0x0000003f , 0x00000002 
+ 00027346  0x00005357 ior  0x00000002 , 0x00000002 
+ 00027347  0x00005358 hstoret  0x00000001 , 0x00008042 
+ 00027348  0x00005359 branch  0x00006ab7 
+ 00027349  0x0000535b ifetch  0x00000009 , 0x00000006 
+ 00027350  0x0000535c hfetcht  0x00000001 , 0x00008085 
+ 00027351  0x0000535d and_into  0x0000003f , 0x00000002 
+ 00027352  0x0000535e ior  0x00000002 , 0x00000002 
+ 00027353  0x0000535f hstoret  0x00000001 , 0x00008085 
+ 00027354  0x00005360 rshift8  0x0000003f , 0x0000003f 
+ 00027355  0x00005361 hstore  0x00000002 , 0x000080a0 
+ 00027356  0x00005362 rshift16  0x0000003f , 0x0000003f 
+ 00027357  0x00005363 hstore  0x00000002 , 0x000080a2 
+ 00027358  0x00005364 rshift16  0x0000003f , 0x0000003f 
+ 00027359  0x00005365 hstore  0x00000002 , 0x000080a4 
+ 00027360  0x00005366 rshift16  0x0000003f , 0x0000003f 
+ 00027361  0x00005367 hstore  0x00000002 , 0x000080a6 
+ 00027362  0x00005368 branch  0x00006ab7 
+ 00027363  0x0000536d ifetch  0x00000004 , 0x00000006 
+ 00027364  0x0000536e hstore  0x00000004 , 0x00008070 
+ 00027365  0x0000536f ifetch  0x00000004 , 0x00000006 
+ 00027366  0x00005370 hstore  0x00000004 , 0x00008078 
+ 00027367  0x00005371 ifetch  0x00000004 , 0x00000006 
+ 00027368  0x00005372 hstore  0x00000004 , 0x0000807c 
+ 00027369  0x00005373 ifetch  0x00000001 , 0x00000006 
+ 00027370  0x00005374 hstore  0x00000001 , 0x00008080 
+ 00027371  0x00005375 ifetch  0x00000001 , 0x00000006 
+ 00027372  0x00005376 hstore  0x00000001 , 0x00008081 
+ 00027373  0x00005377 ifetch  0x00000001 , 0x00000006 
+ 00027374  0x00005378 hstore  0x00000001 , 0x00008082 
+ 00027375  0x00005379 branch  0x00006ab7 
+ 00027376  0x0000537b branch  0x00006af1 
+ 00027377  0x0000537d jam  0x00000010 , 0x0000046d 
+ 00027378  0x0000537e arg  0x0000046e , 0x00000005 
+ 00027379  0x0000537f hfetch  0x00000004 , 0x00008074 
+ 00027380  0x00005380 istore  0x00000004 , 0x00000005 
+ 00027381  0x00005381 hfetch  0x00000004 , 0x0000811c 
+ 00027382  0x00005382 istore  0x00000004 , 0x00000005 
+ 00027383  0x00005383 rtn 
+ 00027384  0x00005385 ifetcht  0x00000001 , 0x00000006 
+ 00027385  0x00005386 ifetch  0x00000001 , 0x00000006 
+ 00027386  0x00005387 lshift3  0x0000003f , 0x0000003f 
+ 00027387  0x00005388 lshift4  0x0000003f , 0x0000003f 
+ 00027388  0x00005389 ior  0x00000002 , 0x00000002 
+ 00027389  0x0000538a call  0x000069f3 
+ 00027390  0x0000538b branch  0x00006ab7 
+ 00027391  0x00005391 ifetcht  0x00000001 , 0x00000006 
+ 00027392  0x00005392 hstoret  0x00000001 , 0x00008301 
+ 00027393  0x00005393 ifetch  0x00000001 , 0x00000006 
+ 00027394  0x00005394 compare  0x00000001 , 0x0000003f , 0x000000ff 
+ 00027395  0x00005395 ifetch  0x00000001 , 0x00000006 
+ 00027396  0x00005396 hstore  0x00000001 , 0x00008307 
+ 00027397  0x00005397 branch  0x00006b08 , 0x00000001 
+ 00027398  0x00005398 ifetch  0x00000001 , 0x00000006 
+ 00027399  0x00005399 hstore  0x00000001 , 0x00008307 
+ 00027400  0x0000539b ifetch  0x00000001 , 0x00000006 
+ 00027401  0x0000539c copy  0x0000003f , 0x00000039 
+ 00027402  0x0000539d increase  0xffffffff , 0x0000003f 
+ 00027403  0x0000539e or_into  0x00000090 , 0x0000003f 
+ 00027404  0x0000539f hstore  0x00000001 , 0x00008302 
+ 00027405  0x000053a0 hjam  0x00000002 , 0x00008303 
+ 00027406  0x000053a1 nop  0x00000001 
+ 00027407  0x000053a3 arg  0x0000046d , 0x00000005 
+ 00027408  0x000053a5 hfetch  0x00000001 , 0x00008307 
+ 00027409  0x000053a6 istore  0x00000001 , 0x00000005 
+ 00027410  0x000053a7 loop  0x00006b10 
+ 00027411  0x000053a8 rtn 
+ 00027412  0x000053ab setarg  0x00000000 
+ 00027413  0x000053ac store  0x00000004 , 0x0000046d 
+ 00027414  0x000053ad istore  0x00000008 , 0x00000005 
+ 00027415  0x000053ae istore  0x00000008 , 0x00000005 
+ 00027416  0x000053af rtn 
+ 00027417  0x000053b6 copy  0x00000011 , 0x0000003f 
+ 00027418  0x000053b7 increase  0x00000001 , 0x0000003f 
+ 00027419  0x000053b8 store  0x00000002 , 0x00000483 
+ 00027420  0x000053b9 fetch  0x00000002 , 0x00004749 
+ 00027421  0x000053ba beq  0x00000000 , 0x00006b28 
+ 00027422  0x000053bc fetch  0x00000002 , 0x00004749 
+ 00027423  0x000053bd fetcht  0x00000002 , 0x00000483 
+ 00027424  0x000053be ifetcht  0x00000002 , 0x00000002 
+ 00027425  0x000053bf iadd  0x00000002 , 0x0000003f 
+ 00027426  0x000053c0 fetcht  0x00000002 , 0x00000483 
+ 00027427  0x000053c1 increase  0x00000002 , 0x00000002 
+ 00027428  0x000053c2 copy  0x00000002 , 0x00000006 
+ 00027429  0x000053c3 ifetcht  0x00000001 , 0x00000006 
+ 00027430  0x000053c4 copy  0x00000006 , 0x00000011 
+ 00027431  0x000053c5 branch  0x00006842 
+ 00027432  0x000053c8 setarg  0x00000002 
+ 00027433  0x000053c9 byteswap  0x0000003f , 0x0000003f 
+ 00027434  0x000053ca store  0x00000002 , 0x00000225 
+ 00027435  0x000053cb arg  0x00006823 , 0x00000013 
+ 00027436  0x000053cc arg  0x00000002 , 0x00000039 
+ 00027437  0x000053ce call  0x000066e2 
+ 00027438  0x000053cf nbranch  0x00006b36 , 0x00000005 
+ 00027439  0x000053d0 fetch  0x00000002 , 0x00000225 
+ 00027440  0x000053d1 byteswap  0x0000003f , 0x0000003f 
+ 00027441  0x000053d2 iadd  0x00000002 , 0x0000003f 
+ 00027442  0x000053d3 store  0x00000002 , 0x00004749 
+ 00027443  0x000053d4 byteswap  0x0000003f , 0x0000003f 
+ 00027444  0x000053d5 store  0x00000002 , 0x00000225 
+ 00027445  0x000053d6 loop  0x00006b2d 
+ 00027446  0x000053d8 fetch  0x00000002 , 0x00004749 
+ 00027447  0x000053d9 byteswap  0x0000003f , 0x0000003f 
+ 00027448  0x000053da store  0x00000002 , 0x00000225 
+ 00027449  0x000053db arg  0x00006823 , 0x00000013 
+ 00027450  0x000053dc arg  0x0000ffff , 0x00000039 
+ 00027451  0x000053de call  0x000066e2 
+ 00027452  0x000053df nbranch  0x00006b1e , 0x00000005 
+ 00027453  0x000053e0 fetch  0x00000002 , 0x00000225 
+ 00027454  0x000053e1 byteswap  0x0000003f , 0x0000003f 
+ 00027455  0x000053e2 iadd  0x00000002 , 0x0000003f 
+ 00027456  0x000053e3 increase  0x00000002 , 0x0000003f 
+ 00027457  0x000053e4 store  0x00000002 , 0x00004749 
+ 00027458  0x000053e5 byteswap  0x0000003f , 0x0000003f 
+ 00027459  0x000053e6 store  0x00000002 , 0x00000225 
+ 00027460  0x000053e7 loop  0x00006b3b 
+ 00027461  0x000053ea fetch  0x00000002 , 0x00004749 
+ 00027462  0x000053eb increase  0x00000002 , 0x0000003f 
+ 00027463  0x000053ec byteswap  0x0000003f , 0x0000003f 
+ 00027464  0x000053ed store  0x00000002 , 0x00004749 
+ 00027465  0x000053ee arg  0x00004749 , 0x00000011 
+ 00027466  0x000053ef arg  0x00000002 , 0x00000002 
+ 00027467  0x000053f0 arg  0x00000000 , 0x0000003f 
+ 00027468  0x000053f1 call  0x00006842 
+ 00027469  0x000053f2 setarg  0x00000000 
+ 00027470  0x000053f3 store  0x00000002 , 0x00004749 
+ 00027471  0x000053f4 rtn 
+ 00027472  0x000053f7 rtn 
+ 00027473  0x000053f9 rtn 
+ 00027474  0x000053fb rtn 
+ 00027475  0x00005401 rtn  0x0000002b 
+ 00027476  0x00005402 jam  0x00000000 , 0x00004755 
+ 00027477  0x00005403 jam  0x00000003 , 0x00000485 
+ 00027478  0x00005404 jam  0x00000003 , 0x00000486 
+ 00027479  0x00005405 jam  0x00000011 , 0x0000048a 
+ 00027480  0x00005406 jam  0x00000013 , 0x0000048b 
+ 00027481  0x00005407 setarg  0x00000000 
+ 00027482  0x00005408 store  0x00000003 , 0x00000487 
+ 00027483  0x00005409 store  0x00000001 , 0x000042bd 
+ 00027484  0x0000540a jam  0x00000000 , 0x000047f3 
+ 00027485  0x0000540d set1  0x00000025 , 0x00000000 
+ 00027486  0x0000540e bpatch  0x000000bf , 0x00004037 
+ 00027487  0x0000540f setarg  0x00000000 
+ 00027488  0x00005410 store  0x00000001 , 0x000042bd 
+ 00027489  0x00005411 store  0x00000001 , 0x00004752 
+ 00027490  0x00005412 store  0x00000001 , 0x0000474b 
+ 00027491  0x00005413 jam  0x00000050 , 0x00004757 
+ 00027492  0x00005414 rtn 
+ 00027493  0x00005417 or_into  0x00000002 , 0x00000002 
+ 00027494  0x00005418 rtn 
+ 00027495  0x00005425 copy  0x00000002 , 0x0000003f 
+ 00027496  0x00005426 reverse  0x0000003f , 0x0000003f 
+ 00027497  0x00005427 store  0x00000001 , 0x00004750 
+ 00027498  0x00005428 force  0x0000003f , 0x0000003f 
+ 00027499  0x00005429 reverse  0x0000003f , 0x0000003f 
+ 00027500  0x0000542a store  0x00000001 , 0x0000474f 
+ 00027501  0x0000542b force  0x00000001 , 0x0000003f 
+ 00027502  0x0000542c reverse  0x0000003f , 0x0000003f 
+ 00027503  0x0000542d store  0x00000001 , 0x0000474e 
+ 00027504  0x0000542e call  0x00006b9d 
+ 00027505  0x0000542f copy  0x00000002 , 0x0000003f 
+ 00027506  0x00005430 rtn 
+ 00027507  0x00005432 reverse  0x0000003f , 0x0000003f 
+ 00027508  0x00005433 store  0x00000001 , 0x00004750 
+ 00027509  0x00005434 force  0x00000073 , 0x0000003f 
+ 00027510  0x00005435 reverse  0x0000003f , 0x0000003f 
+ 00027511  0x00005436 store  0x00000001 , 0x0000474f 
+ 00027512  0x00005437 force  0x00000001 , 0x0000003f 
+ 00027513  0x00005438 reverse  0x0000003f , 0x0000003f 
+ 00027514  0x00005439 store  0x00000001 , 0x0000474e 
+ 00027515  0x0000543a branch  0x00006b9d 
+ 00027516  0x0000543d fetch  0x00000001 , 0x00004751 
+ 00027517  0x0000543e branch  0x00006b80 , 0x00000034 
+ 00027518  0x0000543f setarg  0x00000070 
+ 00027519  0x00005440 rtn 
+ 00027520  0x00005442 setarg  0x000000aa 
+ 00027521  0x00005443 rtn 
+ 00027522  0x00005446 reverse  0x0000003f , 0x0000003f 
+ 00027523  0x00005447 store  0x00000001 , 0x00004750 
+ 00027524  0x00005448 force  0x000000ef , 0x0000003f 
+ 00027525  0x00005449 call  0x00006b91 
+ 00027526  0x0000544a fetcht  0x00000002 , 0x0000048f 
+ 00027527  0x0000544b copy  0x00000002 , 0x00000005 
+ 00027528  0x0000544c istore  0x00000001 , 0x00000005 
+ 00027529  0x0000544d copy  0x00000005 , 0x00000002 
+ 00027530  0x0000544e storet  0x00000002 , 0x0000048f 
+ 00027531  0x0000544f force  0x000000ff , 0x0000003f 
+ 00027532  0x00005450 call  0x00006b91 
+ 00027533  0x00005451 fetcht  0x00000002 , 0x0000048f 
+ 00027534  0x00005452 copy  0x00000002 , 0x00000005 
+ 00027535  0x00005453 istore  0x00000001 , 0x00000005 
+ 00027536  0x00005454 rtn 
+ 00027537  0x0000545e reverse  0x0000003f , 0x0000003f 
+ 00027538  0x0000545f store  0x00000001 , 0x0000474f 
+ 00027539  0x00005460 fetch  0x00000002 , 0x0000474f 
+ 00027540  0x00005461 lshift8  0x0000003f , 0x0000003f 
+ 00027541  0x00005462 store  0x00000003 , 0x0000048c 
+ 00027542  0x00005463 arg  0x00000107 , 0x00000011 
+ 00027543  0x00005464 arg  0x0000000f , 0x00000012 
+ 00027544  0x00005465 call  0x00006baa 
+ 00027545  0x00005466 xor_into  0x000000d7 , 0x0000003f 
+ 00027546  0x00005467 invert  0x0000003f , 0x0000003f 
+ 00027547  0x00005468 reverse  0x0000003f , 0x0000003f 
+ 00027548  0x00005469 rtn 
+ 00027549  0x00005474 fetch  0x00000003 , 0x0000474e 
+ 00027550  0x00005475 store  0x00000003 , 0x0000048c 
+ 00027551  0x00005476 arg  0x00000107 , 0x00000011 
+ 00027552  0x00005477 arg  0x0000000f , 0x00000012 
+ 00027553  0x00005478 call  0x00006baa 
+ 00027554  0x00005479 lshift8  0x0000003f , 0x0000003f 
+ 00027555  0x0000547a arg  0x00000007 , 0x00000012 
+ 00027556  0x0000547b call  0x00006baa 
+ 00027557  0x0000547c xor_into  0x0000002b , 0x0000003f 
+ 00027558  0x0000547d invert  0x0000003f , 0x0000003f 
+ 00027559  0x0000547e reverse  0x0000003f , 0x0000003f 
+ 00027560  0x0000547f copy  0x0000003f , 0x00000002 
+ 00027561  0x00005480 rtn 
+ 00027562  0x00005483 arg  0x00000000 , 0x00000013 
+ 00027563  0x00005484 copy  0x00000012 , 0x00000039 
+ 00027564  0x00005485 call  0x00007dfb 
+ 00027565  0x00005486 icopy  0x00000002 
+ 00027566  0x0000548c copy  0x00000002 , 0x0000003f 
+ 00027567  0x0000548d lshift  0x00000013 , 0x00000013 
+ 00027568  0x0000548e bbit0  0x00000008 , 0x00006bb3 
+ 00027569  0x0000548f ixor  0x00000011 , 0x00000002 
+ 00027570  0x00005490 increase  0x00000001 , 0x00000013 
+ 00027571  0x00005492 lshift  0x00000002 , 0x00000002 
+ 00027572  0x00005493 fetch  0x00000003 , 0x0000048c 
+ 00027573  0x00005494 increase  0xffffffff , 0x00000012 
+ 00027574  0x00005495 compare  0x000000ff , 0x00000012 , 0x000000ff 
+ 00027575  0x00005496 branch  0x00006bbd , 0x00000001 
+ 00027576  0x00005497 copy  0x00000012 , 0x00000039 
+ 00027577  0x00005498 call  0x00007dfb 
+ 00027578  0x00005499 isolate1  0x00000000 , 0x0000003f 
+ 00027579  0x0000549a setflag  0x00000001 , 0x00000000 , 0x00000002 
+ 00027580  0x0000549b branch  0x00006bae 
+ 00027581  0x0000549e rshift  0x00000002 , 0x0000003f 
+ 00027582  0x0000549f rtn 
+ 00027583  0x000054a2 fetcht  0x00000001 , 0x0000474b 
+ 00027584  0x000054a5 lshift2  0x00000002 , 0x00000002 
+ 00027585  0x000054a6 set1  0x00000000 , 0x00000002 
+ 00027586  0x000054a7 fetch  0x00000001 , 0x00004751 
+ 00027587  0x000054a8 ncall  0x00006b65 , 0x00000034 
+ 00027588  0x000054a9 storet  0x00000001 , 0x000004a5 
+ 00027589  0x000054aa rtn 
+ 00027590  0x000054ae lshift2  0x00000002 , 0x00000002 
+ 00027591  0x000054af set1  0x00000000 , 0x00000002 
+ 00027592  0x000054b0 fetch  0x00000001 , 0x00004751 
+ 00027593  0x000054b1 call  0x00006b65 , 0x00000034 
+ 00027594  0x000054b2 rtn 
+ 00027595  0x000054b5 lshift  0x00000002 , 0x00000002 
+ 00027596  0x000054b6 fetch  0x00000001 , 0x00004751 
+ 00027597  0x000054b7 setflag  0x00000034 , 0x00000000 , 0x00000002 
+ 00027598  0x000054b9 rtn 
+ 00027599  0x000054bb fetcht  0x00000001 , 0x00000494 
+ 00027600  0x000054bc jam  0x000000d7 , 0x00000496 
+ 00027601  0x000054bd call  0x00006cf6 
+ 00027602  0x000054be fetch  0x00000001 , 0x000042ba 
+ 00027603  0x000054bf set1  0x00000006 , 0x0000003f 
+ 00027604  0x000054c0 set1  0x00000007 , 0x0000003f 
+ 00027605  0x000054c1 store  0x00000001 , 0x000042ba 
+ 00027606  0x000054c2 jam  0x00000000 , 0x00004751 
+ 00027607  0x000054c3 branch  0x00006cd7 
+ 00027608  0x000054c5 fetch  0x00000001 , 0x000042ba 
+ 00027609  0x000054c6 set1  0x00000007 , 0x0000003f 
+ 00027610  0x000054c7 store  0x00000001 , 0x000042ba 
+ 00027611  0x000054c8 branch  0x00006cd7 
+ 00027612  0x000054cc set1  0x00000025 , 0x00000000 
+ 00027613  0x000054cd bpatch  0x000000c0 , 0x00004038 
+ 00027614  0x000054ce fetch  0x00000001 , 0x000047f3 
+ 00027615  0x000054cf beq  0x00000000 , 0x00006be1 
+ 00027616  0x000054d0 branch  0x00006c8b 
+ 00027617  0x000054d3 fetch  0x00000002 , 0x000002cb 
+ 00027618  0x000054d4 copy  0x0000003f , 0x00000006 
+ 00027619  0x000054d5 call  0x00006c0f 
+ 00027620  0x000054d6 fetch  0x00000001 , 0x00000494 
+ 00027621  0x000054d7 beq  0x00000000 , 0x00006be7 
+ 00027622  0x000054d8 branch  0x00006c57 
+ 00027623  0x000054da set1  0x00000025 , 0x00000000 
+ 00027624  0x000054db bpatch  0x000000c1 , 0x00004038 
+ 00027625  0x000054dc fetch  0x00000001 , 0x00000495 
+ 00027626  0x000054dd beq  0x0000003f , 0x00006bcf 
+ 00027627  0x000054de beq  0x00000073 , 0x00006bd8 
+ 00027628  0x000054df beq  0x000000ef , 0x00006bef 
+ 00027629  0x000054e0 rtneq  0x00000053 
+ 00027630  0x000054e1 branch  0x00003bf1 
+ 00027631  0x000054e5 fetch  0x00000002 , 0x00000499 
+ 00027632  0x000054e6 copy  0x0000003f , 0x00000006 
+ 00027633  0x000054e7 call  0x00006c1a 
+ 00027634  0x000054e8 fetch  0x00000001 , 0x0000049b 
+ 00027635  0x000054e9 beq  0x00000041 , 0x00006bf8 
+ 00027636  0x000054ea beq  0x00000040 , 0x00006c04 
+ 00027637  0x000054eb beq  0x00000071 , 0x00006c3f 
+ 00027638  0x000054ec beq  0x00000070 , 0x00006c4e 
+ 00027639  0x000054ed branch  0x00006cd7 
+ 00027640  0x000054f0 call  0x00006c06 
+ 00027641  0x000054f1 fetch  0x00000001 , 0x0000474b 
+ 00027642  0x000054f2 rshift  0x0000003f , 0x0000003f 
+ 00027643  0x000054f3 sub  0x0000003f , 0x00000001 , 0x0000003e 
+ 00027644  0x000054f4 branch  0x00006bfe , 0x00000005 
+ 00027645  0x000054f5 branch  0x00003bf1 
+ 00027646  0x000054f7 fetch  0x00000001 , 0x000042bd 
+ 00027647  0x000054f8 set1  0x00000000 , 0x0000003f 
+ 00027648  0x000054f9 set1  0x00000001 , 0x0000003f 
+ 00027649  0x000054fa store  0x00000001 , 0x000042bd 
+ 00027650  0x000054fb call  0x00006d22 
+ 00027651  0x000054fc branch  0x00006cd7 
+ 00027652  0x000054ff call  0x00006c06 
+ 00027653  0x00005500 branch  0x00006cd7 
+ 00027654  0x00005503 call  0x00006c22 
+ 00027655  0x00005504 branch  0x00006c30 
+ 00027656  0x00005507 call  0x00006c22 
+ 00027657  0x00005508 ifetch  0x00000001 , 0x00000006 
+ 00027658  0x00005509 rshift3  0x0000003f , 0x0000003f 
+ 00027659  0x0000550a store  0x00000001 , 0x00004758 
+ 00027660  0x0000550b ifetch  0x00000001 , 0x00000006 
+ 00027661  0x0000550c store  0x00000001 , 0x000004a0 
+ 00027662  0x0000550d rtn 
+ 00027663  0x00005511 ifetch  0x00000001 , 0x00000006 
+ 00027664  0x00005512 store  0x00000001 , 0x00000493 
+ 00027665  0x00005513 rshift3  0x0000003f , 0x0000003f 
+ 00027666  0x00005514 store  0x00000001 , 0x00000494 
+ 00027667  0x00005515 ifetch  0x00000001 , 0x00000006 
+ 00027668  0x00005516 store  0x00000001 , 0x00000495 
+ 00027669  0x00005518 call  0x00006c27 
+ 00027670  0x00005519 storet  0x00000002 , 0x00000497 
+ 00027671  0x0000551a copy  0x00000006 , 0x0000003f 
+ 00027672  0x0000551b store  0x00000002 , 0x00000499 
+ 00027673  0x0000551c rtn 
+ 00027674  0x0000551f ifetch  0x00000001 , 0x00000006 
+ 00027675  0x00005520 rshift  0x0000003f , 0x0000003f 
+ 00027676  0x00005521 store  0x00000001 , 0x0000049b 
+ 00027677  0x00005522 call  0x00006c27 
+ 00027678  0x00005523 storet  0x00000002 , 0x0000049c 
+ 00027679  0x00005524 copy  0x00000006 , 0x0000003f 
+ 00027680  0x00005525 store  0x00000002 , 0x0000049e 
+ 00027681  0x00005526 rtn 
+ 00027682  0x0000552a fetch  0x00000002 , 0x0000049e 
+ 00027683  0x0000552b copy  0x0000003f , 0x00000006 
+ 00027684  0x0000552c rtn 
+ 00027685  0x0000552f fetch  0x00000002 , 0x0000049e 
+ 00027686  0x00005530 copy  0x0000003f , 0x00000006 
+ 00027687  0x00005532 ifetch  0x00000001 , 0x00000006 
+ 00027688  0x00005533 copy  0x0000003f , 0x00000002 
+ 00027689  0x00005534 rshift  0x00000002 , 0x00000002 
+ 00027690  0x00005535 rtnbit1  0x00000000 
+ 00027691  0x00005536 ifetch  0x00000001 , 0x00000006 
+ 00027692  0x00005537 lshift3  0x0000003f , 0x0000003f 
+ 00027693  0x00005538 lshift4  0x0000003f , 0x0000003f 
+ 00027694  0x00005539 iadd  0x00000002 , 0x00000002 
+ 00027695  0x0000553a rtn 
+ 00027696  0x0000553d ifetch  0x00000001 , 0x00000006 
+ 00027697  0x0000553e store  0x00000001 , 0x0000474b 
+ 00027698  0x0000553f ifetch  0x00000001 , 0x00000006 
+ 00027699  0x00005540 store  0x00000001 , 0x000004a1 
+ 00027700  0x00005541 ifetch  0x00000001 , 0x00000006 
+ 00027701  0x00005542 store  0x00000001 , 0x000004a2 
+ 00027702  0x00005543 ifetch  0x00000001 , 0x00000006 
+ 00027703  0x00005544 store  0x00000001 , 0x000004a3 
+ 00027704  0x00005545 ifetch  0x00000002 , 0x00000006 
+ 00027705  0x00005546 store  0x00000002 , 0x0000474c 
+ 00027706  0x00005547 ifetch  0x00000001 , 0x00000006 
+ 00027707  0x00005548 store  0x00000001 , 0x000004a4 
+ 00027708  0x00005549 ifetch  0x00000001 , 0x00000006 
+ 00027709  0x0000554a store  0x00000001 , 0x00004756 
+ 00027710  0x0000554b rtn 
+ 00027711  0x0000554f call  0x00006c08 
+ 00027712  0x00005550 fetch  0x00000001 , 0x00004758 
+ 00027713  0x00005551 sub  0x0000003f , 0x00000001 , 0x0000003e 
+ 00027714  0x00005552 branch  0x00006c44 , 0x00000005 
+ 00027715  0x00005553 branch  0x00003bf1 
+ 00027716  0x00005555 fetch  0x00000001 , 0x000042bd 
+ 00027717  0x00005556 set1  0x00000005 , 0x0000003f 
+ 00027718  0x00005557 set1  0x00000006 , 0x0000003f 
+ 00027719  0x00005558 store  0x00000001 , 0x000042bd 
+ 00027720  0x00005559 fetcht  0x00000001 , 0x0000474b 
+ 00027721  0x0000555a lshift2  0x00000002 , 0x00000002 
+ 00027722  0x0000555b or_into  0x00000003 , 0x00000002 
+ 00027723  0x0000555c call  0x00006d55 
+ 00027724  0x0000555d jam  0x00000003 , 0x00004755 
+ 00027725  0x0000555e branch  0x00006cd7 
+ 00027726  0x00005561 call  0x00006c08 
+ 00027727  0x00005562 fetch  0x00000001 , 0x00004758 
+ 00027728  0x00005563 sub  0x0000003f , 0x00000001 , 0x0000003e 
+ 00027729  0x00005564 branch  0x00006c53 , 0x00000005 
+ 00027730  0x00005565 branch  0x00003bf1 
+ 00027731  0x00005567 fetch  0x00000001 , 0x000042bd 
+ 00027732  0x00005568 set1  0x00000007 , 0x0000003f 
+ 00027733  0x00005569 store  0x00000001 , 0x000042bd 
+ 00027734  0x0000556a branch  0x00006cd7 
+ 00027735  0x0000556d fetch  0x00000001 , 0x00000494 
+ 00027736  0x0000556e sub  0x0000003f , 0x00000001 , 0x0000003e 
+ 00027737  0x0000556f branch  0x00006c5b , 0x00000005 
+ 00027738  0x00005570 branch  0x00003bf1 
+ 00027739  0x00005572 fetch  0x00000001 , 0x00000495 
+ 00027740  0x00005573 beq  0x00000073 , 0x00006c62 
+ 00027741  0x00005574 beq  0x0000003f , 0x00006c66 
+ 00027742  0x00005575 beq  0x000000ef , 0x00006c80 
+ 00027743  0x00005576 beq  0x000000ff , 0x00006c78 
+ 00027744  0x00005577 beq  0x00000053 , 0x00006c85 
+ 00027745  0x00005578 branch  0x00003bf1 
+ 00027746  0x0000557a fetch  0x00000001 , 0x000042bd 
+ 00027747  0x0000557b set1  0x00000003 , 0x0000003f 
+ 00027748  0x0000557c store  0x00000001 , 0x000042bd 
+ 00027749  0x0000557d branch  0x00006cd7 
+ 00027750  0x0000557f fetch  0x00000001 , 0x000042bd 
+ 00027751  0x00005580 set1  0x00000003 , 0x0000003f 
+ 00027752  0x00005581 set1  0x00000002 , 0x0000003f 
+ 00027753  0x00005582 store  0x00000001 , 0x000042bd 
+ 00027754  0x00005583 fetch  0x00000001 , 0x00000493 
+ 00027755  0x00005584 call  0x00006b73 
+ 00027756  0x00005585 store  0x00000001 , 0x00000496 
+ 00027757  0x00005586 call  0x00006cf6 
+ 00027758  0x00005587 fetch  0x00000001 , 0x00000493 
+ 00027759  0x00005588 rshift2  0x0000003f , 0x0000003f 
+ 00027760  0x00005589 store  0x00000001 , 0x0000474b 
+ 00027761  0x0000558a lshift2  0x0000003f , 0x0000003f 
+ 00027762  0x0000558b set0  0x00000001 , 0x0000003f 
+ 00027763  0x0000558c set1  0x00000000 , 0x0000003f 
+ 00027764  0x0000558d arg  0x00004753 , 0x00000002 
+ 00027765  0x0000558e storet  0x00000002 , 0x0000048f 
+ 00027766  0x0000558f call  0x00006b82 
+ 00027767  0x00005590 branch  0x00006cd7 
+ 00027768  0x00005593 fetch  0x00000002 , 0x00000499 
+ 00027769  0x00005594 copy  0x0000003f , 0x00000006 
+ 00027770  0x00005595 increase  0x00000001 , 0x0000003f 
+ 00027771  0x00005596 store  0x00000002 , 0x00000499 
+ 00027772  0x00005597 ifetch  0x00000001 , 0x00000006 
+ 00027773  0x00005598 fetcht  0x00000001 , 0x00004756 
+ 00027774  0x00005599 iadd  0x00000002 , 0x0000003f 
+ 00027775  0x0000559a store  0x00000001 , 0x00004756 
+ 00027776  0x0000559c call  0x00006d88 
+ 00027777  0x0000559e call  0x00006bbf 
+ 00027778  0x0000559f call  0x00006d6d 
+ 00027779  0x000055a0 call  0x00006d8e 
+ 00027780  0x000055a1 branch  0x00006cd7 
+ 00027781  0x000055a4 call  0x00006b5d 
+ 00027782  0x000055a5 fetch  0x00000001 , 0x00000493 
+ 00027783  0x000055a6 call  0x00006b73 
+ 00027784  0x000055a7 store  0x00000001 , 0x00000496 
+ 00027785  0x000055a8 call  0x00006cf6 
+ 00027786  0x000055a9 branch  0x00006cd7 
+ 00027787  0x000055af fetch  0x00000002 , 0x000002cb 
+ 00027788  0x000055b0 copy  0x0000003f , 0x00000006 
+ 00027789  0x000055b1 call  0x00006c0f 
+ 00027790  0x000055b2 fetch  0x00000001 , 0x00000494 
+ 00027791  0x000055b3 beq  0x00000000 , 0x00006c91 
+ 00027792  0x000055b4 branch  0x00006cc6 
+ 00027793  0x000055b7 set1  0x00000025 , 0x00000000 
+ 00027794  0x000055b8 bpatch  0x000000c2 , 0x00004038 
+ 00027795  0x000055b9 fetch  0x00000001 , 0x00000495 
+ 00027796  0x000055ba beq  0x0000003f , 0x00006bcf 
+ 00027797  0x000055bb beq  0x00000073 , 0x00006bd8 
+ 00027798  0x000055bc beq  0x000000ef , 0x00006c98 
+ 00027799  0x000055bd branch  0x00006cd7 
+ 00027800  0x000055bf fetch  0x00000002 , 0x00000499 
+ 00027801  0x000055c0 copy  0x0000003f , 0x00000006 
+ 00027802  0x000055c1 call  0x00006c1a 
+ 00027803  0x000055c2 fetch  0x00000001 , 0x0000049b 
+ 00027804  0x000055c3 beq  0x00000041 , 0x00006ca1 
+ 00027805  0x000055c4 beq  0x00000040 , 0x00006ca1 
+ 00027806  0x000055c5 beq  0x00000071 , 0x00006cac 
+ 00027807  0x000055c6 beq  0x00000070 , 0x00006cbc 
+ 00027808  0x000055c7 branch  0x00006cd7 
+ 00027809  0x000055ca call  0x00006c06 
+ 00027810  0x000055cb fetch  0x00000001 , 0x0000474b 
+ 00027811  0x000055cc rshift  0x0000003f , 0x0000003f 
+ 00027812  0x000055cd fetcht  0x00000001 , 0x00004752 
+ 00027813  0x000055ce isub  0x00000002 , 0x0000003e 
+ 00027814  0x000055cf branch  0x00006ca8 , 0x00000005 
+ 00027815  0x000055d0 branch  0x00003bf1 
+ 00027816  0x000055d2 fetch  0x00000001 , 0x000042bd 
+ 00027817  0x000055d3 set1  0x00000001 , 0x0000003f 
+ 00027818  0x000055d4 store  0x00000001 , 0x000042bd 
+ 00027819  0x000055d5 branch  0x00006cd7 
+ 00027820  0x000055d8 call  0x00006c08 
+ 00027821  0x000055d9 fetch  0x00000001 , 0x00004758 
+ 00027822  0x000055da fetcht  0x00000001 , 0x00004752 
+ 00027823  0x000055db isub  0x00000002 , 0x0000003e 
+ 00027824  0x000055dc branch  0x00006cb3 , 0x00000005 
+ 00027825  0x000055dd branch  0x00003bf1 
+ 00027826  0x000055de branch  0x00006cd7 
+ 00027827  0x000055e0 fetch  0x00000001 , 0x000042bd 
+ 00027828  0x000055e1 set1  0x00000005 , 0x0000003f 
+ 00027829  0x000055e2 set1  0x00000006 , 0x0000003f 
+ 00027830  0x000055e3 store  0x00000001 , 0x000042bd 
+ 00027831  0x000055e4 fetcht  0x00000001 , 0x0000474b 
+ 00027832  0x000055e5 lshift2  0x00000002 , 0x00000002 
+ 00027833  0x000055e6 or_into  0x00000003 , 0x00000002 
+ 00027834  0x000055e7 call  0x00006d55 
+ 00027835  0x000055e8 branch  0x00006cd7 
+ 00027836  0x000055eb call  0x00006c08 
+ 00027837  0x000055ec fetch  0x00000001 , 0x00004758 
+ 00027838  0x000055ed fetcht  0x00000001 , 0x00004752 
+ 00027839  0x000055ee isub  0x00000002 , 0x0000003e 
+ 00027840  0x000055ef branch  0x00006cc2 , 0x00000005 
+ 00027841  0x000055f0 branch  0x00003bf1 
+ 00027842  0x000055f2 fetch  0x00000001 , 0x000042bd 
+ 00027843  0x000055f3 set1  0x00000007 , 0x0000003f 
+ 00027844  0x000055f4 store  0x00000001 , 0x000042bd 
+ 00027845  0x000055f5 branch  0x00006cd7 
+ 00027846  0x000055f8 fetch  0x00000001 , 0x00000494 
+ 00027847  0x000055f9 fetcht  0x00000001 , 0x00004752 
+ 00027848  0x000055fa isub  0x00000002 , 0x0000003e 
+ 00027849  0x000055fb branch  0x00006ccc , 0x00000005 
+ 00027850  0x000055fc branch  0x00003bf1 
+ 00027851  0x000055fd branch  0x00006cd7 
+ 00027852  0x00005600 fetch  0x00000001 , 0x00000495 
+ 00027853  0x00005601 beq  0x00000073 , 0x00006cd1 
+ 00027854  0x00005602 beq  0x000000ef , 0x00006c80 
+ 00027855  0x00005603 beq  0x000000ff , 0x00006c78 
+ 00027856  0x00005604 beq  0x00000053 , 0x00006cd6 
+ 00027857  0x00005606 fetch  0x00000001 , 0x000042bd 
+ 00027858  0x00005607 set1  0x00000003 , 0x0000003f 
+ 00027859  0x00005608 store  0x00000001 , 0x000042bd 
+ 00027860  0x00005609 branch  0x00006cd7 
+ 00027861  0x0000560b branch  0x00006cd5 
+ 00027862  0x0000560d branch  0x00006c85 
+ 00027863  0x0000560f rtn 
+ 00027864  0x00005612 fetch  0x00000001 , 0x00004755 
+ 00027865  0x00005613 rtn  0x00000034 
+ 00027866  0x00005614 beq  0x00000003 , 0x00006cdc 
+ 00027867  0x00005615 branch  0x00003bf1 
+ 00027868  0x00005618 jam  0x00000000 , 0x00004755 
+ 00027869  0x00005619 call  0x000052e0 
+ 00027870  0x0000561a arg  0x00000001 , 0x00000002 
+ 00027871  0x0000561b lshift3  0x00000002 , 0x00000002 
+ 00027872  0x0000561d or_into  0x00000003 , 0x00000002 
+ 00027873  0x0000561e arg  0x000000aa , 0x00000011 
+ 00027874  0x0000561f call  0x00006d3f 
+ 00027875  0x00005620 call  0x000052ef 
+ 00027876  0x00005621 copy  0x00000005 , 0x00000006 
+ 00027877  0x00005622 ifetch  0x00000002 , 0x00000006 
+ 00027878  0x00005623 branch  0x00003bf1 , 0x00000034 
+ 00027879  0x00005624 rtn 
+ 00027880  0x00005627 set1  0x00000025 , 0x00000000 
+ 00027881  0x00005628 bpatch  0x000000c3 , 0x00004038 
+ 00027882  0x00005629 call  0x000052ef 
+ 00027883  0x0000562a setarg  0x00000004 
+ 00027884  0x0000562b istore  0x00000002 , 0x00000005 
+ 00027885  0x0000562c fetch  0x00000002 , 0x000042b3 
+ 00027886  0x0000562d istore  0x00000002 , 0x00000005 
+ 00027887  0x0000562e fetch  0x00000001 , 0x00000493 
+ 00027888  0x0000562f istore  0x00000001 , 0x00000005 
+ 00027889  0x00005630 setarg  0x0000013f 
+ 00027890  0x00005631 istore  0x00000002 , 0x00000005 
+ 00027891  0x00005632 fetch  0x00000001 , 0x00000496 
+ 00027892  0x00005633 istore  0x00000001 , 0x00000005 
+ 00027893  0x00005634 rtn 
+ 00027894  0x00005636 set1  0x00000025 , 0x00000000 
+ 00027895  0x00005637 bpatch  0x000000c4 , 0x00004038 
+ 00027896  0x00005638 call  0x000052e0 
+ 00027897  0x00005639 call  0x000052ef 
+ 00027898  0x0000563a setarg  0x00000004 
+ 00027899  0x0000563b istore  0x00000002 , 0x00000005 
+ 00027900  0x0000563c fetch  0x00000002 , 0x000042b3 
+ 00027901  0x0000563d istore  0x00000002 , 0x00000005 
+ 00027902  0x0000563e fetch  0x00000001 , 0x00000493 
+ 00027903  0x0000563f istore  0x00000001 , 0x00000005 
+ 00027904  0x00005640 setarg  0x00000173 
+ 00027905  0x00005641 istore  0x00000002 , 0x00000005 
+ 00027906  0x00005642 fetch  0x00000001 , 0x00000496 
+ 00027907  0x00005643 istore  0x00000001 , 0x00000005 
+ 00027908  0x00005644 rtn 
+ 00027909  0x00005646 set1  0x00000025 , 0x00000000 
+ 00027910  0x00005647 bpatch  0x000000c5 , 0x00004038 
+ 00027911  0x00005648 call  0x000052ef 
+ 00027912  0x00005649 setarg  0x0000000e 
+ 00027913  0x0000564a istore  0x00000002 , 0x00000005 
+ 00027914  0x0000564b fetch  0x00000002 , 0x000042b3 
+ 00027915  0x0000564c istore  0x00000002 , 0x00000005 
+ 00027916  0x0000564d fetch  0x00000001 , 0x00004751 
+ 00027917  0x0000564e lshift  0x0000003f , 0x0000003f 
+ 00027918  0x0000564f set1  0x00000000 , 0x0000003f 
+ 00027919  0x00005650 istore  0x00000001 , 0x00000005 
+ 00027920  0x00005651 setarg  0x000015ef 
+ 00027921  0x00005652 istore  0x00000002 , 0x00000005 
+ 00027922  0x00005653 setarg  0x00001183 
+ 00027923  0x00005654 istore  0x00000002 , 0x00000005 
+ 00027924  0x00005655 copy  0x00000002 , 0x0000003f 
+ 00027925  0x00005656 istore  0x00000001 , 0x00000005 
+ 00027926  0x00005657 setarg  0x000000f0 
+ 00027927  0x00005658 istore  0x00000003 , 0x00000005 
+ 00027928  0x00005659 setarg  0x0000007f 
+ 00027929  0x0000565a istore  0x00000002 , 0x00000005 
+ 00027930  0x0000565b setarg  0x00000000 
+ 00027931  0x0000565c istore  0x00000001 , 0x00000005 
+ 00027932  0x0000565d setarg  0x00000001 
+ 00027933  0x0000565e istore  0x00000001 , 0x00000005 
+ 00027934  0x0000565f call  0x00006b7c 
+ 00027935  0x00005660 istore  0x00000001 , 0x00000005 
+ 00027936  0x00005661 jam  0x00000010 , 0x00004757 
+ 00027937  0x00005662 rtn 
+ 00027938  0x00005664 set1  0x00000025 , 0x00000000 
+ 00027939  0x00005665 bpatch  0x000000c6 , 0x00004038 
+ 00027940  0x00005666 call  0x000052e0 
+ 00027941  0x00005667 call  0x000052ef 
+ 00027942  0x00005668 setarg  0x0000000e 
+ 00027943  0x00005669 istore  0x00000002 , 0x00000005 
+ 00027944  0x0000566a fetch  0x00000002 , 0x000042b3 
+ 00027945  0x0000566b istore  0x00000002 , 0x00000005 
+ 00027946  0x0000566c fetch  0x00000001 , 0x00004751 
+ 00027947  0x0000566d lshift  0x0000003f , 0x0000003f 
+ 00027948  0x0000566e set1  0x00000000 , 0x0000003f 
+ 00027949  0x0000566f istore  0x00000001 , 0x00000005 
+ 00027950  0x00005670 setarg  0x000015ef 
+ 00027951  0x00005671 istore  0x00000002 , 0x00000005 
+ 00027952  0x00005672 setarg  0x00001181 
+ 00027953  0x00005673 istore  0x00000002 , 0x00000005 
+ 00027954  0x00005674 fetch  0x00000001 , 0x0000474b 
+ 00027955  0x00005675 istore  0x00000001 , 0x00000005 
+ 00027956  0x00005676 setarg  0x000000e0 
+ 00027957  0x00005677 istore  0x00000003 , 0x00000005 
+ 00027958  0x00005678 setarg  0x0000007f 
+ 00027959  0x00005679 istore  0x00000002 , 0x00000005 
+ 00027960  0x0000567a setarg  0x00000000 
+ 00027961  0x0000567b istore  0x00000001 , 0x00000005 
+ 00027962  0x0000567c setarg  0x00000007 
+ 00027963  0x0000567d istore  0x00000001 , 0x00000005 
+ 00027964  0x0000567e call  0x00006b7c 
+ 00027965  0x0000567f istore  0x00000001 , 0x00000005 
+ 00027966  0x00005680 rtn 
+ 00027967  0x00005682 set1  0x00000025 , 0x00000000 
+ 00027968  0x00005683 bpatch  0x000000c7 , 0x00004038 
+ 00027969  0x00005684 call  0x000052ef 
+ 00027970  0x00005685 setarg  0x00000008 
+ 00027971  0x00005686 istore  0x00000002 , 0x00000005 
+ 00027972  0x00005687 fetch  0x00000002 , 0x000042b3 
+ 00027973  0x00005688 istore  0x00000002 , 0x00000005 
+ 00027974  0x00005689 fetch  0x00000001 , 0x00004751 
+ 00027975  0x0000568a lshift  0x0000003f , 0x0000003f 
+ 00027976  0x0000568b set1  0x00000000 , 0x0000003f 
+ 00027977  0x0000568c istore  0x00000001 , 0x00000005 
+ 00027978  0x0000568d setarg  0x000009ef 
+ 00027979  0x0000568e istore  0x00000002 , 0x00000005 
+ 00027980  0x0000568f setarg  0x000005e3 
+ 00027981  0x00005690 istore  0x00000002 , 0x00000005 
+ 00027982  0x00005691 copy  0x00000002 , 0x0000003f 
+ 00027983  0x00005692 istore  0x00000001 , 0x00000005 
+ 00027984  0x00005693 setarg  0x0000008d 
+ 00027985  0x00005694 istore  0x00000001 , 0x00000005 
+ 00027986  0x00005695 call  0x00006b7c 
+ 00027987  0x00005696 istore  0x00000001 , 0x00000005 
+ 00027988  0x00005697 rtn 
+ 00027989  0x0000569a set1  0x00000025 , 0x00000000 
+ 00027990  0x0000569b bpatch  0x000000c8 , 0x00004039 
+ 00027991  0x0000569c call  0x000052e0 
+ 00027992  0x0000569d call  0x000052ef 
+ 00027993  0x0000569e setarg  0x00000008 
+ 00027994  0x0000569f istore  0x00000002 , 0x00000005 
+ 00027995  0x000056a0 fetch  0x00000002 , 0x000042b3 
+ 00027996  0x000056a1 istore  0x00000002 , 0x00000005 
+ 00027997  0x000056a2 copy  0x00000002 , 0x0000000b 
+ 00027998  0x000056a3 fetch  0x00000001 , 0x00004751 
+ 00027999  0x000056a4 lshift  0x0000003f , 0x0000003f 
+ 00028000  0x000056a5 set1  0x00000000 , 0x0000003f 
+ 00028001  0x000056a6 istore  0x00000001 , 0x00000005 
+ 00028002  0x000056a7 setarg  0x000009ef 
+ 00028003  0x000056a8 istore  0x00000002 , 0x00000005 
+ 00028004  0x000056a9 setarg  0x000005e1 
+ 00028005  0x000056aa istore  0x00000002 , 0x00000005 
+ 00028006  0x000056ab copy  0x0000000b , 0x0000003f 
+ 00028007  0x000056ac istore  0x00000001 , 0x00000005 
+ 00028008  0x000056ad setarg  0x0000008d 
+ 00028009  0x000056ae istore  0x00000001 , 0x00000005 
+ 00028010  0x000056af call  0x00006b7c 
+ 00028011  0x000056b0 istore  0x00000001 , 0x00000005 
+ 00028012  0x000056b1 rtn 
+ 00028013  0x000056b4 set1  0x00000025 , 0x00000000 
+ 00028014  0x000056b5 bpatch  0x000000c9 , 0x00004039 
+ 00028015  0x000056b6 fetch  0x00000001 , 0x00004757 
+ 00028016  0x000056b7 rtn  0x00000034 
+ 00028017  0x000056b8 hfetch  0x00000002 , 0x00008112 
+ 00028018  0x000056b9 nrtn  0x00000034 
+ 00028019  0x000056ba copy  0x00000011 , 0x0000003f 
+ 00028020  0x000056bb store  0x00000001 , 0x00000162 
+ 00028021  0x000056bc storet  0x00000001 , 0x00000161 
+ 00028022  0x000056bd call  0x0000527a 
+ 00028023  0x000056be nrtn  0x00000034 
+ 00028024  0x000056bf call  0x000052e0 
+ 00028025  0x000056c0 call  0x000052ef 
+ 00028026  0x000056c1 setarg  0x00000005 
+ 00028027  0x000056c2 istore  0x00000002 , 0x00000005 
+ 00028028  0x000056c3 fetch  0x00000002 , 0x000042b3 
+ 00028029  0x000056c4 istore  0x00000002 , 0x00000005 
+ 00028030  0x000056c5 fetch  0x00000001 , 0x000004a5 
+ 00028031  0x000056c6 istore  0x00000001 , 0x00000005 
+ 00028032  0x000056c7 setarg  0x000001ff 
+ 00028033  0x000056c8 istore  0x00000002 , 0x00000005 
+ 00028034  0x000056c9 fetch  0x00000001 , 0x00004757 
+ 00028035  0x000056ca istore  0x00000001 , 0x00000005 
+ 00028036  0x000056cb fetch  0x00000001 , 0x00004754 
+ 00028037  0x000056cc istore  0x00000001 , 0x00000005 
+ 00028038  0x000056cd jam  0x00000000 , 0x00004757 
+ 00028039  0x000056ce rtn 
+ 00028040  0x000056d1 fetch  0x00000002 , 0x00000497 
+ 00028041  0x000056d2 rtn  0x00000034 
+ 00028042  0x000056d3 fetch  0x00000001 , 0x00004757 
+ 00028043  0x000056d4 increase  0x00000001 , 0x0000003f 
+ 00028044  0x000056d5 store  0x00000001 , 0x00004757 
+ 00028045  0x000056d6 rtn 
+ 00028046  0x000056d9 set1  0x00000025 , 0x00000000 
+ 00028047  0x000056da bpatch  0x000000ca , 0x00004039 
+ 00028048  0x000056db fetch  0x00000002 , 0x00000497 
+ 00028049  0x000056dc copy  0x0000003f , 0x00000039 
+ 00028050  0x000056dd call  0x000068f7 
+ 00028051  0x000056de fetch  0x00000002 , 0x00000499 
+ 00028052  0x000056df copy  0x0000003f , 0x00000006 
+ 00028053  0x000056e0 call  0x00004976 
+ 00028054  0x000056e1 branch  0x000068fa 
+ 00028055  0x000056e4 set1  0x00000025 , 0x00000000 
+ 00028056  0x000056e5 bpatch  0x000000cb , 0x00004039 
+ 00028057  0x000056e7 fetch  0x00000001 , 0x00004756 
+ 00028058  0x000056e8 rtn  0x00000034 
+ 00028059  0x000056e9 increase  0xffffffff , 0x0000003f 
+ 00028060  0x000056ea store  0x00000001 , 0x00004756 
+ 00028061  0x000056eb fetch  0x00000002 , 0x0000474c 
+ 00028062  0x000056ec fetcht  0x00000002 , 0x0000480e 
+ 00028063  0x000056ed isub  0x00000002 , 0x0000003e 
+ 00028064  0x000056ee branch  0x00006da2 , 0x00000002 
+ 00028065  0x000056ef store  0x00000002 , 0x0000480e 
+ 00028066  0x000056f1 fetch  0x00000001 , 0x00004757 
+ 00028067  0x000056f2 branch  0x00006daa , 0x00000034 
+ 00028068  0x000056f3 jam  0x00000001 , 0x000004a8 
+ 00028069  0x000056f4 fetch  0x00000001 , 0x00004754 
+ 00028070  0x000056f5 store  0x00000001 , 0x000004a7 
+ 00028071  0x000056f6 setarg  0x000000ff 
+ 00028072  0x000056f7 store  0x00000001 , 0x000004a6 
+ 00028073  0x000056f8 branch  0x00006daf 
+ 00028074  0x000056fa jam  0x00000000 , 0x000004a8 
+ 00028075  0x000056fb fetch  0x00000001 , 0x00004753 
+ 00028076  0x000056fc store  0x00000001 , 0x000004a7 
+ 00028077  0x000056fd setarg  0x000000ef 
+ 00028078  0x000056fe store  0x00000001 , 0x000004a6 
+ 00028079  0x00005700 set1  0x00000025 , 0x00000000 
+ 00028080  0x00005701 bpatch  0x000000cc , 0x00004039 
+ 00028081  0x00005702 fetch  0x00000001 , 0x0000480e 
+ 00028082  0x00005703 sub  0x0000003f , 0x0000007f , 0x0000003e 
+ 00028083  0x00005704 branch  0x00006db7 , 0x00000002 
+ 00028084  0x00005705 fetch  0x00000001 , 0x000004a8 
+ 00028085  0x00005706 increase  0x00000001 , 0x0000003f 
+ 00028086  0x00005707 store  0x00000001 , 0x000004a8 
+ 00028087  0x00005709 call  0x00006bbf 
+ 00028088  0x0000570a fetch  0x00000002 , 0x0000480e 
+ 00028089  0x0000570b increase  0x00000008 , 0x0000003f 
+ 00028090  0x0000570c fetcht  0x00000001 , 0x000004a8 
+ 00028091  0x0000570d iadd  0x00000002 , 0x00000011 
+ 00028092  0x0000570f call  0x00005248 
+ 00028093  0x00005710 store  0x00000002 , 0x000002de 
+ 00028094  0x00005711 increase  0x00000004 , 0x0000003f 
+ 00028095  0x00005712 store  0x00000002 , 0x000002e0 
+ 00028096  0x00005713 copy  0x0000003f , 0x00000005 
+ 00028097  0x00005714 fetch  0x00000001 , 0x000004a5 
+ 00028098  0x00005715 istore  0x00000001 , 0x00000005 
+ 00028099  0x00005716 fetch  0x00000001 , 0x000004a6 
+ 00028100  0x00005717 istore  0x00000001 , 0x00000005 
+ 00028101  0x00005718 call  0x00006dd8 
+ 00028102  0x00005719 call  0x00006de8 
+ 00028103  0x0000571a call  0x00007f6b 
+ 00028104  0x0000571b fetch  0x00000001 , 0x0000480e 
+ 00028105  0x0000571c copy  0x0000003f , 0x00000039 
+ 00028106  0x0000571d call  0x0000497c 
+ 00028107  0x0000571e fetch  0x00000001 , 0x000004a7 
+ 00028108  0x0000571f istore  0x00000001 , 0x00000005 
+ 00028109  0x00005720 fetch  0x00000002 , 0x000002de 
+ 00028110  0x00005721 copy  0x0000003f , 0x00000005 
+ 00028111  0x00005722 fetch  0x00000002 , 0x0000480e 
+ 00028112  0x00005723 fetcht  0x00000001 , 0x000004a8 
+ 00028113  0x00005724 iadd  0x00000002 , 0x0000003f 
+ 00028114  0x00005725 increase  0x00000004 , 0x0000003f 
+ 00028115  0x00005726 istore  0x00000002 , 0x00000005 
+ 00028116  0x00005727 fetch  0x00000002 , 0x000042b3 
+ 00028117  0x00005728 istore  0x00000002 , 0x00000005 
+ 00028118  0x00005729 jam  0x00000000 , 0x00004757 
+ 00028119  0x0000572a branch  0x0000428c 
+ 00028120  0x0000572d fetch  0x00000002 , 0x0000480e 
+ 00028121  0x0000572e sub  0x0000003f , 0x0000007f , 0x0000003e 
+ 00028122  0x0000572f nbranch  0x00006ddf , 0x00000002 
+ 00028123  0x00005730 lshift  0x0000003f , 0x0000003f 
+ 00028124  0x00005731 set1  0x00000000 , 0x0000003f 
+ 00028125  0x00005732 istore  0x00000001 , 0x00000005 
+ 00028126  0x00005733 rtn 
+ 00028127  0x00005735 fetch  0x00000002 , 0x0000480e 
+ 00028128  0x00005736 rshift3  0x0000003f , 0x0000003f 
+ 00028129  0x00005737 rshift4  0x0000003f , 0x00000002 
+ 00028130  0x00005738 and_into  0x0000007f , 0x0000003f 
+ 00028131  0x00005739 lshift  0x0000003f , 0x0000003f 
+ 00028132  0x0000573a set0  0x00000000 , 0x0000003f 
+ 00028133  0x0000573b istore  0x00000001 , 0x00000005 
+ 00028134  0x0000573c istoret  0x00000001 , 0x00000005 
+ 00028135  0x0000573d rtn 
+ 00028136  0x0000573f fetch  0x00000001 , 0x00004757 
+ 00028137  0x00005740 rtn  0x00000034 
+ 00028138  0x00005741 istore  0x00000001 , 0x00000005 
+ 00028139  0x00005742 rtn 
+ 00028140  0x00005748 set1  0x00000025 , 0x00000000 
+ 00028141  0x00005749 bpatch  0x0000009d , 0x00004033 
+ 00028142  0x0000574a call  0x00007c45 
+ 00028143  0x0000574b call  0x00003e73 
+ 00028144  0x0000574c call  0x00006235 
+ 00028145  0x0000574e set1  0x00000025 , 0x00000000 
+ 00028146  0x0000574f bpatch  0x0000009e , 0x00004033 
+ 00028147  0x00005750 call  0x00007813 
+ 00028148  0x00005751 call  0x000077ee 
+ 00028149  0x00005752 call  0x000077fe 
+ 00028150  0x00005754 set1  0x00000025 , 0x00000000 
+ 00028151  0x00005755 bpatch  0x0000009f , 0x00004033 
+ 00028152  0x00005756 fetch  0x00000001 , 0x00004132 
+ 00028153  0x00005757 rtneq  0x00000001 
+ 00028154  0x00005759 call  0x0000527a 
+ 00028155  0x0000575a nrtn  0x00000034 
+ 00028156  0x0000575c call  0x00004dcd 
+ 00028157  0x0000575e call  0x0000527a 
+ 00028158  0x0000575f nrtn  0x00000034 
+ 00028159  0x00005760 set1  0x00000025 , 0x00000000 
+ 00028160  0x00005761 bpatch  0x000000a0 , 0x00004034 
+ 00028161  0x00005763 call  0x00006e47 
+ 00028162  0x00005764 call  0x00004f6e 
+ 00028163  0x00005765 call  0x00006cd8 
+ 00028164  0x00005767 call  0x00006e0a 
+ 00028165  0x00005768 set1  0x00000025 , 0x00000000 
+ 00028166  0x00005769 bpatch  0x000000a1 , 0x00004034 
+ 00028167  0x0000576a call  0x0000527a 
+ 00028168  0x0000576b nrtn  0x00000034 
+ 00028169  0x0000576c branch  0x00003e6f 
+ 00028170  0x0000576f set1  0x00000025 , 0x00000000 
+ 00028171  0x00005770 bpatch  0x000000a2 , 0x00004034 
+ 00028172  0x00005771 fetch  0x00000001 , 0x000002e6 
+ 00028173  0x00005772 bbit1  0x00000000 , 0x0000508f 
+ 00028174  0x00005773 bbit1  0x00000007 , 0x00005099 
+ 00028175  0x00005774 rtn 
+ 00028176  0x00005777 set1  0x00000025 , 0x00000000 
+ 00028177  0x00005778 bpatch  0x000000a3 , 0x00004034 
+ 00028178  0x00005779 call  0x0000527e 
+ 00028179  0x0000577a rtn  0x00000034 
+ 00028180  0x0000577b fetch  0x00000001 , 0x0000004b 
+ 00028181  0x0000577c rtnbit1  0x00000006 
+ 00028182  0x0000577d call  0x00005261 
+ 00028183  0x0000577e store  0x00000002 , 0x00000179 
+ 00028184  0x0000577f copy  0x0000003f , 0x00000006 
+ 00028185  0x00005780 ifetch  0x00000002 , 0x00000006 
+ 00028186  0x00005781 increase  0x00000004 , 0x0000003f 
+ 00028187  0x00005782 store  0x00000002 , 0x00000091 
+ 00028188  0x00005783 jam  0x00000006 , 0x00000090 
+ 00028189  0x00005784 set1  0x00000025 , 0x00000000 
+ 00028190  0x00005785 bpatch  0x000000a4 , 0x00004034 
+ 00028191  0x00005786 fetch  0x00000002 , 0x000042af 
+ 00028192  0x00005787 branch  0x00006e2d , 0x00000034 
+ 00028193  0x00005788 fetch  0x00000001 , 0x0000004b 
+ 00028194  0x00005789 rtnbit0  0x00000007 
+ 00028195  0x0000578a set0  0x00000007 , 0x0000003f 
+ 00028196  0x0000578b store  0x00000001 , 0x0000004b 
+ 00028197  0x0000578c jam  0x00000005 , 0x00000090 
+ 00028198  0x0000578d fetcht  0x00000002 , 0x000042af 
+ 00028199  0x0000578e fetch  0x00000002 , 0x00000179 
+ 00028200  0x0000578f iadd  0x00000002 , 0x0000003f 
+ 00028201  0x00005790 store  0x00000002 , 0x00000179 
+ 00028202  0x00005791 fetch  0x00000002 , 0x00000091 
+ 00028203  0x00005792 isub  0x00000002 , 0x0000003f 
+ 00028204  0x00005793 store  0x00000002 , 0x00000091 
+ 00028205  0x00005795 set1  0x00000025 , 0x00000000 
+ 00028206  0x00005796 bpatch  0x000000a5 , 0x00004034 
+ 00028207  0x00005797 fetch  0x00000002 , 0x00000091 
+ 00028208  0x00005798 branch  0x00003bf1 , 0x00000034 
+ 00028209  0x00005799 arg  0x00000104 , 0x00000002 
+ 00028210  0x0000579a isub  0x00000002 , 0x0000003f 
+ 00028211  0x0000579b nbranch  0x00006e3b , 0x00000002 
+ 00028212  0x0000579c set1  0x00000025 , 0x00000000 
+ 00028213  0x0000579d bpatch  0x000000a6 , 0x00004034 
+ 00028214  0x0000579e storet  0x00000002 , 0x00000091 
+ 00028215  0x0000579f fetch  0x00000002 , 0x000042af 
+ 00028216  0x000057a0 iadd  0x00000002 , 0x0000003f 
+ 00028217  0x000057a1 store  0x00000002 , 0x000042af 
+ 00028218  0x000057a2 branch  0x00006e3d 
+ 00028219  0x000057a4 setarg  0x00000000 
+ 00028220  0x000057a5 store  0x00000002 , 0x000042af 
+ 00028221  0x000057a7 fetch  0x00000001 , 0x0000004b 
+ 00028222  0x000057a8 set1  0x00000006 , 0x0000003f 
+ 00028223  0x000057a9 store  0x00000001 , 0x0000004b 
+ 00028224  0x000057aa rtn 
+ 00028225  0x000057ad fetch  0x00000001 , 0x000047f6 
+ 00028226  0x000057ae bbit1  0x00000000 , 0x00006e45 
+ 00028227  0x000057af jam  0x00000001 , 0x000002ee 
+ 00028228  0x000057b0 rtn 
+ 00028229  0x000057b2 jam  0x0000000f , 0x000002ee 
+ 00028230  0x000057b3 rtn 
+ 00028231  0x000057b6 fetch  0x00000001 , 0x000047f3 
+ 00028232  0x000057b7 nbranch  0x00006e4d , 0x00000034 
+ 00028233  0x000057b9 fetch  0x00000001 , 0x000002ed 
+ 00028234  0x000057bb rtn  0x00000034 
+ 00028235  0x000057bd jam  0x00000000 , 0x000002ed 
+ 00028236  0x000057bf rtn 
+ 00028237  0x000057c3 set1  0x00000025 , 0x00000000 
+ 00028238  0x000057c4 bpatch  0x000000a7 , 0x00004034 
+ 00028239  0x000057c5 fetch  0x00000001 , 0x000002ee 
+ 00028240  0x000057c6 rtn  0x00000034 
+ 00028241  0x000057c7 beq  0x00000001 , 0x00006e6e 
+ 00028242  0x000057c8 beq  0x00000002 , 0x00006ec7 
+ 00028243  0x000057c9 beq  0x00000003 , 0x00006e74 
+ 00028244  0x000057ca beq  0x00000004 , 0x00006ecb 
+ 00028245  0x000057cb beq  0x0000003b , 0x00006e7e 
+ 00028246  0x000057cc beq  0x0000003c , 0x00006ece 
+ 00028247  0x000057cd beq  0x0000000d , 0x00006e83 
+ 00028248  0x000057ce beq  0x0000000e , 0x00006ed3 
+ 00028249  0x000057cf beq  0x0000000f , 0x00006e86 
+ 00028250  0x000057d0 beq  0x00000010 , 0x00006ed9 
+ 00028251  0x000057d1 beq  0x00000011 , 0x00006e8c 
+ 00028252  0x000057d2 beq  0x00000012 , 0x00006edd 
+ 00028253  0x000057d3 beq  0x00000013 , 0x00006e92 
+ 00028254  0x000057d4 beq  0x00000014 , 0x00006ee1 
+ 00028255  0x000057d5 beq  0x00000015 , 0x00006e98 
+ 00028256  0x000057d6 beq  0x00000016 , 0x00006ee5 
+ 00028257  0x000057d7 beq  0x00000017 , 0x00006e9e 
+ 00028258  0x000057d8 beq  0x00000018 , 0x00006eea 
+ 00028259  0x000057d9 beq  0x00000019 , 0x00006ea4 
+ 00028260  0x000057da beq  0x0000001a , 0x00006eee 
+ 00028261  0x000057db beq  0x0000001b , 0x00006eaa 
+ 00028262  0x000057dc beq  0x0000001c , 0x00006ef2 
+ 00028263  0x000057dd beq  0x0000001d , 0x00006eb0 
+ 00028264  0x000057de beq  0x0000001e , 0x00006ef7 
+ 00028265  0x000057df beq  0x0000001f , 0x00006eb6 
+ 00028266  0x000057e0 beq  0x00000020 , 0x00006efb 
+ 00028267  0x000057e1 beq  0x00000021 , 0x00006ec1 
+ 00028268  0x000057e2 beq  0x00000022 , 0x00006eff 
+ 00028269  0x000057e4 rtn 
+ 00028270  0x000057e6 call  0x00006f0a 
+ 00028271  0x000057e7 jam  0x00000002 , 0x000002ee 
+ 00028272  0x000057e8 fetch  0x00000001 , 0x000042b9 
+ 00028273  0x000057e9 set1  0x00000000 , 0x0000003f 
+ 00028274  0x000057ea store  0x00000001 , 0x000042b9 
+ 00028275  0x000057eb rtn 
+ 00028276  0x000057ed jam  0x00000004 , 0x000002ee 
+ 00028277  0x000057ee fetch  0x00000001 , 0x000042b9 
+ 00028278  0x000057ef rtnbit1  0x00000002 
+ 00028279  0x000057f0 jam  0x00000003 , 0x000002ee 
+ 00028280  0x000057f1 call  0x00006f12 
+ 00028281  0x000057f2 jam  0x00000004 , 0x000002ee 
+ 00028282  0x000057f3 fetch  0x00000001 , 0x000042b9 
+ 00028283  0x000057f4 set1  0x00000002 , 0x0000003f 
+ 00028284  0x000057f5 store  0x00000001 , 0x000042b9 
+ 00028285  0x000057f6 rtn 
+ 00028286  0x000057f8 call  0x0000527e 
+ 00028287  0x000057f9 nrtn  0x00000034 
+ 00028288  0x000057fa call  0x00006f23 
+ 00028289  0x000057fb jam  0x0000003c , 0x000002ee 
+ 00028290  0x000057fc rtn 
+ 00028291  0x000057fe call  0x00006f18 
+ 00028292  0x000057ff jam  0x0000000e , 0x000002ee 
+ 00028293  0x00005800 rtn 
+ 00028294  0x00005802 call  0x00006f36 
+ 00028295  0x00005803 jam  0x00000010 , 0x000002ee 
+ 00028296  0x00005804 fetch  0x00000001 , 0x000042bb 
+ 00028297  0x00005805 set1  0x00000000 , 0x0000003f 
+ 00028298  0x00005806 store  0x00000001 , 0x000042bb 
+ 00028299  0x00005807 rtn 
+ 00028300  0x00005809 call  0x00006f3e 
+ 00028301  0x0000580a jam  0x00000012 , 0x000002ee 
+ 00028302  0x0000580b fetch  0x00000001 , 0x000042bb 
+ 00028303  0x0000580c set1  0x00000002 , 0x0000003f 
+ 00028304  0x0000580d store  0x00000001 , 0x000042bb 
+ 00028305  0x0000580e rtn 
+ 00028306  0x00005810 call  0x00006f44 
+ 00028307  0x00005811 jam  0x00000014 , 0x000002ee 
+ 00028308  0x00005812 fetch  0x00000001 , 0x000042bc 
+ 00028309  0x00005813 set1  0x00000000 , 0x0000003f 
+ 00028310  0x00005814 store  0x00000001 , 0x000042bc 
+ 00028311  0x00005815 rtn 
+ 00028312  0x00005817 call  0x00006f4c 
+ 00028313  0x00005818 jam  0x00000016 , 0x000002ee 
+ 00028314  0x00005819 fetch  0x00000001 , 0x000042bc 
+ 00028315  0x0000581a set1  0x00000002 , 0x0000003f 
+ 00028316  0x0000581b store  0x00000001 , 0x000042bc 
+ 00028317  0x0000581c rtn 
+ 00028318  0x0000581e call  0x00006f28 
+ 00028319  0x0000581f jam  0x00000018 , 0x000002ee 
+ 00028320  0x00005820 fetch  0x00000001 , 0x000042ba 
+ 00028321  0x00005821 set1  0x00000000 , 0x0000003f 
+ 00028322  0x00005822 store  0x00000001 , 0x000042ba 
+ 00028323  0x00005823 rtn 
+ 00028324  0x00005825 call  0x00006f30 
+ 00028325  0x00005826 jam  0x0000001a , 0x000002ee 
+ 00028326  0x00005827 fetch  0x00000001 , 0x000042ba 
+ 00028327  0x00005828 set1  0x00000002 , 0x0000003f 
+ 00028328  0x00005829 store  0x00000001 , 0x000042ba 
+ 00028329  0x0000582a rtn 
+ 00028330  0x0000582c call  0x00006f52 
+ 00028331  0x0000582d jam  0x0000001c , 0x000002ee 
+ 00028332  0x0000582e fetch  0x00000001 , 0x000042ba 
+ 00028333  0x0000582f set1  0x00000006 , 0x0000003f 
+ 00028334  0x00005830 store  0x00000001 , 0x000042ba 
+ 00028335  0x00005831 rtn 
+ 00028336  0x00005833 call  0x00006f5a 
+ 00028337  0x00005834 fetch  0x00000001 , 0x000042bd 
+ 00028338  0x00005835 set1  0x00000000 
+ 00028339  0x00005836 store  0x00000001 , 0x000042bd 
+ 00028340  0x00005837 jam  0x0000001e , 0x000002ee 
+ 00028341  0x00005838 rtn 
+ 00028342  0x0000583a call  0x00006f61 
+ 00028343  0x0000583b fetch  0x00000001 , 0x000042bd 
+ 00028344  0x0000583c set1  0x00000002 
+ 00028345  0x0000583d store  0x00000001 , 0x000042bd 
+ 00028346  0x0000583e jam  0x00000020 , 0x000002ee 
+ 00028347  0x0000583f fetch  0x00000001 , 0x00004752 
+ 00028348  0x00005840 lshift3  0x0000003f , 0x0000003f 
+ 00028349  0x00005841 or_into  0x00000003 , 0x0000003f 
+ 00028350  0x00005842 arg  0x00004753 , 0x00000002 
+ 00028351  0x00005843 storet  0x00000002 , 0x0000048f 
+ 00028352  0x00005844 branch  0x00006b82 
+ 00028353  0x00005846 call  0x00006f6c 
+ 00028354  0x00005847 fetch  0x00000001 , 0x000042bd 
+ 00028355  0x00005848 set1  0x00000004 
+ 00028356  0x00005849 store  0x00000001 , 0x000042bd 
+ 00028357  0x0000584a jam  0x00000022 , 0x000002ee 
+ 00028358  0x0000584b rtn 
+ 00028359  0x0000584e fetch  0x00000001 , 0x000042b9 
+ 00028360  0x0000584f rtnbit0  0x00000001 
+ 00028361  0x00005850 jam  0x00000003 , 0x000002ee 
+ 00028362  0x00005851 branch  0x00006e4d 
+ 00028363  0x00005853 fetch  0x00000001 , 0x000042b9 
+ 00028364  0x00005854 rtnne  0x0000003f 
+ 00028365  0x00005855 jam  0x0000003b , 0x000002ee 
+ 00028366  0x00005857 fetch  0x00000001 , 0x000002ec 
+ 00028367  0x00005858 rtnne  0x00000017 
+ 00028368  0x00005859 jam  0x00000000 , 0x000002ec 
+ 00028369  0x0000585a jam  0x0000000d , 0x000002ee 
+ 00028370  0x0000585b branch  0x00006e4d 
+ 00028371  0x0000585d fetch  0x00000001 , 0x000042b9 
+ 00028372  0x0000585e nrtn  0x00000034 
+ 00028373  0x0000585f fetch  0x00000001 , 0x000047f6 
+ 00028374  0x00005860 bbit1  0x00000000 , 0x00006f02 
+ 00028375  0x00005861 bbit1  0x00000006 , 0x00006f04 
+ 00028376  0x00005862 branch  0x00006f08 
+ 00028377  0x00005864 fetch  0x00000001 , 0x000042bb 
+ 00028378  0x00005865 rtnbit0  0x00000001 
+ 00028379  0x00005866 jam  0x00000011 , 0x000002ee 
+ 00028380  0x00005867 branch  0x00006e4d 
+ 00028381  0x00005869 fetch  0x00000001 , 0x000042bb 
+ 00028382  0x0000586a rtnne  0x0000003f 
+ 00028383  0x0000586b jam  0x00000013 , 0x000002ee 
+ 00028384  0x0000586c branch  0x00006e4d 
+ 00028385  0x0000586e fetch  0x00000001 , 0x000042bc 
+ 00028386  0x0000586f rtnbit0  0x00000001 
+ 00028387  0x00005870 jam  0x00000015 , 0x000002ee 
+ 00028388  0x00005871 branch  0x00006e4d 
+ 00028389  0x00005873 fetch  0x00000001 , 0x000042bc 
+ 00028390  0x00005874 rtnne  0x0000003f 
+ 00028391  0x00005875 fetch  0x00000001 , 0x000047f6 
+ 00028392  0x00005876 bbit1  0x00000006 , 0x00006f04 
+ 00028393  0x00005877 branch  0x00006f08 
+ 00028394  0x00005879 fetch  0x00000001 , 0x000042ba 
+ 00028395  0x0000587a rtnbit0  0x00000001 
+ 00028396  0x0000587b jam  0x00000019 , 0x000002ee 
+ 00028397  0x0000587c branch  0x00006e4d 
+ 00028398  0x0000587e fetch  0x00000001 , 0x000042ba 
+ 00028399  0x0000587f rtnne  0x0000003f 
+ 00028400  0x00005880 jam  0x0000001b , 0x000002ee 
+ 00028401  0x00005881 branch  0x00006e4d 
+ 00028402  0x00005883 fetch  0x00000001 , 0x000042ba 
+ 00028403  0x00005884 rtnne  0x000000ff 
+ 00028404  0x00005885 fetch  0x00000001 , 0x000047f6 
+ 00028405  0x00005886 bbit1  0x00000006 , 0x00006f06 
+ 00028406  0x00005887 branch  0x00006f08 
+ 00028407  0x00005889 fetch  0x00000001 , 0x000042bd 
+ 00028408  0x0000588a rtnbit0  0x00000001 
+ 00028409  0x0000588b jam  0x0000001f , 0x000002ee 
+ 00028410  0x0000588c branch  0x00006e4d 
+ 00028411  0x0000588e fetch  0x00000001 , 0x000042bd 
+ 00028412  0x0000588f rtnbit0  0x00000003 
+ 00028413  0x00005890 jam  0x00000021 , 0x000002ee 
+ 00028414  0x00005891 branch  0x00006e4d 
+ 00028415  0x00005893 fetch  0x00000001 , 0x000042bd 
+ 00028416  0x00005894 rtnne  0x000000ff 
+ 00028417  0x00005895 branch  0x00006f08 
+ 00028418  0x00005898 jam  0x0000000f , 0x000002ee 
+ 00028419  0x00005899 branch  0x00006e4d 
+ 00028420  0x0000589c jam  0x00000017 , 0x000002ee 
+ 00028421  0x0000589d branch  0x00006e4d 
+ 00028422  0x0000589f jam  0x0000001d , 0x000002ee 
+ 00028423  0x000058a0 branch  0x00006e4d 
+ 00028424  0x000058a5 jam  0x00000000 , 0x000002ee 
+ 00028425  0x000058a6 rtn 
+ 00028426  0x000058a8 set1  0x00000025 , 0x00000000 
+ 00028427  0x000058a9 bpatch  0x000000a8 , 0x00004035 
+ 00028428  0x000058aa call  0x000052c4 
+ 00028429  0x000058ab setarg  0x00000001 
+ 00028430  0x000058ac copy  0x0000003f , 0x00000002 
+ 00028431  0x000058ad setarg  0x00000050 
+ 00028432  0x000058ae copy  0x0000003f , 0x0000000b 
+ 00028433  0x000058af branch  0x000050b0 
+ 00028434  0x000058b2 set1  0x00000025 , 0x00000000 
+ 00028435  0x000058b3 bpatch  0x000000a9 , 0x00004035 
+ 00028436  0x000058b4 call  0x000052c4 
+ 00028437  0x000058b5 fetch  0x00000002 , 0x000042b1 
+ 00028438  0x000058b6 copy  0x0000003f , 0x00000002 
+ 00028439  0x000058b7 branch  0x000050c0 
+ 00028440  0x000058ba set1  0x00000025 , 0x00000000 
+ 00028441  0x000058bb bpatch  0x000000aa , 0x00004035 
+ 00028442  0x000058bc call  0x000052c4 
+ 00028443  0x000058bd fetch  0x00000002 , 0x000042b1 
+ 00028444  0x000058be copy  0x0000003f , 0x00000002 
+ 00028445  0x000058bf arg  0x00000050 , 0x0000000b 
+ 00028446  0x000058c0 call  0x000050d6 
+ 00028447  0x000058c1 fetch  0x00000001 , 0x000042b9 
+ 00028448  0x000058c2 set0  0x00000005 , 0x0000003f 
+ 00028449  0x000058c3 store  0x00000001 , 0x000042b9 
+ 00028450  0x000058c4 rtn 
+ 00028451  0x000058c7 set1  0x00000025 , 0x00000000 
+ 00028452  0x000058c8 bpatch  0x000000ab , 0x00004035 
+ 00028453  0x000058c9 call  0x000052d2 
+ 00028454  0x000058ca call  0x000071b0 
+ 00028455  0x000058cb branch  0x000050f2 
+ 00028456  0x000058ce set1  0x00000025 , 0x00000000 
+ 00028457  0x000058cf bpatch  0x000000ac , 0x00004035 
+ 00028458  0x000058d0 call  0x000052c4 
+ 00028459  0x000058d1 setarg  0x00000003 
+ 00028460  0x000058d2 copy  0x0000003f , 0x00000002 
+ 00028461  0x000058d3 setarg  0x00000051 
+ 00028462  0x000058d4 copy  0x0000003f , 0x0000000b 
+ 00028463  0x000058d5 branch  0x000050b0 
+ 00028464  0x000058d8 set1  0x00000025 , 0x00000000 
+ 00028465  0x000058d9 bpatch  0x000000ad , 0x00004035 
+ 00028466  0x000058da call  0x000052c4 
+ 00028467  0x000058db fetch  0x00000002 , 0x000042b3 
+ 00028468  0x000058dc copy  0x0000003f , 0x00000002 
+ 00028469  0x000058dd branch  0x000050c0 
+ 00028470  0x000058e0 set1  0x00000025 , 0x00000000 
+ 00028471  0x000058e1 bpatch  0x000000ae , 0x00004035 
+ 00028472  0x000058e2 call  0x000052c4 
+ 00028473  0x000058e3 setarg  0x00000011 
+ 00028474  0x000058e4 copy  0x0000003f , 0x00000002 
+ 00028475  0x000058e5 setarg  0x00000052 
+ 00028476  0x000058e6 copy  0x0000003f , 0x0000000b 
+ 00028477  0x000058e7 branch  0x000050b0 
+ 00028478  0x000058ea set1  0x00000025 , 0x00000000 
+ 00028479  0x000058eb bpatch  0x000000af , 0x00004035 
+ 00028480  0x000058ec call  0x000052c4 
+ 00028481  0x000058ed fetch  0x00000002 , 0x000042b5 
+ 00028482  0x000058ee copy  0x0000003f , 0x00000002 
+ 00028483  0x000058ef branch  0x000050c0 
+ 00028484  0x000058f2 set1  0x00000025 , 0x00000000 
+ 00028485  0x000058f3 bpatch  0x000000b0 , 0x00004036 
+ 00028486  0x000058f4 call  0x000052c4 
+ 00028487  0x000058f5 setarg  0x00000013 
+ 00028488  0x000058f6 copy  0x0000003f , 0x00000002 
+ 00028489  0x000058f7 setarg  0x00000053 
+ 00028490  0x000058f8 copy  0x0000003f , 0x0000000b 
+ 00028491  0x000058f9 branch  0x000050b0 
+ 00028492  0x000058fc set1  0x00000025 , 0x00000000 
+ 00028493  0x000058fd bpatch  0x000000b1 , 0x00004036 
+ 00028494  0x000058fe call  0x000052c4 
+ 00028495  0x000058ff fetch  0x00000002 , 0x000042b7 
+ 00028496  0x00005900 copy  0x0000003f , 0x00000002 
+ 00028497  0x00005901 branch  0x000050c0 
+ 00028498  0x00005904 set1  0x00000025 , 0x00000000 
+ 00028499  0x00005905 bpatch  0x000000b2 , 0x00004036 
+ 00028500  0x00005906 call  0x000052e0 
+ 00028501  0x00005908 jam  0x00000003 , 0x00000493 
+ 00028502  0x00005909 jam  0x0000001c , 0x00000496 
+ 00028503  0x0000590a call  0x00006ce8 
+ 00028504  0x0000590b jam  0x00000001 , 0x00004751 
+ 00028505  0x0000590c rtn 
+ 00028506  0x0000590f set1  0x00000025 , 0x00000000 
+ 00028507  0x00005910 bpatch  0x000000b3 , 0x00004036 
+ 00028508  0x00005911 call  0x000052e0 
+ 00028509  0x00005912 fetcht  0x00000001 , 0x00004752 
+ 00028510  0x00005913 call  0x00006bcb 
+ 00028511  0x00005914 storet  0x00000001 , 0x0000474b 
+ 00028512  0x00005915 branch  0x00006d05 
+ 00028513  0x00005918 set1  0x00000025 , 0x00000000 
+ 00028514  0x00005919 bpatch  0x000000b4 , 0x00004036 
+ 00028515  0x0000591a call  0x000052e0 
+ 00028516  0x0000591b fetcht  0x00000001 , 0x0000474b 
+ 00028517  0x0000591c call  0x00006bc0 
+ 00028518  0x0000591d call  0x00006b67 
+ 00028519  0x0000591e store  0x00000001 , 0x00000496 
+ 00028520  0x0000591f fetcht  0x00000001 , 0x0000474b 
+ 00028521  0x00005920 call  0x00006bc0 
+ 00028522  0x00005921 storet  0x00000001 , 0x00000493 
+ 00028523  0x00005922 branch  0x00006ce8 
+ 00028524  0x00005925 set1  0x00000025 , 0x00000000 
+ 00028525  0x00005926 bpatch  0x000000b5 , 0x00004036 
+ 00028526  0x00005927 call  0x000052e0 
+ 00028527  0x00005928 fetcht  0x00000001 , 0x0000474b 
+ 00028528  0x00005929 call  0x00006bc0 
+ 00028529  0x0000592a branch  0x00006d3f 
+ 00028530  0x00005938 set1  0x00000025 , 0x00000000 
+ 00028531  0x00005939 bpatch  0x000000e7 , 0x0000403c 
+ 00028532  0x0000593a fetch  0x00000002 , 0x000002cb 
+ 00028533  0x0000593b iforce  0x00000006 
+ 00028534  0x0000593c ifetch  0x00000001 , 0x00000006 
+ 00028535  0x0000593d copy  0x0000003f , 0x00000012 
+ 00028536  0x0000593e store  0x00000001 , 0x000004af 
+ 00028537  0x0000593f ifetch  0x00000002 , 0x00000006 
+ 00028538  0x00005940 store  0x00000002 , 0x000004b0 
+ 00028539  0x00005941 ifetch  0x00000001 , 0x00000006 
+ 00028540  0x00005942 lshift8  0x0000003f , 0x0000000b 
+ 00028541  0x00005943 ifetch  0x00000001 , 0x00000006 
+ 00028542  0x00005944 iadd  0x0000000b , 0x0000000b 
+ 00028543  0x00005945 set1  0x00000025 , 0x00000000 
+ 00028544  0x00005946 bpatch  0x000000e8 , 0x0000403d 
+ 00028545  0x00005947 deposit  0x00000012 
+ 00028546  0x00005948 beq  0x00000002 , 0x00006f87 
+ 00028547  0x00005949 beq  0x00000004 , 0x00006fb0 
+ 00028548  0x0000594a beq  0x00000006 , 0x0000708b 
+ 00028549  0x0000594b beq  0x00000007 , 0x000071c7 
+ 00028550  0x0000594c branch  0x0000723e 
+ 00028551  0x00005958 call  0x0000724d 
+ 00028552  0x00005959 compare  0x00000001 , 0x00000002 , 0x000000ff 
+ 00028553  0x0000595a branch  0x000072bb , 0x00000001 
+ 00028554  0x0000595b compare  0x000000ff , 0x00000002 , 0x000000ff 
+ 00028555  0x0000595c branch  0x00007241 , 0x00000001 
+ 00028556  0x0000595e ifetch  0x00000002 , 0x00000006 
+ 00028557  0x0000595f store  0x00000002 , 0x000004b4 
+ 00028558  0x00005960 increase  0xfffffffe , 0x0000000b 
+ 00028559  0x00005962 increase  0xffffffff , 0x0000000b 
+ 00028560  0x00005963 nbranch  0x0000723b , 0x00000005 
+ 00028561  0x00005964 arg  0x000004a9 , 0x0000000b 
+ 00028562  0x00005965 ifetch  0x00000002 , 0x0000000b 
+ 00028563  0x00005966 rtn  0x00000034 
+ 00028564  0x00005967 increase  0x00000002 , 0x0000000b 
+ 00028565  0x00005968 call  0x00007307 
+ 00028566  0x00005969 call  0x000052de 
+ 00028567  0x0000596a force  0x00000003 , 0x0000003f 
+ 00028568  0x0000596b istore  0x00000001 , 0x00000005 
+ 00028569  0x0000596c fetch  0x00000002 , 0x000004b0 
+ 00028570  0x0000596d istore  0x00000002 , 0x00000005 
+ 00028571  0x0000596e lshift2  0x00000007 , 0x0000003f 
+ 00028572  0x0000596f add  0x0000003f , 0x00000005 , 0x0000003f 
+ 00028573  0x00005970 add  0x0000003f , 0x00000005 , 0x00000013 
+ 00028574  0x00005971 byteswap  0x0000003f , 0x0000003f 
+ 00028575  0x00005972 istore  0x00000002 , 0x00000005 
+ 00028576  0x00005973 deposit  0x00000007 
+ 00028577  0x00005974 byteswap  0x0000003f , 0x0000003f 
+ 00028578  0x00005975 istore  0x00000002 , 0x00000005 
+ 00028579  0x00005976 istore  0x00000002 , 0x00000005 
+ 00028580  0x00005977 arg  0x000004c5 , 0x00000006 
+ 00028581  0x00005978 copy  0x00000007 , 0x00000039 
+ 00028582  0x00005979 branch  0x00006faa , 0x00000005 
+ 00028583  0x0000597b ifetch  0x00000004 , 0x00000006 
+ 00028584  0x0000597c istore  0x00000004 , 0x00000005 
+ 00028585  0x0000597d loop  0x00006fa7 
+ 00028586  0x0000597f force  0x00000000 , 0x0000003f 
+ 00028587  0x00005980 istore  0x00000001 , 0x00000005 
+ 00028588  0x00005981 deposit  0x00000013 
+ 00028589  0x00005982 store  0x00000001 , 0x000002dc 
+ 00028590  0x00005983 branch  0x00003bf1 , 0x00000034 
+ 00028591  0x00005984 rtn 
+ 00028592  0x00005990 ifetch  0x00000004 , 0x00000006 
+ 00028593  0x00005991 store  0x00000004 , 0x000004be 
+ 00028594  0x00005992 increase  0xfffffffc , 0x0000000b 
+ 00028595  0x00005993 iforce  0x00000002 
+ 00028596  0x00005994 ifetch  0x00000002 , 0x00000006 
+ 00028597  0x00005995 byteswap  0x0000003f , 0x0000003f 
+ 00028598  0x00005996 increase  0xffffffee , 0x0000003f 
+ 00028599  0x00005997 store  0x00000002 , 0x000004b2 
+ 00028600  0x00005998 increase  0xfffffffe , 0x0000000b 
+ 00028601  0x00005999 call  0x000072a4 
+ 00028602  0x0000599a branch  0x00007241 , 0x00000005 
+ 00028603  0x0000599b compare  0x00000005 , 0x00000011 , 0x000000ff 
+ 00028604  0x0000599d branch  0x00006fc0 , 0x00000001 
+ 00028605  0x0000599f arg  0x00000491 , 0x00000005 
+ 00028606  0x000059a0 force  0x00000000 , 0x00000007 
+ 00028607  0x000059a1 branch  0x00006fd0 
+ 00028608  0x000059a3 ifetch  0x00000001 , 0x00000006 
+ 00028609  0x000059a4 bne  0x0000000a , 0x00007241 
+ 00028610  0x000059a5 ifetch  0x00000002 , 0x00000006 
+ 00028611  0x000059a6 nbranch  0x00006fce , 0x00000034 
+ 00028612  0x000059a7 ifetch  0x00000001 , 0x00000006 
+ 00028613  0x000059a8 bne  0x000000ff , 0x00006fcc 
+ 00028614  0x000059a9 ifetch  0x00000001 , 0x00000006 
+ 00028615  0x000059aa bne  0x000000ff , 0x00006fca 
+ 00028616  0x000059ab increase  0xfffffffb , 0x00000006 
+ 00028617  0x000059ac branch  0x00007022 
+ 00028618  0x000059ae increase  0xfffffffb , 0x00000006 
+ 00028619  0x000059af branch  0x00006fbd 
+ 00028620  0x000059b1 increase  0xfffffffc , 0x00000006 
+ 00028621  0x000059b2 branch  0x00006fbd 
+ 00028622  0x000059b4 increase  0xfffffffd , 0x00000006 
+ 00028623  0x000059b5 branch  0x00006fbd 
+ 00028624  0x000059b7 ifetch  0x00000001 , 0x00000006 
+ 00028625  0x000059b8 beq  0x00000009 , 0x00006fe5 
+ 00028626  0x000059b9 beq  0x0000000a , 0x00006fd3 
+ 00028627  0x000059bb ifetch  0x00000002 , 0x00000006 
+ 00028628  0x000059bc istore  0x00000002 , 0x00000005 
+ 00028629  0x000059bd increase  0x00000001 , 0x00000007 
+ 00028630  0x000059be byteswap  0x0000003f , 0x00000012 
+ 00028631  0x000059bf ifetch  0x00000002 , 0x00000006 
+ 00028632  0x000059c0 byteswap  0x0000003f , 0x0000003f 
+ 00028633  0x000059c2 increase  0x00000001 , 0x00000012 
+ 00028634  0x000059c3 isub  0x00000012 , 0x0000003e 
+ 00028635  0x000059c4 nbranch  0x00006fe2 , 0x00000002 
+ 00028636  0x000059c5 copy  0x0000003f , 0x00000013 
+ 00028637  0x000059c6 byteswap  0x00000012 , 0x0000003f 
+ 00028638  0x000059c7 istore  0x00000002 , 0x00000005 
+ 00028639  0x000059c8 increase  0x00000001 , 0x00000007 
+ 00028640  0x000059c9 copy  0x00000013 , 0x0000003f 
+ 00028641  0x000059ca branch  0x00006fd9 
+ 00028642  0x000059cc increase  0xfffffffb , 0x0000000b 
+ 00028643  0x000059cd increase  0xfffffffb , 0x00000011 
+ 00028644  0x000059ce branch  0x00006fea 
+ 00028645  0x000059d0 ifetch  0x00000002 , 0x00000006 
+ 00028646  0x000059d1 istore  0x00000002 , 0x00000005 
+ 00028647  0x000059d2 increase  0x00000001 , 0x00000007 
+ 00028648  0x000059d3 increase  0xfffffffd , 0x0000000b 
+ 00028649  0x000059d4 increase  0xfffffffd , 0x00000011 
+ 00028650  0x000059d6 nbranch  0x00007241 , 0x00000002 
+ 00028651  0x000059d7 nbranch  0x00006fd0 , 0x00000005 
+ 00028652  0x000059d8 increase  0xffffffff , 0x0000000b 
+ 00028653  0x000059d9 nbranch  0x00007241 , 0x00000005 
+ 00028654  0x000059db call  0x000052de 
+ 00028655  0x000059dc increase  0x0000000a , 0x00000005 
+ 00028656  0x000059dd arg  0x00000491 , 0x00000011 
+ 00028657  0x000059df copy  0x00000007 , 0x0000003f 
+ 00028658  0x000059e0 branch  0x00007004 , 0x00000034 
+ 00028659  0x000059e1 ifetch  0x00000002 , 0x00000011 
+ 00028660  0x000059e2 branch  0x00007004 , 0x00000034 
+ 00028661  0x000059e3 iforce  0x00000012 
+ 00028662  0x000059e4 fetch  0x00000004 , 0x000004be 
+ 00028663  0x000059e5 iforce  0x00000002 
+ 00028664  0x000059e6 call  0x0000734e 
+ 00028665  0x000059e7 branch  0x00007001 , 0x00000034 
+ 00028666  0x000059e8 increase  0xfffffffd , 0x00000006 
+ 00028667  0x000059e9 ifetch  0x00000003 , 0x00000006 
+ 00028668  0x000059ea istore  0x00000003 , 0x00000005 
+ 00028669  0x000059eb call  0x00007199 
+ 00028670  0x000059ec branch  0x00007001 , 0x00000034 
+ 00028671  0x000059ed iforce  0x00000039 
+ 00028672  0x000059ee call  0x00007e45 
+ 00028673  0x000059f0 increase  0x00000002 , 0x00000011 
+ 00028674  0x000059f1 increase  0xffffffff , 0x00000007 
+ 00028675  0x000059f2 branch  0x00006ff1 
+ 00028676  0x000059f5 force  0x00000000 , 0x0000003f 
+ 00028677  0x000059f6 istore  0x00000001 , 0x00000005 
+ 00028678  0x000059f7 increase  0xffffffff , 0x00000005 
+ 00028679  0x000059f8 fetcht  0x00000002 , 0x000002da 
+ 00028680  0x000059f9 add  0x00000002 , 0x0000000a , 0x0000003f 
+ 00028681  0x000059fa isub  0x00000005 , 0x0000003f 
+ 00028682  0x000059fb sub  0x0000003f , 0x00000000 , 0x00000011 
+ 00028683  0x000059fc byteswap  0x00000011 , 0x0000003f 
+ 00028684  0x000059fd add  0x00000002 , 0x00000008 , 0x00000012 
+ 00028685  0x000059fe istore  0x00000002 , 0x00000012 
+ 00028686  0x000059ff increase  0x00000003 , 0x00000011 
+ 00028687  0x00005a00 byteswap  0x00000011 , 0x0000003f 
+ 00028688  0x00005a01 add  0x00000002 , 0x00000005 , 0x00000012 
+ 00028689  0x00005a02 istore  0x00000002 , 0x00000012 
+ 00028690  0x00005a03 increase  0x00000003 , 0x00000011 
+ 00028691  0x00005a04 byteswap  0x00000011 , 0x0000003f 
+ 00028692  0x00005a05 add  0x00000002 , 0x00000003 , 0x00000012 
+ 00028693  0x00005a06 istore  0x00000002 , 0x00000012 
+ 00028694  0x00005a07 increase  0x00000005 , 0x00000011 
+ 00028695  0x00005a08 copy  0x00000011 , 0x0000003f 
+ 00028696  0x00005a09 store  0x00000002 , 0x000002dc 
+ 00028697  0x00005a0a setarg  0x00000036 
+ 00028698  0x00005a0b add  0x00000002 , 0x00000007 , 0x00000012 
+ 00028699  0x00005a0c istore  0x00000001 , 0x00000012 
+ 00028700  0x00005a0d setarg  0x00000005 
+ 00028701  0x00005a0e istore  0x00000001 , 0x00000002 
+ 00028702  0x00005a0f fetch  0x00000002 , 0x000004b0 
+ 00028703  0x00005a10 add  0x00000002 , 0x00000001 , 0x00000012 
+ 00028704  0x00005a11 istore  0x00000002 , 0x00000012 
+ 00028705  0x00005a12 rtn 
+ 00028706  0x00005a14 ifetch  0x00000001 , 0x00000006 
+ 00028707  0x00005a15 bne  0x0000000a , 0x00007241 
+ 00028708  0x00005a16 ifetch  0x00000002 , 0x00000006 
+ 00028709  0x00005a17 nbranch  0x00007241 , 0x00000034 
+ 00028710  0x00005a18 ifetch  0x00000001 , 0x00000006 
+ 00028711  0x00005a19 bne  0x000000ff , 0x00007241 
+ 00028712  0x00005a1a ifetch  0x00000001 , 0x00000006 
+ 00028713  0x00005a1b bne  0x000000ff , 0x00007241 
+ 00028714  0x00005a1c increase  0xfffffffb , 0x0000000b 
+ 00028715  0x00005a1d ifetch  0x00000001 , 0x00000006 
+ 00028716  0x00005a1e beq  0x00000000 , 0x0000702f 
+ 00028717  0x00005a1f beq  0x00000001 , 0x00007032 
+ 00028718  0x00005a20 beq  0x00000002 , 0x00007036 
+ 00028719  0x00005a22 store  0x00000002 , 0x000004ad 
+ 00028720  0x00005a23 increase  0xffffffff , 0x0000000b 
+ 00028721  0x00005a24 branch  0x0000703a 
+ 00028722  0x00005a26 ifetch  0x00000001 , 0x00000006 
+ 00028723  0x00005a27 store  0x00000002 , 0x000004ad 
+ 00028724  0x00005a28 increase  0xfffffffe , 0x0000000b 
+ 00028725  0x00005a29 branch  0x0000703a 
+ 00028726  0x00005a2b ifetch  0x00000002 , 0x00000006 
+ 00028727  0x00005a2c byteswap  0x0000003f , 0x0000003f 
+ 00028728  0x00005a2d store  0x00000002 , 0x000004ad 
+ 00028729  0x00005a2e increase  0xfffffffd , 0x0000000b 
+ 00028730  0x00005a30 nbranch  0x0000723b , 0x00000005 
+ 00028731  0x00005a31 call  0x0000731e 
+ 00028732  0x00005a32 nbranch  0x00007238 , 0x00000005 
+ 00028733  0x00005a33 copy  0x00000006 , 0x00000011 
+ 00028734  0x00005a34 call  0x000052de 
+ 00028735  0x00005a35 copy  0x00000011 , 0x00000006 
+ 00028736  0x00005a36 increase  0x00000003 , 0x00000005 
+ 00028737  0x00005a37 copy  0x00000006 , 0x0000000b 
+ 00028738  0x00005a38 call  0x000072e8 
+ 00028739  0x00005a39 copy  0x0000003f , 0x00000011 
+ 00028740  0x00005a3a fetch  0x00000002 , 0x000004ad 
+ 00028741  0x00005a3b copy  0x0000003f , 0x00000012 
+ 00028742  0x00005a3c copy  0x00000011 , 0x0000003f 
+ 00028743  0x00005a3d isub  0x00000012 , 0x00000012 
+ 00028744  0x00005a3e fetch  0x00000002 , 0x000004b2 
+ 00028745  0x00005a3f isub  0x00000012 , 0x0000003e 
+ 00028746  0x00005a40 nbranch  0x00007066 , 0x00000002 
+ 00028747  0x00005a42 disable  0x00000028 
+ 00028748  0x00005a43 fetch  0x00000002 , 0x000004ad 
+ 00028749  0x00005a44 branch  0x00007059 , 0x00000034 
+ 00028750  0x00005a45 iadd  0x0000000b , 0x00000006 
+ 00028751  0x00005a46 increase  0x00000003 , 0x00000012 
+ 00028752  0x00005a47 copy  0x00000012 , 0x00000039 
+ 00028753  0x00005a48 copy  0x00000039 , 0x0000003f 
+ 00028754  0x00005a49 increase  0x00000003 , 0x0000003f 
+ 00028755  0x00005a4a byteswap  0x0000003f , 0x0000003f 
+ 00028756  0x00005a4b istore  0x00000002 , 0x00000005 
+ 00028757  0x00005a4c copy  0x00000039 , 0x0000003f 
+ 00028758  0x00005a4d byteswap  0x0000003f , 0x0000003f 
+ 00028759  0x00005a4e istore  0x00000002 , 0x00000005 
+ 00028760  0x00005a4f branch  0x00007074 
+ 00028761  0x00005a51 add  0x00000011 , 0x00000006 , 0x00000039 
+ 00028762  0x00005a52 branch  0x0000705d , 0x00000028 
+ 00028763  0x00005a53 byteswap  0x00000039 , 0x0000003f 
+ 00028764  0x00005a54 branch  0x00007060 
+ 00028765  0x00005a56 copy  0x00000039 , 0x0000003f 
+ 00028766  0x00005a57 increase  0x00000002 , 0x0000003f 
+ 00028767  0x00005a58 byteswap  0x0000003f , 0x0000003f 
+ 00028768  0x00005a5a istore  0x00000002 , 0x00000005 
+ 00028769  0x00005a5b increase  0xfffffffd , 0x00000039 
+ 00028770  0x00005a5c byteswap  0x00000039 , 0x0000003f 
+ 00028771  0x00005a5d istore  0x00000002 , 0x00000005 
+ 00028772  0x00005a5e copy  0x0000000b , 0x00000006 
+ 00028773  0x00005a5f branch  0x00007074 
+ 00028774  0x00005a61 enable  0x00000028 
+ 00028775  0x00005a62 fetch  0x00000002 , 0x000004b2 
+ 00028776  0x00005a63 copy  0x0000003f , 0x00000011 
+ 00028777  0x00005a64 copy  0x0000003f , 0x00000039 
+ 00028778  0x00005a65 fetch  0x00000002 , 0x000004ad 
+ 00028779  0x00005a66 branch  0x00007059 , 0x00000034 
+ 00028780  0x00005a67 iadd  0x0000000b , 0x00000006 
+ 00028781  0x00005a68 copy  0x00000011 , 0x0000003f 
+ 00028782  0x00005a69 increase  0x00000005 , 0x0000003f 
+ 00028783  0x00005a6a byteswap  0x0000003f , 0x0000003f 
+ 00028784  0x00005a6b istore  0x00000002 , 0x00000005 
+ 00028785  0x00005a6c copy  0x00000011 , 0x0000003f 
+ 00028786  0x00005a6d byteswap  0x0000003f , 0x0000003f 
+ 00028787  0x00005a6e istore  0x00000002 , 0x00000005 
+ 00028788  0x00005a70 ifetch  0x00000001 , 0x00000006 
+ 00028789  0x00005a71 istore  0x00000001 , 0x00000005 
+ 00028790  0x00005a72 loop  0x00007074 
+ 00028791  0x00005a73 nbranch  0x0000707f , 0x00000028 
+ 00028792  0x00005a74 force  0x00000002 , 0x0000003f 
+ 00028793  0x00005a75 istore  0x00000001 , 0x00000005 
+ 00028794  0x00005a76 copy  0x00000006 , 0x0000003f 
+ 00028795  0x00005a77 isub  0x0000000b , 0x0000003f 
+ 00028796  0x00005a78 byteswap  0x0000003f , 0x0000003f 
+ 00028797  0x00005a79 istore  0x00000002 , 0x00000005 
+ 00028798  0x00005a7a branch  0x00007081 
+ 00028799  0x00005a7c force  0x00000000 , 0x0000003f 
+ 00028800  0x00005a7d istore  0x00000001 , 0x00000005 
+ 00028801  0x00005a7f fetch  0x00000002 , 0x000002da 
+ 00028802  0x00005a80 isub  0x00000005 , 0x0000003f 
+ 00028803  0x00005a81 sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00028804  0x00005a82 store  0x00000002 , 0x000002dc 
+ 00028805  0x00005a83 call  0x000052de 
+ 00028806  0x00005a84 setarg  0x00000005 
+ 00028807  0x00005a85 istore  0x00000001 , 0x00000005 
+ 00028808  0x00005a86 fetch  0x00000002 , 0x000004b0 
+ 00028809  0x00005a87 istore  0x00000002 , 0x00000005 
+ 00028810  0x00005a88 rtn 
+ 00028811  0x00005a95 call  0x0000724d 
+ 00028812  0x00005a96 compare  0x000000ff , 0x00000002 , 0x000000ff 
+ 00028813  0x00005a97 branch  0x000070b4 , 0x00000001 
+ 00028814  0x00005a98 ifetch  0x00000002 , 0x00000006 
+ 00028815  0x00005a99 store  0x00000002 , 0x000004b2 
+ 00028816  0x00005a9a increase  0xfffffffe , 0x0000000b 
+ 00028817  0x00005a9b call  0x000072a4 
+ 00028818  0x00005a9c arg  0x00000491 , 0x00000005 
+ 00028819  0x00005a9d force  0x00000000 , 0x00000007 
+ 00028820  0x00005a9f ifetch  0x00000003 , 0x00000006 
+ 00028821  0x00005aa0 bne  0x00000009 , 0x000070b4 
+ 00028822  0x00005aa2 rshift8  0x0000003f , 0x0000003f 
+ 00028823  0x00005aa3 istore  0x00000002 , 0x00000005 
+ 00028824  0x00005aa4 increase  0x00000001 , 0x00000007 
+ 00028825  0x00005aa5 increase  0xfffffffd , 0x0000000b 
+ 00028826  0x00005aa6 increase  0xfffffffd , 0x00000011 
+ 00028827  0x00005aa7 nbranch  0x00007241 , 0x00000002 
+ 00028828  0x00005aa8 nbranch  0x00007094 , 0x00000005 
+ 00028829  0x00005aa9 increase  0xffffffff , 0x0000000b 
+ 00028830  0x00005aaa nbranch  0x00007241 , 0x00000005 
+ 00028831  0x00005aac call  0x000052de 
+ 00028832  0x00005aad increase  0x0000000d , 0x00000005 
+ 00028833  0x00005aae fetch  0x00000002 , 0x000004a9 
+ 00028834  0x00005aaf iforce  0x00000013 
+ 00028835  0x00005ab0 arg  0x00000491 , 0x00000011 
+ 00028836  0x00005ab2 ifetch  0x00000004 , 0x00000011 
+ 00028837  0x00005ab3 branch  0x000070c4 , 0x00000034 
+ 00028838  0x00005ab4 ifetch  0x00000002 , 0x00000011 
+ 00028839  0x00005ab5 iforce  0x00000012 
+ 00028840  0x00005ab6 call  0x0000732a 
+ 00028841  0x00005ab7 branch  0x000070b2 , 0x00000034 
+ 00028842  0x00005ab8 increase  0xfffffffd , 0x00000006 
+ 00028843  0x00005ab9 ifetch  0x00000003 , 0x00000006 
+ 00028844  0x00005aba istore  0x00000003 , 0x00000005 
+ 00028845  0x00005abb call  0x00007199 
+ 00028846  0x00005abc iforce  0x00000039 
+ 00028847  0x00005abe ifetch  0x00000001 , 0x00000006 
+ 00028848  0x00005abf istore  0x00000001 , 0x00000005 
+ 00028849  0x00005ac0 loop  0x000070af 
+ 00028850  0x00005ac2 increase  0x00000002 , 0x00000011 
+ 00028851  0x00005ac3 branch  0x000070a4 
+ 00028852  0x00005ac8 ifetch  0x00000001 , 0x00000006 
+ 00028853  0x00005aca ifetch  0x00000001 , 0x00000006 
+ 00028854  0x00005acc increase  0xfffffffb , 0x0000000b 
+ 00028855  0x00005acd increase  0xfffffffb , 0x00000011 
+ 00028856  0x00005ace nbranch  0x00007241 , 0x00000002 
+ 00028857  0x00005acf arg  0x000004a9 , 0x0000000b 
+ 00028858  0x00005ad0 ifetch  0x00000002 , 0x0000000b 
+ 00028859  0x00005ad2 increase  0x00000002 , 0x0000000b 
+ 00028860  0x00005ad3 call  0x00007307 
+ 00028861  0x00005ad4 deposit  0x00000007 
+ 00028862  0x00005ad5 store  0x00000001 , 0x000004dd 
+ 00028863  0x00005ad6 branch  0x000072be , 0x00000034 
+ 00028864  0x00005ad7 arg  0x00000000 , 0x00000007 
+ 00028865  0x00005ad8 call  0x000052de 
+ 00028866  0x00005ad9 increase  0x0000000a , 0x00000005 
+ 00028867  0x00005ada branch  0x00007108 
+ 00028868  0x00005adc force  0x00000000 , 0x0000003f 
+ 00028869  0x00005add istore  0x00000001 , 0x00000005 
+ 00028870  0x00005ade increase  0xffffffff , 0x00000005 
+ 00028871  0x00005adf fetcht  0x00000002 , 0x000002da 
+ 00028872  0x00005ae0 add  0x00000002 , 0x0000000d , 0x0000003f 
+ 00028873  0x00005ae1 isub  0x00000005 , 0x0000003f 
+ 00028874  0x00005ae2 branch  0x000070e8 , 0x00000005 
+ 00028875  0x00005ae3 sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00028876  0x00005ae4 add  0x00000002 , 0x0000000c , 0x00000012 
+ 00028877  0x00005ae5 istore  0x00000001 , 0x00000012 
+ 00028878  0x00005ae6 increase  0x00000003 , 0x0000003f 
+ 00028879  0x00005ae7 add  0x00000002 , 0x00000009 , 0x00000012 
+ 00028880  0x00005ae8 istore  0x00000001 , 0x00000012 
+ 00028881  0x00005ae9 increase  0x00000003 , 0x0000003f 
+ 00028882  0x00005aea byteswap  0x0000003f , 0x0000003f 
+ 00028883  0x00005aeb add  0x00000002 , 0x00000005 , 0x00000012 
+ 00028884  0x00005aec istore  0x00000002 , 0x00000012 
+ 00028885  0x00005aed rshift8  0x0000003f , 0x0000003f 
+ 00028886  0x00005aee increase  0x00000003 , 0x0000003f 
+ 00028887  0x00005aef byteswap  0x0000003f , 0x0000003f 
+ 00028888  0x00005af0 add  0x00000002 , 0x00000003 , 0x00000012 
+ 00028889  0x00005af1 istore  0x00000002 , 0x00000012 
+ 00028890  0x00005af2 rshift8  0x0000003f , 0x0000003f 
+ 00028891  0x00005af3 increase  0x00000005 , 0x0000003f 
+ 00028892  0x00005af4 store  0x00000001 , 0x000002dc 
+ 00028893  0x00005af6 fetch  0x00000002 , 0x000004b0 
+ 00028894  0x00005af7 add  0x00000002 , 0x00000001 , 0x00000012 
+ 00028895  0x00005af8 istore  0x00000002 , 0x00000012 
+ 00028896  0x00005af9 setarg  0x00000007 
+ 00028897  0x00005afa istore  0x00000001 , 0x00000002 
+ 00028898  0x00005aff setarg  0x00000036 
+ 00028899  0x00005b00 add  0x00000002 , 0x00000007 , 0x00000012 
+ 00028900  0x00005b01 istore  0x00000002 , 0x00000012 
+ 00028901  0x00005b02 add  0x00000002 , 0x0000000a , 0x00000012 
+ 00028902  0x00005b03 istore  0x00000002 , 0x00000012 
+ 00028903  0x00005b04 rtn 
+ 00028904  0x00005b06 jam  0x0000000a , 0x000002dc 
+ 00028905  0x00005b07 call  0x000052de 
+ 00028906  0x00005b09 setarg  0x00000007 
+ 00028907  0x00005b0a istore  0x00000001 , 0x00000005 
+ 00028908  0x00005b0b fetch  0x00000002 , 0x000004b0 
+ 00028909  0x00005b0c istore  0x00000002 , 0x00000005 
+ 00028910  0x00005b10 setarg  0x00000500 
+ 00028911  0x00005b11 istore  0x00000002 , 0x00000005 
+ 00028912  0x00005b14 setarg  0x00000200 
+ 00028913  0x00005b15 istore  0x00000002 , 0x00000005 
+ 00028914  0x00005b19 setarg  0x00000035 
+ 00028915  0x00005b1a istore  0x00000003 , 0x00000005 
+ 00028916  0x00005b1b rtn 
+ 00028917  0x00005b1e ifetch  0x00000001 , 0x00000006 
+ 00028918  0x00005b1f istore  0x00000001 , 0x00000005 
+ 00028919  0x00005b20 increase  0x00000001 , 0x00000012 
+ 00028920  0x00005b21 increase  0xffffffff , 0x00000011 
+ 00028921  0x00005b22 branch  0x000070fb , 0x00000005 
+ 00028922  0x00005b23 loop  0x000070f5 
+ 00028923  0x00005b25 copy  0x00000005 , 0x0000000b 
+ 00028924  0x00005b26 copy  0x00000012 , 0x0000003f 
+ 00028925  0x00005b27 store  0x00000002 , 0x000004ad 
+ 00028926  0x00005b28 copy  0x00000011 , 0x0000003f 
+ 00028927  0x00005b29 store  0x00000002 , 0x000004b2 
+ 00028928  0x00005b2a branch  0x00007117 , 0x00000034 
+ 00028929  0x00005b2b branch  0x00007152 , 0x00000028 
+ 00028930  0x00005b2c copy  0x0000000b , 0x00000005 
+ 00028931  0x00005b2e increase  0x00000001 , 0x00000007 
+ 00028932  0x00005b2f fetch  0x00000001 , 0x000004dd 
+ 00028933  0x00005b30 isub  0x00000007 , 0x0000003e 
+ 00028934  0x00005b31 nbranch  0x00007108 , 0x00000005 
+ 00028935  0x00005b32 branch  0x00007171 
+ 00028936  0x00005b34 arg  0x000004c5 , 0x00000006 
+ 00028937  0x00005b35 lshift2  0x00000007 , 0x0000003f 
+ 00028938  0x00005b36 iadd  0x00000006 , 0x00000006 
+ 00028939  0x00005b37 ifetch  0x00000004 , 0x00000006 
+ 00028940  0x00005b38 iforce  0x00000002 
+ 00028941  0x00005b39 call  0x0000731e 
+ 00028942  0x00005b3a copy  0x00000006 , 0x0000000b 
+ 00028943  0x00005b3b call  0x000072e8 
+ 00028944  0x00005b3c add  0x0000003f , 0x00000003 , 0x00000039 
+ 00028945  0x00005b3d fetch  0x00000002 , 0x000004b2 
+ 00028946  0x00005b3e copy  0x0000003f , 0x00000011 
+ 00028947  0x00005b3f fetch  0x00000002 , 0x000004ad 
+ 00028948  0x00005b40 copy  0x0000003f , 0x00000012 
+ 00028949  0x00005b41 copy  0x0000000b , 0x00000006 
+ 00028950  0x00005b42 branch  0x000070f5 
+ 00028951  0x00005b44 arg  0x00000000 , 0x00000007 
+ 00028952  0x00005b45 arg  0x00000000 , 0x00000012 
+ 00028953  0x00005b47 arg  0x000004c5 , 0x00000006 
+ 00028954  0x00005b48 lshift2  0x00000007 , 0x0000003f 
+ 00028955  0x00005b49 iadd  0x00000006 , 0x00000006 
+ 00028956  0x00005b4a ifetch  0x00000004 , 0x00000006 
+ 00028957  0x00005b4b iforce  0x00000002 
+ 00028958  0x00005b4c call  0x0000731e 
+ 00028959  0x00005b4d call  0x000072e8 
+ 00028960  0x00005b4e add  0x0000003f , 0x00000003 , 0x0000003f 
+ 00028961  0x00005b4f iadd  0x00000012 , 0x00000012 
+ 00028962  0x00005b50 increase  0x00000001 , 0x00000007 
+ 00028963  0x00005b51 fetch  0x00000001 , 0x000004dd 
+ 00028964  0x00005b52 isub  0x00000007 , 0x0000003e 
+ 00028965  0x00005b53 nbranch  0x00007119 , 0x00000005 
+ 00028966  0x00005b55 copy  0x0000000b , 0x00000005 
+ 00028967  0x00005b56 force  0x00000002 , 0x0000003f 
+ 00028968  0x00005b57 istore  0x00000001 , 0x00000005 
+ 00028969  0x00005b58 fetch  0x00000002 , 0x000004ad 
+ 00028970  0x00005b59 byteswap  0x0000003f , 0x0000003f 
+ 00028971  0x00005b5a istore  0x00000002 , 0x00000005 
+ 00028972  0x00005b5b increase  0xfffffffd , 0x00000005 
+ 00028973  0x00005b5c fetcht  0x00000002 , 0x000002da 
+ 00028974  0x00005b5d add  0x00000002 , 0x0000000a , 0x0000003f 
+ 00028975  0x00005b5e isub  0x00000005 , 0x0000003f 
+ 00028976  0x00005b5f sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00028977  0x00005b60 iforce  0x00000011 
+ 00028978  0x00005b62 deposit  0x00000012 
+ 00028979  0x00005b63 add  0x00000002 , 0x00000009 , 0x00000012 
+ 00028980  0x00005b64 istore  0x00000001 , 0x00000012 
+ 00028981  0x00005b65 rshift8  0x0000003f , 0x0000003f 
+ 00028982  0x00005b66 add  0x00000002 , 0x00000008 , 0x00000012 
+ 00028983  0x00005b67 istore  0x00000001 , 0x00000012 
+ 00028984  0x00005b68 increase  0x00000003 , 0x00000011 
+ 00028985  0x00005b69 deposit  0x00000011 
+ 00028986  0x00005b6a add  0x00000002 , 0x00000006 , 0x00000012 
+ 00028987  0x00005b6b istore  0x00000001 , 0x00000012 
+ 00028988  0x00005b6c rshift8  0x0000003f , 0x0000003f 
+ 00028989  0x00005b6d add  0x00000002 , 0x00000005 , 0x00000012 
+ 00028990  0x00005b6e istore  0x00000001 , 0x00000012 
+ 00028991  0x00005b6f increase  0x00000005 , 0x00000011 
+ 00028992  0x00005b70 deposit  0x00000011 
+ 00028993  0x00005b71 add  0x00000002 , 0x00000004 , 0x00000012 
+ 00028994  0x00005b72 istore  0x00000001 , 0x00000012 
+ 00028995  0x00005b73 rshift8  0x0000003f , 0x0000003f 
+ 00028996  0x00005b74 add  0x00000002 , 0x00000003 , 0x00000012 
+ 00028997  0x00005b75 istore  0x00000001 , 0x00000012 
+ 00028998  0x00005b76 increase  0x00000005 , 0x00000011 
+ 00028999  0x00005b77 deposit  0x00000011 
+ 00029000  0x00005b78 store  0x00000002 , 0x000002dc 
+ 00029001  0x00005b79 setarg  0x00000007 
+ 00029002  0x00005b7a istore  0x00000001 , 0x00000002 
+ 00029003  0x00005b7b setarg  0x00000036 
+ 00029004  0x00005b7c add  0x00000002 , 0x00000007 , 0x00000012 
+ 00029005  0x00005b7d istore  0x00000001 , 0x00000012 
+ 00029006  0x00005b7e add  0x00000002 , 0x00000001 , 0x00000012 
+ 00029007  0x00005b7f fetch  0x00000002 , 0x000004b0 
+ 00029008  0x00005b80 istore  0x00000002 , 0x00000012 
+ 00029009  0x00005b81 rtn 
+ 00029010  0x00005b83 copy  0x0000000b , 0x00000005 
+ 00029011  0x00005b84 force  0x00000000 , 0x0000003f 
+ 00029012  0x00005b85 istore  0x00000001 , 0x00000005 
+ 00029013  0x00005b86 increase  0xffffffff , 0x00000005 
+ 00029014  0x00005b87 fetcht  0x00000002 , 0x000002da 
+ 00029015  0x00005b88 add  0x00000002 , 0x00000007 , 0x0000003f 
+ 00029016  0x00005b89 isub  0x00000005 , 0x0000003f 
+ 00029017  0x00005b8a sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00029018  0x00005b8b iforce  0x00000011 
+ 00029019  0x00005b8d deposit  0x00000011 
+ 00029020  0x00005b8e add  0x00000002 , 0x00000006 , 0x00000012 
+ 00029021  0x00005b8f istore  0x00000001 , 0x00000012 
+ 00029022  0x00005b90 rshift8  0x0000003f , 0x0000003f 
+ 00029023  0x00005b91 add  0x00000002 , 0x00000005 , 0x00000012 
+ 00029024  0x00005b92 istore  0x00000001 , 0x00000012 
+ 00029025  0x00005b93 increase  0x00000003 , 0x00000011 
+ 00029026  0x00005b94 deposit  0x00000011 
+ 00029027  0x00005b95 add  0x00000002 , 0x00000004 , 0x00000012 
+ 00029028  0x00005b96 istore  0x00000001 , 0x00000012 
+ 00029029  0x00005b97 rshift8  0x0000003f , 0x0000003f 
+ 00029030  0x00005b98 add  0x00000002 , 0x00000003 , 0x00000012 
+ 00029031  0x00005b99 istore  0x00000001 , 0x00000012 
+ 00029032  0x00005b9a increase  0x00000005 , 0x00000011 
+ 00029033  0x00005b9b deposit  0x00000011 
+ 00029034  0x00005b9c store  0x00000002 , 0x000002dc 
+ 00029035  0x00005b9e setarg  0x00000007 
+ 00029036  0x00005b9f istore  0x00000001 , 0x00000002 
+ 00029037  0x00005ba1 fetch  0x00000002 , 0x000004b0 
+ 00029038  0x00005ba2 add  0x00000002 , 0x00000001 , 0x00000012 
+ 00029039  0x00005ba3 istore  0x00000002 , 0x00000012 
+ 00029040  0x00005ba4 rtn 
+ 00029041  0x00005ba7 force  0x00000000 , 0x0000003f 
+ 00029042  0x00005ba8 istore  0x00000001 , 0x00000005 
+ 00029043  0x00005ba9 increase  0xffffffff , 0x00000005 
+ 00029044  0x00005baa fetcht  0x00000002 , 0x000002da 
+ 00029045  0x00005bab add  0x00000002 , 0x0000000a , 0x0000003f 
+ 00029046  0x00005bac isub  0x00000005 , 0x0000003f 
+ 00029047  0x00005bad sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00029048  0x00005bae iforce  0x00000011 
+ 00029049  0x00005bb0 deposit  0x00000011 
+ 00029050  0x00005bb1 add  0x00000002 , 0x00000009 , 0x00000012 
+ 00029051  0x00005bb2 istore  0x00000001 , 0x00000012 
+ 00029052  0x00005bb3 rshift8  0x0000003f , 0x0000003f 
+ 00029053  0x00005bb4 add  0x00000002 , 0x00000008 , 0x00000012 
+ 00029054  0x00005bb5 istore  0x00000001 , 0x00000012 
+ 00029055  0x00005bb7 increase  0x00000003 , 0x00000011 
+ 00029056  0x00005bb8 deposit  0x00000011 
+ 00029057  0x00005bb9 add  0x00000002 , 0x00000006 , 0x00000012 
+ 00029058  0x00005bba istore  0x00000001 , 0x00000012 
+ 00029059  0x00005bbb rshift8  0x0000003f , 0x0000003f 
+ 00029060  0x00005bbc add  0x00000002 , 0x00000005 , 0x00000012 
+ 00029061  0x00005bbd istore  0x00000001 , 0x00000012 
+ 00029062  0x00005bbe increase  0x00000003 , 0x00000011 
+ 00029063  0x00005bbf deposit  0x00000011 
+ 00029064  0x00005bc0 add  0x00000002 , 0x00000004 , 0x00000012 
+ 00029065  0x00005bc1 istore  0x00000001 , 0x00000012 
+ 00029066  0x00005bc2 rshift8  0x0000003f , 0x0000003f 
+ 00029067  0x00005bc3 add  0x00000002 , 0x00000003 , 0x00000012 
+ 00029068  0x00005bc4 istore  0x00000001 , 0x00000012 
+ 00029069  0x00005bc5 increase  0x00000005 , 0x00000011 
+ 00029070  0x00005bc6 deposit  0x00000011 
+ 00029071  0x00005bc7 store  0x00000002 , 0x000002dc 
+ 00029072  0x00005bc8 setarg  0x00000036 
+ 00029073  0x00005bc9 add  0x00000002 , 0x00000007 , 0x00000012 
+ 00029074  0x00005bca istore  0x00000001 , 0x00000012 
+ 00029075  0x00005bcb setarg  0x00000007 
+ 00029076  0x00005bcc istore  0x00000001 , 0x00000002 
+ 00029077  0x00005bcd fetch  0x00000002 , 0x000004b0 
+ 00029078  0x00005bce add  0x00000002 , 0x00000001 , 0x00000012 
+ 00029079  0x00005bcf istore  0x00000002 , 0x00000012 
+ 00029080  0x00005bd0 rtn 
+ 00029081  0x00005bd2 copy  0x00000006 , 0x0000000b 
+ 00029082  0x00005bd3 ifetch  0x00000001 , 0x00000006 
+ 00029083  0x00005bd4 and  0x0000003f , 0x00000007 , 0x00000039 
+ 00029084  0x00005bd5 rshift3  0x0000003f , 0x0000003f 
+ 00029085  0x00005bd6 beq  0x00000006 , 0x000071a2 
+ 00029086  0x00005bd7 beq  0x00000001 , 0x000072e0 
+ 00029087  0x00005bd8 beq  0x00000004 , 0x000072e5 
+ 00029088  0x00005bd9 beq  0x00000005 , 0x000072e3 
+ 00029089  0x00005bda branch  0x000072de 
+ 00029090  0x00005bdc call  0x000071a4 
+ 00029091  0x00005bdd branch  0x000072de 
+ 00029092  0x00005bdf deposit  0x00000039 
+ 00029093  0x00005be0 beq  0x00000005 , 0x000071a9 
+ 00029094  0x00005be1 beq  0x00000006 , 0x000071ac 
+ 00029095  0x00005be2 force  0x00000003 , 0x00000039 
+ 00029096  0x00005be3 branch  0x000072ef 
+ 00029097  0x00005be5 ifetch  0x00000001 , 0x00000006 
+ 00029098  0x00005be6 increase  0x00000002 , 0x0000003f 
+ 00029099  0x00005be7 rtn 
+ 00029100  0x00005be9 ifetch  0x00000002 , 0x00000006 
+ 00029101  0x00005bea byteswap  0x0000003f , 0x0000003f 
+ 00029102  0x00005beb increase  0x00000003 , 0x0000003f 
+ 00029103  0x00005bec rtn 
+ 00029104  0x00005bef call  0x000052de 
+ 00029105  0x00005bf0 copy  0x0000003f , 0x00000005 
+ 00029106  0x00005bf1 setarg  0x00000006 
+ 00029107  0x00005bf2 istore  0x00000001 , 0x00000005 
+ 00029108  0x00005bf3 setarg  0x0000006e 
+ 00029109  0x00005bf4 istore  0x00000002 , 0x00000005 
+ 00029110  0x00005bf5 setarg  0x00000f00 
+ 00029111  0x00005bf6 istore  0x00000002 , 0x00000005 
+ 00029112  0x00005bf7 setarg  0x001a0535 
+ 00029113  0x00005bf8 istore  0x00000003 , 0x00000005 
+ 00029114  0x00005bf9 setarg  0x00000111 
+ 00029115  0x00005bfa lshift16  0x0000003f , 0x0000003f 
+ 00029116  0x00005bfb istore  0x00000004 , 0x00000005 
+ 00029117  0x00005bfc setarg  0x00002600 
+ 00029118  0x00005bfd istore  0x00000002 , 0x00000005 
+ 00029119  0x00005bfe setarg  0x00000335 
+ 00029120  0x00005bff istore  0x00000002 , 0x00000005 
+ 00029121  0x00005c00 setarg  0x00000009 
+ 00029122  0x00005c01 istore  0x00000002 , 0x00000005 
+ 00029123  0x00005c02 setarg  0x00000004 
+ 00029124  0x00005c03 istore  0x00000002 , 0x00000005 
+ 00029125  0x00005c04 jam  0x00000014 , 0x000002dc 
+ 00029126  0x00005c05 rtn 
+ 00029127  0x00005c10 copy  0x00000006 , 0x00000002 
+ 00029128  0x00005c11 fetch  0x00000002 , 0x000004b0 
+ 00029129  0x00005c12 beq  0x0000006e , 0x000071cb 
+ 00029130  0x00005c15 branch  0x000071d4 
+ 00029131  0x00005c18 copy  0x00000002 , 0x00000006 
+ 00029132  0x00005c19 increase  0xfffffffd , 0x0000000b 
+ 00029133  0x00005c1a copy  0x0000000b , 0x0000003f 
+ 00029134  0x00005c1b beq  0x00000002 , 0x000071d4 
+ 00029135  0x00005c1c call  0x000071d5 
+ 00029136  0x00005c1d rtn  0x00000028 
+ 00029137  0x00005c1e store  0x00000001 , 0x00004752 
+ 00029138  0x00005c1f jam  0x00000017 , 0x000002ec 
+ 00029139  0x00005c20 rtn 
+ 00029140  0x00005c23 rtn 
+ 00029141  0x00005c2a enable  0x00000028 
+ 00029142  0x00005c2b copy  0x0000003f , 0x00000039 
+ 00029143  0x00005c2c arg  0x00000400 , 0x00000002 
+ 00029144  0x00005c2e ifetch  0x00000002 , 0x00000006 
+ 00029145  0x00005c2f isub  0x00000002 , 0x0000003e 
+ 00029146  0x00005c30 branch  0x000071de , 0x00000005 
+ 00029147  0x00005c31 increase  0xffffffff , 0x00000006 
+ 00029148  0x00005c32 loop  0x000071d8 
+ 00029149  0x00005c33 rtn 
+ 00029150  0x00005c35 arg  0x00000300 , 0x00000002 
+ 00029151  0x00005c37 ifetch  0x00000002 , 0x00000006 
+ 00029152  0x00005c38 isub  0x00000002 , 0x0000003e 
+ 00029153  0x00005c39 branch  0x000071e5 , 0x00000005 
+ 00029154  0x00005c3a increase  0xffffffff , 0x00000006 
+ 00029155  0x00005c3b loop  0x000071df 
+ 00029156  0x00005c3c rtn 
+ 00029157  0x00005c3e ifetch  0x00000001 , 0x00000006 
+ 00029158  0x00005c3f ifetch  0x00000001 , 0x00000006 
+ 00029159  0x00005c40 disable  0x00000028 
+ 00029160  0x00005c41 rtn 
+ 00029161  0x00005c4d call  0x000072a4 
+ 00029162  0x00005c4e branch  0x00007236 , 0x00000005 
+ 00029163  0x00005c4f force  0x00000000 , 0x00000012 
+ 00029164  0x00005c50 ifetch  0x00000001 , 0x00000006 
+ 00029165  0x00005c51 increase  0xffffffff , 0x00000011 
+ 00029166  0x00005c52 increase  0xffffffff , 0x0000000b 
+ 00029167  0x00005c53 compare  0x00000018 , 0x0000003f , 0x000000f8 
+ 00029168  0x00005c54 nbranch  0x00007230 , 0x00000001 
+ 00029169  0x00005c55 compare  0x00000004 , 0x0000003f , 0x00000007 
+ 00029170  0x00005c56 nbranch  0x000071f8 , 0x00000001 
+ 00029171  0x00005c57 force  0x00000001 , 0x00000012 
+ 00029172  0x00005c59 increase  0x00000002 , 0x00000006 
+ 00029173  0x00005c5a increase  0xfffffffe , 0x00000011 
+ 00029174  0x00005c5b increase  0xfffffffe , 0x0000000b 
+ 00029175  0x00005c5c branch  0x000071fd 
+ 00029176  0x00005c5e compare  0x00000002 , 0x0000003f , 0x00000007 
+ 00029177  0x00005c5f nbranch  0x000071fb , 0x00000001 
+ 00029178  0x00005c60 branch  0x000071f4 
+ 00029179  0x00005c62 compare  0x00000001 , 0x0000003f , 0x00000007 
+ 00029180  0x00005c63 nbranch  0x00007230 , 0x00000001 
+ 00029181  0x00005c65 ifetch  0x00000001 , 0x00000006 
+ 00029182  0x00005c66 increase  0xffffffff , 0x00000011 
+ 00029183  0x00005c67 increase  0xffffffff , 0x0000000b 
+ 00029184  0x00005c68 bne  0x00000001 , 0x00007207 
+ 00029185  0x00005c69 ifetch  0x00000001 , 0x00000006 
+ 00029186  0x00005c6a increase  0xffffffff , 0x00000011 
+ 00029187  0x00005c6b increase  0xffffffff , 0x0000000b 
+ 00029188  0x00005c6c bne  0x00000000 , 0x00007230 
+ 00029189  0x00005c6d jam  0x000000ff , 0x000004c3 
+ 00029190  0x00005c6e branch  0x00007230 
+ 00029191  0x00005c70 bne  0x00000000 , 0x00007230 
+ 00029192  0x00005c71 ifetch  0x00000001 , 0x00000006 
+ 00029193  0x00005c72 increase  0xffffffff , 0x00000011 
+ 00029194  0x00005c73 increase  0xffffffff , 0x0000000b 
+ 00029195  0x00005c74 bne  0x00000003 , 0x00007230 
+ 00029196  0x00005c75 copy  0x00000012 , 0x0000003e 
+ 00029197  0x00005c76 branch  0x00007210 , 0x00000005 
+ 00029198  0x00005c77 increase  0xfffffff4 , 0x00000006 
+ 00029199  0x00005c78 increase  0xfffffff4 , 0x0000000b 
+ 00029200  0x00005c7a force  0x000000ff , 0x0000003f 
+ 00029201  0x00005c7b store  0x00000001 , 0x000004c4 
+ 00029202  0x00005c7c ifetch  0x00000001 , 0x00000006 
+ 00029203  0x00005c7d increase  0xffffffff , 0x00000011 
+ 00029204  0x00005c7e increase  0xffffffff , 0x0000000b 
+ 00029205  0x00005c7f compare  0x00000008 , 0x0000003f , 0x000000f8 
+ 00029206  0x00005c80 nbranch  0x00007230 , 0x00000001 
+ 00029207  0x00005c81 compare  0x00000000 , 0x0000003f , 0x00000007 
+ 00029208  0x00005c82 branch  0x0000722d , 0x00000001 
+ 00029209  0x00005c83 compare  0x00000001 , 0x0000003f , 0x00000007 
+ 00029210  0x00005c84 branch  0x0000722a , 0x00000001 
+ 00029211  0x00005c85 compare  0x00000002 , 0x0000003f , 0x00000007 
+ 00029212  0x00005c86 branch  0x00007227 , 0x00000001 
+ 00029213  0x00005c87 compare  0x00000003 , 0x0000003f , 0x00000007 
+ 00029214  0x00005c88 branch  0x00007224 , 0x00000001 
+ 00029215  0x00005c89 compare  0x00000004 , 0x0000003f , 0x00000007 
+ 00029216  0x00005c8a nbranch  0x00007230 , 0x00000001 
+ 00029217  0x00005c8b increase  0x00000008 , 0x00000006 
+ 00029218  0x00005c8c increase  0xfffffff8 , 0x00000011 
+ 00029219  0x00005c8d increase  0xfffffff8 , 0x0000000b 
+ 00029220  0x00005c8f increase  0x00000004 , 0x00000006 
+ 00029221  0x00005c90 increase  0xfffffffc , 0x00000011 
+ 00029222  0x00005c91 increase  0xfffffffc , 0x0000000b 
+ 00029223  0x00005c93 increase  0x00000002 , 0x00000006 
+ 00029224  0x00005c94 increase  0xfffffffe , 0x00000011 
+ 00029225  0x00005c95 increase  0xfffffffe , 0x0000000b 
+ 00029226  0x00005c97 increase  0x00000001 , 0x00000006 
+ 00029227  0x00005c98 increase  0xffffffff , 0x00000011 
+ 00029228  0x00005c99 increase  0xffffffff , 0x0000000b 
+ 00029229  0x00005c9b ifetch  0x00000001 , 0x00000006 
+ 00029230  0x00005c9c increase  0xffffffff , 0x00000011 
+ 00029231  0x00005c9d increase  0xffffffff , 0x0000000b 
+ 00029232  0x00005c9f increase  0xffffffff , 0x0000000b 
+ 00029233  0x00005ca0 increase  0xffffffff , 0x00000011 
+ 00029234  0x00005ca1 branch  0x00007230 , 0x00000002 
+ 00029235  0x00005ca2 increase  0x00000001 , 0x0000000b 
+ 00029236  0x00005ca3 force  0x00000001 , 0x0000003f 
+ 00029237  0x00005ca4 rtn ,
+ 00029238  0x00005ca6 force  0x00000000 , 0x0000003f 
+ 00029239  0x00005ca7 rtn ,
+ 00029240  0x00005caa setarg  0x00000200 
+ 00029241  0x00005cab store  0x00000002 , 0x000004b6 
+ 00029242  0x00005cac branch  0x00007243 
+ 00029243  0x00005cae setarg  0x00000400 
+ 00029244  0x00005caf store  0x00000002 , 0x000004b6 
+ 00029245  0x00005cb0 branch  0x00007243 
+ 00029246  0x00005cb2 setarg  0x00000600 
+ 00029247  0x00005cb3 store  0x00000002 , 0x000004b6 
+ 00029248  0x00005cb4 branch  0x00007243 
+ 00029249  0x00005cb6 setarg  0x00000300 
+ 00029250  0x00005cb7 store  0x00000002 , 0x000004b6 
+ 00029251  0x00005cb9 call  0x000052de 
+ 00029252  0x00005cba istore  0x00000001 , 0x00000005 
+ 00029253  0x00005cbb fetch  0x00000002 , 0x000004b0 
+ 00029254  0x00005cbc istore  0x00000002 , 0x00000005 
+ 00029255  0x00005cbd setarg  0x00000200 
+ 00029256  0x00005cbe istore  0x00000002 , 0x00000005 
+ 00029257  0x00005cbf fetch  0x00000002 , 0x000004b6 
+ 00029258  0x00005cc0 istore  0x00000002 , 0x00000005 
+ 00029259  0x00005cc1 jam  0x00000007 , 0x000002dc 
+ 00029260  0x00005cc2 rtn 
+ 00029261  0x00005cc5 force  0x00000000 , 0x00000002 
+ 00029262  0x00005cc6 arg  0x000004a9 , 0x00000005 
+ 00029263  0x00005cc7 call  0x000072a4 
+ 00029264  0x00005cc8 branch  0x000072a2 , 0x00000005 
+ 00029265  0x00005cca ifetch  0x00000001 , 0x00000006 
+ 00029266  0x00005ccb increase  0xffffffff , 0x00000011 
+ 00029267  0x00005ccc increase  0xffffffff , 0x0000000b 
+ 00029268  0x00005ccd compare  0x00000018 , 0x0000003f , 0x000000f8 
+ 00029269  0x00005cce nbranch  0x000072a2 , 0x00000001 
+ 00029270  0x00005ccf compare  0x00000004 , 0x0000003f , 0x00000007 
+ 00029271  0x00005cd0 nbranch  0x0000726e , 0x00000001 
+ 00029272  0x00005cd1 force  0x00000001 , 0x00000002 
+ 00029273  0x00005cd3 ifetch  0x00000001 , 0x00000006 
+ 00029274  0x00005cd4 increase  0xffffffff , 0x00000011 
+ 00029275  0x00005cd5 increase  0xffffffff , 0x0000000b 
+ 00029276  0x00005cd6 bne  0x00000000 , 0x00007262 
+ 00029277  0x00005cd7 ifetch  0x00000001 , 0x00000006 
+ 00029278  0x00005cd8 increase  0xffffffff , 0x00000011 
+ 00029279  0x00005cd9 increase  0xffffffff , 0x0000000b 
+ 00029280  0x00005cda beq  0x00000000 , 0x00007273 
+ 00029281  0x00005cdb branch  0x00007265 
+ 00029282  0x00005cdd increase  0x00000001 , 0x00000006 
+ 00029283  0x00005cde increase  0xffffffff , 0x00000011 
+ 00029284  0x00005cdf increase  0xffffffff , 0x0000000b 
+ 00029285  0x00005ce1 increase  0x00000002 , 0x00000006 
+ 00029286  0x00005ce2 increase  0xfffffffe , 0x00000011 
+ 00029287  0x00005ce3 increase  0xfffffffe , 0x0000000b 
+ 00029288  0x00005ce4 compare  0x00000000 , 0x00000002 , 0x000000ff 
+ 00029289  0x00005ce5 branch  0x0000729d , 0x00000001 
+ 00029290  0x00005ce6 increase  0x0000000c , 0x00000006 
+ 00029291  0x00005ce7 increase  0xfffffff4 , 0x00000011 
+ 00029292  0x00005ce8 increase  0xfffffff4 , 0x0000000b 
+ 00029293  0x00005ce9 branch  0x0000729d 
+ 00029294  0x00005ceb compare  0x00000002 , 0x0000003f , 0x00000007 
+ 00029295  0x00005cec nbranch  0x00007271 , 0x00000001 
+ 00029296  0x00005ced branch  0x00007259 
+ 00029297  0x00005cef compare  0x00000001 , 0x0000003f , 0x00000007 
+ 00029298  0x00005cf0 nbranch  0x000072a2 , 0x00000001 
+ 00029299  0x00005cf2 ifetch  0x00000002 , 0x00000006 
+ 00029300  0x00005cf3 increase  0xfffffffe , 0x00000011 
+ 00029301  0x00005cf4 increase  0xfffffffe , 0x0000000b 
+ 00029302  0x00005cf5 istore  0x00000002 , 0x00000005 
+ 00029303  0x00005cf7 compare  0x00000000 , 0x00000002 , 0x000000ff 
+ 00029304  0x00005cf8 branch  0x0000729d , 0x00000001 
+ 00029305  0x00005cf9 copy  0x00000006 , 0x00000002 
+ 00029306  0x00005cfa ifetch  0x00000001 , 0x00000006 
+ 00029307  0x00005cfb bne  0x00000000 , 0x00007292 
+ 00029308  0x00005cfc ifetch  0x00000001 , 0x00000006 
+ 00029309  0x00005cfd bne  0x00000000 , 0x00007292 
+ 00029310  0x00005cfe ifetch  0x00000001 , 0x00000006 
+ 00029311  0x00005cff bne  0x00000010 , 0x00007292 
+ 00029312  0x00005d00 ifetch  0x00000001 , 0x00000006 
+ 00029313  0x00005d01 bne  0x00000000 , 0x00007292 
+ 00029314  0x00005d02 ifetch  0x00000001 , 0x00000006 
+ 00029315  0x00005d03 bne  0x00000080 , 0x00007292 
+ 00029316  0x00005d04 ifetch  0x00000001 , 0x00000006 
+ 00029317  0x00005d05 bne  0x00000000 , 0x00007292 
+ 00029318  0x00005d06 ifetch  0x00000001 , 0x00000006 
+ 00029319  0x00005d07 bne  0x00000000 , 0x00007292 
+ 00029320  0x00005d08 ifetch  0x00000001 , 0x00000006 
+ 00029321  0x00005d09 bne  0x00000080 , 0x00007292 
+ 00029322  0x00005d0a ifetch  0x00000001 , 0x00000006 
+ 00029323  0x00005d0b bne  0x0000005f , 0x00007292 
+ 00029324  0x00005d0c ifetch  0x00000001 , 0x00000006 
+ 00029325  0x00005d0d bne  0x0000009b , 0x00007292 
+ 00029326  0x00005d0e ifetch  0x00000001 , 0x00000006 
+ 00029327  0x00005d0f bne  0x00000034 , 0x00007292 
+ 00029328  0x00005d10 ifetch  0x00000001 , 0x00000006 
+ 00029329  0x00005d11 beq  0x000000fb , 0x0000729b 
+ 00029330  0x00005d13 copy  0x00000002 , 0x00000006 
+ 00029331  0x00005d15 increase  0x0000000c , 0x00000006 
+ 00029332  0x00005d16 force  0x00000000 , 0x00000007 
+ 00029333  0x00005d17 force  0x00000000 , 0x00000002 
+ 00029334  0x00005d18 branch  0x0000729b 
+ 00029335  0x00005d1a ifetch  0x00000001 , 0x00000006 
+ 00029336  0x00005d1b increase  0xffffffff , 0x00000011 
+ 00029337  0x00005d1c increase  0xffffffff , 0x0000000b 
+ 00029338  0x00005d1d branch  0x00007277 
+ 00029339  0x00005d1f increase  0xfffffff4 , 0x0000000b 
+ 00029340  0x00005d20 increase  0xfffffff4 , 0x00000011 
+ 00029341  0x00005d22 compare  0x00000000 , 0x00000011 , 0x000000ff 
+ 00029342  0x00005d23 nbranch  0x00007251 , 0x00000001 
+ 00029343  0x00005d24 force  0x00000000 , 0x0000003f 
+ 00029344  0x00005d25 istore  0x00000002 , 0x00000005 
+ 00029345  0x00005d26 rtn ,
+ 00029346  0x00005d28 arg  0x000000ff , 0x00000002 
+ 00029347  0x00005d29 rtn 
+ 00029348  0x00005d34 ifetch  0x00000001 , 0x00000006 
+ 00029349  0x00005d35 increase  0xffffffff , 0x0000000b 
+ 00029350  0x00005d36 compare  0x00000030 , 0x0000003f , 0x000000f8 
+ 00029351  0x00005d37 nbranch  0x000072b9 , 0x00000001 
+ 00029352  0x00005d38 compare  0x00000007 , 0x0000003f , 0x00000007 
+ 00029353  0x00005d39 branch  0x000072b2 , 0x00000001 
+ 00029354  0x00005d3a compare  0x00000006 , 0x0000003f , 0x00000007 
+ 00029355  0x00005d3b branch  0x000072b4 , 0x00000001 
+ 00029356  0x00005d3c compare  0x00000005 , 0x0000003f , 0x00000007 
+ 00029357  0x00005d3d nbranch  0x000072b9 , 0x00000001 
+ 00029358  0x00005d3e ifetch  0x00000001 , 0x00000006 
+ 00029359  0x00005d3f copy  0x0000003f , 0x00000011 
+ 00029360  0x00005d40 increase  0xffffffff , 0x0000000b 
+ 00029361  0x00005d41 branch  0x000072b7 
+ 00029362  0x00005d43 increase  0x00000002 , 0x00000006 
+ 00029363  0x00005d44 increase  0xfffffffe , 0x0000000b 
+ 00029364  0x00005d46 ifetch  0x00000002 , 0x00000006 
+ 00029365  0x00005d47 byteswap  0x0000003f , 0x00000011 
+ 00029366  0x00005d48 increase  0xfffffffe , 0x0000000b 
+ 00029367  0x00005d4a force  0x00000001 , 0x0000003f 
+ 00029368  0x00005d4b rtn 
+ 00029369  0x00005d4d force  0x00000000 , 0x0000003f 
+ 00029370  0x00005d4e rtn 
+ 00029371  0x00005d59 setarg  0x00000003 
+ 00029372  0x00005d5a store  0x00000001 , 0x000004af 
+ 00029373  0x00005d5b branch  0x000072c0 
+ 00029374  0x00005d5d setarg  0x00000007 
+ 00029375  0x00005d5e store  0x00000001 , 0x000004af 
+ 00029376  0x00005d60 call  0x000052de 
+ 00029377  0x00005d61 fetch  0x00000001 , 0x000004af 
+ 00029378  0x00005d62 istore  0x00000001 , 0x00000005 
+ 00029379  0x00005d63 copy  0x0000003f , 0x00000012 
+ 00029380  0x00005d64 fetch  0x00000002 , 0x000004b0 
+ 00029381  0x00005d65 istore  0x00000002 , 0x00000005 
+ 00029382  0x00005d67 setarg  0x00000500 
+ 00029383  0x00005d68 istore  0x00000002 , 0x00000005 
+ 00029384  0x00005d69 compare  0x00000005 , 0x00000012 , 0x000000ff 
+ 00029385  0x00005d6a branch  0x000072d0 , 0x00000001 
+ 00029386  0x00005d6b compare  0x00000007 , 0x00000012 , 0x000000ff 
+ 00029387  0x00005d6c branch  0x000072d0 , 0x00000001 
+ 00029388  0x00005d6d setarg  0x00000000 
+ 00029389  0x00005d6e istore  0x00000003 , 0x00000005 
+ 00029390  0x00005d6f istore  0x00000002 , 0x00000005 
+ 00029391  0x00005d70 branch  0x000072d4 
+ 00029392  0x00005d79 setarg  0x00350200 
+ 00029393  0x00005d7a istore  0x00000003 , 0x00000005 
+ 00029394  0x00005d7f setarg  0x00000000 
+ 00029395  0x00005d80 istore  0x00000002 , 0x00000005 
+ 00029396  0x00005d82 jam  0x0000000a , 0x000002dc 
+ 00029397  0x00005d83 rtn 
+ 00029398  0x00005d86 copy  0x00000006 , 0x0000000b 
+ 00029399  0x00005d87 ifetch  0x00000001 , 0x00000006 
+ 00029400  0x00005d88 and  0x0000003f , 0x00000007 , 0x00000039 
+ 00029401  0x00005d89 rshift3  0x0000003f , 0x0000003f 
+ 00029402  0x00005d8a beq  0x00000006 , 0x000072e5 
+ 00029403  0x00005d8b beq  0x00000001 , 0x000072e0 
+ 00029404  0x00005d8c beq  0x00000004 , 0x000072e5 
+ 00029405  0x00005d8d beq  0x00000005 , 0x000072e3 
+ 00029406  0x00005d8f copy  0x0000000b , 0x00000006 
+ 00029407  0x00005d90 rtn 
+ 00029408  0x00005d92 call  0x00007301 
+ 00029409  0x00005d93 increase  0x00000001 , 0x0000003f 
+ 00029410  0x00005d94 branch  0x000072de 
+ 00029411  0x00005d96 force  0x00000002 , 0x0000003f 
+ 00029412  0x00005d97 branch  0x000072de 
+ 00029413  0x00005d99 call  0x000072f7 
+ 00029414  0x00005d9a increase  0x00000002 , 0x0000003f 
+ 00029415  0x00005d9b branch  0x000072de 
+ 00029416  0x00005d9e ifetch  0x00000001 , 0x00000006 
+ 00029417  0x00005d9f and  0x0000003f , 0x00000007 , 0x00000039 
+ 00029418  0x00005da0 rshift3  0x0000003f , 0x0000003f 
+ 00029419  0x00005da1 beq  0x00000006 , 0x000072f7 
+ 00029420  0x00005da2 beq  0x00000001 , 0x000072ef 
+ 00029421  0x00005da3 beq  0x00000005 , 0x000072fc 
+ 00029422  0x00005da4 rtn 
+ 00029423  0x00005da6 call  0x00007301 
+ 00029424  0x00005da7 iforce  0x00000039 
+ 00029425  0x00005da8 force  0x00000000 , 0x00000002 
+ 00029426  0x00005daa lshift8  0x00000002 , 0x00000002 
+ 00029427  0x00005dab ifetch  0x00000001 , 0x00000006 
+ 00029428  0x00005dac ior  0x00000002 , 0x00000002 
+ 00029429  0x00005dad loop  0x000072f2 
+ 00029430  0x00005dae rtn 
+ 00029431  0x00005db0 deposit  0x00000039 
+ 00029432  0x00005db1 beq  0x00000005 , 0x000072fc 
+ 00029433  0x00005db2 beq  0x00000006 , 0x000072fe 
+ 00029434  0x00005db3 force  0x00000003 , 0x00000039 
+ 00029435  0x00005db4 branch  0x000072ef 
+ 00029436  0x00005db6 ifetch  0x00000001 , 0x00000006 
+ 00029437  0x00005db7 rtn 
+ 00029438  0x00005db9 ifetch  0x00000002 , 0x00000006 
+ 00029439  0x00005dba byteswap  0x0000003f , 0x0000003f 
+ 00029440  0x00005dbb rtn 
+ 00029441  0x00005dbf force  0x00000001 , 0x0000003f 
+ 00029442  0x00005dc0 copy  0x00000039 , 0x0000003e 
+ 00029443  0x00005dc1 rtn  0x00000005 
+ 00029444  0x00005dc3 lshift  0x0000003f , 0x0000003f 
+ 00029445  0x00005dc4 loop  0x00007304 
+ 00029446  0x00005dc5 rtn 
+ 00029447  0x00005dcb iforce  0x00000013 
+ 00029448  0x00005dcc set1  0x00000025 , 0x00000000 
+ 00029449  0x00005dcd bpatch  0x000000e9 , 0x0000403d 
+ 00029450  0x00005dce force  0x00000000 , 0x00000007 
+ 00029451  0x00005dcf fetch  0x00000002 , 0x00004759 
+ 00029452  0x00005dd0 iforce  0x00000006 
+ 00029453  0x00005dd1 arg  0x000004c5 , 0x00000005 
+ 00029454  0x00005dd3 disable  0x00000028 
+ 00029455  0x00005dd4 ifetch  0x00000001 , 0x00000006 
+ 00029456  0x00005dd5 rtn  0x00000034 
+ 00029457  0x00005dd6 iforce  0x00000039 
+ 00029458  0x00005dd8 ifetch  0x00000002 , 0x00000006 
+ 00029459  0x00005dd9 isub  0x00000013 , 0x0000003e 
+ 00029460  0x00005dda nbranch  0x00007316 , 0x00000005 
+ 00029461  0x00005ddb enable  0x00000028 
+ 00029462  0x00005ddd loop  0x00007312 
+ 00029463  0x00005dde ifetch  0x00000004 , 0x00000006 
+ 00029464  0x00005ddf nbranch  0x0000731b , 0x00000028 
+ 00029465  0x00005de0 istore  0x00000004 , 0x00000005 
+ 00029466  0x00005de1 increase  0x00000001 , 0x00000007 
+ 00029467  0x00005de3 call  0x000072e8 
+ 00029468  0x00005de4 iadd  0x00000006 , 0x00000006 
+ 00029469  0x00005de5 branch  0x0000730e 
+ 00029470  0x00005de9 fetch  0x00000002 , 0x00004759 
+ 00029471  0x00005dea iforce  0x00000006 
+ 00029472  0x00005dec ifetch  0x00000001 , 0x00000006 
+ 00029473  0x00005ded rtn  0x00000034 
+ 00029474  0x00005dee lshift  0x0000003f , 0x0000003f 
+ 00029475  0x00005def iadd  0x00000006 , 0x00000006 
+ 00029476  0x00005df0 ifetch  0x00000004 , 0x00000006 
+ 00029477  0x00005df1 isub  0x00000002 , 0x0000003e 
+ 00029478  0x00005df2 rtn  0x00000005 
+ 00029479  0x00005df3 call  0x000072e8 
+ 00029480  0x00005df4 iadd  0x00000006 , 0x00000006 
+ 00029481  0x00005df5 branch  0x00007320 
+ 00029482  0x00005dfd set1  0x00000025 , 0x00000000 
+ 00029483  0x00005dfe bpatch  0x000000ea , 0x0000403d 
+ 00029484  0x00005dff fetch  0x00000002 , 0x00004759 
+ 00029485  0x00005e00 iforce  0x00000006 
+ 00029486  0x00005e02 ifetch  0x00000001 , 0x00000006 
+ 00029487  0x00005e03 branch  0x0000734b , 0x00000034 
+ 00029488  0x00005e04 iforce  0x00000039 
+ 00029489  0x00005e06 ifetch  0x00000002 , 0x00000006 
+ 00029490  0x00005e07 isub  0x00000013 , 0x0000003e 
+ 00029491  0x00005e08 branch  0x00007339 , 0x00000005 
+ 00029492  0x00005e09 loop  0x00007331 
+ 00029493  0x00005e0a increase  0x00000004 , 0x00000006 
+ 00029494  0x00005e0b call  0x000072e8 
+ 00029495  0x00005e0c iadd  0x00000006 , 0x00000006 
+ 00029496  0x00005e0d branch  0x0000732e 
+ 00029497  0x00005e0f increase  0xffffffff , 0x00000039 
+ 00029498  0x00005e10 lshift  0x00000039 , 0x0000003f 
+ 00029499  0x00005e11 iadd  0x00000006 , 0x00000006 
+ 00029500  0x00005e12 increase  0x00000004 , 0x00000006 
+ 00029501  0x00005e13 call  0x000072e8 
+ 00029502  0x00005e14 iadd  0x00000006 , 0x00000002 
+ 00029503  0x00005e16 increase  0x00000001 , 0x00000006 
+ 00029504  0x00005e17 ifetch  0x00000002 , 0x00000006 
+ 00029505  0x00005e18 isub  0x00000012 , 0x0000000b 
+ 00029506  0x00005e1a setflag  0x00000005 , 0x00000000 , 0x0000003f 
+ 00029507  0x00005e1b copy  0x0000000b , 0x0000000b 
+ 00029508  0x00005e1c rtn  0x00000005 
+ 00029509  0x00005e1d call  0x000072d6 
+ 00029510  0x00005e1e iadd  0x00000006 , 0x00000006 
+ 00029511  0x00005e1f deposit  0x00000002 
+ 00029512  0x00005e20 isub  0x00000006 , 0x0000003e 
+ 00029513  0x00005e21 branch  0x0000734b , 0x00000005 
+ 00029514  0x00005e22 branch  0x0000733f 
+ 00029515  0x00005e24 force  0x00000000 , 0x00000006 
+ 00029516  0x00005e25 force  0x00000000 , 0x0000003f 
+ 00029517  0x00005e26 rtn 
+ 00029518  0x00005e2d set1  0x00000025 , 0x00000000 
+ 00029519  0x00005e2e bpatch  0x000000eb , 0x0000403d 
+ 00029520  0x00005e2f fetch  0x00000002 , 0x00004759 
+ 00029521  0x00005e30 iforce  0x00000006 
+ 00029522  0x00005e32 ifetch  0x00000001 , 0x00000006 
+ 00029523  0x00005e33 branch  0x00007368 , 0x00000034 
+ 00029524  0x00005e34 lshift  0x0000003f , 0x0000003f 
+ 00029525  0x00005e35 iadd  0x00000006 , 0x00000006 
+ 00029526  0x00005e36 ifetch  0x00000004 , 0x00000006 
+ 00029527  0x00005e37 isub  0x00000002 , 0x0000003e 
+ 00029528  0x00005e38 branch  0x0000735c , 0x00000005 
+ 00029529  0x00005e39 call  0x000072e8 
+ 00029530  0x00005e3a iadd  0x00000006 , 0x00000006 
+ 00029531  0x00005e3b branch  0x00007352 
+ 00029532  0x00005e3d call  0x000072e8 
+ 00029533  0x00005e3e iadd  0x00000006 , 0x00000002 
+ 00029534  0x00005e40 increase  0x00000001 , 0x00000006 
+ 00029535  0x00005e41 ifetch  0x00000002 , 0x00000006 
+ 00029536  0x00005e42 isub  0x00000012 , 0x0000003e 
+ 00029537  0x00005e43 rtn  0x00000005 
+ 00029538  0x00005e44 call  0x000072d6 
+ 00029539  0x00005e45 iadd  0x00000006 , 0x00000006 
+ 00029540  0x00005e46 deposit  0x00000002 
+ 00029541  0x00005e47 isub  0x00000006 , 0x0000003e 
+ 00029542  0x00005e48 branch  0x00007368 , 0x00000005 
+ 00029543  0x00005e49 branch  0x0000735e 
+ 00029544  0x00005e4b force  0x00000000 , 0x00000006 
+ 00029545  0x00005e4c rtn 
+ 00029546  0x00005e50 call  0x0000737d 
+ 00029547  0x00005e51 arg  0x0000051f , 0x00000006 
+ 00029548  0x00005e52 arg  0x0000050f , 0x00000005 
+ 00029549  0x00005e53 branch  0x00007e35 
+ 00029550  0x00005e57 disable  0x00000028 
+ 00029551  0x00005e58 call  0x00007474 
+ 00029552  0x00005e59 arg  0x000004ef , 0x00000006 
+ 00029553  0x00005e5a arg  0x0000052f , 0x00000005 
+ 00029554  0x00005e5b force  0x0000000f , 0x00000039 
+ 00029555  0x00005e5c call  0x00007e45 
+ 00029556  0x00005e5d ifetch  0x00000001 , 0x00000006 
+ 00029557  0x00005e5e xor_into  0x00000006 , 0x0000003f 
+ 00029558  0x00005e5f istore  0x00000001 , 0x00000005 
+ 00029559  0x00005e60 setarg  0x0000053f 
+ 00029560  0x00005e61 store  0x00000002 , 0x00000574 
+ 00029561  0x00005e62 setarg  0x0000052f 
+ 00029562  0x00005e63 store  0x00000002 , 0x00000572 
+ 00029563  0x00005e64 set1  0x00000012 , 0x00000000 
+ 00029564  0x00005e65 branch  0x000073bd 
+ 00029565  0x00005e6a fetcht  0x00000001 , 0x0000054f 
+ 00029566  0x00005e6b force  0x00000010 , 0x00000012 
+ 00029567  0x00005e6c add  0x00000002 , 0x00000006 , 0x00000013 
+ 00029568  0x00005e6d sub  0x00000013 , 0x00000010 , 0x0000003e 
+ 00029569  0x00005e6e branch  0x00007383 , 0x00000002 
+ 00029570  0x00005e6f force  0x00000010 , 0x00000013 
+ 00029571  0x00005e71 arg  0x0000052f , 0x00000005 
+ 00029572  0x00005e73 arg  0x00000550 , 0x00000006 
+ 00029573  0x00005e74 copy  0x00000002 , 0x00000039 
+ 00029574  0x00005e75 disable  0x00000028 
+ 00029575  0x00005e77 ifetch  0x00000001 , 0x00000006 
+ 00029576  0x00005e78 istore  0x00000001 , 0x00000005 
+ 00029577  0x00005e79 increase  0xffffffff , 0x00000012 
+ 00029578  0x00005e7a branch  0x00007391 , 0x00000005 
+ 00029579  0x00005e7b loop  0x00007387 
+ 00029580  0x00005e7c branch  0x00007384 , 0x00000028 
+ 00029581  0x00005e7d enable  0x00000028 
+ 00029582  0x00005e7e force  0x00000006 , 0x00000039 
+ 00029583  0x00005e7f copy  0x00000011 , 0x00000006 
+ 00029584  0x00005e80 branch  0x00007387 
+ 00029585  0x00005e82 arg  0x000004ef , 0x00000006 
+ 00029586  0x00005e83 arg  0x0000053f , 0x00000005 
+ 00029587  0x00005e84 call  0x00007e35 
+ 00029588  0x00005e85 fetch  0x00000001 , 0x0000054e 
+ 00029589  0x00005e86 ixor  0x00000013 , 0x0000003f 
+ 00029590  0x00005e87 store  0x00000001 , 0x0000054e 
+ 00029591  0x00005e88 setarg  0x0000053f 
+ 00029592  0x00005e89 store  0x00000002 , 0x00000574 
+ 00029593  0x00005e8a setarg  0x0000052f 
+ 00029594  0x00005e8b store  0x00000002 , 0x00000572 
+ 00029595  0x00005e8c set1  0x00000012 , 0x00000000 
+ 00029596  0x00005e8d branch  0x000073bd 
+ 00029597  0x00005e93 disable  0x00000028 
+ 00029598  0x00005e94 call  0x00007474 
+ 00029599  0x00005e95 branch  0x000073a7 
+ 00029600  0x00005e98 arg  0x00000056 , 0x00000011 
+ 00029601  0x00005e99 enable  0x00000028 
+ 00029602  0x00005e9a call  0x00007474 
+ 00029603  0x00005e9b call  0x000073a7 
+ 00029604  0x00005e9c arg  0x0000051f , 0x00000006 
+ 00029605  0x00005e9d arg  0x00000062 , 0x00000005 
+ 00029606  0x00005e9e branch  0x00007e35 
+ 00029607  0x00005ea2 setarg  0x000004ef 
+ 00029608  0x00005ea3 store  0x00000002 , 0x00000574 
+ 00029609  0x00005ea4 setarg  0x00004262 
+ 00029610  0x00005ea5 store  0x00000002 , 0x00000572 
+ 00029611  0x00005ea6 set0  0x00000012 , 0x00000000 
+ 00029612  0x00005ea7 call  0x000073bd 
+ 00029613  0x00005ea8 arg  0x0000051f , 0x00000011 
+ 00029614  0x00005ea9 arg  0x000004ef , 0x00000012 
+ 00029615  0x00005eaa arg  0x0000052f , 0x00000005 
+ 00029616  0x00005eab call  0x00007467 
+ 00029617  0x00005eac arg  0x0000052f , 0x00000011 
+ 00029618  0x00005ead arg  0x0000053f , 0x00000012 
+ 00029619  0x00005eae copy  0x00000012 , 0x00000005 
+ 00029620  0x00005eaf enable  0x00000028 
+ 00029621  0x00005eb0 call  0x00007465 
+ 00029622  0x00005eb1 call  0x0000747f 
+ 00029623  0x00005eb2 setarg  0x0000053f 
+ 00029624  0x00005eb3 store  0x00000002 , 0x00000574 
+ 00029625  0x00005eb4 setarg  0x0000052f 
+ 00029626  0x00005eb5 store  0x00000002 , 0x00000572 
+ 00029627  0x00005eb6 set1  0x00000012 , 0x00000000 
+ 00029628  0x00005eb7 branch  0x000073bd 
+ 00029629  0x00005ebc jam  0x00000000 , 0x00000576 
+ 00029630  0x00005ebd fetch  0x00000002 , 0x00000572 
+ 00029631  0x00005ebe iforce  0x00000006 
+ 00029632  0x00005ebf arg  0x00000560 , 0x00000005 
+ 00029633  0x00005ec0 call  0x00007e35 
+ 00029634  0x00005ec1 fetch  0x00000002 , 0x00000574 
+ 00029635  0x00005ec2 iforce  0x00000006 
+ 00029636  0x00005ec3 arg  0x0000051f , 0x00000005 
+ 00029637  0x00005ec4 call  0x00007e35 
+ 00029638  0x00005ec7 call  0x000073e4 
+ 00029639  0x00005ec8 disable  0x00000028 
+ 00029640  0x00005ec9 bmark0  0x00000012 , 0x000073ce 
+ 00029641  0x00005eca fetch  0x00000001 , 0x00000576 
+ 00029642  0x00005ecb bne  0x00000004 , 0x000073ce 
+ 00029643  0x00005ecc fetch  0x00000002 , 0x00000574 
+ 00029644  0x00005ecd iforce  0x00000012 
+ 00029645  0x00005ece call  0x00007416 
+ 00029646  0x00005ed0 call  0x00007415 
+ 00029647  0x00005ed1 call  0x00007428 
+ 00029648  0x00005ed2 fetch  0x00000001 , 0x00000576 
+ 00029649  0x00005ed3 increase  0x00000001 , 0x0000003f 
+ 00029650  0x00005ed4 store  0x00000001 , 0x00000576 
+ 00029651  0x00005ed6 call  0x000073e4 
+ 00029652  0x00005ed7 enable  0x00000028 
+ 00029653  0x00005ed8 call  0x00007415 
+ 00029654  0x00005ed9 call  0x00007437 
+ 00029655  0x00005eda call  0x00007446 
+ 00029656  0x00005edb call  0x00007437 
+ 00029657  0x00005edc call  0x00007446 
+ 00029658  0x00005edd call  0x00007437 
+ 00029659  0x00005ede call  0x00007446 
+ 00029660  0x00005edf call  0x00007437 
+ 00029661  0x00005ee0 fetch  0x00000001 , 0x00000576 
+ 00029662  0x00005ee1 increase  0x00000001 , 0x0000003f 
+ 00029663  0x00005ee2 store  0x00000001 , 0x00000576 
+ 00029664  0x00005ee3 bne  0x00000010 , 0x000073c6 
+ 00029665  0x00005ee4 call  0x000073e4 
+ 00029666  0x00005ee5 disable  0x00000028 
+ 00029667  0x00005ee6 branch  0x00007415 
+ 00029668  0x00005eeb fetch  0x00000001 , 0x00000576 
+ 00029669  0x00005eec arg  0x00000560 , 0x00000006 
+ 00029670  0x00005eed branch  0x0000740b , 0x00000034 
+ 00029671  0x00005eee iforce  0x00000012 
+ 00029672  0x00005eef force  0x00000011 , 0x00000039 
+ 00029673  0x00005ef0 copy  0x00000006 , 0x00000005 
+ 00029674  0x00005ef2 ifetch  0x00000001 , 0x00000006 
+ 00029675  0x00005ef3 lshift3  0x0000003f , 0x00000002 
+ 00029676  0x00005ef4 rshift2  0x0000003f , 0x0000003f 
+ 00029677  0x00005ef5 rshift3  0x0000003f , 0x0000003f 
+ 00029678  0x00005ef6 ior  0x00000002 , 0x0000003f 
+ 00029679  0x00005ef7 istore  0x00000001 , 0x00000005 
+ 00029680  0x00005ef8 loop  0x000073ea 
+ 00029681  0x00005ef9 setarg  0x00000560 
+ 00029682  0x00005efa iadd  0x00000012 , 0x00000006 
+ 00029683  0x00005efb force  0x00000010 , 0x00000039 
+ 00029684  0x00005efc arg  0x000004ff , 0x00000005 
+ 00029685  0x00005efe ifetch  0x00000001 , 0x00000006 
+ 00029686  0x00005eff istore  0x00000001 , 0x00000005 
+ 00029687  0x00005f00 compare  0x00000571 , 0x00000006 , 0x000000ff 
+ 00029688  0x00005f01 nbranch  0x000073fa , 0x00000001 
+ 00029689  0x00005f02 increase  0xffffffef , 0x00000006 
+ 00029690  0x00005f04 loop  0x000073f5 
+ 00029691  0x00005f05 force  0x00000000 , 0x00000011 
+ 00029692  0x00005f06 add  0x00000012 , 0xffffffff , 0x00000013 
+ 00029693  0x00005f07 lshift2  0x00000013 , 0x00000013 
+ 00029694  0x00005f08 lshift2  0x00000013 , 0x00000013 
+ 00029695  0x00005f09 call  0x000075c5 
+ 00029696  0x00005f0a setarg  0x00008400 
+ 00029697  0x00005f0b iadd  0x00000013 , 0x00000013 
+ 00029698  0x00005f0c arg  0x000004ff , 0x00000005 
+ 00029699  0x00005f0d force  0x00000010 , 0x00000039 
+ 00029700  0x00005f0f ifetcht  0x00000001 , 0x00000013 
+ 00029701  0x00005f10 ifetch  0x00000001 , 0x00000005 
+ 00029702  0x00005f11 iadd  0x00000002 , 0x0000003f 
+ 00029703  0x00005f12 istore  0x00000001 , 0x00000005 
+ 00029704  0x00005f13 increase  0x00000001 , 0x00000013 
+ 00029705  0x00005f14 loop  0x00007404 
+ 00029706  0x00005f15 branch  0x000075c9 
+ 00029707  0x00005f18 force  0x00000010 , 0x00000039 
+ 00029708  0x00005f19 force  0x00000000 , 0x00000002 
+ 00029709  0x00005f1b ifetch  0x00000001 , 0x00000006 
+ 00029710  0x00005f1c ixor  0x00000002 , 0x00000002 
+ 00029711  0x00005f1d loop  0x0000740d 
+ 00029712  0x00005f1e deposit  0x00000002 
+ 00029713  0x00005f1f istore  0x00000001 , 0x00000006 
+ 00029714  0x00005f20 arg  0x00000560 , 0x00000006 
+ 00029715  0x00005f21 arg  0x000004ff , 0x00000005 
+ 00029716  0x00005f22 branch  0x00007e35 
+ 00029717  0x00005f25 arg  0x000004ff , 0x00000012 
+ 00029718  0x00005f27 force  0x00000010 , 0x00000039 
+ 00029719  0x00005f28 arg  0x0000051f , 0x00000011 
+ 00029720  0x00005f29 copy  0x00000011 , 0x00000005 
+ 00029721  0x00005f2b ifetcht  0x00000001 , 0x00000011 
+ 00029722  0x00005f2c ifetch  0x00000001 , 0x00000012 
+ 00029723  0x00005f2d ixor  0x00000002 , 0x00000030 
+ 00029724  0x00005f2e and  0x00000039 , 0x00000003 , 0x00000013 
+ 00029725  0x00005f2f nbranch  0x0000741f , 0x00000028 
+ 00029726  0x00005f30 xor_into  0x00000003 , 0x00000013 
+ 00029727  0x00005f32 sub  0x00000013 , 0x00000001 , 0x00000013 
+ 00029728  0x00005f33 branch  0x00007422 , 0x00000002 
+ 00029729  0x00005f34 iadd  0x00000002 , 0x00000030 
+ 00029730  0x00005f36 deposit  0x00000030 
+ 00029731  0x00005f37 istore  0x00000001 , 0x00000005 
+ 00029732  0x00005f38 increase  0x00000001 , 0x00000011 
+ 00029733  0x00005f39 increase  0x00000001 , 0x00000012 
+ 00029734  0x00005f3a loop  0x00007419 
+ 00029735  0x00005f3b rtn 
+ 00029736  0x00005f3e call  0x000075c5 
+ 00029737  0x00005f3f force  0x00000010 , 0x00000039 
+ 00029738  0x00005f40 arg  0x0000051f , 0x00000011 
+ 00029739  0x00005f42 ifetch  0x00000001 , 0x00000011 
+ 00029740  0x00005f43 arg  0x00008500 , 0x00000006 
+ 00029741  0x00005f44 and  0x00000039 , 0x00000003 , 0x00000013 
+ 00029742  0x00005f45 sub  0x00000013 , 0x00000001 , 0x0000003e 
+ 00029743  0x00005f46 branch  0x00007431 , 0x00000002 
+ 00029744  0x00005f47 arg  0x00008600 , 0x00000006 
+ 00029745  0x00005f49 iadd  0x00000006 , 0x00000006 
+ 00029746  0x00005f4a ifetch  0x00000001 , 0x00000006 
+ 00029747  0x00005f4b istore  0x00000001 , 0x00000011 
+ 00029748  0x00005f4c increase  0x00000001 , 0x00000011 
+ 00029749  0x00005f4d loop  0x0000742b 
+ 00029750  0x00005f4e branch  0x000075c9 
+ 00029751  0x00005f51 force  0x00000008 , 0x00000039 
+ 00029752  0x00005f52 arg  0x0000051f , 0x00000006 
+ 00029753  0x00005f53 copy  0x00000006 , 0x00000005 
+ 00029754  0x00005f55 ifetch  0x00000001 , 0x00000006 
+ 00029755  0x00005f56 iforce  0x00000011 
+ 00029756  0x00005f57 ifetch  0x00000001 , 0x00000006 
+ 00029757  0x00005f58 iforce  0x00000012 
+ 00029758  0x00005f59 lshift  0x00000011 , 0x0000003f 
+ 00029759  0x00005f5a iadd  0x00000012 , 0x0000003f 
+ 00029760  0x00005f5b istore  0x00000001 , 0x00000005 
+ 00029761  0x00005f5c deposit  0x00000011 
+ 00029762  0x00005f5d iadd  0x00000012 , 0x0000003f 
+ 00029763  0x00005f5e istore  0x00000001 , 0x00000005 
+ 00029764  0x00005f5f loop  0x0000743a 
+ 00029765  0x00005f60 rtn 
+ 00029766  0x00005f64 setarg  0x008ae42c 
+ 00029767  0x00005f65 iforce  0x00000002 
+ 00029768  0x00005f66 force  0x00000007 , 0x00000039 
+ 00029769  0x00005f67 call  0x00007455 
+ 00029770  0x00005f68 setarg  0x000d751b 
+ 00029771  0x00005f69 iforce  0x00000002 
+ 00029772  0x00005f6a force  0x00000005 , 0x00000039 
+ 00029773  0x00005f6b call  0x00007455 
+ 00029774  0x00005f6c fetch  0x00000001 , 0x0000052e 
+ 00029775  0x00005f6d iforce  0x00000011 
+ 00029776  0x00005f6e fetch  0x00000001 , 0x00000522 
+ 00029777  0x00005f6f store  0x00000001 , 0x0000052e 
+ 00029778  0x00005f70 deposit  0x00000011 
+ 00029779  0x00005f71 store  0x00000001 , 0x00000522 
+ 00029780  0x00005f72 rtn 
+ 00029781  0x00005f75 and  0x00000002 , 0x0000000f , 0x00000012 
+ 00029782  0x00005f77 and  0x00000002 , 0x0000000f , 0x0000003f 
+ 00029783  0x00005f78 arg  0x0000051f , 0x00000005 
+ 00029784  0x00005f79 iadd  0x00000005 , 0x00000005 
+ 00029785  0x00005f7a ifetch  0x00000001 , 0x00000005 
+ 00029786  0x00005f7b iforce  0x00000013 
+ 00029787  0x00005f7c deposit  0x00000011 
+ 00029788  0x00005f7d istore  0x00000001 , 0x00000005 
+ 00029789  0x00005f7e copy  0x00000013 , 0x00000011 
+ 00029790  0x00005f7f rshift4  0x00000002 , 0x00000002 
+ 00029791  0x00005f80 loop  0x00007456 
+ 00029792  0x00005f81 setarg  0x0000051f 
+ 00029793  0x00005f82 iadd  0x00000012 , 0x00000005 
+ 00029794  0x00005f83 deposit  0x00000011 
+ 00029795  0x00005f84 istore  0x00000001 , 0x00000005 
+ 00029796  0x00005f85 rtn 
+ 00029797  0x00005f88 enable  0x00000028 
+ 00029798  0x00005f89 branch  0x00007468 
+ 00029799  0x00005f8c disable  0x00000028 
+ 00029800  0x00005f8e force  0x00000010 , 0x00000039 
+ 00029801  0x00005f90 ifetcht  0x00000001 , 0x00000011 
+ 00029802  0x00005f91 ifetch  0x00000001 , 0x00000012 
+ 00029803  0x00005f92 branch  0x0000746e , 0x00000028 
+ 00029804  0x00005f93 ixor  0x00000002 , 0x0000003f 
+ 00029805  0x00005f94 branch  0x0000746f 
+ 00029806  0x00005f96 iadd  0x00000002 , 0x0000003f 
+ 00029807  0x00005f98 istore  0x00000001 , 0x00000005 
+ 00029808  0x00005f99 increase  0x00000001 , 0x00000011 
+ 00029809  0x00005f9a increase  0x00000001 , 0x00000012 
+ 00029810  0x00005f9b loop  0x00007469 
+ 00029811  0x00005f9c rtn 
+ 00029812  0x00005fa0 arg  0x0000053f , 0x00000005 
+ 00029813  0x00005fa1 ifetch  0x00000006 , 0x00000011 
+ 00029814  0x00005fa2 istore  0x00000006 , 0x00000005 
+ 00029815  0x00005fa3 branch  0x0000747a , 0x00000028 
+ 00029816  0x00005fa4 ifetch  0x00000006 , 0x00000011 
+ 00029817  0x00005fa5 branch  0x0000747b 
+ 00029818  0x00005fa7 ifetch  0x00000006 , 0x00000006 
+ 00029819  0x00005fa9 istore  0x00000006 , 0x00000005 
+ 00029820  0x00005faa ifetch  0x00000004 , 0x00000011 
+ 00029821  0x00005fab istore  0x00000004 , 0x00000005 
+ 00029822  0x00005fac rtn 
+ 00029823  0x00005faf arg  0x00004262 , 0x00000006 
+ 00029824  0x00005fb0 arg  0x0000052f , 0x00000005 
+ 00029825  0x00005fb1 arg  0x00000000 , 0x00000002 
+ 00029826  0x00005fb2 setarg  0x008395a7 
+ 00029827  0x00005fb3 call  0x000074a0 
+ 00029828  0x00005fb4 setarg  0x00b3c1df 
+ 00029829  0x00005fb5 call  0x000074a0 
+ 00029830  0x00005fb6 setarg  0x0000e5e9 
+ 00029831  0x00005fb7 call  0x000074a1 
+ 00029832  0x00005fb8 copy  0x00000002 , 0x00000014 
+ 00029833  0x00005fb9 disable  0x00000028 
+ 00029834  0x00005fba call  0x0000748e 
+ 00029835  0x00005fbb copy  0x00000014 , 0x00000002 
+ 00029836  0x00005fbc enable  0x00000028 
+ 00029837  0x00005fbd branch  0x0000748e 
+ 00029838  0x00005fc0 force  0x00000008 , 0x00000039 
+ 00029839  0x00005fc2 ifetch  0x00000001 , 0x00000006 
+ 00029840  0x00005fc3 compare  0x00000001 , 0x00000039 , 0x00000001 
+ 00029841  0x00005fc4 branch  0x00007495 , 0x00000028 
+ 00029842  0x00005fc5 branch  0x00007496 , 0x00000001 
+ 00029843  0x00005fc7 iadd  0x00000002 , 0x0000003f 
+ 00029844  0x00005fc8 branch  0x00007497 
+ 00029845  0x00005fca branch  0x00007493 , 0x00000001 
+ 00029846  0x00005fcc ixor  0x00000002 , 0x0000003f 
+ 00029847  0x00005fce istore  0x00000001 , 0x00000005 
+ 00029848  0x00005fcf rshift8  0x00000002 , 0x00000002 
+ 00029849  0x00005fd0 loop  0x0000748f 
+ 00029850  0x00005fd1 rtn 
+ 00029851  0x00005fd4 fetch  0x00000006 , 0x00000523 
+ 00029852  0x00005fd5 store  0x00000006 , 0x00000056 
+ 00029853  0x00005fd6 ifetch  0x00000006 , 0x00000006 
+ 00029854  0x00005fd7 istore  0x00000006 , 0x00000005 
+ 00029855  0x00005fd8 rtn 
+ 00029856  0x00005fdb lshift8  0x00000002 , 0x00000002 
+ 00029857  0x00005fdd lshift16  0x00000002 , 0x00000002 
+ 00029858  0x00005fde ior  0x00000002 , 0x00000002 
+ 00029859  0x00005fdf rtn 
+ 00029860  0x00005fe3 branch  0x000074a4 
+ 00029861  0x00005fe8 call  0x00007540 
+ 00029862  0x00005fe9 arg  0x0000447b , 0x00000005 
+ 00029863  0x00005fea branch  0x000075a3 
+ 00029864  0x00005fee arg  0x0000449c , 0x00000005 
+ 00029865  0x00005fef branch  0x000074ab , 0x00000029 
+ 00029866  0x00005ff0 arg  0x000003b0 , 0x00000005 
+ 00029867  0x00005ff2 copy  0x00000006 , 0x00000011 
+ 00029868  0x00005ff3 call  0x00007e35 
+ 00029869  0x00005ff4 call  0x00007551 
+ 00029870  0x00005ff5 arg  0x0000448c , 0x00000006 
+ 00029871  0x00005ff6 branch  0x000075bc 
+ 00029872  0x00005ff9 arg  0x000003b0 , 0x00000011 
+ 00029873  0x00005ffa branch  0x000074b3 , 0x00000029 
+ 00029874  0x00005ffb arg  0x0000449c , 0x00000011 
+ 00029875  0x00005ffd copy  0x00000011 , 0x00000005 
+ 00029876  0x00005ffe call  0x00006226 
+ 00029877  0x00005fff branch  0x00007551 
+ 00029878  0x00006002 arg  0x00000380 , 0x00000006 
+ 00029879  0x00006003 call  0x00007592 
+ 00029880  0x00006004 arg  0x0000447b , 0x00000006 
+ 00029881  0x00006005 call  0x00007593 
+ 00029882  0x00006006 force  0x00000038 , 0x00000036 
+ 00029883  0x00006007 force  0x00000000 , 0x00000036 
+ 00029884  0x00006008 call  0x0000752f 
+ 00029885  0x00006009 arg  0x000003fd , 0x00000005 
+ 00029886  0x0000600a branch  0x000075a3 
+ 00029887  0x0000600e force  0x00000049 , 0x0000003f 
+ 00029888  0x0000600f branch  0x000074c2 
+ 00029889  0x00006011 force  0x00000001 , 0x0000003f 
+ 00029890  0x00006013 force  0x00000000 , 0x00000038 
+ 00029891  0x00006014 lshift8  0x00000002 , 0x0000002f 
+ 00029892  0x00006015 ior  0x0000002f , 0x0000002f 
+ 00029893  0x00006016 increase  0x00000001 , 0x00000038 
+ 00029894  0x00006017 rshift8  0x00000002 , 0x0000002f 
+ 00029895  0x00006018 rshift16  0x0000002f , 0x0000002f 
+ 00029896  0x00006019 fetch  0x00000002 , 0x00004473 
+ 00029897  0x0000601a lshift16 , 0x0000003f , 0x0000003f 
+ 00029898  0x0000601b ior  0x0000002f , 0x0000002f 
+ 00029899  0x0000601c increase  0x00000001 , 0x00000038 
+ 00029900  0x0000601d ifetch  0x00000004 , 0x00000006 
+ 00029901  0x0000601e iforce  0x0000002f 
+ 00029902  0x0000601f increase  0x00000001 , 0x00000038 
+ 00029903  0x00006020 ifetch  0x00000002 , 0x00000006 
+ 00029904  0x00006021 byteswap  0x00000011 , 0x0000002f 
+ 00029905  0x00006022 lshift16  0x0000002f , 0x0000002f 
+ 00029906  0x00006023 ior  0x0000002f , 0x0000002f 
+ 00029907  0x00006024 increase  0x00000001 , 0x00000038 
+ 00029908  0x00006025 rtn 
+ 00029909  0x0000602a add  0x00000013 , 0x00000001 , 0x00000006 
+ 00029910  0x0000602b ifetch  0x00000001 , 0x00000006 
+ 00029911  0x0000602c iforce  0x00000011 
+ 00029912  0x0000602d call  0x000074bf 
+ 00029913  0x0000602e call  0x00007531 
+ 00029914  0x00006030 force  0x00000000 , 0x00000038 
+ 00029915  0x00006031 ifetch  0x00000001 , 0x00000013 
+ 00029916  0x00006032 and_into  0x00000003 , 0x0000003f 
+ 00029917  0x00006033 lshift16  0x0000003f , 0x0000002f 
+ 00029918  0x00006034 set1  0x00000008 , 0x0000002f 
+ 00029919  0x00006035 call  0x0000759b 
+ 00029920  0x00006036 call  0x00007534 
+ 00029921  0x00006038 copy  0x00000011 , 0x00000039 
+ 00029922  0x00006039 add  0x00000013 , 0x00000002 , 0x00000006 
+ 00029923  0x0000603a call  0x0000757a 
+ 00029924  0x0000603c call  0x00007584 
+ 00029925  0x0000603d call  0x00007534 
+ 00029926  0x0000603e deposit  0x00000039 
+ 00029927  0x0000603f branch  0x000074e9 , 0x00000034 
+ 00029928  0x00006040 branch  0x000074e4 
+ 00029929  0x00006042 force  0x0000000c , 0x00000038 
+ 00029930  0x00006043 deposit  0x0000002f 
+ 00029931  0x00006044 store  0x00000004 , 0x00000378 
+ 00029932  0x00006045 rtn 
+ 00029933  0x00006048 increase  0x00000001 , 0x00000011 
+ 00029934  0x00006049 call  0x000074c1 
+ 00029935  0x0000604a copy  0x00000013 , 0x00000006 
+ 00029936  0x0000604b call  0x0000758e 
+ 00029937  0x0000604c call  0x00007537 
+ 00029938  0x0000604d call  0x000075aa 
+ 00029939  0x0000604e increase  0x00000010 , 0x00000013 
+ 00029940  0x0000604f increase  0xfffffff0 , 0x00000012 
+ 00029941  0x00006050 branch  0x000074ed , 0x00000002 
+ 00029942  0x00006051 rtn 
+ 00029943  0x00006054 arg  0x0000443e , 0x00000013 
+ 00029944  0x00006055 fetcht  0x00000005 , 0x00004465 
+ 00029945  0x00006056 call  0x000074d5 
+ 00029946  0x00006057 force  0x00000008 , 0x00000038 
+ 00029947  0x00006058 iforce  0x0000002f 
+ 00029948  0x00006059 force  0x00000000 , 0x00000011 
+ 00029949  0x0000605a call  0x000074c1 
+ 00029950  0x0000605b call  0x00007537 
+ 00029951  0x0000605c arg  0x00004440 , 0x00000013 
+ 00029952  0x0000605d fetch  0x00000001 , 0x0000443f 
+ 00029953  0x0000605e add  0x0000003f , 0xffffffff , 0x00000012 
+ 00029954  0x0000605f iadd  0x00000013 , 0x00000005 
+ 00029955  0x00006060 force  0x0000000c , 0x00000038 
+ 00029956  0x00006061 deposit  0x0000002f 
+ 00029957  0x00006062 istore  0x00000004 , 0x00000005 
+ 00029958  0x00006063 call  0x000074ed 
+ 00029959  0x00006064 fetch  0x00000001 , 0x0000443f 
+ 00029960  0x00006065 increase  0x00000004 , 0x0000003f 
+ 00029961  0x00006066 store  0x00000001 , 0x0000443f 
+ 00029962  0x00006067 fetcht  0x00000005 , 0x00004465 
+ 00029963  0x00006068 increase  0x00000001 , 0x00000002 
+ 00029964  0x00006069 storet  0x00000005 , 0x00004465 
+ 00029965  0x0000606a rtn 
+ 00029966  0x0000606d fetch  0x00000001 , 0x00000341 
+ 00029967  0x0000606e sub  0x0000003f , 0x00000014 , 0x0000003e 
+ 00029968  0x0000606f branch  0x00007511 , 0x00000002 
+ 00029969  0x00006071 arg  0x00000342 , 0x00000013 
+ 00029970  0x00006072 add  0x0000003f , 0xffffffff , 0x00000012 
+ 00029971  0x00006073 increase  0xfffffffc , 0x0000003f 
+ 00029972  0x00006074 store  0x00000001 , 0x00000341 
+ 00029973  0x00006075 iadd  0x00000013 , 0x00000006 
+ 00029974  0x00006076 ifetch  0x00000004 , 0x00000006 
+ 00029975  0x00006077 force  0x00000008 , 0x00000038 
+ 00029976  0x00006078 iforce  0x0000002f 
+ 00029977  0x00006079 force  0x00000000 , 0x00000011 
+ 00029978  0x0000607a fetcht  0x00000005 , 0x0000446a 
+ 00029979  0x0000607b call  0x000074c1 
+ 00029980  0x0000607c call  0x00007537 
+ 00029981  0x0000607d force  0x0000000c , 0x00000038 
+ 00029982  0x0000607e deposit  0x0000002f 
+ 00029983  0x0000607f store  0x00000004 , 0x0000037c 
+ 00029984  0x00006080 call  0x000074ed 
+ 00029985  0x00006081 arg  0x00000340 , 0x00000013 
+ 00029986  0x00006082 call  0x000074d5 
+ 00029987  0x00006083 fetcht  0x00000004 , 0x0000037c 
+ 00029988  0x00006084 isub  0x00000002 , 0x0000003f 
+ 00029989  0x00006085 nrtn  0x00000034 
+ 00029990  0x00006086 fetch  0x00000004 , 0x0000446f 
+ 00029991  0x00006087 isub  0x00000002 , 0x0000003f 
+ 00029992  0x00006088 rtn  0x00000034 
+ 00029993  0x00006089 storet  0x00000004 , 0x0000446f 
+ 00029994  0x0000608a fetch  0x00000005 , 0x0000446a 
+ 00029995  0x0000608b increase  0x00000001 , 0x0000003f 
+ 00029996  0x0000608c store  0x00000005 , 0x0000446a 
+ 00029997  0x0000608d force  0x00000000 , 0x0000003f 
+ 00029998  0x0000608e rtn 
+ 00029999  0x00006091 nbranch  0x0000752f , 0x00000037 
+ 00030000  0x00006092 rtn 
+ 00030001  0x00006095 force  0x00000030 , 0x00000036 
+ 00030002  0x00006096 force  0x00000000 , 0x00000036 
+ 00030003  0x00006097 branch  0x0000752f 
+ 00030004  0x0000609a force  0x00000032 , 0x00000036 
+ 00030005  0x0000609b force  0x00000002 , 0x00000036 
+ 00030006  0x0000609c branch  0x0000752f 
+ 00030007  0x0000609f force  0x00000034 , 0x00000036 
+ 00030008  0x000060a0 force  0x00000004 , 0x00000036 
+ 00030009  0x000060a1 branch  0x0000752f 
+ 00030010  0x000060a4 force  0x00000036 , 0x00000036 
+ 00030011  0x000060a5 force  0x00000006 , 0x00000036 
+ 00030012  0x000060a6 branch  0x0000752f 
+ 00030013  0x000060a9 force  0x00000001 , 0x00000036 
+ 00030014  0x000060aa force  0x00000000 , 0x00000036 
+ 00030015  0x000060ab rtn 
+ 00030016  0x000060ad force  0x00000000 , 0x00000038 
+ 00030017  0x000060ae fetch  0x00000004 , 0x000003b0 
+ 00030018  0x000060af iforce  0x0000002f 
+ 00030019  0x000060b0 increase  0x00000001 , 0x00000038 
+ 00030020  0x000060b1 ifetch  0x00000004 , 0x00000006 
+ 00030021  0x000060b2 iforce  0x0000002f 
+ 00030022  0x000060b3 increase  0x00000001 , 0x00000038 
+ 00030023  0x000060b4 fetch  0x00000004 , 0x0000449c 
+ 00030024  0x000060b5 iforce  0x0000002f 
+ 00030025  0x000060b6 increase  0x00000001 , 0x00000038 
+ 00030026  0x000060b7 ifetch  0x00000004 , 0x00000006 
+ 00030027  0x000060b8 iforce  0x0000002f 
+ 00030028  0x000060b9 increase  0x00000001 , 0x00000038 
+ 00030029  0x000060ba call  0x0000759e 
+ 00030030  0x000060bb force  0x00000038 , 0x00000036 
+ 00030031  0x000060bc force  0x00000008 , 0x00000036 
+ 00030032  0x000060bd branch  0x0000752f 
+ 00030033  0x000060c1 fetch  0x00000006 , 0x000044f9 
+ 00030034  0x000060c2 fetcht  0x00000006 , 0x000003d0 
+ 00030035  0x000060c3 branch  0x00007556 , 0x00000029 
+ 00030036  0x000060c4 fetch  0x00000006 , 0x000003d0 
+ 00030037  0x000060c5 fetcht  0x00000006 , 0x000044f9 
+ 00030038  0x000060c7 force  0x00000008 , 0x00000038 
+ 00030039  0x000060c8 copy  0x00000002 , 0x0000002f 
+ 00030040  0x000060c9 increase  0x00000001 , 0x00000038 
+ 00030041  0x000060ca rshift32  0x00000002 , 0x0000002f 
+ 00030042  0x000060cb lshift16  0x0000003f , 0x0000003f 
+ 00030043  0x000060cc ior  0x0000002f , 0x0000002f 
+ 00030044  0x000060cd increase  0x00000001 , 0x00000038 
+ 00030045  0x000060ce rshift32  0x0000003f , 0x0000002f 
+ 00030046  0x000060cf increase  0x00000001 , 0x00000038 
+ 00030047  0x000060d0 force  0x00000000 , 0x0000002f 
+ 00030048  0x000060d1 force  0x00000000 , 0x0000003f 
+ 00030049  0x000060d2 fetch  0x00000001 , 0x000044e6 
+ 00030050  0x000060d3 fetcht  0x00000001 , 0x000044dc 
+ 00030051  0x000060d4 nbranch  0x00007566 , 0x00000029 
+ 00030052  0x000060d6 fetch  0x00000001 , 0x000044ed 
+ 00030053  0x000060d7 fetcht  0x00000001 , 0x000044e6 
+ 00030054  0x000060d9 store  0x00000001 , 0x000044ac 
+ 00030055  0x000060da storet  0x00000001 , 0x000044ad 
+ 00030056  0x000060db force  0x00000000 , 0x00000038 
+ 00030057  0x000060dc arg  0x000044ac , 0x00000012 
+ 00030058  0x000060dd force  0x00000004 , 0x00000039 
+ 00030059  0x000060df ifetch  0x00000004 , 0x00000011 
+ 00030060  0x000060e0 ifetcht  0x00000004 , 0x00000012 
+ 00030061  0x000060e1 ixor  0x00000002 , 0x0000002f 
+ 00030062  0x000060e2 increase  0x00000001 , 0x00000038 
+ 00030063  0x000060e3 increase  0x00000004 , 0x00000011 
+ 00030064  0x000060e4 increase  0x00000004 , 0x00000012 
+ 00030065  0x000060e5 loop  0x0000756b 
+ 00030066  0x000060e6 call  0x0000759e 
+ 00030067  0x000060e7 force  0x00000038 , 0x00000036 
+ 00030068  0x000060e8 force  0x0000000c , 0x00000036 
+ 00030069  0x000060e9 call  0x0000752f 
+ 00030070  0x000060eb call  0x0000759d 
+ 00030071  0x000060ec force  0x0000003a , 0x00000036 
+ 00030072  0x000060ed force  0x00000008 , 0x00000036 
+ 00030073  0x000060ee branch  0x0000752f 
+ 00030074  0x000060f1 compare  0x00000000 , 0x00000039 , 0x00000003 
+ 00030075  0x000060f2 rtn  0x00000001 
+ 00030076  0x000060f3 deposit  0x00000006 
+ 00030077  0x000060f4 iadd  0x00000039 , 0x00000005 
+ 00030078  0x000060f5 force  0x00000000 , 0x0000003f 
+ 00030079  0x000060f7 istore  0x00000001 , 0x00000005 
+ 00030080  0x000060f8 increase  0x00000001 , 0x00000039 
+ 00030081  0x000060f9 compare  0x00000000 , 0x00000039 , 0x00000003 
+ 00030082  0x000060fa rtn  0x00000001 
+ 00030083  0x000060fb branch  0x0000757f 
+ 00030084  0x000060fe force  0x00000000 , 0x00000038 
+ 00030085  0x00006100 deposit  0x00000039 
+ 00030086  0x00006101 branch  0x00007589 , 0x00000034 
+ 00030087  0x00006102 ifetch  0x00000004 , 0x00000006 
+ 00030088  0x00006103 increase  0xfffffffc , 0x00000039 
+ 00030089  0x00006105 iforce  0x0000002f 
+ 00030090  0x00006106 increase  0x00000001 , 0x00000038 
+ 00030091  0x00006107 compare  0x00000004 , 0x00000038 , 0x0000000f 
+ 00030092  0x00006108 rtn  0x00000001 
+ 00030093  0x00006109 branch  0x00007585 
+ 00030094  0x0000610c force  0x00000008 , 0x00000038 
+ 00030095  0x0000610d branch  0x00007593 
+ 00030096  0x0000610f force  0x00000004 , 0x00000038 
+ 00030097  0x00006110 branch  0x00007593 
+ 00030098  0x00006112 force  0x00000000 , 0x00000038 
+ 00030099  0x00006114 force  0x00000004 , 0x00000039 
+ 00030100  0x00006116 ifetch  0x00000004 , 0x00000006 
+ 00030101  0x00006117 iforce  0x0000002f 
+ 00030102  0x00006118 increase  0x00000001 , 0x00000038 
+ 00030103  0x00006119 loop  0x00007594 
+ 00030104  0x0000611a rtn 
+ 00030105  0x0000611d arg  0x000003fd , 0x00000006 
+ 00030106  0x0000611e branch  0x00007590 
+ 00030107  0x00006121 force  0x00000004 , 0x00000039 
+ 00030108  0x00006122 branch  0x000075a0 
+ 00030109  0x00006125 force  0x00000000 , 0x00000038 
+ 00030110  0x00006127 force  0x00000004 , 0x00000039 
+ 00030111  0x00006129 force  0x00000000 , 0x0000002f 
+ 00030112  0x0000612b increase  0x00000001 , 0x00000038 
+ 00030113  0x0000612c loop  0x0000759f 
+ 00030114  0x0000612d rtn 
+ 00030115  0x00006130 force  0x0000000c , 0x00000038 
+ 00030116  0x00006131 force  0x00000004 , 0x00000039 
+ 00030117  0x00006133 deposit  0x0000002f 
+ 00030118  0x00006134 istore  0x00000004 , 0x00000005 
+ 00030119  0x00006135 increase  0x00000001 , 0x00000038 
+ 00030120  0x00006136 loop  0x000075a5 
+ 00030121  0x00006137 rtn 
+ 00030122  0x0000613a force  0x0000000c , 0x00000038 
+ 00030123  0x0000613b copy  0x00000013 , 0x00000005 
+ 00030124  0x0000613c add  0x00000012 , 0x00000001 , 0x00000039 
+ 00030125  0x0000613d sub  0x00000039 , 0x0000000f , 0x0000003e 
+ 00030126  0x0000613e branch  0x000075b0 , 0x00000002 
+ 00030127  0x0000613f force  0x00000010 , 0x00000039 
+ 00030128  0x00006141 deposit  0x0000002f 
+ 00030129  0x00006142 sub  0x00000039 , 0x00000003 , 0x0000003e 
+ 00030130  0x00006143 branch  0x000075b8 , 0x00000002 
+ 00030131  0x00006144 istore  0x00000004 , 0x00000005 
+ 00030132  0x00006145 increase  0xfffffffc , 0x00000039 
+ 00030133  0x00006146 rtn  0x00000005 
+ 00030134  0x00006147 increase  0x00000001 , 0x00000038 
+ 00030135  0x00006148 branch  0x000075b0 
+ 00030136  0x0000614a istore  0x00000001 , 0x00000005 
+ 00030137  0x0000614b rshift8  0x0000003f , 0x0000003f 
+ 00030138  0x0000614c loop  0x000075b8 
+ 00030139  0x0000614d rtn 
+ 00030140  0x00006151 force  0x0000000c , 0x00000038 
+ 00030141  0x00006152 force  0x00000004 , 0x00000039 
+ 00030142  0x00006154 ifetch  0x00000004 , 0x00000006 
+ 00030143  0x00006155 isub  0x0000002f , 0x0000003e 
+ 00030144  0x00006156 nrtn  0x00000005 
+ 00030145  0x00006157 increase  0x00000001 , 0x00000038 
+ 00030146  0x00006158 loop  0x000075be 
+ 00030147  0x00006159 force  0x00000000 , 0x0000003e 
+ 00030148  0x0000615a rtn 
+ 00030149  0x0000615d hfetch  0x00000001 , 0x00008050 
+ 00030150  0x0000615e set0  0x00000000 , 0x0000003f 
+ 00030151  0x0000615f hstore  0x00000001 , 0x00008050 
+ 00030152  0x00006160 rtn 
+ 00030153  0x00006163 hfetch  0x00000001 , 0x00008050 
+ 00030154  0x00006164 set1  0x00000000 , 0x0000003f 
+ 00030155  0x00006165 hstore  0x00000001 , 0x00008050 
+ 00030156  0x00006166 rtn 
+ 00030157  0x00006169 arg  0x00000742 , 0x00000005 
+ 00030158  0x0000616a setsect  0x00000000 , 0x0003ffff 
+ 00030159  0x0000616b setsect  0x00000001 , 0x0003ffff 
+ 00030160  0x0000616c setsect  0x00000002 , 0x0003ffff 
+ 00030161  0x0000616d setsect  0x00000003 , 0x0003fbff 
+ 00030162  0x0000616e istore  0x00000009 , 0x00000005 
+ 00030163  0x0000616f setsect  0x00000000 , 0x0003ffff 
+ 00030164  0x00006170 setsect  0x00000001 , 0x0003ffff 
+ 00030165  0x00006171 setsect  0x00000002 , 0x0003ffff 
+ 00030166  0x00006172 setsect  0x00000003 , 0x0003ffff 
+ 00030167  0x00006173 istore  0x00000009 , 0x00000005 
+ 00030168  0x00006174 setsect  0x00000000 , 0x0003ffff 
+ 00030169  0x00006175 setsect  0x00000001 , 0x0003ffff 
+ 00030170  0x00006176 setsect  0x00000002 , 0x0003cfff 
+ 00030171  0x00006177 setsect  0x00000003 , 0x0003ffff 
+ 00030172  0x00006178 istore  0x00000009 , 0x00000005 
+ 00030173  0x00006179 setsect  0x00000000 , 0x0003ffff 
+ 00030174  0x0000617a setsect  0x00000001 , 0x0003ffff 
+ 00030175  0x0000617b setsect  0x00000002 , 0x0003ffef 
+ 00030176  0x0000617c setsect  0x00000003 , 0x0003ffff 
+ 00030177  0x0000617d istore  0x00000009 , 0x00000005 
+ 00030178  0x0000617e setsect  0x00000000 , 0x0003ffff 
+ 00030179  0x0000617f setsect  0x00000001 , 0x0003ffff 
+ 00030180  0x00006180 setsect  0x00000002 , 0x0003ffff 
+ 00030181  0x00006181 setsect  0x00000003 , 0x0003ffff 
+ 00030182  0x00006182 istore  0x00000009 , 0x00000005 
+ 00030183  0x00006183 setsect  0x00000000 , 0x0003ffff 
+ 00030184  0x00006184 setsect  0x00000001 , 0x00026c7f 
+ 00030185  0x00006185 setsect  0x00000002 , 0x0000146b 
+ 00030186  0x00006186 setsect  0x00000003 , 0x00037bb3 
+ 00030187  0x00006187 istore  0x00000009 , 0x00000005 
+ 00030188  0x00006188 setsect  0x00000000 , 0x0001feb8 
+ 00030189  0x00006189 setsect  0x00000001 , 0x00010c12 
+ 00030190  0x0000618a setsect  0x00000002 , 0x0002b722 
+ 00030191  0x0000618b setsect  0x00000003 , 0x00029fa6 
+ 00030192  0x0000618c istore  0x00000009 , 0x00000005 
+ 00030193  0x0000618d setsect  0x00000000 , 0x0000e70f 
+ 00030194  0x0000618e setsect  0x00000001 , 0x00016720 
+ 00030195  0x0000618f setsect  0x00000002 , 0x0000519e 
+ 00030196  0x00006190 setsect  0x00000003 , 0x00019084 
+ 00030197  0x00006191 istore  0x00000009 , 0x00000005 
+ 00030198  0x00006192 setsect  0x00000000 , 0x00031012 
+ 00030199  0x00006193 setsect  0x00000001 , 0x000360bf 
+ 00030200  0x00006194 setsect  0x00000002 , 0x0003f0af 
+ 00030201  0x00006195 setsect  0x00000003 , 0x000003d3 
+ 00030202  0x00006196 istore  0x00000009 , 0x00000005 
+ 00030203  0x00006197 setsect  0x00000000 , 0x0003a188 
+ 00030204  0x00006198 setsect  0x00000001 , 0x00003ad0 
+ 00030205  0x00006199 setsect  0x00000002 , 0x0003cbf2 
+ 00030206  0x0000619a setsect  0x00000003 , 0x000243d9 
+ 00030207  0x0000619b istore  0x00000009 , 0x00000005 
+ 00030208  0x0000619c setsect  0x00000000 , 0x0002b030 
+ 00030209  0x0000619d setsect  0x00000001 , 0x00036a03 
+ 00030210  0x0000619e setsect  0x00000002 , 0x00011188 
+ 00030211  0x0000619f setsect  0x00000003 , 0x0001e520 
+ 00030212  0x000061a0 istore  0x00000009 , 0x00000005 
+ 00030213  0x000061a1 setsect  0x00000000 , 0x0003a11e 
+ 00030214  0x000061a2 setsect  0x00000001 , 0x0000fe5d 
+ 00030215  0x000061a3 setsect  0x00000002 , 0x0000dd57 
+ 00030216  0x000061a4 setsect  0x00000003 , 0x0001ac93 
+ 00030217  0x000061a5 istore  0x00000009 , 0x00000005 
+ 00030218  0x000061a6 setsect  0x00000000 , 0x000011ed 
+ 00030219  0x000061a7 setsect  0x00000001 , 0x000218c4 
+ 00030220  0x000061a8 setsect  0x00000002 , 0x00008da7 
+ 00030221  0x000061a9 setsect  0x00000003 , 0x000257ff 
+ 00030222  0x000061aa istore  0x00000009 , 0x00000005 
+ 00030223  0x000061ab setsect  0x00000000 , 0x0003192b 
+ 00030224  0x000061ac setsect  0x00000001 , 0x00034641 
+ 00030225  0x000061ad setsect  0x00000002 , 0x0001be0c 
+ 00030226  0x000061ae setsect  0x00000003 , 0x000366ad 
+ 00030227  0x000061af istore  0x00000009 , 0x00000005 
+ 00030228  0x000061b0 setsect  0x00000000 , 0x00001f83 
+ 00030229  0x000061b1 setsect  0x00000001 , 0x00015a23 
+ 00030230  0x000061b2 setsect  0x00000002 , 0x0003f9b0 
+ 00030231  0x000061b3 setsect  0x00000003 , 0x00003949 
+ 00030232  0x000061b4 istore  0x00000009 , 0x00000005 
+ 00030233  0x000061b5 setsect  0x00000000 , 0x00013a51 
+ 00030234  0x000061b6 setsect  0x00000001 , 0x000153fd 
+ 00030235  0x000061b7 setsect  0x00000002 , 0x0003372a 
+ 00030236  0x000061b8 setsect  0x00000003 , 0x0000f1bb 
+ 00030237  0x000061b9 istore  0x00000009 , 0x00000005 
+ 00030238  0x000061ba setsect  0x00000000 , 0x0003ae85 
+ 00030239  0x000061bb setsect  0x00000001 , 0x0001eed9 
+ 00030240  0x000061bc setsect  0x00000002 , 0x00009e66 
+ 00030241  0x000061bd setsect  0x00000003 , 0x000001a8 
+ 00030242  0x000061be istore  0x00000008 , 0x00000005 
+ 00030243  0x000061bf rtn 
+ 00030244  0x000061c4 setarg  0x0000764c 
+ 00030245  0x000061c5 store  0x00000002 , 0x0000428e 
+ 00030246  0x000061c6 setarg  0x0000770f 
+ 00030247  0x000061c7 store  0x00000002 , 0x00004290 
+ 00030248  0x000061c8 setarg  0x000076ac 
+ 00030249  0x000061c9 store  0x00000002 , 0x00004292 
+ 00030250  0x000061ca setarg  0x00007710 
+ 00030251  0x000061cb store  0x00000002 , 0x0000428a 
+ 00030252  0x000061cc setarg  0x00007718 
+ 00030253  0x000061cd store  0x00000002 , 0x00004294 
+ 00030254  0x000061ce set1  0x00000025 , 0x00000000 
+ 00030255  0x000061cf bpatch  0x000000f9 , 0x0000403f 
+ 00030256  0x000061d0 rtn  0x0000002b 
+ 00030257  0x000061d2 hjam  0x00000000 , 0x00008081 
+ 00030258  0x000061d3 call  0x0000763f 
+ 00030259  0x000061d5 setarg  0x00007717 
+ 00030260  0x000061d6 store  0x00000002 , 0x00004288 
+ 00030261  0x000061d8 jam  0x00000000 , 0x0000480e 
+ 00030262  0x000061d9 jam  0x00000000 , 0x0000480a 
+ 00030263  0x000061da jam  0x00000000 , 0x0000480b 
+ 00030264  0x000061db setarg  0x00000000 
+ 00030265  0x000061dc store  0x00000004 , 0x00004800 
+ 00030266  0x000061dd call  0x00003f23 
+ 00030267  0x000061de branch  0x00003f79 , 0x00000034 
+ 00030268  0x000061df call  0x00003f96 
+ 00030269  0x000061e0 call  0x00003f7e 
+ 00030270  0x000061e1 branch  0x00003f6e 
+ 00030271  0x000061e4 fetcht  0x00000001 , 0x0000480f 
+ 00030272  0x000061e5 call  0x000069d1 
+ 00030273  0x000061e6 fetcht  0x00000001 , 0x00004810 
+ 00030274  0x000061e7 branch  0x000069d1 
+ 00030275  0x000061ea set1  0x00000025 , 0x00000000 
+ 00030276  0x000061eb bpatch  0x000000fa , 0x0000403f 
+ 00030277  0x000061ec fetcht  0x00000004 , 0x00004806 
+ 00030278  0x000061ed deposit  0x00000022 
+ 00030279  0x000061ee store  0x00000004 , 0x00004806 
+ 00030280  0x000061ef isub  0x00000002 , 0x0000003f 
+ 00030281  0x000061f0 nrtn  0x00000002 
+ 00030282  0x000061f1 sub  0x0000003f , 0x000000c8 , 0x0000003f 
+ 00030283  0x000061f2 rtn 
+ 00030284  0x000061f5 fetch  0x00000001 , 0x000042bc 
+ 00030285  0x000061f6 rtnne  0x0000003f 
+ 00030286  0x000061f8 set1  0x00000025 , 0x00000000 
+ 00030287  0x000061f9 bpatch  0x000000fb , 0x0000403f 
+ 00030288  0x000061fa fetch  0x00000001 , 0x00004132 
+ 00030289  0x000061fb rtnne  0x00000009 
+ 00030290  0x000061fc disable  0x00000028 
+ 00030291  0x000061fd call  0x0000769b 
+ 00030292  0x000061fe nrtn  0x00000028 
+ 00030293  0x000061ff disable  0x00000028 
+ 00030294  0x00006200 fetch  0x00000001 , 0x00004133 
+ 00030295  0x00006201 beq  0x00000003 , 0x00007706 
+ 00030296  0x00006203 fetch  0x00000001 , 0x0000480b 
+ 00030297  0x00006204 beq  0x00000001 , 0x00007663 
+ 00030298  0x00006205 beq  0x00000002 , 0x0000767d 
+ 00030299  0x00006206 call  0x00007643 
+ 00030300  0x00006207 branch  0x00007660 , 0x00000002 
+ 00030301  0x00006209 fetch  0x00000001 , 0x0000480a 
+ 00030302  0x0000620a bbit1  0x00000000 , 0x00007674 
+ 00030303  0x0000620b bbit1  0x00000001 , 0x00007682 
+ 00030304  0x0000620e jam  0x00000000 , 0x0000480a 
+ 00030305  0x0000620f jam  0x00000000 , 0x0000480b 
+ 00030306  0x00006210 rtn 
+ 00030307  0x00006214 jam  0x00000000 , 0x0000480b 
+ 00030308  0x00006215 call  0x00007bde 
+ 00030309  0x00006216 fetch  0x00000001 , 0x00004811 
+ 00030310  0x00006217 beq  0x00000001 , 0x0000766a 
+ 00030311  0x0000621a jam  0x00000005 , 0x00004805 
+ 00030312  0x0000621b jam  0x00000003 , 0x00004800 
+ 00030313  0x0000621c branch  0x00007688 
+ 00030314  0x0000621e jam  0x00000000 , 0x0000480e 
+ 00030315  0x0000621f branch  0x0000766c 
+ 00030316  0x00006222 jam  0x00000002 , 0x0000480e 
+ 00030317  0x00006223 branch  0x00007684 
+ 00030318  0x00006225 jam  0x00000003 , 0x0000480e 
+ 00030319  0x00006226 branch  0x0000767f 
+ 00030320  0x00006228 jam  0x00000004 , 0x0000480e 
+ 00030321  0x00006229 branch  0x00007678 
+ 00030322  0x0000622b jam  0x00000000 , 0x0000480e 
+ 00030323  0x0000622c branch  0x00007667 
+ 00030324  0x0000622f jam  0x00000001 , 0x0000480b 
+ 00030325  0x00006230 call  0x00007be7 
+ 00030326  0x00006231 fetch  0x00000001 , 0x00004811 
+ 00030327  0x00006232 beq  0x00000001 , 0x0000767c 
+ 00030328  0x00006235 jam  0x00000005 , 0x00004805 
+ 00030329  0x00006236 setarg  0x00020003 
+ 00030330  0x00006237 store  0x00000003 , 0x00004800 
+ 00030331  0x00006238 branch  0x00007688 
+ 00030332  0x0000623a rtn 
+ 00030333  0x0000623d jam  0x00000000 , 0x0000480b 
+ 00030334  0x0000623e call  0x00007bde 
+ 00030335  0x00006240 jam  0x0000000a , 0x00004805 
+ 00030336  0x00006241 jam  0x00000001 , 0x00004800 
+ 00030337  0x00006242 branch  0x00007688 
+ 00030338  0x00006244 jam  0x00000002 , 0x0000480b 
+ 00030339  0x00006245 call  0x00007be7 
+ 00030340  0x00006247 jam  0x0000000a , 0x00004805 
+ 00030341  0x00006248 jam  0x00000001 , 0x00004800 
+ 00030342  0x00006249 setarg  0x00280000 
+ 00030343  0x0000624a store  0x00000003 , 0x00004801 
+ 00030344  0x0000624d set1  0x00000025 , 0x00000000 
+ 00030345  0x0000624e bpatch  0x000000fc , 0x0000403f 
+ 00030346  0x0000624f fetch  0x00000001 , 0x00004805 
+ 00030347  0x00006250 copy  0x0000003f , 0x00000011 
+ 00030348  0x00006251 call  0x00004b2c 
+ 00030349  0x00006252 fetch  0x00000002 , 0x000042b7 
+ 00030350  0x00006253 istore  0x00000002 , 0x00000005 
+ 00030351  0x00006254 setarg  0x000000a1 
+ 00030352  0x00006255 istore  0x00000001 , 0x00000005 
+ 00030353  0x00006256 fetcht  0x00000004 , 0x00004800 
+ 00030354  0x00006257 istoret  0x00000008 , 0x00000005 
+ 00030355  0x00006258 setarg  0x00000000 
+ 00030356  0x00006259 istore  0x00000001 , 0x00000005 
+ 00030357  0x0000625a store  0x00000004 , 0x00004800 
+ 00030358  0x0000625c fetch  0x00000001 , 0x0000480e 
+ 00030359  0x0000625d beq  0x00000002 , 0x0000766e 
+ 00030360  0x0000625e beq  0x00000003 , 0x00007670 
+ 00030361  0x0000625f beq  0x00000004 , 0x00007672 
+ 00030362  0x00006260 rtn 
+ 00030363  0x00006263 fetcht  0x00000001 , 0x0000480f 
+ 00030364  0x00006264 call  0x000069e5 
+ 00030365  0x00006265 setarg  0x00000000 
+ 00030366  0x00006266 setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00030367  0x00006267 store  0x00000001 , 0x00004804 
+ 00030368  0x00006268 fetcht  0x00000001 , 0x00004810 
+ 00030369  0x00006269 call  0x000069e5 
+ 00030370  0x0000626a setarg  0x00000000 
+ 00030371  0x0000626b setflag  0x00000001 , 0x00000001 , 0x0000003f 
+ 00030372  0x0000626c fetcht  0x00000001 , 0x00004804 
+ 00030373  0x0000626d ior  0x00000002 , 0x0000003f 
+ 00030374  0x0000626e fetcht  0x00000001 , 0x0000480a 
+ 00030375  0x0000626f store  0x00000001 , 0x0000480a 
+ 00030376  0x00006270 ixor  0x00000002 , 0x0000003e 
+ 00030377  0x00006271 rtn  0x00000005 
+ 00030378  0x00006272 enable  0x00000028 
+ 00030379  0x00006273 rtn 
+ 00030380  0x00006276 copy  0x00000013 , 0x0000003f 
+ 00030381  0x00006277 beq  0x00000005 , 0x000076d8 
+ 00030382  0x00006278 beq  0x00000006 , 0x000076da 
+ 00030383  0x00006279 beq  0x00000007 , 0x000076dd 
+ 00030384  0x0000627a beq  0x00000027 , 0x000076e1 
+ 00030385  0x0000627b beq  0x00000002 , 0x000076c9 
+ 00030386  0x0000627c beq  0x00000004 , 0x000076d0 
+ 00030387  0x0000627d beq  0x00000013 , 0x000076d0 
+ 00030388  0x0000627e beq  0x00000001 , 0x000076c6 
+ 00030389  0x0000627f beq  0x00000012 , 0x000076c0 
+ 00030390  0x00006280 beq  0x0000002e , 0x00003f57 
+ 00030391  0x00006281 and  0x0000003f , 0x0000000f , 0x00000002 
+ 00030392  0x00006282 and_into  0x000000f0 , 0x0000003f 
+ 00030393  0x00006283 beq  0x00000050 , 0x000076e4 
+ 00030394  0x00006284 rtn 
+ 00030395  0x00006287 fetch  0x00000001 , 0x000047f2 
+ 00030396  0x00006288 rtn  0x00000034 
+ 00030397  0x00006289 increase  0xffffffff , 0x0000003f 
+ 00030398  0x0000628a store  0x00000001 , 0x000047f2 
+ 00030399  0x0000628b nrtn  0x00000034 
+ 00030400  0x0000628d jam  0x00000001 , 0x0000427f 
+ 00030401  0x0000628e call  0x00003fa4 
+ 00030402  0x0000628f call  0x00003fa2 
+ 00030403  0x00006290 call  0x00003f7e 
+ 00030404  0x00006291 call  0x00003f98 
+ 00030405  0x00006292 branch  0x00003f9e 
+ 00030406  0x00006296 jam  0x00000000 , 0x0000480d 
+ 00030407  0x00006297 jam  0x00000000 , 0x0000480c 
+ 00030408  0x00006298 rtn 
+ 00030409  0x0000629b set1  0x00000025 , 0x00000000 
+ 00030410  0x0000629c bpatch  0x000000fd , 0x0000403f 
+ 00030411  0x0000629d jam  0x00000000 , 0x0000429d 
+ 00030412  0x0000629e jam  0x00000000 , 0x0000480c 
+ 00030413  0x0000629f jam  0x00000000 , 0x0000480d 
+ 00030414  0x000062a0 fetch  0x00000002 , 0x000042a0 
+ 00030415  0x000062a1 bbit0  0x00000003 , 0x000076d4 
+ 00030416  0x000062a4 fetch  0x00000002 , 0x000047fe 
+ 00030417  0x000062a5 store  0x00000002 , 0x000047f0 
+ 00030418  0x000062a7 call  0x00003f12 
+ 00030419  0x000062a8 branch  0x00003f7b 
+ 00030420  0x000062ab bbit0  0x00000001 , 0x000076d6 
+ 00030421  0x000062ac branch  0x000076d0 
+ 00030422  0x000062af bbit0  0x00000002 , 0x000076d2 
+ 00030423  0x000062b0 branch  0x000076d0 
+ 00030424  0x000062b4 call  0x00003f7e 
+ 00030425  0x000062b5 branch  0x00003f98 
+ 00030426  0x000062b8 setarg  0x00000002 
+ 00030427  0x000062b9 store  0x00000001 , 0x000047f2 
+ 00030428  0x000062ba rtn 
+ 00030429  0x000062bd jam  0x00000000 , 0x0000480c 
+ 00030430  0x000062be setarg  0x00000001 
+ 00030431  0x000062bf store  0x00000001 , 0x0000480d 
+ 00030432  0x000062c0 rtn 
+ 00030433  0x000062c3 setarg  0x00000005 
+ 00030434  0x000062c4 store  0x00000001 , 0x0000480c 
+ 00030435  0x000062c5 rtn 
+ 00030436  0x000062c8 set1  0x00000025 , 0x00000000 
+ 00030437  0x000062c9 bpatch  0x000000fe , 0x0000403f 
+ 00030438  0x000062ca storet  0x00000001 , 0x00000259 
+ 00030439  0x000062cc fetch  0x00000001 , 0x00000259 
+ 00030440  0x000062cd rtn  0x00000034 
+ 00030441  0x000062ce increase  0xffffffff , 0x0000003f 
+ 00030442  0x000062cf store  0x00000001 , 0x00000259 
+ 00030443  0x000062d0 call  0x000076ef 
+ 00030444  0x000062d1 call  0x000076bb 
+ 00030445  0x000062d2 call  0x000076fa 
+ 00030446  0x000062d3 branch  0x000076e7 
+ 00030447  0x000062d6 fetch  0x00000001 , 0x0000480c 
+ 00030448  0x000062d7 rtn  0x00000034 
+ 00030449  0x000062d8 fetch  0x00000001 , 0x0000480c 
+ 00030450  0x000062d9 increase  0xffffffff , 0x0000003f 
+ 00030451  0x000062da store  0x00000001 , 0x0000480c 
+ 00030452  0x000062db nrtn  0x00000034 
+ 00030453  0x000062dc fetch  0x00000001 , 0x000002e6 
+ 00030454  0x000062dd set1  0x00000000 , 0x0000003f 
+ 00030455  0x000062de set1  0x00000007 , 0x0000003f 
+ 00030456  0x000062df store  0x00000001 , 0x000002e6 
+ 00030457  0x000062e0 rtn 
+ 00030458  0x000062e3 fetch  0x00000001 , 0x0000480d 
+ 00030459  0x000062e4 rtn  0x00000034 
+ 00030460  0x000062e5 fetch  0x00000001 , 0x0000480d 
+ 00030461  0x000062e6 increase  0xffffffff , 0x0000003f 
+ 00030462  0x000062e7 store  0x00000001 , 0x0000480d 
+ 00030463  0x000062e8 nrtn  0x00000034 
+ 00030464  0x000062e9 branch  0x00003f77 
+ 00030465  0x000062ec set1  0x00000025 , 0x00000000 
+ 00030466  0x000062ed bpatch  0x000000ff , 0x0000403f 
+ 00030467  0x000062ee fetch  0x00000001 , 0x00004133 
+ 00030468  0x000062ef rtnne  0x00000003 
+ 00030469  0x000062f0 branch  0x0000764e 
+ 00030470  0x000062f2 call  0x00007643 
+ 00030471  0x000062f3 rtn  0x00000002 
+ 00030472  0x000062f4 fetch  0x00000001 , 0x0000480a 
+ 00030473  0x000062f5 rtn  0x00000034 
+ 00030474  0x000062f6 call  0x00003f23 
+ 00030475  0x000062f7 branch  0x00003f79 , 0x00000034 
+ 00030476  0x000062f8 call  0x00003f96 
+ 00030477  0x000062f9 call  0x00003f7e 
+ 00030478  0x000062fa branch  0x00003f6e 
+ 00030479  0x000062fe branch  0x00007701 
+ 00030480  0x00006302 fetcht  0x00000001 , 0x0000480f 
+ 00030481  0x00006303 call  0x000069b4 
+ 00030482  0x00006304 fetch  0x00000001 , 0x00004811 
+ 00030483  0x00006305 bne  0x00000001 , 0x00007715 
+ 00030484  0x00006306 rtn 
+ 00030485  0x00006308 fetcht  0x00000001 , 0x00004810 
+ 00030486  0x00006309 branch  0x000069b4 
+ 00030487  0x0000630c branch  0x0000763f 
+ 00030488  0x00006310 branch  0x00003f9a 
+ 00030489  0x00006315 set1  0x00000025 , 0x00000000 
+ 00030490  0x00006316 bpatch  0x000000f2 , 0x0000403e 
+ 00030491  0x00006317 fetch  0x00000001 , 0x000047dc 
+ 00030492  0x00006318 branch  0x00006009 , 0x00000034 
+ 00030493  0x00006319 call  0x00006003 
+ 00030494  0x0000631a setarg  0x00000000 
+ 00030495  0x0000631b store  0x00000008 , 0x000007da 
+ 00030496  0x0000631c store  0x00000004 , 0x000007e2 
+ 00030497  0x0000631e arg  0x000007e9 , 0x00000005 
+ 00030498  0x0000631f istore  0x00000007 , 0x00000005 
+ 00030499  0x00006320 jam  0x00000000 , 0x000007e0 
+ 00030500  0x00006321 branch  0x000077a4 
+ 00030501  0x00006324 jam  0x00000001 , 0x000007dc 
+ 00030502  0x00006325 branch  0x0000772a 
+ 00030503  0x00006327 fetch  0x00000001 , 0x00004793 
+ 00030504  0x00006328 beq  0x00000001 , 0x000077c2 
+ 00030505  0x00006329 branch  0x00003bf1 
+ 00030506  0x0000632b fetch  0x00000001 , 0x00004793 
+ 00030507  0x0000632c beq  0x00000001 , 0x0000772d 
+ 00030508  0x0000632d branch  0x000077a4 
+ 00030509  0x00006330 call  0x000077c2 
+ 00030510  0x00006331 fetch  0x00000001 , 0x000007db 
+ 00030511  0x00006332 nrtn  0x00000034 
+ 00030512  0x00006333 jam  0x00000003 , 0x000007da 
+ 00030513  0x00006334 rtn 
+ 00030514  0x00006337 fetch  0x00000001 , 0x000007de 
+ 00030515  0x00006338 bne  0x00000000 , 0x00007750 
+ 00030516  0x00006339 call  0x0000774d 
+ 00030517  0x0000633a arg  0x00000898 , 0x00000005 
+ 00030518  0x0000633b setarg  0x00000848 
+ 00030519  0x0000633c istore  0x00000002 , 0x00000005 
+ 00030520  0x0000633d setarg  0x000047c4 
+ 00030521  0x0000633e istore  0x00000002 , 0x00000005 
+ 00030522  0x0000633f setarg  0x00000808 
+ 00030523  0x00006340 istore  0x00000002 , 0x00000005 
+ 00030524  0x00006341 branch  0x00007744 
+ 00030525  0x00006343 arg  0x00000898 , 0x00000005 
+ 00030526  0x00006344 setarg  0x00000858 
+ 00030527  0x00006345 istore  0x00000002 , 0x00000005 
+ 00030528  0x00006346 setarg  0x00000808 
+ 00030529  0x00006347 istore  0x00000002 , 0x00000005 
+ 00030530  0x00006348 setarg  0x000047c4 
+ 00030531  0x00006349 istore  0x00000002 , 0x00000005 
+ 00030532  0x0000634b call  0x00007ad2 
+ 00030533  0x0000634c fetch  0x00000001 , 0x000007db 
+ 00030534  0x0000634d beq  0x00000004 , 0x0000774a 
+ 00030535  0x0000634e jam  0x00000001 , 0x000007dc 
+ 00030536  0x0000634f jam  0x00000005 , 0x000007da 
+ 00030537  0x00006350 rtn 
+ 00030538  0x00006352 jam  0x00000014 , 0x000007db 
+ 00030539  0x00006353 call  0x00007727 
+ 00030540  0x00006354 branch  0x0000780f 
+ 00030541  0x00006357 arg  0x00000838 , 0x00000005 
+ 00030542  0x00006358 force  0x00000008 , 0x00000007 
+ 00030543  0x00006359 branch  0x000077db 
+ 00030544  0x0000635c jam  0x00000001 , 0x000007dc 
+ 00030545  0x0000635d rtn 
+ 00030546  0x00006361 arg  0x000006c3 , 0x00000005 
+ 00030547  0x00006362 fetch  0x00000006 , 0x00004140 
+ 00030548  0x00006363 istore  0x00000006 , 0x00000005 
+ 00030549  0x00006364 fetch  0x00000006 , 0x00000040 
+ 00030550  0x00006365 istore  0x00000006 , 0x00000005 
+ 00030551  0x00006366 fetch  0x00000003 , 0x000007e9 
+ 00030552  0x00006367 istore  0x00000003 , 0x00000005 
+ 00030553  0x00006369 call  0x00007b3c 
+ 00030554  0x0000636b arg  0x00000868 , 0x00000011 
+ 00030555  0x0000636c arg  0x00000878 , 0x00000012 
+ 00030556  0x0000636d force  0x00000004 , 0x00000007 
+ 00030557  0x0000636e call  0x000077e0 
+ 00030558  0x0000636f nbranch  0x00007768 , 0x00000001 
+ 00030559  0x00006372 fetch  0x00000001 , 0x000007db 
+ 00030560  0x00006373 beq  0x00000009 , 0x00007765 
+ 00030561  0x00006374 jam  0x0000000a , 0x000007da 
+ 00030562  0x00006375 jam  0x00000001 , 0x000007dc 
+ 00030563  0x00006376 jam  0x00000003 , 0x0000007c 
+ 00030564  0x00006377 rtn 
+ 00030565  0x00006379 jam  0x00000003 , 0x0000007c 
+ 00030566  0x0000637a jam  0x00000015 , 0x000007db 
+ 00030567  0x0000637b branch  0x0000780f 
+ 00030568  0x0000637f fetch  0x00000001 , 0x000007db 
+ 00030569  0x00006380 beq  0x00000009 , 0x0000776e 
+ 00030570  0x00006381 jam  0x00000000 , 0x000007da 
+ 00030571  0x00006382 jam  0x00000004 , 0x0000007c 
+ 00030572  0x00006384 jam  0x00000005 , 0x0000007e 
+ 00030573  0x00006385 rtn 
+ 00030574  0x00006387 jam  0x00000004 , 0x0000007c 
+ 00030575  0x00006388 jam  0x00000000 , 0x000007db 
+ 00030576  0x00006389 rtn 
+ 00030577  0x0000638c fetch  0x00000001 , 0x000007df 
+ 00030578  0x0000638d beq  0x00000001 , 0x00007775 
+ 00030579  0x0000638e jam  0x0000000a , 0x000007db 
+ 00030580  0x0000638f branch  0x0000780f 
+ 00030581  0x00006391 arg  0x000006c3 , 0x00000005 
+ 00030582  0x00006392 fetch  0x00000006 , 0x00000040 
+ 00030583  0x00006393 istore  0x00000006 , 0x00000005 
+ 00030584  0x00006394 fetch  0x00000006 , 0x00004140 
+ 00030585  0x00006395 istore  0x00000006 , 0x00000005 
+ 00030586  0x00006396 fetch  0x00000003 , 0x000007e6 
+ 00030587  0x00006397 istore  0x00000003 , 0x00000005 
+ 00030588  0x00006399 call  0x00007b4a 
+ 00030589  0x0000639a fetch  0x00000001 , 0x000007db 
+ 00030590  0x0000639b beq  0x0000000a , 0x00007782 
+ 00030591  0x0000639c jam  0x0000000b , 0x000007da 
+ 00030592  0x0000639d jam  0x00000001 , 0x000007dc 
+ 00030593  0x0000639e rtn 
+ 00030594  0x000063a0 jam  0x0000000b , 0x000007db 
+ 00030595  0x000063a1 jam  0x00000001 , 0x000007dd 
+ 00030596  0x000063a2 rtn 
+ 00030597  0x000063a5 arg  0x00000898 , 0x00000005 
+ 00030598  0x000063a6 fetch  0x00000006 , 0x00000040 
+ 00030599  0x000063a7 istore  0x00000006 , 0x00000005 
+ 00030600  0x000063a8 fetch  0x00000006 , 0x00004140 
+ 00030601  0x000063a9 istore  0x00000006 , 0x00000005 
+ 00030602  0x000063aa setarg  0x00000848 
+ 00030603  0x000063ab istore  0x00000002 , 0x00000005 
+ 00030604  0x000063ac setarg  0x00000858 
+ 00030605  0x000063ad istore  0x00000002 , 0x00000005 
+ 00030606  0x000063ae branch  0x00007799 
+ 00030607  0x000063b0 jam  0x0000000f , 0x000007da 
+ 00030608  0x000063b1 arg  0x00000898 , 0x00000005 
+ 00030609  0x000063b2 fetch  0x00000006 , 0x00004140 
+ 00030610  0x000063b3 istore  0x00000006 , 0x00000005 
+ 00030611  0x000063b4 fetch  0x00000006 , 0x00000040 
+ 00030612  0x000063b5 istore  0x00000006 , 0x00000005 
+ 00030613  0x000063b6 setarg  0x00000858 
+ 00030614  0x000063b7 istore  0x00000002 , 0x00000005 
+ 00030615  0x000063b8 setarg  0x00000848 
+ 00030616  0x000063b9 istore  0x00000002 , 0x00000005 
+ 00030617  0x000063bc arg  0x000006c3 , 0x00000005 
+ 00030618  0x000063bd fetch  0x00000006 , 0x00000898 
+ 00030619  0x000063be istore  0x00000006 , 0x00000005 
+ 00030620  0x000063bf fetch  0x00000006 , 0x0000089e 
+ 00030621  0x000063c0 istore  0x00000006 , 0x00000005 
+ 00030622  0x000063c2 call  0x00007b06 
+ 00030623  0x000063c5 jam  0x00000001 , 0x0000425e 
+ 00030624  0x000063c6 arg  0x00004262 , 0x00000005 
+ 00030625  0x000063c7 arg  0x00000868 , 0x00000006 
+ 00030626  0x000063c8 call  0x00007e35 
+ 00030627  0x000063c9 branch  0x00003229 
+ 00030628  0x000063cd set1  0x00000025 , 0x00000000 
+ 00030629  0x000063ce bpatch  0x000000f3 , 0x0000403e 
+ 00030630  0x000063cf fetch  0x00000001 , 0x00004793 
+ 00030631  0x000063d0 rtnne  0x00000000 
+ 00030632  0x000063d1 fetch  0x00000001 , 0x000007de 
+ 00030633  0x000063d2 rtnne  0x00000000 
+ 00030634  0x000063d3 arg  0x00004794 , 0x00000005 
+ 00030635  0x000063d4 force  0x0000000b , 0x00000007 
+ 00030636  0x000063d5 call  0x000077db 
+ 00030637  0x000063d6 random  0x0000003f 
+ 00030638  0x000063d7 rshift  0x0000003f , 0x0000003f 
+ 00030639  0x000063d8 istore  0x00000002 , 0x00000005 
+ 00030640  0x000063da arg  0x0000065a , 0x00000005 
+ 00030641  0x000063db arg  0x00004794 , 0x00000006 
+ 00030642  0x000063dc call  0x00007e33 
+ 00030643  0x000063de arg  0x00000582 , 0x00000005 
+ 00030644  0x000063df arg  0x0000078a , 0x00000006 
+ 00030645  0x000063e0 call  0x00007e2d 
+ 00030646  0x000063e2 arg  0x000005b2 , 0x00000005 
+ 00030647  0x000063e3 call  0x00007e3a 
+ 00030648  0x000063e4 jam  0x00000001 , 0x000005b2 
+ 00030649  0x000063e6 call  0x00007b7f 
+ 00030650  0x000063e7 jam  0x00000001 , 0x000007de 
+ 00030651  0x000063e8 rtn 
+ 00030652  0x000063eb arg  0x000047ac , 0x00000005 
+ 00030653  0x000063ec arg  0x000005ca , 0x00000006 
+ 00030654  0x000063ed call  0x00007e2d 
+ 00030655  0x000063ee jam  0x00000001 , 0x00004793 
+ 00030656  0x000063ef jam  0x00000000 , 0x000007de 
+ 00030657  0x000063f0 rtn 
+ 00030658  0x000063f3 set1  0x00000025 , 0x00000000 
+ 00030659  0x000063f4 bpatch  0x000000f4 , 0x0000403e 
+ 00030660  0x000063f5 fetch  0x00000001 , 0x000007e5 
+ 00030661  0x000063f6 rtnne  0x00000000 
+ 00030662  0x000063f7 fetch  0x00000001 , 0x000007de 
+ 00030663  0x000063f8 rtnne  0x00000000 
+ 00030664  0x000063fa arg  0x0000065a , 0x00000005 
+ 00030665  0x000063fb arg  0x00004794 , 0x00000006 
+ 00030666  0x000063fc call  0x00007e33 
+ 00030667  0x000063fe arg  0x00000582 , 0x00000005 
+ 00030668  0x000063ff arg  0x000007f0 , 0x00000006 
+ 00030669  0x00006400 call  0x00007e2d 
+ 00030670  0x00006402 arg  0x000005b2 , 0x00000005 
+ 00030671  0x00006403 call  0x00007e3a 
+ 00030672  0x00006404 jam  0x00000001 , 0x000005b2 
+ 00030673  0x00006406 call  0x00007b7f 
+ 00030674  0x00006407 jam  0x00000002 , 0x000007de 
+ 00030675  0x00006408 rtn 
+ 00030676  0x0000640b jam  0x00000001 , 0x000007df 
+ 00030677  0x0000640c arg  0x00000820 , 0x00000005 
+ 00030678  0x0000640d arg  0x000005ca , 0x00000006 
+ 00030679  0x0000640e call  0x00007e33 
+ 00030680  0x0000640f jam  0x00000001 , 0x000007e5 
+ 00030681  0x00006410 jam  0x00000000 , 0x000007de 
+ 00030682  0x00006411 rtn 
+ 00030683  0x00006414 increase  0xffffffff , 0x00000007 
+ 00030684  0x00006415 nrtn  0x00000002 
+ 00030685  0x00006416 random  0x0000003f 
+ 00030686  0x00006417 istore  0x00000002 , 0x00000005 
+ 00030687  0x00006418 branch  0x000077db 
+ 00030688  0x0000641a increase  0xffffffff , 0x00000007 
+ 00030689  0x0000641b nbranch  0x000077ec , 0x00000002 
+ 00030690  0x0000641c ifetch  0x00000004 , 0x00000011 
+ 00030691  0x0000641d copy  0x0000003f , 0x00000002 
+ 00030692  0x0000641e ifetch  0x00000004 , 0x00000012 
+ 00030693  0x0000641f iflip  0x00000002 , 0x0000003f 
+ 00030694  0x00006420 nbranch  0x000077ea , 0x00000005 
+ 00030695  0x00006421 increase  0x00000004 , 0x00000011 
+ 00030696  0x00006422 increase  0x00000004 , 0x00000012 
+ 00030697  0x00006423 branch  0x000077e0 
+ 00030698  0x00006425 disable  0x00000001 
+ 00030699  0x00006426 rtn 
+ 00030700  0x00006428 enable  0x00000001 
+ 00030701  0x00006429 rtn 
+ 00030702  0x00006431 set1  0x00000025 , 0x00000000 
+ 00030703  0x00006432 bpatch  0x000000f5 , 0x0000403e 
+ 00030704  0x00006433 fetch  0x00000001 , 0x000007dc 
+ 00030705  0x00006434 rtn  0x00000034 
+ 00030706  0x00006435 jam  0x00000000 , 0x000007dc 
+ 00030707  0x00006436 fetch  0x00000001 , 0x000007da 
+ 00030708  0x00006437 beq  0x00000003 , 0x00006117 
+ 00030709  0x00006438 beq  0x00000005 , 0x00006134 
+ 00030710  0x00006439 beq  0x00000007 , 0x0000613f 
+ 00030711  0x0000643a beq  0x0000000b , 0x00006155 
+ 00030712  0x0000643b beq  0x00000002 , 0x00007725 
+ 00030713  0x0000643c beq  0x00000004 , 0x00007732 
+ 00030714  0x0000643d beq  0x00000009 , 0x00007752 
+ 00030715  0x0000643e beq  0x0000000a , 0x00007771 
+ 00030716  0x0000643f beq  0x0000000c , 0x0000778f 
+ 00030717  0x00006441 rtn 
+ 00030718  0x00006444 set1  0x00000025 , 0x00000000 
+ 00030719  0x00006445 bpatch  0x000000f6 , 0x0000403e 
+ 00030720  0x00006446 fetch  0x00000001 , 0x000007dd 
+ 00030721  0x00006447 rtn  0x00000034 
+ 00030722  0x00006448 jam  0x00000000 , 0x000007dd 
+ 00030723  0x00006449 fetch  0x00000001 , 0x000007db 
+ 00030724  0x0000644a beq  0x00000012 , 0x000060f7 
+ 00030725  0x0000644b beq  0x00000013 , 0x000060ff 
+ 00030726  0x0000644c beq  0x00000003 , 0x00006103 
+ 00030727  0x0000644d beq  0x00000004 , 0x0000773d 
+ 00030728  0x0000644e beq  0x00000014 , 0x00006107 
+ 00030729  0x0000644f beq  0x00000007 , 0x00006115 
+ 00030730  0x00006450 beq  0x0000000a , 0x00007771 
+ 00030731  0x00006451 beq  0x0000000b , 0x00006154 
+ 00030732  0x00006452 beq  0x00000009 , 0x00007752 
+ 00030733  0x00006453 beq  0x00000015 , 0x0000614e 
+ 00030734  0x00006454 rtn 
+ 00030735  0x00006457 jam  0x00000001 , 0x000007dd 
+ 00030736  0x00006458 rtn 
+ 00030737  0x0000645b jam  0x00000000 , 0x000007dd 
+ 00030738  0x0000645c rtn 
+ 00030739  0x0000645e set1  0x00000025 , 0x00000000 
+ 00030740  0x0000645f bpatch  0x000000f7 , 0x0000403e 
+ 00030741  0x00006460 fetch  0x00000001 , 0x000007de 
+ 00030742  0x00006461 rtn  0x00000034 
+ 00030743  0x00006462 increase  0x00000080 , 0x0000003f 
+ 00030744  0x00006463 store  0x00000001 , 0x000007de 
+ 00030745  0x00006464 rtnbit1  0x00000007 
+ 00030746  0x00006465 fetch  0x00000001 , 0x00000581 
+ 00030747  0x00006466 branch  0x0000781d , 0x00000034 
+ 00030748  0x00006467 branch  0x00007b8a 
+ 00030749  0x0000646a call  0x00007a0c 
+ 00030750  0x0000646b fetch  0x00000001 , 0x000007de 
+ 00030751  0x0000646c beq  0x00000001 , 0x000077bc 
+ 00030752  0x0000646d beq  0x00000002 , 0x000077d4 
+ 00030753  0x0000646e rtn 
+ 00030754  0x00006472 and  0x0000003f , 0x00000007 , 0x00000007 
+ 00030755  0x00006473 rshift3  0x0000003f , 0x0000003f 
+ 00030756  0x00006474 iadd  0x00000006 , 0x00000006 
+ 00030757  0x00006475 ifetch  0x00000001 , 0x00000006 
+ 00030758  0x00006476 qisolate0  0x0000003f 
+ 00030759  0x00006477 rtn 
+ 00030760  0x0000647b call  0x00007e33 
+ 00030761  0x0000647c call  0x00007e33 
+ 00030762  0x0000647d branch  0x00007e33 
+ 00030763  0x00006481 ifetch  0x00000008 , 0x00000006 
+ 00030764  0x00006482 nrtn  0x00000034 
+ 00030765  0x00006483 ifetch  0x00000008 , 0x00000006 
+ 00030766  0x00006484 nrtn  0x00000034 
+ 00030767  0x00006485 ifetch  0x00000008 , 0x00000006 
+ 00030768  0x00006486 rtn 
+ 00030769  0x0000648b force  0x00000006 , 0x00000039 
+ 00030770  0x0000648d ifetch  0x00000004 , 0x00000011 
+ 00030771  0x0000648e iforce  0x00000002 
+ 00030772  0x0000648f ifetch  0x00000004 , 0x00000012 
+ 00030773  0x00006490 isub  0x00000002 , 0x0000003e 
+ 00030774  0x00006491 nrtn  0x00000005 
+ 00030775  0x00006492 increase  0x00000004 , 0x00000011 
+ 00030776  0x00006493 increase  0x00000004 , 0x00000012 
+ 00030777  0x00006494 loop  0x00007832 
+ 00030778  0x00006495 rtn 
+ 00030779  0x00006499 force  0x00000006 , 0x00000039 
+ 00030780  0x0000649a increase  0x00000014 , 0x00000011 
+ 00030781  0x0000649b increase  0x00000014 , 0x00000012 
+ 00030782  0x0000649d ifetch  0x00000004 , 0x00000012 
+ 00030783  0x0000649e iforce  0x00000002 
+ 00030784  0x0000649f ifetch  0x00000004 , 0x00000011 
+ 00030785  0x000064a0 isub  0x00000002 , 0x0000003f 
+ 00030786  0x000064a1 nrtn  0x00000002 
+ 00030787  0x000064a2 nrtn  0x00000034 
+ 00030788  0x000064a3 increase  0xfffffffc , 0x00000011 
+ 00030789  0x000064a4 increase  0xfffffffc , 0x00000012 
+ 00030790  0x000064a5 loop  0x0000783e 
+ 00030791  0x000064a6 rtn 
+ 00030792  0x000064a9 force  0x00000006 , 0x00000039 
+ 00030793  0x000064aa force  0x00000000 , 0x00000013 
+ 00030794  0x000064ac ifetch  0x00000004 , 0x00000011 
+ 00030795  0x000064ad iforce  0x00000002 
+ 00030796  0x000064ae ifetch  0x00000004 , 0x00000012 
+ 00030797  0x000064af iadd  0x00000002 , 0x0000003f 
+ 00030798  0x000064b0 iadd  0x00000013 , 0x0000003f 
+ 00030799  0x000064b1 istore  0x00000004 , 0x00000005 
+ 00030800  0x000064b2 isolate1  0x00000020 , 0x0000003f 
+ 00030801  0x000064b3 setflag  0x00000001 , 0x00000000 , 0x00000013 
+ 00030802  0x000064b4 increase  0x00000004 , 0x00000011 
+ 00030803  0x000064b5 increase  0x00000004 , 0x00000012 
+ 00030804  0x000064b6 loop  0x0000784a 
+ 00030805  0x000064b7 rtn 
+ 00030806  0x000064ba force  0x00000006 , 0x00000039 
+ 00030807  0x000064bb force  0x00000000 , 0x00000013 
+ 00030808  0x000064bd ifetch  0x00000004 , 0x00000012 
+ 00030809  0x000064be iforce  0x00000002 
+ 00030810  0x000064bf ifetch  0x00000004 , 0x00000011 
+ 00030811  0x000064c0 isub  0x00000002 , 0x0000003f 
+ 00030812  0x000064c1 isub  0x00000013 , 0x0000003f 
+ 00030813  0x000064c2 istore  0x00000004 , 0x00000005 
+ 00030814  0x000064c3 isolate1  0x00000020 , 0x0000003f 
+ 00030815  0x000064c4 setflag  0x00000001 , 0x00000000 , 0x00000013 
+ 00030816  0x000064c5 increase  0x00000004 , 0x00000011 
+ 00030817  0x000064c6 increase  0x00000004 , 0x00000012 
+ 00030818  0x000064c7 loop  0x00007858 
+ 00030819  0x000064c8 rtn 
+ 00030820  0x000064cb force  0x00000006 , 0x00000039 
+ 00030821  0x000064cc increase  0x00000014 , 0x00000011 
+ 00030822  0x000064ce force  0x00000000 , 0x00000013 
+ 00030823  0x000064d0 ifetch  0x00000004 , 0x00000011 
+ 00030824  0x000064d1 isolate1  0x00000000 , 0x0000003f 
+ 00030825  0x000064d2 setflag  0x00000001 , 0x00000001 , 0x00000013 
+ 00030826  0x000064d3 rshift  0x0000003f , 0x0000003f 
+ 00030827  0x000064d4 isolate1  0x00000000 , 0x00000013 
+ 00030828  0x000064d5 setflag  0x00000001 , 0x0000001f , 0x0000003f 
+ 00030829  0x000064d6 istore  0x00000004 , 0x00000011 
+ 00030830  0x000064d7 increase  0xfffffffc , 0x00000011 
+ 00030831  0x000064d8 rshift  0x00000013 , 0x00000013 
+ 00030832  0x000064d9 loop  0x00007867 
+ 00030833  0x000064da rtn 
+ 00030834  0x000064dd force  0x00000006 , 0x00000039 
+ 00030835  0x000064de force  0x00000000 , 0x00000013 
+ 00030836  0x000064e0 ifetch  0x00000004 , 0x00000011 
+ 00030837  0x000064e1 isolate1  0x0000001f , 0x0000003f 
+ 00030838  0x000064e2 setflag  0x00000001 , 0x00000001 , 0x00000013 
+ 00030839  0x000064e3 lshift  0x0000003f , 0x0000003f 
+ 00030840  0x000064e4 isolate1  0x00000000 , 0x00000013 
+ 00030841  0x000064e5 setflag  0x00000001 , 0x00000000 , 0x0000003f 
+ 00030842  0x000064e6 istore  0x00000004 , 0x00000011 
+ 00030843  0x000064e7 increase  0x00000004 , 0x00000011 
+ 00030844  0x000064e8 rshift  0x00000013 , 0x00000013 
+ 00030845  0x000064e9 loop  0x00007874 
+ 00030846  0x000064ea rtn 
+ 00030847  0x000064ed call  0x00007872 
+ 00030848  0x000064ef isolate1  0x00000000 , 0x00000013 
+ 00030849  0x000064f0 branch  0x00007888 , 0x00000001 
+ 00030850  0x000064f1 arg  0x00000742 , 0x00000012 
+ 00030851  0x000064f2 copy  0x00000011 , 0x00000013 
+ 00030852  0x000064f3 increase  0xffffffe8 , 0x00000011 
+ 00030853  0x000064f4 call  0x0000783b 
+ 00030854  0x000064f5 nrtn  0x00000002 
+ 00030855  0x000064f6 copy  0x00000013 , 0x00000011 
+ 00030856  0x000064f8 increase  0xffffffe8 , 0x00000011 
+ 00030857  0x000064f9 arg  0x00000742 , 0x00000012 
+ 00030858  0x000064fa copy  0x00000011 , 0x00000005 
+ 00030859  0x000064fb branch  0x00007856 
+ 00030860  0x000064ff call  0x00007848 
+ 00030861  0x00006500 copy  0x00000005 , 0x00000011 
+ 00030862  0x00006501 branch  0x00007880 
+ 00030863  0x00006504 call  0x00007856 
+ 00030864  0x00006505 isolate0  0x00000000 , 0x00000013 
+ 00030865  0x00006506 rtn  0x00000001 
+ 00030866  0x00006507 arg  0x00000742 , 0x00000012 
+ 00030867  0x00006508 add  0x00000005 , 0xffffffe8 , 0x00000011 
+ 00030868  0x00006509 copy  0x00000011 , 0x00000005 
+ 00030869  0x0000650a branch  0x00007848 
+ 00030870  0x0000650e copy  0x00000005 , 0x0000000b 
+ 00030871  0x0000650f copy  0x00000011 , 0x00000030 
+ 00030872  0x00006510 arg  0x000006b2 , 0x00000012 
+ 00030873  0x00006511 copy  0x00000012 , 0x00000005 
+ 00030874  0x00006512 add  0x00000011 , 0x00000018 , 0x00000006 
+ 00030875  0x00006513 ifetch  0x00000008 , 0x00000006 
+ 00030876  0x00006514 istore  0x00000008 , 0x00000005 
+ 00030877  0x00006515 istore  0x00000008 , 0x00000005 
+ 00030878  0x00006516 force  0x00000000 , 0x0000003f 
+ 00030879  0x00006517 istore  0x00000008 , 0x00000005 
+ 00030880  0x00006518 copy  0x0000000b , 0x00000005 
+ 00030881  0x00006519 call  0x0000788c 
+ 00030882  0x0000651a arg  0x000006b2 , 0x00000012 
+ 00030883  0x0000651b copy  0x00000012 , 0x00000005 
+ 00030884  0x0000651c force  0x00000000 , 0x0000003f 
+ 00030885  0x0000651d istore  0x00000008 , 0x00000005 
+ 00030886  0x0000651e add  0x00000030 , 0x00000020 , 0x00000006 
+ 00030887  0x0000651f ifetch  0x00000008 , 0x00000006 
+ 00030888  0x00006520 istore  0x00000008 , 0x00000005 
+ 00030889  0x00006521 istore  0x00000008 , 0x00000005 
+ 00030890  0x00006522 copy  0x0000000b , 0x00000011 
+ 00030891  0x00006523 copy  0x00000011 , 0x00000005 
+ 00030892  0x00006524 call  0x0000788c 
+ 00030893  0x00006525 arg  0x000006b2 , 0x00000012 
+ 00030894  0x00006526 copy  0x00000012 , 0x00000005 
+ 00030895  0x00006527 add  0x00000030 , 0x00000028 , 0x00000006 
+ 00030896  0x00006528 ifetch  0x00000008 , 0x00000006 
+ 00030897  0x00006529 istore  0x00000008 , 0x00000005 
+ 00030898  0x0000652a istore  0x00000008 , 0x00000005 
+ 00030899  0x0000652b istore  0x00000008 , 0x00000005 
+ 00030900  0x0000652c copy  0x0000000b , 0x00000011 
+ 00030901  0x0000652d copy  0x00000011 , 0x00000005 
+ 00030902  0x0000652e branch  0x0000788c 
+ 00030903  0x00006532 force  0x00000006 , 0x00000039 
+ 00030904  0x00006534 ifetch  0x00000004 , 0x00000006 
+ 00030905  0x00006535 iforce  0x0000002f 
+ 00030906  0x00006536 increase  0x00000001 , 0x00000038 
+ 00030907  0x00006537 loop  0x000078b8 
+ 00030908  0x00006538 rtn 
+ 00030909  0x0000653d copy  0x00000005 , 0x0000000b 
+ 00030910  0x0000653e arg  0x00000682 , 0x00000005 
+ 00030911  0x0000653f call  0x00007e3a 
+ 00030912  0x00006540 arg  0x00000682 , 0x00000005 
+ 00030913  0x00006541 copy  0x00000011 , 0x00000006 
+ 00030914  0x00006542 force  0x00000000 , 0x00000038 
+ 00030915  0x00006543 call  0x000078b7 
+ 00030916  0x00006544 copy  0x00000012 , 0x00000006 
+ 00030917  0x00006545 call  0x000078b7 
+ 00030918  0x00006546 force  0x00000000 , 0x00000012 
+ 00030919  0x00006548 force  0x00000000 , 0x00000002 
+ 00030920  0x00006549 force  0x00000006 , 0x00000013 
+ 00030921  0x0000654b ifetch  0x00000004 , 0x00000005 
+ 00030922  0x0000654c iforce  0x00000011 
+ 00030923  0x0000654d copy  0x00000012 , 0x00000038 
+ 00030924  0x0000654e deposit  0x0000002f 
+ 00030925  0x0000654f copy  0x00000013 , 0x00000038 
+ 00030926  0x00006550 imul32  0x0000002f , 0x0000003f 
+ 00030927  0x00006551 iadd  0x00000011 , 0x0000003f 
+ 00030928  0x00006552 iadd  0x00000002 , 0x0000003f 
+ 00030929  0x00006553 istore  0x00000004 , 0x00000005 
+ 00030930  0x00006554 rshift32  0x0000003f , 0x00000002 
+ 00030931  0x00006555 increase  0x00000001 , 0x00000013 
+ 00030932  0x00006556 compare  0x0000000c , 0x00000013 , 0x000000ff 
+ 00030933  0x00006557 nbranch  0x000078c9 , 0x00000001 
+ 00030934  0x00006558 deposit  0x00000002 
+ 00030935  0x00006559 istore  0x00000004 , 0x00000005 
+ 00030936  0x0000655a increase  0xffffffe8 , 0x00000005 
+ 00030937  0x0000655b increase  0x00000001 , 0x00000012 
+ 00030938  0x0000655c compare  0x00000006 , 0x00000012 , 0x000000ff 
+ 00030939  0x0000655d nbranch  0x000078c7 , 0x00000001 
+ 00030940  0x0000655e arg  0x00000682 , 0x00000011 
+ 00030941  0x0000655f copy  0x0000000b , 0x00000005 
+ 00030942  0x00006560 branch  0x00007896 
+ 00030943  0x00006564 copy  0x00000011 , 0x00000012 
+ 00030944  0x00006565 branch  0x000078bd 
+ 00030945  0x00006568 copy  0x00000011 , 0x00000030 
+ 00030946  0x0000656a copy  0x00000030 , 0x00000011 
+ 00030947  0x0000656b ifetch  0x00000001 , 0x00000011 
+ 00030948  0x0000656c isolate1  0x00000000 , 0x0000003f 
+ 00030949  0x0000656d rtn  0x00000001 
+ 00030950  0x0000656e call  0x00007864 
+ 00030951  0x0000656f ifetch  0x00000001 , 0x00000012 
+ 00030952  0x00006570 isolate0  0x00000000 , 0x0000003f 
+ 00030953  0x00006571 branch  0x000078f1 , 0x00000001 
+ 00030954  0x00006572 arg  0x00000742 , 0x00000011 
+ 00030955  0x00006573 copy  0x00000012 , 0x00000005 
+ 00030956  0x00006574 call  0x00007848 
+ 00030957  0x00006575 ifetch  0x00000001 , 0x00000012 
+ 00030958  0x00006576 iadd  0x00000013 , 0x0000003f 
+ 00030959  0x00006577 istore  0x00000001 , 0x00000012 
+ 00030960  0x00006578 increase  0xffffffe8 , 0x00000012 
+ 00030961  0x0000657a add  0x00000012 , 0x00000018 , 0x00000011 
+ 00030962  0x0000657b force  0x00000007 , 0x00000039 
+ 00030963  0x0000657c call  0x00007866 
+ 00030964  0x0000657d branch  0x000078e2 
+ 00030965  0x00006581 copy  0x00000005 , 0x0000000b 
+ 00030966  0x00006582 arg  0x000006e2 , 0x00000005 
+ 00030967  0x00006583 call  0x00007e3a 
+ 00030968  0x00006584 force  0x00000000 , 0x0000003f 
+ 00030969  0x00006585 store  0x00000004 , 0x0000069a 
+ 00030970  0x00006586 store  0x00000004 , 0x000006fa 
+ 00030971  0x00006587 jam  0x00000001 , 0x000006e2 
+ 00030972  0x00006588 arg  0x00000682 , 0x00000005 
+ 00030973  0x00006589 call  0x00007e3a 
+ 00030974  0x0000658a arg  0x00000742 , 0x00000006 
+ 00030975  0x0000658b arg  0x000006b2 , 0x00000005 
+ 00030976  0x0000658c call  0x00007e33 
+ 00030977  0x0000658d copy  0x00000011 , 0x00000006 
+ 00030978  0x0000658e arg  0x000006ca , 0x00000005 
+ 00030979  0x0000658f call  0x00007e33 
+ 00030980  0x00006591 arg  0x000006ca , 0x00000006 
+ 00030981  0x00006592 call  0x0000782b 
+ 00030982  0x00006593 branch  0x0000792d , 0x00000034 
+ 00030983  0x00006594 arg  0x000006ca , 0x00000011 
+ 00030984  0x00006595 arg  0x000006e2 , 0x00000012 
+ 00030985  0x00006596 call  0x000078e1 
+ 00030986  0x00006598 arg  0x000006b2 , 0x00000011 
+ 00030987  0x00006599 arg  0x00000682 , 0x00000012 
+ 00030988  0x0000659a call  0x000078e1 
+ 00030989  0x0000659b arg  0x000006ca , 0x00000011 
+ 00030990  0x0000659c arg  0x000006b2 , 0x00000012 
+ 00030991  0x0000659d call  0x0000783b 
+ 00030992  0x0000659e branch  0x0000791f , 0x00000002 
+ 00030993  0x0000659f arg  0x000006b2 , 0x00000011 
+ 00030994  0x000065a0 arg  0x000006ca , 0x00000012 
+ 00030995  0x000065a1 copy  0x00000011 , 0x00000005 
+ 00030996  0x000065a2 call  0x00007856 
+ 00030997  0x000065a3 arg  0x000006e2 , 0x00000011 
+ 00030998  0x000065a4 arg  0x00000682 , 0x00000012 
+ 00030999  0x000065a5 copy  0x00000012 , 0x00000005 
+ 00031000  0x000065a6 call  0x00007848 
+ 00031001  0x000065a7 ifetch  0x00000001 , 0x00000011 
+ 00031002  0x000065a8 iadd  0x00000013 , 0x00000013 
+ 00031003  0x000065a9 ifetch  0x00000001 , 0x00000012 
+ 00031004  0x000065aa iadd  0x00000013 , 0x0000003f 
+ 00031005  0x000065ab istore  0x00000001 , 0x00000012 
+ 00031006  0x000065ac branch  0x00007904 
+ 00031007  0x000065ae arg  0x000006ca , 0x00000011 
+ 00031008  0x000065af arg  0x000006b2 , 0x00000012 
+ 00031009  0x000065b0 copy  0x00000011 , 0x00000005 
+ 00031010  0x000065b1 call  0x00007856 
+ 00031011  0x000065b2 arg  0x00000682 , 0x00000011 
+ 00031012  0x000065b3 arg  0x000006e2 , 0x00000012 
+ 00031013  0x000065b4 copy  0x00000012 , 0x00000005 
+ 00031014  0x000065b5 call  0x00007848 
+ 00031015  0x000065b6 ifetch  0x00000001 , 0x00000011 
+ 00031016  0x000065b7 iadd  0x00000013 , 0x00000013 
+ 00031017  0x000065b8 ifetch  0x00000001 , 0x00000012 
+ 00031018  0x000065b9 iadd  0x00000013 , 0x0000003f 
+ 00031019  0x000065ba istore  0x00000001 , 0x00000012 
+ 00031020  0x000065bb branch  0x00007904 
+ 00031021  0x000065bd arg  0x000006e2 , 0x00000005 
+ 00031022  0x000065be call  0x00007e3a 
+ 00031023  0x000065bf fetch  0x00000001 , 0x0000069a 
+ 00031024  0x000065c0 store  0x00000001 , 0x000006e2 
+ 00031025  0x000065c1 store  0x00000001 , 0x000006ea 
+ 00031026  0x000065c2 arg  0x000006e2 , 0x00000011 
+ 00031027  0x000065c3 arg  0x00000682 , 0x00000012 
+ 00031028  0x000065c4 copy  0x00000012 , 0x00000005 
+ 00031029  0x000065c5 call  0x0000788c 
+ 00031030  0x000065c6 arg  0x00000742 , 0x00000011 
+ 00031031  0x000065c7 arg  0x00000682 , 0x00000012 
+ 00031032  0x000065c8 copy  0x0000000b , 0x00000005 
+ 00031033  0x000065c9 branch  0x0000788f 
+ 00031034  0x000065cf arg  0x00000642 , 0x00000011 
+ 00031035  0x000065d0 arg  0x000006fa , 0x00000005 
+ 00031036  0x000065d1 call  0x000078df 
+ 00031037  0x000065d2 arg  0x000006fa , 0x00000011 
+ 00031038  0x000065d3 arg  0x00000712 , 0x00000005 
+ 00031039  0x000065d4 call  0x000078df 
+ 00031040  0x000065d5 arg  0x0000075a , 0x00000011 
+ 00031041  0x000065d6 arg  0x00000712 , 0x00000012 
+ 00031042  0x000065d7 arg  0x00000712 , 0x00000005 
+ 00031043  0x000065d8 call  0x000078bd 
+ 00031044  0x000065d9 arg  0x00000612 , 0x00000011 
+ 00031045  0x000065da arg  0x000006fa , 0x00000005 
+ 00031046  0x000065db call  0x000078df 
+ 00031047  0x000065dc arg  0x000006fa , 0x00000006 
+ 00031048  0x000065dd arg  0x000006ca , 0x00000005 
+ 00031049  0x000065de call  0x00007e33 
+ 00031050  0x000065df arg  0x000006ca , 0x00000011 
+ 00031051  0x000065e0 call  0x0000787f 
+ 00031052  0x000065e1 arg  0x000006fa , 0x00000011 
+ 00031053  0x000065e2 arg  0x000006ca , 0x00000012 
+ 00031054  0x000065e3 arg  0x000006fa , 0x00000005 
+ 00031055  0x000065e4 call  0x0000788c 
+ 00031056  0x000065e5 arg  0x000006fa , 0x00000011 
+ 00031057  0x000065e6 arg  0x00000712 , 0x00000012 
+ 00031058  0x000065e7 arg  0x000006fa , 0x00000005 
+ 00031059  0x000065e8 call  0x0000788c 
+ 00031060  0x000065e9 arg  0x00000612 , 0x00000006 
+ 00031061  0x000065ea arg  0x000006ca , 0x00000005 
+ 00031062  0x000065eb call  0x00007e33 
+ 00031063  0x000065ec arg  0x0000062a , 0x00000011 
+ 00031064  0x000065ed arg  0x00000712 , 0x00000005 
+ 00031065  0x000065ee call  0x000078df 
+ 00031066  0x000065ef arg  0x000006ca , 0x00000011 
+ 00031067  0x000065f0 call  0x0000787f 
+ 00031068  0x000065f1 arg  0x000006ca , 0x00000011 
+ 00031069  0x000065f2 call  0x0000787f 
+ 00031070  0x000065f3 arg  0x000006ca , 0x00000011 
+ 00031071  0x000065f4 arg  0x00000712 , 0x00000012 
+ 00031072  0x000065f5 arg  0x000006ca , 0x00000005 
+ 00031073  0x000065f6 call  0x000078bd 
+ 00031074  0x000065f7 arg  0x00000712 , 0x00000011 
+ 00031075  0x000065f8 arg  0x000006e2 , 0x00000005 
+ 00031076  0x000065f9 call  0x000078df 
+ 00031077  0x000065fa arg  0x000006e2 , 0x00000011 
+ 00031078  0x000065fb call  0x0000787f 
+ 00031079  0x000065fc arg  0x000006e2 , 0x00000011 
+ 00031080  0x000065fd call  0x0000787f 
+ 00031081  0x000065fe arg  0x000006e2 , 0x00000011 
+ 00031082  0x000065ff call  0x0000787f 
+ 00031083  0x00006600 arg  0x0000062a , 0x00000006 
+ 00031084  0x00006601 arg  0x00000712 , 0x00000005 
+ 00031085  0x00006602 call  0x00007e33 
+ 00031086  0x00006603 arg  0x00000712 , 0x00000011 
+ 00031087  0x00006604 call  0x0000787f 
+ 00031088  0x00006605 arg  0x00000712 , 0x00000011 
+ 00031089  0x00006606 arg  0x00000642 , 0x00000012 
+ 00031090  0x00006607 arg  0x00000642 , 0x00000005 
+ 00031091  0x00006608 call  0x000078bd 
+ 00031092  0x00006609 arg  0x000006fa , 0x00000011 
+ 00031093  0x0000660a arg  0x00000712 , 0x00000005 
+ 00031094  0x0000660b call  0x000078df 
+ 00031095  0x0000660c arg  0x00000712 , 0x00000011 
+ 00031096  0x0000660d arg  0x000006ca , 0x00000012 
+ 00031097  0x0000660e arg  0x00000712 , 0x00000005 
+ 00031098  0x0000660f call  0x0000788f 
+ 00031099  0x00006610 arg  0x00000712 , 0x00000011 
+ 00031100  0x00006611 arg  0x000006ca , 0x00000012 
+ 00031101  0x00006612 arg  0x00000612 , 0x00000005 
+ 00031102  0x00006613 call  0x0000788f 
+ 00031103  0x00006614 arg  0x000006ca , 0x00000011 
+ 00031104  0x00006615 arg  0x00000612 , 0x00000012 
+ 00031105  0x00006616 arg  0x00000712 , 0x00000005 
+ 00031106  0x00006617 call  0x0000788f 
+ 00031107  0x00006618 arg  0x00000712 , 0x00000011 
+ 00031108  0x00006619 arg  0x000006fa , 0x00000012 
+ 00031109  0x0000661a arg  0x00000712 , 0x00000005 
+ 00031110  0x0000661b call  0x000078bd 
+ 00031111  0x0000661c arg  0x00000712 , 0x00000011 
+ 00031112  0x0000661d arg  0x000006e2 , 0x00000012 
+ 00031113  0x0000661e arg  0x0000062a , 0x00000005 
+ 00031114  0x0000661f branch  0x0000788f 
+ 00031115  0x00006624 arg  0x000005b2 , 0x00000011 
+ 00031116  0x00006625 arg  0x0000072a , 0x00000005 
+ 00031117  0x00006626 call  0x000078df 
+ 00031118  0x00006627 arg  0x00000612 , 0x00000011 
+ 00031119  0x00006628 arg  0x0000072a , 0x00000012 
+ 00031120  0x00006629 arg  0x000006e2 , 0x00000005 
+ 00031121  0x0000662a call  0x000078bd 
+ 00031122  0x0000662b arg  0x000005b2 , 0x00000011 
+ 00031123  0x0000662c arg  0x0000072a , 0x00000012 
+ 00031124  0x0000662d arg  0x0000072a , 0x00000005 
+ 00031125  0x0000662e call  0x000078bd 
+ 00031126  0x0000662f arg  0x0000062a , 0x00000011 
+ 00031127  0x00006630 arg  0x0000072a , 0x00000012 
+ 00031128  0x00006631 arg  0x000006ca , 0x00000005 
+ 00031129  0x00006632 call  0x000078bd 
+ 00031130  0x00006633 arg  0x00000642 , 0x00000011 
+ 00031131  0x00006634 arg  0x0000072a , 0x00000005 
+ 00031132  0x00006635 call  0x000078df 
+ 00031133  0x00006636 arg  0x00000582 , 0x00000011 
+ 00031134  0x00006637 arg  0x0000072a , 0x00000012 
+ 00031135  0x00006638 arg  0x000006fa , 0x00000005 
+ 00031136  0x00006639 call  0x000078bd 
+ 00031137  0x0000663a arg  0x00000642 , 0x00000011 
+ 00031138  0x0000663b arg  0x0000072a , 0x00000012 
+ 00031139  0x0000663c arg  0x0000072a , 0x00000005 
+ 00031140  0x0000663d call  0x000078bd 
+ 00031141  0x0000663e arg  0x0000059a , 0x00000011 
+ 00031142  0x0000663f arg  0x0000072a , 0x00000012 
+ 00031143  0x00006640 arg  0x00000712 , 0x00000005 
+ 00031144  0x00006641 call  0x000078bd 
+ 00031145  0x00006642 arg  0x000006e2 , 0x00000011 
+ 00031146  0x00006643 arg  0x000006fa , 0x00000012 
+ 00031147  0x00006644 arg  0x0000072a , 0x00000005 
+ 00031148  0x00006645 call  0x0000788f 
+ 00031149  0x00006646 arg  0x000006e2 , 0x00000011 
+ 00031150  0x00006647 arg  0x000006fa , 0x00000012 
+ 00031151  0x00006648 arg  0x000006e2 , 0x00000005 
+ 00031152  0x00006649 call  0x0000788c 
+ 00031153  0x0000664a arg  0x000006ca , 0x00000011 
+ 00031154  0x0000664b arg  0x00000712 , 0x00000012 
+ 00031155  0x0000664c arg  0x000006fa , 0x00000005 
+ 00031156  0x0000664d call  0x0000788f 
+ 00031157  0x0000664e arg  0x000006ca , 0x00000011 
+ 00031158  0x0000664f arg  0x00000712 , 0x00000012 
+ 00031159  0x00006650 arg  0x000006ca , 0x00000005 
+ 00031160  0x00006651 call  0x0000788c 
+ 00031161  0x00006652 arg  0x000006ca , 0x00000011 
+ 00031162  0x00006653 arg  0x0000072a , 0x00000012 
+ 00031163  0x00006654 arg  0x000006ca , 0x00000005 
+ 00031164  0x00006655 call  0x000078bd 
+ 00031165  0x00006656 arg  0x00000642 , 0x00000011 
+ 00031166  0x00006657 arg  0x000005b2 , 0x00000012 
+ 00031167  0x00006658 arg  0x00000712 , 0x00000005 
+ 00031168  0x00006659 call  0x000078bd 
+ 00031169  0x0000665a arg  0x00000712 , 0x00000011 
+ 00031170  0x0000665b arg  0x0000072a , 0x00000012 
+ 00031171  0x0000665c arg  0x00000642 , 0x00000005 
+ 00031172  0x0000665d call  0x000078bd 
+ 00031173  0x0000665e arg  0x0000072a , 0x00000011 
+ 00031174  0x0000665f arg  0x0000072a , 0x00000005 
+ 00031175  0x00006660 call  0x000078df 
+ 00031176  0x00006661 arg  0x0000072a , 0x00000011 
+ 00031177  0x00006662 arg  0x000006e2 , 0x00000012 
+ 00031178  0x00006663 arg  0x00000712 , 0x00000005 
+ 00031179  0x00006664 call  0x000078bd 
+ 00031180  0x00006665 arg  0x0000072a , 0x00000011 
+ 00031181  0x00006666 arg  0x000006ca , 0x00000012 
+ 00031182  0x00006667 arg  0x000006ca , 0x00000005 
+ 00031183  0x00006668 call  0x000078bd 
+ 00031184  0x00006669 arg  0x000006fa , 0x00000011 
+ 00031185  0x0000666a arg  0x00000612 , 0x00000005 
+ 00031186  0x0000666b call  0x000078df 
+ 00031187  0x0000666c arg  0x00000612 , 0x00000011 
+ 00031188  0x0000666d arg  0x00000712 , 0x00000012 
+ 00031189  0x0000666e arg  0x00000612 , 0x00000005 
+ 00031190  0x0000666f call  0x0000788f 
+ 00031191  0x00006670 arg  0x00000612 , 0x00000006 
+ 00031192  0x00006671 arg  0x0000072a , 0x00000005 
+ 00031193  0x00006672 call  0x00007e33 
+ 00031194  0x00006673 arg  0x0000072a , 0x00000011 
+ 00031195  0x00006674 call  0x0000787f 
+ 00031196  0x00006675 arg  0x00000712 , 0x00000011 
+ 00031197  0x00006676 arg  0x0000072a , 0x00000012 
+ 00031198  0x00006677 arg  0x00000712 , 0x00000005 
+ 00031199  0x00006678 call  0x0000788f 
+ 00031200  0x00006679 arg  0x00000712 , 0x00000011 
+ 00031201  0x0000667a arg  0x000006fa , 0x00000012 
+ 00031202  0x0000667b arg  0x000006fa , 0x00000005 
+ 00031203  0x0000667c call  0x000078bd 
+ 00031204  0x0000667d arg  0x000006fa , 0x00000011 
+ 00031205  0x0000667e arg  0x000006ca , 0x00000012 
+ 00031206  0x0000667f arg  0x0000062a , 0x00000005 
+ 00031207  0x00006680 call  0x0000788f 
+ 00031208  0x00006681 arg  0x0000062a , 0x00000011 
+ 00031209  0x00006682 arg  0x00000742 , 0x00000012 
+ 00031210  0x00006683 arg  0x0000062a , 0x00000005 
+ 00031211  0x00006684 force  0x00000000 , 0x00000013 
+ 00031212  0x00006685 fetch  0x00000001 , 0x0000062a 
+ 00031213  0x00006686 isolate1  0x00000000 , 0x0000003f 
+ 00031214  0x00006687 call  0x00007848 , 0x00000001 
+ 00031215  0x00006688 copy  0x00000013 , 0x00000030 
+ 00031216  0x00006689 arg  0x0000062a , 0x00000011 
+ 00031217  0x0000668a call  0x00007864 
+ 00031218  0x0000668b fetch  0x00000001 , 0x00000641 
+ 00031219  0x0000668c isolate1  0x00000000 , 0x00000030 
+ 00031220  0x0000668d setflag  0x00000001 , 0x00000007 , 0x0000003f 
+ 00031221  0x0000668e store  0x00000001 , 0x00000641 
+ 00031222  0x0000668f rtn 
+ 00031223  0x00006693 jam  0x000000c0 , 0x00000581 
+ 00031224  0x00006694 jam  0x00000001 , 0x00000580 
+ 00031225  0x00006696 fetch  0x00000001 , 0x00000581 
+ 00031226  0x00006697 increase  0xffffffff , 0x0000003f 
+ 00031227  0x00006698 nrtn  0x00000002 
+ 00031228  0x00006699 store  0x00000001 , 0x00000581 
+ 00031229  0x0000669a fetch  0x00000001 , 0x00000580 
+ 00031230  0x0000669b call  0x0000793a , 0x00000034 
+ 00031231  0x0000669c fetch  0x00000001 , 0x00000581 
+ 00031232  0x0000669d arg  0x0000065a , 0x00000006 
+ 00031233  0x0000669e call  0x00007822 
+ 00031234  0x0000669f branch  0x000079f9 , 0x00000001 
+ 00031235  0x000066a0 fetch  0x00000001 , 0x00000580 
+ 00031236  0x000066a1 nbranch  0x00007a07 , 0x00000034 
+ 00031237  0x000066a2 call  0x0000798b 
+ 00031238  0x000066a3 branch  0x000079f9 
+ 00031239  0x000066a5 jam  0x00000000 , 0x00000580 
+ 00031240  0x000066a6 arg  0x00000582 , 0x00000006 
+ 00031241  0x000066a7 arg  0x00000612 , 0x00000005 
+ 00031242  0x000066a8 call  0x00007828 
+ 00031243  0x000066a9 branch  0x000079f9 
+ 00031244  0x000066ad arg  0x00000642 , 0x00000011 
+ 00031245  0x000066ae arg  0x00000712 , 0x00000005 
+ 00031246  0x000066af call  0x000078f5 
+ 00031247  0x000066b0 arg  0x00000712 , 0x00000011 
+ 00031248  0x000066b1 arg  0x000006ca , 0x00000005 
+ 00031249  0x000066b2 call  0x000078df 
+ 00031250  0x000066b3 arg  0x00000612 , 0x00000011 
+ 00031251  0x000066b4 arg  0x000006ca , 0x00000012 
+ 00031252  0x000066b5 arg  0x000005ca , 0x00000005 
+ 00031253  0x000066b6 call  0x000078bd 
+ 00031254  0x000066b7 arg  0x00000712 , 0x00000011 
+ 00031255  0x000066b8 arg  0x000006ca , 0x00000012 
+ 00031256  0x000066b9 arg  0x000006fa , 0x00000005 
+ 00031257  0x000066ba call  0x000078bd 
+ 00031258  0x000066bb arg  0x0000062a , 0x00000011 
+ 00031259  0x000066bc arg  0x000006fa , 0x00000012 
+ 00031260  0x000066bd arg  0x000005e2 , 0x00000005 
+ 00031261  0x000066be branch  0x000078bd 
+ 00031262  0x000066c2 force  0x00000010 , 0x00000039 
+ 00031263  0x000066c4 ifetch  0x00000004 , 0x00000006 
+ 00031264  0x000066c5 force  0x00000004 , 0x00000011 
+ 00031265  0x000066c6 increase  0x00000003 , 0x00000005 
+ 00031266  0x000066c8 istore  0x00000001 , 0x00000005 
+ 00031267  0x000066c9 rshift8  0x0000003f , 0x0000003f 
+ 00031268  0x000066ca increase  0xfffffffe , 0x00000005 
+ 00031269  0x000066cb increase  0xffffffff , 0x00000011 
+ 00031270  0x000066cc nbranch  0x00007a22 , 0x00000005 
+ 00031271  0x000066cd increase  0x00000005 , 0x00000005 
+ 00031272  0x000066ce loop  0x00007a1f 
+ 00031273  0x000066cf rtn 
+ 00031274  0x000066d3 lshift2  0x00000007 , 0x0000003f 
+ 00031275  0x000066d4 iadd  0x0000000b , 0x00000006 
+ 00031276  0x000066d5 ifetch  0x00000004 , 0x00000006 
+ 00031277  0x000066d6 rtn 
+ 00031278  0x000066d9 force  0x00000010 , 0x00000030 
+ 00031279  0x000066da arg  0x00000582 , 0x0000000b 
+ 00031280  0x000066dc add  0x00000030 , 0xfffffff9 , 0x00000007 
+ 00031281  0x000066dd call  0x00007a2a 
+ 00031282  0x000066de iforce  0x00000002 
+ 00031283  0x000066df add  0x00000030 , 0xfffffff0 , 0x00000007 
+ 00031284  0x000066e0 call  0x00007a2a 
+ 00031285  0x000066e1 iadd  0x00000002 , 0x00000002 
+ 00031286  0x000066e2 add  0x00000030 , 0xfffffffe , 0x00000007 
+ 00031287  0x000066e3 call  0x00007a2a 
+ 00031288  0x000066e4 shasx  0x0000003f , 0x00000001 , 0x0000003f 
+ 00031289  0x000066e5 iadd  0x00000002 , 0x00000002 
+ 00031290  0x000066e6 add  0x00000030 , 0xfffffff1 , 0x00000007 
+ 00031291  0x000066e7 call  0x00007a2a 
+ 00031292  0x000066e8 shasx  0x0000003f , 0x00000000 , 0x0000003f 
+ 00031293  0x000066e9 iadd  0x00000002 , 0x00000002 
+ 00031294  0x000066ea lshift2  0x00000030 , 0x0000003f 
+ 00031295  0x000066eb iadd  0x0000000b , 0x00000005 
+ 00031296  0x000066ec istoret  0x00000004 , 0x00000005 
+ 00031297  0x000066ed increase  0x00000001 , 0x00000030 
+ 00031298  0x000066ee compare  0x00000040 , 0x00000030 , 0x000000ff 
+ 00031299  0x000066ef nbranch  0x00007a30 , 0x00000001 
+ 00031300  0x000066f0 rtn 
+ 00031301  0x000066f4 arg  0x000007ba , 0x00000006 
+ 00031302  0x000066f5 force  0x00000007 , 0x00000038 
+ 00031303  0x000066f7 ifetch  0x00000004 , 0x00000006 
+ 00031304  0x000066f8 iforce  0x0000002f 
+ 00031305  0x000066f9 increase  0xffffffff , 0x00000038 
+ 00031306  0x000066fa branch  0x00007a47 , 0x00000002 
+ 00031307  0x000066fb rtn 
+ 00031308  0x000066fe set1  0x00000025 , 0x00000000 
+ 00031309  0x000066ff bpatch  0x000000f8 , 0x0000403f 
+ 00031310  0x00006700 call  0x00007a2e 
+ 00031311  0x00006701 arg  0x00000682 , 0x00000005 
+ 00031312  0x00006702 force  0x00000000 , 0x00000038 
+ 00031313  0x00006704 deposit  0x0000002f 
+ 00031314  0x00006705 istore  0x00000004 , 0x00000005 
+ 00031315  0x00006706 increase  0x00000001 , 0x00000038 
+ 00031316  0x00006707 compare  0x00000008 , 0x00000038 , 0x000000ff 
+ 00031317  0x00006708 nbranch  0x00007a51 , 0x00000001 
+ 00031318  0x00006709 call  0x000075c5 
+ 00031319  0x0000670a arg  0x00008700 , 0x0000000b 
+ 00031320  0x0000670b arg  0x00000582 , 0x00000030 
+ 00031321  0x0000670c force  0x00000040 , 0x00000039 
+ 00031322  0x0000670e ifetcht  0x00000004 , 0x00000030 
+ 00031323  0x0000670f ifetch  0x00000004 , 0x0000000b 
+ 00031324  0x00006710 increase  0x00000004 , 0x0000000b 
+ 00031325  0x00006711 increase  0x00000004 , 0x00000030 
+ 00031326  0x00006712 iadd  0x00000002 , 0x0000003f 
+ 00031327  0x00006713 force  0x00000007 , 0x00000038 
+ 00031328  0x00006714 iadd  0x0000002f , 0x00000002 
+ 00031329  0x00006715 force  0x00000004 , 0x00000038 
+ 00031330  0x00006716 shasx  0x0000002f , 0x00000003 , 0x0000003f 
+ 00031331  0x00006717 iadd  0x00000002 , 0x00000002 
+ 00031332  0x00006718 force  0x00000005 , 0x00000038 
+ 00031333  0x00006719 deposit  0x0000002f 
+ 00031334  0x0000671a force  0x00000006 , 0x00000038 
+ 00031335  0x0000671b ixor  0x0000002f , 0x0000003f 
+ 00031336  0x0000671c force  0x00000004 , 0x00000038 
+ 00031337  0x0000671d iand  0x0000002f , 0x0000003f 
+ 00031338  0x0000671e force  0x00000006 , 0x00000038 
+ 00031339  0x0000671f ixor  0x0000002f , 0x0000003f 
+ 00031340  0x00006720 iadd  0x00000002 , 0x00000002 
+ 00031341  0x00006721 force  0x00000007 , 0x00000038 
+ 00031342  0x00006722 copy  0x00000002 , 0x0000002f 
+ 00031343  0x00006723 force  0x00000003 , 0x00000038 
+ 00031344  0x00006724 deposit  0x0000002f 
+ 00031345  0x00006725 iadd  0x00000002 , 0x0000002f 
+ 00031346  0x00006726 force  0x00000000 , 0x00000038 
+ 00031347  0x00006727 deposit  0x0000002f 
+ 00031348  0x00006728 force  0x00000001 , 0x00000038 
+ 00031349  0x00006729 iand  0x0000002f , 0x00000002 
+ 00031350  0x0000672a ior  0x0000002f , 0x0000003f 
+ 00031351  0x0000672b force  0x00000002 , 0x00000038 
+ 00031352  0x0000672c iand  0x0000002f , 0x0000003f 
+ 00031353  0x0000672d ior  0x00000002 , 0x00000002 
+ 00031354  0x0000672e force  0x00000000 , 0x00000038 
+ 00031355  0x0000672f shasx  0x0000002f , 0x00000002 , 0x0000003f 
+ 00031356  0x00006730 iadd  0x00000002 , 0x0000003f 
+ 00031357  0x00006731 force  0x00000007 , 0x00000038 
+ 00031358  0x00006732 iadd  0x0000002f , 0x0000002f 
+ 00031359  0x00006733 regexrot 
+ 00031360  0x00006734 loop  0x00007a5a 
+ 00031361  0x00006735 arg  0x00000682 , 0x00000006 
+ 00031362  0x00006736 force  0x00000000 , 0x00000038 
+ 00031363  0x00006738 ifetch  0x00000004 , 0x00000006 
+ 00031364  0x00006739 iadd  0x0000002f , 0x0000002f 
+ 00031365  0x0000673a increase  0x00000001 , 0x00000038 
+ 00031366  0x0000673b compare  0x00000008 , 0x00000038 , 0x000000ff 
+ 00031367  0x0000673c nbranch  0x00007a83 , 0x00000001 
+ 00031368  0x0000673d branch  0x000075c9 
+ 00031369  0x00006741 arg  0x00000858 , 0x00000005 
+ 00031370  0x00006742 force  0x00000007 , 0x00000038 
+ 00031371  0x00006744 deposit  0x0000002f 
+ 00031372  0x00006745 istore  0x00000004 , 0x00000005 
+ 00031373  0x00006746 increase  0xffffffff , 0x00000038 
+ 00031374  0x00006747 branch  0x00007a8b , 0x00000002 
+ 00031375  0x00006748 rtn 
+ 00031376  0x0000674c arg  0x00000582 , 0x00000005 
+ 00031377  0x0000674d increase  0xfffffffc , 0x00000006 
+ 00031378  0x0000674e sub  0x00000039 , 0x00000010 , 0x00000011 
+ 00031379  0x00006750 ifetch  0x00000004 , 0x00000006 
+ 00031380  0x00006751 ixor  0x00000002 , 0x0000003f 
+ 00031381  0x00006752 istore  0x00000004 , 0x00000005 
+ 00031382  0x00006753 increase  0xfffffff8 , 0x00000006 
+ 00031383  0x00006754 loop  0x00007a93 
+ 00031384  0x00006755 copy  0x00000011 , 0x00000039 
+ 00031385  0x00006756 deposit  0x00000002 
+ 00031386  0x00006758 istore  0x00000004 , 0x00000005 
+ 00031387  0x00006759 loop  0x00007a9a 
+ 00031388  0x0000675a rtn 
+ 00031389  0x0000675d arg  0x00000808 , 0x00000006 
+ 00031390  0x0000675e arg  0x00000582 , 0x00000005 
+ 00031391  0x0000675f force  0x00000006 , 0x00000039 
+ 00031392  0x00006760 call  0x00007b97 
+ 00031393  0x00006761 arg  0x000047c4 , 0x00000006 
+ 00031394  0x00006762 force  0x00000006 , 0x00000039 
+ 00031395  0x00006763 call  0x00007b97 
+ 00031396  0x00006764 arg  0x00000858 , 0x00000006 
+ 00031397  0x00006765 call  0x00007b96 
+ 00031398  0x00006766 call  0x00007a45 
+ 00031399  0x00006767 call  0x00007a4c 
+ 00031400  0x00006768 arg  0x00000848 , 0x00000006 
+ 00031401  0x00006769 arg  0x00000582 , 0x00000005 
+ 00031402  0x0000676a branch  0x00007ab8 
+ 00031403  0x0000676d arg  0x000047c4 , 0x00000006 
+ 00031404  0x0000676e arg  0x00000582 , 0x00000005 
+ 00031405  0x0000676f force  0x00000006 , 0x00000039 
+ 00031406  0x00006770 call  0x00007b97 
+ 00031407  0x00006771 arg  0x00000808 , 0x00000006 
+ 00031408  0x00006772 force  0x00000006 , 0x00000039 
+ 00031409  0x00006773 call  0x00007b97 
+ 00031410  0x00006774 arg  0x00000848 , 0x00000006 
+ 00031411  0x00006775 call  0x00007b96 
+ 00031412  0x00006776 call  0x00007a45 
+ 00031413  0x00006777 call  0x00007a4c 
+ 00031414  0x00006778 arg  0x00000858 , 0x00000006 
+ 00031415  0x00006779 arg  0x00000582 , 0x00000005 
+ 00031416  0x0000677b call  0x00007b96 
+ 00031417  0x0000677c setarg  0x00800000 
+ 00031418  0x0000677d lshift8  0x0000003f , 0x0000003f 
+ 00031419  0x0000677e istore  0x00000004 , 0x00000005 
+ 00031420  0x0000677f force  0x00000005 , 0x00000039 
+ 00031421  0x00006780 call  0x00007e3b 
+ 00031422  0x00006781 setarg  0x00000280 
+ 00031423  0x00006782 istore  0x00000004 , 0x00000005 
+ 00031424  0x00006783 call  0x00007a4c 
+ 00031425  0x00006785 fetch  0x00000004 , 0x00000858 
+ 00031426  0x00006787 arg  0x000003e8 , 0x00000011 
+ 00031427  0x00006788 idiv  0x00000011 
+ 00031428  0x00006789 call  0x00007efd 
+ 00031429  0x0000678a remainder  0x0000003f 
+ 00031430  0x0000678b store  0x00000004 , 0x000007ec 
+ 00031431  0x0000678c quotient  0x0000003f 
+ 00031432  0x0000678d arg  0x000003e8 , 0x00000011 
+ 00031433  0x0000678e idiv  0x00000011 
+ 00031434  0x0000678f call  0x00007efd 
+ 00031435  0x00006790 remainder  0x0000003f 
+ 00031436  0x00006791 arg  0x000003e8 , 0x00000011 
+ 00031437  0x00006792 imul32  0x00000011 , 0x0000003f 
+ 00031438  0x00006793 fetcht  0x00000004 , 0x000007ec 
+ 00031439  0x00006794 iadd  0x00000002 , 0x0000003f 
+ 00031440  0x00006795 store  0x00000004 , 0x000007ec 
+ 00031441  0x00006796 rtn 
+ 00031442  0x00006799 setarg  0x00363636 
+ 00031443  0x0000679a lshift8  0x0000003f , 0x00000002 
+ 00031444  0x0000679b or_into  0x00000036 , 0x00000002 
+ 00031445  0x0000679c fetch  0x00000002 , 0x00000898 
+ 00031446  0x0000679d copy  0x0000003f , 0x00000006 
+ 00031447  0x0000679e force  0x00000004 , 0x00000039 
+ 00031448  0x0000679f call  0x00007a90 
+ 00031449  0x000067a0 call  0x00007a45 
+ 00031450  0x000067a1 call  0x00007a4c 
+ 00031451  0x000067a2 fetch  0x00000002 , 0x0000089a 
+ 00031452  0x000067a3 copy  0x0000003f , 0x00000006 
+ 00031453  0x000067a4 arg  0x00000582 , 0x00000005 
+ 00031454  0x000067a5 force  0x00000006 , 0x00000039 
+ 00031455  0x000067a6 call  0x00007b97 
+ 00031456  0x000067a7 fetch  0x00000002 , 0x0000089c 
+ 00031457  0x000067a8 copy  0x0000003f , 0x00000006 
+ 00031458  0x000067a9 force  0x00000006 , 0x00000039 
+ 00031459  0x000067aa call  0x00007b97 
+ 00031460  0x000067ab setarg  0x00800000 
+ 00031461  0x000067ac istore  0x00000003 , 0x00000005 
+ 00031462  0x000067ad force  0x00000000 , 0x0000003f 
+ 00031463  0x000067ae istore  0x00000001 , 0x00000005 
+ 00031464  0x000067af force  0x00000000 , 0x0000003f 
+ 00031465  0x000067b0 istore  0x00000008 , 0x00000005 
+ 00031466  0x000067b1 setarg  0x00000388 
+ 00031467  0x000067b2 istore  0x00000004 , 0x00000005 
+ 00031468  0x000067b3 call  0x00007a4c 
+ 00031469  0x000067b4 call  0x00007a89 
+ 00031470  0x000067b5 arg  0x00000858 , 0x00000006 
+ 00031471  0x000067b6 arg  0x000006a2 , 0x00000005 
+ 00031472  0x000067b7 call  0x00007e31 
+ 00031473  0x000067b9 setarg  0x005c5c5c 
+ 00031474  0x000067ba lshift8  0x0000003f , 0x00000002 
+ 00031475  0x000067bb or_into  0x0000005c , 0x00000002 
+ 00031476  0x000067bc fetch  0x00000002 , 0x00000898 
+ 00031477  0x000067bd copy  0x0000003f , 0x00000006 
+ 00031478  0x000067be force  0x00000004 , 0x00000039 
+ 00031479  0x000067bf call  0x00007a90 
+ 00031480  0x000067c0 call  0x00007a45 
+ 00031481  0x000067c1 call  0x00007a4c 
+ 00031482  0x000067c2 arg  0x000006c2 , 0x00000006 
+ 00031483  0x000067c3 arg  0x00000582 , 0x00000005 
+ 00031484  0x000067c4 force  0x00000008 , 0x00000039 
+ 00031485  0x000067c5 call  0x00007b97 
+ 00031486  0x000067c6 setarg  0x00800000 
+ 00031487  0x000067c7 lshift8  0x0000003f , 0x0000003f 
+ 00031488  0x000067c8 istore  0x00000004 , 0x00000005 
+ 00031489  0x000067c9 call  0x00007e3a 
+ 00031490  0x000067ca setarg  0x00000300 
+ 00031491  0x000067cb istore  0x00000004 , 0x00000005 
+ 00031492  0x000067cc call  0x00007a4c 
+ 00031493  0x000067cd branch  0x00007a89 
+ 00031494  0x000067d1 setarg  0x00363636 
+ 00031495  0x000067d2 lshift8  0x0000003f , 0x00000002 
+ 00031496  0x000067d3 or_into  0x00000036 , 0x00000002 
+ 00031497  0x000067d4 arg  0x00000838 , 0x00000006 
+ 00031498  0x000067d5 force  0x00000006 , 0x00000039 
+ 00031499  0x000067d6 call  0x00007a90 
+ 00031500  0x000067d7 call  0x00007a45 
+ 00031501  0x000067d8 call  0x00007a4c 
+ 00031502  0x000067d9 fetch  0x00000002 , 0x000008a4 
+ 00031503  0x000067da copy  0x0000003f , 0x00000006 
+ 00031504  0x000067db arg  0x00000582 , 0x00000005 
+ 00031505  0x000067dc call  0x00007b96 
+ 00031506  0x000067dd fetch  0x00000002 , 0x000008a6 
+ 00031507  0x000067de copy  0x0000003f , 0x00000006 
+ 00031508  0x000067df call  0x00007b96 
+ 00031509  0x000067e1 setarg  0x0062746c 
+ 00031510  0x000067e2 lshift8  0x0000003f , 0x0000003f 
+ 00031511  0x000067e3 or_into  0x0000006b , 0x0000003f 
+ 00031512  0x000067e4 istore  0x00000004 , 0x00000005 
+ 00031513  0x000067e5 arg  0x000006cf , 0x00000006 
+ 00031514  0x000067e6 force  0x00000003 , 0x00000039 
+ 00031515  0x000067e7 call  0x00007b97 
+ 00031516  0x000067e9 setarg  0x00800000 
+ 00031517  0x000067ea lshift8  0x0000003f , 0x0000003f 
+ 00031518  0x000067eb istore  0x00000004 , 0x00000005 
+ 00031519  0x000067ec force  0x00000000 , 0x0000003f 
+ 00031520  0x000067ed istore  0x00000008 , 0x00000005 
+ 00031521  0x000067ee setarg  0x00000380 
+ 00031522  0x000067ef istore  0x00000004 , 0x00000005 
+ 00031523  0x000067f0 call  0x00007a4c 
+ 00031524  0x000067f2 call  0x00007a89 
+ 00031525  0x000067f3 arg  0x00000858 , 0x00000006 
+ 00031526  0x000067f4 arg  0x000006a2 , 0x00000005 
+ 00031527  0x000067f5 call  0x00007e31 
+ 00031528  0x000067f7 setarg  0x005c5c5c 
+ 00031529  0x000067f8 lshift8  0x0000003f , 0x00000002 
+ 00031530  0x000067f9 or_into  0x0000005c , 0x00000002 
+ 00031531  0x000067fa arg  0x00000838 , 0x00000006 
+ 00031532  0x000067fb force  0x00000006 , 0x00000039 
+ 00031533  0x000067fc call  0x00007a90 
+ 00031534  0x000067fd call  0x00007a45 
+ 00031535  0x000067fe call  0x00007a4c 
+ 00031536  0x000067ff arg  0x000006c2 , 0x00000006 
+ 00031537  0x00006800 arg  0x00000582 , 0x00000005 
+ 00031538  0x00006801 force  0x00000008 , 0x00000039 
+ 00031539  0x00006802 call  0x00007b97 
+ 00031540  0x00006803 setarg  0x00800000 
+ 00031541  0x00006804 lshift8  0x0000003f , 0x0000003f 
+ 00031542  0x00006805 istore  0x00000004 , 0x00000005 
+ 00031543  0x00006806 call  0x00007e3a 
+ 00031544  0x00006807 setarg  0x00000300 
+ 00031545  0x00006808 istore  0x00000004 , 0x00000005 
+ 00031546  0x00006809 call  0x00007a4c 
+ 00031547  0x0000680a branch  0x00007a89 
+ 00031548  0x0000680e setarg  0x00363636 
+ 00031549  0x0000680f lshift8  0x0000003f , 0x00000002 
+ 00031550  0x00006810 or_into  0x00000036 , 0x00000002 
+ 00031551  0x00006811 arg  0x00000838 , 0x00000006 
+ 00031552  0x00006812 force  0x00000006 , 0x00000039 
+ 00031553  0x00006813 call  0x00007a90 
+ 00031554  0x00006814 call  0x00007a45 
+ 00031555  0x00006815 call  0x00007a4c 
+ 00031556  0x00006816 arg  0x00000858 , 0x00000006 
+ 00031557  0x00006817 arg  0x00000582 , 0x00000005 
+ 00031558  0x00006818 call  0x00007b96 
+ 00031559  0x00006819 arg  0x00000848 , 0x00000006 
+ 00031560  0x0000681a call  0x00007b96 
+ 00031561  0x0000681b branch  0x00007b57 
+ 00031562  0x0000681e setarg  0x00363636 
+ 00031563  0x0000681f lshift8  0x0000003f , 0x00000002 
+ 00031564  0x00006820 or_into  0x00000036 , 0x00000002 
+ 00031565  0x00006821 arg  0x00000838 , 0x00000006 
+ 00031566  0x00006822 force  0x00000006 , 0x00000039 
+ 00031567  0x00006823 call  0x00007a90 
+ 00031568  0x00006824 call  0x00007a45 
+ 00031569  0x00006825 call  0x00007a4c 
+ 00031570  0x00006827 arg  0x00000848 , 0x00000006 
+ 00031571  0x00006828 arg  0x00000582 , 0x00000005 
+ 00031572  0x00006829 call  0x00007b96 
+ 00031573  0x0000682a arg  0x00000858 , 0x00000006 
+ 00031574  0x0000682b call  0x00007b96 
+ 00031575  0x0000682d setarg  0x00000000 
+ 00031576  0x0000682e istore  0x00000008 , 0x00000005 
+ 00031577  0x0000682f istore  0x00000008 , 0x00000005 
+ 00031578  0x00006831 copy  0x00000005 , 0x00000002 
+ 00031579  0x00006832 jam  0x00000080 , 0x000006c2 
+ 00031580  0x00006833 copy  0x00000002 , 0x00000005 
+ 00031581  0x00006834 arg  0x000006d2 , 0x00000006 
+ 00031582  0x00006835 call  0x00007b96 
+ 00031583  0x00006837 call  0x00007a4c 
+ 00031584  0x00006839 arg  0x00000582 , 0x00000005 
+ 00031585  0x0000683a force  0x00000007 , 0x00000039 
+ 00031586  0x0000683b call  0x00007e3b 
+ 00031587  0x0000683c istore  0x00000004 , 0x00000005 
+ 00031588  0x0000683d setarg  0x000003f8 
+ 00031589  0x0000683e istore  0x00000004 , 0x00000005 
+ 00031590  0x0000683f call  0x00007a4c 
+ 00031591  0x00006840 call  0x00007a89 
+ 00031592  0x00006842 arg  0x00000858 , 0x00000006 
+ 00031593  0x00006843 arg  0x000006a2 , 0x00000005 
+ 00031594  0x00006844 call  0x00007e31 
+ 00031595  0x00006846 setarg  0x005c5c5c 
+ 00031596  0x00006847 lshift8  0x0000003f , 0x00000002 
+ 00031597  0x00006848 or_into  0x0000005c , 0x00000002 
+ 00031598  0x00006849 arg  0x00000838 , 0x00000006 
+ 00031599  0x0000684a force  0x00000006 , 0x00000039 
+ 00031600  0x0000684b call  0x00007a90 
+ 00031601  0x0000684c call  0x00007a45 
+ 00031602  0x0000684d call  0x00007a4c 
+ 00031603  0x0000684e arg  0x000006c2 , 0x00000006 
+ 00031604  0x0000684f arg  0x00000582 , 0x00000005 
+ 00031605  0x00006850 force  0x00000008 , 0x00000039 
+ 00031606  0x00006851 call  0x00007b97 
+ 00031607  0x00006852 setarg  0x00800000 
+ 00031608  0x00006853 lshift8  0x0000003f , 0x0000003f 
+ 00031609  0x00006854 istore  0x00000004 , 0x00000005 
+ 00031610  0x00006855 call  0x00007e3a 
+ 00031611  0x00006856 setarg  0x00000300 
+ 00031612  0x00006857 istore  0x00000004 , 0x00000005 
+ 00031613  0x00006858 call  0x00007a4c 
+ 00031614  0x00006859 branch  0x00007a89 
+ 00031615  0x00006861 jam  0x000000c0 , 0x00000581 
+ 00031616  0x00006863 fetch  0x00000001 , 0x00000581 
+ 00031617  0x00006864 rtn  0x00000034 
+ 00031618  0x00006865 increase  0xffffffff , 0x0000003f 
+ 00031619  0x00006866 store  0x00000001 , 0x00000581 
+ 00031620  0x00006867 arg  0x0000065a , 0x00000006 
+ 00031621  0x00006868 call  0x00007822 
+ 00031622  0x00006869 branch  0x00007b80 , 0x00000001 
+ 00031623  0x0000686a arg  0x00000582 , 0x00000006 
+ 00031624  0x0000686b arg  0x00000612 , 0x00000005 
+ 00031625  0x0000686c branch  0x00007828 
+ 00031626  0x0000686f call  0x0000793a 
+ 00031627  0x00006870 fetch  0x00000001 , 0x00000581 
+ 00031628  0x00006871 increase  0xffffffff , 0x0000003f 
+ 00031629  0x00006872 store  0x00000001 , 0x00000581 
+ 00031630  0x00006873 arg  0x0000065a , 0x00000006 
+ 00031631  0x00006874 call  0x00007822 
+ 00031632  0x00006875 rtn  0x00000001 
+ 00031633  0x00006876 branch  0x0000798b 
+ 00031634  0x00006879 jam  0x00000000 , 0x00000580 
+ 00031635  0x0000687a arg  0x00000582 , 0x00000006 
+ 00031636  0x0000687b arg  0x00000612 , 0x00000005 
+ 00031637  0x0000687c branch  0x00007828 
+ 00031638  0x0000687f force  0x00000004 , 0x00000039 
+ 00031639  0x00006881 increase  0xfffffffc , 0x00000006 
+ 00031640  0x00006883 ifetch  0x00000004 , 0x00000006 
+ 00031641  0x00006884 istore  0x00000004 , 0x00000005 
+ 00031642  0x00006885 increase  0xfffffff8 , 0x00000006 
+ 00031643  0x00006886 loop  0x00007b98 
+ 00031644  0x00006887 rtn 
+ 00031645  0x0000688b rtn  0x0000002b 
+ 00031646  0x0000688c call  0x00007ba5 
+ 00031647  0x0000688d call  0x00007c13 
+ 00031648  0x0000688e branch  0x00007bd9 
+ 00031649  0x00006891 fetch  0x00000001 , 0x00004132 
+ 00031650  0x00006892 rtneq  0x00000001 
+ 00031651  0x00006893 call  0x00007bf2 
+ 00031652  0x00006895 branch  0x00007c04 
+ 00031653  0x00006898 fetch  0x00000001 , 0x000047fd 
+ 00031654  0x00006899 rtneq  0x000000ff 
+ 00031655  0x0000689a iforce  0x00000002 
+ 00031656  0x0000689b call  0x000069da 
+ 00031657  0x0000689c fetcht  0x00000001 , 0x000047fd 
+ 00031658  0x0000689d call  0x000069ed 
+ 00031659  0x0000689e nop  0x00000064 
+ 00031660  0x0000689f fetcht  0x00000001 , 0x000047fd 
+ 00031661  0x000068a0 call  0x000069d1 
+ 00031662  0x000068a1 branch  0x00007bb1 
+ 00031663  0x000068a4 jam  0x000000ff , 0x000047fd 
+ 00031664  0x000068a5 rtn 
+ 00031665  0x000068a8 set1  0x00000025 , 0x00000000 
+ 00031666  0x000068a9 bpatch  0x00000085 , 0x00004030 
+ 00031667  0x000068aa fetch  0x00000001 , 0x000047fd 
+ 00031668  0x000068ab rtneq  0x000000ff 
+ 00031669  0x000068ac copy  0x0000003f , 0x00000002 
+ 00031670  0x000068ad call  0x000069e5 
+ 00031671  0x000068ae nbranch  0x00007bc4 , 0x00000001 
+ 00031672  0x000068b1 call  0x00007bce 
+ 00031673  0x000068b2 fetch  0x00000002 , 0x000047f4 
+ 00031674  0x000068b3 set1  0x0000000c 
+ 00031675  0x000068b4 store  0x00000002 , 0x000047f4 
+ 00031676  0x000068b5 fetch  0x00000001 , 0x000047eb 
+ 00031677  0x000068b6 rtneq  0x00000000 
+ 00031678  0x000068b7 jam  0x00000000 , 0x000047eb 
+ 00031679  0x000068b9 fetch  0x00000001 , 0x000047fc 
+ 00031680  0x000068ba store  0x00000001 , 0x000047ea 
+ 00031681  0x000068bb call  0x00007bd5 
+ 00031682  0x000068bc jam  0x0000002c , 0x00000b7d 
+ 00031683  0x000068bd branch  0x00007c27 
+ 00031684  0x000068bf fetch  0x00000002 , 0x000047f4 
+ 00031685  0x000068c0 set0  0x0000000c 
+ 00031686  0x000068c1 store  0x00000002 , 0x000047f4 
+ 00031687  0x000068c2 fetch  0x00000001 , 0x000047eb 
+ 00031688  0x000068c3 rtneq  0x00000001 
+ 00031689  0x000068c4 jam  0x00000001 , 0x000047eb 
+ 00031690  0x000068c6 jam  0x00000000 , 0x000047ea 
+ 00031691  0x000068c7 call  0x00007bd7 
+ 00031692  0x000068c8 jam  0x0000002d , 0x00000b7d 
+ 00031693  0x000068c9 branch  0x00007c27 
+ 00031694  0x000068cc fetch  0x00000001 , 0x000047ea 
+ 00031695  0x000068cd rtn  0x00000034 
+ 00031696  0x000068ce increase  0xffffffff , 0x0000003f 
+ 00031697  0x000068cf store  0x00000001 , 0x000047ea 
+ 00031698  0x000068d0 nrtn  0x00000034 
+ 00031699  0x000068d2 jam  0x00000010 , 0x00000b7d 
+ 00031700  0x000068d3 branch  0x00007c27 
+ 00031701  0x000068d6 arg  0x00000007 , 0x00000007 
+ 00031702  0x000068d7 branch  0x00003dc2 
+ 00031703  0x000068da arg  0x00000007 , 0x00000007 
+ 00031704  0x000068db branch  0x00003dc6 
+ 00031705  0x000068de fetch  0x00000001 , 0x000047f7 
+ 00031706  0x000068df rtneq  0x000000ff 
+ 00031707  0x000068e0 iforce  0x00000002 
+ 00031708  0x000068e1 call  0x000069da 
+ 00031709  0x000068e2 branch  0x00007be2 
+ 00031710  0x000068e5 fetch  0x00000002 , 0x000047f4 
+ 00031711  0x000068e6 set0  0x0000000d 
+ 00031712  0x000068e7 store  0x00000002 , 0x000047f4 
+ 00031713  0x000068e8 jam  0x00000000 , 0x000047e9 
+ 00031714  0x000068ea fetch  0x00000002 , 0x000047f4 
+ 00031715  0x000068eb set0  0x0000000e 
+ 00031716  0x000068ec store  0x00000002 , 0x000047f4 
+ 00031717  0x000068ed fetcht  0x00000001 , 0x000047f7 
+ 00031718  0x000068ee branch  0x000069ed 
+ 00031719  0x000068f1 fetch  0x00000002 , 0x000047f4 
+ 00031720  0x000068f2 set1  0x0000000e 
+ 00031721  0x000068f3 store  0x00000002 , 0x000047f4 
+ 00031722  0x000068f4 jam  0x00000000 , 0x000047e9 
+ 00031723  0x000068f5 fetcht  0x00000001 , 0x000047f7 
+ 00031724  0x000068f6 branch  0x000069ef 
+ 00031725  0x000068f9 fetch  0x00000002 , 0x000047f4 
+ 00031726  0x000068fa set1  0x0000000d 
+ 00031727  0x000068fb store  0x00000002 , 0x000047f4 
+ 00031728  0x000068fc jam  0x00000001 , 0x000047e9 
+ 00031729  0x000068fd rtn 
+ 00031730  0x00006900 set1  0x00000025 , 0x00000000 
+ 00031731  0x00006901 bpatch  0x00000086 , 0x00004030 
+ 00031732  0x00006902 fetch  0x00000001 , 0x000047e9 
+ 00031733  0x00006903 rtneq  0x00000000 
+ 00031734  0x00006904 arg  0x00000009 , 0x00000007 
+ 00031735  0x00006905 call  0x00007e53 
+ 00031736  0x00006906 nrtn  0x00000034 
+ 00031737  0x00006907 fetch  0x00000001 , 0x000047e9 
+ 00031738  0x00006908 beq  0x00000002 , 0x00007bff 
+ 00031739  0x00006909 call  0x00007be7 
+ 00031740  0x0000690a jam  0x00000002 , 0x000047e9 
+ 00031741  0x0000690b fetch  0x00000002 , 0x000047fa 
+ 00031742  0x0000690c branch  0x00007c02 
+ 00031743  0x0000690e call  0x00007be2 
+ 00031744  0x0000690f jam  0x00000003 , 0x000047e9 
+ 00031745  0x00006910 fetch  0x00000002 , 0x000047f8 
+ 00031746  0x00006912 arg  0x00000009 , 0x00000007 
+ 00031747  0x00006913 branch  0x00007e4c 
+ 00031748  0x00006917 set1  0x00000025 , 0x00000000 
+ 00031749  0x00006918 bpatch  0x00000087 , 0x00004030 
+ 00031750  0x00006919 arg  0x00000000 , 0x00000011 
+ 00031751  0x0000691a fetcht  0x00000004 , 0x000047ec 
+ 00031752  0x0000691b copy  0x00000022 , 0x00000012 
+ 00031753  0x0000691e copy  0x00000012 , 0x0000003f 
+ 00031754  0x0000691f increase  0x000000a0 , 0x00000002 
+ 00031755  0x00006920 increase  0x000000a0 , 0x00000002 
+ 00031756  0x00006921 isub  0x00000002 , 0x0000003e 
+ 00031757  0x00006922 nbranch  0x00007c16 , 0x00000002 
+ 00031758  0x00006923 increase  0x00000001 , 0x00000011 
+ 00031759  0x00006924 and  0x00000011 , 0x0000000f , 0x0000003f 
+ 00031760  0x00006925 nbranch  0x00007c09 , 0x00000034 
+ 00031761  0x00006926 arg  0x00000000 , 0x00000011 
+ 00031762  0x00006927 call  0x00007c1d 
+ 00031763  0x00006929 copy  0x00000022 , 0x0000003f 
+ 00031764  0x0000692a store  0x00000004 , 0x000047ec 
+ 00031765  0x0000692b rtn 
+ 00031766  0x0000692d set1  0x00000025 , 0x00000000 
+ 00031767  0x0000692e bpatch  0x00000088 , 0x00004031 
+ 00031768  0x0000692f copy  0x00000011 , 0x0000003f 
+ 00031769  0x00006930 rtn  0x00000034 
+ 00031770  0x00006931 increase  0xffffff60 , 0x00000002 
+ 00031771  0x00006932 increase  0xffffff60 , 0x00000002 
+ 00031772  0x00006933 storet  0x00000004 , 0x000047ec 
+ 00031773  0x00006935 increase  0x00000050 , 0x0000003f 
+ 00031774  0x00006936 store  0x00000001 , 0x00000b7d 
+ 00031775  0x00006937 branch  0x00007c27 
+ 00031776  0x0000693e jam  0x00000001 , 0x000047dd 
+ 00031777  0x00006940 fetch  0x00000001 , 0x000047de 
+ 00031778  0x00006941 nbranch  0x00007c21 , 0x00000034 
+ 00031779  0x00006942 rtn 
+ 00031780  0x00006945 jam  0x00000000 , 0x000047dd 
+ 00031781  0x00006946 rtn 
+ 00031782  0x00006949 branch  0x00007f9f 
+ 00031783  0x0000694e set1  0x00000025 , 0x00000000 
+ 00031784  0x0000694f bpatch  0x00000089 , 0x00004031 
+ 00031785  0x00006950 fetch  0x00000001 , 0x00004132 
+ 00031786  0x00006951 rtneq  0x00000001 
+ 00031787  0x00006952 call  0x00007c20 
+ 00031788  0x00006953 copy  0x00000011 , 0x0000003f 
+ 00031789  0x00006954 store  0x00000004 , 0x000008ab 
+ 00031790  0x00006955 arg  0x000047df , 0x00000011 
+ 00031791  0x00006956 call  0x00007f92 
+ 00031792  0x00006957 fetch  0x00000004 , 0x000008ab 
+ 00031793  0x00006958 copy  0x0000003f , 0x00000011 
+ 00031794  0x00006959 branch  0x00007c24 
+ 00031795  0x0000695c set1  0x00000025 , 0x00000000 
+ 00031796  0x0000695d bpatch  0x0000008a , 0x00004031 
+ 00031797  0x0000695e fetch  0x00000001 , 0x00004132 
+ 00031798  0x0000695f rtneq  0x00000001 
+ 00031799  0x00006960 call  0x00007c20 
+ 00031800  0x00006961 copy  0x00000011 , 0x0000003f 
+ 00031801  0x00006962 store  0x00000004 , 0x000008ab 
+ 00031802  0x00006963 arg  0x000047e4 , 0x00000011 
+ 00031803  0x00006964 call  0x00007f92 
+ 00031804  0x00006965 fetch  0x00000004 , 0x000008ab 
+ 00031805  0x00006966 copy  0x0000003f , 0x00000011 
+ 00031806  0x00006967 branch  0x00007c24 
+ 00031807  0x0000696a set1  0x00000025 , 0x00000000 
+ 00031808  0x0000696b bpatch  0x0000008b , 0x00004031 
+ 00031809  0x0000696c setarg  0x00000000 
+ 00031810  0x0000696d store  0x00000005 , 0x000047e4 
+ 00031811  0x0000696e store  0x00000005 , 0x000047df 
+ 00031812  0x0000696f rtn 
+ 00031813  0x00006972 set1  0x00000025 , 0x00000000 
+ 00031814  0x00006973 bpatch  0x0000008c , 0x00004031 
+ 00031815  0x00006974 fetch  0x00000001 , 0x00004272 
+ 00031816  0x00006975 nrtn  0x00000034 
+ 00031817  0x00006976 arg  0x000047e4 , 0x00000011 
+ 00031818  0x00006977 call  0x00007fac 
+ 00031819  0x00006978 rtn  0x00000034 
+ 00031820  0x00006979 jam  0x00000000 , 0x000008aa 
+ 00031821  0x0000697a call  0x00007c51 
+ 00031822  0x0000697b fetch  0x00000001 , 0x000008aa 
+ 00031823  0x0000697c branch  0x00007c45 , 0x00000034 
+ 00031824  0x0000697d rtn 
+ 00031825  0x00006980 set1  0x00000025 , 0x00000000 
+ 00031826  0x00006981 bpatch  0x0000008d , 0x00004031 
+ 00031827  0x00006982 call  0x00007c20 
+ 00031828  0x00006983 arg  0x000047e4 , 0x00000011 
+ 00031829  0x00006984 call  0x00007f9f 
+ 00031830  0x00006985 copy  0x0000003f , 0x00000002 
+ 00031831  0x00006986 call  0x00007c24 
+ 00031832  0x00006987 copy  0x00000002 , 0x0000003f 
+ 00031833  0x00006988 rtn  0x00000034 
+ 00031834  0x00006989 beq  0x00000001 , 0x00007c97 
+ 00031835  0x0000698a beq  0x00000002 , 0x00007c9c 
+ 00031836  0x0000698b beq  0x00000003 , 0x00007ca2 
+ 00031837  0x0000698c beq  0x00000007 , 0x00007ca7 
+ 00031838  0x0000698d beq  0x00000008 , 0x00007ca8 
+ 00031839  0x0000698e beq  0x00000009 , 0x00007ca9 
+ 00031840  0x0000698f beq  0x0000000b , 0x00007cac 
+ 00031841  0x00006990 beq  0x0000000c , 0x00007cad 
+ 00031842  0x00006991 beq  0x0000000d , 0x00007cae 
+ 00031843  0x00006992 beq  0x0000000e , 0x00007cb1 
+ 00031844  0x00006993 beq  0x0000000f , 0x00007cb3 
+ 00031845  0x00006994 beq  0x00000010 , 0x00007cb6 
+ 00031846  0x00006995 beq  0x00000012 , 0x00007cbb 
+ 00031847  0x00006996 beq  0x00000015 , 0x00007bed 
+ 00031848  0x00006997 beq  0x00000014 , 0x00007be7 
+ 00031849  0x00006998 beq  0x00000013 , 0x00007bde 
+ 00031850  0x00006999 beq  0x00000016 , 0x00007cbc 
+ 00031851  0x0000699a beq  0x00000017 , 0x00007cc1 
+ 00031852  0x0000699b beq  0x00000018 , 0x00007cc3 
+ 00031853  0x0000699c beq  0x00000019 , 0x00007cc8 
+ 00031854  0x0000699d beq  0x0000001b , 0x00007cc6 
+ 00031855  0x0000699e beq  0x0000001c , 0x00007cd3 
+ 00031856  0x0000699f beq  0x0000001e , 0x00007cd5 
+ 00031857  0x000069a1 store  0x00000001 , 0x00000b7d 
+ 00031858  0x000069a2 set1  0x00000025 , 0x00000000 
+ 00031859  0x000069a3 bpatch  0x0000008e , 0x00004031 
+ 00031860  0x000069a4 fetch  0x00000001 , 0x0000007c 
+ 00031861  0x000069a5 branch  0x00007c79 , 0x00000034 
+ 00031862  0x000069a6 call  0x000061d9 
+ 00031863  0x000069a7 fetch  0x00000001 , 0x0000007c 
+ 00031864  0x000069a8 nbranch  0x00007c8c , 0x00000034 
+ 00031865  0x000069aa fetch  0x00000001 , 0x00000b7d 
+ 00031866  0x000069ab bmark0  0x00000009 , 0x00007c87 
+ 00031867  0x000069ad beq  0x00000005 , 0x00004a19 
+ 00031868  0x000069ae beq  0x00000006 , 0x00004a28 
+ 00031869  0x000069af beq  0x0000000a , 0x00007caa 
+ 00031870  0x000069b0 beq  0x00000004 , 0x00007ca4 
+ 00031871  0x000069b1 beq  0x00000011 , 0x00007cb8 
+ 00031872  0x000069b2 beq  0x0000001d , 0x00007c8e 
+ 00031873  0x000069b3 beq  0x0000001f , 0x0000690c 
+ 00031874  0x000069b4 beq  0x00000020 , 0x00006910 
+ 00031875  0x000069b5 beq  0x00000012 , 0x00007c85 
+ 00031876  0x000069b6 rtn 
+ 00031877  0x000069ba jam  0x0000002f , 0x00000b7d 
+ 00031878  0x000069bb branch  0x00005620 
+ 00031879  0x000069bd store  0x00000001 , 0x00000b7d 
+ 00031880  0x000069be call  0x000032ee 
+ 00031881  0x000069bf branch  0x00007c8c , 0x00000005 
+ 00031882  0x000069c0 call  0x000032f9 
+ 00031883  0x000069c1 nrtn  0x00000005 
+ 00031884  0x000069c3 jam  0x00000001 , 0x000008aa 
+ 00031885  0x000069c4 branch  0x00007c33 
+ 00031886  0x000069c8 jam  0x00000034 , 0x0000007c 
+ 00031887  0x000069c9 set1  0x00000003 , 0x00000000 
+ 00031888  0x000069ca nrtn  0x00000029 
+ 00031889  0x000069cb jam  0x00000000 , 0x00004748 
+ 00031890  0x000069cc jam  0x00000013 , 0x0000007c 
+ 00031891  0x000069cd fetch  0x00000001 , 0x00000177 
+ 00031892  0x000069ce set0  0x00000002 , 0x0000003f 
+ 00031893  0x000069cf store  0x00000001 , 0x00000177 
+ 00031894  0x000069d0 rtn 
+ 00031895  0x000069d3 fetch  0x00000002 , 0x000047f4 
+ 00031896  0x000069d4 set1  0x00000006 
+ 00031897  0x000069d5 store  0x00000002 , 0x000047f4 
+ 00031898  0x000069d6 jam  0x00000003 , 0x00004133 
+ 00031899  0x000069d7 rtn 
+ 00031900  0x000069da jam  0x00000000 , 0x000047f2 
+ 00031901  0x000069db jam  0x00000000 , 0x00004133 
+ 00031902  0x000069dc fetch  0x00000002 , 0x000047f4 
+ 00031903  0x000069dd set0  0x00000006 
+ 00031904  0x000069de store  0x00000002 , 0x000047f4 
+ 00031905  0x000069df rtn 
+ 00031906  0x000069e2 jam  0x00000005 , 0x00004272 
+ 00031907  0x000069e3 rtn 
+ 00031908  0x000069e6 jam  0x00000007 , 0x0000007c 
+ 00031909  0x000069e7 jam  0x00000013 , 0x00000446 
+ 00031910  0x000069e8 rtn 
+ 00031911  0x000069ec rtn 
+ 00031912  0x000069ef rtn 
+ 00031913  0x000069f2 rtn 
+ 00031914  0x000069f5 jam  0x00000002 , 0x00000450 
+ 00031915  0x000069f6 branch  0x000049da 
+ 00031916  0x000069f9 rtn 
+ 00031917  0x000069fb rtn 
+ 00031918  0x000069fd jam  0x00000001 , 0x000043d8 
+ 00031919  0x000069fe jam  0x00000000 , 0x000044db 
+ 00031920  0x000069ff rtn 
+ 00031921  0x00006a01 jam  0x00000000 , 0x000043d8 
+ 00031922  0x00006a02 rtn 
+ 00031923  0x00006a04 jam  0x00000001 , 0x000043d8 
+ 00031924  0x00006a05 jam  0x00000001 , 0x000044db 
+ 00031925  0x00006a06 rtn 
+ 00031926  0x00006a08 jam  0x00000000 , 0x000043d8 
+ 00031927  0x00006a09 rtn 
+ 00031928  0x00006a0b setarg  0x00000001 
+ 00031929  0x00006a0c store  0x00000002 , 0x000003ef 
+ 00031930  0x00006a0d rtn 
+ 00031931  0x00006a0f rtn 
+ 00031932  0x00006a11 jam  0x00000001 , 0x000043d2 
+ 00031933  0x00006a12 jam  0x0000001b , 0x00004272 
+ 00031934  0x00006a13 fetch  0x00000006 , 0x00000268 
+ 00031935  0x00006a14 store  0x00000006 , 0x000044e7 
+ 00031936  0x00006a15 rtn 
+ 00031937  0x00006a17 jam  0x00000001 , 0x000043d2 
+ 00031938  0x00006a18 rtn 
+ 00031939  0x00006a1a jam  0x00000000 , 0x000043d2 
+ 00031940  0x00006a1b jam  0x00000000 , 0x00004272 
+ 00031941  0x00006a1c rtn 
+ 00031942  0x00006a1e jam  0x0000004b , 0x00000b7d 
+ 00031943  0x00006a1f branch  0x00005620 
+ 00031944  0x00006a21 set1  0x00000025 , 0x00000000 
+ 00031945  0x00006a22 bpatch  0x0000008f , 0x00004031 
+ 00031946  0x00006a23 fetch  0x00000002 , 0x00004288 
+ 00031947  0x00006a24 call  0x00007f66 
+ 00031948  0x00006a25 fetch  0x00000001 , 0x000047fd 
+ 00031949  0x00006a26 beq  0x000000ff , 0x00007cd0 
+ 00031950  0x00006a27 copy  0x0000003f , 0x00000002 
+ 00031951  0x00006a28 call  0x000069d1 
+ 00031952  0x00006a2a call  0x00007be2 
+ 00031953  0x00006a2b call  0x00007c3f 
+ 00031954  0x00006a2c branch  0x00003ccd 
+ 00031955  0x00006a2f jam  0x00000001 , 0x000046f8 
+ 00031956  0x00006a30 rtn 
+ 00031957  0x00006a33 force  0x00000004 , 0x00000007 
+ 00031958  0x00006a34 branch  0x00007e4b 
+ 00031959  0x00006a37 fetch  0x00000001 , 0x000047f4 
+ 00031960  0x00006a38 rtnbit0  0x0000000c 
+ 00031961  0x00006a39 rtnbit0  0x00000007 
+ 00031962  0x00006a3a branch  0x00007cd5 
+ 00031963  0x00006a3f set1  0x00000025 , 0x00000000 
+ 00031964  0x00006a40 bpatch  0x000000d5 , 0x0000403a 
+ 00031965  0x00006a41 call  0x00007df3 
+ 00031966  0x00006a42 hfetch  0x00000001 , 0x00008c26 
+ 00031967  0x00006a43 store  0x00000001 , 0x000008af 
+ 00031968  0x00006a44 hfetch  0x00000001 , 0x00008c27 
+ 00031969  0x00006a45 store  0x00000001 , 0x000008b0 
+ 00031970  0x00006a46 hjam  0x000000e0 , 0x00008c26 
+ 00031971  0x00006a47 fetch  0x00000001 , 0x000008b0 
+ 00031972  0x00006a48 compare  0x00000001 , 0x0000003f , 0x00000001 
+ 00031973  0x00006a49 call  0x00007d3a , 0x00000001 
+ 00031974  0x00006a4a set1  0x00000025 , 0x00000000 
+ 00031975  0x00006a4b bpatch  0x000000d6 , 0x0000403a 
+ 00031976  0x00006a4c fetch  0x00000001 , 0x000008af 
+ 00031977  0x00006a4d compare  0x00000001 , 0x0000003f , 0x00000001 
+ 00031978  0x00006a4e call  0x00007cf8 , 0x00000001 
+ 00031979  0x00006a4f fetch  0x00000001 , 0x000008f8 
+ 00031980  0x00006a50 bne  0x00000002 , 0x00007dc2 
+ 00031981  0x00006a51 fetch  0x00000002 , 0x000008f9 
+ 00031982  0x00006a52 increase  0x00000001 , 0x0000003f 
+ 00031983  0x00006a53 store  0x00000002 , 0x000008f9 
+ 00031984  0x00006a54 fetcht  0x00000002 , 0x000008fb 
+ 00031985  0x00006a55 isub  0x00000002 , 0x0000003e 
+ 00031986  0x00006a56 branch  0x00007db2 , 0x00000002 
+ 00031987  0x00006a57 fetch  0x00000001 , 0x000008af 
+ 00031988  0x00006a58 bbit0  0x00000006 , 0x00007dc2 
+ 00031989  0x00006a59 setarg  0x00000000 
+ 00031990  0x00006a5a store  0x00000002 , 0x000008f9 
+ 00031991  0x00006a5b branch  0x00007dc2 
+ 00031992  0x00006a5f set1  0x00000025 , 0x00000000 
+ 00031993  0x00006a60 bpatch  0x000000d7 , 0x0000403a 
+ 00031994  0x00006a61 hjam  0x00000011 , 0x00008c26 
+ 00031995  0x00006a62 hfetch  0x00000001 , 0x00008c20 
+ 00031996  0x00006a63 store  0x00000001 , 0x000008b1 
+ 00031997  0x00006a64 copy  0x0000003f , 0x00000039 
+ 00031998  0x00006a65 branch  0x00007d18 , 0x00000034 
+ 00031999  0x00006a66 arg  0x000008ff , 0x00000005 
+ 00032000  0x00006a67 call  0x00007d36 
+ 00032001  0x00006a68 fetch  0x00000001 , 0x000008b1 
+ 00032002  0x00006a69 sub  0x0000003f , 0x00000007 , 0x0000003e 
+ 00032003  0x00006a6a rtn  0x00000002 
+ 00032004  0x00006a6c set1  0x00000025 , 0x00000000 
+ 00032005  0x00006a6d bpatch  0x000000d8 , 0x0000403b 
+ 00032006  0x00006a6e fetch  0x00000001 , 0x000008ff 
+ 00032007  0x00006a6f beq  0x00000020 , 0x00007d16 
+ 00032008  0x00006a70 beq  0x00000021 , 0x00007d22 
+ 00032009  0x00006a71 beq  0x00000000 , 0x00007d10 
+ 00032010  0x00006a72 fetch  0x00000001 , 0x00000900 
+ 00032011  0x00006a73 beq  0x00000005 , 0x00007d9b 
+ 00032012  0x00006a74 beq  0x00000006 , 0x00007d3d 
+ 00032013  0x00006a75 beq  0x00000009 , 0x00007d98 
+ 00032014  0x00006a76 beq  0x0000000b , 0x00007da2 
+ 00032015  0x00006a77 branch  0x00007d32 
+ 00032016  0x00006a7a fetch  0x00000001 , 0x00000900 
+ 00032017  0x00006a7b beq  0x00000001 , 0x00007daf 
+ 00032018  0x00006a7c beq  0x00000003 , 0x00007dab 
+ 00032019  0x00006a7d beq  0x00000009 , 0x00007d34 
+ 00032020  0x00006a7e beq  0x00000005 , 0x00007d9b 
+ 00032021  0x00006a7f branch  0x00007d32 
+ 00032022  0x00006a81 call  0x00007d34 
+ 00032023  0x00006a82 rtn 
+ 00032024  0x00006a85 fetch  0x00000001 , 0x000008af 
+ 00032025  0x00006a86 bbit1  0x00000004 , 0x00007d04 
+ 00032026  0x00006a87 rtn 
+ 00032027  0x00006a89 fetch  0x00000001 , 0x000008f6 
+ 00032028  0x00006a8a increase  0x00000001 , 0x0000003f 
+ 00032029  0x00006a8b store  0x00000001 , 0x000008f6 
+ 00032030  0x00006a8c compare  0x00000002 , 0x0000003f , 0x000000ff 
+ 00032031  0x00006a8d nbranch  0x00007d34 , 0x00000001 
+ 00032032  0x00006a8e jam  0x00000001 , 0x000008f7 
+ 00032033  0x00006a8f branch  0x00007d34 
+ 00032034  0x00006a91 fetch  0x00000001 , 0x00000900 
+ 00032035  0x00006a92 beq  0x0000000a , 0x00007d27 
+ 00032036  0x00006a93 beq  0x00000009 , 0x00007d2e 
+ 00032037  0x00006a94 beq  0x0000000b , 0x00007d1b 
+ 00032038  0x00006a95 branch  0x00007d32 
+ 00032039  0x00006a97 fetch  0x00000001 , 0x000008f8 
+ 00032040  0x00006a98 beq  0x00000005 , 0x00007d2c 
+ 00032041  0x00006a99 bne  0x00000004 , 0x00007d34 
+ 00032042  0x00006a9a jam  0x00000005 , 0x000008f8 
+ 00032043  0x00006a9b branch  0x00007d34 
+ 00032044  0x00006a9d jam  0x00000002 , 0x000008f8 
+ 00032045  0x00006a9e branch  0x00007d34 
+ 00032046  0x00006aa1 jam  0x00000001 , 0x000008f7 
+ 00032047  0x00006aa2 arg  0x000008f7 , 0x00000011 
+ 00032048  0x00006aa3 arg  0x00000001 , 0x00000012 
+ 00032049  0x00006aa4 branch  0x00007d65 
+ 00032050  0x00006aa6 hjam  0x00000001 , 0x00008c11 
+ 00032051  0x00006aa7 rtn 
+ 00032052  0x00006aa9 hjam  0x00000040 , 0x00008c12 
+ 00032053  0x00006aaa rtn 
+ 00032054  0x00006aad hfetch  0x00000001 , 0x00008c18 
+ 00032055  0x00006aae istore  0x00000001 , 0x00000005 
+ 00032056  0x00006aaf loop  0x00007d36 
+ 00032057  0x00006ab0 rtn 
+ 00032058  0x00006ab3 hjam  0x00000001 , 0x00008c27 
+ 00032059  0x00006ab4 call  0x00007d7c 
+ 00032060  0x00006ab5 rtn 
+ 00032061  0x00006ab8 set1  0x00000025 , 0x00000000 
+ 00032062  0x00006ab9 bpatch  0x000000d9 , 0x0000403b 
+ 00032063  0x00006aba set0  0x00000023 , 0x00000000 
+ 00032064  0x00006abb fetch  0x00000001 , 0x00000902 
+ 00032065  0x00006abc beq  0x00000001 , 0x00007d47 
+ 00032066  0x00006abd beq  0x00000002 , 0x00007d49 
+ 00032067  0x00006abe beq  0x00000003 , 0x00007d4b 
+ 00032068  0x00006abf beq  0x00000021 , 0x00007d57 
+ 00032069  0x00006ac0 beq  0x00000022 , 0x00007d5b 
+ 00032070  0x00006ac1 rtn 
+ 00032071  0x00006ac4 arg  0x00000912 , 0x00000011 
+ 00032072  0x00006ac5 branch  0x00007d62 
+ 00032073  0x00006ac7 arg  0x00000ab6 , 0x00000011 
+ 00032074  0x00006ac8 branch  0x00007d62 
+ 00032075  0x00006aca fetch  0x00000001 , 0x00000901 
+ 00032076  0x00006acb and_into  0x00000003 , 0x0000003f 
+ 00032077  0x00006acc arg  0x00000b1a , 0x00000011 
+ 00032078  0x00006acd beq  0x00000000 , 0x00007d62 
+ 00032079  0x00006ace set1  0x00000023 , 0x00000000 
+ 00032080  0x00006acf arg  0x00000b1f , 0x00000011 
+ 00032081  0x00006ad0 beq  0x00000001 , 0x00007d62 
+ 00032082  0x00006ad1 arg  0x00000b3d , 0x00000011 
+ 00032083  0x00006ad2 beq  0x00000002 , 0x00007d62 
+ 00032084  0x00006ad3 arg  0x00000b5b , 0x00000011 
+ 00032085  0x00006ad4 beq  0x00000003 , 0x00007d62 
+ 00032086  0x00006ad5 branch  0x00003bf1 
+ 00032087  0x00006ad7 arg  0x00000ac8 , 0x00000011 
+ 00032088  0x00006ad8 fetch  0x00000001 , 0x00000ac8 
+ 00032089  0x00006ad9 copy  0x0000003f , 0x00000012 
+ 00032090  0x00006ada branch  0x00007d65 
+ 00032091  0x00006adc fetch  0x00000002 , 0x00000903 
+ 00032092  0x00006add beq  0x00000001 , 0x00007d5f 
+ 00032093  0x00006ade arg  0x00000926 , 0x00000011 
+ 00032094  0x00006adf branch  0x00007d62 
+ 00032095  0x00006ae1 jam  0x00000001 , 0x000008f8 
+ 00032096  0x00006ae2 arg  0x000009ee , 0x00000011 
+ 00032097  0x00006ae3 branch  0x00007d62 
+ 00032098  0x00006ae6 ifetch  0x00000001 , 0x00000011 
+ 00032099  0x00006ae7 iforce  0x00000012 
+ 00032100  0x00006ae8 increase  0x00000001 , 0x00000011 
+ 00032101  0x00006aec set1  0x00000025 , 0x00000000 
+ 00032102  0x00006aed bpatch  0x000000da , 0x0000403b 
+ 00032103  0x00006aee bmark0  0x00000023 , 0x00007d71 
+ 00032104  0x00006aef add  0x00000012 , 0x00000001 , 0x0000003f 
+ 00032105  0x00006af0 lshift  0x0000003f , 0x0000003f 
+ 00032106  0x00006af1 hstore  0x00000001 , 0x00008c18 
+ 00032107  0x00006af2 hjam  0x00000003 , 0x00008c18 
+ 00032108  0x00006af3 fetch  0x00000001 , 0x00000905 
+ 00032109  0x00006af4 increase  0xfffffffe , 0x0000003f 
+ 00032110  0x00006af5 rshift  0x0000003f , 0x0000003f 
+ 00032111  0x00006af6 store  0x00000001 , 0x00000905 
+ 00032112  0x00006af7 beq  0x00000000 , 0x00007d7a 
+ 00032113  0x00006af9 fetch  0x00000001 , 0x00000905 
+ 00032114  0x00006afa isub  0x00000012 , 0x0000003e 
+ 00032115  0x00006afb branch  0x00007d75 , 0x00000002 
+ 00032116  0x00006afc copy  0x0000003f , 0x00000012 
+ 00032117  0x00006afe copy  0x00000011 , 0x0000003f 
+ 00032118  0x00006aff store  0x00000002 , 0x0000090f 
+ 00032119  0x00006b00 copy  0x00000012 , 0x0000003f 
+ 00032120  0x00006b01 store  0x00000001 , 0x00000911 
+ 00032121  0x00006b02 branch  0x00007d7c 
+ 00032122  0x00006b05 arg  0x00000000 , 0x00000007 
+ 00032123  0x00006b06 branch  0x00007dd5 
+ 00032124  0x00006b0b set1  0x00000025 , 0x00000000 
+ 00032125  0x00006b0c bpatch  0x000000db , 0x0000403b 
+ 00032126  0x00006b0d fetch  0x00000001 , 0x00000911 
+ 00032127  0x00006b0e rtn  0x00000034 
+ 00032128  0x00006b0f copy  0x0000003f , 0x00000039 
+ 00032129  0x00006b10 sub  0x0000003f , 0x00000040 , 0x0000003e 
+ 00032130  0x00006b11 branch  0x00007d84 , 0x00000002 
+ 00032131  0x00006b12 arg  0x00000040 , 0x00000039 
+ 00032132  0x00006b14 fetch  0x00000001 , 0x00000911 
+ 00032133  0x00006b15 isub  0x00000039 , 0x0000003f 
+ 00032134  0x00006b16 store  0x00000001 , 0x00000911 
+ 00032135  0x00006b17 fetch  0x00000002 , 0x0000090f 
+ 00032136  0x00006b18 copy  0x0000003f , 0x00000006 
+ 00032137  0x00006b1a ifetch  0x00000001 , 0x00000006 
+ 00032138  0x00006b1b hstore  0x00000001 , 0x00008c18 
+ 00032139  0x00006b1c bmark0  0x00000023 , 0x00007d8d 
+ 00032140  0x00006b1d hjam  0x00000000 , 0x00008c18 
+ 00032141  0x00006b1f loop  0x00007d89 
+ 00032142  0x00006b20 copy  0x00000006 , 0x0000003f 
+ 00032143  0x00006b21 store  0x00000002 , 0x0000090f 
+ 00032144  0x00006b22 arg  0x00000000 , 0x00000007 
+ 00032145  0x00006b23 call  0x00007dd5 
+ 00032146  0x00006b24 fetch  0x00000001 , 0x00000911 
+ 00032147  0x00006b25 nrtn  0x00000034 
+ 00032148  0x00006b26 fetch  0x00000001 , 0x000008f8 
+ 00032149  0x00006b27 rtnne  0x00000001 
+ 00032150  0x00006b28 jam  0x00000002 , 0x000008f8 
+ 00032151  0x00006b29 rtn 
+ 00032152  0x00006b2d fetch  0x00000001 , 0x00000901 
+ 00032153  0x00006b2e sub  0x0000003f , 0x00000001 , 0x0000003e 
+ 00032154  0x00006b2f nbranch  0x00007d32 , 0x00000002 
+ 00032155  0x00006b31 fetch  0x00000001 , 0x000008ff 
+ 00032156  0x00006b32 bne  0x00000000 , 0x00007d32 
+ 00032157  0x00006b33 fetch  0x00000002 , 0x00000903 
+ 00032158  0x00006b34 bne  0x00000000 , 0x00007d32 
+ 00032159  0x00006b35 fetch  0x00000001 , 0x00000905 
+ 00032160  0x00006b36 bne  0x00000000 , 0x00007d32 
+ 00032161  0x00006b37 branch  0x00007d34 
+ 00032162  0x00006b3a fetch  0x00000001 , 0x000008ff 
+ 00032163  0x00006b3b bne  0x00000001 , 0x00007d32 
+ 00032164  0x00006b3c fetch  0x00000001 , 0x00000901 
+ 00032165  0x00006b3d bne  0x00000000 , 0x00007d32 
+ 00032166  0x00006b3e fetch  0x00000001 , 0x00000902 
+ 00032167  0x00006b3f bne  0x00000000 , 0x00007d32 
+ 00032168  0x00006b40 fetch  0x00000001 , 0x00000905 
+ 00032169  0x00006b41 bne  0x00000000 , 0x00007d32 
+ 00032170  0x00006b42 branch  0x00007d34 
+ 00032171  0x00006b45 fetch  0x00000001 , 0x00000901 
+ 00032172  0x00006b46 bne  0x00000001 , 0x00007d32 
+ 00032173  0x00006b47 jam  0x00000003 , 0x000008f8 
+ 00032174  0x00006b48 branch  0x00007d34 
+ 00032175  0x00006b4b fetch  0x00000001 , 0x00000901 
+ 00032176  0x00006b4c bne  0x00000001 , 0x00007d32 
+ 00032177  0x00006b4d branch  0x00007d34 
+ 00032178  0x00006b50 set1  0x00000025 , 0x00000000 
+ 00032179  0x00006b51 bpatch  0x000000dc , 0x0000403b 
+ 00032180  0x00006b52 hjam  0x00000000 , 0x00008c00 
+ 00032181  0x00006b53 nop  0x00002710 
+ 00032182  0x00006b54 hjam  0x000000c0 , 0x00008c10 
+ 00032183  0x00006b55 hfetch  0x00000002 , 0x00008050 
+ 00032184  0x00006b56 set0  0x0000000a , 0x0000003f 
+ 00032185  0x00006b57 hstore  0x00000002 , 0x00008050 
+ 00032186  0x00006b58 hjam  0x0000003c , 0x00008c00 
+ 00032187  0x00006b59 hjam  0x000000ff , 0x00008c26 
+ 00032188  0x00006b5a hjam  0x000000ff , 0x00008c27 
+ 00032189  0x00006b5b jam  0x00000000 , 0x00000ff0 
+ 00032190  0x00006b5c jam  0x00000000 , 0x000008f8 
+ 00032191  0x00006b5d setarg  0x00000000 
+ 00032192  0x00006b5e store  0x00000002 , 0x000008f9 
+ 00032193  0x00006b5f rtn 
+ 00032194  0x00006b63 set1  0x00000025 , 0x00000000 
+ 00032195  0x00006b64 bpatch  0x000000dd , 0x0000403b 
+ 00032196  0x00006b65 fetch  0x00000001 , 0x00000ff0 
+ 00032197  0x00006b66 rtn  0x00000034 
+ 00032198  0x00006b67 fetch  0x00000001 , 0x000008f8 
+ 00032199  0x00006b68 beq  0x00000003 , 0x00007dec 
+ 00032200  0x00006b69 rtnne  0x00000002 
+ 00032201  0x00006b6a fetch  0x00000001 , 0x00000ff0 
+ 00032202  0x00006b6b jam  0x00000000 , 0x00000ff0 
+ 00032203  0x00006b6c arg  0x00000006 , 0x00000039 
+ 00032204  0x00006b6d arg  0x00000ff1 , 0x00000006 
+ 00032205  0x00006b6e beq  0x00000002 , 0x00007dd0 
+ 00032206  0x00006b6f beq  0x00000001 , 0x00007de9 
+ 00032207  0x00006b70 branch  0x00003bf1 
+ 00032208  0x00006b73 arg  0x00008c19 , 0x00000011 
+ 00032209  0x00006b74 arg  0x00000001 , 0x00000007 
+ 00032210  0x00006b76 ifetch  0x00000001 , 0x00000006 
+ 00032211  0x00006b77 istore  0x00000001 , 0x00000011 
+ 00032212  0x00006b78 loop  0x00007dd2 
+ 00032213  0x00006b7a set1  0x00000025 , 0x00000000 
+ 00032214  0x00006b7b bpatch  0x000000de , 0x0000403b 
+ 00032215  0x00006b7c disable  0x00000010 
+ 00032216  0x00006b7d fetch  0x00000002 , 0x000008fd 
+ 00032217  0x00006b7e iforce  0x0000001b 
+ 00032218  0x00006b7f hjam  0x00000040 , 0x00008c26 
+ 00032219  0x00006b81 hfetch  0x00000001 , 0x00008c26 
+ 00032220  0x00006b82 branch  0x00007db2 , 0x00000003 
+ 00032221  0x00006b83 bbit0  0x00000006 , 0x00007ddb 
+ 00032222  0x00006b84 fetch  0x00000002 , 0x000008fd 
+ 00032223  0x00006b85 iforce  0x0000001b 
+ 00032224  0x00006b86 arg  0x00000000 , 0x00000002 
+ 00032225  0x00006b87 qset1  0x00000002 
+ 00032226  0x00006b88 hstoret  0x00000001 , 0x00008c27 
+ 00032227  0x00006b8a branch  0x00007db2 , 0x00000003 
+ 00032228  0x00006b8b hstoret  0x00000001 , 0x00008c10 
+ 00032229  0x00006b8c hfetch  0x00000001 , 0x00008c27 
+ 00032230  0x00006b8d qisolate0  0x0000003f 
+ 00032231  0x00006b8e branch  0x00007de3 , 0x00000001 
+ 00032232  0x00006b8f rtn 
+ 00032233  0x00006b93 arg  0x00000002 , 0x00000007 
+ 00032234  0x00006b94 arg  0x00008c1a , 0x00000011 
+ 00032235  0x00006b95 branch  0x00007dd2 
+ 00032236  0x00006b99 set1  0x00000025 , 0x00000000 
+ 00032237  0x00006b9a bpatch  0x000000df , 0x0000403b 
+ 00032238  0x00006b9b hjam  0x000000fc , 0x00008c00 
+ 00032239  0x00006b9c nop  0x00002710 
+ 00032240  0x00006b9d hjam  0x0000003c , 0x00008c00 
+ 00032241  0x00006b9e jam  0x00000004 , 0x000008f8 
+ 00032242  0x00006b9f rtn 
+ 00032243  0x00006ba2 fetch  0x00000001 , 0x00000ff0 
+ 00032244  0x00006ba3 nrtn  0x00000034 
+ 00032245  0x00006ba4 fetch  0x00000002 , 0x000008f2 
+ 00032246  0x00006ba5 rtn  0x00000034 
+ 00032247  0x00006ba6 increase  0xffffffff , 0x0000003f 
+ 00032248  0x00006ba7 store  0x00000002 , 0x000008f2 
+ 00032249  0x00006ba8 jam  0x00000001 , 0x00000ff0 
+ 00032250  0x00006ba9 rtn 
+ 00032251  0x00006bad sub  0x00000039 , 0x00000000 , 0x0000003e 
+ 00032252  0x00006bae rtn  0x00000005 
+ 00032253  0x00006bb0 rshift  0x0000003f , 0x0000003f 
+ 00032254  0x00006bb1 loop  0x00007dfd 
+ 00032255  0x00006bb2 rtn 
+ 00032256  0x00006bb5 deposit  0x00000005 
+ 00032257  0x00006bb6 store  0x00000002 , 0x000002b9 
+ 00032258  0x00006bb7 storet  0x00000008 , 0x000002a0 
+ 00032259  0x00006bb8 deposit  0x0000000b 
+ 00032260  0x00006bb9 store  0x00000004 , 0x000002a8 
+ 00032261  0x00006bba deposit  0x00000011 
+ 00032262  0x00006bbb store  0x00000004 , 0x000002ac 
+ 00032263  0x00006bbc deposit  0x00000012 
+ 00032264  0x00006bbd store  0x00000004 , 0x000002b0 
+ 00032265  0x00006bbe deposit  0x00000013 
+ 00032266  0x00006bbf store  0x00000003 , 0x000002b4 
+ 00032267  0x00006bc0 deposit  0x00000006 
+ 00032268  0x00006bc1 store  0x00000002 , 0x000002b7 
+ 00032269  0x00006bc2 rtn 
+ 00032270  0x00006bc4 fetcht  0x00000008 , 0x000002a0 
+ 00032271  0x00006bc5 fetch  0x00000004 , 0x000002a8 
+ 00032272  0x00006bc6 iforce  0x0000000b 
+ 00032273  0x00006bc7 fetch  0x00000004 , 0x000002ac 
+ 00032274  0x00006bc8 iforce  0x00000011 
+ 00032275  0x00006bc9 fetch  0x00000004 , 0x000002b0 
+ 00032276  0x00006bca iforce  0x00000012 
+ 00032277  0x00006bcb fetch  0x00000003 , 0x000002b4 
+ 00032278  0x00006bcc iforce  0x00000013 
+ 00032279  0x00006bcd fetch  0x00000002 , 0x000002b9 
+ 00032280  0x00006bce iforce  0x00000005 
+ 00032281  0x00006bcf fetch  0x00000002 , 0x000002b7 
+ 00032282  0x00006bd0 iforce  0x00000006 
+ 00032283  0x00006bd1 rtn 
+ 00032284  0x00006bd8 copy  0x00000005 , 0x0000003f 
+ 00032285  0x00006bd9 store  0x00000002 , 0x00000b7b 
+ 00032286  0x00006bda copy  0x00000006 , 0x0000003f 
+ 00032287  0x00006bdb store  0x00000002 , 0x00000b79 
+ 00032288  0x00006bdc rtn 
+ 00032289  0x00006bde fetch  0x00000002 , 0x00000b7b 
+ 00032290  0x00006bdf copy  0x0000003f , 0x00000005 
+ 00032291  0x00006be0 fetch  0x00000002 , 0x00000b79 
+ 00032292  0x00006be1 copy  0x0000003f , 0x00000006 
+ 00032293  0x00006be2 rtn 
+ 00032294  0x00006be7 copy  0x00000022 , 0x0000003f 
+ 00032295  0x00006be8 increase  0x00000010 , 0x0000003f 
+ 00032296  0x00006be9 increase  0x00000010 , 0x0000003f 
+ 00032297  0x00006beb copy  0x00000022 , 0x00000002 
+ 00032298  0x00006bec isub  0x00000002 , 0x0000003e 
+ 00032299  0x00006bed branch  0x00007e29 , 0x00000002 
+ 00032300  0x00006bee rtn 
+ 00032301  0x00006bf1 ifetch  0x00000008 , 0x00000006 
+ 00032302  0x00006bf2 istore  0x00000008 , 0x00000005 
+ 00032303  0x00006bf3 ifetch  0x00000008 , 0x00000006 
+ 00032304  0x00006bf4 istore  0x00000008 , 0x00000005 
+ 00032305  0x00006bf6 ifetch  0x00000008 , 0x00000006 
+ 00032306  0x00006bf7 istore  0x00000008 , 0x00000005 
+ 00032307  0x00006bf9 ifetch  0x00000008 , 0x00000006 
+ 00032308  0x00006bfa istore  0x00000008 , 0x00000005 
+ 00032309  0x00006bfc ifetch  0x00000008 , 0x00000006 
+ 00032310  0x00006bfd istore  0x00000008 , 0x00000005 
+ 00032311  0x00006bfe ifetch  0x00000008 , 0x00000006 
+ 00032312  0x00006bff istore  0x00000008 , 0x00000005 
+ 00032313  0x00006c00 rtn 
+ 00032314  0x00006c03 force  0x00000003 , 0x00000039 
+ 00032315  0x00006c05 force  0x00000000 , 0x0000003f 
+ 00032316  0x00006c07 istore  0x00000008 , 0x00000005 
+ 00032317  0x00006c08 loop  0x00007e3c 
+ 00032318  0x00006c09 rtn 
+ 00032319  0x00006c0d deposit  0x00000039 
+ 00032320  0x00006c0e rtn  0x00000034 
+ 00032321  0x00006c0f setarg  0x00000000 
+ 00032322  0x00006c11 istore  0x00000001 , 0x00000005 
+ 00032323  0x00006c12 loop  0x00007e42 
+ 00032324  0x00006c13 rtn 
+ 00032325  0x00006c18 deposit  0x00000039 
+ 00032326  0x00006c19 rtn  0x00000034 
+ 00032327  0x00006c1b ifetch  0x00000001 , 0x00000006 
+ 00032328  0x00006c1c istore  0x00000001 , 0x00000005 
+ 00032329  0x00006c1d loop  0x00007e47 
+ 00032330  0x00006c1e rtn 
+ 00032331  0x00006c21 setarg  0x00000000 
+ 00032332  0x00006c23 arg  0x0000423e , 0x00000005 
+ 00032333  0x00006c24 iforce  0x00000002 
+ 00032334  0x00006c25 lshift  0x00000007 , 0x0000003f 
+ 00032335  0x00006c26 iadd  0x00000005 , 0x00000005 
+ 00032336  0x00006c27 istoret  0x00000002 , 0x00000005 
+ 00032337  0x00006c28 rtn 
+ 00032338  0x00006c2b arg  0x00000000 , 0x00000007 
+ 00032339  0x00006c2d set1  0x00000025 , 0x00000000 
+ 00032340  0x00006c2e bpatch  0x000000bc , 0x00004037 
+ 00032341  0x00006c2f fetcht  0x00000004 , 0x00004134 
+ 00032342  0x00006c30 rshift  0x00000022 , 0x0000003f 
+ 00032343  0x00006c31 store  0x00000004 , 0x00004134 
+ 00032344  0x00006c32 isub  0x00000002 , 0x0000000b 
+ 00032345  0x00006c33 copy  0x0000000b , 0x00000002 
+ 00032346  0x00006c34 arg  0x0000423e , 0x00000006 
+ 00032347  0x00006c35 copy  0x00000006 , 0x00000005 
+ 00032348  0x00006c36 arg  0x00000010 , 0x00000039 
+ 00032349  0x00006c38 ifetch  0x00000002 , 0x00000006 
+ 00032350  0x00006c39 isub  0x00000002 , 0x0000003f 
+ 00032351  0x00006c3a branch  0x00007e61 , 0x00000002 
+ 00032352  0x00006c3b force  0x00000000 , 0x0000003f 
+ 00032353  0x00006c3d istore  0x00000002 , 0x00000005 
+ 00032354  0x00006c3e loop  0x00007e5d 
+ 00032355  0x00006c3f arg  0x0000423e , 0x00000006 
+ 00032356  0x00006c40 lshift  0x00000007 , 0x0000003f 
+ 00032357  0x00006c41 iadd  0x00000006 , 0x00000006 
+ 00032358  0x00006c42 ifetch  0x00000002 , 0x00000006 
+ 00032359  0x00006c43 rtn 
+ 00032360  0x00006c47 increase  0x00000001 , 0x00000007 
+ 00032361  0x00006c49 increase  0xffffffff , 0x00000007 
+ 00032362  0x00006c4a rtn  0x00000005 
+ 00032363  0x00006c4b lshift8  0x0000003f , 0x0000003f 
+ 00032364  0x00006c4c branch  0x00007e69 
+ 00032365  0x00006c51 iadd  0x00000002 , 0x00000002 
+ 00032366  0x00006c52 copy  0x00000002 , 0x00000039 
+ 00032367  0x00006c53 setarg  0x00000ea6 
+ 00032368  0x00006c54 isub  0x00000039 , 0x0000003f 
+ 00032369  0x00006c55 rtn  0x00000002 
+ 00032370  0x00006c56 sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00032371  0x00006c57 rshift16  0x00000002 , 0x00000002 
+ 00032372  0x00006c58 increase  0x00000001 , 0x00000002 
+ 00032373  0x00006c59 lshift16  0x00000002 , 0x00000002 
+ 00032374  0x00006c5a ior  0x00000002 , 0x00000002 
+ 00032375  0x00006c5b rtn 
+ 00032376  0x00006c5e call  0x00007e7a 
+ 00032377  0x00006c5f branch  0x00007e84 
+ 00032378  0x00006c63 disable  0x00000028 
+ 00032379  0x00006c64 isub  0x00000002 , 0x0000003f 
+ 00032380  0x00006c65 branch  0x00007e7f , 0x00000002 
+ 00032381  0x00006c66 enable  0x00000028 
+ 00032382  0x00006c67 sub  0x0000003f , 0x00000000 , 0x0000003f 
+ 00032383  0x00006c69 rtnbit0  0x0000000f 
+ 00032384  0x00006c6a arg  0xffff0ea6 , 0x00000002 
+ 00032385  0x00006c6b iadd  0x00000002 , 0x0000003f 
+ 00032386  0x00006c6c set0  0x00000040 , 0x0000003f 
+ 00032387  0x00006c6d rtn 
+ 00032388  0x00006c70 iforce  0x00000006 
+ 00032389  0x00006c71 rshift16  0x0000003f , 0x0000003f 
+ 00032390  0x00006c72 arg  0x00000ea6 , 0x00000002 
+ 00032391  0x00006c73 imul32  0x00000002 , 0x0000003f 
+ 00032392  0x00006c74 iadd  0x00000006 , 0x0000003f 
+ 00032393  0x00006c75 rtn 
+ 00032394  0x00006c79 lshift8  0x0000003f , 0x0000003f 
+ 00032395  0x00006c7a lshift4  0x0000003f , 0x0000003f 
+ 00032396  0x00006c7b fetcht  0x00000003 , 0x00004210 
+ 00032397  0x00006c7c idiv  0x00000002 
+ 00032398  0x00006c7d call  0x00007efd 
+ 00032399  0x00006c7e quotient  0x00000002 
+ 00032400  0x00006c7f rtn 
+ 00032401  0x00006c83 arg  0x00000ea6 , 0x00000002 
+ 00032402  0x00006c84 idiv  0x00000002 
+ 00032403  0x00006c85 call  0x00007efd 
+ 00032404  0x00006c86 quotient  0x0000003f 
+ 00032405  0x00006c87 lshift16  0x0000003f , 0x0000003f 
+ 00032406  0x00006c88 remainder  0x00000002 
+ 00032407  0x00006c89 ior  0x00000002 , 0x00000002 
+ 00032408  0x00006c8a rtn 
+ 00032409  0x00006c8e arg  0x00000003 , 0x00000039 
+ 00032410  0x00006c8f branch  0x00007e9e 
+ 00032411  0x00006c91 arg  0x00000002 , 0x00000039 
+ 00032412  0x00006c92 branch  0x00007e9e 
+ 00032413  0x00006c97 arg  0x00000006 , 0x00000039 
+ 00032414  0x00006c99 ifetch  0x00000001 , 0x00000011 
+ 00032415  0x00006c9a copy  0x0000003f , 0x00000002 
+ 00032416  0x00006c9b rshift4  0x0000003f , 0x0000003f 
+ 00032417  0x00006c9c call  0x00007eaa 
+ 00032418  0x00006c9d istore  0x00000001 , 0x0000000a 
+ 00032419  0x00006c9e copy  0x00000002 , 0x0000003f 
+ 00032420  0x00006c9f and  0x0000003f , 0x0000000f , 0x0000003f 
+ 00032421  0x00006ca0 call  0x00007eaa 
+ 00032422  0x00006ca1 istore  0x00000001 , 0x0000000a 
+ 00032423  0x00006ca2 increase  0x00000001 , 0x00000011 
+ 00032424  0x00006ca3 loop  0x00007e9e 
+ 00032425  0x00006ca4 rtn 
+ 00032426  0x00006ca6 sub  0x0000003f , 0x00000009 , 0x0000003e 
+ 00032427  0x00006ca7 branch  0x00007eae , 0x00000002 
+ 00032428  0x00006ca8 increase  0x00000057 , 0x0000003f 
+ 00032429  0x00006ca9 rtn 
+ 00032430  0x00006cab add  0x0000003f , 0x00000030 , 0x0000003f 
+ 00032431  0x00006cac rtn 
+ 00032432  0x00006cb3 arg  0x00000000 , 0x00000002 
+ 00032433  0x00006cb5 copy  0x00000002 , 0x00000013 
+ 00032434  0x00006cb6 ifetch  0x00000001 , 0x00000003 
+ 00032435  0x00006cb7 sub  0x0000003f , 0x0000002c , 0x0000003e 
+ 00032436  0x00006cb8 rtn  0x00000005 
+ 00032437  0x00006cb9 call  0x00007ec9 
+ 00032438  0x00006cba copy  0x00000013 , 0x00000002 
+ 00032439  0x00006cbb call  0x00007f32 
+ 00032440  0x00006cbc arg  0x0000000a , 0x00000012 
+ 00032441  0x00006cbd imul32  0x00000012 , 0x0000003f 
+ 00032442  0x00006cbe iadd  0x00000002 , 0x0000003f 
+ 00032443  0x00006cbf copy  0x0000003f , 0x00000002 
+ 00032444  0x00006cc0 branch  0x00007eb1 
+ 00032445  0x00006cc4 arg  0x00000002 , 0x00000039 
+ 00032446  0x00006cc5 branch  0x00007ec0 
+ 00032447  0x00006cc7 arg  0x00000006 , 0x00000039 
+ 00032448  0x00006ccc ifetch  0x00000001 , 0x00000003 
+ 00032449  0x00006ccd call  0x00007ec9 
+ 00032450  0x00006cce lshift4  0x0000003f , 0x00000013 
+ 00032451  0x00006ccf ifetch  0x00000001 , 0x00000003 
+ 00032452  0x00006cd0 call  0x00007ec9 
+ 00032453  0x00006cd1 iadd  0x00000013 , 0x0000003f 
+ 00032454  0x00006cd2 istore  0x00000001 , 0x00000005 
+ 00032455  0x00006cd3 loop  0x00007ec0 
+ 00032456  0x00006cd4 rtn 
+ 00032457  0x00006cd7 arg  0x0000003a , 0x00000002 
+ 00032458  0x00006cd8 isub  0x00000002 , 0x0000003e 
+ 00032459  0x00006cd9 nbranch  0x00007ed2 , 0x00000002 
+ 00032460  0x00006cda arg  0x00000061 , 0x00000002 
+ 00032461  0x00006cdb isub  0x00000002 , 0x0000003e 
+ 00032462  0x00006cdc branch  0x00007ed5 , 0x00000002 
+ 00032463  0x00006cdd arg  0x00000037 , 0x00000002 
+ 00032464  0x00006cde isub  0x00000002 , 0x0000003f 
+ 00032465  0x00006cdf rtn 
+ 00032466  0x00006ce1 arg  0x00000030 , 0x00000002 
+ 00032467  0x00006ce2 isub  0x00000002 , 0x0000003f 
+ 00032468  0x00006ce3 rtn 
+ 00032469  0x00006ce5 arg  0x00000057 , 0x00000002 
+ 00032470  0x00006ce6 isub  0x00000002 , 0x0000003f 
+ 00032471  0x00006ce7 rtn 
+ 00032472  0x00006cea copy  0x00000002 , 0x00000030 
+ 00032473  0x00006ceb setarg  0x000001ff 
+ 00032474  0x00006cec force  0x00000000 , 0x00000012 
+ 00032475  0x00006cee rshift3  0x0000003f , 0x00000011 
+ 00032476  0x00006cef rshift  0x00000011 , 0x00000011 
+ 00032477  0x00006cf0 ixor  0x00000011 , 0x00000011 
+ 00032478  0x00006cf1 isolate1  0x00000000 , 0x00000011 
+ 00032479  0x00006cf2 setflag  0x00000001 , 0x00000009 , 0x0000003f 
+ 00032480  0x00006cf3 rshift  0x00000002 , 0x00000002 
+ 00032481  0x00006cf4 isolate1  0x00000000 , 0x0000003f 
+ 00032482  0x00006cf5 setflag  0x00000001 , 0x00000007 , 0x00000002 
+ 00032483  0x00006cf6 rshift  0x0000003f , 0x0000003f 
+ 00032484  0x00006cf7 increase  0x00000001 , 0x00000012 
+ 00032485  0x00006cf8 compare  0x00000000 , 0x00000012 , 0x00000007 
+ 00032486  0x00006cf9 nbranch  0x00007edb , 0x00000001 
+ 00032487  0x00006cfa istoret  0x00000001 , 0x00000005 
+ 00032488  0x00006cfb loop  0x00007edb 
+ 00032489  0x00006cfc copy  0x00000030 , 0x00000002 
+ 00032490  0x00006cfd rtn 
+ 00032491  0x00006d00 div  0x0000003f , 0x0000000a 
+ 00032492  0x00006d01 call  0x00007efd 
+ 00032493  0x00006d02 quotient  0x0000003f 
+ 00032494  0x00006d03 lshift2  0x0000003f , 0x00000011 
+ 00032495  0x00006d04 lshift2  0x00000011 , 0x00000011 
+ 00032496  0x00006d05 remainder  0x0000003f 
+ 00032497  0x00006d06 ior  0x00000011 , 0x0000003f 
+ 00032498  0x00006d07 rtn 
+ 00032499  0x00006d0a isolate1  0x00000000 , 0x00000011 
+ 00032500  0x00006d0b branch  0x00007ef7 , 0x00000001 
+ 00032501  0x00006d0c iforce  0x00000012 
+ 00032502  0x00006d0d rtn 
+ 00032503  0x00006d0f lshift2  0x0000003f , 0x0000003f 
+ 00032504  0x00006d10 lshift2  0x0000003f , 0x0000003f 
+ 00032505  0x00006d11 ior  0x00000012 , 0x0000003f 
+ 00032506  0x00006d12 istore  0x00000001 , 0x00000005 
+ 00032507  0x00006d13 increase  0xfffffffe , 0x00000005 
+ 00032508  0x00006d14 rtn 
+ 00032509  0x00006d17 rtn  0x00000035 
+ 00032510  0x00006d18 branch  0x00007efd 
+ 00032511  0x00006d1c store  0x00000008 , 0x00000161 
+ 00032512  0x00006d1d force  0x00000020 , 0x0000003f 
+ 00032513  0x00006d1e force  0x00000008 , 0x00000039 
+ 00032514  0x00006d1f arg  0x00000028 , 0x00000005 
+ 00032515  0x00006d21 istore  0x00000001 , 0x00000005 
+ 00032516  0x00006d22 loop  0x00007f03 
+ 00032517  0x00006d23 arg  0x00000028 , 0x00000005 
+ 00032518  0x00006d24 increase  0x00000007 , 0x00000005 
+ 00032519  0x00006d25 fetch  0x00000008 , 0x00000161 
+ 00032520  0x00006d27 div  0x0000003f , 0x0000000a 
+ 00032521  0x00006d28 call  0x00007efd 
+ 00032522  0x00006d29 remainder  0x0000003f 
+ 00032523  0x00006d2a or_into  0x00000030 , 0x0000003f 
+ 00032524  0x00006d2b istore  0x00000001 , 0x00000005 
+ 00032525  0x00006d2c increase  0xfffffffe , 0x00000005 
+ 00032526  0x00006d2d quotient  0x0000003f 
+ 00032527  0x00006d2e rtn  0x00000034 
+ 00032528  0x00006d2f branch  0x00007f08 
+ 00032529  0x00006d35 store  0x00000008 , 0x00000161 
+ 00032530  0x00006d36 force  0x00000000 , 0x0000003f 
+ 00032531  0x00006d37 store  0x00000008 , 0x00000028 
+ 00032532  0x00006d38 arg  0x00000028 , 0x00000005 
+ 00032533  0x00006d39 increase  0x00000007 , 0x00000005 
+ 00032534  0x00006d3a fetch  0x00000008 , 0x00000161 
+ 00032535  0x00006d3b force  0x00000000 , 0x00000011 
+ 00032536  0x00006d3d div  0x0000003f , 0x0000000a 
+ 00032537  0x00006d3e call  0x00007efd 
+ 00032538  0x00006d3f remainder  0x0000003f 
+ 00032539  0x00006d40 call  0x00007ef3 
+ 00032540  0x00006d41 increase  0x00000001 , 0x00000011 
+ 00032541  0x00006d42 quotient  0x0000003f 
+ 00032542  0x00006d43 sub  0x0000003f , 0x00000009 , 0x0000003e 
+ 00032543  0x00006d44 nbranch  0x00007f18 , 0x00000002 
+ 00032544  0x00006d45 call  0x00007ef3 
+ 00032545  0x00006d46 isolate1  0x00000000 , 0x00000011 
+ 00032546  0x00006d47 rtn  0x00000001 
+ 00032547  0x00006d48 istore  0x00000001 , 0x00000005 
+ 00032548  0x00006d49 rtn 
+ 00032549  0x00006d52 ifetch  0x00000001 , 0x00000011 
+ 00032550  0x00006d53 ifetcht  0x00000001 , 0x00000012 
+ 00032551  0x00006d54 isub  0x00000002 , 0x0000003e 
+ 00032552  0x00006d55 nrtn  0x00000005 
+ 00032553  0x00006d56 increase  0x00000001 , 0x00000011 
+ 00032554  0x00006d57 increase  0x00000001 , 0x00000012 
+ 00032555  0x00006d58 loop  0x00007f25 
+ 00032556  0x00006d59 force  0x00000000 , 0x0000003e 
+ 00032557  0x00006d5a rtn 
+ 00032558  0x00006d5e isub  0x00000002 , 0x0000003e 
+ 00032559  0x00006d5f nrtn  0x00000002 
+ 00032560  0x00006d60 deposit  0x00000002 
+ 00032561  0x00006d61 rtn 
+ 00032562  0x00006d64 iadd  0x00000002 , 0x0000003f 
+ 00032563  0x00006d65 isub  0x00000002 , 0x00000002 
+ 00032564  0x00006d66 isub  0x00000002 , 0x0000003f 
+ 00032565  0x00006d67 rtn 
+ 00032566  0x00006d6a arg  0x00000200 , 0x00000039 
+ 00032567  0x00006d6b arg  0x00004000 , 0x00000005 
+ 00032568  0x00006d6c branch  0x00007e3b 
+ 00032569  0x00006d6f fetch  0x00000005 , 0x0000009c 
+ 00032570  0x00006d70 store  0x00000005 , 0x00000161 
+ 00032571  0x00006d71 fetch  0x00000002 , 0x00004210 
+ 00032572  0x00006d72 istore  0x00000002 , 0x00000005 
+ 00032573  0x00006d73 setarg  0x00000000 
+ 00032574  0x00006d74 setflag  0x0000002d , 0x00000007 , 0x0000003f 
+ 00032575  0x00006d75 setflag  0x0000002b , 0x00000006 , 0x0000003f 
+ 00032576  0x00006d76 setflag  0x00000018 , 0x00000005 , 0x0000003f 
+ 00032577  0x00006d77 setflag  0x0000002e , 0x00000004 , 0x0000003f 
+ 00032578  0x00006d78 istore  0x00000001 , 0x00000005 
+ 00032579  0x00006d79 branch  0x00007f52 
+ 00032580  0x00006d7d fetch  0x00000005 , 0x0000009c 
+ 00032581  0x00006d7e store  0x00000005 , 0x00000161 
+ 00032582  0x00006d7f fetch  0x00000001 , 0x00000016 
+ 00032583  0x00006d80 istore  0x00000001 , 0x00000005 
+ 00032584  0x00006d81 fetch  0x00000002 , 0x000003da 
+ 00032585  0x00006d82 arg  0x00000fff , 0x00000006 
+ 00032586  0x00006d83 iand  0x00000006 , 0x0000003f 
+ 00032587  0x00006d84 setflag  0x0000002d , 0x0000000f , 0x0000003f 
+ 00032588  0x00006d85 setflag  0x0000002b , 0x0000000e , 0x0000003f 
+ 00032589  0x00006d86 setflag  0x00000018 , 0x0000000d , 0x0000003f 
+ 00032590  0x00006d87 setflag  0x0000002e , 0x0000000c , 0x0000003f 
+ 00032591  0x00006d88 istore  0x00000002 , 0x00000005 
+ 00032592  0x00006d89 branch  0x00007f52 
+ 00032593  0x00006d8b store  0x00000008 , 0x00000161 
+ 00032594  0x00006d8d fetch  0x00000001 , 0x0000416e 
+ 00032595  0x00006d8e rtneq  0x0000007f 
+ 00032596  0x00006d8f and_into  0x0000007f , 0x0000003f 
+ 00032597  0x00006d90 lshift3  0x0000003f , 0x0000003f 
+ 00032598  0x00006d91 arg  0x00004c00 , 0x00000005 
+ 00032599  0x00006d92 iadd  0x00000005 , 0x00000005 
+ 00032600  0x00006d93 fetch  0x00000008 , 0x00000161 
+ 00032601  0x00006d94 istore  0x00000008 , 0x00000005 
+ 00032602  0x00006d95 fetch  0x00000001 , 0x0000416e 
+ 00032603  0x00006d96 isolate1  0x00000007 , 0x0000003f 
+ 00032604  0x00006d97 increase  0x00000001 , 0x0000003f 
+ 00032605  0x00006d98 and_into  0x0000007f , 0x0000003f 
+ 00032606  0x00006d99 setflag  0x00000001 , 0x00000007 , 0x0000003f 
+ 00032607  0x00006d9a store  0x00000001 , 0x0000416e 
+ 00032608  0x00006d9b fetch  0x00000008 , 0x00000161 
+ 00032609  0x00006d9c rtn 
+ 00032610  0x00006d9f arg  0x00000800 , 0x00000039 
+ 00032611  0x00006da0 arg  0x00000000 , 0x00000005 
+ 00032612  0x00006da1 setarg  0x01010101 
+ 00032613  0x00006da2 branch  0x00007e3c 
+ 00032614  0x00006da6 rtn  0x00000034 
+ 00032615  0x00006da7 copy  0x0000003f , 0x0000003d 
+ 00032616  0x00006dab hfetch  0x00000002 , 0x0000810e 
+ 00032617  0x00006dac nbranch  0x00007f68 , 0x00000034 
+ 00032618  0x00006dad rtn 
+ 00032619  0x00006db0 hfetch  0x00000002 , 0x00008058 
+ 00032620  0x00006db1 copy  0x0000003f , 0x00000003 
+ 00032621  0x00006db2 rtn 
+ 00032622  0x00006db5 hfetch  0x00000002 , 0x0000805e 
+ 00032623  0x00006db6 copy  0x0000003f , 0x0000000a 
+ 00032624  0x00006db7 rtn 
+ 00032625  0x00006dba copy  0x00000006 , 0x00000011 
+ 00032626  0x00006dbb call  0x00007f6e 
+ 00032627  0x00006dbc copy  0x00000011 , 0x00000006 
+ 00032628  0x00006dbe call  0x00004976 
+ 00032629  0x00006dbf call  0x000068fa 
+ 00032630  0x00006dc0 branch  0x00007f68 
+ 00032631  0x00006dc3 hjam  0x00000001 , 0x00008203 
+ 00032632  0x00006dc4 rtn 
+ 00032633  0x00006dc7 hstore  0x00000002 , 0x00008205 
+ 00032634  0x00006dc8 hfetch  0x00000001 , 0x00008203 
+ 00032635  0x00006dc9 set1  0x00000004 , 0x0000003f 
+ 00032636  0x00006dca hstore  0x00000001 , 0x00008203 
+ 00032637  0x00006dcb rtn 
+ 00032638  0x00006dcd hstore  0x00000002 , 0x00008207 
+ 00032639  0x00006dce hfetch  0x00000001 , 0x00008203 
+ 00032640  0x00006dcf set1  0x00000006 , 0x0000003f 
+ 00032641  0x00006dd0 hstore  0x00000001 , 0x00008203 
+ 00032642  0x00006dd1 rtn 
+ 00032643  0x00006dd4 hstore  0x00000002 , 0x00008205 
+ 00032644  0x00006dd5 hjam  0x00000030 , 0x00008203 
+ 00032645  0x00006dd6 rtn 
+ 00032646  0x00006dd9 hfetch  0x00000001 , 0x00008043 
+ 00032647  0x00006dda set1  0x00000004 , 0x0000003f 
+ 00032648  0x00006ddb hstore  0x00000001 , 0x00008043 
+ 00032649  0x00006ddc rtn 
+ 00032650  0x00006ddf hfetch  0x00000001 , 0x00008043 
+ 00032651  0x00006de0 set0  0x00000004 , 0x0000003f 
+ 00032652  0x00006de1 hstore  0x00000001 , 0x00008043 
+ 00032653  0x00006de2 rtn 
+ 00032654  0x00006de5 hfetch  0x00000002 , 0x0000810e 
+ 00032655  0x00006de6 arg  0x00000200 , 0x00000002 
+ 00032656  0x00006de8 isub  0x00000002 , 0x0000003e 
+ 00032657  0x00006de9 rtn 
+ 00032658  0x00006df0 set1  0x00000025 , 0x00000000 
+ 00032659  0x00006df1 bpatch  0x000000bd , 0x00004037 
+ 00032660  0x00006df2 ifetcht  0x00000005 , 0x00000011 
+ 00032661  0x00006df3 and  0x00000002 , 0x000000ff , 0x0000003f 
+ 00032662  0x00006df4 nbranch  0x00007f99 , 0x00000034 
+ 00032663  0x00006df5 rshift8  0x00000002 , 0x0000003f 
+ 00032664  0x00006df6 istore  0x00000005 , 0x00000011 
+ 00032665  0x00006df8 increase  0x00000004 , 0x00000011 
+ 00032666  0x00006df9 ifetch  0x00000001 , 0x00000011 
+ 00032667  0x00006dfa nbranch  0x00003bf1 , 0x00000034 
+ 00032668  0x00006dfb fetch  0x00000001 , 0x00000b7d 
+ 00032669  0x00006dfc istore  0x00000001 , 0x00000011 
+ 00032670  0x00006dfd rtn 
+ 00032671  0x00006e03 set1  0x00000025 , 0x00000000 
+ 00032672  0x00006e04 bpatch  0x000000be , 0x00004037 
+ 00032673  0x00006e05 arg  0x00000005 , 0x00000039 
+ 00032674  0x00006e06 ifetch  0x00000005 , 0x00000011 
+ 00032675  0x00006e07 rtn  0x00000034 
+ 00032676  0x00006e09 ifetch  0x00000001 , 0x00000011 
+ 00032677  0x00006e0a nbranch  0x00007fa9 , 0x00000034 
+ 00032678  0x00006e0b increase  0x00000001 , 0x00000011 
+ 00032679  0x00006e0c loop  0x00007fa4 
+ 00032680  0x00006e0d branch  0x00003bf1 
+ 00032681  0x00006e0f arg  0x00000000 , 0x00000002 
+ 00032682  0x00006e10 istoret  0x00000001 , 0x00000011 
+ 00032683  0x00006e11 rtn 
+ 00032684  0x00006e17 ifetch  0x00000005 , 0x00000011 
+ 00032685  0x00006e18 rtn 
+ 00032686  0x00006e1e ifetch  0x00000001 , 0x00000011 
+ 00032687  0x00006e1f rtn 
+ 00032688  0x00006e23 ifetch  0x00000002 , 0x00000011 
+ 00032689  0x00006e24 rtn 
+ 00032690  0x00006e29 arg  0x00000000 , 0x00000002 
+ 00032691  0x00006e2b fetch  0x00000001 , 0x00000006 
+ 00032692  0x00006e2c loop  0x00007fb3 , 0x00000034 
+ 00032693  0x00006e2d increase  0x00000001 , 0x00000002 
+ 00032694  0x00006e2e loop  0x00007fb3 
+ 00032695  0x00006e2f copy  0x00000002 , 0x0000003f 
+ 00032696  0x00006e30 rtn 
+ 00032697  0x00006e33 isub  0x00000002 , 0x0000003e 
+ 00032698  0x00006e34 nrtn  0x00000002 
+ 00032699  0x00006e35 copy  0x00000002 , 0x0000003f 
+ 00032700  0x00006e36 rtn 
Index: output/bt_program23.list
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/output/bt_program23.list	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/output/bt_program23.list	(working copy)
@@ -0,0 +1,24489 @@
+              include "bt_format "
+              org 0x0000
+0x0 000039 bmark1 mark_ext_patch ,patch_ext 
+0x1 000040 beq patch00_0 ,p_soft_reset 
+0x2 000041 beq patch15_4 ,p_soft_reset_1 
+0x3 000042 beq patch00_3 ,p_main_loop 
+0x4 000043 beq patch00_5 ,p_main_loop_end 
+0x5 000044 beq patch01_2 ,p_idle_page_mode_r0 
+0x6 000045 beq patch04_7 ,p_role_switch_check 
+0x7 000046 beq patch05_0 ,p_role_switch_prepare0_0 
+0x8 000047 beq patch05_3 ,p_roles_replyto_fhs 
+0x9 000048 beq patch08_2 ,p_slave_loop 
+0xa 000049 beq patch08_3 ,p_slave_notmatch 
+0xb 000050 beq patch0a_0 ,p_prepare_tx_not_sco 
+0xc 000051 beq patch0a_4 ,p_tx_l2cap_type 
+0xd 000052 beq patch12_0 ,p_shutdown_radio 
+0xe 000053 beq patch12_2 ,p_set_freq_rx 
+0xf 000054 beq patch12_4 ,p_set_freq_tx 
+0x10 000055 beq patch12_5 ,p_initialize_radio_cont 
+0x11 000056 beq patch16_0 ,p_lpm_sleep 
+0x12 000057 beq patch16_1 ,p_lpm_recover_clk 
+0x13 000058 beq patch16_2 ,p_lpm_dispatch 
+0x14 000059 beq patch16_3 ,p_lpm_dispatch_next 
+0x15 000060 beq patch16_6 ,p_lpm_dispatch_unconn 
+0x16 000061 beq patch17_1 ,p_lpm_cal_xtal_startup 
+0x17 000062 branch assert 
+:      000065 patch_ext:
+0x18 000066 beq patch20_7 ,p_iicd_write_eep 
+0x19 000067 beq patch23_0 ,p_l2cap_rx_multiplexing 
+0x1a 000068 beq patch23_3 ,p_l2cap_process_one_signal 
+0x1b 000069 beq patch24_3 ,p_ml2cap_call_proc_signal 
+0x1c 000070 beq patch24_4 ,p_l2cap_malloc 
+0x1d 000071 beq patch27_6 ,p_le_enable 
+0x1e 000072 beq patch27_7 ,p_le_disable 
+0x1f 000073 beq patch30_7 ,p_ui_timer_check 
+0x20 000074 beq patch31_5 ,p_check_51cmd_once 
+0x21 000075 beq patch31_6 ,p_check_51cmd_once_continue 
+0x22 000076 beq patch31_7 ,p_check_enter_hibernate 
+0x23 000078 beq patch33_4 ,p_hid_rx_process 
+0x24 000080 beq patch33_7 ,p_scheduler_process_sdp_succ 
+0x25 000081 beq patch39_5 ,p_mouse_init 
+0x26 000082 beq patch39_7 ,p_app_process_bb_event 
+0x27 000084 beq patch3a_0 ,p_mouse_bb_event_timer 
+0x28 000085 beq patch3c_2 ,p_parse_lmp 
+0x29 000086 beq patch3c_3 ,p_send_lmp 
+0x2a 000087 beq patch3c_6 ,p_process_conn_sm 
+0x2b 000090 branch assert 
+:      000093 p_main_loop:
+0x2c 000098 call p_ipc_timer_check 
+0x2d 000099 call p_ipc_rx 
+0x2e 000101 branch main_loop + 2 
+:      000102 p_soft_reset:
+0x2f 000103 hfetch 1 ,0x813b 
+0x30 000104 store 1 ,mem_wakup_from_power_flag 
+0x31 000105 hjam lock_otp ,core_misc_ctrl 
+0x32 000106 branch soft_reset + 2 
+:      000109 p_set_iv:
+0x33 000110 force regidx_xor ,regext_index 
+0x34 000111 arg 0 ,regext 
+0x35 000112 arg 3 ,loopcnt 
+:      000113 p_set_iv_loop:
+0x36 000114 increase 1 ,regext_index 
+0x37 000115 arg 0 ,regext 
+0x38 000116 loop p_set_iv_loop 
+0x39 000117 rtn 
+:      000118 p_clear_load_key:
+0x3a 000119 force regidx_key ,regext_index 
+0x3b 000120 force 4 ,loopcnt 
+:      000121 p_load_regext_loop:
+0x3c 000122 setarg 0 
+0x3d 000123 iforce regext 
+0x3e 000124 increase 1 ,regext_index 
+0x3f 000125 loop p_load_regext_loop 
+0x40 000126 rtn 
+:      000127 p_aes_init:
+0x41 000128 call aes_clear_data 
+0x42 000129 call aes_init 
+0x43 000130 call p_clear_load_key 
+0x44 000131 branch p_set_iv 
+:      000132 p_soft_reset_1:
+0x45 000133 hjam 0x84 ,rf_clkpll_bias 
+0x46 000134 call p_aes_init 
+0x47 000135 hfetch 1 ,0x8085 
+0x48 000136 set1 5 ,pdata 
+0x49 000137 hstore 1 ,0x8085 
+0x4a 000138 setarg 0xee21 
+0x4b 000139 hstore 2 ,core_clkoff 
+0x4c 000140 hfetch 1 ,core_lpm_ldocnt 
+0x4d 000141 hjam 0x25 ,core_clkoff 
+0x4e 000142 hjam 5 ,core_docd_ctrl 
+0x4f 000143 call clean_mem 
+0x50 000144 setarg 0x20 
+0x51 000145 store 2 ,mem_otp_ucode_flag 
+0x52 000146 call loadcode_lpm + 6 
+0x53 000147 fetch 1 ,0x4015 
+0x54 000148 set0 4 ,pdata 
+0x55 000149 store 1 ,0x4015 
+0x56 000150 branch soft_reset 
+:      000153 p_process_conn_sm:
+0x57 000154 fetch 1 ,mem_lmo_opcode2 
+0x58 000155 branch p_process_conn_sm_continue ,blank 
+0x59 000156 call lmo_fifo_process 
+0x5a 000157 fetch 1 ,mem_lmo_opcode2 
+0x5b 000158 nrtn blank 
+:      000159 p_process_conn_sm_continue:
+0x5c 000160 fetch 1 ,mem_conn_sm 
+0x5d 000161 rtn blank 
+0x5e 000162 beq conn_sm_auth_pair ,p_host_create_conn_auth_pair 
+0x5f 000163 beq conn_sm_wait_switch_after_host_connection ,p_host_creat_conn_wait_switch 
+0x60 000164 branch process_conn_sm_continue + 2 
+:      000166 p_host_creat_conn_wait_switch:
+0x61 000167 fetch 1 ,mem_switch_flag 
+0x62 000168 rtneq switch_flag_init 
+0x63 000169 beq switch_flag_accept ,p_host_create_conn_switch_accept 
+0x64 000170 arg switch_wait_timer ,queue 
+0x65 000171 call timer_check 
+0x66 000172 nrtn blank 
+0x67 000173 jam switch_flag_init ,mem_switch_flag 
+0x68 000174 branch host_create_conn_switch 
+:      000175 p_host_create_conn_switch_accept:
+0x69 000176 rtn master 
+0x6a 000177 branch p_host_create_conn_auth_pair 
+:      000179 p_host_create_conn_auth_pair:
+0x6b 000181 fetch 1 ,mem_connection_options 
+0x6c 000182 bbit1 connection_switch ,host_create_conn_switch 
+0x6d 000183 bbit1 connection_auth ,p_host_create_conn_auth_pair_true 
+:      000184 p_host_create_conn_auth_pair_true:
+0x6e 000185 fetch 1 ,mem_link_key_exists 
+0x6f 000186 branch host_create_conn_auth_pair_nokey ,blank 
+0x70 000187 fetch 1 ,mem_lmp_conn_state 
+0x71 000188 rtnbit0 sent_setup_complete 
+0x72 000189 rtnbit0 received_setup_complete 
+0x73 000190 fetch 4 ,mem_aurand_send_delay_time 
+0x74 000191 arg 800 ,temp 
+0x75 000192 iadd temp ,temp 
+0x76 000193 copy clkn_bt ,pdata 
+0x77 000194 isub temp ,null 
+0x78 000195 nrtn positive 
+0x79 000196 branch host_create_conn_auth 
+:      000198 p_app_process_bb_event:
+0x7a 000199 arg mem_ipc_fifo_bt2c51 ,rega 
+0x7b 000200 call fifo_out 
+0x7c 000201 rtn blank 
+0x7d 000203 copy pdata ,regc 
+0x7e 000204 call p_app_event_normal_process 
+0x7f 000205 branch app_process_bb_event_priority 
+:      000206 p_app_event_normal_process:
+0x80 000207 rtneq bt_evt_linkkey_generate 
+0x81 000208 beq bt_evt_hid_connected ,mouse_bt_hid_connected 
+0x82 000209 beq bt_evt_bb_disconnected ,p_app_bb_event_bb_disconn 
+0x83 000210 branch app_event_normal_process 
+:      000212 p_app_bb_event_bb_disconn:
+0x84 000213 jam 0 ,mem_unsniff2sniff_timer_count 
+0x85 000214 fetch 2 ,mem_ui_state_map 
+0x86 000215 bbit1 ui_state_bt_reconnect ,app_bb_event_bb_reconn_disconn 
+0x87 000216 isolate0 ui_state_bt_setup_complete ,pdata 
+0x88 000217 call p_app_discard_event ,true 
+0x89 000218 branch app_bb_event_bb_reconn_disconn 
+:      000220 p_app_discard_event:
+0x8a 000221 fetch 1 ,mem_pincode_state 
+0x8b 000222 rtneq pincode_state_pincode_ready 
+0x8c 000223 branch app_discard_event 
+:      000227 p_l2cap_rx_multiplexing:
+0x8d 000228 fetch 2 ,mem_l2cap_rx_pkt_length 
+0x8e 000229 branch l2cap_rx_reset_state ,blank 
+0x8f 000230 fetch 1 ,mem_l2cap_rx_cid 
+0x90 000231 beq l2cap_signal_channel ,p_l2cap_call_proc_signal 
+0x91 000232 branch l2cap_rx_multiplexing0 
+:      000233 p_l2cap_call_proc_signal:
+0x92 000234 call l2cap_malloc_is_fifo_full 
+0x93 000235 nrtn blank 
+0x94 000236 branch l2cap_call_proc_signal0 
+:      000238 p_ipc_rx:
+0x95 000239 fetch 1 ,mem_ssp_enable 
+0x96 000240 branch p_ipc_rx0 ,blank 
+0x97 000241 fetch 1 ,mem_sp_local_key_invalid 
+0x98 000242 rtn blank 
+:      000243 p_ipc_rx0:
+0x99 000244 call p_check_ipc_2bt 
+0x9a 000245 rtn user 
+0x9b 000246 byteswap pdata ,pdata 
+0x9c 000247 copy pdata ,contr 
+0x9d 000248 call p_ipc_rx_byte 
+0x9e 000249 store 1 ,mem_ipc_rx_type 
+0x9f 000250 beq ipc_type_cmd ,p_ipc_rx_cmd 
+0xa0 000251 copy pdata ,temp 
+0xa1 000252 copy contr ,rega 
+0xa2 000253 fetch 1 ,mem_context 
+0xa3 000254 bbit0 state_inconn ,p_ipc_abondon_rx_data 
+0xa4 000255 copy rega ,contr 
+0xa5 000256 rtnmark0 mark_context 
+0xa6 000257 copy temp ,pdata 
+0xa7 000258 beq ipc_type_hid ,p_ipc_rx_hid 
+0xa8 000259 branch assert 
+:      000261 p_ipc_abondon_rx_data:
+0xa9 000262 copy rega ,contr 
+0xaa 000263 arg mem_tst_pktcnt_sync ,contw 
+0xab 000264 branch p_ipc_rx_cpy 
+:      000266 p_ipc_rx_cmd:
+0xac 000267 call p_ipc_rx_byte 
+0xad 000268 call p_ipc_rx_byte 
+0xae 000269 store 1 ,mem_fifo_temp 
+0xaf 000270 call p_ipc_next_rx 
+0xb0 000271 branch ui_ipc_send_cmd 
+:      000272 p_ipc_next_rx:
+0xb1 000273 call p_ipc_rx_updata_contr 
+0xb2 000274 copy contr ,temp 
+0xb3 000275 byteswap temp ,temp 
+0xb4 000276 storet 2 ,mem_ipc_2bt_read_index 
+0xb5 000277 rtn 
+:      000280 p_ipc_rx_hid:
+0xb6 000281 call p_ipc_rx_byte 
+0xb7 000282 copy pdata ,rega 
+0xb8 000283 copy contr ,pdata 
+0xb9 000284 store 2 ,mem_contr 
+0xba 000285 increase 1 ,rega 
+0xbb 000286 call hid_malloc_tx_buff 
+0xbc 000287 add contw ,-2 ,regb 
+0xbd 000288 fetch 2 ,mem_hid_int_remote_cid 
+0xbe 000289 istore 2 ,contw 
+0xbf 000290 setarg 0xa1 
+0xc0 000291 istore 1 ,contw 
+0xc1 000292 add rega ,-1 ,loopcnt 
+0xc2 000293 fetch 2 ,mem_contr 
+0xc3 000294 copy pdata ,contr 
+0xc4 000296 call p_ipc_copy 
+0xc5 000297 copy regb ,contr 
+0xc6 000298 ifetch 2 ,contr 
+0xc7 000299 store 2 ,mem_kb_last_data 
+0xc8 000300 add pdata ,2 ,loopcnt 
+0xc9 000301 call memcpy 
+0xca 000302 jam 50 ,mem_kb_wake_timer 
+0xcb 000303 rtn 
+:      000306 p_l2cap_malloc:
+0xcc 000307 arg 0 ,regb 
+0xcd 000308 call l2cap_malloc_is_fifo_full 
+0xce 000309 nrtn blank 
+0xcf 000310 branch l2cap_malloc + 5 
+:      000313 p_ipc_timer_check:
+0xd0 000314 fetcht 4 ,mem_ipc_last_check_timer 
+0xd1 000315 copy clkn_bt ,pdata 
+0xd2 000316 isub temp ,pdata 
+0xd3 000318 arg 1600 ,temp 
+0xd4 000319 idiv temp 
+0xd5 000320 call wait_div_end 
+0xd6 000321 quotient pdata 
+0xd7 000322 rtn blank 
+0xd8 000323 copy clkn_bt ,temp 
+0xd9 000324 storet 4 ,mem_ipc_last_check_timer 
+0xda 000325 fetcht 2 ,mem_ipc_bt_timer 
+0xdb 000326 byteswap temp ,temp 
+0xdc 000327 iadd temp ,pdata 
+0xdd 000328 byteswap pdata ,pdata 
+0xde 000329 store 2 ,mem_ipc_bt_timer 
+0xdf 000330 byteswap pdata ,pdata 
+0xe0 000331 and pdata ,0x3 ,pdata 
+0xe1 000332 rtnne 0 
+0xe2 000333 fetch 1 ,mem_adc_config_flag 
+0xe3 000334 bbit1 adc_config_vinlpm ,p_adc_check_vinlpm 
+0xe4 000335 bbit1 adc_config_hvin ,p_adc_check_hvin 
+0xe5 000336 bbit1 adc_config_gpio ,p_adc_check_gpio 
+0xe6 000337 rtn 
+:      000338 p_adc_check_vinlpm:
+0xe7 000339 hjam 0xbf ,rf_adc_mode 
+0xe8 000340 branch p_read_adc 
+:      000341 p_adc_check_hvin:
+0xe9 000342 hjam 0xaf ,rf_adc_mode 
+0xea 000343 branch p_read_adc 
+:      000344 p_adc_check_gpio:
+0xeb 000345 hjam 0x8f ,rf_adc_mode 
+0xec 000346 fetch 1 ,mem_adc_channel 
+0xed 000347 hstore 1 ,rf_adc_ch 
+0xee 000348 branch p_read_adc 
+:      000349 p_read_adc:
+0xef 000350 hfetch 1 ,core_uart_baud + 1 
+0xf0 000351 set1 7 ,pdata 
+0xf1 000352 hstore 1 ,core_uart_baud + 1 
+0xf2 000353 hfetch 1 ,rf_adc_ch 
+0xf3 000354 or_into 0x30 ,pdata 
+0xf4 000355 hstore 1 ,rf_adc_ch 
+0xf5 000356 hjam 0x74 ,rfen_adc 
+0xf6 000357 hjam 0x7c ,rfen_adc 
+0xf7 000358 hjam 0xaa ,rf_adc_gc 
+0xf8 000359 nop 5000 
+0xf9 000360 hfetcht 2 ,core_adc_sum 
+0xfa 000361 hfetch 1 ,core_uart_baud + 1 
+0xfb 000362 set0 7 ,pdata 
+0xfc 000363 hstore 1 ,core_uart_baud + 1 
+0xfd 000364 byteswap temp ,temp 
+0xfe 000365 storet 2 ,mem_adc_current_value 
+0xff 000366 rtn 
+:      000369 p_ipc_rx_cpy:
+0x100 000370 call p_ipc_rx_byte 
+0x101 000371 copy pdata ,loopcnt 
+:      000372 p_ipc_copy:
+0x102 000373 call p_ipc_cpy_loop 
+0x103 000374 branch p_ipc_next_rx 
+:      000376 p_ipc_cpy_loop:
+0x104 000377 call p_ipc_rx_byte 
+0x105 000378 istore 1 ,contw 
+0x106 000379 loop p_ipc_cpy_loop 
+0x107 000380 rtn 
+:      000382 p_ipc_rx_byte:
+0x108 000383 call p_ipc_rx_updata_contr 
+0x109 000384 ifetch 1 ,contr 
+0x10a 000385 rtn 
+:      000387 p_ipc_rx_updata_contr:
+0x10b 000388 setarg mem_ipc_2bt_fifo_end 
+0x10c 000389 isub contr ,null 
+0x10d 000390 nrtn zero 
+0x10e 000391 arg mem_ipc_2bt_fifo_head ,contr 
+0x10f 000392 rtn 
+:      000394 p_ipc_tx_evt:
+0x110 000395 arg 3 ,loopcnt 
+0x111 000396 arg mem_ipc_tx_evt_buff ,contr 
+:      000397 p_ipc_tx_cpy:
+0x112 000398 copy contr ,rega 
+0x113 000399 fetch 2 ,mem_ipc_2c51_write_index 
+0x114 000400 byteswap pdata ,pdata 
+0x115 000401 copy pdata ,contw 
+0x116 000402 copy rega ,contr 
+:      000403 p_ipc_tx_loop:
+0x117 000404 ifetch 1 ,contr 
+0x118 000405 istore 1 ,contw 
+0x119 000406 call p_ipc_tx_updata_contw 
+0x11a 000407 loop p_ipc_tx_loop 
+0x11b 000408 copy contw ,pdata 
+0x11c 000409 byteswap pdata ,pdata 
+0x11d 000410 store 2 ,mem_ipc_2c51_write_index 
+0x11e 000411 rtn 
+:      000412 p_ipc_tx_updata_contw:
+0x11f 000413 setarg mem_ipc_2c51_fifo_end 
+0x120 000414 isub contw ,null 
+0x121 000415 nrtn zero 
+0x122 000416 arg mem_ipc_2c51_fifo_head ,contw 
+0x123 000417 rtn 
+:      000419 p_ui_timer_timeout:
+0x124 000420 setarg 0x10 
+0x125 000421 arg 3 ,queue 
+0x126 000422 call lshift8_queue 
+0x127 000423 iadd regb ,regb 
+0x128 000424 rtn 
+:      000425 p_ui_timer_check:
+0x129 000426 arg 0 ,rega 
+0x12a 000427 fetcht 4 ,mem_ui_timer_last_btclk 
+0x12b 000428 copy clkn_bt ,regb 
+0x12c 000429 copy regb ,pdata 
+0x12d 000430 isub temp ,null 
+0x12e 000431 ncall p_ui_timer_timeout ,positive 
+0x12f 000432 branch ui_timer_check_loop 
+:      000435 p_mouse_bb_event_timer:
+0x130 000436 storet 1 ,mem_app_evt_timer_count 
+0x131 000437 fetch 1 ,mem_ipc_bt_100ms_timer 
+0x132 000438 increase 1 ,pdata 
+0x133 000439 store 1 ,mem_ipc_bt_100ms_timer 
+:      000440 p_mouse_bb_event_100ms_loop:
+0x134 000441 fetch 1 ,mem_app_evt_timer_count 
+0x135 000442 rtn blank 
+0x136 000443 increase -1 ,pdata 
+0x137 000444 store 1 ,mem_app_evt_timer_count 
+0x138 000445 call p_mouse_check_hid_handshake_timer 
+0x139 000446 call p_mouse_long_sleep_timer 
+0x13a 000447 call p_kb_led_cap_delay_timer 
+0x13b 000448 call p_kb_wake_remote_dev 
+0x13c 000449 branch p_mouse_bb_event_100ms_loop 
+:      000450 p_kb_wake_remote_dev:
+0x13d 000451 fetch 1 ,mem_kb_wake_timer 
+0x13e 000452 rtn blank 
+0x13f 000453 increase -1 ,pdata 
+0x140 000454 store 1 ,mem_kb_wake_timer 
+0x141 000455 rtnne 1 
+0x142 000456 jam 50 ,mem_kb_wake_timer 
+0x143 000459 fetch 2 ,mem_ui_state_map 
+0x144 000461 rtnbit0 ui_state_bt_sniff 
+0x145 000462 fetch 2 ,mem_kb_last_data 
+0x146 000463 rtn blank 
+:      000464 p_tx_wake_kb_packet:
+0x147 000465 call l2cap_malloc_is_fifo_empty 
+0x148 000466 nrtn blank 
+0x149 000467 fetch 2 ,mem_kb_last_data 
+0x14a 000468 copy pdata ,rega 
+0x14b 000469 call hid_malloc_tx_buff 
+0x14c 000470 add rega ,2 ,loopcnt 
+0x14d 000471 arg mem_kb_last_data + 2 ,contr 
+0x14e 000472 branch memcpy 
+:      000474 p_kb_led_cap_delay_timer:
+0x14f 000475 fetch 1 ,mem_led_cap_delay_timer 
+0x150 000476 rtn blank 
+0x151 000477 increase -1 ,pdata 
+0x152 000478 store 1 ,mem_led_cap_delay_timer 
+0x153 000479 branch app_lpm_mult_enable ,blank 
+0x154 000480 branch app_lpm_mult_disable 
+:      000482 p_mouse_check_hid_handshake_timer:
+0x155 000483 fetch 1 ,mem_hid_handshake_timer_count 
+0x156 000484 rtn blank 
+0x157 000485 increase -1 ,pdata 
+0x158 000486 store 1 ,mem_hid_handshake_timer_count 
+0x159 000487 nrtn blank 
+0x15a 000488 call app_evt_hid_handshake 
+0x15b 000489 branch hid_handshake_event 
+:      000490 p_mouse_long_sleep_timer:
+0x15c 000491 fetch 1 ,mem_24g_enter_lpm_timer 
+0x15d 000492 rtn blank 
+0x15e 000493 increase -1 ,pdata 
+0x15f 000494 store 1 ,mem_24g_enter_lpm_timer 
+0x160 000495 rtn 
+:      000497 p_c51_user_event:
+0x161 000498 copy regc ,pdata 
+0x162 000499 and_into bt_evt_timer_mask ,pdata 
+0x163 000500 rtneq bt_evt_timer_init 
+0x164 000501 call p_c51_ext_evt 
+0x165 000502 copy regc ,pdata 
+0x166 000503 rtn blank 
+0x167 000504 store 1 ,mem_ipc_tx_evt 
+0x168 000505 branch p_ipc_tx_evt 
+:      000506 p_c51_ext_evt:
+0x169 000507 copy regc ,pdata 
+0x16a 000508 beq bt_evt_enter_sniff ,p_kb_wake_enbale 
+0x16b 000509 beq bt_evt_bb_disconnected ,p_bk_wake_disable 
+0x16c 000510 rtn 
+:      000511 p_kb_wake_enbale:
+0x16d 000512 jam 40 ,mem_kb_wake_timer 
+0x16e 000513 setarg 0x0a 
+0x16f 000514 store 2 ,mem_kb_last_data 
+0x170 000515 fetch 2 ,mem_hid_int_remote_cid 
+0x171 000516 istore 2 ,contw 
+0x172 000517 setarg 0x01a1 
+0x173 000518 istore 2 ,contw 
+0x174 000519 rtn 
+:      000520 p_bk_wake_disable:
+0x175 000521 jam 0 ,mem_kb_wake_timer 
+0x176 000522 rtn 
+:      000531 p_lpm_recover_clk:
+0x177 000532 jam 0x7f ,mem_seqi 
+0x178 000533 call lpm_recover_clk + 2 
+0x179 000534 fetch 1 ,mem_hibernate_flag 
+0x17a 000535 rtn blank 
+0x17b 000536 jam 0 ,mem_hibernate_flag 
+0x17c 000537 copy clkn_bt ,pdata 
+0x17d 000538 store 4 ,mem_ipc_last_check_timer 
+0x17e 000539 rtn 
+:      000543 p_iicd_write_eep:
+0x17f 000544 branch assert 
+:      000545 p_iicd_read_eep:
+0x180 000546 branch assert 
+:      000547 p_main_loop_end:
+0x181 000548 call inquiry_scan_dispatch 
+0x182 000549 call page_scan_dispatch 
+0x183 000550 call connection_dispatch 
+0x184 000551 branch main_loop + 15 
+:      000554 p_check_ipc_2c51:
+0x185 000555 fetch 2 ,mem_ipc_2c51_read_index 
+0x186 000556 fetcht 2 ,mem_ipc_2c51_write_index 
+0x187 000557 branch p_check_ipc_common 
+:      000558 p_check_ipc_2bt:
+0x188 000559 fetch 2 ,mem_ipc_2bt_read_index 
+0x189 000560 fetcht 2 ,mem_ipc_2bt_write_index 
+:      000561 p_check_ipc_common:
+0x18a 000562 isub temp ,null 
+0x18b 000563 branch enable_usr ,zero 
+0x18c 000564 branch disable_usr 
+:      000566 p_lpm_cal_xtal_startup:
+0x18d 000567 fetch 1 ,mem_lpm_xtalcnt 
+0x18e 000568 nrtn blank 
+0x18f 000569 hjam clksel_rc ,core_clksel 
+0x190 000570 setarg 0xf0c 
+0x191 000571 call lpm_write_config 
+0x192 000572 setarg 200000 
+0x193 000573 call sleep 
+0x194 000574 until null ,lpo_edge 
+0x195 000575 copy lpo_time ,alarm 
+0x196 000576 call xtal_fast_wake 
+0x197 000577 nop 5000 
+0x198 000578 branch lpm_cal_xtal_startup + 12 
+:      000581 p_switchto_dpllclk:
+0x199 000582 fetch 1 ,mem_lpm_xtalcnt 
+0x19a 000583 nbranch p_switchdpll_nocal ,blank 
+0x19b 000584 call lpm_cal_xtal_startup 
+0x19c 000585 nop 30000 
+0x19d 000586 nop 30000 
+0x19e 000587 nop 30000 
+:      000588 p_switchdpll_nocal:
+0x19f 000589 call switchto_dpllclk 
+0x1a0 000590 hjam clksel_xtal ,core_clksel 
+0x1a1 000591 hfetch 1 ,rf_clkpll_frac + 2 
+0x1a2 000592 and_into 0xcf ,pdata 
+0x1a3 000593 hstore 1 ,rf_clkpll_frac + 2 
+0x1a4 000594 or_into 0x30 ,pdata 
+0x1a5 000595 hstore 1 ,rf_clkpll_frac + 2 
+0x1a6 000596 rtn 
+:      000598 p_initialize_radio_cont:
+0x1a7 000599 call p_switchto_dpllclk 
+0x1a8 000600 branch initialize_radio_cont + 4 
+:      000601 p_lpm_dispatch:
+0x1a9 000602 rtnmark1 mark_24g 
+0x1aa 000603 call lpo_calibration 
+0x1ab 000604 fetch 3 ,mem_clks_per_lpo 
+0x1ac 000605 rtn blank 
+0x1ad 000608 fetch 1 ,mem_lpm_mode 
+0x1ae 000609 rtn blank 
+0x1af 000610 call l2cap_malloc_is_fifo_empty 
+0x1b0 000611 nrtn blank 
+0x1b1 000612 call lpm_check_wake_lock 
+0x1b2 000613 nrtn blank 
+0x1b3 000614 call xtal_fast_wake 
+0x1b4 000615 fetch 1 ,mem_ssp_enable 
+0x1b5 000616 branch lpm_dispatch0 ,blank 
+0x1b6 000617 fetch 1 ,mem_sp_local_key_invalid 
+0x1b7 000618 rtn blank 
+0x1b8 000619 branch lpm_dispatch0 
+:      000621 p_lpm_dispatch_next:
+0x1b9 000622 call p_check_ipc_2bt 
+0x1ba 000623 nrtn user 
+0x1bb 000624 call p_check_ipc_2c51 
+0x1bc 000625 nrtn user 
+0x1bd 000626 jam 1 ,mem_c51_lmp_lock 
+0x1be 000627 jam syc_task_lpm ,mem_c51_flag 
+0x1bf 000628 call p_c51_wait 
+0x1c0 000629 fetch 1 ,mem_c51_lmp_lock 
+0x1c1 000630 nrtn blank 
+0x1c2 000631 call p_check_ipc_2bt 
+0x1c3 000632 nrtn user 
+0x1c4 000633 branch lpm_dispatch1 
+:      000634 p_slave_loop:
+0x1c5 000635 call check_bt_disabled 
+0x1c6 000636 call scheduler_process 
+0x1c7 000637 call slave_conn_recv_packet 
+0x1c8 000638 branch slave_loop + 6 
+:      000640 p_send_lmp:
+0x1c9 000641 disable user 
+0x1ca 000642 call lmo_fifo_process 
+0x1cb 000643 fetch 1 ,mem_lmp_to_send 
+0x1cc 000644 rtn blank 
+0x1cd 000645 bbit1 7 ,send_lmp_escape 
+0x1ce 000646 beq lmp_name_res ,p_send_lmp_name_res 
+0x1cf 000647 beq lmp_detach ,p_send_lmp_detach 
+0x1d0 000648 branch send_lmp + 7 
+:      000649 p_send_lmp_name_res:
+0x1d1 000650 force 17 ,pdata 
+0x1d2 000651 call msg_send_lmp 
+0x1d3 000652 fetch 1 ,mem_lmi_opcode 
+0x1d4 000653 copy pdata ,temp 
+0x1d5 000654 beq 0x00 ,p_send_lmp_name_res_offset_ok 
+0x1d6 000655 beq 0x0e ,p_send_lmp_name_res_offset_ok 
+0x1d7 000656 beq 0x1c ,p_send_lmp_name_res_offset_ok 
+0x1d8 000657 rtn 
+:      000658 p_send_lmp_name_res_offset_ok:
+0x1d9 000659 istore 1 ,contw 
+0x1da 000660 fetch 1 ,mem_local_name_length 
+0x1db 000661 istore 1 ,contw 
+0x1dc 000662 setarg 14 
+0x1dd 000663 branch send_lmp_name_res_offset_ok + 3 
+:      000665 p_send_lmp_detach:
+0x1de 000666 call send_lmp_detach 
+0x1df 000667 jam 100 ,mem_conn_timer 
+0x1e0 000668 rtn 
+:      000671 p_parse_lmp:
+0x1e1 000672 fetch 1 ,mem_lmi_opcode2 
+0x1e2 000673 beq lmp_accepted ,p_parse_lmp_accepted 
+0x1e3 000674 beq lmp_not_accepted ,parse_lmp_not_accepted 
+0x1e4 000675 beq lmp_detach ,p_parse_lmp_detach 
+0x1e5 000677 branch parse_lmp + 26 
+:      000678 p_parse_lmp_sniff:
+0x1e6 000679 fetch 1 ,mem_state 
+0x1e7 000680 bbit1 state_insniff ,lmp_reject_sniff 
+0x1e8 000681 fetch 2 ,mem_rxbuf + 4 
+0x1e9 000682 lshift pdata ,pdata 
+0x1ea 000683 sub pdata ,0xf ,null 
+0x1eb 000684 nbranch lmp_reject_sniff ,positive 
+0x1ec 000685 branch parse_lmp_sniff_req + 2 
+:      000686 p_parse_lmp_accepted:
+0x1ed 000687 fetch 1 ,mem_rxbuf + 1 
+0x1ee 000688 store 1 ,mem_lmi_accepted_opcode 
+0x1ef 000689 beq lmp_unsniff_req ,p_parse_lmp_accepted_unsniff_req 
+0x1f0 000690 beq lmp_switch_req ,p_parse_lmp_accepted_switch 
+0x1f1 000691 beq lmp_host_connection_req ,p_parse_lmp_accepted_hostconn 
+0x1f2 000692 branch parse_lmp_accepted + 2 
+:      000693 p_parse_lmp_accepted_hostconn:
+0x1f3 000696 fetch 1 ,mem_lmp_conn_state 
+0x1f4 000697 set1 received_conn_req ,pdata 
+0x1f5 000698 store 1 ,mem_lmp_conn_state 
+0x1f6 000699 jam bt_evt_bb_connected ,mem_fifo_temp 
+0x1f7 000700 call ui_ipc_send_event 
+0x1f8 000701 branch parse_lmp_accepted_hostconn_ctn 
+:      000702 p_parse_lmp_accepted_unsniff_req:
+0x1f9 000703 call app_bt_enter_sniff 
+0x1fa 000704 branch parse_lmp_accepted_unsniff_req 
+:      000705 p_parse_lmp_detach:
+0x1fb 000706 fetch 1 ,mem_rxbuf + 1 
+0x1fc 000707 store 1 ,mem_disconn_reason_send 
+0x1fd 000708 branch parse_lmp_detach 
+:      000711 p_slave_notmatch:
+0x1fe 000712 call lpm_set_mult 
+0x1ff 000713 call supervision_update 
+0x200 000714 branch slave_disconnect ,positive 
+0x201 000715 call check_disconnect_timeout 
+0x202 000716 nbranch slave_disconnect ,user 
+0x203 000717 call check_attempt 
+0x204 000718 nbranch p_slave_loop + 1 ,blank 
+0x205 000719 rtn 
+:      000721 p_set_freq_rx:
+0x206 000722 storet 1 ,mem_last_freq 
+0x207 000723 add temp ,rx_freq_offset ,rega 
+0x208 000724 branch set_freq_rx + 4 
+:      000726 p_set_freq_tx_common:
+0x209 000727 storet 1 ,mem_last_freq 
+0x20a 000728 add temp ,0 ,rega 
+0x20b 000729 branch rf_write_freq 
+:      000731 p_set_freq_tx:
+0x20c 000732 call p_set_freq_tx_common 
+:      000733 p_24g_txon:
+0x20d 000734 setarg param_pll_setup 
+0x20e 000735 call sleep 
+:      000736 p_txon:
+0x20f 000737 call p_txon_set_rf_param 
+0x210 000738 fetch 1 ,mem_24g_pairing_sm 
+0x211 000739 arg mem_le_att_list + 468 ,contw 
+0x212 000740 nbranch p_txpower_0dbm ,blank 
+0x213 000741 branch p_txpower_5dbm 
+:      000742 p_txon_set_rf_param:
+0x214 000743 hjam 0x1 ,rfen_adc 
+0x215 000744 hjam 0x3c ,rfen_rx 
+0x216 000745 hjam 0xe0 ,rfen_tx 
+0x217 000746 hjam 0x12 ,0x96d 
+0x218 000747 nop 10 
+0x219 000748 hjam 0x01 ,rfen_mdm 
+0x21a 000749 hjam 0x3d ,rfen_mdm 
+0x21b 000750 nop 10 
+0x21c 000751 hjam 0xb7 ,rfen_sn 
+0x21d 000752 nop 10 
+0x21e 000753 hjam 0x7d ,rfen_mdm 
+0x21f 000754 rtn 
+:      000756 p_txpower_0dbm:
+0x220 000757 fetch 5 ,mem_24g_paring_tx_power_param 
+0x221 000758 istore 5 ,contw 
+0x222 000759 ifetch 5 ,contr 
+0x223 000760 istore 5 ,contw 
+0x224 000761 hjam 0xc2 ,0x956 
+0x225 000762 hjam 0xd0 ,0x955 
+0x226 000763 rtn 
+:      000765 p_txpower_5dbm:
+0x227 000766 fetch 5 ,mem_5db_tx_power_param 
+0x228 000767 istore 5 ,contw 
+0x229 000768 ifetch 5 ,contr 
+0x22a 000769 istore 5 ,contw 
+0x22b 000770 hjam 0xdf ,0x956 
+0x22c 000771 call p_set_tx_step_power 
+0x22d 000772 hjam 0xdf ,0x955 
+0x22e 000773 rtn 
+:      000777 p_set_tx_step_power:
+0x22f 000779 nop 4 
+0x230 000780 hjam 0xd1 ,0x955 
+0x231 000781 nop 4 
+0x232 000782 hjam 0xd2 ,0x955 
+0x233 000783 nop 4 
+0x234 000784 hjam 0xd4 ,0x955 
+0x235 000785 nop 4 
+0x236 000788 rtn 
+:      000790 p_tx_ramp_down_common:
+0x237 000791 hjam 0xd4 ,0x955 
+0x238 000792 nop 4 
+0x239 000793 hjam 0xd2 ,0x955 
+0x23a 000794 nop 4 
+0x23b 000795 hjam 0xd1 ,0x955 
+0x23c 000796 nop 4 
+0x23d 000797 hjam 0xd0 ,0x955 
+0x23e 000798 hjam 0xc0 ,0x956 
+0x23f 000799 rtn 
+:      000801 p_shutdown_radio:
+0x240 000802 branch shutdown_radio + 2 ,is_rx 
+0x241 000803 call p_tx_ramp_down_common 
+0x242 000808 branch shutdown_radio + 2 
+:      000811 p_mouse_init:
+0x243 000812 jam 0 ,mem_c51_flag 
+0x244 000813 jam 6 ,mem_connection_options 
+0x245 000814 call app_lpm_mult_enable 
+0x246 000815 setarg p_mouse_send_process 
+0x247 000816 store 2 ,mem_cb_bt_process 
+0x248 000817 setarg p_mouse_bt_lpm_before 
+0x249 000818 store 2 ,mem_cb_before_lpm 
+0x24a 000819 setarg p_c51_user_event 
+0x24b 000820 store 2 ,mem_cb_bb_event_process 
+0x24c 000821 setarg p_mouse_idle 
+0x24d 000822 store 2 ,mem_cb_idle_process 
+0x24e 000823 setarg p_ipc_rx 
+0x24f 000824 store 2 ,mem_cb_le_process 
+0x250 000825 setarg p_mouse_before_hibernate 
+0x251 000826 store 2 ,mem_cb_before_hibernate 
+0x252 000827 setarg mem_ipc_2bt_fifo_head 
+0x253 000828 byteswap pdata ,pdata 
+0x254 000829 store 2 ,mem_ipc_2bt_read_index 
+0x255 000830 store 2 ,mem_ipc_2bt_write_index 
+0x256 000831 call lpm_disable_exen_output 
+0x257 000832 setarg mem_ipc_2c51_fifo_head 
+0x258 000833 byteswap pdata ,pdata 
+0x259 000834 store 2 ,mem_ipc_2c51_read_index 
+0x25a 000835 store 2 ,mem_ipc_2c51_write_index 
+0x25b 000836 fetch 1 ,mem_hibernate_flag 
+0x25c 000837 beq 0x5a ,p_device_init_init_hibwake 
+0x25d 000838 branch p_deveice_init_wake ,wake 
+0x25e 000839 fetch 2 ,mem_adc_0v 
+0x25f 000840 byteswap pdata ,pdata 
+0x260 000841 store 2 ,mem_adc_0v 
+0x261 000842 fetch 2 ,mem_adc_3v 
+0x262 000843 byteswap pdata ,pdata 
+0x263 000844 store 2 ,mem_adc_3v 
+0x264 000845 call p_init_adc_from_otp 
+0x265 000846 fetch 8 ,mem_temp 
+0x266 000847 nbranch p_deveice_init_reset ,blank 
+0x267 000848 fetch 2 ,0x4ad4 
+0x268 000849 byteswap pdata ,pdata 
+0x269 000850 branch p_deveice_init_reset ,blank 
+0x26a 000851 store 2 ,mem_adc_3v 
+:      000852 p_deveice_init_reset:
+0x26b 000855 jam bt_evt_reset ,mem_ipc_tx_evt 
+:      000856 p_device_init_common:
+0x26c 000857 call p_ipc_tx_evt 
+0x26d 000858 hjam start_c51_core ,core_docd_ctrl 
+0x26e 000859 rtn 
+:      000860 p_deveice_init_wake:
+0x26f 000861 jam bt_evt_wakeup ,mem_ipc_tx_evt 
+0x270 000862 branch p_device_init_common 
+:      000863 p_device_init_init_hibwake:
+0x271 000864 copy auxcnt ,pdata 
+0x272 000865 branch p_enter_hibernate_continue ,blank 
+0x273 000866 call init_lmp_work 
+0x274 000867 call l2cap_init_work 
+0x275 000868 setarg 0 
+0x276 000869 store 8 ,mem_context 
+0x277 000870 store 2 ,mem_ui_state_map 
+0x278 000871 setarg 0 
+0x279 000872 store 2 ,mem_ipc_bt_timer 
+0x27a 000873 store 2 ,mem_ipc_c51_timer 
+0x27b 000874 jam bt_evt_hibernate_wake ,mem_ipc_tx_evt 
+0x27c 000875 branch p_device_init_common 
+:      000877 p_init_adc_from_otp:
+0x27d 000878 call otp_enable_chgpump 
+0x27e 000879 setarg 0x7e2 
+0x27f 000880 arg mem_temp ,rega 
+0x280 000881 arg 12 ,temp 
+0x281 000882 call otpd_read_data 
+0x282 000883 call otp_disable_chgpump 
+0x283 000884 fetch 8 ,mem_temp 
+0x284 000885 rtn blank 
+0x285 000886 fetch 1 ,mem_adc_config_flag 
+0x286 000887 bbit1 adc_config_vinlpm ,p_calc_adc_base_vinlpm 
+0x287 000888 bbit1 adc_config_hvin ,p_calc_adc_base_hvin 
+0x288 000889 bbit1 adc_config_gpio ,p_calc_adc_check_gpio 
+0x289 000890 rtn 
+:      000891 p_calc_adc_base_vinlpm:
+0x28a 000892 fetcht 2 ,mem_temp + 4 
+0x28b 000893 fetch 2 ,mem_temp + 10 
+0x28c 000894 copy temp ,regb 
+0x28d 000895 copy pdata ,rega 
+0x28e 000896 byteswap pdata ,pdata 
+0x28f 000897 store 2 ,mem_adc_3v 
+0x290 000898 copy rega ,pdata 
+0x291 000899 isub temp ,regc 
+0x292 000900 lshift regc ,regc 
+0x293 000901 copy regb ,pdata 
+0x294 000902 isub regc ,pdata 
+0x295 000903 byteswap pdata ,pdata 
+0x296 000904 store 2 ,mem_adc_0v 
+0x297 000905 rtn 
+:      000906 p_calc_adc_base_hvin:
+0x298 000907 fetcht 2 ,mem_temp + 2 
+0x299 000908 fetch 2 ,mem_temp + 8 
+0x29a 000909 copy temp ,regb 
+0x29b 000910 copy pdata ,rega 
+0x29c 000911 isub temp ,regc 
+0x29d 000912 rshift2 regc ,regc 
+0x29e 000913 copy regb ,pdata 
+0x29f 000914 isub regc ,pdata 
+0x2a0 000915 byteswap pdata ,pdata 
+0x2a1 000916 store 2 ,mem_adc_0v 
+0x2a2 000917 lshift regc ,regc 
+0x2a3 000918 copy rega ,pdata 
+0x2a4 000919 isub regc ,pdata 
+0x2a5 000920 byteswap pdata ,pdata 
+0x2a6 000921 store 2 ,mem_adc_3v 
+0x2a7 000922 rtn 
+:      000923 p_calc_adc_check_gpio:
+0x2a8 000924 fetcht 2 ,mem_temp 
+0x2a9 000925 fetch 2 ,mem_temp + 6 
+0x2aa 000926 copy temp ,regb 
+0x2ab 000927 copy pdata ,rega 
+0x2ac 000928 isub temp ,regc 
+0x2ad 000929 copy regb ,pdata 
+0x2ae 000930 isub regc ,pdata 
+0x2af 000931 byteswap pdata ,pdata 
+0x2b0 000932 store 2 ,mem_adc_0v 
+0x2b1 000933 lshift2 regc ,pdata 
+0x2b2 000934 iadd rega ,pdata 
+0x2b3 000935 byteswap pdata ,pdata 
+0x2b4 000936 store 2 ,mem_adc_3v 
+0x2b5 000937 rtn 
+:      001332 p_mouse_send_process:
+0x2b6 001333 call l2cap_malloc_is_fifo_nearly_full 
+0x2b7 001334 nrtn blank 
+:      001335 p_mouse_send_data:
+0x2b8 001336 branch p_ipc_rx 
+:      001339 p_mouse_before_hibernate:
+0x2b9 001340 enable user 
+0x2ba 001341 hfetch 4 ,0x8138 
+0x2bb 001342 setflag user ,26 ,pdata 
+0x2bc 001343 hstore 4 ,core_lpm_reg 
+0x2bd 001344 call lpm_write_ctrl 
+0x2be 001345 jam 1 ,mem_lpm_current_mult 
+:      001346 p_mouse_bt_lpm_before:
+0x2bf 001347 rtn 
+:      001350 p_lpm_dispatch_unconn:
+0x2c0 001351 call p_check_ipc_2bt 
+0x2c1 001352 nrtn user 
+0x2c2 001353 call p_check_ipc_2c51 
+0x2c3 001354 nrtn user 
+0x2c4 001355 jam 1 ,mem_c51_lmp_lock 
+0x2c5 001356 jam syc_task_lpm ,mem_c51_flag 
+0x2c6 001357 call p_c51_wait 
+0x2c7 001358 fetch 1 ,mem_c51_lmp_lock 
+0x2c8 001359 nrtn blank 
+0x2c9 001360 call p_check_ipc_2bt 
+0x2ca 001361 nrtn user 
+0x2cb 001362 branch lpm_dispatch_unconn + 2 
+:      001365 p_mouse_priority_bb_event:
+0x2cc 001366 copy regc ,pdata 
+0x2cd 001367 rtn 
+:      001369 p_mouse_start_reconnect:
+0x2ce 001370 setarg 0 
+0x2cf 001371 store app_disc_rsn_size ,mem_app_disconn_reason 
+0x2d0 001372 store 2 ,mem_ui_state_map 
+0x2d1 001373 store 1 ,mem_app_handshake_flag 
+0x2d2 001374 branch app_lpm_mult_disable 
+:      001376 p_le_enable:
+0x2d3 001377 hjam 0x36 ,0x90f 
+0x2d4 001378 hjam 0x5f ,0x90b 
+0x2d5 001379 branch le_enable + 2 
+:      001380 p_le_disable:
+0x2d6 001381 hjam 0x2e ,0x90f 
+0x2d7 001382 hjam 0xff ,0x90b 
+0x2d8 001383 branch le_disable + 2 
+:      001385 p_c51_wait:
+0x2d9 001386 fetch 1 ,mem_c51_flag 
+0x2da 001387 nop 10 
+0x2db 001388 bne 0 ,p_c51_wait 
+0x2dc 001389 rtn 
+:      001391 p_mouse_idle:
+0x2dd 001392 rtn 
+:      001394 p_check_enter_hibernate:
+0x2de 001395 jam syc_task_hibernate ,mem_c51_flag 
+0x2df 001396 call p_c51_wait 
+:      001397 p_enter_hibernate_continue:
+0x2e0 001398 jam 0x5a ,mem_hibernate_flag 
+0x2e1 001399 call lpm_write_gpio_wakeup 
+0x2e2 001400 hfetch 4 ,core_lpm_ctrl 
+0x2e3 001401 set0 15 ,pdata 
+0x2e4 001402 hstore 4 ,core_lpm_reg 
+0x2e5 001403 call lpm_write_ctrl 
+0x2e6 001404 arg param_hibernate_clks ,temp 
+0x2e7 001405 branch lpm_sleep 
+:      001407 p_check_51cmd_once:
+0x2e8 001408 call ui_ipc_get_lock 
+0x2e9 001409 arg mem_ipc_fifo_c512bt ,rega 
+0x2ea 001410 call fifo_out 
+0x2eb 001411 copy pdata ,temp 
+0x2ec 001412 call ui_ipc_put_lock 
+0x2ed 001413 copy temp ,pdata 
+0x2ee 001414 rtn blank 
+0x2ef 001415 beq bt_cmd_start_discovery ,p_check_51cmd_start_discovery 
+0x2f0 001416 beq bt_cmd_reconnect ,p_check_51cmd_reconnect 
+0x2f1 001417 branch check_51cmd_once + 9 
+:      001419 p_check_51cmd_once_continue:
+0x2f2 001420 fetch 1 ,mem_lmo_opcode2 
+0x2f3 001421 branch p_check_51cmd_once_continue0 ,blank 
+0x2f4 001422 call lmo_fifo_process 
+0x2f5 001423 fetch 1 ,mem_lmo_opcode2 
+0x2f6 001424 nbranch check_51cmd_restore ,blank 
+:      001425 p_check_51cmd_once_continue0:
+0x2f7 001426 fetch 1 ,mem_fifo_temp 
+0x2f8 001427 bmark0 mark_context ,check_51cmd_check_idle 
+0x2f9 001428 beq bt_cmd_disconnect ,p_check_51cmd_disconnect 
+0x2fa 001429 beq bt_cmd_update_supervision_to ,p_check_51cmd_update_supervision_to 
+0x2fb 001430 branch check_51cmd_once_continue0 
+:      001431 p_check_51cmd_disconnect:
+0x2fc 001432 fetch 2 ,mem_ui_state_map 
+0x2fd 001433 bbit0 ui_state_bt_hid_handshake ,p_check_51cmd_quick_disconnect 
+0x2fe 001434 branch check_51cmd_disconnect 
+:      001435 p_check_51cmd_quick_disconnect:
+0x2ff 001436 setarg 0 
+0x300 001437 store 4 ,mem_supervision_to 
+0x301 001438 rtn 
+:      001439 p_check_51cmd_update_supervision_to:
+0x302 001440 jam lmp_supervision_timeout ,mem_lmo_opcode2 
+0x303 001441 fetch 2 ,mem_new_supervision_to 
+0x304 001442 store 2 ,mem_supervision_to 
+0x305 001443 rtn 
+:      001445 p_check_51cmd_start_discovery:
+0x306 001446 call app_clear_reconnect_flag 
+0x307 001447 jam 6 ,mem_connection_options 
+0x308 001448 branch check_51cmd_start_discovery 
+:      001449 p_check_51cmd_reconnect:
+0x309 001450 jam 6 ,mem_connection_options 
+0x30a 001451 fetch 1 ,mem_ssp_enable 
+0x30b 001452 beq 0 ,p_check_51cmd_reconnect_common 
+0x30c 001453 jam 0x17 ,mem_connection_options 
+:      001454 p_check_51cmd_reconnect_common:
+0x30d 001455 jam 1 ,mem_link_key_exists 
+0x30e 001456 branch check_51cmd_reconnect 
+:      001458 p_prepare_tx_not_sco:
+0x30f 001459 call context_check_all_wack 
+0x310 001460 nbranch prepare_tx_no_retransmit ,zero 
+0x311 001461 fetch 1 ,mem_arq 
+0x312 001462 bbit0 wack ,prepare_tx_pollnull 
+0x313 001463 fetch 1 ,mem_last_type 
+0x314 001464 beq type_lmp ,prepare_tx_retransmit + 7 
+0x315 001465 fetch 2 ,mem_last_txlen 
+0x316 001466 sub pdata ,20 ,null 
+0x317 001467 nbranch prepare_tx_retransmit + 7 ,positive 
+0x318 001468 store 2 ,mem_tx_len 
+0x319 001469 fetch 1 ,mem_last_txlch 
+0x31a 001470 store 1 ,mem_tx_lch 
+0x31b 001471 setarg mem_last_txdata 
+0x31c 001472 store 2 ,mem_txptr 
+0x31d 001473 branch prepare_tx_retransmit + 7 
+:      001475 p_tx_l2cap_type:
+0x31e 001476 fetch 2 ,mem_tx_len 
+0x31f 001477 store 2 ,mem_last_txlen 
+0x320 001478 sub pdata ,20 ,null 
+0x321 001479 nbranch tx_l2cap_type + 2 ,positive 
+0x322 001480 iforce loopcnt 
+0x323 001481 fetch 1 ,mem_tx_lch 
+0x324 001482 store 1 ,mem_last_txlch 
+0x325 001483 fetch 2 ,mem_txptr 
+0x326 001484 iforce contr 
+0x327 001485 arg mem_last_txdata ,contw 
+0x328 001486 call memcpy 
+0x329 001487 branch tx_l2cap_type + 2 
+:      001489 p_lpm_sleep:
+0x32a 001490 call xtal_fast_wake 
+0x32b 001491 branch lpm_sleep + 2 
+:      001493 p_parse_lmp_accepted_switch:
+0x32c 001494 jam bt_evt_switch_accept ,mem_fifo_temp 
+0x32d 001495 call ui_ipc_send_event 
+0x32e 001496 branch p_role_switch_prepare0 
+:      001498 p_role_switch_prepare0_0:
+0x32f 001501 storet 4 ,mem_sniff_anchor 
+:      001502 p_role_switch_prepare0:
+0x330 001503 jam switch_flag_accept ,mem_switch_flag 
+0x331 001504 setarg 0xffff 
+0x332 001505 store 2 ,mem_tsniff 
+0x333 001506 jam 1 ,mem_sniff_attempt 
+0x334 001507 rtn 
+:      001508 p_roles_replyto_fhs:
+0x335 001509 call rf_setup_time_slave_slot 
+0x336 001510 call p_master_send_packet 
+0x337 001511 branch roles_replyto_fhs + 4 
+:      001512 p_master_send_packet:
+0x338 001513 add clkn_bt ,1 ,bt_clk 
+0x339 001514 call fetch_self_bt_adr 
+0x33a 001515 force 0x03 ,freq_mode 
+0x33b 001516 call tx_radio_freq 
+0x33c 001517 call start_transmitter 
+0x33d 001518 call start_tx_native 
+0x33e 001519 call send_access_word 
+0x33f 001520 branch end_of_packet 
+:      001521 p_role_switch_check:
+0x340 001522 disable user 
+0x341 001523 fetch 2 ,mem_tsniff 
+0x342 001524 arg 0xffff ,temp 
+0x343 001525 isub temp ,null 
+0x344 001526 nrtn zero 
+0x345 001527 fetch 4 ,mem_sniff_anchor 
+0x346 001528 branch p_role_switch_clkn ,clknt 
+0x347 001529 isub clke_bt ,pdata 
+0x348 001530 branch p_role_switch_clke 
+:      001531 p_role_switch_clkn:
+0x349 001532 isub clkn_bt ,pdata 
+:      001533 p_role_switch_clke:
+0x34a 001534 sub pdata ,4 ,null 
+0x34b 001535 nrtn positive 
+0x34c 001536 force 0 ,pdata 
+0x34d 001537 store 2 ,mem_tsniff 
+0x34e 001538 enable user 
+0x34f 001539 rtn 
+:      001543 p_idle_page_mode_r0:
+0x350 001544 storet 8 ,mem_temp 
+0x351 001545 call timer_check 
+0x352 001546 fetcht 8 ,mem_temp 
+0x353 001547 branch idle_page_mode_r0 + 13 
+:      001549 p_scheduler_process_sdp_succ:
+0x354 001550 call l2cap_malloc_is_fifo_full 
+0x355 001551 nrtn blank 
+0x356 001553 call p_l2cap_call_proc_sigal_pending 
+0x357 001554 branch scheduler_process1 
+:      001556 p_l2cap_call_proc_sigal_pending:
+0x358 001557 fetch 1 ,mem_device_option 
+0x359 001558 rtneq dvc_op_hci 
+0x35a 001559 fetch 1 ,mem_l2cap_pending_item 
+0x35b 001560 rtn blank 
+0x35c 001561 copy pdata ,rega 
+0x35d 001562 jam 0 ,mem_l2cap_pending_item 
+0x35e 001563 copy rega ,pdata 
+0x35f 001564 beq l2cap_sdp_channel ,l2cap_sdp_conn_succ 
+0x360 001565 rtn 
+:      001567 p_l2cap_process_one_signal:
+0x361 001568 ifetch 1 ,contr 
+0x362 001569 beq signal_info_req ,p_l2cap_proc_signal_info_req 
+0x363 001570 branch l2cap_process_one_signal + 3 
+:      001571 p_l2cap_proc_signal_info_req:
+0x364 001572 ifetch 1 ,contr 
+0x365 001573 copy pdata ,queue 
+0x366 001574 ifetch 2 ,contr 
+0x367 001575 copy pdata ,rega 
+0x368 001576 copy regc ,pdata 
+0x369 001577 isub rega ,regc 
+0x36a 001578 setarg signal_info_rsp 
+0x36b 001579 istore 1 ,contw 
+0x36c 001580 copy queue ,pdata 
+0x36d 001581 istore 1 ,contw 
+0x36e 001582 ifetch 2 ,contr 
+:      001583 p_l2cap_proc_signal_info_req_reply:
+0x36f 001584 beq l2cap_sig_ext_featrue ,p_l2cap_proc_signal_info_req_ext 
+0x370 001585 beq l2cap_sig_fix_featrue ,p_l2cap_proc_signal_info_req_fix 
+0x371 001586 branch assert 
+:      001587 p_l2cap_proc_signal_info_req_ext:
+0x372 001588 setarg 0x020008 
+0x373 001589 istore 6 ,contw 
+0x374 001590 setarg 0x0200 
+0x375 001591 istore 4 ,contw 
+0x376 001592 force 12 ,pdata 
+0x377 001593 iadd regb ,regb 
+0x378 001594 branch l2cap_process_one_signal_rtn 
+:      001595 p_l2cap_proc_signal_info_req_fix:
+0x379 001596 setarg 0x3000c 
+0x37a 001597 istore 6 ,contw 
+0x37b 001598 setarg 0x0006 
+0x37c 001599 istore 8 ,contw 
+0x37d 001600 force 16 ,pdata 
+0x37e 001601 iadd regb ,regb 
+0x37f 001602 branch l2cap_process_one_signal_rtn 
+:      001604 p_ml2cap_call_proc_signal:
+0x380 001605 call l2cap_malloc_signal_channel 
+0x381 001606 force 0 ,regb 
+0x382 001607 call l2cap_get_signal_tx_payload 
+0x383 001608 copy pdata ,contw 
+0x384 001609 fetch 2 ,mem_l2cap_rx_pkt_length 
+0x385 001610 copy pdata ,regc 
+0x386 001611 fetch 2 ,mem_l2cap_payload_ptr 
+0x387 001612 iforce contr 
+:      001613 p_ml2cap_proc_one_comm_loop:
+0x388 001614 call p_ml2cap_proc_one_comm 
+0x389 001615 branch ml2cap_proc_one_comm_loop + 1 
+:      001616 p_ml2cap_proc_one_comm:
+0x38a 001617 ifetch 1 ,contr 
+0x38b 001618 beq signal_info_req ,p_ml2cap_proc_signal_info_req 
+0x38c 001619 branch ml2cap_proc_one_comm + 1 
+:      001620 p_ml2cap_proc_signal_info_req:
+0x38d 001621 ifetch 1 ,contr 
+0x38e 001622 copy pdata ,queue 
+0x38f 001623 ifetch 2 ,contr 
+0x390 001624 copy pdata ,rega 
+0x391 001625 ifetch 2 ,contr 
+0x392 001626 store 2 ,mem_temp 
+0x393 001627 copy regc ,pdata 
+0x394 001628 isub rega ,regc 
+0x395 001629 call l2cap_get_signal_tx_payload 
+0x396 001630 setarg signal_info_rsp 
+0x397 001631 istore 1 ,contw 
+0x398 001632 copy queue ,pdata 
+0x399 001633 istore 1 ,contw 
+0x39a 001634 fetch 2 ,mem_temp 
+0x39b 001635 branch p_l2cap_proc_signal_info_req_reply 
+:      001637 p_hid_rx_process:
+0x39c 001638 fetch 2 ,mem_l2cap_payload_ptr 
+0x39d 001639 copy pdata ,contr 
+0x39e 001640 ifetch 1 ,contr 
+0x39f 001641 and pdata ,0x0f ,temp 
+0x3a0 001642 rshift4 pdata ,pdata 
+0x3a1 001643 beq hid_type_set_idle ,hid_rx_process_handshake 
+0x3a2 001644 beq hid_type_set_protocol ,hid_rx_process_handshake 
+0x3a3 001645 beq hid_type_data ,p_hid_rx_process_data 
+0x3a4 001646 beq hid_type_set_report ,p_hid_rx_process_set_report 
+0x3a5 001647 beq hid_type_control ,hid_rx_process_hid_control 
+0x3a6 001648 beq hid_type_get_report ,hid_rx_process_handshake 
+0x3a7 001649 rtn 
+:      001650 p_hid_rx_process_set_report:
+0x3a8 001651 call p_hid_rx_process_data 
+0x3a9 001652 branch hid_rx_process_set_report 
+:      001653 p_hid_rx_process_data:
+0x3aa 001654 setarg ipc_type_hid 
+0x3ab 001655 store 1 ,mem_24g_rxbuf 
+0x3ac 001656 setarg 2 
+0x3ad 001657 istore 1 ,contw 
+0x3ae 001658 copy pdata ,loopcnt 
+0x3af 001659 call memcpy 
+0x3b0 001661 arg 4 ,loopcnt 
+0x3b1 001662 arg mem_24g_rxbuf ,contr 
+0x3b2 001663 call p_ipc_tx_cpy 
+0x3b3 001664 jam 2 ,mem_led_cap_delay_timer 
+0x3b4 001665 rtn 
+              org 0x3000
+:      001676 start:
+0x3000 001677 call lpmstate 
+:      001680 soft_reset:
+0x3001 001681 set0 mark_ext_patch ,mark 
+0x3002 001682 bpatch patch00_0 ,mem_patch00 
+0x3003 001683 clear_stack 
+0x3004 001684 call initialize_radio 
+0x3005 001685 call iicd_init_12m 
+0x3006 001686 call init_param 
+0x3007 001687 call l2cap_init 
+0x3008 001688 set0 mark_ext_patch ,mark 
+0x3009 001689 bpatch patch00_1 ,mem_patch00 
+0x300a 001690 call rfcomm_init 
+0x300b 001691 call init_lmp 
+0x300c 001692 call ui_init 
+0x300d 001693 call app_init 
+0x300e 001694 set0 mark_ext_patch ,mark 
+0x300f 001695 bpatch patch00_2 ,mem_patch00 
+0x3010 001696 call app_lpm_init ,wake 
+0x3011 001697 call sp_initialize 
+0x3012 001698 call lpm_recover_clk ,wake 
+:      001699 main_loop:
+0x3013 001700 set0 mark_ext_patch ,mark 
+0x3014 001701 bpatch patch00_3 ,mem_patch00 
+0x3015 001702 call sp_calc_sequence 
+0x3016 001703 call le_dispatch 
+0x3017 001704 call hci_dispatch 
+0x3018 001705 set0 mark_ext_patch ,mark 
+0x3019 001706 bpatch patch00_4 ,mem_patch00 
+0x301a 001707 call idle_dispatch 
+0x301b 001708 call app_process_idle 
+0x301c 001709 call inquiry_dispatch 
+0x301d 001710 set0 mark_ext_patch ,mark 
+0x301e 001711 bpatch patch00_5 ,mem_patch00 
+0x301f 001712 call inquiry_scan_dispatch 
+0x3020 001713 call page_scan_dispatch 
+0x3021 001714 call connection_dispatch 
+0x3022 001715 call lpm_dispatch 
+0x3023 001716 branch main_loop 
+:      001718 connection_dispatch:
+0x3024 001719 call connection_incontext 
+0x3025 001720 rtnmark0 mark_context 
+0x3026 001721 set0 mark_context ,mark 
+0x3027 001722 call context_save 
+0x3028 001723 branch le_disable 
+:      001725 connection_incontext:
+0x3029 001726 set0 mark_ext_patch ,mark 
+0x302a 001727 bpatch patch00_6 ,mem_patch00 
+0x302b 001728 call context_search_insniff 
+0x302c 001729 nbranch connection_nosniff ,zero 
+0x302d 001730 call context_load 
+0x302e 001731 add rega ,coffset_mode ,contr 
+0x302f 001732 ifetch 1 ,contr 
+0x3030 001733 bbit1 mode_le ,le_conn_dispatch 
+0x3031 001734 bbit1 mode_master ,master_dispatch 
+0x3032 001735 branch slave_dispatch 
+:      001736 connection_nosniff:
+0x3033 001737 set0 mark_ext_patch ,mark 
+0x3034 001738 bpatch patch00_7 ,mem_patch00 
+0x3035 001739 call context_get_next 
+0x3036 001740 copy loopcnt ,null 
+0x3037 001741 rtn zero 
+0x3038 001742 call context_load 
+0x3039 001743 fetch 1 ,mem_state 
+0x303a 001744 bbit1 state_inpage ,master_page 
+0x303b 001745 fetch 1 ,mem_mode 
+0x303c 001746 bbit1 mode_master ,master_dispatch 
+0x303d 001747 branch slave_dispatch 
+:      001755 idle_dispatch:
+0x303e 001756 fetch 1 ,mem_hci_cmd 
+0x303f 001757 rtn blank 
+0x3040 001758 beq hci_cmd_inquiry ,idle_inquiry 
+0x3041 001759 beq hci_cmd_inquiry_cancel ,idle_inquiry_cancel 
+0x3042 001760 beq hci_cmd_remote_name_req ,idle_remote_name_req 
+0x3043 001761 beq hci_cmd_create_conn ,idle_create_conn 
+0x3044 001762 beq hci_cmd_le_create_conn ,idle_le_create_conn 
+0x3045 001763 call context_search_conn_handle 
+0x3046 001764 rtn zero 
+0x3047 001765 call context_search_plap 
+0x3048 001766 rtn zero 
+:      001767 idle_exit:
+0x3049 001768 jam 0 ,mem_hci_cmd 
+0x304a 001769 rtn 
+:      001771 idle_le_create_conn:
+0x304b 001772 jam hci_cmd_le_create_conn ,mem_cmd_le_create_conn 
+0x304c 001773 jam 0 ,mem_hci_cmd 
+0x304d 001774 rtn 
+:      001776 idle_inquiry:
+0x304e 001777 set1 mark_inquiry_on ,mark 
+0x304f 001778 set0 mark_inquiry_trainb ,mark 
+0x3050 001779 jam param_ninquiry ,mem_ninqy_index 
+0x3051 001780 jam 31 ,mem_nfreq_index_inq 
+0x3052 001781 branch idle_exit 
+:      001783 idle_inquiry_cancel:
+0x3053 001784 set0 mark_inquiry_on ,mark 
+0x3054 001785 force 0 ,stop_watch 
+0x3055 001786 branch idle_exit 
+:      001788 idle_remote_name_req:
+0x3056 001789 call context_search_plap 
+0x3057 001790 rtn zero 
+0x3058 001791 force lmp_name_req ,temp 
+0x3059 001792 jam 5 ,mem_nameres_cnt 
+0x305a 001793 branch idle_start_page 
+:      001795 idle_create_conn:
+0x305b 001796 set0 mark_ext_patch ,mark 
+0x305c 001797 bpatch patch01_0 ,mem_patch01 
+0x305d 001798 fetch 1 ,mem_device_option 
+0x305e 001799 beq dvc_op_hci ,idle_create_conn_hci 
+:      001800 idle_create_conn_device:
+0x305f 001801 fetch 6 ,mem_hci_plap 
+0x3060 001802 branch idle_exit ,blank 
+0x3061 001803 jam reconnect_hid ,memui_reconnect_mode 
+0x3062 001805 jam conn_sm_wait_features_res ,mem_conn_sm 
+0x3063 001806 branch idle_create_conn_cont 
+:      001808 idle_create_conn_hci:
+0x3064 001809 fetch 6 ,mem_hci_plap 
+0x3065 001810 branch idle_exit ,blank 
+0x3066 001811 store 6 ,mem_plap 
+:      001812 idle_create_conn_cont:
+0x3067 001813 force lmp_version_req ,temp 
+:      001814 idle_start_page:
+0x3068 001815 set0 mark_ext_patch ,mark 
+0x3069 001816 bpatch patch01_1 ,mem_patch01 
+0x306a 001817 fetch 1 ,mem_page_mode 
+0x306b 001818 branch idle_page_mode_r0 ,blank 
+0x306c 001819 lshift3 pdata ,pdata 
+0x306d 001820 lshift4 pdata ,pdata 
+0x306e 001821 increase -1 ,pdata 
+:      001822 idle_page_mode_r0:
+0x306f 001823 store 1 ,mem_npage 
+0x3070 001824 store 1 ,mem_npage_index 
+0x3071 001825 jam 31 ,mem_nfreq_index_page 
+0x3072 001826 set0 mark_page_trainb ,mark 
+0x3073 001827 call context_new 
+0x3074 001828 nbranch idle_page_fail ,zero 
+0x3075 001829 call get_free_amaddr 
+0x3076 001830 store 1 ,mem_amaddr 
+0x3077 001831 storet 1 ,mem_lmo_opcode2 
+0x3078 001832 fetch 6 ,mem_hci_plap 
+0x3079 001833 store 6 ,mem_plap 
+0x307a 001834 set0 mark_ext_patch ,mark 
+0x307b 001835 bpatch patch01_2 ,mem_patch01 
+0x307c 001836 force 0 ,pdata 
+0x307d 001837 compare lmp_name_req ,temp ,0xff 
+0x307e 001838 nsetflag true ,state_init_seq ,pdata 
+0x307f 001839 set1 state_inpage ,pdata 
+0x3080 001840 store 1 ,mem_state 
+0x3081 001841 jam bt_evt_reconn_started ,mem_fifo_temp 
+0x3082 001842 call ui_ipc_send_event 
+0x3083 001843 force 0 ,pdata 
+0x3084 001844 setflag true ,smap_name_req ,pdata 
+0x3085 001845 store 1 ,mem_state_map 
+0x3086 001846 setarg 0 
+0x3087 001847 set1 mode_master ,pdata 
+0x3088 001848 store 1 ,mem_mode 
+0x3089 001849 enable master 
+0x308a 001850 call context_save 
+0x308b 001851 disable master 
+0x308c 001852 force page_length_timer ,queue 
+0x308d 001853 fetch 2 ,mem_page_to 
+0x308e 001854 call timer_init 
+0x308f 001855 branch idle_exit 
+:      001856 idle_page_fail:
+0x3090 001857 set0 mark_ext_patch ,mark 
+0x3091 001858 bpatch patch01_3 ,mem_patch01 
+0x3092 001859 fetch 6 ,mem_hci_plap 
+0x3093 001860 store 6 ,mem_plap 
+0x3094 001861 compare lmp_name_req ,temp ,0xff 
+0x3095 001862 branch idle_name_fail ,true 
+0x3096 001863 force hci_error_memory_full ,temp 
+0x3097 001864 call hci_send_connection_error 
+0x3098 001865 branch idle_exit 
+:      001866 idle_name_fail:
+0x3099 001867 arg mem_tmp_buffer ,contw 
+0x309a 001868 arg 8 ,loopcnt 
+0x309b 001869 call memset0 
+0x309c 001870 force hci_error_memory_full ,queue 
+0x309d 001871 call hci_send_name 
+0x309e 001872 jam bt_evt_reconn_failed ,mem_fifo_temp 
+0x309f 001873 call ui_ipc_send_event 
+0x30a0 001874 branch idle_exit 
+:      001881 inquiry_dispatch:
+0x30a1 001882 rtnmark0 mark_inquiry_on 
+0x30a2 001883 force inquiry_length_timer ,queue 
+0x30a3 001884 call timer_check 
+0x30a4 001885 nsetflag blank ,mark_inquiry_on ,mark 
+0x30a5 001886 nbranch inquiry_start ,blank 
+0x30a6 001887 rtn 
+:      001891 inquiry_start:
+0x30a7 001892 set0 mark_ext_patch ,mark 
+0x30a8 001893 bpatch patch01_4 ,mem_patch01 
+0x30a9 001894 fetcht 2 ,mem_inq_window 
+0x30aa 001895 force 4 ,queue 
+0x30ab 001896 call sniff_check_window 
+0x30ac 001897 rtn user 
+0x30ad 001898 call afh_clear 
+0x30ae 001899 force 0 ,freq_mode 
+:      001900 inquiry_restart:
+0x30af 001901 rtn timeout 
+0x30b0 001902 set0 mark_fhs_already_good ,mark 
+0x30b1 001903 set0 mark_fhs_eir ,mark 
+:      001904 inquiry_rx_restart:
+0x30b2 001905 add clkn_bt ,1 ,bt_clk 
+0x30b3 001906 isolate1 mark_inquiry_trainb ,mark 
+0x30b4 001907 setflag true ,2 ,freq_mode 
+0x30b5 001908 compare 0x00 ,bt_clk ,0x02 
+0x30b6 001909 nbranch inquiry_receive ,true 
+:      001911 inquiry_transmit:
+0x30b7 001912 set0 mark_ext_patch ,mark 
+0x30b8 001913 bpatch patch01_5 ,mem_patch01 
+0x30b9 001914 fetch 1 ,mem_inquiry_transmit 
+0x30ba 001915 increase 1 ,pdata 
+0x30bb 001916 store 1 ,mem_inquiry_transmit 
+0x30bc 001917 call fetch_giac 
+0x30bd 001918 call tx_radio_freq 
+0x30be 001919 call fetch_diac 
+0x30bf 001920 call start_transmitter 
+0x30c0 001921 call start_tx_native 
+0x30c1 001922 call send_access_word 
+0x30c2 001923 call end_of_packet 
+0x30c3 001924 call inquiry_check_train 
+0x30c4 001925 branch inquiry_restart 
+:      001927 inquiry_check_train:
+0x30c5 001928 set0 mark_ext_patch ,mark 
+0x30c6 001929 bpatch patch01_6 ,mem_patch01 
+0x30c7 001930 fetch 1 ,mem_nfreq_index_inq 
+0x30c8 001931 increase -1 ,pdata 
+0x30c9 001932 store 1 ,mem_nfreq_index_inq 
+0x30ca 001933 rtn positive 
+0x30cb 001934 jam 31 ,mem_nfreq_index_inq 
+0x30cc 001935 fetch 1 ,mem_ninqy_index 
+0x30cd 001936 increase -1 ,pdata 
+0x30ce 001937 store 1 ,mem_ninqy_index 
+0x30cf 001938 rtn positive 
+0x30d0 001939 setflip mark_inquiry_trainb ,mark 
+0x30d1 001940 jam param_ninquiry ,mem_ninqy_index 
+0x30d2 001941 rtn 
+:      001943 inquiry_receive:
+0x30d3 001944 set0 mark_ext_patch ,mark 
+0x30d4 001945 bpatch patch01_7 ,mem_patch01 
+0x30d5 001946 call fetch_giac 
+0x30d6 001947 call rx_radio_freq 
+0x30d7 001948 call fetch_diac 
+0x30d8 001949 call start_rx_native 
+0x30d9 001950 call start_receiver 
+0x30da 001951 call wait_access_clkn_rt 
+0x30db 001952 branch inquiry_sync ,sync 
+0x30dc 001953 call inquiry_check_train 
+0x30dd 001954 branch inquiry_rx_restart 
+:      001955 inquiry_sync:
+0x30de 001956 set0 mark_ext_patch ,mark 
+0x30df 001957 bpatch patch02_0 ,mem_patch02 
+0x30e0 001958 call save_rssi 
+0x30e1 001959 call scan_mode_whiten 
+0x30e2 001960 call receive_packet_whitened 
+0x30e3 001961 set0 mark_rxbuf_inuse ,mark 
+0x30e4 001962 rtnmark0 mark_fhs_already_good 
+:      001963 inquiry_receive_rtn:
+0x30e5 001964 set0 mark_ext_patch ,mark 
+0x30e6 001965 bpatch patch02_1 ,mem_patch02 
+0x30e7 001966 fetch 1 ,mem_at_using_flag 
+0x30e8 001967 bbit1 at_flag_inq ,at_inquiry_reply 
+0x30e9 001968 call hci_inquiry_reply 
+:      001969 inquiry_receive_eir_rtn:
+0x30ea 001970 fetch 1 ,mem_inquiry_rcv 
+0x30eb 001971 increase 1 ,pdata 
+0x30ec 001972 store 1 ,mem_inquiry_rcv 
+0x30ed 001973 rtn 
+:      001974 inquiry_receive_eir:
+0x30ee 001975 set0 mark_fhs_already_good ,mark 
+0x30ef 001976 call rf_setup_time_slave_slot_eir 
+0x30f0 001977 call fetch_giac 
+0x30f1 001978 call rx_radio_freq 
+0x30f2 001979 call init_rx_packet_flags 
+0x30f3 001980 call start_rx_native 
+0x30f4 001981 call start_receiver 
+0x30f5 001982 call wait_access_clkn_rt 
+0x30f6 001983 branch inquiry_receive_eir_packet ,sync 
+0x30f7 001984 rtn 
+:      001985 inquiry_receive_eir_packet:
+0x30f8 001986 call scan_mode_whiten 
+0x30f9 001987 call receive_packet_whitened 
+0x30fa 001988 set0 mark_rxbuf_inuse ,mark 
+0x30fb 001989 branch inquiry_receive_rtn ,crc_failed 
+0x30fc 001990 call hci_inquiry_reply_eir 
+0x30fd 001991 branch inquiry_receive_eir_rtn 
+:      001993 rf_setup_time_slave_slot_eir:
+0x30fe 001994 arg param_rf_setup ,timeup 
+:      001995 rf_setup_time_eir:
+0x30ff 001996 until clkn_rt ,meet 
+0x3100 001997 and clkn_bt ,3 ,pdata 
+0x3101 001998 bne 1 ,rf_setup_time_eir 
+0x3102 001999 rtn 
+:      002008 master_page:
+0x3103 002009 set0 mark_ext_patch ,mark 
+0x3104 002010 bpatch patch02_2 ,mem_patch02 
+0x3105 002011 enable master 
+0x3106 002012 enable clknt 
+0x3107 002013 fetch 2 ,mem_page_interval 
+0x3108 002014 branch master_page_no_interval ,blank 
+0x3109 002015 force page_interval_timer ,queue 
+0x310a 002016 call timer_check 
+0x310b 002017 nrtn blank 
+:      002018 master_page_no_interval:
+0x310c 002019 set0 mark_ext_patch ,mark 
+0x310d 002020 bpatch patch02_3 ,mem_patch02 
+0x310e 002021 fetcht 2 ,mem_page_window 
+0x310f 002022 force 40 ,queue 
+0x3110 002023 call sniff_check_window 
+0x3111 002024 branch page_exit ,user 
+0x3112 002025 force page_length_timer ,queue 
+0x3113 002026 call timer_check 
+0x3114 002027 nbranch page_start ,blank 
+0x3115 002028 fetch 1 ,mem_state_map 
+0x3116 002029 bbit1 smap_name_req ,master_npage_timeout 
+0x3117 002030 force hci_error_page_timeout ,temp 
+0x3118 002031 call hci_send_connection_error 
+0x3119 002032 branch master_page_timeout 
+:      002033 master_npage_timeout:
+0x311a 002034 arg mem_tmp_buffer ,contw 
+0x311b 002035 arg 8 ,loopcnt 
+0x311c 002036 call memset0 
+0x311d 002037 force hci_error_page_timeout ,queue 
+0x311e 002038 call hci_send_name 
+:      002039 master_page_timeout:
+0x311f 002040 set0 mark_ext_patch ,mark 
+0x3120 002041 bpatch patch02_4 ,mem_patch02 
+0x3121 002042 jam 0 ,mem_state 
+0x3122 002043 call init_lmp_work 
+0x3123 002044 jam 0 ,memui_reconnect_mode 
+0x3124 002045 jam bt_evt_reconn_page_timeout ,mem_fifo_temp 
+0x3125 002046 call ui_ipc_send_event 
+0x3126 002047 branch page_exit 
+:      002049 page_start:
+0x3127 002050 set0 mark_ext_patch ,mark 
+0x3128 002051 bpatch patch02_5 ,mem_patch02 
+0x3129 002052 force 0 ,timeup 
+0x312a 002053 until clkn_rt ,meet 
+0x312b 002054 fetch 1 ,mem_page_clk 
+0x312c 002055 increase -1 ,pdata 
+0x312d 002056 ixor clkn_bt ,pdata 
+0x312e 002057 compare 0 ,pdata ,3 
+0x312f 002058 nbranch page_start ,true 
+0x3130 002059 deposit am_addr 
+0x3131 002060 store 1 ,mem_fhs_am_addr 
+0x3132 002061 force 0 ,n_tx_slot 
+0x3133 002062 force 0 ,freq_mode 
+:      002064 page_restart:
+0x3134 002065 set0 mark_ext_patch ,mark 
+0x3135 002066 bpatch patch02_6 ,mem_patch02 
+0x3136 002067 branch page_exit ,timeout 
+0x3137 002068 call fetch_page_bt_adr 
+0x3138 002069 arg param_rf_setup ,timeup 
+0x3139 002070 until clkn_rt ,meet 
+:      002071 page_rx_restart:
+0x313a 002072 set0 mark_ext_patch ,mark 
+0x313b 002073 bpatch patch02_7 ,mem_patch02 
+0x313c 002074 fetch 4 ,mem_page_clk 
+0x313d 002075 iforce bt_clk 
+0x313e 002076 increase 1 ,pdata 
+0x313f 002077 store 4 ,mem_page_clk 
+0x3140 002078 isolate1 mark_page_trainb ,mark 
+0x3141 002079 setflag true ,2 ,freq_mode 
+0x3142 002080 compare 0x00 ,bt_clk ,0x02 
+0x3143 002081 nbranch page_receive ,true 
+0x3144 002082 fetch 1 ,mem_page_transmit 
+0x3145 002083 increase 1 ,pdata 
+0x3146 002084 store 1 ,mem_page_transmit 
+0x3147 002085 call tx_radio_freq 
+0x3148 002086 call start_transmitter 
+0x3149 002087 call start_tx_native 
+0x314a 002088 call send_access_word 
+0x314b 002089 call end_of_packet 
+0x314c 002090 call page_check_train 
+0x314d 002091 branch page_restart 
+:      002092 master_dispatch_exit:
+:      002093 page_exit:
+0x314e 002094 set0 mark_ext_patch ,mark 
+0x314f 002095 bpatch patch03_0 ,mem_patch03 
+0x3150 002096 disable master 
+0x3151 002097 fetch 2 ,mem_page_interval 
+0x3152 002098 rtn blank 
+0x3153 002099 force page_interval_timer ,queue 
+0x3154 002100 branch timer_init 
+:      002102 page_check_train:
+0x3155 002103 set0 mark_ext_patch ,mark 
+0x3156 002104 bpatch patch03_1 ,mem_patch03 
+0x3157 002105 fetch 1 ,mem_nfreq_index_page 
+0x3158 002106 increase -1 ,pdata 
+0x3159 002107 store 1 ,mem_nfreq_index_page 
+0x315a 002108 rtn positive 
+0x315b 002109 jam 31 ,mem_nfreq_index_page 
+0x315c 002110 fetch 1 ,mem_npage_index 
+0x315d 002111 increase -1 ,pdata 
+0x315e 002112 store 1 ,mem_npage_index 
+0x315f 002113 rtn positive 
+0x3160 002114 setflip mark_page_trainb ,mark 
+0x3161 002115 fetch 1 ,mem_npage 
+0x3162 002116 store 1 ,mem_npage_index 
+0x3163 002117 rtn 
+:      002119 page_receive:
+0x3164 002120 set0 mark_ext_patch ,mark 
+0x3165 002121 bpatch patch03_2 ,mem_patch03 
+0x3166 002122 call rx_radio_freq 
+0x3167 002123 call start_rx_native 
+0x3168 002124 call start_receiver 
+0x3169 002125 call wait_access_clkn_rt 
+0x316a 002126 branch page_sync ,sync 
+0x316b 002127 call page_check_train 
+0x316c 002128 branch page_rx_restart 
+:      002129 page_sync:
+0x316d 002130 call end_of_packet 
+0x316e 002131 fetch 1 ,mem_page_rcv 
+0x316f 002132 increase 1 ,pdata 
+0x3170 002133 store 1 ,mem_page_rcv 
+0x3171 002134 force 0 ,stop_watch 
+0x3172 002135 fetch 4 ,mem_page_clk 
+:      002136 page_send_fhs:
+0x3173 002137 set0 mark_ext_patch ,mark 
+0x3174 002138 bpatch patch03_3 ,mem_patch03 
+0x3175 002139 call rf_setup_time_master_slot 
+0x3176 002140 call fetch_page_bt_adr 
+0x3177 002141 increase 1 ,n_tx_slot 
+:      002142 page_send_fhs_continue:
+0x3178 002143 and_into 0x1fd ,bt_clk 
+0x3179 002144 and_into 0x1fc ,freq_mode 
+0x317a 002145 call tx_radio_freq 
+0x317b 002146 call start_transmitter 
+0x317c 002147 call start_tx_native 
+0x317d 002148 call send_access_word 
+0x317e 002149 deposit clkn_bt 
+0x317f 002150 store 4 ,mem_clkn_bt 
+0x3180 002151 force 0 ,am_addr 
+0x3181 002152 force type_fhs ,type 
+0x3182 002153 call scan_mode_whiten 
+0x3183 002154 call transmit_packet_whitened 
+:      002155 page_wait_fhs_reply:
+0x3184 002156 set0 mark_ext_patch ,mark 
+0x3185 002157 bpatch patch03_4 ,mem_patch03 
+0x3186 002158 call rf_setup_time_slave_slot 
+0x3187 002159 or_into 0x02 ,bt_clk 
+0x3188 002160 and_into 0x1fc ,freq_mode 
+0x3189 002161 call rx_radio_freq 
+0x318a 002162 call start_rx_native 
+0x318b 002163 call start_receiver 
+0x318c 002164 call wait_access_clkn_rt 
+0x318d 002165 call end_of_packet ,sync 
+0x318e 002166 branch page_wait_fhs_reply_ok ,sync 
+0x318f 002167 fetch 1 ,mem_fhs_wait_counter 
+0x3190 002168 branch page_restart ,blank 
+0x3191 002169 increase -1 ,pdata 
+0x3192 002170 store 1 ,mem_fhs_wait_counter 
+0x3193 002171 branch page_send_fhs 
+:      002173 page_wait_fhs_reply_ok:
+0x3194 002174 set0 mark_ext_patch ,mark 
+0x3195 002175 bpatch patch03_5 ,mem_patch03 
+0x3196 002176 fetch 1 ,mem_page_rcv_fhs 
+0x3197 002177 increase 1 ,pdata 
+0x3198 002178 store 1 ,mem_page_rcv_fhs 
+0x3199 002179 call prepare_newconn 
+:      002180 master_newconn_loop:
+0x319a 002181 call master_newconn_once 
+0x319b 002182 branch newconn_poll_responded ,sync 
+0x319c 002183 call new_conn_timeout 
+0x319d 002184 nbranch master_newconn_loop ,blank 
+0x319e 002185 branch page_restart 
+:      002187 newconn_poll_responded:
+0x319f 002188 set0 mark_ext_patch ,mark 
+0x31a0 002189 bpatch patch03_6 ,mem_patch03 
+0x31a1 002190 fetch 1 ,mem_state 
+0x31a2 002191 set0 state_inpage ,pdata 
+0x31a3 002192 store 1 ,mem_state 
+0x31a4 002193 call newconn_init 
+0x31a5 002194 disable master 
+0x31a6 002195 rtn 
+:      002198 master_dispatch:
+0x31a7 002199 set0 mark_ext_patch ,mark 
+0x31a8 002200 bpatch patch03_7 ,mem_patch03 
+0x31a9 002201 enable master 
+0x31aa 002202 enable clknt 
+0x31ab 002203 call role_switch_master 
+0x31ac 002204 rtn user 
+0x31ad 002205 call check_bt_disabled 
+0x31ae 002206 call rf_setup_time_master_slot 
+0x31af 002207 add clkn_bt ,1 ,bt_clk 
+0x31b0 002208 call fetch_self_bt_adr 
+0x31b1 002209 force 0x03 ,freq_mode 
+0x31b2 002210 call load_esco 
+0x31b3 002211 call get_sco_data 
+0x31b4 002212 call scheduler_tx_l2cap_pkt 
+0x31b5 002213 call prepare_tx 
+0x31b6 002214 call tx_radio_freq 
+0x31b7 002215 call start_transmitter 
+0x31b8 002216 call start_tx_native 
+0x31b9 002217 call send_access_word 
+0x31ba 002218 call transmit_packet 
+:      002219 master_loop:
+0x31bb 002220 set0 mark_ext_patch ,mark 
+0x31bc 002221 bpatch patch04_0 ,mem_patch04 
+0x31bd 002222 call parse_lmp 
+0x31be 002223 call process_cmd 
+0x31bf 002224 call hci_send_num_complete_packets 
+0x31c0 002225 call master_conn_recv_packet 
+0x31c1 002226 nbranch master_notmatch ,match 
+0x31c2 002227 call supervision_flush 
+0x31c3 002228 call parse_l2cap 
+0x31c4 002229 fetch 1 ,mem_master_rcvcnt 
+0x31c5 002230 increase 1 ,pdata 
+0x31c6 002231 store 1 ,mem_master_rcvcnt 
+:      002232 master_notmatch:
+0x31c7 002233 set0 mark_ext_patch ,mark 
+0x31c8 002234 bpatch patch04_1 ,mem_patch04 
+0x31c9 002235 call scheduler_process 
+0x31ca 002236 call check_master_disconnect 
+0x31cb 002237 nrtn master 
+0x31cc 002238 call check_attempt 
+0x31cd 002239 nbranch master_attempt ,blank 
+:      002240 master_exit:
+0x31ce 002241 call process_sco_data 
+0x31cf 002242 call restore_esco 
+0x31d0 002243 disable master 
+0x31d1 002244 rtn 
+:      002246 master_attempt:
+0x31d2 002247 call prepare_tx 
+0x31d3 002248 call master_conn_send_packet 
+0x31d4 002249 branch master_loop 
+:      002252 check_master_disconnect:
+0x31d5 002253 branch check_master_match ,match 
+0x31d6 002254 call supervision_update 
+0x31d7 002255 branch master_disconnect ,positive 
+:      002256 check_master_match:
+0x31d8 002257 call check_disconnect_timeout 
+0x31d9 002258 nbranch master_disconnect ,user 
+0x31da 002259 fetch 1 ,mem_state_map 
+0x31db 002260 rtnbit0 smap_name_req 
+0x31dc 002261 rtnbit1 smap_name_res 
+0x31dd 002262 fetch 1 ,mem_op 
+0x31de 002263 rtnbit1 op_disconn 
+0x31df 002264 call conn_timer_expired 
+0x31e0 002265 nrtn blank 
+0x31e1 002266 fetch 1 ,mem_nameres_cnt 
+0x31e2 002267 increase -1 ,pdata 
+0x31e3 002268 store 1 ,mem_nameres_cnt 
+0x31e4 002269 nrtn blank 
+0x31e5 002270 branch lmp_disconnect 
+:      002272 master_disconnect:
+0x31e6 002273 set0 mark_ext_patch ,mark 
+0x31e7 002274 bpatch patch04_2 ,mem_patch04 
+0x31e8 002275 call quit_connection 
+0x31e9 002276 disable master 
+0x31ea 002277 fetch 1 ,mem_state_map 
+0x31eb 002278 bbit1 smap_name_req ,master_name_disconnect 
+0x31ec 002279 fetch 1 ,mem_state 
+0x31ed 002280 bbit0 state_conn_comp ,master_disconnect_quiet 
+0x31ee 002281 fetcht 1 ,mem_conn_handle 
+0x31ef 002282 branch hci_send_disconn_complete 
+:      002283 master_disconnect_quiet:
+0x31f0 002284 force hci_error_connection_timeout ,temp 
+0x31f1 002285 branch hci_send_connection_error 
+:      002286 master_name_disconnect:
+0x31f2 002287 force hci_success ,queue 
+0x31f3 002288 fetch 1 ,mem_state_map 
+0x31f4 002289 bbit1 smap_name_res ,hci_send_name 
+:      002290 master_name_error:
+0x31f5 002291 force hci_error_page_timeout ,queue 
+0x31f6 002292 arg mem_tmp_buffer ,contw 
+0x31f7 002293 arg 8 ,loopcnt 
+0x31f8 002294 call memset0 
+0x31f9 002295 branch hci_send_name 
+:      002297 disconnect_stop_sco:
+0x31fa 002298 set0 mark_ext_patch ,mark 
+0x31fb 002299 bpatch patch04_3 ,mem_patch04 
+0x31fc 002300 fetch 1 ,mem_state 
+0x31fd 002301 rtnbit0 state_insco 
+0x31fe 002302 fetcht 1 ,mem_conn_handle 
+0x31ff 002303 fetch 1 ,mem_sco_asso_handle 
+0x3200 002304 isub temp ,null 
+0x3201 002305 nrtn zero 
+0x3202 002306 call stop_esco 
+0x3203 002307 branch restore_esco_check_no_mark 
+:      002309 check_disconnect_timeout:
+0x3204 002310 set0 mark_ext_patch ,mark 
+0x3205 002311 bpatch patch04_4 ,mem_patch04 
+0x3206 002312 enable user 
+0x3207 002313 fetch 1 ,mem_op 
+0x3208 002314 rtnbit0 op_disconn 
+0x3209 002315 call conn_timer_expired 
+0x320a 002316 nrtn blank 
+:      002317 disable_usr:
+0x320b 002318 disable user 
+0x320c 002319 rtn 
+:      002321 conn_timer_expired:
+0x320d 002322 fetch 1 ,mem_conn_timer 
+0x320e 002323 increase -1 ,pdata 
+0x320f 002324 store 1 ,mem_conn_timer 
+0x3210 002325 rtn 
+:      002327 linkkey_ready:
+0x3211 002328 set0 mark_ext_patch ,mark 
+0x3212 002329 bpatch patch04_5 ,mem_patch04 
+0x3213 002330 fetch 1 ,mem_state 
+0x3214 002331 bbit1 state_linkkey ,linkkey_set 
+0x3215 002332 fetch 1 ,mem_device_option 
+0x3216 002333 beq dvc_op_hci ,linkkey_send_hci 
+0x3217 002334 fetch 1 ,mem_pairing_auth 
+0x3218 002335 branch linkkey_set ,blank 
+0x3219 002336 jam defalt_pairing_auth ,mem_pairing_auth 
+0x321a 002337 jam bt_evt_linkkey_generate ,mem_fifo_temp 
+0x321b 002338 call ui_ipc_send_event 
+0x321c 002339 branch linkkey_set 
+:      002340 linkkey_send_hci:
+0x321d 002341 call check_localsm 
+0x321e 002342 ncall hci_send_linkkey_notification ,true 
+:      002343 linkkey_set:
+0x321f 002344 set0 mark_ext_patch ,mark 
+0x3220 002345 bpatch patch04_6 ,mem_patch04 
+0x3221 002346 call context_traverse_linkkey 
+0x3222 002347 fetch 1 ,mem_state 
+0x3223 002348 set1 state_linkkey ,pdata 
+0x3224 002349 store 1 ,mem_state 
+0x3225 002350 jam 1 ,mem_link_key_exists 
+0x3226 002351 fetch 1 ,mem_conn_sm 
+0x3227 002352 bne conn_sm_pairing ,linkkey_set_continue 
+:      002353 linkkey_set_continue:
+0x3228 002354 rtn 
+:      002356 generate_linkkey_continue:
+0x3229 002357 jam pairing_auth ,mem_pairing_auth 
+:      002358 clear_linkstate:
+0x322a 002359 fetch 1 ,mem_state 
+0x322b 002360 set0 state_linkkey ,pdata 
+0x322c 002361 store 1 ,mem_state 
+0x322d 002362 rtn 
+:      002366 role_switch_check:
+0x322e 002367 set0 mark_ext_patch ,mark 
+0x322f 002368 bpatch patch04_7 ,mem_patch04 
+0x3230 002369 disable user 
+0x3231 002370 fetch 1 ,mem_state 
+0x3232 002371 rtnbit0 state_insniff 
+0x3233 002372 fetch 2 ,mem_tsniff 
+0x3234 002373 nrtn blank 
+0x3235 002374 fetch 4 ,mem_sniff_anchor 
+0x3236 002375 branch role_switch_clkn ,clknt 
+0x3237 002376 isub clke_bt ,pdata 
+0x3238 002377 branch role_switch_clke 
+:      002378 role_switch_clkn:
+0x3239 002379 isub clkn_bt ,pdata 
+:      002380 role_switch_clke:
+0x323a 002381 sub pdata ,4 ,null 
+0x323b 002382 nrtn positive 
+0x323c 002383 fetch 1 ,mem_state 
+0x323d 002384 set0 state_insniff ,pdata 
+0x323e 002385 store 1 ,mem_state 
+0x323f 002386 enable user 
+0x3240 002387 rtn 
+:      002390 role_switch_prepare:
+0x3241 002391 copy pdata ,temp 
+0x3242 002392 set0 mark_ext_patch ,mark 
+0x3243 002393 bpatch patch05_0 ,mem_patch05 
+0x3244 002394 store 4 ,mem_sniff_anchor 
+:      002395 role_switch_prepare0:
+0x3245 002396 jam switch_flag_accept ,mem_switch_flag 
+0x3246 002397 fetch 1 ,mem_state 
+0x3247 002398 set1 state_insniff ,pdata 
+0x3248 002399 store 1 ,mem_state 
+0x3249 002400 force 0 ,pdata 
+0x324a 002401 store 2 ,mem_tsniff 
+0x324b 002402 jam 10 ,mem_current_sniff_attempt 
+0x324c 002403 jam 1 ,mem_sniff_attempt 
+0x324d 002404 rtn 
+:      002407 role_switch_master:
+0x324e 002408 set0 mark_ext_patch ,mark 
+0x324f 002409 bpatch patch05_1 ,mem_patch05 
+0x3250 002410 call role_switch_check 
+0x3251 002411 nrtn user 
+0x3252 002412 disable user 
+0x3253 002413 jam param_newconnto ,mem_newconnto_counter 
+0x3254 002414 set0 mark_fhs_already_good ,mark 
+:      002415 roles_waitfhs_loop:
+0x3255 002416 call rf_setup_time_master_slot 
+0x3256 002417 call master_recv_packet 
+0x3257 002418 bmark1 mark_fhs_already_good ,roles_replyto_fhs 
+0x3258 002419 call new_conn_timeout 
+0x3259 002420 nbranch roles_waitfhs_loop ,blank 
+:      002421 role_switch_fail_master:
+0x325a 002422 set0 mark_ext_patch ,mark 
+0x325b 002423 bpatch patch05_2 ,mem_patch05 
+0x325c 002424 disable user 
+0x325d 002425 deposit clkn_bt 
+0x325e 002426 store 4 ,mem_next_btclk 
+0x325f 002427 enable clknt 
+0x3260 002428 enable master 
+0x3261 002429 jam bt_evt_switch_fail_master ,mem_fifo_temp 
+0x3262 002430 branch ui_ipc_send_event 
+:      002432 roles_replyto_fhs:
+0x3263 002433 set0 mark_ext_patch ,mark 
+0x3264 002434 bpatch patch05_3 ,mem_patch05 
+0x3265 002435 call rf_setup_time_slave_slot 
+0x3266 002436 call master_send_packet 
+0x3267 002437 disable clknt 
+0x3268 002438 disable master 
+0x3269 002439 call apply_switch_clke 
+0x326a 002440 call prepare_newconn 
+:      002441 roles_newconns_loop:
+0x326b 002442 set0 mark_ext_patch ,mark 
+0x326c 002443 bpatch patch05_4 ,mem_patch05 
+0x326d 002444 call slave_newconn_once 
+0x326e 002445 branch roles_newconns_responded ,match 
+0x326f 002446 call new_conn_timeout 
+0x3270 002447 nbranch roles_newconns_loop ,blank 
+0x3271 002448 branch role_switch_fail_master 
+:      002449 roles_newconns_responded:
+0x3272 002450 force 1 ,temp 
+0x3273 002451 call hci_send_role_change 
+0x3274 002452 fetch 1 ,mem_mode 
+0x3275 002453 set0 mode_master ,pdata 
+0x3276 002454 store 1 ,mem_mode 
+0x3277 002455 call supervision_flush 
+0x3278 002456 call calc_clke_offset 
+0x3279 002457 enable user 
+0x327a 002458 jam bt_evt_switch_success_master ,mem_fifo_temp 
+0x327b 002459 branch ui_ipc_send_event 
+:      002462 load_esco:
+0x327c 002463 set0 mark_ext_patch ,mark 
+0x327d 002464 bpatch patch05_5 ,mem_patch05 
+0x327e 002465 rtnmark0 mark_esco 
+0x327f 002466 fetch 1 ,mem_state 
+0x3280 002467 rtnbit0 state_insco 
+:      002468 load_esco_do:
+0x3281 002469 call init_esco_ibuff 
+0x3282 002470 fetch 1 ,mem_esco_arq 
+0x3283 002471 fetcht 1 ,mem_arq 
+0x3284 002472 storet 1 ,mem_esco_saved_arq 
+0x3285 002473 store 1 ,mem_arq 
+0x3286 002474 deposit am_addr 
+0x3287 002475 store 1 ,mem_saved_amaddr 
+0x3288 002476 fetch 1 ,mem_esco_addr 
+0x3289 002477 iforce am_addr 
+0x328a 002478 set0 mark_esco_rxok ,mark 
+0x328b 002479 fetch 1 ,mem_last_type 
+0x328c 002480 store 1 ,mem_last_type_saved 
+0x328d 002481 fetch 1 ,mem_last_type_esco 
+0x328e 002482 store 1 ,mem_last_type 
+0x328f 002483 rtn 
+:      002485 restore_esco:
+0x3290 002486 set0 mark_ext_patch ,mark 
+0x3291 002487 bpatch patch05_6 ,mem_patch05 
+0x3292 002488 rtnmark0 mark_esco 
+:      002489 restore_esco_check_no_mark:
+0x3293 002490 call check_esco_amaddr 
+0x3294 002491 nrtn true 
+:      002492 restore_esco_do:
+0x3295 002493 call clear_got_tx 
+0x3296 002494 fetch 1 ,mem_esco_saved_arq 
+0x3297 002495 fetcht 1 ,mem_arq 
+0x3298 002496 store 1 ,mem_arq 
+0x3299 002497 storet 1 ,mem_esco_arq 
+0x329a 002498 fetch 1 ,mem_saved_amaddr 
+0x329b 002499 iforce am_addr 
+0x329c 002500 fetch 1 ,mem_last_type 
+0x329d 002501 store 1 ,mem_last_type_esco 
+0x329e 002502 fetch 1 ,mem_last_type_saved 
+0x329f 002503 store 1 ,mem_last_type 
+0x32a0 002504 setarg 0xffff 
+0x32a1 002505 store 2 ,mem_retransmission_cnt 
+0x32a2 002506 rtn 
+:      002511 context_load:
+0x32a3 002512 set0 mark_ext_patch ,mark 
+0x32a4 002513 bpatch patch05_7 ,mem_patch05 
+0x32a5 002514 set1 mark_context ,mark 
+0x32a6 002515 deposit rega 
+0x32a7 002516 store 2 ,mem_context_ptr 
+0x32a8 002517 force context_size ,loopcnt 
+0x32a9 002518 arg mem_le_state ,contw 
+0x32aa 002519 add rega ,coffset_mode ,contr 
+0x32ab 002520 ifetch 1 ,contr 
+0x32ac 002521 copy rega ,contr 
+0x32ad 002522 bbit1 mode_le ,memcpy 
+0x32ae 002523 arg mem_state ,contw 
+0x32af 002524 call memcpy 
+0x32b0 002525 disable attempt 
+0x32b1 002526 fetch 1 ,mem_amaddr 
+0x32b2 002527 iforce am_addr 
+0x32b3 002528 jam 1 ,mem_current_sniff_attempt 
+0x32b4 002529 branch context_load_master ,master 
+0x32b5 002530 jam 1 ,mem_current_sniff_attempt 
+:      002531 context_load_master:
+0x32b6 002532 fetch 1 ,mem_state 
+0x32b7 002533 rtnbit0 state_insniff 
+0x32b8 002534 fetch 1 ,mem_sniff_attempt 
+0x32b9 002535 store 1 ,mem_current_sniff_attempt 
+0x32ba 002536 fetch 1 ,mem_sniff_timeout 
+0x32bb 002537 store 1 ,mem_current_sniff_timeout 
+0x32bc 002538 rtn 
+:      002540 context_save:
+0x32bd 002541 set0 mark_ext_patch ,mark 
+0x32be 002542 bpatch patch06_0 ,mem_patch06 
+0x32bf 002543 fetch 2 ,mem_context_ptr 
+0x32c0 002544 iforce contw 
+0x32c1 002545 force context_size ,loopcnt 
+0x32c2 002546 arg mem_le_state ,contr 
+0x32c3 002547 branch memcpy ,le 
+0x32c4 002548 arg mem_state ,contr 
+0x32c5 002549 branch memcpy 
+:      002553 context_get_next:
+0x32c6 002554 fetcht 1 ,mem_current_context 
+0x32c7 002555 arg context_num ,loopcnt 
+:      002556 context_get_next_loop:
+0x32c8 002557 increase 1 ,temp 
+0x32c9 002558 compare context_num ,temp ,0xff 
+0x32ca 002559 nbranch context_get_next_cont ,true 
+0x32cb 002560 arg 0 ,temp 
+:      002561 context_get_next_cont:
+0x32cc 002562 storet 1 ,mem_current_context 
+0x32cd 002563 mul32 temp ,context_size ,pdata 
+0x32ce 002564 arg mem_context ,rega 
+0x32cf 002565 iadd rega ,rega 
+0x32d0 002566 ifetch 1 ,rega 
+0x32d1 002567 bbit1 state_insniff ,context_get_next_sniff 
+0x32d2 002568 rtnbit1 state_inconn 
+0x32d3 002569 rtnbit1 state_inpage 
+:      002570 context_get_next_sniff:
+0x32d4 002571 loop context_get_next_loop 
+0x32d5 002572 rtn 
+:      002574 context_new:
+0x32d6 002575 set0 mark_ext_patch ,mark 
+0x32d7 002576 bpatch patch06_1 ,mem_patch06 
+0x32d8 002577 arg context_search_empty ,regc 
+0x32d9 002578 call context_search 
+0x32da 002579 nrtn zero 
+0x32db 002580 deposit rega 
+0x32dc 002581 store 2 ,mem_context_ptr 
+0x32dd 002582 force 0 ,null 
+0x32de 002583 rtn 
+:      002587 context_check_all_wack:
+0x32df 002588 call check_esco_amaddr 
+0x32e0 002589 branch context_check_esco_wack ,true 
+0x32e1 002590 fetch 2 ,mem_context_ptr 
+0x32e2 002591 add pdata ,coffset_arq ,contw 
+0x32e3 002592 fetch 1 ,mem_arq 
+0x32e4 002593 istore 1 ,contw 
+0x32e5 002594 arg context_check_a_wack ,regc 
+0x32e6 002595 branch context_search 
+:      002597 context_check_esco_wack:
+0x32e7 002598 fetch 1 ,mem_arq 
+0x32e8 002599 isolate1 wack ,pdata 
+0x32e9 002600 branch context_esco_wack ,true 
+0x32ea 002601 force 1 ,null 
+0x32eb 002602 rtn 
+:      002603 context_esco_wack:
+0x32ec 002604 force 0 ,null 
+0x32ed 002605 rtn 
+:      002608 context_check_idle:
+0x32ee 002609 arg context_check_inconn ,regc 
+0x32ef 002610 branch context_search 
+:      002612 context_traverse_linkkey:
+0x32f0 002613 fetcht 2 ,mem_context_ptr 
+0x32f1 002614 arg context_traverse_clearkey ,regc 
+0x32f2 002615 branch context_search 
+:      002617 context_traverse_max_slot:
+0x32f3 002618 fetcht 2 ,mem_context_ptr 
+0x32f4 002619 arg context_traverse_mslot ,regc 
+0x32f5 002620 branch context_search 
+:      002623 context_search_conn_handle:
+0x32f6 002624 fetcht 1 ,mem_hci_conn_handle 
+:      002625 context_search_conn_handle2:
+0x32f7 002626 arg context_search_handle ,regc 
+0x32f8 002627 branch context_search 
+:      002629 context_search_plap:
+0x32f9 002630 set0 mark_ext_patch ,mark 
+0x32fa 002631 bpatch patch06_2 ,mem_patch06 
+0x32fb 002632 fetcht 6 ,mem_hci_plap 
+:      002633 context_search_plap2:
+0x32fc 002634 arg context_search_lap ,regc 
+0x32fd 002635 branch context_search 
+:      002637 context_search_insniff:
+0x32fe 002638 arg context_search_sniff ,regc 
+0x32ff 002639 branch context_search 
+:      002641 context_search_sniff_window:
+0x3300 002642 arg context_search_window ,regc 
+:      002643 context_search:
+0x3301 002644 set0 mark_ext_patch ,mark 
+0x3302 002645 bpatch patch06_3 ,mem_patch06 
+0x3303 002646 arg mem_context ,rega 
+0x3304 002647 force context_num ,loopcnt 
+:      002648 context_search_loop:
+0x3305 002649 ifetch 1 ,rega 
+0x3306 002650 copy regc ,pc 
+:      002651 context_search_next:
+0x3307 002652 increase context_size ,rega 
+0x3308 002653 loop context_search_loop 
+0x3309 002654 force 1 ,null 
+0x330a 002655 rtn 
+:      002657 context_search_empty:
+0x330b 002658 bbit1 state_inconn ,context_search_next 
+0x330c 002659 bbit1 state_inpage ,context_search_next 
+0x330d 002660 force 0 ,null 
+0x330e 002661 rtn 
+:      002663 context_search_lap:
+0x330f 002664 bbit1 state_inpage ,context_search_lap_cont 
+0x3310 002665 bbit0 state_inconn ,context_search_next 
+:      002666 context_search_lap_cont:
+0x3311 002667 add rega ,coffset_plap ,contr 
+0x3312 002668 ifetch 6 ,contr 
+0x3313 002669 isub temp ,null 
+0x3314 002670 rtn zero 
+0x3315 002671 branch context_search_next 
+:      002673 context_search_handle:
+0x3316 002674 bbit0 state_inconn ,context_search_next 
+0x3317 002675 add rega ,coffset_conn_handle ,contr 
+0x3318 002676 ifetch 1 ,contr 
+0x3319 002677 isub temp ,null 
+0x331a 002678 rtn zero 
+0x331b 002679 branch context_search_next 
+:      002681 context_search_sniff:
+0x331c 002682 bbit0 state_insniff ,context_search_next 
+:      002683 context_search_sniff_loop:
+0x331d 002684 call context_get_anchor 
+0x331e 002685 bbit1 27 ,context_search_sniff_cont 
+0x331f 002686 isolate0 27 ,temp 
+0x3320 002687 branch context_search_sniff_cont ,true 
+0x3321 002688 set1 28 ,pdata 
+:      002689 context_search_sniff_cont:
+0x3322 002690 isub temp ,pdata 
+0x3323 002691 increase 1 ,pdata 
+0x3324 002692 branch context_search_sniff_miss ,positive 
+0x3325 002693 increase 5 ,pdata 
+0x3326 002694 nbranch context_search_next ,positive 
+:      002695 context_search_meet:
+0x3327 002696 copy temp ,bt_clk 
+0x3328 002697 call context_next_anchor 
+0x3329 002698 force 0 ,null 
+0x332a 002699 rtn 
+:      002701 context_search_sniff_miss:
+0x332b 002702 iforce regb 
+0x332c 002703 add rega ,coffset_tsniff ,contr 
+0x332d 002704 ifetch 2 ,contr 
+0x332e 002705 branch context_search_meet ,blank 
+0x332f 002706 call context_next_anchor 
+0x3330 002707 branch context_search_sniff_loop 
+:      002709 context_check_inconn:
+0x3331 002710 bbit0 state_inconn ,context_search_next 
+0x3332 002711 force 0 ,null 
+0x3333 002712 rtn 
+:      002714 context_check_a_wack:
+0x3334 002715 bbit0 state_inconn ,context_search_next 
+0x3335 002716 add rega ,coffset_mode ,contr 
+0x3336 002717 ifetch 1 ,contr 
+0x3337 002718 bbit1 mode_le ,context_search_next 
+0x3338 002719 add rega ,coffset_arq ,contr 
+0x3339 002720 ifetch 1 ,contr 
+0x333a 002721 bbit0 wack ,context_search_next 
+0x333b 002722 force 0 ,null 
+0x333c 002723 rtn 
+:      002725 context_get_anchor:
+0x333d 002726 add rega ,coffset_mode ,contr 
+0x333e 002727 ifetcht 1 ,contr 
+0x333f 002728 deposit clkn_bt 
+0x3340 002729 isolate1 mode_master ,temp 
+0x3341 002730 add rega ,coffset_sniff_anchor ,contr 
+0x3342 002731 ifetcht 4 ,contr 
+0x3343 002732 rtn true 
+0x3344 002733 add rega ,coffset_clk_offset ,contr 
+0x3345 002734 ifetch 6 ,contr 
+0x3346 002735 call calc_clke2 
+0x3347 002736 deposit clke_bt 
+0x3348 002737 rtn 
+:      002739 context_next_anchor:
+0x3349 002740 add rega ,coffset_tsniff ,contr 
+0x334a 002741 add rega ,coffset_sniff_anchor ,contw 
+0x334b 002742 ifetch 2 ,contr 
+0x334c 002743 iadd temp ,timeup 
+0x334d 002744 deposit timeup 
+0x334e 002745 istore 4 ,contw 
+0x334f 002746 branch le_context_nexthop 
+:      002749 context_search_window:
+0x3350 002750 bbit0 state_insniff ,context_search_next 
+0x3351 002751 call context_get_anchor 
+0x3352 002752 iadd stop_watch ,pdata 
+0x3353 002753 iadd stop_watch ,pdata 
+0x3354 002754 iadd queue ,pdata 
+0x3355 002755 isub temp ,null 
+0x3356 002756 nbranch context_search_next ,positive 
+0x3357 002757 force 0 ,null 
+0x3358 002758 rtn 
+:      002760 context_traverse_mslot:
+0x3359 002761 bbit0 state_inconn ,context_search_next 
+0x335a 002762 deposit temp 
+0x335b 002763 isub rega ,null 
+0x335c 002764 branch context_search_next ,null 
+0x335d 002765 add rega ,coffset_mode ,contr 
+0x335e 002766 ifetch 1 ,contr 
+0x335f 002767 bbit1 mode_le ,context_search_next 
+0x3360 002768 add rega ,coffset_lmp_to_send ,contw 
+0x3361 002769 ifetch 1 ,contw 
+0x3362 002770 nbranch context_search_next ,blank 
+0x3363 002771 force lmp_max_slot ,pdata 
+0x3364 002772 istore 1 ,contw 
+0x3365 002773 branch context_search_next 
+:      002775 context_traverse_clearkey:
+0x3366 002776 bbit0 state_inconn ,context_search_next 
+0x3367 002777 deposit temp 
+0x3368 002778 isub rega ,null 
+0x3369 002779 branch context_search_next ,null 
+0x336a 002780 add rega ,coffset_mode ,contr 
+0x336b 002781 ifetch 1 ,contr 
+0x336c 002782 bbit1 mode_le ,context_search_next 
+0x336d 002783 ifetch 1 ,rega 
+0x336e 002784 set0 state_linkkey ,pdata 
+0x336f 002785 istore 1 ,rega 
+0x3370 002786 branch context_search_next 
+:      002789 master_conn_send_packet:
+0x3371 002790 set0 mark_ext_patch ,mark 
+0x3372 002791 bpatch patch06_4 ,mem_patch06 
+0x3373 002792 call rf_setup_time_master_slot 
+:      002793 master_send_packet:
+0x3374 002794 add clkn_bt ,1 ,bt_clk 
+0x3375 002795 call fetch_self_bt_adr 
+0x3376 002796 force 0x03 ,freq_mode 
+0x3377 002797 call tx_radio_freq 
+0x3378 002798 call start_transmitter 
+0x3379 002799 call start_tx_native 
+0x337a 002800 call send_access_word 
+0x337b 002801 branch transmit_packet 
+:      002803 master_conn_recv_packet:
+0x337c 002804 set0 mark_ext_patch ,mark 
+0x337d 002805 bpatch patch06_5 ,mem_patch06 
+0x337e 002806 call rf_setup_time_slave_slot 
+:      002807 master_recv_packet:
+0x337f 002808 add clkn_bt ,1 ,bt_clk 
+0x3380 002809 call fetch_self_bt_adr 
+0x3381 002810 force 0x03 ,freq_mode 
+0x3382 002811 call rx_radio_freq 
+0x3383 002812 call init_rx_packet_flags 
+0x3384 002813 call prep_crypt 
+0x3385 002814 call start_rx_native 
+0x3386 002815 call start_receiver 
+:      002816 master_rx_conn_finish_packet:
+0x3387 002817 call wait_access_clkn_rt 
+0x3388 002818 nrtn sync 
+0x3389 002819 call save_rssi 
+0x338a 002820 branch receive_packet 
+:      002824 master_newconn_once:
+0x338b 002825 set0 mark_ext_patch ,mark 
+0x338c 002826 bpatch patch06_6 ,mem_patch06 
+0x338d 002827 fetch 1 ,mem_fhs_am_addr 
+0x338e 002828 iforce am_addr 
+0x338f 002829 force type_poll ,type 
+0x3390 002830 call master_conn_send_packet 
+0x3391 002831 branch master_conn_recv_packet 
+:      002842 inquiry_scan_dispatch:
+0x3392 002843 fetch 1 ,mem_scan_mode 
+0x3393 002844 rtnbit0 inq_scan_mode 
+0x3394 002845 force iscan_interval_timer ,queue 
+0x3395 002846 call timer_check 
+0x3396 002847 nrtn blank 
+0x3397 002848 fetcht 2 ,mem_iscan_window 
+0x3398 002849 force 4 ,queue 
+0x3399 002850 call sniff_check_window 
+0x339a 002851 rtn user 
+0x339b 002852 call inquiry_scan_start 
+0x339c 002853 force iscan_interval_timer ,queue 
+0x339d 002854 fetch 2 ,mem_iscan_interval 
+0x339e 002855 nbranch timer_init ,sync 
+0x339f 002856 random pdata 
+0x33a0 002857 iand mask3ff ,pdata 
+0x33a1 002858 branch timer_init 
+:      002861 inquiry_scan_start:
+0x33a2 002862 set0 mark_ext_patch ,mark 
+0x33a3 002863 bpatch patch06_7 ,mem_patch06 
+0x33a4 002864 jam 0 ,mem_fhs_am_addr 
+0x33a5 002865 disable clknt 
+0x33a6 002866 disable attempt 
+0x33a7 002867 call afh_clear 
+0x33a8 002868 and clkn_bt ,0x1fc ,bt_clk 
+0x33a9 002869 force 0x01 ,freq_mode 
+0x33aa 002870 call fetch_giac 
+0x33ab 002871 call rx_radio_freq 
+0x33ac 002872 setflip mark_inquiry_state ,mark 
+0x33ad 002873 fetch 1 ,mem_inquiryscan_waitcnt 
+0x33ae 002874 increase 1 ,pdata 
+0x33af 002875 store 1 ,mem_inquiryscan_waitcnt 
+0x33b0 002876 call fetch_diac 
+0x33b1 002877 call start_receiver 
+0x33b2 002878 call wait_access_forever 
+0x33b3 002879 nrtn sync 
+0x33b4 002880 set0 mark_ext_patch ,mark 
+0x33b5 002881 bpatch patch07_0 ,mem_patch07 
+0x33b6 002882 force 0 ,stop_watch 
+0x33b7 002883 call shutdown_radio 
+0x33b8 002884 fetch 1 ,mem_inquiryscan_rcvcnt 
+0x33b9 002885 increase 1 ,pdata 
+0x33ba 002886 store 1 ,mem_inquiryscan_rcvcnt 
+0x33bb 002887 call fetch_giac 
+0x33bc 002888 call rf_setup_time_slave_slot 
+0x33bd 002889 or_into 0x002 ,bt_clk 
+0x33be 002890 force 0x01 ,freq_mode 
+0x33bf 002891 call tx_radio_freq 
+0x33c0 002892 call fetch_diac 
+0x33c1 002893 call start_transmitter 
+0x33c2 002894 call start_tx_external 
+0x33c3 002895 deposit clkn_bt 
+0x33c4 002896 store 4 ,mem_clkn_bt 
+0x33c5 002897 call send_access_word 
+0x33c6 002898 force type_fhs ,type 
+0x33c7 002899 force 0 ,am_addr 
+0x33c8 002900 call scan_mode_whiten 
+0x33c9 002901 call transmit_packet_whitened 
+0x33ca 002902 call send_eir 
+0x33cb 002903 and_into 0x1fd ,bt_clk 
+0x33cc 002904 increase 1 ,n_tx_slot 
+0x33cd 002905 rtn 
+:      002907 send_eir:
+0x33ce 002908 set0 mark_ext_patch ,mark 
+0x33cf 002909 bpatch patch07_1 ,mem_patch07 
+0x33d0 002910 fetch 1 ,mem_eir_enable 
+0x33d1 002911 rtn blank 
+0x33d2 002912 arg mem_eir ,contw 
+0x33d3 002913 fetch 1 ,mem_local_name_length 
+0x33d4 002914 copy pdata ,loopcnt 
+0x33d5 002915 increase 1 ,pdata 
+0x33d6 002916 istore 1 ,contw 
+0x33d7 002917 copy contw ,temp 
+0x33d8 002918 increase 1 ,pdata 
+0x33d9 002919 store 2 ,mem_tx_len 
+0x33da 002920 copy temp ,contw 
+0x33db 002921 setarg 0x09 
+0x33dc 002922 istore 1 ,contw 
+0x33dd 002923 arg mem_local_name ,contr 
+0x33de 002924 call memcpy 
+0x33df 002925 arg mem_all_uuid_128bits ,regc 
+0x33e0 002926 arg 4 ,loopcnt 
+0x33e1 002927 call get_all_uuid 
+0x33e2 002928 arg mem_all_uuid_16bits ,regc 
+0x33e3 002929 arg 1 ,loopcnt 
+0x33e4 002930 call get_all_uuid 
+0x33e5 002931 force type_dm3 ,type 
+0x33e6 002932 jam 2 ,mem_tx_lch 
+0x33e7 002933 setarg mem_eir 
+0x33e8 002934 store 2 ,mem_txptr 
+0x33e9 002935 call rf_setup_time_slave_slot 
+0x33ea 002936 call tx_radio_freq 
+0x33eb 002937 call start_transmitter 
+0x33ec 002938 call start_tx_external 
+0x33ed 002939 call send_access_word 
+0x33ee 002940 call scan_mode_whiten 
+0x33ef 002941 call transmit_packet_whitened 
+0x33f0 002942 rtn 
+:      002945 get_all_uuid:
+0x33f1 002946 copy contw ,temp 
+0x33f2 002947 copy regc ,contr 
+0x33f3 002948 ifetch 1 ,contr 
+0x33f4 002949 rtn blank 
+:      002950 lshift_loop:
+0x33f5 002951 lshift pdata ,pdata 
+0x33f6 002952 loop lshift_loop 
+0x33f7 002953 copy pdata ,rega 
+0x33f8 002954 increase 2 ,pdata 
+0x33f9 002955 copy pdata ,queue 
+0x33fa 002956 fetch 2 ,mem_tx_len 
+0x33fb 002957 iadd queue ,pdata 
+0x33fc 002958 store 2 ,mem_tx_len 
+0x33fd 002959 copy temp ,contw 
+0x33fe 002960 copy rega ,pdata 
+0x33ff 002961 increase 1 ,pdata 
+0x3400 002962 istore 1 ,contw 
+0x3401 002963 copy regc ,contr 
+0x3402 002964 ifetch 1 ,contr 
+0x3403 002965 ifetch 1 ,contr 
+0x3404 002966 istore 1 ,contw 
+0x3405 002967 copy rega ,loopcnt 
+0x3406 002968 branch memcpy 
+:      002974 page_scan_dispatch:
+0x3407 002975 fetch 1 ,mem_scan_mode 
+0x3408 002976 rtnbit0 page_scan_mode 
+0x3409 002977 force pscan_interval_timer ,queue 
+0x340a 002978 call timer_check 
+0x340b 002979 nrtn blank 
+0x340c 002980 fetcht 2 ,mem_pscan_window 
+0x340d 002981 force 40 ,queue 
+0x340e 002982 call sniff_check_window 
+0x340f 002983 rtn user 
+0x3410 002984 force 0 ,am_addr 
+0x3411 002985 jam param_pagerespto ,mem_fhs_wait_counter 
+0x3412 002986 set0 mark_fhs_already_good ,mark 
+0x3413 002987 call page_scan_start 
+0x3414 002988 force pscan_interval_timer ,queue 
+0x3415 002989 fetch 2 ,mem_pscan_interval 
+0x3416 002990 branch timer_init 
+:      002993 page_scan_start:
+0x3417 002994 set0 mark_ext_patch ,mark 
+0x3418 002995 bpatch patch07_2 ,mem_patch07 
+0x3419 002996 disable clknt 
+0x341a 002997 call afh_clear 
+0x341b 002998 fetch 1 ,mem_pagescan_waitcnt 
+0x341c 002999 increase 1 ,pdata 
+0x341d 003000 store 1 ,mem_pagescan_waitcnt 
+0x341e 003001 force 0 ,n_tx_slot 
+0x341f 003002 call fetch_self_bt_adr 
+0x3420 003003 add clkn_bt ,1 ,bt_clk 
+0x3421 003004 force 0x02 ,freq_mode 
+0x3422 003005 set0 mark_ext_patch ,mark 
+0x3423 003006 bpatch patch07_3 ,mem_patch07 
+0x3424 003007 call rx_radio_freq 
+0x3425 003008 call start_receiver 
+0x3426 003009 call wait_access_forever 
+0x3427 003010 nrtn sync 
+0x3428 003011 call shutdown_radio 
+0x3429 003012 fetch 1 ,mem_pagescan_rcvcnt 
+0x342a 003013 increase 1 ,pdata 
+0x342b 003014 store 1 ,mem_pagescan_rcvcnt 
+0x342c 003015 force 0 ,stop_watch 
+0x342d 003016 call rf_setup_time_slave_slot 
+0x342e 003017 or_into 0x002 ,bt_clk 
+0x342f 003018 force 0x01 ,freq_mode 
+0x3430 003019 call tx_radio_freq 
+0x3431 003020 call start_transmitter 
+0x3432 003021 call start_tx_external 
+0x3433 003022 call send_access_word 
+0x3434 003023 call end_of_packet 
+0x3435 003024 force 0 ,am_addr 
+0x3436 003025 arg param_rf_setup ,timeup 
+0x3437 003026 until clke_rt ,meet 
+0x3438 003027 or_into 0x03 ,clke_bt 
+0x3439 003028 and_into 0x1fd ,bt_clk 
+:      003029 page_scan_wait_fhs_restart:
+0x343a 003030 set0 mark_ext_patch ,mark 
+0x343b 003031 bpatch patch07_4 ,mem_patch07 
+0x343c 003032 increase 1 ,n_tx_slot 
+0x343d 003033 call rx_radio_freq 
+0x343e 003034 call start_receiver 
+0x343f 003035 call wait_access_mhalfbnd 
+0x3440 003036 nbranch page_scan_wait_fhs_again ,sync 
+0x3441 003037 call scan_mode_whiten 
+0x3442 003038 call receive_packet_whitened 
+0x3443 003039 bmark1 mark_fhs_already_good ,page_scan_reply_to_fhs 
+:      003040 page_scan_wait_fhs_again:
+0x3444 003041 set0 mark_ext_patch ,mark 
+0x3445 003042 bpatch patch07_5 ,mem_patch07 
+0x3446 003043 fetch 1 ,mem_fhs_wait_counter 
+0x3447 003044 rtn blank 
+0x3448 003045 increase -1 ,pdata 
+0x3449 003046 store 1 ,mem_fhs_wait_counter 
+0x344a 003047 call rf_setup_time_master_slot 
+0x344b 003048 branch page_scan_wait_fhs_restart 
+:      003051 page_scan_reply_to_fhs:
+0x344c 003052 set0 mark_ext_patch ,mark 
+0x344d 003053 bpatch patch07_6 ,mem_patch07 
+0x344e 003054 set0 1 ,clke_bt 
+0x344f 003055 set1 0 ,clke_bt 
+0x3450 003056 fetch 1 ,mem_pagescan_rcvfhscnt 
+0x3451 003057 increase 1 ,pdata 
+0x3452 003058 store 1 ,mem_pagescan_rcvfhscnt 
+0x3453 003059 call rf_setup_time_slave_slot 
+0x3454 003060 or_into 0x02 ,bt_clk 
+0x3455 003061 call tx_radio_freq 
+0x3456 003062 call start_transmitter 
+0x3457 003063 call start_tx_external 
+0x3458 003064 call send_access_word 
+0x3459 003065 call end_of_packet 
+:      003066 slave_apply_clke_bt:
+0x345a 003067 compare 0x03 ,clke_bt ,0x03 
+0x345b 003068 branch slave_apply_clke_bt_now ,true 
+0x345c 003069 until null ,mhalfbnd 
+0x345d 003070 branch slave_apply_clke_bt 
+:      003071 slave_apply_clke_bt_now:
+0x345e 003072 fetch 4 ,mem_clke_bt 
+0x345f 003073 or_into 0x03 ,pdata 
+0x3460 003074 icopy clke_bt 
+:      003076 start_slave_connection:
+0x3461 003077 set0 mark_ext_patch ,mark 
+0x3462 003078 bpatch patch07_7 ,mem_patch07 
+0x3463 003079 fetch 6 ,extm_lap 
+0x3464 003080 store 6 ,mem_plap 
+0x3465 003081 call prepare_newconn 
+:      003082 slave_newconn_loop:
+0x3466 003083 call slave_newconn_once 
+0x3467 003084 branch sconn_successful ,match 
+0x3468 003085 call new_conn_timeout 
+0x3469 003086 nbranch slave_newconn_loop ,blank 
+0x346a 003087 rtn 
+:      003090 sconn_successful:
+0x346b 003091 set0 mark_ext_patch ,mark 
+0x346c 003092 bpatch patch08_0 ,mem_patch08 
+0x346d 003093 call newconn_init 
+0x346e 003094 call context_new 
+0x346f 003095 nrtn zero 
+0x3470 003096 jam 0 ,mem_mode 
+0x3471 003097 call calc_clke_offset 
+0x3472 003098 branch context_save 
+:      003101 slave_dispatch:
+0x3473 003102 set0 mark_ext_patch ,mark 
+0x3474 003103 bpatch patch08_1 ,mem_patch08 
+0x3475 003104 call calc_clke 
+0x3476 003105 call role_switch_slave 
+0x3477 003106 rtn user 
+0x3478 003107 call load_esco 
+0x3479 003108 call get_sco_data 
+:      003109 slave_loop:
+0x347a 003110 set0 mark_ext_patch ,mark 
+0x347b 003111 bpatch patch08_2 ,mem_patch08 
+0x347c 003112 call check_bt_disabled 
+0x347d 003113 call scheduler_process 
+0x347e 003114 call slave_conn_recv_packet 
+0x347f 003115 call slave_savelist 
+0x3480 003116 nbranch slave_notmatch ,match 
+0x3481 003117 call supervision_flush 
+0x3482 003118 call parse_l2cap 
+0x3483 003119 call scheduler_tx_l2cap_pkt 
+0x3484 003120 call prepare_tx 
+0x3485 003121 call slave_conn_send_packet 
+0x3486 003122 call parse_lmp 
+0x3487 003123 call process_cmd 
+0x3488 003124 call hci_send_num_complete_packets 
+0x3489 003125 fetch 1 ,mem_slave_rcvcnt 
+0x348a 003126 increase 1 ,pdata 
+0x348b 003127 store 1 ,mem_slave_rcvcnt 
+0x348c 003128 call calc_clke_offset 
+:      003129 slave_notmatch:
+0x348d 003130 set0 mark_ext_patch ,mark 
+0x348e 003131 bpatch patch08_3 ,mem_patch08 
+0x348f 003132 call lpm_set_mult 
+0x3490 003133 call supervision_update 
+0x3491 003134 branch slave_disconnect ,positive 
+0x3492 003135 call check_disconnect_timeout 
+0x3493 003136 nbranch slave_disconnect ,user 
+0x3494 003137 call check_attempt 
+0x3495 003138 nbranch slave_loop ,blank 
+0x3496 003139 call process_sco_data 
+0x3497 003140 branch restore_esco 
+:      003143 slave_disconnect:
+0x3498 003144 set0 mark_ext_patch ,mark 
+0x3499 003145 bpatch patch08_4 ,mem_patch08 
+0x349a 003146 jam 0 ,mem_tester_emulate 
+0x349b 003147 jam 0 ,mem_debug_config 
+0x349c 003148 call quit_connection 
+0x349d 003149 set0 mark_testmode ,mark 
+0x349e 003150 call test_enable_white 
+0x349f 003151 fetch 1 ,mem_state 
+0x34a0 003152 bbit0 state_conn_comp ,slave_connection_fail 
+0x34a1 003153 fetcht 1 ,mem_conn_handle 
+0x34a2 003154 branch hci_send_disconn_complete 
+:      003156 slave_connection_fail:
+0x34a3 003157 force hci_error_key_missing ,temp 
+0x34a4 003158 branch hci_send_connection_error 
+:      003160 role_switch_slave:
+0x34a5 003161 set0 mark_ext_patch ,mark 
+0x34a6 003162 bpatch patch08_5 ,mem_patch08 
+0x34a7 003163 call role_switch_check 
+0x34a8 003164 nrtn user 
+0x34a9 003165 copy am_addr ,temp 
+0x34aa 003166 call get_free_amaddr 
+0x34ab 003167 store 1 ,mem_fhs_am_addr 
+0x34ac 003168 copy temp ,am_addr 
+0x34ad 003169 jam param_newconnto ,mem_newconnto_counter 
+:      003170 roles_sendfhs_loop:
+0x34ae 003171 set0 mark_ext_patch ,mark 
+0x34af 003172 bpatch patch08_6 ,mem_patch08 
+0x34b0 003173 call rf_setup_time_master_slot 
+0x34b1 003174 force type_fhs ,type 
+0x34b2 003175 call slave_send_access 
+0x34b3 003176 deposit clkn_bt 
+0x34b4 003177 store 4 ,mem_clkn_bt 
+0x34b5 003178 call transmit_packet 
+0x34b6 003179 call rf_setup_time_slave_slot 
+0x34b7 003180 enable user3 
+0x34b8 003181 call slave_receive_access 
+0x34b9 003182 branch roles_got_fhs_reply ,sync 
+0x34ba 003183 call shutdown_radio 
+0x34bb 003184 call new_conn_timeout 
+0x34bc 003185 nbranch roles_sendfhs_loop ,blank 
+0x34bd 003186 rtnmark0 mark_accept_switch 
+0x34be 003187 jam lmp_slot_offset ,mem_lmo_opcode2 
+0x34bf 003188 set1 mark_switch_initiated ,mark 
+0x34c0 003189 rtn 
+:      003190 roles_got_fhs_reply:
+0x34c1 003191 enable clknt 
+0x34c2 003192 call prepare_newconn 
+0x34c3 003193 call afh_clear 
+:      003194 roles_newconn_loop:
+0x34c4 003195 set0 mark_ext_patch ,mark 
+0x34c5 003196 bpatch patch08_7 ,mem_patch08 
+0x34c6 003197 call master_newconn_once 
+0x34c7 003198 branch roles_newconn_responded ,sync 
+0x34c8 003199 call new_conn_timeout 
+0x34c9 003200 nbranch roles_newconn_loop ,blank 
+0x34ca 003201 disable clknt 
+0x34cb 003202 deposit clke_bt 
+0x34cc 003203 store 4 ,mem_next_btclk 
+0x34cd 003204 rtn 
+:      003205 roles_newconn_responded:
+0x34ce 003206 force 0 ,temp 
+0x34cf 003207 call hci_send_role_change 
+0x34d0 003208 enable master 
+0x34d1 003209 bmark0 mark_accept_switch ,roles_newconn_nolmp 
+0x34d2 003210 set0 mark_accept_switch ,mark 
+0x34d3 003211 jam lmp_accepted ,mem_lmo_opcode2 
+0x34d4 003212 jam lmp_host_connection_req ,mem_lmi_opcode2 
+0x34d5 003213 call tid_set_reply 
+:      003214 roles_newconn_nolmp:
+0x34d6 003215 deposit am_addr 
+0x34d7 003216 store 1 ,mem_amaddr 
+0x34d8 003217 force 0 ,pdata 
+0x34d9 003218 store 6 ,mem_clk_offset 
+0x34da 003219 fetch 1 ,mem_mode 
+0x34db 003220 set1 mode_master ,pdata 
+0x34dc 003221 store 1 ,mem_mode 
+0x34dd 003222 call supervision_flush 
+0x34de 003223 disable master 
+0x34df 003224 enable user 
+0x34e0 003225 rtn 
+:      003229 init_rx_packet_flags:
+0x34e1 003230 set0 mark_ext_patch ,mark 
+0x34e2 003231 bpatch patch09_0 ,mem_patch09 
+0x34e3 003232 disable match 
+0x34e4 003233 set0 mark_loopback ,mark 
+0x34e5 003234 set0 mark_am_addr_broadcast ,mark 
+0x34e6 003235 set0 mark_longpacket ,mark 
+0x34e7 003236 set0 mark_old_packet ,mark 
+0x34e8 003237 fetch 1 ,mem_arq 
+0x34e9 003238 set0 arqnx ,pdata 
+0x34ea 003239 set1 flowx ,pdata 
+0x34eb 003240 store 1 ,mem_arq 
+0x34ec 003241 rtn 
+:      003243 prepare_newconn:
+0x34ed 003244 set0 mark_ext_patch ,mark 
+0x34ee 003245 bpatch patch09_1 ,mem_patch09 
+0x34ef 003246 jam param_newconnto ,mem_newconnto_counter 
+0x34f0 003247 jam param_newconn_arq ,mem_arq 
+0x34f1 003248 fetch 2 ,mem_rx_window_init 
+0x34f2 003249 store 2 ,mem_rx_window 
+0x34f3 003250 deposit clkn_bt 
+0x34f4 003251 store 4 ,mem_next_btclk 
+0x34f5 003252 rtn clknt 
+0x34f6 003253 deposit clke_bt 
+0x34f7 003254 store 4 ,mem_next_btclk 
+0x34f8 003255 rtn 
+:      003257 newconn_init:
+0x34f9 003258 set0 mark_ext_patch ,mark 
+0x34fa 003259 bpatch patch09_2 ,mem_patch09 
+0x34fb 003260 call init_lmp_reinit 
+0x34fc 003261 call new_conn_handle 
+0x34fd 003262 store 1 ,mem_conn_handle 
+0x34fe 003263 setarg param_supervision_to 
+0x34ff 003264 store 2 ,mem_supervision_to 
+0x3500 003265 fetch 1 ,mem_state 
+0x3501 003266 set1 state_inconn ,pdata 
+0x3502 003267 store 1 ,mem_state 
+0x3503 003268 jam 0 ,mem_op 
+0x3504 003269 jam 0 ,mem_state_map 
+0x3505 003270 jam 0 ,mem_lpm_current_mult 
+0x3506 003271 branch supervision_flush 
+:      003274 clear_linkkey:
+0x3507 003275 set0 mark_ext_patch ,mark 
+0x3508 003276 bpatch patch09_3 ,mem_patch09 
+0x3509 003277 force 0 ,pdata 
+0x350a 003278 store 8 ,mem_link_key 
+0x350b 003279 istore 8 ,contw 
+0x350c 003280 call clear_linkstate 
+0x350d 003281 branch context_traverse_linkkey 
+:      003283 new_conn_timeout:
+0x350e 003284 fetch 1 ,mem_newconnto_counter 
+0x350f 003285 increase -1 ,pdata 
+0x3510 003286 store 1 ,mem_newconnto_counter 
+0x3511 003287 rtn 
+:      003289 new_conn_handle:
+0x3512 003290 fetch 1 ,mem_handle_num 
+0x3513 003291 increase 1 ,pdata 
+0x3514 003292 store 1 ,mem_handle_num 
+0x3515 003293 rtn 
+:      003296 quit_connection:
+0x3516 003297 set0 mark_ext_patch ,mark 
+0x3517 003298 bpatch patch09_4 ,mem_patch09 
+0x3518 003299 call disconnect_stop_sco 
+0x3519 003300 fetch 1 ,mem_hci_cmd 
+0x351a 003301 beq hci_cmd_remote_name_req ,quit_connection_name 
+0x351b 003302 fetch 1 ,mem_lmp_to_send 
+0x351c 003303 bne lmp_name_req ,quit_connection_cont 
+:      003304 quit_connection_name:
+0x351d 003305 call cmd_check_plap 
+0x351e 003306 nbranch quit_connection_cont ,zero 
+0x351f 003307 call master_name_error 
+0x3520 003308 jam 0 ,mem_hci_cmd 
+:      003309 quit_connection_cont:
+0x3521 003310 set0 mark_ext_patch ,mark 
+0x3522 003311 bpatch patch09_5 ,mem_patch09 
+0x3523 003312 call app_disconn_reason_collect_bt 
+0x3524 003313 call process_cmd 
+0x3525 003314 call sniff_exit 
+0x3526 003315 jam bt_evt_bb_disconnected ,mem_fifo_temp 
+0x3527 003316 call ui_ipc_send_event 
+0x3528 003317 call init_lmp_work 
+0x3529 003318 call l2cap_init_work 
+0x352a 003319 call sp_initialize 
+0x352b 003320 fetch 1 ,mem_state 
+0x352c 003321 set0 state_inconn 
+0x352d 003322 store 1 ,mem_state 
+0x352e 003323 jam 0 ,memui_reconnect_mode 
+0x352f 003325 fetch 1 ,mem_state_map 
+0x3530 003326 compare 0x0 ,pdata ,0xc0 
+0x3531 003327 branch quit_connection_not_clear_mark ,true 
+0x3532 003328 set0 mark_rxbuf_inuse ,mark 
+:      003329 quit_connection_not_clear_mark:
+0x3533 003330 fetch 1 ,mem_arq 
+0x3534 003331 bbit0 wack ,quit_connection_not_clear_tx 
+:      003332 quit_connection_not_clear_tx:
+0x3535 003333 fetch 1 ,mem_op 
+0x3536 003334 rtnbit0 op_txl2cap 
+0x3537 003335 set0 mark_tx_l2cap ,mark 
+0x3538 003336 rtn 
+:      003338 slave_newconn_once:
+0x3539 003339 set0 mark_ext_patch ,mark 
+0x353a 003340 bpatch patch09_6 ,mem_patch09 
+0x353b 003341 fetch 1 ,extm_newconn_am_addr 
+0x353c 003342 rtn blank 
+0x353d 003343 icopy am_addr 
+0x353e 003344 call slave_conn_recv_packet 
+0x353f 003345 nrtn match 
+0x3540 003346 force type_null ,type 
+0x3541 003347 call slave_conn_send_packet 
+0x3542 003348 deposit am_addr 
+0x3543 003349 store 1 ,mem_amaddr 
+0x3544 003350 force 0 ,pdata 
+0x3545 003351 store 1 ,extm_newconn_am_addr 
+0x3546 003352 rtn 
+:      003358 prepare_tx:
+0x3547 003359 set0 mark_ext_patch ,mark 
+0x3548 003360 bpatch patch09_7 ,mem_patch09 
+0x3549 003361 fetch 1 ,mem_state 
+0x354a 003362 bbit0 state_insco ,prepare_tx_not_sco 
+0x354b 003363 force type_hv3 ,type 
+0x354c 003364 bmark0 mark_esco ,prepare_tx_not_esco 
+0x354d 003365 call check_esco_amaddr 
+0x354e 003366 nbranch prepare_tx_not_sco ,true 
+0x354f 003367 branch prepare_tx_not_sco ,attempt 
+0x3550 003368 call set_wait_ack 
+0x3551 003369 setarg 2 
+0x3552 003370 store 2 ,mem_retransmission_cnt 
+0x3553 003371 rtn 
+:      003372 prepare_tx_not_esco:
+0x3554 003373 nrtn attempt 
+:      003374 prepare_tx_not_sco:
+0x3555 003375 set0 mark_ext_patch ,mark 
+0x3556 003376 bpatch patch0a_0 ,mem_patch0a 
+0x3557 003377 call context_check_all_wack 
+0x3558 003378 nbranch prepare_tx_no_retransmit ,zero 
+0x3559 003379 fetch 1 ,mem_arq 
+0x355a 003380 bbit0 wack ,prepare_tx_pollnull 
+:      003381 prepare_tx_retransmit:
+0x355b 003382 bmark1 mark_loopback ,prepare_tx_loopback 
+0x355c 003383 fetch 1 ,mem_debug_config 
+0x355d 003384 bbit1 debug_tx_pattern ,prepare_tx_txpat 
+0x355e 003385 fetch 2 ,mem_retransmission_cnt 
+0x355f 003386 increase -1 ,pdata 
+0x3560 003387 store 2 ,mem_retransmission_cnt 
+0x3561 003388 branch prepare_tx_nomore_retransmit ,blank 
+0x3562 003389 fetch 1 ,mem_last_type 
+0x3563 003390 iforce type 
+0x3564 003391 rtn 
+:      003393 prepare_tx_nomore_retransmit:
+0x3565 003394 set0 mark_ext_patch ,mark 
+0x3566 003395 bpatch patch0a_1 ,mem_patch0a 
+0x3567 003396 call clear_got_tx 
+:      003397 prepare_tx_no_retransmit:
+0x3568 003398 call check_esco_amaddr 
+0x3569 003399 branch prepare_tx_pollnull ,true 
+0x356a 003400 call send_lmp 
+0x356b 003401 branch prepare_tx_sendlmp ,user 
+0x356c 003402 fetch 1 ,mem_op 
+0x356d 003403 bbit1 op_txl2cap ,prepare_tx_sendl2cap 
+0x356e 003404 bmark1 mark_loopback ,prepare_tx_loopback 
+0x356f 003405 fetch 1 ,mem_debug_config 
+0x3570 003406 bbit1 debug_tx_pattern ,prepare_tx_txpat 
+:      003407 prepare_tx_pollnull:
+0x3571 003408 force type_poll ,type 
+0x3572 003409 rtn master 
+0x3573 003410 force type_null ,type 
+0x3574 003411 rtn 
+:      003412 prepare_tx_loopback:
+0x3575 003413 set0 mark_ext_patch ,mark 
+0x3576 003414 bpatch patch0a_2 ,mem_patch0a 
+0x3577 003415 fetch 1 ,mem_rx_type 
+0x3578 003416 iforce type 
+0x3579 003417 rtnne 1 
+0x357a 003418 force type_null ,type 
+0x357b 003419 rtn 
+:      003420 prepare_tx_txpat:
+0x357c 003421 fetch 1 ,test_mode_packet_type 
+0x357d 003422 and pdata ,0xf ,type 
+0x357e 003423 set1 mark_loopback ,mark 
+0x357f 003424 rtn 
+:      003425 prepare_tx_sendlmp:
+0x3580 003426 force type_lmp ,type 
+0x3581 003427 branch set_wait_ack 
+:      003428 prepare_tx_sendl2cap:
+0x3582 003429 call tx_l2cap_type 
+:      003431 set_wait_ack:
+0x3583 003432 set0 mark_ext_patch ,mark 
+0x3584 003433 bpatch patch0a_3 ,mem_patch0a 
+0x3585 003434 fetcht 1 ,mem_arq 
+0x3586 003435 set1 wack ,temp 
+0x3587 003436 storet 1 ,mem_arq 
+0x3588 003437 deposit type 
+0x3589 003438 store 1 ,mem_last_type 
+0x358a 003439 setarg 0xffff 
+0x358b 003440 store 2 ,mem_retransmission_cnt 
+0x358c 003441 rtn 
+:      003443 tx_l2cap_type:
+0x358d 003444 set0 mark_ext_patch ,mark 
+0x358e 003445 bpatch patch0a_4 ,mem_patch0a 
+0x358f 003446 fetch 1 ,mem_state_map 
+0x3590 003447 isolate1 smap_edr ,pdata 
+0x3591 003448 fetch 2 ,mem_tx_len 
+0x3592 003449 branch tx_l2cap_type_edr ,true 
+0x3593 003450 force type_dm1 ,type 
+0x3594 003451 sub pdata ,17 ,null 
+0x3595 003452 rtn positive 
+0x3596 003453 force type_dh1 ,type 
+0x3597 003454 sub pdata ,27 ,null 
+0x3598 003455 rtn positive 
+0x3599 003456 force type_dm3 ,type 
+0x359a 003457 sub pdata ,121 ,null 
+0x359b 003458 rtn positive 
+0x359c 003459 force type_dm5 ,type 
+0x359d 003460 sub pdata ,224 ,null 
+0x359e 003461 rtn positive 
+0x359f 003462 force type_dh5 ,type 
+0x35a0 003463 rtn 
+:      003464 tx_l2cap_type_edr:
+0x35a1 003465 force type_dm1 ,type 
+0x35a2 003466 sub pdata ,17 ,null 
+0x35a3 003467 rtn positive 
+0x35a4 003468 force type_dh1 ,type 
+0x35a5 003469 sub pdata ,54 ,null 
+0x35a6 003470 rtn positive 
+0x35a7 003471 force type_dm3 ,type 
+0x35a8 003472 arg 367 ,temp 
+0x35a9 003473 isub temp ,null 
+0x35aa 003474 nrtn positive 
+0x35ab 003475 force type_dm5 ,type 
+0x35ac 003476 arg 679 ,temp 
+0x35ad 003477 isub temp ,null 
+0x35ae 003478 nrtn positive 
+0x35af 003479 force type_dh5 ,type 
+0x35b0 003480 rtn 
+:      003489 slave_receive_master_slot:
+0x35b1 003490 fetch 1 ,mem_state 
+0x35b2 003491 bbit0 state_insniff ,slave_receive_notsniff 
+0x35b3 003492 fetch 2 ,mem_tsniff 
+0x35b4 003493 branch slave_receive_notsniff ,blank 
+0x35b5 003494 nbranch slave_receive_sniff ,attempt 
+:      003495 slave_receive_notsniff:
+0x35b6 003496 call rf_setup_time_master_slot 
+:      003497 slave_receive_access:
+0x35b7 003498 add clke_bt ,1 ,bt_clk 
+:      003499 slave_receive_sniff:
+0x35b8 003500 enable swfine 
+0x35b9 003501 fetch 2 ,mem_rx_window 
+0x35ba 003502 rshift pdata ,pdata 
+0x35bb 003503 arg param_pll_setup ,temp 
+0x35bc 003504 iadd temp ,pdata 
+0x35bd 003505 call ahead_window 
+0x35be 003506 call fetch_extm_bt_adr 
+0x35bf 003507 force 0x03 ,freq_mode 
+0x35c0 003508 call rx_radio_freq 
+0x35c1 003509 call init_rx_packet_flags 
+0x35c2 003510 call prep_crypt 
+0x35c3 003511 set0 mark_ext_patch ,mark 
+0x35c4 003512 bpatch patch0a_5 ,mem_patch0a 
+0x35c5 003513 fetch 2 ,mem_rx_window 
+0x35c6 003514 rshift pdata ,pdata 
+0x35c7 003515 call ahead_window 
+0x35c8 003516 call start_receiver 
+0x35c9 003517 enable decode_fec0 
+0x35ca 003518 fetch 2 ,mem_rx_window 
+0x35cb 003519 arg param_clke_cal ,temp 
+0x35cc 003520 iadd temp ,stop_watch 
+0x35cd 003521 correlate null ,timeout 
+0x35ce 003522 copy clke ,temp 
+0x35cf 003523 storet 6 ,mem_sync_clke 
+0x35d0 003524 disable decode_fec0 
+0x35d1 003525 nrtn sync 
+0x35d2 003526 arg param_clke_cal ,clke_rt 
+0x35d3 003527 copy bt_clk ,clke_bt 
+0x35d4 003528 branch lpm_adjust_clk ,wake 
+0x35d5 003529 rtn 
+:      003532 slave_conn_recv_packet:
+0x35d6 003533 set0 mark_ext_patch ,mark 
+0x35d7 003534 bpatch patch0a_6 ,mem_patch0a 
+0x35d8 003535 call slave_receive_master_slot 
+0x35d9 003536 nbranch shutdown_radio ,sync 
+0x35da 003537 call save_rssi 
+0x35db 003538 bmark0 mark_testmode ,receive_packet 
+0x35dc 003539 fetch 2 ,mem_tst_pktcnt_sync 
+0x35dd 003540 increase 1 ,pdata 
+0x35de 003541 store 2 ,mem_tst_pktcnt_sync 
+:      003542 receive_packet:
+0x35df 003543 rshift bt_clk ,temp 
+0x35e0 003544 or temp ,0x40 ,white_init 
+:      003545 receive_packet_whitened:
+0x35e1 003546 set0 mark_ext_patch ,mark 
+0x35e2 003547 bpatch patch0a_7 ,mem_patch0a 
+0x35e3 003548 enable enable_white 
+0x35e4 003549 enable enable_hec 
+0x35e5 003550 enable decode_fec1 
+0x35e6 003551 parse demod ,bucket ,3 
+0x35e7 003552 rshift8 pwindow ,pdata 
+0x35e8 003553 store 1 ,mem_temp_am_addr 
+0x35e9 003554 parse demod ,bucket ,4 
+0x35ea 003555 inject bucket ,7 
+0x35eb 003556 copy pwindow ,pdata 
+0x35ec 003557 store 1 ,mem_rx_type 
+0x35ed 003558 parse demod ,bucket ,3 
+0x35ee 003559 rshift8 pwindow ,pdata 
+0x35ef 003560 store 1 ,mem_temp_arq 
+0x35f0 003561 fetch 1 ,mem_rx_type 
+0x35f1 003562 sub pdata ,3 ,null 
+0x35f2 003563 branch receive_packet_noedr ,positive 
+0x35f3 003564 beq 7 ,receive_packet_noedr 
+0x35f4 003565 fetch 1 ,mem_state_map 
+0x35f5 003566 isolate1 smap_edr ,pdata 
+0x35f6 003567 setflag true ,psk ,radio_ctrl 
+:      003568 receive_packet_noedr:
+0x35f7 003569 set0 mark_ext_patch ,mark 
+0x35f8 003570 bpatch patch0b_0 ,mem_patch0b 
+0x35f9 003571 parse demod ,bucket ,8 
+0x35fa 003572 disable decode_fec1 
+0x35fb 003573 disable enable_hec 
+0x35fc 003574 branch error_header ,crc_failed 
+0x35fd 003575 bmark0 mark_testmode ,receive_packet_amchk 
+0x35fe 003576 fetch 2 ,mem_tst_pktcnt_hec 
+0x35ff 003577 increase 1 ,pdata 
+0x3600 003578 store 2 ,mem_tst_pktcnt_hec 
+:      003579 receive_packet_amchk:
+0x3601 003580 set0 mark_ext_patch ,mark 
+0x3602 003581 bpatch patch0b_1 ,mem_patch0b 
+0x3603 003582 fetch 1 ,mem_temp_am_addr 
+0x3604 003583 compare 0 ,pdata ,0x07 
+0x3605 003584 setflag true ,mark_am_addr_broadcast ,mark 
+0x3606 003585 branch am_addr_ok ,true 
+0x3607 003586 icompare 0x07 ,am_addr 
+0x3608 003587 branch am_addr_match ,true 
+0x3609 003588 bmark0 mark_esco ,end_of_packet 
+0x360a 003589 fetcht 1 ,mem_saved_amaddr 
+0x360b 003590 icompare 0x7 ,temp 
+0x360c 003591 nbranch end_of_packet ,true 
+0x360d 003592 call restore_esco 
+0x360e 003593 fetch 1 ,mem_arq 
+0x360f 003594 set0 arqnx ,pdata 
+0x3610 003595 set1 flowx ,pdata 
+0x3611 003596 store 1 ,mem_arq 
+:      003597 am_addr_match:
+0x3612 003598 enable match 
+:      003599 am_addr_ok:
+0x3613 003600 set0 mark_ext_patch ,mark 
+0x3614 003601 bpatch patch0b_2 ,mem_patch0b 
+0x3615 003602 fetch 1 ,mem_rx_type 
+0x3616 003603 icopy type 
+0x3617 003604 bmark1 mark_am_addr_broadcast ,arqn_bypass 
+0x3618 003605 fetcht 1 ,mem_temp_arq 
+0x3619 003606 fetch 1 ,mem_arq 
+0x361a 003607 set0 flow ,pdata 
+0x361b 003608 isolate1 flow ,temp 
+0x361c 003609 setflag true ,flow ,pdata 
+0x361d 003610 isolate1 arqn ,temp 
+0x361e 003611 setflag true ,arqn ,pdata 
+0x361f 003612 store 1 ,mem_arq 
+0x3620 003613 isolate0 arqn ,temp 
+0x3621 003614 branch arqn_bypass ,true 
+0x3622 003615 call clear_got_tx 
+:      003616 arqn_bypass:
+0x3623 003617 set0 mark_ext_patch ,mark 
+0x3624 003618 bpatch patch0b_3 ,mem_patch0b 
+0x3625 003619 arg 0 ,temp 
+0x3626 003620 call reserve_slot 
+0x3627 003621 and type ,0xf ,pdata 
+0x3628 003622 beq type_poll ,process_poll 
+0x3629 003623 beq type_null ,end_of_packet 
+0x362a 003624 beq type_fhs ,process_fhs 
+0x362b 003625 fetcht 1 ,mem_temp_arq 
+0x362c 003626 fetch 1 ,mem_arq 
+0x362d 003627 icompare 0x04 ,temp 
+0x362e 003628 nbranch rx_type_dispatch ,true 
+0x362f 003629 bmark0 mark_am_addr_broadcast ,failed_seqn 
+0x3630 003630 bbit0 bcast1 ,rx_type_dispatch 
+:      003631 failed_seqn:
+0x3631 003632 set1 mark_old_packet ,mark 
+:      003633 rx_type_dispatch:
+0x3632 003634 set0 mark_ext_patch ,mark 
+0x3633 003635 bpatch patch0b_4 ,mem_patch0b 
+0x3634 003636 deposit type 
+0x3635 003637 beq type_dm1 ,process_dm1 
+0x3636 003638 beq type_dh1 ,process_dh1 
+0x3637 003639 beq type_hv3 ,process_hev 
+0x3638 003640 beq type_3dh1 ,process_3dh1 
+0x3639 003641 arg 4 ,temp 
+0x363a 003642 call reserve_slot 
+0x363b 003643 beq type_dm3 ,process_dm3 
+0x363c 003644 beq type_dh3 ,process_dh3 
+0x363d 003645 arg 8 ,temp 
+0x363e 003646 call reserve_slot 
+0x363f 003647 beq type_dm5 ,process_dm5 
+0x3640 003648 beq type_dh5 ,process_dh5 
+0x3641 003649 rtn 
+:      003652 process_hev:
+0x3642 003653 set0 mark_ext_patch ,mark 
+0x3643 003654 bpatch patch0b_5 ,mem_patch0b 
+0x3644 003655 enable decode_fec0 
+0x3645 003656 enable enable_crc 
+0x3646 003657 enable encrypt 
+0x3647 003658 arg mem_sco_ibuf ,contw 
+0x3648 003659 force 30 ,loopcnt 
+:      003660 process_hev_loop:
+0x3649 003661 parse demod ,bucket ,8 
+0x364a 003662 rshift3 pwindow ,pdata 
+0x364b 003663 istore 1 ,contw 
+0x364c 003664 loop process_hev_loop 
+0x364d 003665 bmark0 mark_esco ,end_of_packet 
+0x364e 003666 parse demod ,bucket ,16 
+0x364f 003667 nsetflag crc_failed ,mark_esco_rxok ,mark 
+0x3650 003668 call test_esco ,crc_failed 
+0x3651 003669 branch error_payload ,crc_failed 
+0x3652 003670 branch ack_payload 
+:      003672 test_esco:
+0x3653 003673 deposit clke 
+0x3654 003674 store 6 ,mem_display 
+0x3655 003675 rtn 
+:      003677 process_poll:
+0x3656 003678 branch end_of_packet 
+:      003680 process_dm3:
+:      003681 process_dm5:
+0x3657 003682 set1 mark_longpacket ,mark 
+:      003683 process_dm1:
+0x3658 003684 enable decode_fec2 
+0x3659 003685 branch process_dmh 
+:      003687 process_dh3:
+:      003688 process_dh5:
+0x365a 003689 set1 mark_longpacket ,mark 
+:      003690 process_3dh1:
+0x365b 003691 set1 psk3m ,radio_ctrl 
+:      003692 process_dh1:
+0x365c 003693 enable decode_fec0 
+:      003694 process_dmh:
+0x365d 003695 set0 mark_ext_patch ,mark 
+0x365e 003696 bpatch patch0b_6 ,mem_patch0b 
+0x365f 003697 bmark1 mark_rxbuf_inuse ,end_of_packet 
+0x3660 003698 isolate0 psk ,radio_ctrl 
+0x3661 003699 branch process_dmh_noedr ,true 
+0x3662 003700 disable enable_white 
+0x3663 003701 enable decode_fec0 
+0x3664 003702 disable decode_fec2 
+0x3665 003703 add clkn_bt ,2 ,timeup 
+0x3666 003704 correlate clkn_bt ,meet 
+0x3667 003705 nbranch error_payload ,sync 
+0x3668 003706 set1 mark_longpacket ,mark 
+0x3669 003707 enable enable_white 
+:      003708 process_dmh_noedr:
+0x366a 003709 set0 mark_ext_patch ,mark 
+0x366b 003710 bpatch patch0b_7 ,mem_patch0b 
+0x366c 003711 enable encrypt 
+0x366d 003712 enable enable_crc 
+0x366e 003713 parse demod ,bucket ,3 
+0x366f 003714 rshift8 pwindow ,pdata 
+0x3670 003715 store 1 ,mem_lch_code 
+0x3671 003716 parse demod ,bucket ,5 
+0x3672 003717 bmark1 mark_longpacket ,process_dmh_long 
+0x3673 003718 rshift3 pwindow ,loopcnt 
+0x3674 003719 rshift3 loopcnt ,loopcnt 
+0x3675 003720 branch process_dmh_common 
+:      003721 process_dmh_long:
+0x3676 003722 parse demod ,bucket ,5 
+0x3677 003723 rshift pwindow ,loopcnt 
+0x3678 003724 parse demod ,bucket ,3 
+:      003725 process_dmh_common:
+0x3679 003726 set0 mark_ext_patch ,mark 
+0x367a 003727 bpatch patch0c_0 ,mem_patch0c 
+0x367b 003728 deposit loopcnt 
+0x367c 003729 store 2 ,mem_len 
+0x367d 003730 branch process_dmh_data_end ,blank 
+0x367e 003731 isub mask3ff ,null 
+0x367f 003732 branch error_payload ,positive 
+0x3680 003733 set0 mark_ext_patch ,mark 
+0x3681 003734 bpatch patch0c_1 ,mem_patch0c 
+0x3682 003735 set0 mark_fhs_eir ,mark 
+0x3683 003736 fetch 1 ,mem_lch_code 
+0x3684 003737 and_into 0x03 ,pdata 
+0x3685 003738 arg mem_rxbuf ,contw 
+0x3686 003739 beq llid_lmp ,process_lmp 
+0x3687 003740 bmark1 mark_testmode ,process_dmh_data 
+0x3688 003741 fetch 1 ,mem_device_option 
+0x3689 003742 beq dvc_op_hci ,process_dmh_acl 
+0x368a 003744 fetch 1 ,mem_lch_code 
+0x368b 003745 and_into 0x03 ,pdata 
+0x368c 003746 beq llid_l2cap_start ,process_dmh_data_l2cap_start_pkt 
+0x368d 003747 beq llid_l2cap_cont ,process_dmh_data_l2cap_continue_pkt 
+0x368e 003748 branch error_payload 
+:      003750 process_lmp:
+0x368f 003751 fetch 2 ,mem_len 
+0x3690 003752 sub pdata ,0x70 ,null 
+0x3691 003753 nbranch error_payload ,positive 
+0x3692 003754 bmark1 mark_old_packet ,ack_payload 
+0x3693 003755 branch process_dmh_data 
+:      003757 process_dmh_acl:
+0x3694 003758 set0 mark_ext_patch ,mark 
+0x3695 003759 bpatch patch0c_2 ,mem_patch0c 
+0x3696 003760 bmark1 mark_old_packet ,ack_payload 
+0x3697 003761 fetch 2 ,mem_len 
+0x3698 003762 branch error_payload ,blank 
+0x3699 003763 call hci_check_bcsp_protocol 
+0x369a 003764 nbranch process_dmh_acl_check_h4_buff ,true 
+:      003765 process_dmh_acl_bcsp:
+0x369b 003766 fetcht 2 ,mem_h5tx_free 
+0x369c 003767 increase 10 ,pdata 
+0x369d 003768 isub temp ,null 
+0x369e 003769 nbranch process_dmh_acl_packet ,positive 
+0x369f 003770 call hci_dispatch 
+0x36a0 003771 branch process_dmh_acl_bcsp 
+:      003772 process_dmh_acl_check_h4_buff:
+0x36a1 003773 hfetch 2 ,core_uart_txitems 
+0x36a2 003774 arg 300 ,temp 
+0x36a3 003775 isub temp ,null 
+0x36a4 003776 branch error_payload ,positive 
+0x36a5 003777 fetch 2 ,mem_acl_credits 
+0x36a6 003778 branch error_payload ,blank 
+:      003779 process_dmh_acl_packet:
+0x36a7 003780 set0 mark_ext_patch ,mark 
+0x36a8 003781 bpatch patch0c_3 ,mem_patch0c 
+0x36a9 003782 call hci_get_packet_ptr 
+0x36aa 003783 fetch 1 ,mem_conn_handle 
+0x36ab 003784 fetcht 1 ,mem_lch_code 
+0x36ac 003785 and_into 3 ,temp 
+0x36ad 003786 lshift8 temp ,temp 
+0x36ae 003787 lshift4 temp ,temp 
+0x36af 003788 ior temp ,pdata 
+0x36b0 003789 istore 2 ,contwu 
+0x36b1 003790 fetcht 2 ,mem_len 
+0x36b2 003791 copy temp ,loopcnt 
+0x36b3 003792 istoret 2 ,contwu 
+:      003793 process_dmh_acl_copy:
+0x36b4 003794 set0 mark_ext_patch ,mark 
+0x36b5 003795 bpatch patch0c_4 ,mem_patch0c 
+0x36b6 003796 parse demod ,bucket ,8 
+0x36b7 003797 rshift3 pwindow ,pdata 
+0x36b8 003798 istore 1 ,contwu 
+0x36b9 003799 loop process_dmh_acl_copy 
+0x36ba 003800 add temp ,4 ,loopcnt 
+0x36bb 003801 call hci_check_bcsp_protocol 
+0x36bc 003802 nbranch process_dmh_acl_send_h4 ,true 
+0x36bd 003803 set1 mark_h5tx_rp ,mark 
+0x36be 003804 force 6 ,queue 
+0x36bf 003805 call bcsp_send_packet 
+0x36c0 003806 branch process_dmh_data_end 
+:      003807 process_dmh_acl_send_h4:
+0x36c1 003808 call h4_send_packet_acl 
+0x36c2 003809 branch process_dmh_data_end 
+:      003811 process_dmh_data_l2cap_start_pkt:
+0x36c3 003812 set0 mark_ext_patch ,mark 
+0x36c4 003813 bpatch patch0c_5 ,mem_patch0c 
+0x36c5 003814 bmark1 mark_old_packet ,ack_payload 
+0x36c6 003815 fetch 2 ,mem_len 
+0x36c7 003816 arg 0x2e0 ,temp 
+0x36c8 003817 isub temp ,null 
+0x36c9 003818 branch error_payload ,positive 
+0x36ca 003819 fetch 1 ,mem_l2cap_rxbuff_inuse 
+0x36cb 003820 bbit0 l2cap_inuse_buff1 ,process_dmh_data_into_buff1 
+0x36cc 003821 bbit0 l2cap_inuse_buff2 ,process_dmh_data_into_buff2 
+0x36cd 003822 branch end_of_packet 
+:      003823 process_dmh_data_into_buff1:
+0x36ce 003824 jam 1 ,mem_l2cap_rxbuff_new 
+0x36cf 003825 fetch 2 ,mem_l2cap_rxbuff1_len 
+0x36d0 003826 bne 0 ,end_of_packet 
+0x36d1 003827 arg mem_l2cap_rxbuff1 ,contw 
+0x36d2 003828 branch process_dmh_data 
+:      003829 process_dmh_data_into_buff2:
+0x36d3 003830 jam 2 ,mem_l2cap_rxbuff_new 
+0x36d4 003831 fetch 2 ,mem_l2cap_rxbuff2_len 
+0x36d5 003832 bne 0 ,end_of_packet 
+0x36d6 003833 arg mem_l2cap_rxbuff2 ,contw 
+0x36d7 003834 branch process_dmh_data 
+:      003836 process_dmh_data_l2cap_continue_pkt:
+0x36d8 003837 set0 mark_ext_patch ,mark 
+0x36d9 003838 bpatch patch0c_6 ,mem_patch0c 
+0x36da 003839 bmark1 mark_old_packet ,ack_payload 
+0x36db 003840 fetch 2 ,mem_len 
+0x36dc 003841 arg 0x2e0 ,temp 
+0x36dd 003842 isub temp ,null 
+0x36de 003843 branch error_payload ,positive 
+0x36df 003844 fetch 1 ,mem_l2cap_rxbuff_new 
+0x36e0 003845 beq 1 ,process_dmh_data_l2cap_continue_pkt1 
+0x36e1 003846 beq 2 ,process_dmh_data_l2cap_continue_pkt2 
+0x36e2 003847 branch end_of_packet 
+:      003848 process_dmh_data_l2cap_continue_pkt1:
+0x36e3 003849 arg mem_l2cap_rxbuff1 ,contw 
+0x36e4 003850 fetch 2 ,mem_l2cap_rxbuff1_len 
+0x36e5 003851 iadd contw ,contw 
+0x36e6 003852 branch process_dmh_data 
+:      003853 process_dmh_data_l2cap_continue_pkt2:
+0x36e7 003854 arg mem_l2cap_rxbuff2 ,contw 
+0x36e8 003855 fetch 2 ,mem_l2cap_rxbuff2_len 
+0x36e9 003856 iadd contw ,contw 
+:      003857 process_dmh_data:
+0x36ea 003858 parse demod ,bucket ,8 
+0x36eb 003859 rshift3 pwindow ,pdata 
+0x36ec 003860 istore 1 ,contw 
+0x36ed 003861 loop process_dmh_data 
+:      003862 process_dmh_data_end:
+0x36ee 003863 set0 mark_ext_patch ,mark 
+0x36ef 003864 bpatch patch0c_7 ,mem_patch0c 
+0x36f0 003865 parse demod ,bucket ,16 
+0x36f1 003866 branch error_payload_crc ,crc_failed 
+0x36f2 003867 call lpm_hci_wake_dispatch 
+0x36f3 003868 fetch 1 ,mem_l2cap_flow_ctrl_flag 
+0x36f4 003869 beq l2cap_flow_ctrl_enable ,end_of_packet 
+0x36f5 003870 bmark1 mark_testmode ,process_dmh_cont 
+0x36f6 003871 bmark1 mark_old_packet ,redundant_payload 
+0x36f7 003872 fetch 1 ,mem_lch_code 
+0x36f8 003873 compare 3 ,pdata ,3 
+0x36f9 003874 branch process_dmh_cont ,true 
+0x36fa 003875 fetch 2 ,mem_len 
+0x36fb 003876 branch process_dmh_cont ,blank 
+0x36fc 003877 fetch 1 ,mem_device_option 
+0x36fd 003878 beq dvc_op_hci ,process_dmh_cont 
+0x36fe 003879 set0 mark_ext_patch ,mark 
+0x36ff 003880 bpatch patch0d_0 ,mem_patch0d 
+0x3700 003881 fetch 1 ,mem_l2cap_rxbuff_new 
+0x3701 003882 beq 1 ,process_l2cap_pass_crc_buff1 
+0x3702 003883 beq 2 ,process_l2cap_pass_crc_buff2 
+0x3703 003884 branch assert 
+:      003885 process_l2cap_pass_crc_buff1:
+0x3704 003886 fetch 2 ,mem_l2cap_rxbuff1_len 
+0x3705 003887 fetcht 2 ,mem_len 
+0x3706 003888 iadd temp ,pdata 
+0x3707 003889 store 2 ,mem_l2cap_rxbuff1_len 
+0x3708 003890 beq 0 ,assert 
+0x3709 003891 fetcht 2 ,mem_l2cap_rxbuff1 
+0x370a 003892 increase 4 ,temp 
+0x370b 003893 isub temp ,null 
+0x370c 003894 call l2cap_buff1_inuse ,zero 
+0x370d 003895 branch process_dmh_cont 
+:      003896 process_l2cap_pass_crc_buff2:
+0x370e 003897 fetch 2 ,mem_l2cap_rxbuff2_len 
+0x370f 003898 fetcht 2 ,mem_len 
+0x3710 003899 iadd temp ,pdata 
+0x3711 003900 store 2 ,mem_l2cap_rxbuff2_len 
+0x3712 003901 beq 0 ,assert 
+0x3713 003902 fetcht 2 ,mem_l2cap_rxbuff2 
+0x3714 003903 add temp ,4 ,temp 
+0x3715 003904 isub temp ,null 
+0x3716 003905 call l2cap_buff2_inuse ,zero 
+0x3717 003906 branch process_dmh_cont 
+:      003907 process_dmh_cont:
+0x3718 003908 set0 mark_ext_patch ,mark 
+0x3719 003909 bpatch patch0d_1 ,mem_patch0d 
+0x371a 003910 fetcht 1 ,mem_state_map 
+0x371b 003911 fetch 1 ,mem_lch_code 
+0x371c 003912 compare 3 ,pdata ,0x03 
+0x371d 003913 setflag true ,smap_rxlmp ,temp 
+0x371e 003914 nsetflag true ,smap_rxl2cap ,temp 
+0x371f 003915 storet 1 ,mem_state_map 
+0x3720 003916 nbranch process_dmh_cont_rxbuf_not_use ,true 
+0x3721 003917 set1 mark_rxbuf_inuse ,mark 
+:      003918 process_dmh_cont_rxbuf_not_use:
+0x3722 003919 bmark0 mark_testmode ,ack_payload 
+0x3723 003920 isolate1 smap_rxlmp ,temp 
+0x3724 003921 branch ack_payload ,true 
+0x3725 003922 fetch 2 ,mem_tst_pktcnt_crc 
+0x3726 003923 increase 1 ,pdata 
+0x3727 003924 store 2 ,mem_tst_pktcnt_crc 
+0x3728 003925 set1 mark_loopback ,mark 
+0x3729 003926 set0 smap_rxl2cap ,temp 
+0x372a 003927 set0 mark_rxbuf_inuse ,mark 
+0x372b 003928 storet 1 ,mem_state_map 
+:      003929 ack_payload:
+0x372c 003930 set0 mark_ext_patch ,mark 
+0x372d 003931 bpatch patch0d_2 ,mem_patch0d 
+0x372e 003932 fetcht 1 ,mem_temp_arq 
+0x372f 003933 fetch 1 ,mem_arq 
+0x3730 003934 set1 arqnx ,pdata 
+0x3731 003935 isolate1 seqn ,temp 
+0x3732 003936 setflag true ,seqn ,pdata 
+0x3733 003937 isolate1 mark_am_addr_broadcast ,mark 
+0x3734 003938 setflag true ,bcast1 ,pdata 
+0x3735 003939 store 1 ,mem_arq 
+0x3736 003940 fetch 2 ,mem_len 
+0x3737 003941 nbranch end_of_packet ,blank 
+0x3738 003942 fetch 1 ,mem_state_map 
+0x3739 003943 set0 smap_rxl2cap ,pdata 
+0x373a 003944 store 1 ,mem_state_map 
+0x373b 003945 fetch 1 ,mem_lch_code 
+0x373c 003946 compare 0x01 ,pdata ,0x07 
+0x373d 003948 branch end_of_packet 
+:      003950 error_header:
+0x373e 003951 set0 mark_ext_patch ,mark 
+0x373f 003952 bpatch patch0d_3 ,mem_patch0d 
+0x3740 003953 disable match 
+0x3741 003954 fetch 2 ,mem_rx_hec_err 
+0x3742 003955 increase 1 ,pdata 
+0x3743 003956 store 2 ,mem_rx_hec_err 
+0x3744 003957 branch end_of_packet 
+:      003958 error_payload_crc:
+0x3745 003959 fetch 2 ,mem_rx_crc_err 
+0x3746 003960 increase 1 ,pdata 
+0x3747 003961 store 2 ,mem_rx_crc_err 
+0x3748 003962 call discard_pkt 
+0x3749 003963 bmark0 mark_testmode ,error_payload 
+0x374a 003964 set1 mark_loopback ,mark 
+:      003965 error_payload:
+0x374b 003966 branch end_of_packet 
+:      003968 discard_pkt:
+0x374c 003969 set0 mark_ext_patch ,mark 
+0x374d 003970 bpatch patch0d_4 ,mem_patch0d 
+0x374e 003971 fetch 1 ,mem_lch_code 
+0x374f 003972 compare 3 ,pdata ,0x03 
+0x3750 003973 nbranch discard_pkt_l2cap ,true 
+:      003974 discard_pkt_lmp:
+0x3751 003975 fetcht 1 ,mem_state_map 
+0x3752 003976 set0 smap_rxlmp ,temp 
+0x3753 003977 storet 1 ,mem_state_map 
+0x3754 003978 rtn 
+:      003979 discard_pkt_l2cap:
+0x3755 003982 fetcht 1 ,mem_state_map 
+0x3756 003983 set0 smap_rxl2cap ,temp 
+0x3757 003984 storet 1 ,mem_state_map 
+0x3758 003985 branch h4_send_acl_trigger_clear 
+:      003987 redundant_payload:
+0x3759 003988 fetch 1 ,mem_arq 
+0x375a 003989 set1 arqnx ,pdata 
+0x375b 003990 store 1 ,mem_arq 
+:      003991 end_of_packet:
+0x375c 003992 set0 mark_ext_patch ,mark 
+0x375d 003993 bpatch patch0d_5 ,mem_patch0d 
+0x375e 003994 disable encode_fec0 
+0x375f 003995 disable encode_fec2 
+0x3760 003996 disable decode_fec0 
+0x3761 003997 disable decode_fec2 
+0x3762 003998 disable enable_crc 
+0x3763 003999 disable encrypt 
+0x3764 004000 disable enable_white 
+0x3765 004001 branch shutdown_radio ,is_rx 
+0x3766 004002 until null ,tx_clear 
+0x3767 004003 nop 100 
+0x3768 004004 branch shutdown_radio 
+:      004006 process_fhs:
+0x3769 004007 set0 mark_ext_patch ,mark 
+0x376a 004008 bpatch patch0d_6 ,mem_patch0d 
+0x376b 004009 enable enable_crc 
+0x376c 004010 enable decode_fec2 
+0x376d 004011 parse demod ,bucket ,72 
+0x376e 004012 isolate1 58 ,pdata 
+0x376f 004013 setflag true ,mark_fhs_eir ,mark 
+0x3770 004014 copy bt_adr ,temp 
+0x3771 004015 ialigned bt_adr 
+0x3772 004016 ialigned fhs0 
+0x3773 004017 pulse recalc 
+0x3774 004018 setsect 2 ,0xfffff 
+0x3775 004019 setsect 3 ,0x0ffff 
+0x3776 004020 nop 32 
+0x3777 004021 iverify fhs_parity 
+0x3778 004022 deposit lap 
+0x3779 004023 store 3 ,extm_lap 
+0x377a 004024 deposit uap 
+0x377b 004025 store 1 ,extm_uap 
+0x377c 004026 copy temp ,bt_adr 
+0x377d 004027 branch fhs_parity_ok ,true 
+0x377e 004028 branch error_payload 
+:      004029 fhs_parity_ok:
+0x377f 004030 set0 mark_ext_patch ,mark 
+0x3780 004031 bpatch patch0d_7 ,mem_patch0d 
+0x3781 004032 parse demod ,bucket ,72 
+0x3782 004033 ialigned fhs1 
+0x3783 004034 ialigned am_addr 
+0x3784 004035 ialigned nap 
+0x3785 004036 ialigned regb 
+0x3786 004037 force 0 ,pdata 
+0x3787 004038 parse demod ,bucket ,16 
+0x3788 004039 branch error_payload ,crc_failed 
+0x3789 004040 setarg 0x0ffffffc 
+0x378a 004041 iand regb ,pdata 
+0x378b 004042 store 4 ,mem_clke_bt 
+0x378c 004043 deposit fhs_class 
+0x378d 004044 store 3 ,extm_class 
+0x378e 004045 deposit fhs_misc 
+0x378f 004046 store 1 ,extm_fhs_misc 
+0x3790 004047 deposit am_addr 
+0x3791 004048 store 1 ,extm_newconn_am_addr 
+0x3792 004049 deposit nap 
+0x3793 004050 store 2 ,extm_nap 
+0x3794 004051 deposit bt_clk 
+0x3795 004052 inject rxf ,32 
+0x3796 004053 compare type_fhs ,type ,0x0f 
+0x3797 004054 setflag true ,mark_fhs_already_good ,mark 
+0x3798 004055 branch end_of_packet 
+:      004057 clear_got_tx:
+0x3799 004058 set0 mark_ext_patch ,mark 
+0x379a 004059 bpatch patch0e_0 ,mem_patch0e 
+0x379b 004060 fetch 1 ,mem_arq 
+0x379c 004061 rtnbit0 wack 
+0x379d 004062 set0 wack ,pdata 
+0x379e 004063 setflip seqnx ,pdata 
+0x379f 004064 store 1 ,mem_arq 
+0x37a0 004065 fetch 1 ,mem_last_type 
+0x37a1 004066 beq type_lmp ,clear_got_txlmp 
+0x37a2 004067 rtneq type_hv3 
+0x37a3 004068 fetch 1 ,mem_op 
+0x37a4 004069 rtnbit0 op_txl2cap ,pdata 
+0x37a5 004070 set0 op_txl2cap ,pdata 
+0x37a6 004071 set1 op_pkt_comp ,pdata 
+0x37a7 004072 store 1 ,mem_op 
+0x37a8 004073 set0 mark_tx_l2cap ,mark 
+0x37a9 004074 fetch 1 ,mem_device_option 
+0x37aa 004075 rtneq dvc_op_hci 
+0x37ab 004076 fetch 2 ,mem_l2cap_tx_multi_offset 
+0x37ac 004077 nrtn blank 
+0x37ad 004078 fetch 1 ,mem_op 
+0x37ae 004079 set0 op_pkt_comp ,pdata 
+0x37af 004080 store 1 ,mem_op 
+0x37b0 004081 branch l2cap_malloc_free 
+:      004083 clear_got_txlmp:
+0x37b1 004084 set0 mark_ext_patch ,mark 
+0x37b2 004085 bpatch patch0e_1 ,mem_patch0e 
+0x37b3 004086 fetch 1 ,mem_lmo_header_opcode 
+0x37b4 004087 rshift pdata ,pdata 
+0x37b5 004088 beq lmp_start_encryption_req ,start_encryption 
+0x37b6 004089 beq lmp_stop_encryption_req ,stop_encryption 
+0x37b7 004090 beq lmp_unsniff_req ,sniff_exit 
+0x37b8 004091 beq lmp_escape ,clear_lmp_escape 
+0x37b9 004092 beq lmp_remove_sco_link_req ,stop_sco 
+0x37ba 004093 rtnne lmp_accepted 
+0x37bb 004094 fetch 1 ,mem_lmo_payload 
+0x37bc 004095 beq lmp_sco_link_req ,sco_link_req_by_slave 
+0x37bd 004096 beq lmp_start_encryption_req ,clear_send_setup_complete 
+0x37be 004097 rtn 
+:      004099 clear_lmp_escape:
+0x37bf 004100 fetch 1 ,mem_lmo_payload 
+0x37c0 004101 set1 7 ,pdata 
+0x37c1 004102 beq lmp_ext_remove_esco_req ,stop_sco 
+0x37c2 004103 rtn 
+:      004104 clear_send_setup_complete:
+0x37c3 004105 rtn master 
+0x37c4 004106 fetch 1 ,mem_state 
+0x37c5 004107 rtnbit1 state_conn_comp 
+0x37c6 004108 jam lmp_setup_complete ,mem_lmo_opcode2 
+0x37c7 004109 rtn 
+:      004112 sco_link_req_by_slave:
+0x37c8 004113 rtn master 
+0x37c9 004114 fetch 1 ,mem_mode 
+0x37ca 004115 isolate1 send_sco_when_slave ,pdata 
+0x37cb 004116 branch clean_mem_mode ,true 
+0x37cc 004118 rtn 
+:      004119 clean_mem_mode:
+0x37cd 004120 set0 send_sco_when_slave ,pdata 
+0x37ce 004121 store 1 ,mem_mode 
+0x37cf 004122 rtn 
+:      004124 start_encryption:
+0x37d0 004125 set0 mark_ext_patch ,mark 
+0x37d1 004126 bpatch patch0e_2 ,mem_patch0e 
+0x37d2 004127 fetch 1 ,mem_state_map 
+0x37d3 004128 set1 smap_encryption ,pdata 
+0x37d4 004129 store 1 ,mem_state_map 
+0x37d5 004130 hjam 1 ,core_encrypt 
+0x37d6 004131 fetch 1 ,mem_state 
+0x37d7 004132 isolate1 state_conn_comp ,pdata 
+0x37d8 004133 branch hci_send_encryption_change ,true 
+0x37d9 004134 rtn 
+:      004136 stop_encryption:
+0x37da 004137 set0 mark_ext_patch ,mark 
+0x37db 004138 bpatch patch0e_3 ,mem_patch0e 
+0x37dc 004139 fetch 1 ,mem_state_map 
+0x37dd 004140 set0 smap_encryption ,pdata 
+0x37de 004141 store 1 ,mem_state_map 
+0x37df 004142 hjam 0 ,core_encrypt 
+0x37e0 004143 rtn 
+:      004146 sniff_init:
+0x37e1 004147 set0 mark_ext_patch ,mark 
+0x37e2 004148 bpatch patch0e_4 ,mem_patch0e 
+0x37e3 004149 copy clkn_bt ,pdata 
+0x37e4 004150 store 4 ,mem_lpm_delay_after_sniff 
+0x37e5 004151 add clkn_bt ,3 ,rega 
+0x37e6 004152 branch sniff_init_master ,master 
+0x37e7 004153 add clke_bt ,3 ,rega 
+:      004154 sniff_init_master:
+0x37e8 004155 fetcht 2 ,mem_tsniff 
+0x37e9 004156 deposit rega 
+0x37ea 004157 set0 27 ,pdata 
+0x37eb 004158 idiv temp 
+0x37ec 004159 fetch 2 ,mem_dsniff 
+0x37ed 004160 call wait_div_end 
+0x37ee 004161 remainder regc 
+0x37ef 004162 isub regc ,pdata 
+0x37f0 004163 branch sniff_init_nowrap ,positive 
+0x37f1 004164 iadd temp ,pdata 
+:      004165 sniff_init_nowrap:
+0x37f2 004166 iadd rega ,pdata 
+0x37f3 004167 store 4 ,mem_sniff_anchor 
+0x37f4 004168 jam switch_flag_init ,mem_switch_flag 
+0x37f5 004169 fetch 1 ,mem_state 
+0x37f6 004170 set1 state_insniff ,pdata 
+0x37f7 004171 store 1 ,mem_state 
+0x37f8 004172 fetch 1 ,mem_sniff_attempt 
+0x37f9 004173 store 1 ,mem_current_sniff_attempt 
+0x37fa 004174 jam 0x80 ,mem_seqi 
+0x37fb 004175 setarg 0 
+0x37fc 004176 store 3 ,mem_sniff_rcv 
+0x37fd 004177 store 3 ,mem_sniff_lost 
+0x37fe 004178 store 1 ,mem_sniff_unint_lost 
+0x37ff 004179 jam bt_evt_enter_sniff ,mem_fifo_temp 
+0x3800 004180 call ui_ipc_send_event 
+0x3801 004181 fetch 2 ,mem_rx_window_sniff 
+0x3802 004182 store 2 ,mem_rx_window 
+0x3803 004183 nrtn master 
+0x3804 004184 add am_addr ,-1 ,queue 
+0x3805 004185 rtn 
+:      004187 sniff_exit:
+0x3806 004188 set0 mark_ext_patch ,mark 
+0x3807 004189 bpatch patch0e_5 ,mem_patch0e 
+0x3808 004190 fetch 1 ,mem_state 
+0x3809 004191 rtnbit0 state_insniff 
+0x380a 004192 set0 state_insniff ,pdata 
+0x380b 004193 store 1 ,mem_state 
+0x380c 004194 jam 0x7f ,mem_seqi 
+0x380d 004195 fetch 2 ,mem_rx_window_init 
+0x380e 004196 store 2 ,mem_rx_window 
+0x380f 004197 disable wake 
+0x3810 004198 jam bt_evt_exit_sniff ,mem_fifo_temp 
+0x3811 004199 branch ui_ipc_send_event 
+:      004202 check_attempt:
+0x3812 004203 set0 mark_ext_patch ,mark 
+0x3813 004204 bpatch patch0e_6 ,mem_patch0e 
+0x3814 004205 enable attempt 
+0x3815 004206 fetch 1 ,mem_state 
+0x3816 004207 bbit1 state_insniff ,check_attempt_sniff 
+0x3817 004208 rtnmark1 mark_testmode 
+0x3818 004209 fetch 1 ,mem_arq 
+0x3819 004210 rtnbit1 wack 
+0x381a 004211 fetch 1 ,mem_lmp_to_send 
+0x381b 004212 nrtn blank 
+0x381c 004213 fetch 1 ,mem_op 
+0x381d 004214 rtnbit1 op_txl2cap 
+:      004215 check_attempt_nomore:
+0x381e 004216 force 0 ,pdata 
+0x381f 004217 rtn 
+:      004219 check_attempt_sniff:
+0x3820 004220 bbit0 state_insco ,check_attempt_not_sco 
+0x3821 004221 fetch 1 ,mem_current_sniff_attempt 
+0x3822 004222 beq 2 ,check_attempt_sniff_restore_sco 
+0x3823 004223 fetch 1 ,mem_arq 
+0x3824 004224 bbit1 wack ,check_attempt_notimeout 
+0x3825 004225 bmark0 mark_esco_rxok ,check_attempt_notimeout 
+:      004226 check_attempt_sniff_restore_sco:
+0x3826 004227 call restore_esco 
+0x3827 004228 nbranch check_attempt_notimeout ,master 
+0x3828 004229 fetch 1 ,mem_lmp_to_send 
+0x3829 004230 nbranch check_attempt_notimeout ,blank 
+:      004231 check_attempt_sco_master:
+0x382a 004232 fetch 1 ,mem_sco_poll 
+0x382b 004233 increase -1 ,pdata 
+0x382c 004234 store 1 ,mem_sco_poll 
+0x382d 004235 nbranch check_attempt_nomore ,blank 
+0x382e 004236 jam param_sco_poll ,mem_sco_poll 
+0x382f 004237 branch check_attempt_notimeout 
+:      004239 check_attempt_not_sco:
+0x3830 004240 fetch 1 ,mem_current_sniff_attempt 
+0x3831 004241 bne 1 ,check_attempt_notimeout 
+0x3832 004242 fetch 1 ,mem_current_sniff_timeout 
+0x3833 004243 branch check_attempt_notimeout ,blank 
+0x3834 004244 increase -1 ,pdata 
+0x3835 004245 store 1 ,mem_current_sniff_timeout 
+0x3836 004246 fetch 1 ,mem_arq 
+0x3837 004247 rtnbit1 wack 
+0x3838 004248 nrtn match 
+:      004249 check_attempt_notimeout:
+0x3839 004250 fetch 1 ,mem_current_sniff_attempt 
+0x383a 004251 increase -1 ,pdata 
+0x383b 004252 store 1 ,mem_current_sniff_attempt 
+0x383c 004253 rtn 
+:      004256 sniff_check_window:
+0x383d 004257 set0 mark_ext_patch ,mark 
+0x383e 004258 bpatch patch0e_7 ,mem_patch0e 
+0x383f 004259 disable swfine 
+0x3840 004260 copy temp ,stop_watch 
+0x3841 004261 call context_search_sniff_window 
+0x3842 004262 disable user 
+0x3843 004263 nrtn zero 
+0x3844 004264 force 0 ,stop_watch 
+0x3845 004265 enable user 
+0x3846 004266 rtn 
+:      004269 check_esco_amaddr:
+0x3847 004270 fetch 1 ,mem_esco_addr 
+0x3848 004271 icompare 0xff ,am_addr 
+0x3849 004272 rtn 
+:      004274 play_sco:
+0x384a 004275 set0 mark_ext_patch ,mark 
+0x384b 004276 bpatch patch0f_0 ,mem_patch0f 
+0x384c 004277 jam 1 ,mem_max_slot 
+0x384d 004279 call enable_pcm 
+0x384e 004280 force 12 ,pdata 
+0x384f 004281 store 2 ,mem_tsniff 
+0x3850 004282 fetch 1 ,mem_esco_desco 
+0x3851 004283 lshift pdata ,pdata 
+0x3852 004284 store 2 ,mem_dsniff 
+0x3853 004285 fetch 1 ,mem_state 
+0x3854 004286 set1 state_insco ,pdata 
+0x3855 004287 store 1 ,mem_state 
+0x3856 004288 jam 3 ,mem_sniff_attempt 
+0x3857 004289 jam 3 ,mem_current_sniff_attempt 
+0x3858 004290 call sniff_init 
+0x3859 004291 force 0 ,temp 
+0x385a 004292 call hci_send_sco_complete 
+0x385b 004293 jam 0x50 ,mem_esco_arq 
+0x385c 004294 jam param_sco_poll ,mem_sco_poll 
+0x385d 004295 rtn 
+:      004297 stop_sco:
+0x385e 004298 set0 mark_ext_patch ,mark 
+0x385f 004299 bpatch patch0f_1 ,mem_patch0f 
+0x3860 004300 call sniff_exit 
+0x3861 004301 jam 5 ,mem_max_slot 
+0x3862 004303 call disable_pcm 
+0x3863 004304 fetch 1 ,mem_state 
+0x3864 004305 set0 state_insco ,pdata 
+0x3865 004306 store 1 ,mem_state 
+:      004307 stop_sco_hci:
+0x3866 004308 arg 0xe00 ,temp 
+0x3867 004309 jam hci_error_remote_user_ended_connection ,mem_hci_disconn_reason 
+0x3868 004310 branch hci_send_disconn_complete 
+:      004312 stop_esco:
+0x3869 004313 set0 mark_ext_patch ,mark 
+0x386a 004314 bpatch patch0f_2 ,mem_patch0f 
+0x386b 004315 jam default_neogotiation_state ,mem_neogotiation_state 
+0x386c 004316 call stop_sco 
+0x386d 004317 call restore_esco 
+0x386e 004318 set0 mark_esco ,mark 
+0x386f 004319 rtn 
+:      004321 parse_l2cap:
+0x3870 004322 set0 mark_ext_patch ,mark 
+0x3871 004323 bpatch patch0f_3 ,mem_patch0f 
+0x3872 004324 fetch 1 ,mem_device_option 
+0x3873 004325 beq dvc_op_hci ,parse_l2cap_hci 
+0x3874 004326 set0 mark_rxbuf_inuse ,mark 
+:      004327 parse_l2cap_cont:
+0x3875 004328 jam l2cap_rx_clear ,mem_l2cap_rx_done 
+0x3876 004329 fetch 1 ,mem_l2cap_rxbuff_inuse 
+0x3877 004330 rtn blank 
+0x3878 004331 isolate1 l2cap_inuse_buff1 ,pdata 
+0x3879 004332 arg mem_l2cap_rxbuff1 ,contr 
+0x387a 004333 call process_rx_l2cap_pkt ,true 
+0x387b 004334 set0 mark_ext_patch ,mark 
+0x387c 004335 bpatch patch0f_4 ,mem_patch0f 
+0x387d 004336 fetch 1 ,mem_l2cap_rx_done 
+0x387e 004337 beq l2cap_rx_done ,parse_l2cap_release_buff1 
+0x387f 004339 jam l2cap_rx_clear ,mem_l2cap_rx_done 
+0x3880 004340 fetch 1 ,mem_l2cap_rxbuff_inuse 
+0x3881 004341 rtnbit0 l2cap_inuse_buff2 
+0x3882 004342 arg mem_l2cap_rxbuff2 ,contr 
+0x3883 004343 call process_rx_l2cap_pkt 
+0x3884 004344 fetch 1 ,mem_l2cap_rx_done 
+0x3885 004345 beq l2cap_rx_done ,parse_l2cap_release_buff2 
+0x3886 004346 rtn 
+:      004348 parse_l2cap_exit:
+0x3887 004349 fetch 1 ,mem_state_map 
+0x3888 004350 set0 smap_rxl2cap ,pdata 
+0x3889 004351 store 1 ,mem_state_map 
+0x388a 004352 set0 mark_rxbuf_inuse ,mark 
+0x388b 004353 branch h4_send_acl_trigger_clear 
+:      004355 parse_l2cap_release_buff1:
+0x388c 004356 fetch 1 ,mem_l2cap_rxbuff_inuse 
+0x388d 004357 set0 l2cap_inuse_buff1 ,pdata 
+0x388e 004358 store 1 ,mem_l2cap_rxbuff_inuse 
+0x388f 004359 setarg 0 
+0x3890 004360 store 2 ,mem_l2cap_rxbuff1_len 
+0x3891 004361 rtn 
+:      004362 parse_l2cap_release_buff2:
+0x3892 004363 fetch 1 ,mem_l2cap_rxbuff_inuse 
+0x3893 004364 set0 l2cap_inuse_buff2 ,pdata 
+0x3894 004365 store 1 ,mem_l2cap_rxbuff_inuse 
+0x3895 004366 setarg 0 
+0x3896 004367 store 2 ,mem_l2cap_rxbuff2_len 
+0x3897 004368 rtn 
+:      004370 parse_l2cap_hci:
+0x3898 004371 fetch 1 ,mem_state_map 
+0x3899 004372 rtnbit0 smap_rxl2cap ,pdata 
+0x389a 004373 call h4_send_acl_trigger 
+0x389b 004374 fetch 2 ,mem_acl_credits 
+0x389c 004375 branch assert ,blank 
+0x389d 004376 increase -1 ,pdata 
+0x389e 004377 store 2 ,mem_acl_credits 
+0x389f 004378 branch parse_l2cap_exit 
+:      004380 l2cap_buff1_inuse:
+0x38a0 004381 fetch 1 ,mem_l2cap_rxbuff_inuse 
+0x38a1 004382 set1 l2cap_inuse_buff1 ,pdata 
+0x38a2 004383 store 1 ,mem_l2cap_rxbuff_inuse 
+0x38a3 004384 rtn 
+:      004386 l2cap_buff2_inuse:
+0x38a4 004387 fetch 1 ,mem_l2cap_rxbuff_inuse 
+0x38a5 004388 set1 l2cap_inuse_buff2 ,pdata 
+0x38a6 004389 store 1 ,mem_l2cap_rxbuff_inuse 
+0x38a7 004390 rtn 
+:      004396 slave_send_access:
+0x38a8 004397 set0 mark_ext_patch ,mark 
+0x38a9 004398 bpatch patch0f_5 ,mem_patch0f 
+0x38aa 004399 add clke_bt ,1 ,bt_clk 
+0x38ab 004400 call fetch_extm_bt_adr 
+0x38ac 004401 force 0x03 ,freq_mode 
+0x38ad 004402 call tx_radio_freq 
+0x38ae 004403 call start_transmitter 
+0x38af 004404 call start_tx_external 
+0x38b0 004405 branch send_access_word 
+:      004408 slave_conn_send_packet:
+0x38b1 004409 set0 mark_ext_patch ,mark 
+0x38b2 004410 bpatch patch0f_6 ,mem_patch0f 
+0x38b3 004411 call rf_setup_time_slave_slot 
+0x38b4 004412 deposit clke_bt 
+0x38b5 004413 fetcht 4 ,mem_next_btclk 
+0x38b6 004414 isub temp ,pdata 
+0x38b7 004415 rtnne 1 
+0x38b8 004416 compare type_null ,type ,0x1f 
+0x38b9 004417 nbranch slave_conn_send_access ,true 
+0x38ba 004418 fetch 1 ,mem_rx_type 
+0x38bb 004419 rtn blank 
+:      004420 slave_conn_send_access:
+0x38bc 004421 call slave_send_access 
+0x38bd 004422 compare type_id ,type ,0x1f 
+0x38be 004423 branch end_of_packet ,true 
+:      004424 transmit_packet:
+0x38bf 004425 rshift bt_clk ,temp 
+0x38c0 004426 or temp ,0x40 ,white_init 
+:      004427 transmit_packet_whitened:
+0x38c1 004428 set0 mark_ext_patch ,mark 
+0x38c2 004429 bpatch patch0f_7 ,mem_patch0f 
+0x38c3 004430 enable enable_white 
+0x38c4 004431 enable enable_hec 
+0x38c5 004432 enable encode_fec1 
+0x38c6 004433 set0 mark_longpacket ,mark 
+0x38c7 004434 deposit am_addr 
+0x38c8 004435 inject mod ,3 
+0x38c9 004436 deposit type 
+0x38ca 004437 inject mod ,4 
+0x38cb 004438 fetch 1 ,mem_arq 
+0x38cc 004439 inject bucket ,4 
+0x38cd 004440 inject mod ,3 
+0x38ce 004441 enable enable_parity 
+0x38cf 004442 inject mod ,8 
+0x38d0 004443 disable encode_fec1 
+0x38d1 004444 disable enable_parity 
+0x38d2 004445 disable enable_hec 
+0x38d3 004446 set0 psk3m ,radio_ctrl 
+0x38d4 004447 arg 0 ,temp 
+0x38d5 004448 call reserve_slot 
+0x38d6 004449 set0 mark_ext_patch ,mark 
+0x38d7 004450 bpatch patch10_0 ,mem_patch10 
+0x38d8 004451 and type ,0x1f ,pdata 
+0x38d9 004452 beq type_lmp ,transmit_lmp 
+0x38da 004453 beq type_null ,end_of_packet 
+0x38db 004454 beq type_poll ,end_of_packet 
+0x38dc 004455 beq type_fhs ,transmit_fhs 
+0x38dd 004456 beq type_dm1 ,transmit_dm1 
+0x38de 004457 beq type_dh1 ,transmit_dh1 
+0x38df 004458 beq type_hv3 ,transmit_hev 
+0x38e0 004459 beq type_3dh1 ,transmit_3dh1 
+0x38e1 004460 arg 4 ,temp 
+0x38e2 004461 call reserve_slot 
+0x38e3 004462 beq type_dm3 ,transmit_dm3 
+0x38e4 004463 beq type_dh3 ,transmit_dh3 
+0x38e5 004464 arg 8 ,temp 
+0x38e6 004465 call reserve_slot 
+0x38e7 004466 beq type_dh5 ,transmit_dh5 
+0x38e8 004467 branch transmit_dm5 
+:      004470 transmit_hev:
+0x38e9 004471 set0 mark_ext_patch ,mark 
+0x38ea 004472 bpatch patch10_1 ,mem_patch10 
+0x38eb 004473 enable encode_fec0 
+0x38ec 004474 enable enable_crc 
+0x38ed 004475 enable encrypt 
+0x38ee 004476 force 30 ,loopcnt 
+0x38ef 004477 arg mem_sco_obuf ,contr 
+:      004478 transmit_ev_loop:
+0x38f0 004479 ifetch 1 ,contr 
+0x38f1 004480 inject mod ,8 
+0x38f2 004481 loop transmit_ev_loop 
+0x38f3 004482 bmark1 mark_esco ,transmit_end 
+0x38f4 004483 branch end_of_packet 
+:      004485 transmit_fhs:
+0x38f5 004486 set0 mark_ext_patch ,mark 
+0x38f6 004487 bpatch patch10_2 ,mem_patch10 
+0x38f7 004488 fetch 1 ,mem_fhs_am_addr 
+0x38f8 004489 icopy am_addr 
+0x38f9 004490 fetch 1 ,mem_fhs_misc 
+0x38fa 004491 icopy fhs_misc 
+0x38fb 004492 fetch 3 ,mem_class 
+0x38fc 004493 icopy fhs_class 
+0x38fd 004494 fetch 2 ,mem_nap 
+0x38fe 004495 icopy nap 
+0x38ff 004496 enable enable_crc 
+0x3900 004497 enable encode_fec2 
+0x3901 004498 copy bt_adr ,rega 
+0x3902 004499 call fetch_self_bt_adr 
+0x3903 004500 pulse recalc 
+0x3904 004501 nop 32 
+0x3905 004502 copy bt_clk ,timeup 
+0x3906 004503 fetch 4 ,mem_clkn_bt 
+0x3907 004504 icopy bt_clk 
+0x3908 004505 preload fhs0 
+0x3909 004506 set1 58 ,pdata 
+0x390a 004507 inject mod ,72 
+0x390b 004508 preload fhs1 
+0x390c 004509 inject mod ,72 
+0x390d 004510 copy timeup ,bt_clk 
+0x390e 004511 copy rega ,bt_adr 
+0x390f 004512 enable enable_parity 
+0x3910 004513 inject mod ,16 
+0x3911 004514 disable enable_parity 
+0x3912 004515 branch end_of_packet 
+:      004517 transmit_lmp:
+0x3913 004518 set0 mark_ext_patch ,mark 
+0x3914 004519 bpatch patch10_3 ,mem_patch10 
+0x3915 004520 enable encrypt 
+0x3916 004521 enable enable_crc 
+0x3917 004522 enable encode_fec2 
+0x3918 004523 fetch 1 ,mem_lmo_header_length 
+0x3919 004524 and pdata ,0x1f8 ,temp 
+0x391a 004525 arg mem_lmo_header_length ,contr 
+0x391b 004526 increase 8 ,temp 
+:      004527 transmit_lmp_loop:
+0x391c 004528 add temp ,-72 ,regc 
+0x391d 004529 nbranch transmit_lmp_finish ,positive 
+0x391e 004530 ifetch 9 ,contr 
+0x391f 004531 inject mod ,72 
+0x3920 004532 copy regc ,temp 
+0x3921 004533 branch transmit_lmp_loop 
+:      004534 transmit_lmp_finish:
+0x3922 004535 ifetch 9 ,contr 
+0x3923 004536 iinject mod ,temp 
+0x3924 004537 branch transmit_end 
+:      004539 transmit_dm1:
+0x3925 004540 enable encode_fec2 
+0x3926 004541 branch transmit_dmh 
+:      004542 transmit_dm3:
+:      004543 transmit_dm5:
+0x3927 004544 enable encode_fec2 
+0x3928 004545 set1 mark_longpacket ,mark 
+0x3929 004546 branch transmit_dmh 
+:      004548 transmit_3dh1:
+0x392a 004549 set1 psk3m ,radio_ctrl 
+:      004550 transmit_dh1:
+0x392b 004551 enable encode_fec0 
+0x392c 004552 branch transmit_dmh 
+:      004554 transmit_dh3:
+:      004555 transmit_dh5:
+0x392d 004556 set1 psk3m ,radio_ctrl 
+0x392e 004557 enable encode_fec0 
+0x392f 004558 set1 mark_longpacket ,mark 
+:      004560 transmit_dmh:
+0x3930 004561 set0 mark_ext_patch ,mark 
+0x3931 004562 bpatch patch10_4 ,mem_patch10 
+0x3932 004563 fetch 1 ,mem_state_map 
+0x3933 004564 bbit0 smap_edr ,transmit_noedr 
+0x3934 004565 sub type ,3 ,null 
+0x3935 004566 branch transmit_noedr ,positive 
+0x3936 004567 disable encrypt 
+0x3937 004568 disable encode_fec2 
+0x3938 004569 enable encode_fec0 
+0x3939 004570 disable enable_white 
+0x393a 004571 set1 psk ,radio_ctrl 
+0x393b 004572 isolate1 psk3m ,radio_ctrl 
+0x393c 004573 branch transmit_edr3m ,true 
+0x393d 004574 setarg 0xabeee 
+0x393e 004575 inject mod ,20 
+0x393f 004576 branch transmit_edr_sync_end 
+:      004577 transmit_edr3m:
+0x3940 004578 setarg 0x5faeba 
+0x3941 004579 inject mod ,24 
+0x3942 004580 setarg 0x12 
+0x3943 004581 inject mod ,6 
+:      004582 transmit_edr_sync_end:
+0x3944 004583 enable enable_white 
+0x3945 004584 set1 mark_longpacket ,mark 
+:      004585 transmit_noedr:
+0x3946 004586 enable encrypt 
+0x3947 004587 enable enable_crc 
+0x3948 004588 bmark1 mark_loopback ,transmit_loopback 
+0x3949 004589 fetch 1 ,mem_tx_lch 
+0x394a 004590 inject mod ,3 
+0x394b 004591 fetch 2 ,mem_tx_len 
+0x394c 004592 iforce loopcnt 
+0x394d 004593 bmark1 mark_longpacket ,transmit_long 
+0x394e 004594 inject mod ,5 
+0x394f 004595 branch transmit_stuff 
+:      004596 transmit_long:
+0x3950 004597 inject mod ,13 
+:      004598 transmit_stuff:
+0x3951 004599 fetch 1 ,mem_device_option 
+0x3952 004600 beq dvc_op_hci ,transmit_stuff_hci 
+0x3953 004601 deposit loopcnt 
+0x3954 004602 branch transmit_end ,blank 
+0x3955 004603 fetch 2 ,mem_txptr 
+0x3956 004604 iforce contr 
+:      004605 transmit_stuff_loop:
+0x3957 004606 ifetch 1 ,contr 
+0x3958 004607 inject mod ,8 
+0x3959 004608 loop transmit_stuff_loop 
+0x395a 004609 branch transmit_end 
+:      004610 transmit_stuff_hci:
+0x395b 004611 fetch 2 ,mem_txptr 
+0x395c 004612 iforce contru 
+:      004613 transmit_stuff_hci_loop:
+0x395d 004614 ifetch 1 ,contru 
+0x395e 004615 inject mod ,8 
+0x395f 004616 loop transmit_stuff_hci_loop 
+:      004617 transmit_end:
+0x3960 004618 enable enable_parity 
+0x3961 004619 inject mod ,16 
+0x3962 004620 disable enable_parity 
+0x3963 004621 call set_wait_ack 
+0x3964 004622 fetch 1 ,mem_state_map 
+0x3965 004623 bbit0 smap_edr ,end_of_packet 
+0x3966 004624 force 0 ,pdata 
+0x3967 004625 inject mod ,6 
+0x3968 004626 branch end_of_packet 
+:      004629 transmit_loopback:
+0x3969 004630 set0 mark_ext_patch ,mark 
+0x396a 004631 bpatch patch10_5 ,mem_patch10 
+0x396b 004632 bmark1 mark_longpacket ,transmit_loopback_long 
+:      004633 transmit_loopback_short:
+0x396c 004634 fetch 1 ,mem_lch_code 
+0x396d 004635 inject mod ,3 
+0x396e 004636 fetch 1 ,mem_len 
+0x396f 004637 iforce regc 
+0x3970 004638 inject mod ,5 
+0x3971 004639 branch transmit_loopback_cont 
+:      004640 transmit_loopback_long:
+0x3972 004641 fetch 1 ,mem_lch_code 
+0x3973 004642 inject mod ,3 
+0x3974 004643 fetch 2 ,mem_len 
+0x3975 004644 iforce regc 
+0x3976 004645 inject mod ,13 
+:      004646 transmit_loopback_cont:
+0x3977 004647 arg mem_rxbuf ,contr 
+:      004648 transmit_loopback_loop:
+0x3978 004649 copy regc ,null 
+0x3979 004650 branch transmit_loopback_end ,zero 
+0x397a 004651 ifetch 1 ,contr 
+0x397b 004652 inject mod ,8 
+0x397c 004653 increase -1 ,regc 
+0x397d 004654 branch transmit_loopback_loop 
+:      004655 transmit_loopback_end:
+0x397e 004656 fetch 2 ,mem_tst_pktcnt_dmh 
+0x397f 004657 increase 1 ,pdata 
+0x3980 004658 store 2 ,mem_tst_pktcnt_dmh 
+0x3981 004659 branch transmit_end 
+:      004662 apply_switch_clke:
+0x3982 004663 fetch 4 ,mem_clke_bt 
+0x3983 004664 add pdata ,7 ,rega 
+0x3984 004665 fetch 2 ,mem_slot_offset 
+0x3985 004666 nbranch apply_switch_nozero ,blank 
+0x3986 004667 increase -3 ,rega 
+0x3987 004668 branch apply_switch_wait_loop 
+:      004669 apply_switch_nozero:
+0x3988 004670 mul32 pdata ,12 ,pdata 
+0x3989 004671 hfetcht 2 ,core_halfslot 
+0x398a 004672 increase 1 ,temp 
+:      004673 apply_switch_loop:
+0x398b 004674 isub temp ,pdata 
+0x398c 004675 nbranch apply_switch_bt ,positive 
+0x398d 004676 increase -1 ,rega 
+0x398e 004677 branch apply_switch_loop 
+:      004678 apply_switch_bt:
+0x398f 004679 sub pdata ,0 ,pdata 
+:      004680 apply_switch_wait_loop:
+0x3990 004681 until null ,oneslot 
+0x3991 004682 compare 0 ,clkn_bt ,3 
+0x3992 004683 nbranch apply_switch_wait_loop ,true 
+0x3993 004684 iforce clke_rt 
+0x3994 004685 copy rega ,clke_bt 
+0x3995 004686 iforce clke_rt 
+0x3996 004687 rtn 
+:      004690 calc_slot_offset:
+0x3997 004691 set0 mark_ext_patch ,mark 
+0x3998 004692 bpatch patch10_6 ,mem_patch10 
+0x3999 004693 until null ,halfslot 
+0x399a 004694 deposit clke 
+0x399b 004695 iforce contr 
+0x399c 004696 rshift16 ,pdata ,pdata 
+0x399d 004697 isub clkn_bt ,loopcnt 
+0x399e 004698 and_into 3 ,loopcnt 
+0x399f 004699 nbranch calc_bt_portion ,zero 
+0x39a0 004700 force 0 ,pdata 
+0x39a1 004701 branch calc_skip_bt 
+:      004702 calc_bt_portion:
+0x39a2 004703 arg 3750 ,temp 
+0x39a3 004704 force 0 ,pdata 
+:      004705 calc_slot_offset_loop:
+0x39a4 004706 iadd temp ,pdata 
+0x39a5 004707 loop calc_slot_offset_loop 
+:      004708 calc_skip_bt:
+0x39a6 004709 iadd contr ,pdata 
+0x39a7 004710 div pdata ,12 
+0x39a8 004711 call wait_div_end 
+0x39a9 004712 quotient pdata 
+0x39aa 004713 store 2 ,mem_slot_offset 
+0x39ab 004714 rtn 
+:      004716 calc_clke_offset:
+0x39ac 004717 set0 mark_ext_patch ,mark 
+0x39ad 004718 bpatch patch10_7 ,mem_patch10 
+0x39ae 004719 deposit clke 
+0x39af 004720 copy clkn ,temp 
+0x39b0 004721 isub temp ,null 
+0x39b1 004722 nsetflag positive ,44 ,pdata 
+0x39b2 004723 isub temp ,temp 
+0x39b3 004724 setarg 3750 
+0x39b4 004725 isolate0 15 ,temp 
+0x39b5 004726 branch calc_clke_pos ,true 
+0x39b6 004727 setarg -61786 
+0x39b7 004728 iadd temp ,temp 
+:      004729 calc_clke_pos:
+0x39b8 004730 storet 6 ,mem_le_clk_offset 
+0x39b9 004731 rtn le 
+0x39ba 004732 storet 6 ,mem_clk_offset 
+0x39bb 004733 rtn 
+:      004735 calc_clke:
+0x39bc 004736 disable clknt 
+0x39bd 004737 fetch 6 ,mem_le_clk_offset 
+0x39be 004738 branch calc_clke2 ,le 
+0x39bf 004739 fetch 6 ,mem_clk_offset 
+:      004740 calc_clke2:
+0x39c0 004741 iadd clkn ,alarm 
+0x39c1 004742 increase 10 ,alarm 
+0x39c2 004743 setarg 3750 
+0x39c3 004744 isub alarm ,pdata 
+0x39c4 004745 isolate0 15 ,pdata 
+0x39c5 004746 branch calc_clke_pos_adj ,true 
+0x39c6 004747 setarg 0xf15a 
+0x39c7 004748 iadd alarm ,alarm 
+:      004749 calc_clke_pos2:
+0x39c8 004750 copy alarm ,clke 
+0x39c9 004751 rtn 
+:      004752 calc_clke_pos_adj:
+0x39ca 004753 force 0 ,null 
+0x39cb 004754 branch calc_clke_pos2 
+:      004761 calc_radio_freq:
+0x39cc 004762 set0 mark_ext_patch ,mark 
+0x39cd 004763 bpatch patch11_0 ,mem_patch11 
+0x39ce 004764 call set_sync_on 
+0x39cf 004765 copy bt_clk ,pdata 
+0x39d0 004766 and_into 0x180 ,pdata 
+0x39d1 004767 compare 3 ,freq_mode ,0x07 
+0x39d2 004768 nbranch freq_not_connection ,true 
+0x39d3 004769 rshift3 pdata ,pdata 
+0x39d4 004770 iadd freq_index ,pdata 
+0x39d5 004771 branch do_hop_mod_now 
+:      004772 freq_not_connection:
+0x39d6 004773 copy freq_index ,pdata 
+:      004774 do_hop_mod_now:
+0x39d7 004775 div pdata ,79 
+0x39d8 004776 pulse recalc 
+0x39d9 004777 call wait_div_end 
+0x39da 004778 remainder rega 
+0x39db 004779 add rega ,-40 ,temp 
+0x39dc 004780 branch odd_half ,positive 
+0x39dd 004781 lshift rega ,temp 
+0x39de 004782 branch freq_result 
+:      004783 odd_half:
+0x39df 004784 lshift temp ,temp 
+0x39e0 004785 increase 1 ,temp 
+:      004786 freq_result:
+0x39e1 004787 set0 mark_ext_patch ,mark 
+0x39e2 004788 bpatch patch11_1 ,mem_patch11 
+0x39e3 004789 fetch 1 ,mem_mode 
+0x39e4 004790 bbit0 afh_change ,afh_process_con 
+:      004791 afh_process_0:
+0x39e5 004792 fetch 4 ,mem_afh_instant 
+0x39e6 004793 isub bt_clk ,null 
+0x39e7 004794 branch afh_process_con ,positive 
+0x39e8 004795 call afh_clear 
+0x39e9 004796 fetch 1 ,mem_afh_new_mod 
+0x39ea 004797 rtn blank 
+0x39eb 004798 fetch 1 ,mem_mode 
+0x39ec 004799 set1 afh_enable ,pdata 
+0x39ed 004800 store 1 ,mem_mode 
+0x39ee 004801 fetch 5 ,mem_afh_map_new 
+0x39ef 004802 store 5 ,mem_afh_map_lo 
+0x39f0 004803 ifetch 5 ,contr 
+0x39f1 004804 store 5 ,mem_afh_map_hi 
+0x39f2 004805 call afh_process_freq_map 
+:      004806 afh_process_con:
+0x39f3 004807 fetch 1 ,mem_mode 
+0x39f4 004808 rtnbit0 afh_enable 
+0x39f5 004809 isolate1 1 ,bt_clk 
+0x39f6 004810 branch afh_same_channel ,true 
+0x39f7 004811 rshift3 temp ,rega 
+0x39f8 004812 and temp ,7 ,queue 
+0x39f9 004813 setarg mem_afh_map_lo 
+0x39fa 004814 iadd rega ,rega 
+0x39fb 004815 ifetch 1 ,rega 
+0x39fc 004816 qisolate0 pdata 
+0x39fd 004817 branch afh_process_1 ,true 
+0x39fe 004818 deposit temp 
+0x39ff 004819 branch afh_process_end 
+:      004820 afh_process_1:
+0x3a00 004821 fetch 1 ,mem_afh_used 
+0x3a01 004822 iforce regb 
+0x3a02 004823 deposit bt_clk 
+0x3a03 004824 and_into 0x180 ,pdata 
+0x3a04 004825 rshift3 pdata ,pdata 
+0x3a05 004826 iadd freq_index ,pdata 
+0x3a06 004827 idiv regb 
+0x3a07 004828 setarg mem_afh_map 
+0x3a08 004829 call wait_div_end 
+0x3a09 004830 remainder rega 
+0x3a0a 004831 iadd rega ,contr 
+0x3a0b 004832 ifetch 1 ,contr 
+:      004833 afh_process_end:
+0x3a0c 004834 store 1 ,mem_afh_index 
+0x3a0d 004835 iforce temp 
+0x3a0e 004836 rtn 
+:      004838 afh_same_channel:
+0x3a0f 004839 fetch 1 ,mem_afh_index 
+0x3a10 004840 iforce temp 
+0x3a11 004841 rtn 
+:      004843 afh_clear:
+0x3a12 004844 fetch 1 ,mem_mode 
+0x3a13 004845 set0 afh_enable ,pdata 
+0x3a14 004846 set0 afh_change ,pdata 
+0x3a15 004847 store 1 ,mem_mode 
+0x3a16 004848 rtn 
+:      004854 afh_process_freq_map:
+0x3a17 004855 set0 mark_ext_patch ,mark 
+0x3a18 004856 bpatch patch11_2 ,mem_patch11 
+0x3a19 004857 arg mem_afh_map ,contw 
+0x3a1a 004858 force 10 ,loopcnt 
+0x3a1b 004859 call memset0 
+0x3a1c 004860 arg mem_afh_map ,contw 
+0x3a1d 004861 force 0 ,regc 
+0x3a1e 004862 force 2 ,queue 
+:      004863 process_freq_3:
+0x3a1f 004864 fetch 5 ,mem_afh_map_lo 
+0x3a20 004865 iforce temp 
+0x3a21 004866 compare 2 ,queue ,0xff 
+0x3a22 004867 branch process_freq_1 ,true 
+0x3a23 004868 rshift temp ,temp 
+:      004869 process_freq_1:
+0x3a24 004870 isolate0 0 ,temp 
+0x3a25 004871 branch process_freq_0 ,true 
+0x3a26 004872 deposit regc 
+0x3a27 004873 istore 1 ,contw 
+:      004874 process_freq_0:
+0x3a28 004875 rshift2 temp ,temp 
+0x3a29 004876 increase 2 ,regc 
+0x3a2a 004877 compare 40 ,regc ,0xfe 
+0x3a2b 004878 nbranch process_freq_2 ,true 
+0x3a2c 004879 fetch 5 ,mem_afh_map_hi 
+0x3a2d 004880 iforce temp 
+0x3a2e 004881 compare 2 ,queue ,0xff 
+0x3a2f 004882 branch process_freq_2 ,true 
+0x3a30 004883 rshift temp ,temp 
+:      004884 process_freq_2:
+0x3a31 004885 sub regc ,78 ,null 
+0x3a32 004886 branch process_freq_1 ,positive 
+0x3a33 004887 force 1 ,regc 
+0x3a34 004888 increase -1 ,queue 
+0x3a35 004889 nbranch process_freq_3 ,zero 
+0x3a36 004890 arg mem_afh_map ,rega 
+0x3a37 004891 deposit contw 
+0x3a38 004892 isub rega ,pdata 
+0x3a39 004893 store 1 ,mem_afh_used 
+0x3a3a 004894 rtn 
+:      004896 rx_radio_freq:
+0x3a3b 004897 set0 mark_ext_patch ,mark 
+0x3a3c 004898 bpatch patch11_3 ,mem_patch11 
+0x3a3d 004899 call calc_radio_freq 
+0x3a3e 004900 fetch 1 ,mem_debug_config 
+0x3a3f 004901 bbit0 debug_rx_fixed_freq ,rx_radio_freq_now 
+0x3a40 004902 fetcht 1 ,mem_rx_fixed_freq 
+:      004903 rx_radio_freq_now:
+0x3a41 004904 branch set_freq_rx 
+:      004907 tx_radio_freq:
+0x3a42 004908 set0 mark_ext_patch ,mark 
+0x3a43 004909 bpatch patch11_4 ,mem_patch11 
+0x3a44 004910 call calc_radio_freq 
+0x3a45 004911 fetch 1 ,mem_debug_config 
+0x3a46 004912 bbit0 debug_tx_fixed_freq ,tx_radio_freq_now 
+0x3a47 004913 fetcht 1 ,mem_tx_fixed_freq 
+:      004914 tx_radio_freq_now:
+0x3a48 004915 branch set_freq_tx 
+:      004918 fetch_giac:
+0x3a49 004919 force 0 ,uap 
+0x3a4a 004920 fetch 3 ,mem_glap 
+0x3a4b 004921 iforce lap 
+0x3a4c 004922 rtn 
+:      004924 fetch_page_bt_adr:
+0x3a4d 004925 set0 mark_ext_patch ,mark 
+0x3a4e 004926 bpatch patch11_5 ,mem_patch11 
+0x3a4f 004927 fetch 1 ,mem_hci_puap 
+0x3a50 004928 icopy uap 
+0x3a51 004929 fetch 3 ,mem_hci_plap 
+0x3a52 004930 icopy lap 
+0x3a53 004931 rtn 
+:      004933 fetch_self_bt_adr:
+0x3a54 004934 set0 mark_ext_patch ,mark 
+0x3a55 004935 bpatch patch11_6 ,mem_patch11 
+0x3a56 004936 fetch 2 ,mem_nap 
+0x3a57 004937 icopy nap 
+0x3a58 004938 fetch 1 ,mem_uap 
+0x3a59 004939 icopy uap 
+0x3a5a 004940 fetch 3 ,mem_lap 
+0x3a5b 004941 icopy lap 
+0x3a5c 004942 rtn 
+:      004944 fetch_extm_bt_adr:
+0x3a5d 004945 set0 mark_ext_patch ,mark 
+0x3a5e 004946 bpatch patch11_7 ,mem_patch11 
+0x3a5f 004947 fetch 2 ,mem_pnap 
+0x3a60 004948 icopy nap 
+0x3a61 004949 fetch 1 ,mem_puap 
+0x3a62 004950 icopy uap 
+0x3a63 004951 fetch 3 ,mem_plap 
+0x3a64 004952 icopy lap 
+0x3a65 004953 rtn 
+:      004956 fetch_diac:
+0x3a66 004957 bmark1 mark_all_diac ,fetch_diac_do 
+0x3a67 004958 rtnmark0 mark_inquiry_state 
+0x3a68 004959 rtnmark0 mark_periodical_diac 
+:      004960 fetch_diac_do:
+0x3a69 004961 and_into -256 ,lap 
+0x3a6a 004962 pulse recalc 
+0x3a6b 004963 nop 32 
+0x3a6c 004964 rtn 
+:      004967 shutdown_radio:
+0x3a6d 004968 set0 mark_ext_patch ,mark 
+0x3a6e 004969 bpatch patch12_0 ,mem_patch12 
+0x3a6f 004970 force 0 ,radio_ctrl 
+0x3a70 004971 disable is_rx 
+0x3a71 004972 disable is_tx 
+0x3a72 004973 pulse packet_end 
+0x3a73 004974 hjam 0x0 ,rfen_mdm 
+0x3a74 004975 hjam 0x0 ,rfen_tx 
+0x3a75 004976 hjam 0x0 ,rfen_rx 
+0x3a76 004977 hjam 0 ,rfen_sn 
+0x3a77 004978 hjam 0x70 ,rfen_msc 
+0x3a78 004979 hjam 0x0 ,rfen_adc 
+0x3a79 004980 rtn 
+:      004982 set_sync_on:
+0x3a7a 004983 set0 mark_ext_patch ,mark 
+0x3a7b 004984 bpatch patch12_1 ,mem_patch12 
+0x3a7c 004985 hjam 0x0 ,rfen_mdm 
+0x3a7d 004986 hjam 0x0 ,rfen_tx 
+0x3a7e 004987 hjam 0x18 ,rfen_rx 
+0x3a7f 004988 hjam 0xa7 ,rfen_sn 
+0x3a80 004989 hjam 0x7f ,rfen_msc 
+0x3a81 004990 rtn 
+:      004993 set_freq_rx:
+0x3a82 004994 set0 mark_ext_patch ,mark 
+0x3a83 004995 bpatch patch12_2 ,mem_patch12 
+0x3a84 004997 storet 1 ,mem_last_freq 
+0x3a85 004998 add temp ,rx_freq_offset ,rega 
+0x3a86 004999 branch rf_write_freq 
+:      005000 rf_rx_enable:
+0x3a87 005001 set0 mark_ext_patch ,mark 
+0x3a88 005002 bpatch patch12_3 ,mem_patch12 
+0x3a89 005003 hjam 0xcf ,rfen_tx 
+0x3a8a 005004 nop 10 
+0x3a8b 005005 hjam 0xff ,rfen_rx 
+0x3a8c 005006 hjam 0xaf ,rfen_sn 
+0x3a8d 005007 hjam 0xff ,rfen_msc 
+0x3a8e 005008 nop 10 
+0x3a8f 005009 hjam 0xa0 ,rfen_mdm 
+0x3a90 005010 rtn 
+:      005013 set_freq_tx:
+0x3a91 005014 set0 mark_ext_patch ,mark 
+0x3a92 005015 bpatch patch12_4 ,mem_patch12 
+0x3a93 005016 storet 1 ,mem_last_freq 
+0x3a94 005017 add temp ,tx_freq_offset ,rega 
+0x3a95 005018 call rf_write_freq 
+0x3a96 005019 setarg param_pll_setup 
+0x3a97 005020 call sleep 
+:      005021 txon:
+0x3a98 005022 hjam 0x1 ,rfen_adc 
+0x3a99 005023 hjam 0x3c ,rfen_rx 
+0x3a9a 005024 hjam 0xe0 ,rfen_tx 
+0x3a9b 005025 hjam 0xb7 ,rfen_sn 
+0x3a9c 005026 hjam 0x7f ,rfen_mdm 
+0x3a9d 005027 rtn 
+:      005029 initialize_radio:
+0x3a9e 005030 hjam clksel_rc ,core_clksel 
+0x3a9f 005031 call init_rf_regs 
+0x3aa0 005032 call init_agc_table 
+:      005033 initialize_radio_wait:
+0x3aa1 005034 fetch 2 ,mem_rf_init_ptr 
+0x3aa2 005035 bbit0 14 ,initialize_radio_wait 
+0x3aa3 005036 iforce contr 
+0x3aa4 005037 arg 0x8900 ,temp 
+:      005038 initialize_radio_loop:
+0x3aa5 005039 ifetch 1 ,contr 
+0x3aa6 005040 beq 0xff ,initialize_radio_cont 
+0x3aa7 005041 ior temp ,contw 
+0x3aa8 005042 ifetch 1 ,contr 
+0x3aa9 005043 istore 1 ,contw 
+0x3aaa 005044 branch initialize_radio_loop 
+:      005045 initialize_radio_cont:
+0x3aab 005046 set0 mark_ext_patch ,mark 
+0x3aac 005047 bpatch patch12_5 ,mem_patch12 
+0x3aad 005048 call lpm_cal_xtal_startup 
+0x3aae 005049 call switchto_dpllclk 
+0x3aaf 005051 setarg param_dpll_start_delay 
+0x3ab0 005052 iadd clkn_bt ,pdata 
+0x3ab1 005053 store 4 ,mem_dpll_clkn 
+0x3ab2 005054 set1 reset ,radio_ctrl 
+0x3ab3 005055 force 0 ,radio_ctrl 
+0x3ab4 005056 ncall do_rccal ,wake 
+0x3ab5 005057 branch set_rccal 
+:      005060 rf_write_freq:
+0x3ab6 005061 set0 mark_ext_patch ,mark 
+0x3ab7 005062 bpatch patch12_6 ,mem_patch12 
+0x3ab8 005063 setarg 2400 
+0x3ab9 005064 iadd rega ,temp 
+0x3aba 005065 fetch 1 ,mem_fcomp_mul 
+0x3abb 005066 hjam 0x04 ,rf_pll_rstn 
+0x3abc 005067 imul32 temp ,pdata 
+0x3abd 005068 fetcht 1 ,mem_fcomp_div 
+0x3abe 005069 idiv temp 
+0x3abf 005070 call wait_div_end 
+0x3ac0 005071 quotient rega 
+0x3ac1 005072 remainder pdata 
+0x3ac2 005073 lshift16 pdata ,pdata 
+0x3ac3 005074 lshift4 pdata ,pdata 
+0x3ac4 005075 idiv temp 
+0x3ac5 005076 call wait_div_end 
+0x3ac6 005077 quotient pdata 
+0x3ac7 005078 lshift8 pdata ,pdata 
+0x3ac8 005079 lshift pdata ,pdata 
+0x3ac9 005080 ior rega ,pdata 
+0x3aca 005081 hstore 4 ,rf_pll_intg 
+0x3acb 005082 hjam 0x44 ,rf_pll_rstn 
+0x3acc 005083 hjam 0xc4 ,rf_pll_rstn 
+0x3acd 005084 rtn 
+:      005087 do_rccal:
+0x3ace 005088 set0 mark_ext_patch ,mark 
+0x3acf 005089 bpatch patch12_7 ,mem_patch12 
+0x3ad0 005090 hjam 0x02 ,rfen_adc 
+0x3ad1 005091 setarg 250000 
+0x3ad2 005092 call sleep 
+0x3ad3 005093 hjam 0x7f ,rfen_rx 
+0x3ad4 005094 nop 130 
+0x3ad5 005095 hjam 0x30 ,rf_rccal_ctrl 
+0x3ad6 005096 hjam 0xd0 ,rfen_tx 
+0x3ad7 005097 hjam 0x70 ,rf_rccal_ctrl 
+0x3ad8 005098 hjam 0xf0 ,rf_rccal_ctrl 
+0x3ad9 005099 force 50 ,loopcnt 
+:      005100 do_rccal_loop:
+0x3ada 005101 hfetch 1 ,rf_rccal_result 
+0x3adb 005102 bbit1 5 ,do_rccal_end 
+0x3adc 005103 loop do_rccal_loop 
+:      005104 do_rccal_end:
+0x3add 005105 store 1 ,mem_rf_rccal 
+0x3ade 005106 hjam 0 ,rfen_tx 
+0x3adf 005107 hjam 0 ,rfen_rx 
+0x3ae0 005108 hjam 0x00 ,rfen_adc 
+0x3ae1 005109 rtn 
+:      005111 set_rccal:
+0x3ae2 005112 set0 mark_ext_patch ,mark 
+0x3ae3 005113 bpatch patch13_0 ,mem_patch13 
+0x3ae4 005114 fetch 1 ,mem_rf_rccal 
+0x3ae5 005115 set1 5 ,pdata 
+0x3ae6 005116 hstore 1 ,rf_rccal_ctrl 
+0x3ae7 005117 hfetcht 1 ,rf_bpf_ctrim 
+0x3ae8 005118 and_into 7 ,temp 
+0x3ae9 005119 lshift3 pdata ,pdata 
+0x3aea 005120 ior temp ,pdata 
+0x3aeb 005121 hstore 1 ,rf_bpf_ctrim 
+0x3aec 005122 hfetch 1 ,rf_bpf_ib 
+0x3aed 005123 set0 bpf_rccal ,pdata 
+0x3aee 005124 hstore 1 ,rf_bpf_ib 
+0x3aef 005125 hfetch 1 ,rf_adc_rccal 
+0x3af0 005126 set0 adc_rccal ,pdata 
+0x3af1 005127 hstore 1 ,rf_adc_rccal 
+0x3af2 005128 rtn 
+:      005130 save_rssi:
+0x3af3 005131 set0 mark_ext_patch ,mark 
+0x3af4 005132 bpatch patch13_1 ,mem_patch13 
+0x3af5 005133 hfetch 2 ,rf_afc_d2a 
+0x3af6 005134 rshift4 pdata ,pdata 
+0x3af7 005135 rshift3 pdata ,pdata 
+0x3af8 005136 sub pdata ,0 ,pdata 
+0x3af9 005137 and_into 0xff ,pdata 
+0x3afa 005138 div pdata ,10 
+0x3afb 005139 call wait_div_end 
+0x3afc 005140 quotient pdata 
+0x3afd 005141 lshift4 pdata ,pdata 
+0x3afe 005142 remainder temp 
+0x3aff 005143 ior temp ,pdata 
+0x3b00 005144 store 1 ,mem_rssi 
+0x3b01 005145 rtn 
+:      005147 switchto_rcclk:
+0x3b02 005148 hjam 0xa ,core_clksel 
+0x3b03 005149 hjam 0 ,rfen_ck 
+0x3b04 005150 hfetch 3 ,core_lpm_ctrl 
+0x3b05 005151 hstore 3 ,core_lpm_reg 
+0x3b06 005152 hjam 0xfc ,core_lpm_reg 
+0x3b07 005153 call lpm_write_ctrl 
+0x3b08 005154 nop 1000 
+0x3b09 005155 rtn 
+:      005157 switchto_dpllclk:
+0x3b0a 005158 hjam clksel_rc ,core_clksel 
+0x3b0b 005159 hfetch 1 ,rf_clkpll_frac + 2 
+0x3b0c 005160 set0 4 ,pdata 
+0x3b0d 005161 set0 5 ,pdata 
+0x3b0e 005162 hstore 1 ,rf_clkpll_frac + 2 
+0x3b0f 005163 hjam 0x00 ,rfen_ck 
+0x3b10 005164 hjam 0x00 ,rfen_msc 
+0x3b11 005165 hjam 0x70 ,rfen_msc 
+0x3b12 005166 hjam 0xff ,rfen_ck 
+0x3b13 005167 hfetch 1 ,rf_clkpll_frac + 2 
+0x3b14 005168 set1 4 ,pdata 
+0x3b15 005169 set1 5 ,pdata 
+0x3b16 005170 hstore 1 ,rf_clkpll_frac + 2 
+0x3b17 005171 call init_lpm_ctrl 
+0x3b18 005172 hfetch 1 ,rf_clkpll_int 
+0x3b19 005173 set1 7 ,pdata 
+0x3b1a 005174 hstore 1 ,rf_clkpll_int 
+0x3b1b 005175 set0 7 ,pdata 
+0x3b1c 005176 hstore 1 ,rf_clkpll_int 
+0x3b1d 005177 set1 7 ,pdata 
+0x3b1e 005178 hstore 1 ,rf_clkpll_int 
+0x3b1f 005179 hjam clksel_dpll ,core_clksel 
+0x3b20 005180 rtn 
+:      005182 check_dpll:
+0x3b21 005183 nop 1000 
+0x3b22 005184 hjam clksel_xtal ,core_clksel 
+0x3b23 005185 nop 10 
+0x3b24 005186 hjam 0x00 ,core_bist_ctrl 
+0x3b25 005187 hjam ccnt_start ,core_misc_ctrl 
+:      005188 check_dpll_loop:
+0x3b26 005189 hfetch 1 ,core_perf_status 
+0x3b27 005190 bbit0 1 ,check_dpll_loop 
+0x3b28 005191 hfetcht 3 ,core_clk_counter 
+0x3b29 005192 hjam clksel_dpll ,core_clksel 
+0x3b2a 005193 nop 10 
+0x3b2b 005194 hjam ccnt_start ,core_misc_ctrl 
+:      005195 check_dpll_loop2:
+0x3b2c 005196 hfetch 1 ,core_perf_status 
+0x3b2d 005197 bbit0 1 ,check_dpll_loop2 
+0x3b2e 005198 hfetch 3 ,core_clk_counter 
+0x3b2f 005199 isub temp ,pdata 
+0x3b30 005200 branch check_dpll_pos ,positive 
+0x3b31 005201 sub pdata ,0 ,pdata 
+:      005202 check_dpll_pos:
+0x3b32 005203 store 2 ,mem_dpll_error 
+0x3b33 005204 sub pdata ,70 ,null 
+:      005205 check_dpll_assert:
+0x3b34 005206 nbranch check_dpll_assert ,positive 
+0x3b35 005207 rtn 
+:      005209 xtal_fast_wake:
+0x3b36 005210 setarg 0xf0f 
+0x3b37 005211 branch lpm_write_config 
+:      005213 init_lpm_ctrl:
+0x3b38 005214 setarg 0x80f 
+0x3b39 005215 branch lpm_write_config 
+:      005219 start_receiver:
+0x3b3a 005220 set0 mark_ext_patch ,mark 
+0x3b3b 005221 bpatch patch13_2 ,mem_patch13 
+0x3b3c 005222 call rf_rx_enable 
+0x3b3d 005223 disable is_tx 
+0x3b3e 005224 enable is_rx 
+0x3b3f 005225 pulse init_encrypt 
+0x3b40 005226 rtn 
+:      005228 prep_crypt:
+0x3b41 005229 set0 mark_ext_patch ,mark 
+0x3b42 005230 bpatch patch13_3 ,mem_patch13 
+0x3b43 005231 fetch 1 ,mem_state_map 
+0x3b44 005232 isolate1 smap_encryption ,pdata 
+0x3b45 005233 setflag true ,0 ,pdata 
+0x3b46 005234 hstore 1 ,core_encrypt 
+0x3b47 005235 arg mem_kc ,contr 
+0x3b48 005236 ifetch 9 ,contr 
+0x3b49 005237 iforce kc_ls 
+0x3b4a 005238 ifetch 7 ,contr 
+0x3b4b 005239 iforce kc_ms 
+0x3b4c 005240 fetch 1 ,mem_key_size 
+0x3b4d 005241 add pdata ,-1 ,g1l 
+0x3b4e 005242 pulse kc_p_activate 
+0x3b4f 005243 rtn 
+:      005245 wait_access_clke_rt:
+0x3b50 005246 set0 mark_ext_patch ,mark 
+0x3b51 005247 bpatch patch13_4 ,mem_patch13 
+0x3b52 005248 enable decode_fec0 
+0x3b53 005249 arg param_conn_access ,timeup 
+0x3b54 005250 correlate clke_rt ,meet 
+:      005251 wait_access_end:
+0x3b55 005252 deposit clke 
+0x3b56 005253 store 6 ,mem_sync_clke 
+0x3b57 005254 disable decode_fec0 
+0x3b58 005255 nbranch shutdown_radio ,sync 
+0x3b59 005256 arg param_clke_cal ,clke_rt 
+0x3b5a 005257 increase 1 ,clke_bt 
+0x3b5b 005258 and_into 0x1fc ,clke_bt 
+0x3b5c 005259 rtn 
+:      005263 wait_access_mhalfbnd:
+0x3b5d 005264 enable decode_fec0 
+:      005265 wait_access_mhalfbnd_correlate:
+0x3b5e 005266 correlate null ,mhalfbnd 
+0x3b5f 005267 branch wait_access_end ,sync 
+0x3b60 005268 compare 0x02 ,clke_bt ,0x02 
+0x3b61 005269 nbranch wait_access_mhalfbnd_correlate ,true 
+0x3b62 005270 branch wait_access_end 
+:      005272 wait_access_clkn_rt:
+0x3b63 005273 set0 mark_ext_patch ,mark 
+0x3b64 005274 bpatch patch13_5 ,mem_patch13 
+0x3b65 005275 arg param_conn_access ,timeup 
+0x3b66 005276 enable decode_fec0 
+0x3b67 005277 correlate clkn_rt ,meet 
+0x3b68 005278 disable decode_fec0 
+0x3b69 005279 nbranch shutdown_radio ,sync 
+0x3b6a 005280 rtn 
+:      005282 wait_access_forever:
+0x3b6b 005283 set0 mark_ext_patch ,mark 
+0x3b6c 005284 bpatch patch13_6 ,mem_patch13 
+0x3b6d 005285 enable decode_fec0 
+0x3b6e 005286 correlate null ,timeout 
+0x3b6f 005287 disable decode_fec0 
+0x3b70 005288 nbranch shutdown_radio ,sync 
+0x3b71 005289 arg param_clke_cal ,clke_rt 
+0x3b72 005290 and_into 0x1fc ,clke_bt 
+0x3b73 005291 rtn 
+:      005294 reserve_slot:
+0x3b74 005295 set0 mark_ext_patch ,mark 
+0x3b75 005296 bpatch patch13_7 ,mem_patch13 
+0x3b76 005297 iforce rega 
+0x3b77 005298 deposit bt_clk 
+0x3b78 005299 iadd temp ,timeup 
+0x3b79 005300 copy timeup ,pdata 
+0x3b7a 005301 store 4 ,mem_next_btclk 
+0x3b7b 005302 deposit rega 
+0x3b7c 005303 rtn 
+:      005306 ahead_window:
+0x3b7d 005307 copy pdata ,temp 
+0x3b7e 005308 set0 mark_ext_patch ,mark 
+0x3b7f 005309 bpatch patch14_0 ,mem_patch14 
+0x3b80 005310 copy temp ,pdata 
+0x3b81 005311 call clk2bt 
+0x3b82 005312 lshift16 bt_clk ,pdata 
+0x3b83 005313 set1 44 ,pdata 
+0x3b84 005314 call clk_diff 
+0x3b85 005315 set0 44 ,pdata 
+0x3b86 005316 call get_clk 
+0x3b87 005317 call clk_diff 
+0x3b88 005318 rtn user 
+0x3b89 005319 call clk2rt 
+0x3b8a 005320 iforce stop_watch 
+0x3b8b 005321 until null ,timeout 
+0x3b8c 005322 rtn 
+:      005325 setup_clk:
+0x3b8d 005326 set0 mark_ext_patch ,mark 
+0x3b8e 005327 bpatch patch14_1 ,mem_patch14 
+0x3b8f 005328 branch setup_clkn ,clknt 
+0x3b90 005329 until clke_rt ,meet 
+:      005330 skip_setup_clke:
+0x3b91 005331 copy clke_bt ,temp 
+0x3b92 005332 branch setup_clknbt 
+:      005333 setup_clkn:
+0x3b93 005334 branch skip_setup_clkn ,attempt 
+0x3b94 005335 until clkn_rt ,meet 
+:      005336 skip_setup_clkn:
+0x3b95 005337 copy clkn_bt ,temp 
+:      005338 setup_clknbt:
+0x3b96 005339 branch setup_clk11 ,user 
+0x3b97 005340 compare 1 ,temp ,3 
+0x3b98 005341 nbranch setup_clk ,true 
+:      005342 setup_complete:
+0x3b99 005343 set0 mark_ext_patch ,mark 
+0x3b9a 005344 bpatch patch14_2 ,mem_patch14 
+0x3b9b 005345 fetch 1 ,mem_state 
+0x3b9c 005346 rtnbit0 state_inconn 
+0x3b9d 005347 fetch 4 ,mem_next_btclk 
+0x3b9e 005348 isub temp ,pdata 
+0x3b9f 005349 nrtn positive 
+0x3ba0 005350 sub pdata ,0xff ,null 
+0x3ba1 005351 branch setup_clk ,positive 
+0x3ba2 005352 rtn 
+:      005353 setup_clk11:
+0x3ba3 005354 compare 3 ,temp ,3 
+0x3ba4 005355 nbranch setup_clk ,true 
+0x3ba5 005356 branch setup_complete 
+:      005358 rf_setup_time:
+0x3ba6 005359 set0 mark_ext_patch ,mark 
+0x3ba7 005360 bpatch patch14_3 ,mem_patch14 
+0x3ba8 005361 arg param_rf_setup ,timeup 
+0x3ba9 005362 branch setup_clk 
+:      005364 rf_setup_time_slave_slot:
+0x3baa 005365 disable user 
+0x3bab 005366 branch rf_setup_time 
+:      005368 rf_setup_time_master_slot:
+0x3bac 005369 enable user 
+0x3bad 005370 branch rf_setup_time 
+:      005372 start_transmitter:
+0x3bae 005373 set0 mark_ext_patch ,mark 
+0x3baf 005374 bpatch patch14_4 ,mem_patch14 
+0x3bb0 005375 call prep_crypt 
+0x3bb1 005376 disable is_rx 
+0x3bb2 005377 enable is_tx 
+0x3bb3 005378 rtn 
+:      005382 start_tx_native:
+0x3bb4 005383 set0 mark_ext_patch ,mark 
+0x3bb5 005384 bpatch patch14_5 ,mem_patch14 
+0x3bb6 005385 arg param_tx_setup ,timeup 
+0x3bb7 005386 until clkn_rt ,meet 
+0x3bb8 005387 pulse init_encrypt 
+0x3bb9 005388 rtn 
+:      005390 start_rx_native:
+0x3bba 005391 set0 mark_ext_patch ,mark 
+0x3bbb 005392 bpatch patch14_6 ,mem_patch14 
+0x3bbc 005393 arg param_rx_setup ,timeup 
+0x3bbd 005394 until clkn_rt ,meet 
+0x3bbe 005395 rtn 
+:      005398 start_tx_external:
+0x3bbf 005399 set0 mark_ext_patch ,mark 
+0x3bc0 005400 bpatch patch14_7 ,mem_patch14 
+0x3bc1 005401 arg param_tx_setup ,timeup 
+0x3bc2 005402 until clke_rt ,meet 
+0x3bc3 005403 pulse init_encrypt 
+0x3bc4 005404 rtn 
+:      005406 send_access_word:
+0x3bc5 005407 set0 mark_ext_patch ,mark 
+0x3bc6 005408 bpatch patch15_0 ,mem_patch15 
+0x3bc7 005409 preload access 
+0x3bc8 005410 enable encode_fec0 
+0x3bc9 005411 set1 txgfsk ,radio_ctrl 
+0x3bca 005412 inject mod ,72 
+0x3bcb 005413 disable encode_fec0 
+0x3bcc 005414 rtn 
+:      005417 scan_mode_whiten:
+0x3bcd 005418 copy xin ,temp 
+0x3bce 005419 or_into 0x60 ,temp 
+0x3bcf 005420 copy temp ,white_init 
+0x3bd0 005421 rtn 
+:      005426 get_free_amaddr:
+0x3bd1 005427 set0 mark_ext_patch ,mark 
+0x3bd2 005428 bpatch patch15_1 ,mem_patch15 
+0x3bd3 005429 fetch 1 ,mem_current_amaddr 
+0x3bd4 005430 increase 1 ,pdata 
+0x3bd5 005431 bne param_esco_addr ,get_free_amaddr_cont 
+0x3bd6 005432 force 1 ,pdata 
+:      005433 get_free_amaddr_cont:
+0x3bd7 005434 store 1 ,mem_current_amaddr 
+0x3bd8 005435 iforce am_addr 
+0x3bd9 005436 rtn 
+:      005438 get_clk:
+0x3bda 005439 copy clkn ,temp 
+0x3bdb 005440 rtn master 
+0x3bdc 005441 copy clke ,temp 
+0x3bdd 005442 rtn 
+:      005444 get_clkbt:
+0x3bde 005445 deposit clkn_bt 
+0x3bdf 005446 rtn master 
+0x3be0 005447 deposit clke_bt 
+0x3be1 005448 rtn 
+:      005451 supervision_update:
+0x3be2 005452 set0 mark_ext_patch ,mark 
+0x3be3 005453 bpatch patch15_2 ,mem_patch15 
+0x3be4 005454 fetcht 4 ,mem_supervision_timer 
+0x3be5 005455 call get_clkbt 
+0x3be6 005456 isub temp ,timeup 
+0x3be7 005457 deposit timeup 
+0x3be8 005458 fetcht 2 ,mem_supervision_to 
+0x3be9 005459 lshift temp ,temp 
+0x3bea 005460 isub temp ,pdata 
+0x3beb 005461 rtn 
+:      005463 supervision_flush:
+0x3bec 005464 set0 mark_ext_patch ,mark 
+0x3bed 005465 bpatch patch15_3 ,mem_patch15 
+0x3bee 005466 call get_clkbt 
+0x3bef 005467 store 4 ,mem_supervision_timer 
+0x3bf0 005468 rtn 
+:      005470 assert:
+0x3bf1 005471 branch assert 
+:      005473 loop:
+0x3bf2 005474 branch loop 
+:      005476 sleep:
+0x3bf3 005477 rtn blank 
+0x3bf4 005479 rshift pdata ,pdata 
+0x3bf5 005480 increase -3 ,pdata 
+:      005481 sleep_loop:
+0x3bf6 005482 increase -1 ,pdata 
+0x3bf7 005483 nbranch sleep_loop ,zero 
+0x3bf8 005484 force 0 ,pdata 
+0x3bf9 005485 rtn 
+:      005489 init_param:
+0x3bfa 005491 arg 0x10 ,loopcnt 
+0x3bfb 005492 arg 0 ,contw 
+0x3bfc 005493 call memset0 
+0x3bfd 005494 arg mem_le_state ,contw 
+0x3bfe 005495 arg 10 ,loopcnt 
+0x3bff 005496 call memset0 
+0x3c00 005497 jam 0 ,mem_sp_calc 
+0x3c01 005498 jam 0 ,mem_fifo_temp 
+0x3c02 005499 jam 0 ,mem_le_testtype 
+0x3c03 005500 jam 0 ,mem_debug_config 
+0x3c04 005501 jam 0 ,mem_lmp_conn_state 
+0x3c05 005502 set0 mark_ext_patch ,mark 
+0x3c06 005503 bpatch patch15_4 ,mem_patch15 
+0x3c07 005504 jam 0 ,mem_connection_options 
+0x3c08 005505 jam 0 ,mem_tester_emulate 
+0x3c09 005506 jam 0 ,mem_tester_cnt 
+0x3c0a 005507 setarg param_glap 
+0x3c0b 005508 store 3 ,mem_glap 
+0x3c0c 005509 setarg param_acl_pktlen 
+0x3c0d 005510 store 2 ,mem_acl_pktlen 
+0x3c0e 005511 jam param_sco_pktlen ,mem_sco_pktlen 
+0x3c0f 005512 jam param_acl_pktcnt ,mem_acl_pktcnt 
+0x3c10 005513 jam param_sco_pktcnt ,mem_sco_pktcnt 
+0x3c11 005514 setarg param_hci_version 
+0x3c12 005515 store 3 ,mem_hci_version 
+0x3c13 005516 setarg param_lmp_version 
+0x3c14 005517 store 3 ,mem_lmp_version 
+0x3c15 005518 setarg param_lmp_subversion 
+0x3c16 005519 store 2 ,mem_lmp_subversion 
+0x3c17 005520 jam 0x60 ,mem_fhs_misc 
+0x3c18 005521 jam param_max_slot ,mem_max_slot 
+0x3c19 005522 jam 0x02 ,mem_fw_ver 
+0x3c1a 005523 call init_memp 
+0x3c1b 005524 set0 mark_ext_patch ,mark 
+0x3c1c 005525 bpatch patch15_5 ,mem_patch15 
+0x3c1d 005526 rtn wake 
+0x3c1e 005527 setarg 0 
+0x3c1f 005528 store 2 ,mem_tx_len 
+0x3c20 005529 rshift clkn_bt ,pdata 
+0x3c21 005530 store 4 ,mem_last_clkn 
+0x3c22 005531 rtn 
+:      005535 init_esco_ibuff:
+0x3c23 005536 setarg 0xaa ,pdata 
+0x3c24 005537 arg mem_sco_ibuf ,contw 
+0x3c25 005538 force 30 ,loopcnt 
+:      005539 init_esco_ibuff_loop:
+0x3c26 005540 istore 1 ,contw 
+0x3c27 005541 loop init_esco_ibuff_loop 
+0x3c28 005542 rtn 
+:      005544 init_rf_regs:
+0x3c29 005545 hjam 0x02 ,0x907 
+0x3c2a 005546 hjam 0x1f ,0x908 
+0x3c2b 005547 hjam 0x1f ,0x909 
+0x3c2c 005548 hjam 0xe0 ,0x90a 
+0x3c2d 005549 hjam 0x4e ,0x90b 
+0x3c2e 005550 hjam 0x45 ,rf_agc_ctrl 
+0x3c2f 005551 hjam 0x00 ,0x953 
+0x3c30 005553 hjam 0xfb ,0x94c 
+0x3c31 005554 hjam 0xef ,0x94d 
+0x3c32 005555 hjam 0x0c ,0x94e 
+0x3c33 005557 hjam 0x88 ,0x96f 
+0x3c34 005558 hjam 0x30 ,0x973 
+0x3c35 005561 hjam 0x00 ,0x953 
+0x3c36 005562 hjam 0xc9 ,0x956 
+0x3c37 005563 hjam 0x6c ,0x958 
+0x3c38 005564 hjam 0x50 ,0x959 
+0x3c39 005565 rtn 
+:      005567 init_agc_table:
+0x3c3a 005569 hjam 0xa9 ,0x930 
+0x3c3b 005570 hjam 0xb1 ,0x92f 
+0x3c3c 005571 hjam 0xb9 ,0x92e 
+0x3c3d 005572 hjam 0xAD ,0x92d 
+0x3c3e 005573 hjam 0xB1 ,0x92c 
+0x3c3f 005574 hjam 0xB5 ,0x92b 
+0x3c40 005575 hjam 0xBA ,0x92a 
+0x3c41 005576 hjam 0xBE ,0x929 
+0x3c42 005577 hjam 0xC2 ,0x928 
+0x3c43 005578 hjam 0xC6 ,0x927 
+0x3c44 005579 hjam 0xCA ,0x926 
+0x3c45 005580 hjam 0xCE ,0x925 
+0x3c46 005581 hjam 0xD2 ,0x924 
+0x3c47 005582 hjam 0xD6 ,0x923 
+0x3c48 005583 hjam 0xDA ,0x922 
+0x3c49 005584 hjam 0xDE ,0x921 
+0x3c4a 005585 hjam 0xE2 ,0x920 
+0x3c4b 005586 hjam 0xE6 ,0x91f 
+0x3c4c 005587 hjam 0xEA ,0x91e 
+0x3c4d 005588 hjam 0xEE ,0x91d 
+0x3c4e 005589 hjam 0xF2 ,0x91c 
+0x3c4f 005590 hjam 0xF6 ,0x91b 
+0x3c50 005591 hjam 0xFB ,0x91a 
+0x3c51 005593 hjam 0xf5 ,0x947 
+0x3c52 005594 hjam 0xe5 ,0x946 
+0x3c53 005595 hjam 0xd5 ,0x945 
+0x3c54 005596 hjam 0xD8 ,0x944 
+0x3c55 005597 hjam 0xC9 ,0x943 
+0x3c56 005598 hjam 0xC8 ,0x942 
+0x3c57 005599 hjam 0x89 ,0x941 
+0x3c58 005600 hjam 0x88 ,0x940 
+0x3c59 005601 hjam 0x87 ,0x93f 
+0x3c5a 005602 hjam 0x48 ,0x93e 
+0x3c5b 005603 hjam 0x09 ,0x93d 
+0x3c5c 005604 hjam 0x08 ,0x93c 
+0x3c5d 005605 hjam 0xC9 ,0x93b 
+0x3c5e 005606 hjam 0xC8 ,0x93a 
+0x3c5f 005607 hjam 0xC7 ,0x939 
+0x3c60 005608 hjam 0xC6 ,0x938 
+0x3c61 005609 hjam 0xC5 ,0x937 
+0x3c62 005610 hjam 0xC4 ,0x936 
+0x3c63 005611 hjam 0xC3 ,0x935 
+0x3c64 005612 hjam 0xC2 ,0x934 
+0x3c65 005613 hjam 0xC1 ,0x933 
+0x3c66 005614 hjam 0xC0 ,0x932 
+0x3c67 005615 hjam 0x80 ,0x931 
+0x3c68 005616 rtn 
+:      005620 init_250k:
+0x3c69 005621 enable le 
+0x3c6a 005622 setarg 0x8e89be 
+0x3c6b 005623 lshift8 pdata ,pdata 
+0x3c6c 005624 or_into 0xd6 ,pdata 
+0x3c6d 005625 iforce access 
+0x3c6e 005626 hjam 7 ,0x914 
+0x3c6f 005627 hjam 0xa0 ,0x90a 
+0x3c70 005628 hjam 0x8f ,0x90d 
+0x3c71 005629 hjam 0x0f ,0x911 
+0x3c72 005630 hjam 0x87 ,0x912 
+0x3c73 005631 rtn 
+:      005636 lpmstate:
+0x3c74 005637 setarg 0xee21 
+0x3c75 005638 hstore 2 ,core_clkoff 
+0x3c76 005639 hfetch 1 ,core_lpm_ldocnt 
+0x3c77 005640 bbit0 gpio_latch ,loadcode 
+0x3c78 005641 enable wake 
+0x3c79 005642 bbit0 cold_wake ,lpmwake 
+0x3c7a 005643 disable wake 
+0x3c7b 005644 deposit auxcnt 
+0x3c7c 005645 nbranch lpmwake ,blank 
+0x3c7d 005646 arg param_hibernate_clks ,temp 
+0x3c7e 005647 branch lpm_enter_sleep 
+:      005648 lpmwake:
+0x3c7f 005649 hfetch 3 ,core_lpm_xtalcnt 
+0x3c80 005650 hstore 3 ,core_lpm_reg 
+0x3c81 005651 ifetch 1 ,contr 
+0x3c82 005652 or_into isogate_mask ,pdata 
+0x3c83 005653 istore 1 ,contw 
+0x3c84 005654 call lpm_write_ctrl2 
+0x3c85 005655 hfetch 1 ,core_lpm_isogate 
+0x3c86 005656 set1 enable_retmem ,pdata 
+0x3c87 005657 hstore 1 ,core_lpm_isogate 
+0x3c88 005658 call lpm_write_ctrl2 
+0x3c89 005659 call lpm_load_context ,wake 
+0x3c8a 005660 hfetch 1 ,core_lpm_reg + 2 
+0x3c8b 005661 set0 gpio_latch ,pdata 
+0x3c8c 005662 hstore 1 ,core_lpm_reg + 2 
+0x3c8d 005663 call lpm_write_ctrl2 
+0x3c8e 005664 rtn wake 
+0x3c8f 005665 branch loadcode 
+:      005667 lpm_load_context:
+0x3c90 005668 fetch 1 ,mem_saved_spidctrl 
+0x3c91 005669 hstore 1 ,core_spid_ctrl 
+0x3c92 005670 fetch 3 ,mem_saved_gsel 
+0x3c93 005671 hstore 3 ,core_gpio_sel 
+0x3c94 005672 fetch 4 ,mem_saved_gpio + 4 
+0x3c95 005673 hstore 4 ,core_gpio_out0 
+0x3c96 005674 fetch 4 ,mem_saved_gpio 
+0x3c97 005675 hstore 4 ,core_gpio_oe0 
+0x3c98 005676 fetch 8 ,mem_saved_gpio + 8 
+0x3c99 005677 hstore 8 ,core_gpio_pu0 
+0x3c9a 005678 fetch 8 ,mem_saved_mark 
+0x3c9b 005679 iforce mark 
+0x3c9c 005680 hfetch 8 ,core_gpio_wakeup_low 
+0x3c9d 005681 store 8 ,mem_gpio_wakeup_low 
+0x3c9e 005682 call load_ucode 
+0x3c9f 005683 rtn 
+:      005685 lpm_save_context:
+0x3ca0 005686 deposit mark 
+0x3ca1 005687 store 8 ,mem_saved_mark 
+0x3ca2 005688 hfetch 8 ,core_gpio_oe0 
+0x3ca3 005689 store 8 ,mem_saved_gpio 
+0x3ca4 005690 ifetch 8 ,contr 
+0x3ca5 005691 istore 8 ,contw 
+0x3ca6 005692 hfetch 3 ,core_gpio_sel 
+0x3ca7 005693 store 3 ,mem_saved_gsel 
+0x3ca8 005694 hfetch 1 ,core_spid_ctrl 
+0x3ca9 005695 store 1 ,mem_saved_spidctrl 
+0x3caa 005696 branch lpm_write_gpio_wakeup 
+:      005698 lpo_calibration:
+0x3cab 005699 hfetch 1 ,core_bist_ctrl 
+0x3cac 005700 nbranch lpo_cal_inited ,blank 
+0x3cad 005701 fetch 3 ,mem_clks_per_lpo 
+0x3cae 005702 nrtn blank 
+0x3caf 005703 hjam 0xc0 ,core_bist_ctrl 
+0x3cb0 005704 hjam ccnt_start ,core_misc_ctrl 
+:      005705 lpo_cal_inited:
+0x3cb1 005706 hfetch 1 ,core_perf_status 
+0x3cb2 005707 rtnbit0 1 
+0x3cb3 005708 hfetch 3 ,core_clk_counter 
+0x3cb4 005709 store 3 ,mem_clks_per_lpo 
+0x3cb5 005710 rtn 
+:      005714 lpm_adjust_clk:
+0x3cb6 005715 set0 mark_ext_patch ,mark 
+0x3cb7 005716 bpatch patch15_6 ,mem_patch15 
+0x3cb8 005717 deposit clke 
+0x3cb9 005718 call clk_diff_rt 
+0x3cba 005719 fetcht 4 ,mem_sleep_counter_all 
+0x3cbb 005720 sub temp ,0xff ,null 
+0x3cbc 005721 rtn positive 
+0x3cbd 005722 lshift8 pdata ,pdata 
+0x3cbe 005723 lshift4 pdata ,pdata 
+0x3cbf 005724 idiv temp 
+0x3cc0 005725 call wait_div_end 
+0x3cc1 005726 quotient pdata 
+0x3cc2 005727 arg param_lpm_adjmax ,temp 
+0x3cc3 005728 call ceiling 
+0x3cc4 005729 store 1 ,mem_lpm_adjust 
+0x3cc5 005730 nbranch lpm_adjust_positive ,user 
+0x3cc6 005731 sub pdata ,0 ,pdata 
+:      005732 lpm_adjust_positive:
+0x3cc7 005733 fetcht 3 ,mem_clks_per_lpo 
+0x3cc8 005734 iadd temp ,pdata 
+0x3cc9 005735 store 3 ,mem_clks_per_lpo 
+:      005736 lpm_clear_counter:
+0x3cca 005737 setarg 0 
+0x3ccb 005738 store 4 ,mem_sleep_counter_all 
+0x3ccc 005739 rtn 
+:      005742 lpm_hibernate:
+0x3ccd 005743 set0 mark_ext_patch ,mark 
+0x3cce 005744 bpatch patch15_7 ,mem_patch15 
+0x3ccf 005745 call lpm_write_gpio_wakeup 
+0x3cd0 005746 hfetch 4 ,core_lpm_ctrl 
+0x3cd1 005747 set0 15 ,pdata 
+0x3cd2 005748 hstore 4 ,core_lpm_reg 
+0x3cd3 005749 call lpm_write_ctrl 
+:      005750 lpm_hibernate_normal:
+0x3cd4 005751 arg param_hibernate_clks ,temp 
+0x3cd5 005752 fetch 1 ,mem_lpm_hibernate_switch 
+0x3cd6 005753 store 1 ,mem_lpm_xtalcnt + 4 
+0x3cd7 005754 fetch 1 ,mem_lpm_xtalcnt + 2 
+0x3cd8 005755 set1 cold_wake ,pdata 
+0x3cd9 005756 store 1 ,mem_lpm_xtalcnt + 2 
+:      005759 lpm_sleep:
+0x3cda 005760 set0 mark_ext_patch ,mark 
+0x3cdb 005761 bpatch patch16_0 ,mem_patch16 
+0x3cdc 005762 fetch 4 ,mem_sleep_counter_all 
+0x3cdd 005763 iadd temp ,pdata 
+0x3cde 005764 store 4 ,mem_sleep_counter_all 
+0x3cdf 005765 call lpm_save_context 
+0x3ce0 005766 fetch 5 ,mem_lpm_xtalcnt 
+0x3ce1 005767 hstore 4 ,core_lpm_reg 
+0x3ce2 005768 rshift32 pdata ,rega 
+0x3ce3 005769 until null ,lpo_edge 
+0x3ce4 005770 deposit clkn 
+0x3ce5 005771 store 6 ,mem_sleep_clkn 
+0x3ce6 005772 hjam lpmreg_sel_ctrl2 ,core_lpm_wr 
+0x3ce7 005773 until null ,lpo_edge 
+0x3ce8 005774 until null ,lpo_edge 
+0x3ce9 005775 deposit rega 
+0x3cea 005776 hstore 1 ,core_lpm_isogate 
+0x3ceb 005777 hjam lpmreg_sel_ctrl2 ,core_lpm_wr 
+:      005778 lpm_enter_sleep:
+0x3cec 005779 until null ,lpo_edge 
+0x3ced 005780 until null ,lpo_edge 
+0x3cee 005781 hstoret 4 ,core_lpm_reg 
+0x3cef 005782 hjam lpmreg_sel_counter ,core_lpm_wr 
+0x3cf0 005783 until null ,never 
+:      005788 lpm_recover_clk:
+0x3cf1 005789 set0 mark_ext_patch ,mark 
+0x3cf2 005790 bpatch patch16_1 ,mem_patch16 
+0x3cf3 005791 setarg 0 
+0x3cf4 005792 copy auxcnt ,null 
+0x3cf5 005793 branch lpm_recover_timeout ,zero 
+0x3cf6 005794 hfetch 1 ,core_lpm_xtalcnt 
+0x3cf7 005795 hfetcht 1 ,core_lpm_buckcnt 
+0x3cf8 005796 isub temp ,null 
+0x3cf9 005797 branch lpm_recover_xtal ,positive 
+0x3cfa 005798 deposit temp 
+:      005799 lpm_recover_xtal:
+0x3cfb 005800 isub auxcnt ,pdata 
+0x3cfc 005801 increase 1 ,pdata 
+:      005802 lpm_recover_timeout:
+0x3cfd 005803 increase 8 ,pdata 
+0x3cfe 005804 until null ,lpo_edge 
+0x3cff 005805 iadd lpo_time ,pdata 
+0x3d00 005806 fetcht 4 ,mem_sleep_counter 
+0x3d01 005807 iadd temp ,pdata 
+0x3d02 005808 fetcht 3 ,mem_clks_per_lpo 
+0x3d03 005809 imul32 temp ,pdata 
+0x3d04 005810 rshift8 pdata ,pdata 
+0x3d05 005811 rshift4 pdata ,pdata 
+0x3d06 005812 increase param_lpm_fix ,pdata 
+0x3d07 005813 arg 3750 ,temp 
+0x3d08 005814 idiv temp 
+0x3d09 005815 call wait_div_end 
+0x3d0a 005816 quotient pdata 
+0x3d0b 005817 lshift16 pdata ,pdata 
+0x3d0c 005818 remainder temp 
+0x3d0d 005819 ior temp ,pdata 
+0x3d0e 005820 fetcht 6 ,mem_sleep_clkn 
+0x3d0f 005821 call clk_add 
+0x3d10 005822 copy temp ,clkn 
+0x3d11 005823 fetch 6 ,mem_context + coffset_clk_offset 
+0x3d12 005824 call calc_clke2 
+0x3d13 005825 deposit clke 
+0x3d14 005826 store 6 ,mem_pdatatemp 
+0x3d15 005827 deposit auxcnt 
+0x3d16 005828 istore 1 ,contw 
+0x3d17 005829 hfetch 1 ,core_gpio_in1 
+0x3d18 005830 or_into 0xf0 ,pdata 
+0x3d19 005831 istore 1 ,contw 
+0x3d1a 005832 call savelist_2 
+0x3d1b 005833 rtn 
+:      005835 lpm_dispatch:
+0x3d1c 005836 set0 mark_ext_patch ,mark 
+0x3d1d 005837 bpatch patch16_2 ,mem_patch16 
+0x3d1e 005838 call lpo_calibration 
+0x3d1f 005839 fetch 3 ,mem_clks_per_lpo 
+0x3d20 005840 rtn blank 
+0x3d21 005841 fetch 1 ,mem_lpm_mode 
+0x3d22 005842 rtn blank 
+0x3d23 005843 call lpm_check_wake_lock 
+0x3d24 005844 nrtn blank 
+:      005845 lpm_dispatch0:
+0x3d25 005846 fetch 1 ,mem_context 
+0x3d26 005847 compare 3 ,pdata ,0x7 
+0x3d27 005848 nbranch lpm_dispatch_unconn ,true 
+0x3d28 005849 fetch 2 ,mem_context + coffset_tsniff 
+0x3d29 005850 rtn blank 
+0x3d2a 005851 rtn wake 
+0x3d2b 005852 set0 mark_ext_patch ,mark 
+0x3d2c 005853 bpatch patch16_3 ,mem_patch16 
+:      005854 lpm_dispatch1:
+0x3d2d 005855 fetcht 1 ,mem_lpm_current_mult 
+0x3d2e 005856 fetch 2 ,mem_context + coffset_tsniff 
+0x3d2f 005857 imul32 temp ,pdata 
+0x3d30 005858 rshift4 temp ,temp 
+0x3d31 005859 rshift2 temp ,temp 
+0x3d32 005860 isub temp ,pdata 
+0x3d33 005861 fetcht 4 ,mem_context + coffset_sniff_anchor 
+0x3d34 005862 iadd temp ,pdata 
+0x3d35 005863 fetcht 1 ,mem_lpm_overhead 
+0x3d36 005864 isub temp ,pdata 
+0x3d37 005865 lshift16 pdata ,alarm 
+0x3d38 005866 set0 mark_ext_patch ,mark 
+0x3d39 005867 bpatch patch16_4 ,mem_patch16 
+0x3d3a 005868 fetch 2 ,mem_context + coffset_rx_window 
+0x3d3b 005869 rshift pdata ,pdata 
+0x3d3c 005870 call clk2bt 
+0x3d3d 005871 deposit alarm 
+0x3d3e 005872 call clk_diff 
+0x3d3f 005873 copy clke ,temp 
+0x3d40 005874 call clk_diff_rt 
+0x3d41 005875 rtn user 
+:      005876 lpm_dispatch_sleep:
+0x3d42 005877 call clk2lpo 
+:      005878 lpm_dispatch_lpo:
+0x3d43 005879 set0 mark_ext_patch ,mark 
+0x3d44 005880 bpatch patch16_5 ,mem_patch16 
+0x3d45 005881 fetch 1 ,mem_lpm_xtalcnt 
+0x3d46 005882 isub temp ,null 
+0x3d47 005883 branch lpm_clear_counter ,positive 
+0x3d48 005884 storet 4 ,mem_sleep_counter 
+0x3d49 005885 call app_will_enter_lpm 
+0x3d4a 005886 call l2cap_lpm_save_txbuf 
+0x3d4b 005887 fetcht 4 ,mem_sleep_counter 
+0x3d4c 005888 branch lpm_sleep 
+:      005890 lpm_dispatch_unconn:
+0x3d4d 005891 set0 mark_ext_patch ,mark 
+0x3d4e 005892 bpatch patch16_6 ,mem_patch16 
+0x3d4f 005893 fetch 1 ,mem_context 
+0x3d50 005894 rtnbit1 state_inconn 
+0x3d51 005895 rtnbit1 state_inpage 
+0x3d52 005896 fetch 1 ,mem_ssp_enable 
+0x3d53 005897 branch lpm_unconn_nossp ,blank 
+0x3d54 005898 fetch 1 ,mem_sp_local_key_invalid 
+0x3d55 005899 rtn blank 
+:      005900 lpm_unconn_nossp:
+0x3d56 005901 fetch 1 ,mem_le_adv_enable 
+0x3d57 005902 nbranch lpm_unconn_cont ,blank 
+0x3d58 005903 fetch 1 ,mem_scan_mode 
+0x3d59 005904 rtn blank 
+:      005905 lpm_unconn_cont:
+0x3d5a 005906 fetch 2 ,mem_lpm_interval 
+0x3d5b 005907 rtn blank 
+:      005908 lpm_sleep_btclk:
+0x3d5c 005909 fetcht 1 ,mem_lpm_overhead 
+0x3d5d 005910 isub temp ,pdata 
+0x3d5e 005911 arg 7500 ,temp 
+0x3d5f 005912 imul32 temp ,pdata 
+0x3d60 005913 branch lpm_dispatch_sleep 
+:      005915 lpm_set_mult:
+0x3d61 005916 set0 mark_ext_patch ,mark 
+0x3d62 005917 bpatch patch16_7 ,mem_patch16 
+0x3d63 005918 disable wake 
+0x3d64 005919 fetch 1 ,mem_state 
+0x3d65 005920 rtnbit0 state_insniff 
+0x3d66 005921 nbranch lpm_not_match ,match 
+0x3d67 005922 call lpm_match 
+0x3d68 005923 fetch 2 ,mem_rx_window_sniff 
+0x3d69 005924 store 2 ,mem_rx_window 
+0x3d6a 005925 fetch 1 ,mem_arq 
+0x3d6b 005926 bbit1 wack ,lpm_mult_short 
+0x3d6c 005927 bmark0 mark_lpm_mult_enable ,lpm_mult_short 
+0x3d6d 005928 call l2cap_malloc_is_fifo_empty 
+0x3d6e 005929 nbranch lpm_mult_short ,blank 
+:      005930 lpm_mult_wait_timeout:
+0x3d6f 005931 jam 0 ,mem_lpm_current_mult 
+0x3d70 005932 bmark0 mark_lpm_mult_enable ,lpm_mult_short 
+0x3d71 005933 fetch 1 ,mem_lpm_mult_cnt 
+0x3d72 005934 branch lpm_mult_long ,blank 
+0x3d73 005935 increase -1 ,pdata 
+0x3d74 005936 store 1 ,mem_lpm_mult_cnt 
+0x3d75 005937 rtn 
+:      005939 lpm_match:
+0x3d76 005940 jam 0 ,mem_sniff_unint_lost 
+0x3d77 005941 fetch 3 ,mem_sniff_rcv 
+0x3d78 005942 increase 1 ,pdata 
+0x3d79 005943 store 3 ,mem_sniff_rcv 
+0x3d7a 005944 rtn 
+:      005946 lpm_not_match:
+0x3d7b 005947 set0 mark_ext_patch ,mark 
+0x3d7c 005948 bpatch patch17_0 ,mem_patch17 
+0x3d7d 005949 fetcht 2 ,mem_rx_window_sniff 
+0x3d7e 005950 rshift temp ,temp 
+0x3d7f 005951 fetch 2 ,mem_rx_window 
+0x3d80 005952 iadd temp ,pdata 
+0x3d81 005953 store 2 ,mem_rx_window 
+:      005954 lpm_lost:
+0x3d82 005955 jam 0 ,mem_lpm_current_mult 
+0x3d83 005956 fetch 3 ,mem_sniff_lost 
+0x3d84 005957 increase 1 ,pdata 
+0x3d85 005958 store 3 ,mem_sniff_lost 
+0x3d86 005959 fetch 1 ,mem_sniff_unint_lost 
+0x3d87 005960 increase 1 ,pdata 
+0x3d88 005961 store 1 ,mem_sniff_unint_lost 
+0x3d89 005962 rtn 
+:      005964 lpm_mult_short:
+0x3d8a 005965 jam 0 ,mem_lpm_current_mult 
+0x3d8b 005966 fetch 1 ,mem_lpm_mult_timeout 
+0x3d8c 005967 store 1 ,mem_lpm_mult_cnt 
+0x3d8d 005968 rtn 
+:      005970 lpm_mult_long:
+0x3d8e 005971 fetcht 1 ,mem_lpm_mult 
+0x3d8f 005972 storet 1 ,mem_lpm_current_mult 
+0x3d90 005973 rtn 
+:      005975 lpm_cal_xtal_startup:
+0x3d91 005976 set0 mark_ext_patch ,mark 
+0x3d92 005977 bpatch patch17_1 ,mem_patch17 
+0x3d93 005978 fetch 1 ,mem_lpm_xtalcnt 
+0x3d94 005979 nrtn blank 
+0x3d95 005980 hjam clksel_rc ,core_clksel 
+0x3d96 005981 setarg 0xf0c 
+0x3d97 005982 call lpm_write_config 
+0x3d98 005983 setarg 200000 
+0x3d99 005984 call sleep 
+0x3d9a 005985 until null ,lpo_edge 
+0x3d9b 005986 copy lpo_time ,alarm 
+0x3d9c 005987 call xtal_fast_wake 
+0x3d9d 005988 hjam clksel_xtal ,core_clksel 
+0x3d9e 005989 nop 10 
+0x3d9f 005990 until null ,lpo_edge 
+0x3da0 005991 deposit lpo_time 
+0x3da1 005992 isub alarm ,pdata 
+0x3da2 005993 increase 0x30 ,pdata 
+0x3da3 005994 arg 0xff ,temp 
+0x3da4 005995 call ceiling 
+0x3da5 005996 store 1 ,mem_lpm_xtalcnt 
+0x3da6 005997 rtn 
+:      006002 lpm_write_config:
+0x3da7 006003 arg 0xfff ,contw 
+0x3da8 006004 iand contw ,contw 
+0x3da9 006005 fetch 1 ,mem_lpm_config 
+0x3daa 006006 and_into 0xf0 ,pdata 
+0x3dab 006007 lshift8 pdata ,pdata 
+0x3dac 006008 ior contw ,pdata 
+0x3dad 006009 hstore 2 ,core_lpm_reg 
+0x3dae 006010 ifetch 2 ,contr 
+0x3daf 006011 istore 2 ,contw 
+:      006013 lpm_write_ctrl:
+0x3db0 006014 setarg lpmreg_sel_ctrl 
+0x3db1 006015 branch lpm_write 
+:      006017 lpm_write_ctrl2:
+0x3db2 006018 setarg lpmreg_sel_ctrl2 
+:      006019 lpm_write:
+0x3db3 006020 until null ,lpo_edge 
+0x3db4 006021 hstore 1 ,core_lpm_wr 
+0x3db5 006022 until null ,lpo_edge 
+0x3db6 006023 until null ,lpo_edge 
+0x3db7 006024 rtn 
+:      006027 lpm_write_gpio_wakeup:
+0x3db8 006028 set0 mark_ext_patch ,mark 
+0x3db9 006029 bpatch patch17_2 ,mem_patch17 
+0x3dba 006030 fetch 4 ,mem_gpio_wakeup_low 
+0x3dbb 006031 hstore 4 ,core_lpm_reg 
+0x3dbc 006032 setarg lpmreg_sel_gpiolow 
+0x3dbd 006033 call lpm_write 
+0x3dbe 006034 fetch 4 ,mem_gpio_wakeup_high 
+0x3dbf 006035 hstore 4 ,core_lpm_reg 
+0x3dc0 006036 setarg lpmreg_sel_gpiohigh 
+0x3dc1 006037 branch lpm_write 
+:      006039 lpm_get_wake_lock:
+0x3dc2 006040 fetch 2 ,mem_lpm_wake_lock 
+0x3dc3 006041 qset1 pdata 
+0x3dc4 006042 store 2 ,mem_lpm_wake_lock 
+0x3dc5 006043 rtn 
+:      006045 lpm_put_wake_lock:
+0x3dc6 006046 fetch 2 ,mem_lpm_wake_lock 
+0x3dc7 006047 qset0 pdata 
+0x3dc8 006048 store 2 ,mem_lpm_wake_lock 
+0x3dc9 006049 rtn 
+:      006053 lpm_check_wake_lock:
+0x3dca 006054 set0 mark_ext_patch ,mark 
+0x3dcb 006055 bpatch patch17_3 ,mem_patch17 
+0x3dcc 006056 call app_check_wake_lock 
+0x3dcd 006057 fetch 2 ,mem_lpm_wake_lock 
+0x3dce 006058 copy pdata ,rega 
+0x3dcf 006059 fetch 1 ,mem_state_map 
+0x3dd0 006060 isolate1 smap_rxlmp ,pdata 
+0x3dd1 006061 setflag true ,wake_lock_lmp_rx ,rega 
+0x3dd2 006062 fetch 1 ,mem_lmo_opcode1 
+0x3dd3 006063 fetcht 1 ,mem_lmo_opcode2 
+0x3dd4 006064 iadd temp ,pdata 
+0x3dd5 006065 fetcht 1 ,mem_lmp_to_send 
+0x3dd6 006066 iadd temp ,pdata 
+0x3dd7 006067 nsetflag blank ,wake_lock_lmp_tx ,rega 
+0x3dd8 006068 set0 mark_ext_patch ,mark 
+0x3dd9 006069 bpatch patch17_4 ,mem_patch17 
+0x3dda 006070 fetch 2 ,mem_l2cap_rxbuff1_len 
+0x3ddb 006071 fetcht 2 ,mem_l2cap_rxbuff2_len 
+0x3ddc 006072 iadd temp ,pdata 
+0x3ddd 006073 nsetflag blank ,wake_lock_l2cap_rx ,rega 
+0x3dde 006074 fetch 5 ,mem_ipc_fifo_bt2c51 
+0x3ddf 006075 nsetflag blank ,wake_lock_ipc_bt2c51 ,rega 
+0x3de0 006076 fetch 5 ,mem_ipc_fifo_c512bt 
+0x3de1 006077 nsetflag blank ,wake_lock_ipc_c512bt ,rega 
+0x3de2 006078 fetch 1 ,mem_hci_cmd 
+0x3de3 006079 nsetflag blank ,wake_lock_cmd ,rega 
+0x3de4 006080 fetch 1 ,mem_device_option 
+0x3de5 006081 compare dvc_op_module ,pdata ,0xff 
+0x3de6 006082 call lpm_uart_wake_lock ,true 
+0x3de7 006083 set0 mark_ext_patch ,mark 
+0x3de8 006084 bpatch patch17_5 ,mem_patch17 
+0x3de9 006085 fetch 1 ,mem_device_option 
+0x3dea 006086 bne dvc_op_hci ,lpm_check_wake_lock_nothci 
+0x3deb 006087 call lpm_uart_wake_lock 
+0x3dec 006088 fetch 1 ,mem_link_key_exists 
+0x3ded 006089 setflag blank ,wake_link_key_exists ,rega 
+0x3dee 006090 fetch 4 ,mem_lpm_delay_after_sniff 
+0x3def 006091 arg 0x1710 ,temp 
+0x3df0 006092 iadd temp ,temp 
+0x3df1 006093 copy clkn_bt ,pdata 
+0x3df2 006094 isub temp ,null 
+0x3df3 006095 nsetflag positive ,wake_lock_delay ,rega 
+0x3df4 006096 branch lpm_check_wake_lock_end 
+:      006098 lpm_uart_wake_lock:
+0x3df5 006099 hfetch 2 ,core_uart_rxitems 
+0x3df6 006100 nsetflag blank ,wake_lock_uart_rx ,rega 
+0x3df7 006101 hfetch 2 ,core_uart_txitems 
+0x3df8 006102 nsetflag blank ,wake_lock_uart_tx ,rega 
+0x3df9 006103 rtn 
+:      006105 lpm_check_wake_lock_nothci:
+0x3dfa 006106 setarg -8 
+0x3dfb 006107 iand rega ,rega 
+:      006108 lpm_check_wake_lock_end:
+0x3dfc 006109 copy rega ,pdata 
+0x3dfd 006110 store 2 ,mem_lpm_wake_lock 
+0x3dfe 006111 rtn blank 
+0x3dff 006112 rtn match 
+0x3e00 006113 enable wake 
+0x3e01 006114 rtn 
+:      006116 lpm_shut_down:
+0x3e02 006117 hfetch 4 ,core_lpm_ctrl 
+0x3e03 006118 set0 27 ,pdata 
+0x3e04 006119 hstore 4 ,core_lpm_reg 
+0x3e05 006120 call lpm_write_ctrl 
+0x3e06 006121 branch assert 
+:      006123 lpm_enable_exen_output:
+0x3e07 006124 hfetch 4 ,core_lpm_xtalcnt 
+0x3e08 006125 set1 20 ,pdata 
+0x3e09 006126 hstore 4 ,core_lpm_reg 
+0x3e0a 006127 branch lpm_write_ctrl2 
+:      006129 lpm_disable_exen_output:
+0x3e0b 006130 hfetch 4 ,core_lpm_xtalcnt 
+0x3e0c 006131 set0 20 ,pdata 
+0x3e0d 006132 hstore 4 ,core_lpm_reg 
+0x3e0e 006133 branch lpm_write_ctrl2 
+:      006135 lpm_hci_wake_dispatch:
+0x3e0f 006136 set0 mark_ext_patch ,mark 
+0x3e10 006137 bpatch patch17_6 ,mem_patch17 
+0x3e11 006138 fetch 1 ,mem_device_option 
+0x3e12 006139 rtnne dvc_op_hci 
+0x3e13 006140 call gpio_check_uart_state 
+0x3e14 006141 rtn true 
+0x3e15 006142 fetch 4 ,mem_hci_wake_clk 
+0x3e16 006143 nbranch lpm_hci_check_wake_time ,blank 
+0x3e17 006144 copy clkn_bt ,pdata 
+0x3e18 006145 store 4 ,mem_hci_wake_clk 
+0x3e19 006146 branch gpio_pd_uart_tx 
+:      006147 lpm_hci_check_wake_time:
+0x3e1a 006148 set0 mark_ext_patch ,mark 
+0x3e1b 006149 bpatch patch17_7 ,mem_patch17 
+0x3e1c 006150 copy clkn_bt ,pdata 
+0x3e1d 006151 fetcht 4 ,mem_hci_wake_clk 
+0x3e1e 006152 isub temp ,pdata 
+0x3e1f 006153 arg host_wake_time ,temp 
+0x3e20 006154 isub temp ,null 
+0x3e21 006155 nrtn positive 
+0x3e22 006156 setarg 0 
+0x3e23 006157 store 4 ,mem_hci_wake_clk 
+0x3e24 006158 branch hci_exit_lpm 
+:      006160 check_bt_disabled:
+0x3e25 006161 fetch 2 ,mem_chip_functions 
+0x3e26 006162 bbit1 bt_disabled ,assert 
+0x3e27 006163 rtn 
+:      006164 check_ble_disabled:
+0x3e28 006165 fetch 2 ,mem_chip_functions 
+0x3e29 006166 bbit1 ble_disabled ,assert 
+0x3e2a 006167 rtn 
+:      006168 check_module_disabled:
+0x3e2b 006169 fetch 2 ,mem_chip_functions 
+0x3e2c 006170 bbit1 module_disable ,assert 
+0x3e2d 006171 rtn 
+:      006173 test_init:
+0x3e2e 006174 setarg test_proc 
+0x3e2f 006175 store 2 ,mem_cb_bt_process 
+0x3e30 006176 setarg test_sleep 
+0x3e31 006177 store 2 ,mem_cb_bb_event_process 
+0x3e32 006178 setarg test_proc 
+0x3e33 006179 store 2 ,mem_cb_idle_process 
+0x3e34 006180 rtn wake 
+0x3e35 006181 jam ui_led_start ,mem_led_switch 
+0x3e36 006182 rtn 
+:      006184 test_proc:
+0x3e37 006185 fetch 1 ,mem_state 
+0x3e38 006186 bbit0 state_insniff ,check_test_cond 
+0x3e39 006187 set1 mark_lpm_mult_enable ,mark 
+0x3e3a 006188 fetch 6 ,mem_sniff_rcv 
+0x3e3b 006189 store 6 ,mem_local_name 
+0x3e3c 006190 branch ui_led_blink_stop 
+:      006193 test_sleep:
+0x3e3d 006194 deposit regc 
+0x3e3e 006195 rtnne bt_evt_button_long_pressed 
+:      006196 test_sleep_loop:
+0x3e3f 006197 call ui_button_polling 
+0x3e40 006198 fetch 1 ,mem_ui_button_last_state 
+0x3e41 006199 beq 1 ,test_sleep_loop 
+0x3e42 006200 call ui_led_off 
+0x3e43 006201 branch lpm_hibernate 
+:      006204 test_tx:
+0x3e44 006205 force 2 ,temp 
+0x3e45 006206 increase -2 ,temp 
+0x3e46 006207 call set_sync_on 
+0x3e47 006208 call set_freq_tx 
+0x3e48 006209 disable enable_white 
+0x3e49 006210 enable encode_fec0 
+0x3e4a 006211 set1 txgfsk ,radio_ctrl 
+0x3e4b 006212 call start_transmitter 
+:      006213 test_tx_loop:
+0x3e4c 006214 fetch 1 ,0 
+0x3e4d 006215 inject mod ,8 
+0x3e4e 006216 branch test_tx_loop 
+:      006222 app_init:
+0x3e4f 006223 set1 mark_ext_patch ,mark 
+0x3e50 006224 bpatch patch39_5 ,mem_patch39 
+0x3e51 006225 fetch 1 ,mem_device_option 
+0x3e52 006226 branch app_init ,blank 
+0x3e53 006227 beq dvc_op_ukey ,le_ukey_init 
+0x3e54 006228 beq dvc_op_ir ,le_ir_init 
+0x3e55 006229 beq dvc_op_dongle ,le_dongle_init 
+0x3e56 006230 beq dvc_op_kb ,kb_init 
+0x3e57 006231 beq dvc_op_hci ,hci_init 
+0x3e58 006232 beq dvc_op_shutter ,shutter_init 
+0x3e59 006233 beq dvc_op_module ,module_init 
+0x3e5a 006234 beq dvc_op_ble_kb ,le_kb_init 
+0x3e5b 006235 beq dvc_op_ble_prcp ,prcp_init 
+0x3e5c 006236 beq dvc_op_test ,test_init 
+0x3e5d 006237 bbit1 dvc_op_mouse ,mouse_init 
+0x3e5e 006238 rtn 
+:      006240 app_lpm_init:
+0x3e5f 006241 set1 mark_ext_patch ,mark 
+0x3e60 006242 bpatch patch39_6 ,mem_patch39 
+0x3e61 006243 jam 0 ,mem_tester_emulate 
+0x3e62 006244 jam 0 ,mem_debug_config 
+0x3e63 006245 jam 0 ,mem_lch_code 
+0x3e64 006246 setarg 0 
+0x3e65 006247 store 5 ,mem_sp_state_start 
+0x3e66 006248 fetch 1 ,mem_device_option 
+0x3e67 006249 branch app_lpm_init ,blank 
+0x3e68 006250 beq dvc_op_module ,module_lpm_init 
+0x3e69 006251 rtn 
+:      006254 app_process_idle:
+0x3e6a 006255 call ui_dispatch 
+0x3e6b 006256 call check_51cmd 
+0x3e6c 006257 call app_process_bb_event 
+0x3e6d 006258 fetch 2 ,mem_cb_idle_process 
+0x3e6e 006259 branch callback_func 
+:      006261 app_process_bt:
+0x3e6f 006262 fetch 2 ,mem_cb_bt_process 
+0x3e70 006263 branch callback_func 
+:      006265 app_process_ble:
+0x3e71 006266 fetch 2 ,mem_cb_le_process 
+0x3e72 006267 branch callback_func 
+:      006269 app_process_bb_event:
+0x3e73 006270 set1 mark_ext_patch ,mark 
+0x3e74 006271 bpatch patch39_7 ,mem_patch39 
+0x3e75 006273 arg mem_ipc_fifo_bt2c51 ,rega 
+0x3e76 006274 call fifo_out 
+0x3e77 006275 rtn blank 
+0x3e78 006277 copy pdata ,regc 
+0x3e79 006278 call app_event_normal_process 
+0x3e7a 006279 branch app_process_bb_event_priority 
+:      006281 app_discard_event:
+0x3e7b 006282 arg 0 ,regc 
+0x3e7c 006283 rtn 
+:      006288 app_event_normal_process:
+0x3e7d 006289 beq bt_evt_bb_connected ,app_evt_bt_conn 
+0x3e7e 006290 beq bt_evt_button_long_pressed ,app_evt_button_long_pressed 
+0x3e7f 006291 beq bt_evt_setup_complete ,app_evt_setup_complete 
+0x3e80 006292 beq bt_evt_hid_handshake ,app_evt_hid_handshake 
+0x3e81 006293 beq bt_evt_hid_connected ,app_bb_event_hid_connected 
+0x3e82 006294 beq bt_evt_reconn_failed ,app_bb_event_reconn_failed 
+0x3e83 006295 beq bt_evt_bb_disconnected ,app_bb_event_bb_disconn 
+0x3e84 006296 beq bt_evt_reconn_page_timeout ,app_bb_event_reconn_failed 
+0x3e85 006297 beq bt_evt_le_connected ,app_le_event_bb_connected 
+0x3e86 006298 beq bt_evt_le_disconnected ,app_le_event_bb_disconn 
+0x3e87 006299 beq bt_evt_reconn_started ,app_event_reconn_start 
+0x3e88 006300 beq bt_evt_enter_sniff ,app_event_enter_sniff 
+0x3e89 006301 beq bt_evt_exit_sniff ,app_event_exit_sniff 
+0x3e8a 006303 beq bt_evt_ml2cap_conn_refused ,app_event_ml2cap_conn_refused 
+0x3e8b 006304 beq bt_evt_linkkey_generate ,app_event_linkkey_generate 
+0x3e8c 006305 beq bt_evt_switch_fail_master ,app_event_switch_fail_master 
+0x3e8d 006306 beq bt_evt_switch_success_master ,app_event_switch_success 
+0x3e8e 006308 and pdata ,0x0f ,temp 
+0x3e8f 006309 and_into bt_evt_timer_mask ,pdata 
+0x3e90 006310 beq bt_evt_timer_init ,app_evt_timer 
+0x3e91 006311 rtn 
+:      006313 app_evt_bt_conn:
+0x3e92 006314 fetch 2 ,mem_ui_state_map 
+0x3e93 006315 set1 ui_state_bt_connected ,pdata 
+0x3e94 006316 store 2 ,mem_ui_state_map 
+0x3e95 006317 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3e96 006318 set0 app_disc_by_button ,pdata 
+0x3e97 006319 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3e98 006320 rtn 
+:      006321 app_event_switch_success:
+0x3e99 006322 jam 0 ,mem_switch_fail_master_count 
+0x3e9a 006323 rtn 
+:      006325 app_event_switch_fail_master:
+0x3e9b 006326 fetch 1 ,mem_switch_fail_master_count 
+0x3e9c 006327 increase 1 ,pdata 
+0x3e9d 006328 store 1 ,mem_switch_fail_master_count 
+0x3e9e 006329 sub pdata ,1 ,null 
+0x3e9f 006330 branch app_bt_role_switch ,positive 
+0x3ea0 006331 jam 0 ,mem_switch_fail_master_count 
+0x3ea1 006332 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3ea2 006333 set1 app_disc_switch_fail ,pdata 
+0x3ea3 006334 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3ea4 006335 branch app_bt_disconnect 
+:      006337 app_process_bb_event_priority:
+0x3ea5 006338 fetch 2 ,mem_cb_bb_event_process 
+0x3ea6 006339 branch callback_func 
+:      006341 app_check_wake_lock:
+0x3ea7 006342 fetch 2 ,mem_cb_check_wakelock 
+0x3ea8 006343 branch callback_func 
+:      006345 app_will_enter_lpm:
+0x3ea9 006346 fetch 2 ,mem_cb_before_lpm 
+0x3eaa 006347 branch callback_func 
+:      006349 app_event_linkkey_generate:
+0x3eab 006350 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3eac 006351 set1 app_disc_after_pairing ,pdata 
+0x3ead 006352 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3eae 006353 branch app_bt_store_reconn_info 
+:      006355 app_event_reconn_start:
+0x3eaf 006356 fetch 2 ,mem_ui_state_map 
+0x3eb0 006357 set1 ui_state_bt_reconnect ,pdata 
+0x3eb1 006358 store 2 ,mem_ui_state_map 
+0x3eb2 006359 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3eb3 006360 set1 app_disc_after_reconn ,pdata 
+0x3eb4 006361 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3eb5 006362 rtn 
+:      006364 app_evt_setup_complete:
+0x3eb6 006365 fetch 2 ,mem_ui_state_map 
+0x3eb7 006366 set1 ui_state_bt_setup_complete ,pdata 
+0x3eb8 006367 store 2 ,mem_ui_state_map 
+0x3eb9 006368 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3eba 006369 set1 app_disc_after_setup_done ,pdata 
+0x3ebb 006370 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3ebc 006371 rtn 
+:      006373 app_evt_hid_handshake:
+0x3ebd 006374 fetch 2 ,mem_ui_state_map 
+0x3ebe 006375 set1 ui_state_bt_hid_handshake ,pdata 
+0x3ebf 006376 store 2 ,mem_ui_state_map 
+0x3ec0 006377 rtn 
+:      006379 app_event_enter_sniff:
+0x3ec1 006380 fetch 2 ,mem_ui_state_map 
+0x3ec2 006381 set1 ui_state_bt_sniff ,pdata 
+0x3ec3 006382 store 2 ,mem_ui_state_map 
+0x3ec4 006383 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3ec5 006384 set1 app_disc_after_sniff ,pdata 
+0x3ec6 006385 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3ec7 006386 rtn 
+:      006388 app_event_exit_sniff:
+0x3ec8 006389 fetch 2 ,mem_ui_state_map 
+0x3ec9 006390 set0 ui_state_bt_sniff ,pdata 
+0x3eca 006391 store 2 ,mem_ui_state_map 
+0x3ecb 006392 rtn 
+:      006394 app_le_event_bb_connected:
+0x3ecc 006395 fetch 2 ,mem_ui_state_map 
+0x3ecd 006396 set1 ui_state_ble_connected ,pdata 
+0x3ece 006397 store 2 ,mem_ui_state_map 
+0x3ecf 006398 rtn 
+:      006400 app_le_event_bb_disconn:
+0x3ed0 006401 fetch 2 ,mem_ui_state_map 
+0x3ed1 006402 set0 ui_state_ble_connected ,pdata 
+0x3ed2 006403 store 2 ,mem_ui_state_map 
+0x3ed3 006404 jam 0 ,mem_le_switch_send_data 
+0x3ed4 006405 branch app_lpm_mult_disable 
+:      006407 app_bb_event_hid_connected:
+0x3ed5 006408 fetch 2 ,mem_ui_state_map 
+0x3ed6 006409 set1 ui_state_bt_hid_conn ,pdata 
+0x3ed7 006410 store 2 ,mem_ui_state_map 
+0x3ed8 006411 rtn 
+:      006413 app_evt_button_long_pressed:
+0x3ed9 006414 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3eda 006415 set1 app_disc_by_button ,pdata 
+0x3edb 006416 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3edc 006417 rtn 
+:      006419 app_event_ml2cap_conn_refused:
+0x3edd 006420 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3ede 006421 set1 app_disc_l2cap_refused ,pdata 
+0x3edf 006422 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3ee0 006423 branch app_bt_disconnect 
+:      006426 app_evt_timer:
+0x3ee1 006427 set1 mark_ext_patch ,mark 
+0x3ee2 006428 bpatch patch3a_0 ,mem_patch3a 
+0x3ee3 006429 storet 1 ,mem_app_evt_timer_count 
+:      006430 app_evt_100ms_loop:
+0x3ee4 006431 fetch 1 ,mem_app_evt_timer_count 
+0x3ee5 006432 rtn blank 
+0x3ee6 006433 increase -1 ,pdata 
+0x3ee7 006434 store 1 ,mem_app_evt_timer_count 
+0x3ee8 006435 call ui_button_polling 
+0x3ee9 006436 call app_lpm_wake_auto_lock_timer 
+0x3eea 006437 call app_unsniff_delay_timer 
+0x3eeb 006438 call app_discovery_timer 
+0x3eec 006439 branch app_evt_100ms_loop 
+:      006441 app_unsniff_delay_timer:
+0x3eed 006442 fetch 1 ,mem_unsniff2sniff_timer_count 
+0x3eee 006443 rtn blank 
+0x3eef 006444 increase -1 ,pdata 
+0x3ef0 006445 store 1 ,mem_unsniff2sniff_timer_count 
+0x3ef1 006446 nrtn blank 
+0x3ef2 006447 call context_check_idle 
+0x3ef3 006448 branch app_bt_enter_sniff ,zero 
+0x3ef4 006449 rtn 
+:      006450 app_discovery_timer:
+0x3ef5 006451 fetch 2 ,mem_discovery_timeout_timer_count 
+0x3ef6 006452 rtn blank 
+0x3ef7 006453 increase -1 ,pdata 
+0x3ef8 006454 store 2 ,mem_discovery_timeout_timer_count 
+0x3ef9 006455 nrtn blank 
+0x3efa 006456 call app_bt_stop_discovery 
+0x3efb 006457 call app_led_off 
+0x3efc 006458 fetch 2 ,mem_cb_discovry_timeout 
+0x3efd 006459 branch callback_func 
+:      006461 app_bb_event_reconn_failed:
+0x3efe 006462 call app_disconn_reason_flag_clear 
+:      006463 app_clear_reconnect_flag:
+0x3eff 006464 fetch 2 ,mem_ui_state_map 
+0x3f00 006465 set0 ui_state_bt_reconnect ,pdata 
+0x3f01 006466 store 2 ,mem_ui_state_map 
+0x3f02 006467 rtn 
+:      006469 app_bb_event_bb_disconn:
+0x3f03 006470 jam 0 ,mem_unsniff2sniff_timer_count 
+0x3f04 006471 fetch 2 ,mem_ui_state_map 
+0x3f05 006472 bbit1 ui_state_bt_reconnect ,app_bb_event_bb_reconn_disconn 
+0x3f06 006473 isolate0 ui_state_bt_setup_complete ,pdata 
+0x3f07 006474 call app_discard_event ,true 
+:      006475 app_bb_event_bb_reconn_disconn:
+0x3f08 006476 fetch 2 ,mem_ui_state_map 
+0x3f09 006477 set0 ui_state_bt_connected ,pdata 
+0x3f0a 006478 set0 ui_state_bt_setup_complete ,pdata 
+0x3f0b 006479 set0 ui_state_bt_hid_conn ,pdata 
+0x3f0c 006480 set0 ui_state_bt_hid_handshake ,pdata 
+0x3f0d 006481 set0 ui_state_bt_spp_conn ,pdata 
+0x3f0e 006482 store 2 ,mem_ui_state_map 
+0x3f0f 006483 branch app_lpm_mult_disable 
+:      006485 app_bb_hibernate:
+0x3f10 006486 call app_disconn_reason_clear 
+0x3f11 006487 branch app_enter_hibernate 
+:      006490 app_event_do_nothing:
+:      006491 app_disconn_reason_clear:
+0x3f12 006492 setarg 0 
+0x3f13 006493 store app_disc_rsn_size ,mem_app_disconn_reason 
+0x3f14 006494 rtn 
+:      006495 app_disconn_reason_flag_clear:
+0x3f15 006496 setarg 0 
+0x3f16 006497 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3f17 006498 rtn 
+:      006501 app_disconn_reason_collect_bt:
+0x3f18 006502 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3f19 006503 store app_disc_rsn_size ,mem_app_disconn_reason 
+0x3f1a 006504 setarg 0 
+0x3f1b 006505 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3f1c 006506 rtn 
+:      006508 app_disconn_reason_collect_ble:
+0x3f1d 006509 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3f1e 006510 set1 app_disc_ble ,pdata 
+0x3f1f 006511 store app_disc_rsn_size ,mem_app_disconn_reason 
+0x3f20 006512 setarg 0 
+0x3f21 006513 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x3f22 006514 rtn 
+:      006520 app_check_reconn_target:
+0x3f23 006521 call eeprom_load_reconn_info 
+0x3f24 006522 fetch 6 ,mem_hci_plap 
+0x3f25 006523 rtn 
+:      006525 app_le_check_reconn_target:
+0x3f26 006526 fetch 1 ,mem_ltk_exists 
+0x3f27 006527 branch app_le_check_reconn_target_none ,blank 
+0x3f28 006528 call app_led_on 
+0x3f29 006529 branch app_ble_start_direct_adv 
+:      006530 app_le_check_reconn_target_none:
+0x3f2a 006531 call app_led_start_blink 
+0x3f2b 006532 branch app_ble_start_adv 
+:      006534 app_check_plap:
+0x3f2c 006535 set1 mark_ext_patch ,mark 
+0x3f2d 006536 bpatch patch3a_1 ,mem_patch3a 
+0x3f2e 006537 arg mem_check_plap_temp ,regb 
+0x3f2f 006538 arg app_check_one_plap ,regc 
+0x3f30 006539 branch context_search 
+:      006541 app_check_one_plap:
+0x3f31 006542 arg 0 ,temp 
+0x3f32 006543 bbit0 state_inconn ,app_check_one_plap_next 
+0x3f33 006544 add rega ,coffset_plap ,contr 
+0x3f34 006545 ifetcht 6 ,contr 
+:      006546 app_check_one_plap_next:
+0x3f35 006547 copy temp ,pdata 
+0x3f36 006548 ncall app_check_one_plap_device_exist ,blank 
+0x3f37 006549 istoret 6 ,regb 
+0x3f38 006550 increase 6 ,regb 
+0x3f39 006551 branch context_search_next 
+:      006552 app_check_one_plap_device_exist:
+0x3f3a 006553 fetch 1 ,mem_device_nums 
+0x3f3b 006554 increase 1 ,pdata 
+0x3f3c 006555 store 1 ,mem_device_nums 
+0x3f3d 006556 rtn 
+:      006558 app_check_conn_device_nums_addr:
+0x3f3e 006559 jam 0 ,mem_device_nums 
+0x3f3f 006560 branch app_check_plap 
+:      006562 app_check_sniff:
+0x3f40 006563 fetch 1 ,mem_ui_state_map 
+0x3f41 006564 isolate1 ui_state_bt_sniff ,pdata 
+0x3f42 006565 rtn 
+:      006570 app_clearflag_store:
+0x3f43 006571 setarg 0 
+0x3f44 006572 branch app_flag_store 
+:      006573 app_initflag_store:
+0x3f45 006574 setarg eeprom_init_flag 
+:      006575 app_flag_store:
+0x3f46 006576 store 2 ,mem_timeup 
+0x3f47 006577 set1 mark_ext_patch ,mark 
+0x3f48 006578 bpatch patch3a_2 ,mem_patch3a 
+0x3f49 006579 arg 2 ,temp 
+0x3f4a 006580 arg mem_timeup ,rega 
+0x3f4b 006581 arg eeprom_module_init_flag ,regb 
+0x3f4c 006582 branch iicd_write_eep_data 
+:      006585 app_initflag_check:
+0x3f4d 006586 set1 mark_ext_patch ,mark 
+0x3f4e 006587 bpatch patch3a_3 ,mem_patch3a 
+0x3f4f 006588 arg 2 ,temp 
+0x3f50 006589 arg mem_pdatatemp ,rega 
+0x3f51 006590 arg eeprom_module_init_flag ,regb 
+0x3f52 006591 call iicd_read_eep_data 
+0x3f53 006592 fetch 2 ,mem_pdatatemp 
+0x3f54 006593 arg eeprom_init_flag ,temp 
+0x3f55 006594 isub temp ,null 
+0x3f56 006595 rtn 
+:      006598 app_start_auto_sniff:
+0x3f57 006599 fetch 1 ,mem_unsniff2sniff_timer 
+0x3f58 006600 store 1 ,mem_unsniff2sniff_timer_count 
+0x3f59 006601 rtn 
+:      006603 app_get_lpm_wake_lock:
+0x3f5a 006604 arg wake_lock_app ,queue 
+0x3f5b 006605 branch lpm_get_wake_lock 
+:      006607 app_put_lpm_wake_lock:
+0x3f5c 006608 arg wake_lock_app ,queue 
+0x3f5d 006609 branch lpm_put_wake_lock 
+:      006611 app_lpm_wake_auto_lock:
+0x3f5e 006612 jam lpm_wake_up_delay_timer ,mem_wake_up_delay_timer 
+0x3f5f 006613 branch app_get_lpm_wake_lock 
+:      006614 app_lpm_wake_auto_lock_timer:
+0x3f60 006615 fetch 1 ,mem_wake_up_delay_timer 
+0x3f61 006616 rtn blank 
+0x3f62 006617 increase -1 ,pdata 
+0x3f63 006618 store 1 ,mem_wake_up_delay_timer 
+0x3f64 006619 nrtn blank 
+0x3f65 006620 branch app_put_lpm_wake_lock 
+:      006622 app_l2cap_flow_control_enable:
+0x3f66 006623 jam l2cap_flow_ctrl_enable ,mem_l2cap_flow_ctrl_flag 
+0x3f67 006624 rtn 
+:      006626 app_l2cap_flow_control_disable:
+0x3f68 006627 jam l2cap_flow_ctrl_disable ,mem_l2cap_flow_ctrl_flag 
+0x3f69 006628 rtn 
+:      006630 app_bt_set_pincode:
+0x3f6a 006631 jam bt_cmd_set_pin_code ,mem_fifo_temp 
+0x3f6b 006632 branch ui_ipc_send_cmd 
+:      006634 app_bt_role_switch:
+0x3f6c 006635 jam bt_cmd_role_switch ,mem_fifo_temp 
+0x3f6d 006636 branch ui_ipc_send_cmd 
+:      006638 app_bt_start_reconnect:
+0x3f6e 006639 set1 mark_ext_patch ,mark 
+0x3f6f 006640 bpatch patch3a_4 ,mem_patch3a 
+0x3f70 006641 fetch 1 ,mem_app_connection_options 
+0x3f71 006642 store 1 ,mem_connection_options 
+0x3f72 006643 jam app_flag_reconnect ,mem_reconnect_flag 
+0x3f73 006644 jam bt_cmd_reconnect ,mem_fifo_temp 
+0x3f74 006645 branch ui_ipc_send_cmd 
+:      006647 app_bt_reconnect_cancel:
+0x3f75 006648 jam bt_cmd_bb_reconn_cancel ,mem_fifo_temp 
+0x3f76 006649 branch ui_ipc_send_cmd 
+:      006651 app_bt_disconnect:
+0x3f77 006652 jam bt_cmd_disconnect ,mem_fifo_temp 
+0x3f78 006653 branch ui_ipc_send_cmd 
+:      006655 app_bt_start_discovery_short:
+0x3f79 006656 fetch 2 ,mem_discovery_timeout 
+0x3f7a 006657 store 2 ,mem_discovery_timeout_timer_count 
+:      006658 app_bt_start_discovery_led_blink:
+0x3f7b 006659 call app_led_start_blink 
+:      006660 app_bt_start_discovery:
+0x3f7c 006661 jam bt_cmd_start_discovery ,mem_fifo_temp 
+0x3f7d 006662 branch ui_ipc_send_cmd 
+:      006664 app_bt_stop_discovery:
+0x3f7e 006665 setarg 0 
+0x3f7f 006666 store 2 ,mem_discovery_timeout_timer_count 
+0x3f80 006667 jam bt_cmd_stop_discovery ,mem_fifo_temp 
+0x3f81 006668 branch ui_ipc_send_cmd 
+:      006670 app_ble_start_direct_adv:
+0x3f82 006671 jam bt_cmd_start_direct_adv ,mem_fifo_temp 
+0x3f83 006672 branch ui_ipc_send_cmd 
+:      006674 app_ble_stop_direct_adv:
+0x3f84 006675 jam bt_cmd_stop_direct_adv ,mem_fifo_temp 
+0x3f85 006676 branch ui_ipc_send_cmd 
+:      006678 app_ble_stop_adv:
+0x3f86 006679 jam bt_cmd_stop_adv ,mem_fifo_temp 
+0x3f87 006680 branch ui_ipc_send_cmd 
+:      006682 app_ble_start_adv:
+0x3f88 006683 jam bt_cmd_start_adv ,mem_fifo_temp 
+0x3f89 006684 branch ui_ipc_send_cmd 
+:      006686 app_ble_start_scan:
+0x3f8a 006687 jam bt_cmd_le_start_scan ,mem_fifo_temp 
+0x3f8b 006688 branch ui_ipc_send_cmd 
+:      006690 app_ble_stop_scan:
+0x3f8c 006691 jam bt_cmd_le_stop_scan ,mem_fifo_temp 
+0x3f8d 006692 branch ui_ipc_send_cmd 
+:      006694 app_ble_start_conn:
+0x3f8e 006695 jam bt_cmd_le_start_conn ,mem_fifo_temp 
+0x3f8f 006696 branch ui_ipc_send_cmd 
+:      006698 app_ble_disconnect:
+0x3f90 006699 jam bt_cmd_le_disconnect ,mem_fifo_temp 
+0x3f91 006700 branch ui_ipc_send_cmd 
+:      006702 app_ble_start_write:
+0x3f92 006703 jam bt_cmd_le_start_write ,mem_fifo_temp 
+0x3f93 006704 branch ui_ipc_send_cmd 
+:      006706 app_led_start_blink:
+0x3f94 006707 jam bt_cmd_led_blink ,mem_fifo_temp 
+0x3f95 006708 branch ui_ipc_send_cmd 
+:      006710 app_led_on:
+0x3f96 006711 jam bt_cmd_led_on ,mem_fifo_temp 
+0x3f97 006712 branch ui_ipc_send_cmd 
+:      006714 app_led_stop_blink:
+:      006715 app_led_off:
+0x3f98 006716 jam bt_cmd_led_off ,mem_fifo_temp 
+0x3f99 006717 branch ui_ipc_send_cmd 
+:      006719 app_enter_hibernate:
+0x3f9a 006720 jam bt_cmd_enter_hibernate ,mem_fifo_temp 
+0x3f9b 006721 branch ui_ipc_send_cmd 
+:      006723 app_bt_sniff_exit:
+0x3f9c 006724 jam bt_cmd_exit_sniff ,mem_fifo_temp 
+0x3f9d 006725 branch ui_ipc_send_cmd 
+:      006727 app_bt_enter_sniff:
+0x3f9e 006728 jam bt_cmd_enter_sniff ,mem_fifo_temp 
+0x3f9f 006729 branch ui_ipc_send_cmd 
+:      006731 app_ble_store_reconn_info:
+0x3fa0 006732 jam bt_cmd_store_reconn_info_le ,mem_fifo_temp 
+0x3fa1 006733 branch ui_ipc_send_cmd 
+:      006735 app_bt_store_reconn_info:
+0x3fa2 006736 jam bt_cmd_store_reconn_info_bt ,mem_fifo_temp 
+0x3fa3 006737 branch ui_ipc_send_cmd 
+:      006739 app_lpm_mult_enable:
+0x3fa4 006740 set1 mark_lpm_mult_enable ,mark 
+0x3fa5 006741 rtn 
+:      006743 app_lpm_mult_disable:
+0x3fa6 006744 set0 mark_lpm_mult_enable ,mark 
+0x3fa7 006745 rtn 
+:      006749 at_restore_param:
+0x3fa8 006750 set1 mark_ext_patch ,mark 
+0x3fa9 006751 bpatch patch32_0 ,mem_patch32 
+0x3faa 006752 arg 32 ,temp 
+0x3fab 006753 arg mem_le_name_len ,rega 
+0x3fac 006754 arg eeprom_module_ble_name_length ,regb 
+0x3fad 006755 call iicd_read_eep_data 
+0x3fae 006758 arg 32 ,temp 
+0x3faf 006759 arg mem_local_name_length ,rega 
+0x3fb0 006760 arg eeprom_module_bt_name_length ,regb 
+0x3fb1 006761 call iicd_read_eep_data 
+0x3fb2 006763 arg 6 ,temp 
+0x3fb3 006764 arg mem_lap ,rega 
+0x3fb4 006765 arg eeprom_module_bt_adss ,regb 
+0x3fb5 006766 call iicd_read_eep_data 
+0x3fb6 006768 arg 6 ,temp 
+0x3fb7 006769 arg mem_le_lap ,rega 
+0x3fb8 006770 arg eeprom_module_le_adss ,regb 
+0x3fb9 006771 call iicd_read_eep_data 
+0x3fba 006772 call le_modified_name 
+0x3fbb 006774 arg 2 ,temp 
+0x3fbc 006775 arg mem_baud ,rega 
+0x3fbd 006776 arg eeprom_module_trans_baud ,regb 
+0x3fbe 006777 call iicd_read_eep_data 
+0x3fbf 006778 call uart_set_baud_by_mem 
+0x3fc0 006780 branch at_restore_pin_code 
+:      006782 at_restore_pin_code:
+0x3fc1 006783 arg 14 ,temp 
+0x3fc2 006784 arg mem_pin_length ,rega 
+0x3fc3 006785 arg eeprom_module_pincode_length ,regb 
+0x3fc4 006786 branch iicd_read_eep_data 
+:      006788 init_module_environment:
+0x3fc5 006789 set1 mark_ext_patch ,mark 
+0x3fc6 006790 bpatch patch32_1 ,mem_patch32 
+0x3fc7 006791 call app_initflag_check 
+0x3fc8 006792 branch at_restore_param ,zero 
+:      006793 init_module_eeprom:
+0x3fc9 006794 call at_store_bt_name 
+0x3fca 006795 call at_store_le_name 
+0x3fcb 006796 call le_modified_name 
+0x3fcc 006797 call at_store_le_adss 
+0x3fcd 006798 call at_store_bt_adss 
+0x3fce 006799 call pincode_reinit 
+0x3fcf 006800 call at_store_bt_pincode 
+0x3fd0 006801 call at_store_throughput_uart_baud115200 
+0x3fd1 006802 branch app_initflag_store 
+:      006804 at_store_bt_name:
+0x3fd2 006805 fetcht 1 ,mem_local_name_length 
+0x3fd3 006806 increase 1 ,temp 
+0x3fd4 006807 arg mem_local_name_length ,rega 
+0x3fd5 006808 arg eeprom_module_bt_name_length ,regb 
+0x3fd6 006809 branch iicd_write_eep_data 
+:      006811 at_store_le_name:
+0x3fd7 006812 fetcht 1 ,mem_le_name_len 
+0x3fd8 006813 increase 1 ,temp 
+0x3fd9 006814 arg mem_le_name_len ,rega 
+0x3fda 006815 arg eeprom_module_ble_name_length ,regb 
+0x3fdb 006816 branch iicd_write_eep_data 
+:      006818 at_store_le_adss:
+0x3fdc 006819 arg 6 ,temp 
+0x3fdd 006820 arg mem_le_lap ,rega 
+0x3fde 006821 arg eeprom_module_le_adss ,regb 
+0x3fdf 006822 branch iicd_write_eep_data 
+:      006824 at_store_bt_adss:
+0x3fe0 006825 arg 6 ,temp 
+0x3fe1 006826 arg mem_lap ,rega 
+0x3fe2 006827 arg eeprom_module_bt_adss ,regb 
+0x3fe3 006828 branch iicd_write_eep_data 
+:      006830 at_store_bt_pincode:
+0x3fe4 006831 fetcht 1 ,mem_pin_length 
+0x3fe5 006832 increase 1 ,temp 
+0x3fe6 006833 arg mem_pin_length ,rega 
+0x3fe7 006834 arg eeprom_module_pincode_length ,regb 
+0x3fe8 006835 branch iicd_write_eep_data 
+:      006837 at_store_throughput_uart_baud115200:
+0x3fe9 006838 setarg at_baud_115200 
+0x3fea 006839 store 2 ,mem_timeup 
+:      006840 at_store_throughput_uart_baud:
+0x3feb 006841 arg 2 ,temp 
+0x3fec 006842 arg mem_timeup ,rega 
+0x3fed 006843 arg eeprom_module_trans_baud ,regb 
+0x3fee 006844 branch iicd_write_eep_data 
+:      006847 at_process:
+0x3fef 006848 set1 mark_ext_patch ,mark 
+0x3ff0 006849 bpatch patch32_2 ,mem_patch32 
+0x3ff1 006850 fetch 2 ,mem_current_packet_length 
+0x3ff2 006851 arg 300 ,temp 
+0x3ff3 006852 isub temp ,null 
+0x3ff4 006853 branch at_error_rev_end ,positive 
+0x3ff5 006854 call check_module_disabled 
+0x3ff6 006855 call get_uart_rrptr 
+0x3ff7 006856 copy contru ,rega 
+0x3ff8 006857 fetch 2 ,mem_current_packet_length 
+0x3ff9 006858 increase -2 ,pdata 
+0x3ffa 006859 iadd contru ,contru 
+0x3ffb 006860 ifetch 2 ,contru 
+0x3ffc 006861 arg at_cmd_end ,temp 
+0x3ffd 006862 isub temp ,null 
+0x3ffe 006863 nrtn zero 
+0x3fff 006864 copy rega ,contru 
+0x4000 006865 arg mem_prarm_atp ,regb 
+0x4001 006866 arg 3 ,loopcnt 
+0x4002 006867 call string_compare_uart_follow 
+0x4003 006868 nbranch at_error_rev_end ,true 
+0x4004 006869 branch at_dispatch 
+:      006871 at_dispatch:
+0x4005 006872 set1 mark_ext_patch ,mark 
+0x4006 006873 bpatch patch32_3 ,mem_patch32 
+0x4007 006875 copy contru ,rega 
+0x4008 006876 arg mem_prarm_name ,regb 
+0x4009 006877 force 4 ,loopcnt 
+0x400a 006878 call string_compare_uart_follow 
+0x400b 006879 branch at_rev_name ,true 
+0x400c 006881 arg mem_prarm_blename ,regb 
+0x400d 006882 force 7 ,loopcnt 
+0x400e 006883 call string_compare_uart_follow 
+0x400f 006884 branch at_rev_le_name ,true 
+0x4010 006886 arg mem_prarm_adss ,regb 
+0x4011 006887 force 4 ,loopcnt 
+0x4012 006888 call string_compare_uart_follow 
+0x4013 006889 branch at_rev_adss ,true 
+0x4014 006891 arg mem_prarm_bleadss ,regb 
+0x4015 006892 force 7 ,loopcnt 
+0x4016 006893 call string_compare_uart_follow 
+0x4017 006894 branch at_rev_leadss ,true 
+0x4018 006896 arg mem_prarm_vers ,regb 
+0x4019 006897 force 4 ,loopcnt 
+0x401a 006898 call string_compare_uart_follow 
+0x401b 006899 branch at_rev_vers ,true 
+0x401c 006901 arg mem_prarm_uart ,regb 
+0x401d 006902 force 4 ,loopcnt 
+0x401e 006903 call string_compare_uart_follow 
+0x401f 006904 branch at_rev_uart ,true 
+0x4020 006906 arg mem_prarm_pswd ,regb 
+0x4021 006907 force 4 ,loopcnt 
+0x4022 006908 call string_compare_uart_follow 
+0x4023 006909 branch at_rev_pswd ,true 
+0x4024 006911 arg mem_prarm_class ,regb 
+0x4025 006912 force 5 ,loopcnt 
+0x4026 006913 call string_compare_uart_follow 
+0x4027 006914 branch at_rev_class ,true 
+0x4028 006916 arg mem_prarm_list ,regb 
+0x4029 006917 force 4 ,loopcnt 
+0x402a 006918 call string_compare_uart_follow 
+0x402b 006919 branch at_rev_list ,true 
+0x402c 006921 arg mem_prarm_role ,regb 
+0x402d 006922 force 4 ,loopcnt 
+0x402e 006923 call string_compare_uart_follow 
+0x402f 006924 branch at_rev_role ,true 
+0x4030 006926 arg mem_prarm_sniff ,regb 
+0x4031 006927 force 5 ,loopcnt 
+0x4032 006928 call string_compare_uart_follow 
+0x4033 006929 branch at_rev_sniff ,true 
+0x4034 006931 arg mem_prarm_ldev ,regb 
+0x4035 006932 force 4 ,loopcnt 
+0x4036 006933 call string_compare_uart_follow 
+0x4037 006934 branch at_rev_ldev ,true 
+0x4038 006936 arg mem_prarm_rssi ,regb 
+0x4039 006937 force 4 ,loopcnt 
+0x403a 006938 call string_compare_uart_follow 
+0x403b 006939 branch at_rev_rssi ,true 
+0x403c 006941 arg mem_prarm_cdev ,regb 
+0x403d 006942 force 4 ,loopcnt 
+0x403e 006943 call string_compare_uart_follow 
+0x403f 006944 branch at_rev_cdev ,true 
+0x4040 006946 arg mem_prarm_inqr ,regb 
+0x4041 006947 force 4 ,loopcnt 
+0x4042 006948 call string_compare_uart_follow 
+0x4043 006949 branch at_rev_inqr ,true 
+0x4044 006951 arg mem_prarm_bleinqr ,regb 
+0x4045 006952 force 7 ,loopcnt 
+0x4046 006953 call string_compare_uart_follow 
+0x4047 006954 branch at_rev_leinqr ,true 
+0x4048 006956 arg mem_prarm_cmode ,regb 
+0x4049 006957 force 5 ,loopcnt 
+0x404a 006958 call string_compare_uart_follow 
+0x404b 006959 branch at_rev_cmode ,true 
+0x404c 006961 arg mem_prarm_mode ,regb 
+0x404d 006962 force 4 ,loopcnt 
+0x404e 006963 call string_compare_uart_follow 
+0x404f 006964 branch at_rev_mode ,true 
+0x4050 006966 arg mem_prarm_dmstate ,regb 
+0x4051 006967 force 7 ,loopcnt 
+0x4052 006968 call string_compare_uart_follow 
+0x4053 006969 branch at_rev_dmstate ,true 
+0x4054 006971 arg mem_prarm_reconn ,regb 
+0x4055 006972 force 6 ,loopcnt 
+0x4056 006973 call string_compare_uart_follow 
+0x4057 006974 branch at_rev_reconn ,true 
+0x4058 006976 arg mem_prarm_discov ,regb 
+0x4059 006977 force 6 ,loopcnt 
+0x405a 006978 call string_compare_uart_follow 
+0x405b 006979 branch at_rev_discov ,true 
+0x405c 006981 arg mem_prarm_dis ,regb 
+0x405d 006982 force 3 ,loopcnt 
+0x405e 006983 call string_compare_uart_follow 
+0x405f 006984 branch at_rev_dis ,true 
+0x4060 006986 arg mem_prarm_stsn ,regb 
+0x4061 006987 force 4 ,loopcnt 
+0x4062 006988 call string_compare_uart_follow 
+0x4063 006989 branch at_rev_stsn ,true 
+0x4064 006991 arg mem_prarm_clrflg ,regb 
+0x4065 006992 force 6 ,loopcnt 
+0x4066 006993 call string_compare_uart_follow 
+0x4067 006994 branch at_rev_clrflg ,true 
+0x4068 006996 arg mem_prarm_ota ,regb 
+0x4069 006997 force 3 ,loopcnt 
+0x406a 006998 call string_compare_uart_follow 
+0x406b 006999 branch at_rev_ota ,true 
+0x406c 007000 branch at_error_rev_end 
+:      007003 at_rev_name:
+0x406d 007004 ifetch 1 ,contru 
+0x406e 007005 beq at_ques ,at_rev_name_inquiry 
+0x406f 007006 beq at_equ ,at_rev_name_set 
+0x4070 007007 branch at_error_rev_end 
+:      007008 at_rev_name_inquiry:
+0x4071 007009 call get_uart_twptr 
+0x4072 007010 call at_group_name_inquiry 
+0x4073 007011 branch at_nomal_rev_end 
+:      007014 at_rev_le_name:
+0x4074 007015 ifetch 1 ,contru 
+0x4075 007016 beq at_ques ,at_rev_le_name_inquiry 
+0x4076 007017 beq at_equ ,at_rev_le_name_set 
+0x4077 007018 branch at_error_rev_end 
+:      007019 at_rev_le_name_inquiry:
+0x4078 007020 call get_uart_twptr 
+0x4079 007021 call at_group_le_name_inquiry 
+0x407a 007022 branch at_nomal_rev_end 
+:      007024 at_rev_adss:
+0x407b 007025 ifetch 1 ,contru 
+0x407c 007026 beq at_ques ,at_rev_adss_inquiry 
+0x407d 007027 beq at_equ ,at_rev_adss_set 
+0x407e 007028 branch at_error_rev_end 
+:      007029 at_rev_adss_inquiry:
+0x407f 007030 call at_group_adss_inquiry 
+0x4080 007031 branch at_nomal_rev_end 
+:      007033 at_rev_leadss:
+0x4081 007034 ifetch 1 ,contru 
+0x4082 007035 beq at_ques ,at_rev_leadss_inquiry 
+0x4083 007036 beq at_equ ,at_rev_leadss_set 
+0x4084 007037 branch at_error_rev_end 
+:      007038 at_rev_leadss_inquiry:
+0x4085 007040 call at_group_leadss_inquiry 
+0x4086 007041 branch at_nomal_rev_end 
+:      007043 at_rev_vers:
+0x4087 007044 ifetch 1 ,contru 
+0x4088 007045 beq at_ques ,at_rev_vers_inquiry 
+0x4089 007046 branch at_error_rev_end 
+:      007047 at_rev_vers_inquiry:
+0x408a 007048 call at_group_version_inquiry 
+0x408b 007049 branch at_nomal_rev_end 
+:      007052 at_rev_uart:
+0x408c 007053 ifetch 1 ,contru 
+0x408d 007054 beq at_equ ,at_rev_uart_set 
+0x408e 007055 branch at_error_rev_end 
+:      007058 at_rev_pswd:
+0x408f 007059 ifetch 1 ,contru 
+0x4090 007060 beq at_ques ,at_rev_pswd_inquiry 
+0x4091 007061 beq at_equ ,at_rev_pswd_set 
+0x4092 007062 branch at_error_rev_end 
+:      007063 at_rev_pswd_inquiry:
+0x4093 007064 call at_group_pswd_inquiry 
+0x4094 007065 branch at_nomal_rev_end 
+:      007067 at_rev_class:
+0x4095 007068 ifetch 1 ,contru 
+0x4096 007069 beq at_ques ,at_rev_class_inquiry 
+0x4097 007070 beq at_equ ,at_rev_class_set 
+0x4098 007071 branch at_error_rev_end 
+:      007072 at_rev_class_inquiry:
+0x4099 007073 call at_group_class_inquiry 
+0x409a 007074 branch at_nomal_rev_end 
+:      007076 at_rev_list:
+0x409b 007077 ifetch 1 ,contru 
+0x409c 007078 beq at_ques ,at_rev_list_inquiry 
+0x409d 007079 beq at_equ ,at_rev_list_set 
+0x409e 007080 branch at_error_rev_end 
+:      007081 at_rev_list_inquiry:
+0x409f 007082 call at_group_list_inquiry 
+0x40a0 007083 branch at_nomal_rev_end 
+:      007085 at_rev_role:
+0x40a1 007086 ifetch 1 ,contru 
+0x40a2 007087 beq at_ques ,at_rev_role_inquiry 
+0x40a3 007088 beq at_equ ,at_rev_role_set 
+0x40a4 007089 branch at_error_rev_end 
+:      007092 at_rev_sniff:
+0x40a5 007093 ifetch 1 ,contru 
+0x40a6 007094 beq at_ques ,at_rev_sniff_inquiry 
+0x40a7 007095 beq at_equ ,at_rev_sniff_set 
+0x40a8 007096 branch at_error_rev_end 
+:      007097 at_rev_sniff_inquiry:
+0x40a9 007098 call at_group_sniff_inquiry 
+0x40aa 007099 branch at_nomal_rev_end 
+:      007101 at_rev_ldev:
+0x40ab 007102 ifetch 1 ,contru 
+0x40ac 007103 beq at_ques ,at_rev_ldev_inquiry 
+0x40ad 007104 branch at_error_rev_end 
+:      007105 at_rev_ldev_inquiry:
+0x40ae 007106 call at_group_ldev_inquiry 
+0x40af 007107 branch at_nomal_rev_end 
+:      007109 at_rev_rssi:
+0x40b0 007110 ifetch 1 ,contru 
+0x40b1 007111 beq at_ques ,at_rev_rssi_inquiry 
+0x40b2 007112 branch at_nomal_rev_end 
+:      007113 at_rev_rssi_inquiry:
+0x40b3 007114 call context_check_idle 
+0x40b4 007115 nbranch at_error_rev_end ,zero 
+0x40b5 007116 call at_group_rssi_inquiry 
+0x40b6 007117 branch at_nomal_rev_end 
+:      007119 at_rev_cdev:
+0x40b7 007120 ifetch 1 ,contru 
+0x40b8 007121 beq at_ques ,at_rev_cdev_inquiry 
+0x40b9 007122 branch at_error_rev_end 
+:      007123 at_rev_cdev_inquiry:
+0x40ba 007124 fetch 1 ,mem_context 
+0x40bb 007125 bbit0 state_inconn ,at_error_rev_end 
+0x40bc 007126 call get_uart_twptr 
+0x40bd 007127 fetch 1 ,mem_context + coffset_mode 
+0x40be 007128 bbit1 mode_le ,le_cdev_inquiry 
+0x40bf 007129 branch at_cdev_unle_inq 
+:      007130 le_cdev_inquiry:
+0x40c0 007131 arg mem_prarm_cdev ,rega 
+0x40c1 007132 arg 4 ,loopcnt 
+0x40c2 007133 call at_group_inquiryhead_common 
+0x40c3 007134 call at_rev_uart_write_62 
+0x40c4 007135 setarg 0x34 
+0x40c5 007136 istore 1 ,contwu 
+0x40c6 007137 call at_rev_uart_write_44 
+0x40c7 007138 arg mem_le_plap ,rega 
+0x40c8 007139 call adss_hex2string_to_uart 
+0x40c9 007140 call uartd_send 
+0x40ca 007141 branch at_nomal_rev_end 
+:      007142 at_cdev_unle_inq:
+0x40cb 007143 arg mem_prarm_cdev ,rega 
+0x40cc 007144 arg 4 ,loopcnt 
+0x40cd 007145 call at_group_inquiryhead_common 
+0x40ce 007146 call at_rev_uart_write_62 
+0x40cf 007147 setarg 0x33 
+0x40d0 007148 istore 1 ,contwu 
+0x40d1 007149 call at_rev_uart_write_44 
+0x40d2 007150 arg mem_plap ,rega 
+0x40d3 007151 call adss_hex2string_to_uart 
+0x40d4 007152 call uartd_send 
+0x40d5 007153 branch at_nomal_rev_end 
+:      007156 at_rev_inqr:
+0x40d6 007157 set1 mark_ext_patch ,mark 
+0x40d7 007158 bpatch patch32_4 ,mem_patch32 
+0x40d8 007159 call app_check_conn_device_nums_addr 
+0x40d9 007160 fetch 1 ,mem_device_nums 
+0x40da 007161 bne 0 ,at_error_rev_end 
+0x40db 007162 call do_at_inquiry 
+0x40dc 007163 branch at_nomal_rev_end 
+:      007165 at_rev_leinqr:
+0x40dd 007166 set1 mark_ext_patch ,mark 
+0x40de 007167 bpatch patch32_5 ,mem_patch32 
+0x40df 007168 call do_at_leinquiry 
+0x40e0 007169 branch at_nomal_rev_end 
+:      007171 at_rev_role_inquiry:
+0x40e1 007172 arg mem_prarm_role ,rega 
+0x40e2 007173 arg 4 ,loopcnt 
+0x40e3 007174 call at_group_inquiryhead_common 
+0x40e4 007175 call context_check_idle 
+0x40e5 007176 nbranch at_rev_uart_write_n ,zero 
+0x40e6 007177 fetch 1 ,mem_context + coffset_mode 
+0x40e7 007178 bbit1 mode_master ,at_rev_uart_write_m 
+0x40e8 007179 call at_rev_uart_write_s 
+0x40e9 007180 call uartd_send 
+0x40ea 007181 branch at_nomal_rev_end 
+:      007182 at_rev_uart_write_m:
+0x40eb 007183 setarg 0x4d 
+0x40ec 007184 istore 1 ,contwu 
+0x40ed 007185 call uartd_send 
+0x40ee 007186 branch at_nomal_rev_end 
+:      007187 at_rev_uart_write_s:
+0x40ef 007188 setarg 0x53 
+0x40f0 007189 istore 1 ,contwu 
+0x40f1 007190 rtn 
+:      007192 at_rev_cmode:
+0x40f2 007193 ifetch 1 ,contru 
+0x40f3 007194 beq at_ques ,at_rev_cmode_inquiry 
+0x40f4 007195 beq at_equ ,at_rev_cmode_set 
+0x40f5 007196 branch at_error_rev_end 
+:      007197 at_rev_cmode_inquiry:
+0x40f6 007198 call at_group_cmode_inquiry 
+0x40f7 007199 branch at_nomal_rev_end 
+:      007201 at_rev_mode:
+0x40f8 007202 ifetch 1 ,contru 
+0x40f9 007203 beq at_equ ,at_rev_mode_set 
+0x40fa 007204 branch at_error_rev_end 
+:      007206 at_rev_dmstate:
+0x40fb 007207 ifetch 1 ,contru 
+0x40fc 007208 beq at_ques ,at_rev_dmstate_inquiry 
+0x40fd 007209 branch at_error_rev_end 
+:      007210 at_rev_dmstate_inquiry:
+0x40fe 007211 call at_group_dmstate_inquiry 
+0x40ff 007212 branch at_nomal_rev_end 
+:      007214 at_rev_reconn:
+0x4100 007215 fetch 1 ,mem_app_connection_options 
+0x4101 007216 store 1 ,mem_connection_options 
+0x4102 007217 call eeprom_load_reconn_info 
+0x4103 007218 call app_check_conn_device_nums_addr 
+0x4104 007219 fetch 1 ,mem_device_nums 
+0x4105 007220 bne 0 ,at_error_rev_end 
+0x4106 007221 fetch 1 ,mem_xrecord_mode 
+0x4107 007222 beq rec_3_mode ,at_rev_unle_reconn 
+0x4108 007223 beq rec_4_mode ,at_rev_lereconn 
+0x4109 007224 branch at_error_rev_end 
+:      007226 at_rev_lereconn:
+0x410a 007227 call app_ble_start_direct_adv 
+0x410b 007228 branch at_nomal_rev_end 
+:      007229 at_rev_unle_reconn:
+0x410c 007230 call app_bt_start_reconnect 
+0x410d 007231 branch at_nomal_rev_end 
+:      007233 at_rev_dis:
+0x410e 007234 call app_check_conn_device_nums_addr 
+0x410f 007235 fetch 1 ,mem_device_nums 
+0x4110 007236 bne 1 ,at_error_rev_end 
+0x4111 007237 fetch 1 ,mem_context + coffset_mode 
+0x4112 007238 bbit1 mode_le ,at_rev_ledis 
+0x4113 007239 call app_bt_disconnect 
+0x4114 007240 branch at_nomal_rev_end 
+:      007243 at_rev_ledis:
+0x4115 007244 call app_ble_disconnect 
+0x4116 007245 branch at_nomal_rev_end 
+:      007248 at_rev_stsn:
+0x4117 007249 ifetch 1 ,contru 
+0x4118 007250 beq at_equ ,at_rev_stsn_set 
+0x4119 007251 branch at_error_rev_end 
+:      007252 at_rev_stsn_set:
+0x411a 007253 ifetch 1 ,contru 
+0x411b 007254 beq 0x31 ,at_exit_sniff 
+0x411c 007255 beq 0x30 ,at_enter_sniff 
+0x411d 007256 branch at_error_rev_end 
+:      007257 at_enter_sniff:
+0x411e 007258 call app_check_sniff 
+0x411f 007259 branch at_nomal_rev_end ,true 
+0x4120 007260 call app_bt_enter_sniff 
+0x4121 007261 branch at_nomal_rev_end 
+:      007262 at_exit_sniff:
+0x4122 007263 call app_check_sniff 
+0x4123 007264 nbranch at_nomal_rev_end ,true 
+0x4124 007265 call module_exit_sniff 
+0x4125 007266 call at_set_cmd_task_flag 
+0x4126 007267 branch at_nomal_rev_end 
+:      007270 at_rev_clrflg:
+0x4127 007271 call app_clearflag_store 
+0x4128 007272 branch at_nomal_rev_end 
+:      007274 at_rev_ota:
+0x4129 007275 ifetch 1 ,contru 
+0x412a 007276 beq at_equ ,at_rev_ota_process 
+0x412b 007277 branch at_error_rev_end 
+:      007279 at_rev_discov:
+0x412c 007280 call app_check_conn_device_nums_addr 
+0x412d 007281 fetch 1 ,mem_device_nums 
+0x412e 007282 bne 0 ,at_error_rev_end 
+0x412f 007283 call module_disconn_start 
+0x4130 007284 branch at_nomal_rev_end 
+:      007290 at_rev_name_set:
+0x4131 007291 arg mem_local_name ,rega 
+0x4132 007292 call at_set_common 
+0x4133 007293 storet 1 ,mem_local_name_length 
+0x4134 007294 call at_store_bt_name 
+0x4135 007295 branch at_nomal_rev_end 
+:      007297 at_rev_le_name_set:
+0x4136 007298 arg mem_le_name ,rega 
+0x4137 007299 call at_set_common 
+0x4138 007300 storet 1 ,mem_le_name_len 
+0x4139 007301 call at_store_le_name 
+0x413a 007302 call le_modified_name 
+0x413b 007303 branch at_nomal_rev_end 
+:      007305 at_rev_adss_set:
+0x413c 007306 arg mem_lap ,contw 
+0x413d 007307 call adss_string2hex_from_uart 
+0x413e 007308 call at_store_bt_adss 
+0x413f 007309 branch at_nomal_rev_end 
+:      007311 at_rev_leadss_set:
+0x4140 007312 arg mem_le_lap ,contw 
+0x4141 007313 call adss_string2hex_from_uart 
+0x4142 007314 call at_store_le_adss 
+0x4143 007315 branch at_nomal_rev_end 
+:      007317 at_rev_pswd_set:
+0x4144 007318 arg mem_pin ,rega 
+0x4145 007319 call at_set_common 
+0x4146 007320 storet 1 ,mem_pin_length 
+0x4147 007321 call at_store_bt_pincode 
+0x4148 007322 branch at_nomal_rev_end 
+:      007324 at_rev_uart_set:
+0x4149 007325 call string2dec_from_uart 
+0x414a 007326 setarg uart_clk 
+0x414b 007327 idiv temp 
+0x414c 007328 call wait_div_end 
+0x414d 007329 quotient pdata 
+0x414e 007330 store 2 ,mem_timeup 
+0x414f 007331 call at_store_throughput_uart_baud 
+0x4150 007332 branch at_nomal_rev_end 
+:      007334 at_rev_mode_set:
+0x4151 007335 ifetch 1 ,contru 
+0x4152 007336 sub pdata ,0x33 ,null 
+0x4153 007337 nbranch at_error_rev_end ,positive 
+0x4154 007338 and pdata ,0x3 ,pdata 
+0x4155 007339 store 1 ,mem_module_state 
+0x4156 007340 branch at_nomal_rev_end 
+:      007342 at_rev_class_set:
+0x4157 007343 ifetch 3 ,contru 
+0x4158 007344 store 3 ,mem_class 
+0x4159 007345 branch at_nomal_rev_end 
+:      007347 at_rev_role_set:
+0x415a 007348 call context_check_idle 
+0x415b 007349 nbranch at_error_rev_end ,zero 
+0x415c 007350 ifetch 1 ,contru 
+0x415d 007351 beq 0x53 ,at_role_slave 
+0x415e 007352 beq 0x4D ,at_role_master 
+0x415f 007353 branch at_error_rev_end 
+:      007355 at_role_slave:
+0x4160 007356 fetch 1 ,mem_context + coffset_mode 
+0x4161 007357 bbit1 mode_master ,at_switch_role 
+0x4162 007358 branch at_error_rev_end 
+:      007360 at_role_master:
+0x4163 007361 fetch 1 ,mem_context + coffset_mode 
+0x4164 007362 bbit0 mode_master ,at_switch_role 
+0x4165 007363 branch at_error_rev_end 
+:      007365 at_switch_role:
+0x4166 007366 fetch 1 ,mem_module_task 
+0x4167 007367 set1 at_task_switch ,pdata 
+0x4168 007368 store 1 ,mem_module_task 
+0x4169 007369 jam hci_cmd_role_switch ,mem_hci_cmd 
+0x416a 007370 branch at_rev_end 
+:      007372 at_rev_sniff_set:
+0x416b 007373 arg mem_sniff_param_interval ,contw 
+0x416c 007374 call mem2_string2hex_from_uart 
+0x416d 007375 arg mem_sniff_param_attempt ,contw 
+0x416e 007376 call mem2_string2hex_from_uart 
+0x416f 007377 arg mem_sniff_param_timeout ,contw 
+0x4170 007378 call mem2_string2hex_from_uart 
+0x4171 007379 branch at_nomal_rev_end 
+:      007381 at_rev_list_set:
+0x4172 007382 ifetch 1 ,contru 
+0x4173 007383 beq 0x31 ,at_rev_list_set_1 
+0x4174 007384 beq 0x32 ,at_rev_list_set_2 
+0x4175 007385 branch at_error_rev_end 
+:      007386 at_rev_list_set_1:
+0x4176 007387 ifetch 1 ,contru 
+0x4177 007388 arg mem_temp_lap ,contw 
+0x4178 007389 call adss_string2hex_from_uart 
+0x4179 007390 call eeprom_clear_bd_reconn_info 
+0x417a 007391 nrtn user 
+0x417b 007392 branch at_nomal_rev_end 
+:      007393 at_rev_list_set_2:
+0x417c 007394 call eeprom_clear_all_reconn_info 
+0x417d 007395 branch at_nomal_rev_end 
+:      007397 at_rev_cmode_set:
+0x417e 007398 ifetch 1 ,contru 
+0x417f 007399 fetcht 1 ,mem_module_state 
+0x4180 007400 nsetflag blank ,at_state_cmode ,temp 
+0x4181 007401 storet 1 ,mem_module_state 
+0x4182 007402 branch at_nomal_rev_end ,blank 
+0x4183 007403 ifetch 1 ,contru 
+0x4184 007404 arg mem_cmode_addr ,contw 
+0x4185 007405 call adss_string2hex_from_uart 
+0x4186 007406 branch at_nomal_rev_end 
+:      007408 at_rev_ota_process:
+0x4187 007409 set1 mark_ext_patch ,mark 
+0x4188 007410 bpatch patch32_6 ,mem_patch32 
+0x4189 007411 arg 20 ,loopcnt 
+0x418a 007412 arg mem_l2cap_rxbuff1 ,contw 
+0x418b 007413 call uart_copy_rx_bytes 
+0x418c 007414 arg mem_l2cap_rxbuff1 ,rega 
+0x418d 007415 fetch 1 ,mem_l2cap_rxbuff1 
+0x418e 007416 compare ota_write_req ,pdata ,0xff 
+0x418f 007417 call prcp_parse_ota_write_req ,true 
+0x4190 007418 fetch 1 ,mem_l2cap_rxbuff1 
+0x4191 007419 compare ota_end_cmd ,pdata ,0xff 
+0x4192 007420 call prcp_parse_ota_end_cmd ,true 
+0x4193 007421 branch at_nomal_rev_end 
+:      007426 at_group_name_inquiry:
+0x4194 007427 arg mem_prarm_name ,rega 
+0x4195 007428 arg 4 ,loopcnt 
+0x4196 007429 call at_group_inquiryhead_common 
+0x4197 007430 fetch 1 ,mem_local_name_length 
+0x4198 007431 copy pdata ,loopcnt 
+0x4199 007432 arg mem_local_name ,contr 
+0x419a 007433 branch send_mem_to_uart0 
+:      007434 at_group_le_name_inquiry:
+0x419b 007435 arg mem_prarm_blename ,rega 
+0x419c 007436 force 7 ,loopcnt 
+0x419d 007437 call at_group_inquiryhead_common 
+0x419e 007438 call le_get_device_name 
+0x419f 007439 ifetch 1 ,contr 
+0x41a0 007440 copy pdata ,loopcnt 
+0x41a1 007441 branch send_mem_to_uart0 
+:      007444 at_group_adss_inquiry:
+0x41a2 007445 arg mem_prarm_adss ,rega 
+0x41a3 007446 arg 4 ,loopcnt 
+0x41a4 007447 call at_group_inquiryhead_common 
+0x41a5 007448 arg mem_lap ,rega 
+0x41a6 007449 call adss_hex2string_to_uart 
+0x41a7 007450 branch uartd_send 
+:      007451 at_group_leadss_inquiry:
+0x41a8 007452 arg mem_prarm_bleadss ,rega 
+0x41a9 007453 arg 7 ,loopcnt 
+0x41aa 007454 call at_group_inquiryhead_common 
+0x41ab 007455 arg mem_le_lap ,rega 
+0x41ac 007456 call adss_hex2string_to_uart 
+0x41ad 007457 branch uartd_send 
+:      007460 at_group_version_inquiry:
+0x41ae 007461 arg mem_prarm_vers ,rega 
+0x41af 007462 arg 4 ,loopcnt 
+0x41b0 007463 call at_group_inquiryhead_common 
+0x41b1 007464 arg 6 ,loopcnt 
+0x41b2 007465 arg mem_module_version ,contr 
+0x41b3 007466 branch send_mem_to_uart0 
+:      007468 at_group_class_inquiry:
+0x41b4 007469 arg mem_prarm_class ,rega 
+0x41b5 007470 arg 5 ,loopcnt 
+0x41b6 007471 call at_group_inquiryhead_common 
+0x41b7 007472 arg 3 ,loopcnt 
+0x41b8 007473 arg mem_class ,contr 
+0x41b9 007474 branch send_mem_to_uart0 
+:      007476 at_group_list_inquiry:
+0x41ba 007477 arg mem_prarm_list ,rega 
+0x41bb 007478 arg 4 ,loopcnt 
+0x41bc 007479 call at_group_inquiryhead_common 
+0x41bd 007480 call eeprom_load_bdaddr_list 
+0x41be 007481 call at_group_list_reply 
+0x41bf 007482 branch uartd_send 
+:      007485 at_group_ldev_inquiry:
+0x41c0 007486 call eeprom_load_reconn_bdaddr 
+0x41c1 007487 arg mem_prarm_ldev ,rega 
+0x41c2 007488 arg 4 ,loopcnt 
+0x41c3 007489 call at_group_inquiryhead_common 
+0x41c4 007490 fetch 1 ,mem_record_bt_mode 
+0x41c5 007491 beq rec_3_mode ,at_group_ldev_inquiry0 
+0x41c6 007492 beq rec_4_mode ,at_group_ldev_inquiry0 
+0x41c7 007493 branch uartd_send 
+:      007494 at_group_ldev_inquiry0:
+0x41c8 007495 istore 1 ,contwu 
+0x41c9 007496 call at_rev_uart_write_44 
+0x41ca 007497 arg mem_temp_lap ,rega 
+0x41cb 007498 call adss_hex2string_to_uart 
+0x41cc 007499 branch uartd_send 
+:      007501 at_group_rssi_inquiry:
+0x41cd 007502 set1 mark_ext_patch ,mark 
+0x41ce 007503 bpatch patch32_7 ,mem_patch32 
+0x41cf 007504 arg mem_prarm_rssi ,rega 
+0x41d0 007505 arg 4 ,loopcnt 
+0x41d1 007506 call at_group_inquiryhead_common 
+0x41d2 007507 call at_rssi_result 
+0x41d3 007508 branch uartd_send 
+:      007509 at_rssi_result:
+0x41d4 007510 arg mem_rssi ,rega 
+0x41d5 007511 arg 1 ,loopcnt 
+0x41d6 007512 branch hex2string_to_uart0 
+:      007514 at_group_cdev_inquiry:
+0x41d7 007515 rtn 
+:      007518 at_group_cmode_inquiry:
+0x41d8 007519 arg mem_prarm_cmode ,rega 
+0x41d9 007520 arg 5 ,loopcnt 
+0x41da 007521 call at_group_inquiryhead_common 
+0x41db 007522 arg mem_cmode_addr ,rega 
+0x41dc 007523 call adss_hex2string_to_uart 
+0x41dd 007524 branch uartd_send 
+:      007527 at_group_dmstate_inquiry:
+0x41de 007528 arg mem_prarm_dmstate ,rega 
+0x41df 007529 arg 7 ,loopcnt 
+0x41e0 007530 call at_group_inquiryhead_common 
+0x41e1 007531 fetch 1 ,mem_module_state 
+0x41e2 007532 copy pdata ,rega 
+0x41e3 007533 fetch 1 ,mem_context 
+0x41e4 007534 isolate1 state_inconn ,pdata 
+0x41e5 007535 setflag true ,at_state_isconn ,rega 
+0x41e6 007536 isolate1 state_insniff ,pdata 
+0x41e7 007537 setflag true ,at_state_sniff ,rega 
+0x41e8 007538 fetch 1 ,mem_context + coffset_mode 
+0x41e9 007539 isolate1 mode_master ,pdata 
+0x41ea 007540 setflag true ,at_state_role ,rega 
+0x41eb 007541 isolate1 mode_le ,pdata 
+0x41ec 007542 setflag true ,at_state_le ,rega 
+0x41ed 007543 copy rega ,pdata 
+0x41ee 007544 istore 1 ,contwu 
+0x41ef 007545 branch uartd_send 
+:      007547 do_at_inquiry:
+0x41f0 007548 setarg param_glap 
+0x41f1 007549 store 3 ,mem_glap 
+0x41f2 007550 fetch 1 ,mem_at_using_flag 
+0x41f3 007551 set1 at_flag_inq ,pdata 
+0x41f4 007552 store 1 ,mem_at_using_flag 
+0x41f5 007553 branch do_at_inquiry0 
+:      007555 do_at_leinquiry:
+0x41f6 007556 call app_check_conn_device_nums_addr 
+0x41f7 007557 fetch 1 ,mem_device_nums 
+0x41f8 007558 bne 0 ,at_error_rev_end 
+0x41f9 007559 call app_ble_start_scan 
+0x41fa 007560 fetch 1 ,mem_at_using_flag 
+0x41fb 007561 set1 at_flag_leinq ,pdata 
+0x41fc 007562 store 1 ,mem_at_using_flag 
+0x41fd 007563 setarg 0x200 
+0x41fe 007564 store 2 ,mem_at_scan_time 
+0x41ff 007565 arg mem_prarm_bleinqr ,rega 
+0x4200 007566 arg 6 ,loopcnt 
+0x4201 007567 call at_group_inquiryhead_common 
+0x4202 007568 call send_mem_to_uart0 
+0x4203 007569 branch at_rev_end 
+:      007573 at_group_pswd_inquiry:
+0x4204 007574 arg mem_prarm_pswd ,rega 
+0x4205 007575 arg 4 ,loopcnt 
+0x4206 007576 call at_group_inquiryhead_common 
+0x4207 007577 fetch 1 ,mem_pin_length 
+0x4208 007578 copy pdata ,loopcnt 
+0x4209 007579 arg mem_pin ,contr 
+0x420a 007580 branch send_mem_to_uart0 
+:      007584 at_group_sniff_inquiry:
+0x420b 007585 arg mem_prarm_sniff ,rega 
+0x420c 007586 arg 5 ,loopcnt 
+0x420d 007587 call at_group_inquiryhead_common 
+0x420e 007588 call at_rev_uart_write_62 
+0x420f 007589 setarg 84 
+0x4210 007590 istore 1 ,contwu 
+0x4211 007591 call at_rev_uart_write_colon 
+0x4212 007592 arg mem_sniff_param_interval ,rega 
+0x4213 007593 call mem2_hex2string_to_uart 
+0x4214 007594 call at_rev_uart_write_62 
+0x4215 007595 setarg 65 
+0x4216 007596 istore 1 ,contwu 
+0x4217 007597 call at_rev_uart_write_colon 
+0x4218 007598 arg mem_sniff_param_attempt ,rega 
+0x4219 007599 call mem2_hex2string_to_uart 
+0x421a 007600 call at_rev_uart_write_62 
+0x421b 007601 setarg 79 
+0x421c 007602 istore 1 ,contwu 
+0x421d 007603 call at_rev_uart_write_colon 
+0x421e 007604 arg mem_sniff_param_timeout ,rega 
+0x421f 007605 call mem2_hex2string_to_uart 
+0x4220 007606 branch send_mem_to_uart0 
+:      007607 at_inquiry_reply:
+0x4221 007608 call get_uart_twptr 
+0x4222 007609 call at_rev_uart_write_62 
+0x4223 007610 arg extm_lap ,rega 
+0x4224 007611 call adss_hex2string_to_uart 
+0x4225 007612 call at_rev_uart_write_44 
+0x4226 007613 arg extm_class ,rega 
+0x4227 007614 call mem3_hex2string_to_uart 
+0x4228 007615 call at_rev_uart_write_44 
+0x4229 007616 call at_rssi_result 
+0x422a 007617 branch uartd_send 
+:      007628 at_set_common:
+0x422b 007629 call at_set_setprarm 
+0x422c 007630 branch uart_copy_rx_bytes 
+:      007631 at_set_setprarm:
+0x422d 007632 call uart_get_remain_length 
+0x422e 007633 copy pdata ,temp 
+0x422f 007634 copy pdata ,loopcnt 
+0x4230 007635 copy rega ,contw 
+0x4231 007636 rtn 
+:      007639 at_group_inquiryhead_common:
+0x4232 007640 call get_uart_twptr 
+0x4233 007641 call at_rev_uart_write_plus 
+:      007642 at_group_inquiryhead_common0:
+0x4234 007643 copy rega ,contr 
+0x4235 007644 call uart_copy_tx_bytes 
+0x4236 007645 branch at_rev_uart_write_colon 
+:      007648 string_compare_uart_follow:
+0x4237 007649 ifetch 1 ,contru 
+0x4238 007650 ifetcht 1 ,regb 
+0x4239 007651 isub temp ,null 
+0x423a 007652 disable true 
+0x423b 007653 nbranch string_compare_uart_follow_diff ,zero 
+0x423c 007654 increase 1 ,regb 
+0x423d 007655 loop string_compare_uart_follow 
+0x423e 007656 enable true 
+0x423f 007657 rtn 
+:      007658 string_compare_uart_follow_diff:
+0x4240 007659 branch restore_contru 
+:      007662 at_rev_uart_write_plus:
+0x4241 007663 setarg ui_plus 
+0x4242 007664 istore 1 ,contwu 
+0x4243 007665 rtn 
+:      007667 at_rev_uart_write_colon:
+0x4244 007668 setarg ui_colon 
+0x4245 007669 istore 1 ,contwu 
+0x4246 007670 rtn 
+:      007673 at_rev_uart_write_62:
+0x4247 007674 setarg 62 
+0x4248 007675 istore 1 ,contwu 
+0x4249 007676 rtn 
+:      007677 at_rev_uart_write_n:
+0x424a 007678 setarg 78 
+0x424b 007679 istore 1 ,contwu 
+0x424c 007680 call uartd_send 
+0x424d 007681 branch at_nomal_rev_end 
+:      007685 at_rev_uart_write_44:
+0x424e 007686 setarg at_comma 
+0x424f 007687 istore 1 ,contwu 
+0x4250 007688 rtn 
+:      007690 restore_contru:
+0x4251 007691 copy rega ,contru 
+0x4252 007692 rtn 
+:      007694 at_group_list_reply:
+0x4253 007695 arg mem_bdaddr_list_buff + 7 ,regc 
+0x4254 007696 arg 4 ,loopcnt 
+:      007697 at_group_list_reply_loop:
+0x4255 007698 copy loopcnt ,pdata 
+0x4256 007699 store 1 ,mem_pdatatemp 
+0x4257 007700 ifetch 1 ,regc 
+0x4258 007701 beq rec_3_mode ,at_group_list_isrecord 
+0x4259 007702 beq rec_4_mode ,at_group_list_isrecord 
+0x425a 007703 branch at_group_list_notrecord 
+:      007704 at_group_list_isrecord:
+0x425b 007705 call at_rev_uart_write_62 
+0x425c 007706 ifetch 1 ,regc 
+0x425d 007707 istore 1 ,contwu 
+0x425e 007708 increase 1 ,regc 
+0x425f 007709 call at_rev_uart_write_44 
+0x4260 007710 copy regc ,rega 
+0x4261 007711 call adss_hex2string_to_uart 
+:      007712 at_group_list_notrecord0:
+0x4262 007713 increase 6 ,regc 
+0x4263 007714 fetch 1 ,mem_pdatatemp 
+0x4264 007715 copy pdata ,loopcnt 
+0x4265 007716 loop at_group_list_reply_loop 
+0x4266 007717 rtn 
+:      007718 at_group_list_notrecord:
+0x4267 007719 increase 1 ,regc 
+0x4268 007720 branch at_group_list_notrecord0 
+:      007724 uart_get_remain_length:
+0x4269 007725 set1 mark_ext_patch ,mark 
+0x426a 007726 bpatch patch33_0 ,mem_patch33 
+0x426b 007727 hfetch 2 ,core_uart_rrptr 
+0x426c 007728 isub contru ,pdata 
+0x426d 007729 rtn zero 
+0x426e 007730 branch uart_get_remain_length0 ,positive 
+:      007731 uart_get_remain_length_common:
+0x426f 007732 fetcht 2 ,mem_current_packet_length 
+0x4270 007733 iadd temp ,pdata 
+0x4271 007734 increase -2 ,pdata 
+0x4272 007735 rtn 
+:      007736 uart_get_remain_length0:
+0x4273 007737 call uart_get_rx_buff_length 
+0x4274 007738 iadd contru ,temp 
+0x4275 007739 hfetch 2 ,core_uart_rrptr 
+0x4276 007740 isub temp ,pdata 
+0x4277 007741 branch uart_get_remain_length_common 
+:      007743 uart_get_rx_buff_length:
+0x4278 007744 arg mem_module_rx_buf_end ,pdata 
+0x4279 007745 increase 1 ,pdata 
+0x427a 007746 arg mem_module_rx_buf ,temp 
+0x427b 007747 isub temp ,pdata 
+0x427c 007748 rtn 
+:      007750 release_packet:
+0x427d 007751 fetcht 2 ,mem_current_packet_length 
+0x427e 007752 branch uartd_rxdone_by_len 
+:      007757 at_error_rev_end:
+0x427f 007758 set1 mark_ext_patch ,mark 
+0x4280 007759 bpatch patch33_1 ,mem_patch33 
+0x4281 007760 call get_uart_twptr 
+0x4282 007761 setarg 0x525245 
+0x4283 007762 istore 3 ,contwu 
+0x4284 007763 call uartd_send 
+0x4285 007764 branch at_rev_end 
+:      007766 at_nomal_rev_end:
+0x4286 007767 set1 mark_ext_patch ,mark 
+0x4287 007768 bpatch patch33_2 ,mem_patch33 
+0x4288 007769 call get_uart_twptr 
+0x4289 007770 setarg 0x4b4f 
+0x428a 007771 istore 2 ,contwu 
+0x428b 007772 call uartd_send 
+:      007773 spp_send_end:
+:      007774 at_rev_end:
+0x428c 007775 set1 mark_ext_patch ,mark 
+0x428d 007776 bpatch patch33_3 ,mem_patch33 
+0x428e 007777 call release_packet 
+:      007778 spp_ipc_end:
+0x428f 007779 setarg 0 
+0x4290 007780 store 2 ,mem_current_packet_length 
+0x4291 007781 store 4 ,mem_last_uart_clock 
+0x4292 007782 rtn 
+:      007785 le_dongle_init:
+0x4293 007786 call usb_init 
+0x4294 007787 call app_led_start_blink 
+0x4295 007788 setarg le_dongle 
+0x4296 007789 store 2 ,mem_cb_le_process 
+0x4297 007790 setarg dongle_process_bb_event 
+0x4298 007791 store 2 ,mem_cb_bb_event_process 
+0x4299 007792 setarg usb_isr 
+0x429a 007793 store 2 ,mem_cb_idle_process 
+0x429b 007794 jam 5 ,mem_dongle_count 
+0x429c 007795 jam 0 ,mem_dongle_peers 
+0x429d 007796 jam hci_cmd_le_create_conn ,mem_hci_cmd 
+0x429e 007797 rtn 
+:      007800 le_dongle:
+0x429f 007801 disable true 
+0x42a0 007802 call app_check_conn_device_nums_addr 
+0x42a1 007804 jam 0x1b ,mem_cmd_le_create_conn 
+0x42a2 007805 fetch 1 ,mem_device_nums 
+0x42a3 007806 compare 2 ,pdata ,0x3 
+0x42a4 007807 nrtn true 
+0x42a5 007808 jam 0 ,mem_le_scan_enable 
+0x42a6 007809 rtn 
+:      007811 le_scan_dongle:
+0x42a7 007812 fetch 1 ,mem_le_rxbuf 
+0x42a8 007813 bbit0 0 ,dongle_add_peer 
+0x42a9 007814 fetch 6 ,mem_le_rxbuf + 2 
+0x42aa 007815 fetcht 6 ,mem_le_plap 
+0x42ab 007816 isub temp ,null 
+0x42ac 007817 nrtn zero 
+:      007818 dongle_peer_paired:
+0x42ad 007819 fetch 6 ,mem_le_plap 
+0x42ae 007820 store 6 ,mem_le_conn_peer_addr 
+0x42af 007821 rtn 
+:      007823 dongle_add_peer:
+0x42b0 007824 arg 0xff ,rega 
+0x42b1 007825 call le_search_adtype 
+0x42b2 007826 nrtn zero 
+0x42b3 007827 ifetch 2 ,contr 
+0x42b4 007828 fetcht 2 ,mem_dongle_signature 
+0x42b5 007829 isub temp ,null 
+0x42b6 007830 nrtn zero 
+0x42b7 007831 fetch 1 ,mem_dongle_peers 
+0x42b8 007832 increase 1 ,pdata 
+0x42b9 007833 store 1 ,mem_dongle_peers 
+0x42ba 007834 fetcht 1 ,mem_dongle_pairing_cnt 
+0x42bb 007835 isub temp ,null 
+0x42bc 007836 branch dongle_peer_paired ,positive 
+0x42bd 007837 rtn 
+:      007839 dongle_process_bb_event:
+0x42be 007840 copy regc ,pdata 
+0x42bf 007841 beq bt_evt_le_disconnected ,dongle_le_event_bb_disconnected 
+0x42c0 007842 beq bt_evt_le_connected ,dongle_bb_event_connected 
+0x42c1 007843 and pdata ,0x0f ,temp 
+0x42c2 007844 and_into bt_evt_timer_mask ,pdata 
+0x42c3 007845 beq bt_evt_timer_init ,dongle_bb_event_100ms 
+0x42c4 007846 rtn 
+:      007848 dongle_le_event_bb_disconnected:
+0x42c5 007849 setarg 0 
+0x42c6 007850 store 6 ,mem_le_conn_peer_addr 
+0x42c7 007851 jam 0 ,mem_dongle_peers 
+0x42c8 007852 setarg 0 
+0x42c9 007853 store 5 ,mem_mouse_data 
+0x42ca 007854 jam send_mouse_data_cmd ,mem_mcmd 
+0x42cb 007855 call usb_isr 
+0x42cc 007856 branch app_ble_start_scan 
+:      007858 dongle_bb_event_100ms:
+0x42cd 007859 rtn 
+0x42ce 007860 fetch 1 ,mem_le_scan_enable 
+0x42cf 007861 rtn blank 
+0x42d0 007862 fetch 1 ,mem_dongle_count 
+0x42d1 007863 rtn blank 
+0x42d2 007864 increase -1 ,pdata 
+0x42d3 007865 store 1 ,mem_dongle_count 
+0x42d4 007866 nrtn blank 
+0x42d5 007867 call le_change_peer_addr 
+0x42d6 007868 branch app_ble_start_conn 
+:      007871 dongle_bb_event_connected:
+0x42d7 007872 branch app_ble_stop_scan 
+:      007874 le_change_peer_addr:
+0x42d8 007876 jam 5 ,mem_dongle_count 
+0x42d9 007877 fetch 1 ,mem_le_peer_state 
+0x42da 007878 beq le_context_state_kb ,addr_slave2 
+0x42db 007879 beq le_context_state_mouse ,addr_slave1 
+0x42dc 007880 rtn 
+:      007881 addr_slave1:
+0x42dd 007882 fetch 6 ,mem_le_addr_slave1 
+0x42de 007883 store 6 ,mem_app_peer_addr 
+0x42df 007884 jam le_context_state_kb ,mem_le_peer_state 
+0x42e0 007885 rtn 
+:      007886 addr_slave2:
+0x42e1 007887 fetch 6 ,mem_le_addr_slave2 
+0x42e2 007888 store 6 ,mem_app_peer_addr 
+0x42e3 007889 jam le_context_state_mouse ,mem_le_peer_state 
+0x42e4 007890 rtn 
+:      007893 hci_rx_bcsp:
+0x42e5 007894 ifetch 2 ,contru 
+0x42e6 007895 branch hci_reset_uart ,blank 
+0x42e7 007896 iforce regc 
+0x42e8 007897 ifetch 1 ,contru 
+0x42e9 007898 store 1 ,mem_h5rx_tmp 
+0x42ea 007899 iforce rega 
+0x42eb 007900 bbit0 6 ,hci_rx_bcsp_nocrc 
+0x42ec 007901 increase -2 ,regc 
+:      007902 hci_rx_bcsp_nocrc:
+0x42ed 007903 ifetch 2 ,contru 
+0x42ee 007904 rshift4 pdata ,loopcnt 
+0x42ef 007905 and pdata ,0xf ,debug 
+0x42f0 007906 iadd rega ,rega 
+0x42f1 007907 rshift8 pdata ,pdata 
+0x42f2 007908 iadd rega ,rega 
+0x42f3 007909 ifetch 1 ,contru 
+0x42f4 007910 iadd rega ,pdata 
+0x42f5 007911 bne 0xff ,hci_rx_bcsp_discard_packet 
+0x42f6 007912 add regc ,-4 ,pdata 
+0x42f7 007913 isub loopcnt ,null 
+0x42f8 007914 nbranch hci_rx_bcsp_discard_packet_err ,zero 
+0x42f9 007915 fetch 1 ,mem_h5rx_tmp 
+0x42fa 007916 isolate0 7 ,pdata 
+0x42fb 007917 branch hci_rx_bcsp_check_ack_skip ,true 
+0x42fc 007918 set0 mark_h5_reset ,mark 
+0x42fd 007919 bmark1 mark_h5_reset ,hci_rx_bcsp_check_ack_skip 
+0x42fe 007920 and_into 7 ,pdata 
+0x42ff 007921 fetcht 1 ,mem_h5tx_ack 
+0x4300 007922 isub temp ,null 
+0x4301 007923 nbranch hci_rx_bcsp_discard_packet_err ,zero 
+:      007924 hci_rx_bcsp_check_ack_skip:
+0x4302 007925 setarg 1600 
+0x4303 007926 force lpo_delay_timer ,queue 
+0x4304 007927 call timer_init 
+0x4305 007928 deposit debug 
+0x4306 007929 call hci_bcsp_parse_packet 
+0x4307 007930 rtn user 
+0x4308 007931 fetch 1 ,mem_h5rx_tmp 
+0x4309 007932 iforce rega 
+0x430a 007933 rshift3 pdata ,temp 
+0x430b 007934 and_into 7 ,temp 
+0x430c 007935 fetch 1 ,mem_h5rx_ack 
+0x430d 007936 isub temp ,pdata 
+0x430e 007937 sub pdata ,0 ,pdata 
+0x430f 007938 and_into 7 ,pdata 
+0x4310 007939 bne 1 ,hci_rx_bcsp_discard_packet_err 
+0x4311 007940 storet 1 ,mem_h5rx_ack 
+0x4312 007941 fetch 1 ,mem_h5rx_ackcnt 
+0x4313 007942 increase 1 ,pdata 
+0x4314 007943 store 1 ,mem_h5rx_ackcnt 
+0x4315 007944 branch hci_rx_bcsp_discard_packet 
+:      007946 hci_rx_bcsp_discard_packet_err:
+0x4316 007947 fetch 1 ,mem_check_err_acl_cont 
+0x4317 007948 increase 1 ,pdata 
+0x4318 007949 store 1 ,mem_check_err_acl_cont 
+:      007950 hci_rx_bcsp_discard_packet:
+0x4319 007951 hfetch 2 ,core_uart_rrptr 
+0x431a 007952 iforce contru 
+0x431b 007953 ifetch 2 ,contru 
+0x431c 007954 iadd contru ,contru 
+0x431d 007955 deposit contru 
+0x431e 007956 hstore 2 ,core_uart_rrptr 
+0x431f 007957 rtn 
+:      007959 hci_bcsp_parse_packet:
+0x4320 007960 disable user 
+0x4321 007961 rtn blank 
+0x4322 007962 beq 1 ,parse_bcsp_link_establish 
+0x4323 007963 beq 2 ,parse_bcsp_bccmd 
+0x4324 007964 beq 5 ,process_hci_cmd 
+0x4325 007965 beq 6 ,process_acl 
+0x4326 007966 beq 8 ,process_hci_patch 
+0x4327 007967 rtn 
+:      007969 parse_bcsp_link_establish:
+0x4328 007970 set0 mark_h5_reinit ,mark 
+0x4329 007971 ifetch 1 ,contru 
+0x432a 007972 beq 0xda ,parse_bcsp_link_establish_sync 
+0x432b 007973 beq 0xac ,parse_bcsp_link_establish_syncrsp 
+0x432c 007974 beq 0xad ,parse_bcsp_link_establish_conf 
+0x432d 007975 beq 0xde ,parse_bcsp_link_establish_confrsp 
+0x432e 007976 rtn 
+:      007977 parse_bcsp_link_establish_sync:
+0x432f 007978 bmark1 mark_h5_sync ,parse_bcsp_link_establish_send_syncrsp 
+0x4330 007979 force 0xda ,temp 
+0x4331 007980 setarg 0xededdc 
+0x4332 007981 call parse_bcsp_link_establish_send 
+:      007982 parse_bcsp_link_establish_send_syncrsp:
+0x4333 007983 force 0xac ,temp 
+0x4334 007984 setarg 0xeeefaf 
+0x4335 007985 branch parse_bcsp_link_establish_send 
+:      007986 parse_bcsp_link_establish_syncrsp:
+0x4336 007987 set1 mark_h5_sync ,mark 
+0x4337 007988 force 0xad ,temp 
+0x4338 007989 setarg 0xedacef 
+0x4339 007990 branch parse_bcsp_link_establish_send 
+:      007991 parse_bcsp_link_establish_conf:
+0x433a 007992 force 0xde ,temp 
+0x433b 007993 setarg 0xd0d0ad 
+:      007994 parse_bcsp_link_establish_send:
+0x433c 007995 lshift8 pdata ,pdata 
+0x433d 007996 ior temp ,temp 
+0x433e 007997 call hci_get_packet_ptr 
+0x433f 007998 istoret 4 ,contwu 
+0x4340 007999 force 1 ,queue 
+0x4341 008000 force 4 ,loopcnt 
+0x4342 008001 set0 mark_h5tx_rp ,mark 
+0x4343 008002 branch bcsp_send_packet 
+:      008003 parse_bcsp_link_establish_confrsp:
+0x4344 008004 force 0 ,alarm 
+0x4345 008005 branch hci_command_status 
+:      008007 parse_bcsp_bccmd:
+0x4346 008008 copy loopcnt ,alarm 
+0x4347 008009 call bcsp_send_ack 
+0x4348 008010 force 0 ,regb 
+0x4349 008011 call hci_get_packet_ptr 
+0x434a 008012 copy alarm ,loopcnt 
+0x434b 008013 ifetch 1 ,contru 
+0x434c 008014 setarg 1 
+0x434d 008015 istore 1 ,contwu 
+0x434e 008016 set0 mark_temp ,mark 
+:      008017 parse_bcsp_bccmd_loop:
+0x434f 008018 ifetch 1 ,contru 
+0x4350 008019 increase 1 ,regb 
+0x4351 008020 beq 0x1c ,parse_bcsp_bccmd_sco_link 
+0x4352 008021 compare 4 ,regb ,0xff 
+0x4353 008022 nbranch parse_bcsp_bccmd_next ,true 
+0x4354 008023 setflag blank ,mark_temp ,mark 
+0x4355 008024 bne 0x3a ,parse_bcsp_bccmd_next 
+0x4356 008025 setarg 2000 
+0x4357 008026 force h5_reinit_timer ,queue 
+0x4358 008027 call timer_init 
+0x4359 008028 set1 mark_h5_reinit ,mark 
+0x435a 008029 rtn 
+:      008031 parse_bcsp_bccmd_sco_link:
+0x435b 008032 compare 6 ,regb ,0xff 
+0x435c 008033 branch parse_bcsp_bccmd_next_ok ,true 
+:      008034 parse_bcsp_bccmd_next:
+0x435d 008035 isolate1 mark_temp ,mark 
+0x435e 008036 call parse_bcsp_bccmd_replace ,true 
+0x435f 008037 istore 1 ,contwu 
+0x4360 008038 loop parse_bcsp_bccmd_loop 
+0x4361 008039 set0 mark_bccmd_patch ,mark 
+0x4362 008040 copy alarm ,loopcnt 
+0x4363 008041 set1 mark_h5tx_rp ,mark 
+0x4364 008042 force 2 ,queue 
+0x4365 008043 branch bcsp_send_packet 
+:      008044 parse_bcsp_bccmd_next_ok:
+0x4366 008045 set1 mark_bccmd_patch ,mark 
+0x4367 008046 branch parse_bcsp_bccmd_next 
+:      008048 parse_bcsp_bccmd_replace:
+0x4368 008049 rtnmark1 mark_bccmd_patch 
+0x4369 008050 compare 10 ,regb ,0xff 
+0x436a 008051 branch parse_bcsp_bccmd_replace1 ,true 
+0x436b 008052 compare 11 ,regb ,0xff 
+0x436c 008053 nrtn true 
+0x436d 008054 setarg 0x12 
+0x436e 008055 rtn 
+:      008056 parse_bcsp_bccmd_replace1:
+0x436f 008057 setarg 0xe9 
+0x4370 008058 rtn 
+:      008060 bcsp_send_ack:
+0x4371 008061 fetch 1 ,mem_h5rx_tmp 
+0x4372 008062 increase 1 ,pdata 
+0x4373 008063 and_into 7 ,pdata 
+0x4374 008064 store 1 ,mem_h5tx_ack 
+0x4375 008065 force 0 ,loopcnt 
+0x4376 008066 force 0 ,queue 
+0x4377 008067 set0 mark_h5tx_rp ,mark 
+:      008068 bcsp_send_packet:
+0x4378 008070 add loopcnt ,4 ,regb 
+0x4379 008071 fetch 1 ,mem_h5tx_ack 
+0x437a 008072 lshift3 pdata ,regc 
+0x437b 008073 isolate0 mark_h5tx_crc ,mark 
+0x437c 008074 nsetflag true ,6 ,regc 
+0x437d 008075 branch bcsp_send_packet_nocrc ,true 
+0x437e 008076 increase 2 ,regb 
+:      008077 bcsp_send_packet_nocrc:
+0x437f 008078 bmark0 mark_h5tx_rp ,bcsp_send_packet_form_nonrp 
+0x4380 008079 set1 7 ,regc 
+0x4381 008080 fetch 1 ,mem_h5tx_seq 
+0x4382 008081 ior regc ,regc 
+0x4383 008082 increase 1 ,pdata 
+0x4384 008083 and_into 7 ,pdata 
+0x4385 008084 store 1 ,mem_h5tx_seq 
+0x4386 008085 fetch 1 ,mem_rp_packets 
+0x4387 008086 increase 1 ,pdata 
+0x4388 008087 store 1 ,mem_rp_packets 
+:      008088 bcsp_send_packet_form_nonrp:
+0x4389 008089 fetch 2 ,mem_h5tx_wptr 
+0x438a 008090 iforce contwu 
+0x438b 008091 deposit regb 
+0x438c 008092 isolate1 mark_h5tx_rp ,mark 
+0x438d 008093 setflag true ,hci_flag_rp ,pdata 
+0x438e 008094 istore 2 ,contwu 
+0x438f 008095 copy contwu ,rega 
+0x4390 008096 deposit regc 
+0x4391 008097 istore 1 ,contwu 
+0x4392 008098 lshift4 loopcnt ,pdata 
+0x4393 008099 ior queue ,pdata 
+0x4394 008100 iadd regc ,regc 
+0x4395 008101 istore 2 ,contwu 
+0x4396 008102 rshift8 pdata ,pdata 
+0x4397 008103 iadd regc ,pdata 
+0x4398 008104 sub pdata ,0xff ,pdata 
+0x4399 008105 istore 1 ,contwu 
+0x439a 008106 bmark0 mark_h5tx_crc ,bcsp_send_packet_form_nocrc 
+0x439b 008107 increase 4 ,loopcnt 
+0x439c 008108 copy rega ,contwu 
+0x439d 008109 call calc_tx_crc16 
+0x439e 008110 istore 2 ,contwu 
+:      008111 bcsp_send_packet_form_nocrc:
+0x439f 008112 fetch 2 ,mem_h5tx_wptr 
+0x43a0 008113 iadd regb ,contwu 
+0x43a1 008114 increase 2 ,contwu 
+0x43a2 008115 deposit contwu 
+0x43a3 008116 store 2 ,mem_h5tx_wptr 
+0x43a4 008117 hstore 2 ,core_uart_twptr 
+0x43a5 008118 fetcht 2 ,mem_h5tx_rptr 
+0x43a6 008119 call bcsp_update_free 
+0x43a7 008120 call bcsp_init_retransmit 
+0x43a8 008121 setarg 1600 
+0x43a9 008122 force lpo_delay_timer ,queue 
+0x43aa 008123 branch timer_init 
+:      008125 bcsp_init_retransmit:
+0x43ab 008126 setarg 400 
+0x43ac 008127 force hci_retransmit_timer ,queue 
+0x43ad 008128 call timer_init 
+0x43ae 008129 set1 mark_h5tx_retransmit ,mark 
+0x43af 008130 rtn 
+:      008132 bcsp_retransmit:
+0x43b0 008133 rtnmark0 mark_h5tx_retransmit 
+0x43b1 008134 force hci_retransmit_timer ,queue 
+0x43b2 008135 call timer_check 
+0x43b3 008136 nrtn blank 
+0x43b4 008137 fetch 2 ,mem_h5tx_rptr 
+0x43b5 008138 hstore 2 ,core_uart_trptrp 
+0x43b6 008139 branch bcsp_init_retransmit 
+:      008141 bcsp_freepacket:
+0x43b7 008142 fetch 2 ,mem_h5tx_wptr 
+0x43b8 008143 fetcht 2 ,mem_h5tx_rptr 
+0x43b9 008144 isub temp ,null 
+0x43ba 008145 branch bcsp_noretransmit ,zero 
+0x43bb 008146 copy temp ,contwu 
+0x43bc 008147 ifetch 2 ,contwu 
+0x43bd 008148 iforce rega 
+0x43be 008149 iand mask3ff ,pdata 
+0x43bf 008150 iadd contwu ,contwu 
+0x43c0 008151 hfetch 2 ,core_uart_trptr 
+0x43c1 008152 isub contwu ,pdata 
+0x43c2 008153 iand mask3ff ,regb 
+0x43c3 008154 fetch 2 ,mem_h5tx_wptr 
+0x43c4 008155 isub contwu ,pdata 
+0x43c5 008156 iand mask3ff ,pdata 
+0x43c6 008157 isub regb ,pdata 
+0x43c7 008158 nrtn positive 
+0x43c8 008159 isolate0 hci_flag_rp ,rega 
+0x43c9 008160 branch bcsp_discardnrp ,true 
+0x43ca 008161 fetch 1 ,mem_h5rx_ackcnt 
+0x43cb 008162 rtn blank 
+0x43cc 008163 increase -1 ,pdata 
+0x43cd 008164 store 1 ,mem_h5rx_ackcnt 
+0x43ce 008165 fetch 1 ,mem_rp_packets 
+0x43cf 008166 increase -1 ,pdata 
+0x43d0 008167 store 1 ,mem_rp_packets 
+:      008168 bcsp_discardnrp:
+0x43d1 008169 copy contwu ,temp 
+0x43d2 008170 storet 2 ,mem_h5tx_rptr 
+0x43d3 008171 fetch 2 ,mem_h5tx_wptr 
+0x43d4 008172 call bcsp_update_free 
+0x43d5 008173 branch bcsp_freepacket 
+:      008174 bcsp_noretransmit:
+0x43d6 008175 set0 mark_h5tx_retransmit ,mark 
+0x43d7 008176 rtn 
+:      008178 bcsp_update_free:
+0x43d8 008179 isub temp ,pdata 
+0x43d9 008180 iand mask3ff ,pdata 
+0x43da 008181 isub mask3ff ,pdata 
+0x43db 008182 sub pdata ,0 ,pdata 
+0x43dc 008183 store 2 ,mem_h5tx_free 
+0x43dd 008184 rtn 
+:      008186 bcsp_get_tx_ptr:
+0x43de 008187 fetch 2 ,mem_h5tx_wptr 
+0x43df 008188 iadd contwu ,contwu 
+0x43e0 008189 rtn 
+:      008193 hci_log:
+0x43e1 008194 rtn 
+:      008196 hci_rx_h4:
+0x43e2 008197 set1 mark_ext_patch ,mark 
+0x43e3 008198 bpatch patch3d_4 ,mem_patch3d 
+0x43e4 008199 fetch 1 ,mem_hci_cmd 
+0x43e5 008200 nrtn blank 
+:      008201 hci_rx_h4_1:
+0x43e6 008202 call hci_h4_parse_packet 
+0x43e7 008203 ncall h4_rx_discard_packet ,user 
+0x43e8 008204 rtn 
+:      008206 hci_h4_parse_packet:
+0x43e9 008207 set1 mark_ext_patch ,mark 
+0x43ea 008208 bpatch patch3d_5 ,mem_patch3d 
+0x43eb 008209 copy contru ,rega 
+0x43ec 008210 arg 4 ,temp 
+0x43ed 008211 ifetch 1 ,contru 
+0x43ee 008212 beq hci_h4_type_cmd ,hci_h4_parse_packet_wait_len 
+0x43ef 008213 increase 1 ,temp 
+0x43f0 008214 beq hci_h4_type_acl ,hci_h4_parse_packet_wait_len 
+0x43f1 008215 copy contru ,pdata 
+0x43f2 008216 hstore 2 ,core_uart_rrptr 
+0x43f3 008217 rtn 
+:      008218 hci_h4_parse_packet_wait_len:
+0x43f4 008219 hfetch 2 ,core_uart_rxitems 
+0x43f5 008220 isub temp ,null 
+0x43f6 008221 nbranch hci_h4_parse_packet_wait_len ,positive 
+0x43f7 008223 disable user 
+0x43f8 008224 copy rega ,contru 
+0x43f9 008225 call h4_get_rx_payload_len 
+0x43fa 008226 iadd temp ,temp 
+:      008227 hci_h4_parse_packet_wait:
+0x43fb 008228 hfetch 2 ,core_uart_rxitems 
+0x43fc 008229 isub temp ,null 
+0x43fd 008230 nbranch hci_h4_parse_packet_wait ,positive 
+0x43fe 008231 copy rega ,contru 
+0x43ff 008232 ifetch 1 ,contru 
+0x4400 008233 beq hci_h4_type_cmd ,process_hci_cmd 
+0x4401 008234 beq hci_h4_type_acl ,hci_h4_parse_packet_acl 
+0x4402 008235 branch assert 
+:      008236 hci_h4_parse_packet_acl:
+0x4403 008237 set1 mark_ext_patch ,mark 
+0x4404 008238 bpatch patch3d_6 ,mem_patch3d 
+0x4405 008239 copy contru ,rega 
+0x4406 008240 ifetch 2 ,contru 
+0x4407 008241 copy rega ,contru 
+0x4408 008242 fetcht 1 ,mem_conn_handle 
+0x4409 008243 icompare 0xff ,temp 
+0x440a 008244 branch process_acl ,true 
+0x440b 008245 branch le_acl_downgoing ,le 
+0x440c 008246 enable user 
+0x440d 008247 rtn 
+:      008248 h4_rx_discard_packet:
+0x440e 008249 set1 mark_ext_patch ,mark 
+0x440f 008250 bpatch patch3d_7 ,mem_patch3d 
+0x4410 008251 hfetch 2 ,core_uart_rrptr 
+0x4411 008252 iforce contru 
+0x4412 008253 call h4_get_rx_payload_len 
+0x4413 008254 iadd contru ,contru 
+0x4414 008255 deposit contru 
+0x4415 008256 hstore 2 ,core_uart_rrptr 
+0x4416 008257 rtn 
+:      008262 h4_get_rx_payload_len:
+0x4417 008263 ifetch 1 ,contru 
+0x4418 008264 increase 2 ,contru 
+0x4419 008265 beq hci_h4_type_acl ,h4_get_rx_payload_len_acl 
+0x441a 008266 ifetch 1 ,contru 
+0x441b 008267 rtn 
+:      008268 h4_get_rx_payload_len_acl:
+0x441c 008269 ifetch 2 ,contru 
+0x441d 008270 rtn 
+:      008272 h4_get_tx_ptr:
+0x441e 008273 hfetch 2 ,core_uart_twptr 
+0x441f 008274 increase -5 ,contwu 
+0x4420 008275 iadd contwu ,contwu 
+0x4421 008276 rtn 
+:      008278 h4_send_packet_event:
+0x4422 008279 arg hci_h4_type_event ,temp 
+0x4423 008280 branch h4_send_packet 
+:      008281 h4_send_packet_acl:
+0x4424 008282 arg hci_h4_type_acl ,temp 
+:      008283 h4_send_packet:
+0x4425 008284 set1 mark_ext_patch ,mark 
+0x4426 008285 bpatch patch3e_0 ,mem_patch3e 
+0x4427 008286 increase 1 ,loopcnt 
+0x4428 008287 hfetch 2 ,core_uart_twptr 
+0x4429 008288 copy pdata ,contwu 
+0x442a 008289 copy loopcnt ,pdata 
+0x442b 008290 istoret 1 ,contwu 
+0x442c 008291 increase -1 ,pdata 
+0x442d 008292 iadd contwu ,contwu 
+0x442e 008293 copy contwu ,pdata 
+0x442f 008294 store 2 ,mem_hci_acl_tx_trigger_wptr 
+0x4430 008295 copy temp ,pdata 
+0x4431 008296 rtneq hci_h4_type_acl 
+0x4432 008297 fetch 2 ,mem_hci_acl_tx_trigger_wptr 
+0x4433 008298 hstore 2 ,core_uart_twptr 
+0x4434 008299 branch h4_send_acl_trigger_clear 
+:      008301 h4_send_acl_trigger:
+0x4435 008302 set1 mark_ext_patch ,mark 
+0x4436 008303 bpatch patch3e_1 ,mem_patch3e 
+0x4437 008304 fetch 2 ,mem_hci_acl_tx_trigger_wptr 
+0x4438 008305 branch assert ,blank 
+0x4439 008306 hstore 2 ,core_uart_twptr 
+0x443a 008307 branch h4_send_acl_trigger_clear 
+:      008309 h4_send_acl_trigger_clear:
+0x443b 008310 setarg 0 
+0x443c 008311 store 2 ,mem_hci_acl_tx_trigger_wptr 
+0x443d 008312 rtn 
+:      008314 h4_tx_buffer_remain:
+0x443e 008315 hfetcht 2 ,core_uart_trptr 
+0x443f 008316 hfetch 2 ,core_uart_twptr 
+0x4440 008317 isub temp ,rega 
+0x4441 008318 nbranch h4_tx_buffer_remain_negative ,positive 
+0x4442 008319 hfetcht 2 ,core_uart_tsaddr 
+0x4443 008320 hfetch 2 ,core_uart_teaddr 
+0x4444 008321 isub temp ,pdata 
+0x4445 008322 isub rega ,temp 
+0x4446 008323 rtn 
+:      008324 h4_tx_buffer_remain_negative:
+0x4447 008325 sub rega ,-1 ,temp 
+0x4448 008326 rtn 
+:      008331 hci_dispatch:
+0x4449 008332 set0 mark_ext_patch ,mark 
+0x444a 008333 bpatch patch19_5 ,mem_patch19 
+0x444b 008334 fetch 1 ,mem_device_option 
+0x444c 008335 rtnne dvc_op_hci 
+0x444d 008336 call hci_rx_packet 
+0x444e 008337 call hci_check_bcsp_protocol 
+0x444f 008338 call bcsp_retransmit ,true 
+0x4450 008339 call hci_check_bcsp_protocol 
+0x4451 008340 call bcsp_freepacket ,true 
+0x4452 008341 branch process_send_acl 
+0x4453 008342 rtnmark0 mark_h5_reinit 
+0x4454 008343 force h5_reinit_timer ,queue 
+0x4455 008344 call timer_check 
+0x4456 008345 nrtn blank 
+0x4457 008346 call hci_reinit 
+0x4458 008347 call hci_check_bcsp_protocol 
+0x4459 008348 nrtn true 
+0x445a 008349 set0 mark_h5_sync ,mark 
+0x445b 008350 force 0xda ,temp 
+0x445c 008351 setarg 0xededdc 
+0x445d 008352 call parse_bcsp_link_establish_send 
+0x445e 008353 setarg 2000 
+0x445f 008354 force h5_reinit_timer ,queue 
+0x4460 008355 branch timer_init 
+:      008358 hci_init:
+0x4461 008359 set0 mark_ext_patch ,mark 
+0x4462 008360 bpatch patch19_6 ,mem_patch19 
+0x4463 008361 rtn wake 
+0x4464 008362 setarg hci_idle_dispatch 
+0x4465 008363 store 2 ,mem_cb_idle_process 
+0x4466 008365 setarg uart_baud_115200 
+0x4467 008366 store uart_baud_len ,mem_baud 
+:      008367 hci_lpm_init:
+0x4468 008368 set0 mark_ext_patch ,mark 
+0x4469 008369 bpatch patch19_7 ,mem_patch19 
+0x446a 008370 call init_filter_ram 
+0x446b 008371 setarg mem_h5rx_buf 
+0x446c 008372 hstore 2 ,core_uart_rsaddr 
+0x446d 008373 setarg mem_h5rx_buf_end 
+0x446e 008374 hstore 2 ,core_uart_readdr 
+0x446f 008375 setarg mem_h5tx_buf 
+0x4470 008376 hstore 2 ,core_uart_tsaddr 
+0x4471 008377 call hci_sel_init 
+:      008378 hci_reinit:
+0x4472 008379 set0 mark_ext_patch ,mark 
+0x4473 008380 bpatch patch1a_0 ,mem_patch1a 
+0x4474 008381 hjam 0x0 ,core_uart_ctrl 
+0x4475 008382 jam 0 ,mem_h5rx_ack 
+0x4476 008383 jam 0 ,mem_h5tx_ack 
+0x4477 008384 jam 0 ,mem_h5tx_seq 
+0x4478 008385 setarg mem_h5tx_buf 
+0x4479 008386 store 2 ,mem_h5tx_wptr 
+0x447a 008387 store 2 ,mem_h5tx_rptr 
+0x447b 008388 hstore 2 ,core_uart_twptr 
+0x447c 008389 hstore 2 ,core_uart_trptrp 
+0x447d 008390 setarg mem_h5rx_buf 
+0x447e 008391 hstore 2 ,core_uart_rrptr 
+0x447f 008392 store 2 ,mem_h5rx_rptr 
+:      008393 hci_init_common:
+0x4480 008394 set0 mark_ext_patch ,mark 
+0x4481 008395 bpatch patch1a_1 ,mem_patch1a 
+0x4482 008396 hfetch 2 ,core_clkoff 
+0x4483 008397 set0 clock_off_uart ,pdata 
+0x4484 008398 hstore 2 ,core_clkoff 
+0x4485 008399 call uart_set_baud_by_mem 
+0x4486 008400 hjam uartclk_dpll ,core_uart_clksel 
+0x4487 008401 hjam uart_ctrl_h4 ,core_uart_ctrl 
+0x4488 008402 branch hci_init_queue_ack 
+:      008404 hci_sel_init:
+0x4489 008405 setarg mem_h5tx_buf_end 
+0x448a 008406 hstore 2 ,core_uart_teaddr 
+0x448b 008407 hfetch 1 ,core_gpio_sel1 
+0x448c 008408 or_into 0x07 ,pdata 
+0x448d 008409 hstore 1 ,core_gpio_sel1 
+0x448e 008410 jam 0xff ,mem_ucode_id_local 
+0x448f 008411 rtn 
+:      008413 hci_reset_uart:
+0x4490 008414 hfetch 2 ,core_uart_rwptr 
+0x4491 008415 hstore 2 ,core_uart_rrptr 
+0x4492 008416 set1 mark_h5_reset ,mark 
+0x4493 008417 rtn 
+:      008420 hci_check_bcsp_protocol:
+0x4494 008421 hfetch 1 ,core_uart_ctrl 
+0x4495 008422 isolate1 uart_ctrl_bit_slip_protocol ,pdata 
+0x4496 008423 rtn 
+:      008425 hci_init_queue_ack:
+0x4497 008426 setarg mem_hci_acl_queue_start 
+0x4498 008427 store 2 ,mem_hci_acl_queue_wptr 
+0x4499 008428 store 2 ,mem_hci_acl_queue_rptr 
+0x449a 008429 force param_acl_pktcnt ,temp 
+0x449b 008430 iadd temp ,pdata 
+0x449c 008431 iadd temp ,pdata 
+0x449d 008432 increase 2 ,pdata 
+0x449e 008433 store 2 ,mem_hci_acl_queue_end 
+0x449f 008434 setarg 0x00 
+0x44a0 008435 store 1 ,mem_hci_acl_cnt 
+0x44a1 008436 store 1 ,mem_hci_acl_queue_wcnt 
+0x44a2 008437 rtn 
+:      008439 hci_rx_packet:
+0x44a3 008440 set0 mark_ext_patch ,mark 
+0x44a4 008441 bpatch patch1a_2 ,mem_patch1a 
+0x44a5 008442 hfetch 1 ,core_uart_status 
+0x44a6 008443 iforce regb 
+0x44a7 008444 bbit0 uart_status_rx_fifo_empty ,hci_rx_packet_cont 
+0x44a8 008445 hfetch 2 ,core_uart_rxitems 
+0x44a9 008446 iforce regc 
+0x44aa 008447 arg 0x44f ,temp 
+0x44ab 008448 isub temp ,null 
+0x44ac 008449 nrtn zero 
+:      008450 hci_rx_packet_cont:
+0x44ad 008451 hfetch 2 ,core_uart_rrptr 
+0x44ae 008452 iforce contru 
+0x44af 008453 call hci_check_bcsp_protocol 
+0x44b0 008454 branch hci_rx_bcsp ,true 
+0x44b1 008455 branch hci_rx_h4 
+:      008457 hci_send_ack:
+0x44b2 008458 call hci_check_bcsp_protocol 
+0x44b3 008459 branch bcsp_send_ack ,true 
+0x44b4 008460 rtn 
+:      008462 uart_send_byte:
+0x44b5 008463 hfetcht 1 ,core_uart_status 
+0x44b6 008464 isolate1 6 ,temp 
+0x44b7 008465 branch uart_send_byte ,true 
+0x44b8 008466 hstore 1 ,core_uart_txd 
+0x44b9 008467 rtn 
+:      008470 process_acl_into_queue:
+0x44ba 008471 fetcht 2 ,mem_hci_acl_queue_end 
+0x44bb 008472 fetch 2 ,mem_hci_acl_queue_wptr 
+0x44bc 008473 iforce contw 
+0x44bd 008474 deposit contru 
+0x44be 008475 istore 2 ,contw 
+0x44bf 008476 deposit contw 
+0x44c0 008477 store 2 ,mem_hci_acl_queue_wptr 
+0x44c1 008478 icompare 0xff ,temp 
+0x44c2 008479 call process_acl_into_queue_loop ,true 
+0x44c3 008480 fetch 1 ,mem_hci_acl_queue_wcnt 
+0x44c4 008481 increase 1 ,pdata 
+0x44c5 008482 store 1 ,mem_hci_acl_queue_wcnt 
+0x44c6 008483 rtn 
+:      008484 process_acl_into_queue_loop:
+0x44c7 008485 setarg mem_hci_acl_queue_start 
+0x44c8 008486 store 2 ,mem_hci_acl_queue_wptr 
+0x44c9 008487 rtn 
+:      008490 process_acl_dequeue:
+0x44ca 008491 fetch 1 ,mem_hci_acl_queue_wcnt 
+0x44cb 008492 rtn blank 
+0x44cc 008493 fetcht 2 ,mem_hci_acl_queue_end 
+0x44cd 008494 fetch 2 ,mem_hci_acl_queue_rptr 
+0x44ce 008495 iforce contr 
+0x44cf 008496 ifetch 2 ,contr 
+0x44d0 008497 iforce contru 
+0x44d1 008498 deposit contr 
+0x44d2 008499 store 2 ,mem_hci_acl_queue_rptr 
+0x44d3 008500 icompare 0xff ,temp 
+0x44d4 008501 call process_acl_dequeue_loop ,true 
+0x44d5 008502 fetch 1 ,mem_hci_acl_queue_wcnt 
+0x44d6 008503 increase -1 ,pdata 
+0x44d7 008504 store 1 ,mem_hci_acl_queue_wcnt 
+0x44d8 008505 force 1 ,pdata 
+0x44d9 008506 rtn 
+:      008507 process_acl_dequeue_loop:
+0x44da 008508 setarg mem_hci_acl_queue_start 
+0x44db 008509 store 2 ,mem_hci_acl_queue_rptr 
+0x44dc 008510 rtn 
+:      008512 process_acl:
+0x44dd 008513 set0 mark_ext_patch ,mark 
+0x44de 008514 bpatch patch1a_3 ,mem_patch1a 
+0x44df 008515 fetch 1 ,mem_hci_acl_queue_wcnt 
+0x44e0 008516 sub pdata ,2 ,null 
+0x44e1 008517 branch process_acl_queue_check_ok ,positive 
+0x44e2 008518 enable user 
+0x44e3 008519 branch process_send_acl 
+:      008520 process_acl_queue_check_ok:
+0x44e4 008521 call hci_send_ack 
+0x44e5 008522 call process_acl_into_queue 
+:      008523 process_send_acl:
+0x44e6 008524 set0 mark_ext_patch ,mark 
+0x44e7 008525 bpatch patch1a_4 ,mem_patch1a 
+0x44e8 008526 rtnmark1 mark_tx_l2cap 
+0x44e9 008527 call process_acl_dequeue 
+0x44ea 008528 rtn blank 
+0x44eb 008529 ifetcht 1 ,contru 
+0x44ec 008530 call context_search_conn_handle2 
+0x44ed 008531 nrtn zero 
+0x44ee 008532 ifetch 1 ,contru 
+0x44ef 008533 rshift4 pdata ,pdata 
+0x44f0 008534 and pdata ,0x3 ,pdata 
+0x44f1 008535 nbranch process_send_acl_good_lch ,blank 
+0x44f2 008536 set1 1 ,pdata 
+:      008537 process_send_acl_good_lch:
+0x44f3 008538 set1 2 ,pdata 
+0x44f4 008539 store 1 ,mem_tx_lch 
+0x44f5 008540 ifetch 2 ,contru 
+0x44f6 008541 store 2 ,mem_tx_len 
+0x44f7 008542 deposit contru 
+0x44f8 008543 store 2 ,mem_txptr 
+0x44f9 008544 set1 mark_tx_l2cap ,mark 
+0x44fa 008545 bmark0 mark_context ,process_acl_ncontext 
+0x44fb 008546 fetch 1 ,mem_conn_handle 
+0x44fc 008547 isub temp ,null 
+0x44fd 008548 nbranch process_acl_ncontext ,zero 
+0x44fe 008549 fetch 1 ,mem_op 
+0x44ff 008550 set1 op_txl2cap ,pdata 
+0x4500 008551 store 1 ,mem_op 
+0x4501 008552 rtn 
+:      008554 process_acl_ncontext:
+0x4502 008555 increase coffset_op ,rega 
+0x4503 008556 ifetch 1 ,rega 
+0x4504 008557 set1 op_txl2cap ,pdata 
+0x4505 008558 istore 1 ,rega 
+0x4506 008559 rtn 
+:      008564 process_hci_cmd:
+0x4507 008565 set0 mark_ext_patch ,mark 
+0x4508 008566 bpatch patch1a_5 ,mem_patch1a 
+0x4509 008567 fetch 1 ,mem_hci_cmd 
+0x450a 008568 branch process_hci_cmd_cont ,blank 
+0x450b 008569 enable user 
+0x450c 008570 rtn 
+:      008571 process_hci_cmd_cont:
+0x450d 008572 call hci_send_ack 
+0x450e 008573 ifetch 2 ,contru 
+0x450f 008574 iforce alarm 
+0x4510 008575 iforce queue 
+0x4511 008576 ifetch 1 ,contru 
+0x4512 008577 iforce temp 
+0x4513 008578 rshift2 alarm ,pdata 
+0x4514 008579 rshift8 pdata ,pdata 
+0x4515 008580 beq hci_ogf_link_control ,phci_grp_link_control 
+0x4516 008581 beq hci_ogf_link_policy ,phci_grp_link_policy 
+0x4517 008582 beq hci_ogf_baseband ,phci_grp_baseband 
+0x4518 008583 beq hci_ogf_info ,phci_grp_info 
+0x4519 008584 beq hci_ogf_status ,phci_grp_status 
+0x451a 008585 beq hci_ogf_test ,phci_grp_test 
+0x451b 008586 beq hci_ogf_vendor_specific ,phci_grp_vendor_specific 
+0x451c 008587 beq hci_ogf_low_energy ,phci_grp_low_energy 
+0x451d 008588 rtn 
+:      008591 phci_grp_link_control:
+0x451e 008592 set0 mark_ext_patch ,mark 
+0x451f 008593 bpatch patch1a_6 ,mem_patch1a 
+0x4520 008594 deposit queue 
+0x4521 008595 beq hci_inquiry ,phci_inquiry 
+0x4522 008596 beq hci_inquiry_cancel ,phci_inquiry_cancel 
+0x4523 008597 beq hci_periodic_inquiry_mode ,hci_normal_reply 
+0x4524 008598 beq hci_exit_periodic_inquiry_mode ,hci_normal_reply 
+0x4525 008599 beq hci_create_connection ,phci_create_connection 
+0x4526 008600 beq hci_disconnect ,phci_disconnect 
+0x4527 008601 beq hci_add_sco_connection ,hci_normal_reply 
+0x4528 008602 beq hci_create_connection_cancel ,phci_create_connection_cancel 
+0x4529 008603 beq hci_accept_connection ,phci_accept_connection 
+0x452a 008604 beq hci_reject_connection ,phci_reject_connection 
+0x452b 008605 beq hci_link_key_request_reply ,phci_link_key_request_reply 
+0x452c 008606 beq hci_link_key_request_negative_reply ,phci_link_key_request_negative_reply 
+0x452d 008607 beq hci_pin_code_request_reply ,phci_pin_code_request_reply 
+0x452e 008608 beq hci_pin_code_request_negative_reply ,phci_pin_code_request_negative_reply 
+0x452f 008609 beq hci_change_connection_packet_type ,phci_change_connection_packet_type 
+0x4530 008610 beq hci_authentication_requested ,phci_authentication_requested 
+0x4531 008611 beq hci_set_connection_encryption ,phci_set_connection_encryption 
+0x4532 008612 beq hci_change_connection_link_key ,hci_normal_reply 
+0x4533 008613 beq hci_master_link_key ,hci_normal_reply 
+0x4534 008614 beq hci_remote_name_request ,phci_remote_name_request 
+0x4535 008615 beq hci_read_remote_supported_features ,phci_read_remote_supported_features 
+0x4536 008616 beq hci_read_remote_ext_features ,phci_read_remote_ext_features 
+0x4537 008617 beq hci_read_remote_version_information ,phci_read_remote_version_information 
+0x4538 008618 beq hci_read_clock_offset ,phci_read_clock_offset 
+0x4539 008619 beq hci_setup_sco_connection ,phci_setup_sco_connection 
+0x453a 008620 beq hci_accept_sco_connection ,phci_accept_sco_connection 
+0x453b 008621 beq hci_io_cap_request_reply ,phci_io_cap_request_reply 
+0x453c 008622 branch phci_unknown_command 
+:      008625 phci_grp_link_policy:
+0x453d 008626 set0 mark_ext_patch ,mark 
+0x453e 008627 bpatch patch1a_7 ,mem_patch1a 
+0x453f 008628 deposit queue 
+0x4540 008629 beq hci_role_discovery ,phci_role_discovery 
+0x4541 008630 beq hci_write_link_policy_settings ,phci_write_link_policy_settings 
+0x4542 008631 beq hci_hold_mode ,hci_normal_reply 
+0x4543 008632 beq hci_sniff_mode ,phci_sniff_mode 
+0x4544 008633 beq hci_exit_sniff_mode ,phci_exit_sniff_mode 
+0x4545 008634 beq hci_park_mode ,hci_normal_reply 
+0x4546 008635 beq hci_exit_park_mode ,hci_normal_reply 
+0x4547 008636 beq hci_qos_setup ,hci_normal_reply 
+0x4548 008637 beq hci_switch_role ,phci_switch_role 
+0x4549 008638 beq hci_read_link_policy_settings ,hci_normal_reply 
+0x454a 008639 beq hci_read_default_link_policy_settings ,hci_normal_reply 
+0x454b 008640 beq hci_write_default_link_policy_settings ,hci_normal_reply 
+0x454c 008641 beq hci_flow_specification ,hci_normal_reply 
+0x454d 008642 beq hci_sniff_subrating ,phci_sniff_subrating 
+0x454e 008643 branch phci_unknown_command 
+:      008645 phci_grp_baseband:
+0x454f 008646 set0 mark_ext_patch ,mark 
+0x4550 008647 bpatch patch1b_0 ,mem_patch1b 
+0x4551 008648 deposit queue 
+0x4552 008649 beq hci_set_event_mask ,phci_set_event_mask 
+0x4553 008650 beq hci_reset ,hci_normal_reply 
+0x4554 008651 beq hci_delete_stored_link_key ,phci_delete_stored_link_key 
+0x4555 008652 beq hci_write_local_name ,phci_change_local_name 
+0x4556 008653 beq hci_read_local_name ,phci_read_local_name 
+0x4557 008654 beq hci_write_page_timeout ,phci_write_page_timeout 
+0x4558 008655 beq hci_read_scan_enable ,phci_read_scan_enable 
+0x4559 008656 beq hci_write_scan_enable ,phci_write_scan_enable 
+0x455a 008657 beq hci_write_page_scan_activity ,phci_write_page_scan_activity 
+0x455b 008658 beq hci_write_inquiry_scan_activity ,phci_write_inquiry_scan_activity 
+0x455c 008659 beq hci_write_authentication_enable ,phci_write_authentication_enable 
+0x455d 008660 beq hci_write_encryption_mode ,phci_write_encryption_mode 
+0x455e 008661 beq hci_write_class_of_device ,phci_write_class_of_device 
+0x455f 008662 beq hci_write_voice_setting ,hci_normal_reply 
+0x4560 008663 beq hci_set_controller_to_host_flow_control ,hci_normal_reply 
+0x4561 008664 beq hci_host_buffer_size ,hci_normal_reply 
+0x4562 008665 beq hci_host_num_completed_packets ,phci_host_num_completed 
+0x4563 008666 beq hci_write_inquiry_scan_type ,hci_normal_reply 
+0x4564 008667 beq hci_write_inquiry_mode ,hci_normal_reply 
+0x4565 008668 beq hci_write_page_scan_type ,hci_normal_reply 
+0x4566 008669 beq hci_read_extended_inquiry_response ,phci_read_ext_inquiry_response 
+0x4567 008670 beq hci_write_simple_pairing_mode ,phci_write_ssp_mode 
+0x4568 008671 branch phci_unknown_command 
+:      008673 phci_grp_info:
+0x4569 008674 set0 mark_ext_patch ,mark 
+0x456a 008675 bpatch patch1b_1 ,mem_patch1b 
+0x456b 008676 deposit queue 
+0x456c 008677 beq hci_read_local_version_information ,phci_read_local_version_information 
+0x456d 008678 beq hci_read_local_supported_features ,phci_read_local_supported_features 
+0x456e 008679 beq hci_read_local_ext_features ,phci_read_local_ext_features 
+0x456f 008680 beq hci_read_buffer_size ,phci_read_buffer_size 
+0x4570 008681 beq hci_read_bd_addr ,phci_read_bd_addr 
+0x4571 008682 branch phci_unknown_command 
+:      008684 phci_grp_status:
+0x4572 008685 set0 mark_ext_patch ,mark 
+0x4573 008686 bpatch patch1b_2 ,mem_patch1b 
+0x4574 008687 deposit queue 
+0x4575 008688 beq hci_read_failed_contact_counter ,hci_normal_reply 
+0x4576 008689 beq hci_reset_failed_contact_counter ,phci_reset_failed_contact_counter 
+0x4577 008690 beq hci_get_link_quality ,phci_get_link_quality 
+0x4578 008691 beq hci_read_rssi ,phci_read_rssi 
+0x4579 008692 beq hci_read_afh_channel_map ,phci_read_afh_channel_map 
+0x457a 008693 beq hci_read_bd_clock ,phci_read_bd_clock 
+0x457b 008694 branch phci_unknown_command 
+:      008696 phci_grp_test:
+0x457c 008697 set0 mark_ext_patch ,mark 
+0x457d 008698 bpatch patch1b_3 ,mem_patch1b 
+0x457e 008699 deposit queue 
+0x457f 008700 beq hci_read_loopback_mode ,hci_normal_reply 
+0x4580 008701 beq hci_write_loopback_mode ,hci_normal_reply 
+0x4581 008702 beq hci_enable_device_under_test_mode ,hci_normal_reply 
+0x4582 008703 beq hci_write_simple_pairing_debug_mode ,hci_normal_reply 
+0x4583 008704 branch phci_unknown_command 
+0x4584 008705 rtn 
+:      008707 phci_grp_vendor_specific:
+0x4585 008708 set0 mark_ext_patch ,mark 
+0x4586 008709 bpatch patch1b_4 ,mem_patch1b 
+0x4587 008710 deposit queue 
+0x4588 008711 beq hci_vendor_cmd_reset ,hci_normal_reply 
+0x4589 008712 beq hci_vendor_cmd_chipid ,phci_grp_vendor_chipid 
+0x458a 008713 beq hci_vendor_cmd_baud ,phci_grp_vendor_baud 
+0x458b 008714 beq hci_vendor_cmd_patch ,phci_grp_vendor_patch 
+0x458c 008715 beq hci_vendor_cmd_patch_done ,phci_grp_vendor_done 
+0x458d 008716 beq hci_vendor_cmd_echo ,hci_normal_reply 
+0x458e 008717 beq hci_vendor_cmd_bdaddr ,phci_grp_vendor_bdaddr 
+0x458f 008718 beq hci_vendor_cmd_enter_lpm ,phci_grp_vendor_enter_lpm 
+0x4590 008720 beq hci_vendor_cmd_mem ,phci_grp_vendor_mem 
+0x4591 008721 beq hci_vendor_cmd_eep ,phci_grp_vendor_eep 
+0x4592 008722 branch hci_normal_reply 
+:      008724 phci_grp_vendor_enter_lpm:
+0x4593 008725 call hci_normal_reply 
+0x4594 008726 call wait_uarttx 
+0x4595 008727 call gpio_pu_uart_tx 
+:      008728 hci_enter_lpm:
+0x4596 008729 call app_put_lpm_wake_lock 
+0x4597 008730 call app_l2cap_flow_control_enable 
+0x4598 008731 branch gpio_rx_config_input_with_pu 
+:      008733 hci_exit_lpm:
+0x4599 008734 jam hci_rx_ready ,mem_hci_lt_rx_state 
+0x459a 008735 call app_get_lpm_wake_lock 
+0x459b 008736 call hci_lpm_init 
+0x459c 008737 branch app_l2cap_flow_control_disable 
+:      008739 phci_grp_vendor_chipid:
+0x459d 008740 call hci_get_cmd_complete_ptr 
+0x459e 008741 hfetch 2 ,core_chipid 
+0x459f 008742 istore 2 ,contwu 
+0x45a0 008743 force 6 ,loopcnt 
+0x45a1 008744 branch hci_command_complete 
+:      008746 phci_grp_vendor_baud:
+0x45a2 008747 ifetch 2 ,contru 
+0x45a3 008748 store 2 ,mem_baud 
+0x45a4 008749 hstore 2 ,core_uart_baud 
+0x45a5 008750 rtn 
+:      008752 phci_grp_vendor_patch:
+0x45a6 008754 ifetch 1 ,contru 
+0x45a7 008755 copy pdata ,temp 
+0x45a8 008756 hstore 1 ,core_ucode_low 
+0x45a9 008757 ifetch 1 ,contru 
+0x45aa 008758 iadd temp ,temp 
+0x45ab 008759 set1 7 ,pdata 
+0x45ac 008760 hstore 1 ,core_ucode_ctrl 
+0x45ad 008761 ifetch 1 ,contru 
+0x45ae 008762 iadd temp ,temp 
+0x45af 008763 copy pdata ,loopcnt 
+:      008764 phci_grp_vendor_patch_loop:
+0x45b0 008765 ifetch 1 ,contru 
+0x45b1 008766 hstore 1 ,core_ucode_data 
+0x45b2 008767 iadd temp ,temp 
+0x45b3 008768 loop phci_grp_vendor_patch_loop 
+0x45b4 008769 and temp ,0xff ,temp 
+0x45b5 008770 ifetch 1 ,contru 
+0x45b6 008771 isub temp ,null 
+0x45b7 008772 nbranch phci_grp_vendor_patch_bad ,zero 
+0x45b8 008773 branch hci_normal_reply 
+:      008775 phci_grp_vendor_done:
+0x45b9 008776 arg 0x20 ,loopcnt 
+0x45ba 008777 arg mem_patch00 ,contw 
+0x45bb 008778 arg 0 ,temp 
+:      008779 phci_grp_vendor_done_loop:
+0x45bc 008780 ifetch 1 ,contru 
+0x45bd 008781 istore 1 ,contw 
+0x45be 008782 iadd temp ,temp 
+0x45bf 008783 loop phci_grp_vendor_done_loop 
+0x45c0 008784 and temp ,0xff ,temp 
+0x45c1 008785 ifetch 1 ,contru 
+0x45c2 008786 isub temp ,null 
+0x45c3 008787 nbranch phci_grp_vendor_patch_bad ,zero 
+0x45c4 008788 hjam 0 ,core_ucode_ctrl 
+0x45c5 008789 call hci_normal_reply 
+0x45c6 008790 call h4_rx_discard_packet 
+0x45c7 008791 branch soft_reset 
+:      008793 phci_grp_vendor_patch_bad:
+0x45c8 008794 hjam 0 ,core_ucode_ctrl 
+0x45c9 008795 branch start 
+:      008797 phci_grp_vendor_bdaddr:
+0x45ca 008798 ifetch 6 ,contru 
+0x45cb 008799 store 6 ,mem_lap 
+0x45cc 008800 branch hci_normal_reply 
+:      008803 phci_grp_vendor_mem:
+0x45cd 008804 ifetch 1 ,contru 
+0x45ce 008805 store 1 ,mem_hci_curr_len 
+0x45cf 008806 copy pdata ,loopcnt 
+0x45d0 008807 ifetch 2 ,contru 
+0x45d1 008808 store 2 ,mem_hci_curr_target 
+0x45d2 008809 copy pdata ,contw 
+0x45d3 008810 call uart_copy_rx_bytes 
+0x45d4 008811 branch hci_normal_reply 
+:      008814 phci_grp_vendor_eep:
+0x45d5 008815 ifetch 1 ,contru 
+0x45d6 008816 store 1 ,mem_hci_curr_len 
+0x45d7 008817 copy pdata ,loopcnt 
+0x45d8 008818 ifetch 2 ,contru 
+0x45d9 008819 store 2 ,mem_hci_curr_target 
+0x45da 008820 arg mem_l2cap_rxbuff1 ,contw 
+0x45db 008821 call uart_copy_rx_bytes 
+0x45dc 008822 fetcht 1 ,mem_hci_curr_len 
+0x45dd 008823 arg mem_l2cap_rxbuff1 ,rega 
+0x45de 008824 fetch 2 ,mem_hci_curr_target 
+0x45df 008825 branch iicd_write_ota_data 
+:      008831 phci_grp_low_energy:
+0x45e0 008832 set0 mark_ext_patch ,mark 
+0x45e1 008833 bpatch patch1b_5 ,mem_patch1b 
+0x45e2 008834 deposit queue 
+0x45e3 008835 beq hci_le_set_event_mask ,hci_normal_reply 
+0x45e4 008836 beq hci_le_read_buffer_size ,phci_le_read_buffer_size 
+0x45e5 008837 beq hci_le_read_local_supported_features ,phci_le_read_local_supported_features 
+0x45e6 008838 beq hci_le_set_advertising_parameters ,phci_le_set_adv_param 
+0x45e7 008839 beq hci_le_set_advertising_data ,phci_le_set_adv_data 
+0x45e8 008840 beq hci_le_set_scan_response_data ,phci_le_set_scan_response_data 
+0x45e9 008841 beq hci_le_set_advertise_enable ,phci_le_set_adv_enable 
+0x45ea 008842 beq hci_le_set_scan_parameters ,phci_le_set_scan_param 
+0x45eb 008843 beq hci_le_set_scan_enable ,phci_le_set_scan_enable 
+0x45ec 008844 beq hci_le_create_connection ,phci_le_create_conn 
+0x45ed 008845 beq hci_le_create_connection_cancel ,phci_le_create_conn_cancel 
+0x45ee 008846 beq hci_le_read_channel_map ,phci_le_read_channel_map 
+0x45ef 008847 beq hci_le_read_remote_used_features ,hci_command_status 
+0x45f0 008848 beq hci_le_connection_update ,hci_normal_reply 
+0x45f1 008849 branch phci_unknown_command 
+0x45f2 008850 rtn 
+:      008851 phci_le_read_buffer_size:
+0x45f3 008852 call hci_get_cmd_complete_ptr 
+0x45f4 008853 setarg 0 
+0x45f5 008854 istore 3 ,contwu 
+0x45f6 008855 force 0x07 ,loopcnt 
+0x45f7 008856 branch hci_command_complete 
+:      008858 phci_le_read_local_supported_features:
+0x45f8 008859 call hci_get_cmd_complete_ptr 
+0x45f9 008860 setarg 1 
+0x45fa 008861 istore 2 ,contwu 
+0x45fb 008862 setarg 0 
+0x45fc 008863 istore 6 ,contwu 
+0x45fd 008864 force 0x0c ,loopcnt 
+0x45fe 008865 branch hci_command_complete 
+:      008867 phci_le_set_adv_param:
+0x45ff 008868 arg 15 ,loopcnt 
+0x4600 008869 arg mem_le_adv_param ,contw 
+0x4601 008870 call uart_copy_rx_bytes 
+0x4602 008871 branch hci_normal_reply 
+:      008873 phci_le_set_adv_data:
+0x4603 008874 arg 32 ,loopcnt 
+0x4604 008875 arg mem_le_adv_data_len ,contw 
+0x4605 008876 call uart_copy_rx_bytes 
+0x4606 008877 branch hci_normal_reply 
+:      008879 phci_le_set_scan_response_data:
+0x4607 008880 arg 32 ,loopcnt 
+0x4608 008881 arg mem_le_scan_data_len ,contw 
+0x4609 008882 call uart_copy_rx_bytes 
+0x460a 008883 branch hci_normal_reply 
+:      008885 phci_le_set_adv_enable:
+0x460b 008886 ifetch 1 ,contru 
+0x460c 008887 store 1 ,mem_le_adv_enable 
+0x460d 008888 branch hci_normal_reply 
+:      008890 phci_le_set_scan_param:
+0x460e 008891 ifetch 7 ,contru 
+0x460f 008892 store 7 ,mem_le_scan_params 
+0x4610 008893 branch hci_normal_reply 
+:      008895 phci_le_set_scan_enable:
+0x4611 008896 ifetch 1 ,contru 
+0x4612 008897 store 1 ,mem_le_scan_enable 
+0x4613 008898 branch hci_normal_reply 
+:      008900 phci_le_create_conn:
+0x4614 008901 ifetch 4 ,contru 
+0x4615 008902 store 4 ,mem_le_scan_interval 
+0x4616 008903 ifetch 1 ,contru 
+0x4617 008904 store 1 ,mem_le_scan_filter_policy 
+0x4618 008905 arg 20 ,loopcnt 
+0x4619 008906 arg mem_le_conn_param ,contw 
+0x461a 008907 call uart_copy_rx_bytes 
+0x461b 008908 jam 1 ,mem_le_scan_enable 
+0x461c 008909 fetch 1 ,mem_le_conn_own_addr_type 
+0x461d 008910 store 1 ,mem_le_scan_own_addr_type 
+0x461e 008911 fetch 2 ,mem_le_conn_interval_max 
+0x461f 008912 store 2 ,mem_le_conn_interval 
+0x4620 008913 fetch 2 ,mem_le_conn_latency 
+0x4621 008914 store 2 ,mem_le_slave_latency 
+0x4622 008915 fetch 2 ,mem_le_conn_superto 
+0x4623 008916 store 2 ,mem_le_superto 
+0x4624 008917 jam hci_cmd_le_create_conn ,mem_hci_cmd 
+0x4625 008918 branch hci_command_status 
+:      008920 phci_le_create_conn_cancel:
+0x4626 008922 branch hci_normal_reply 
+:      008924 phci_le_read_channel_map:
+0x4627 008925 call hci_get_cmd_complete_ptr 
+0x4628 008926 ifetch 2 ,contru 
+0x4629 008927 istore 2 ,contwu 
+0x462a 008928 setarg 0x1fffff 
+0x462b 008929 istore 5 ,contwu 
+0x462c 008930 force 0x0b ,loopcnt 
+0x462d 008931 branch hci_command_complete 
+:      008936 phci_host_num_completed:
+0x462e 008937 ifetch 3 ,contru 
+0x462f 008938 ifetcht 3 ,contru 
+0x4630 008939 fetch 2 ,mem_acl_credits 
+0x4631 008940 iadd temp ,pdata 
+0x4632 008941 store 2 ,mem_acl_credits 
+0x4633 008942 rtn 
+:      008944 phci_inquiry:
+0x4634 008945 ifetch 3 ,contru 
+0x4635 008946 store 3 ,mem_glap 
+:      008947 do_at_inquiry0:
+0x4636 008948 jam hci_cmd_inquiry ,mem_hci_cmd 
+0x4637 008949 ifetch 1 ,contru 
+0x4638 008950 arg 1600 ,temp 
+0x4639 008951 imul32 temp ,pdata 
+0x463a 008952 arg 0xffff ,temp 
+0x463b 008953 isub temp ,null 
+0x463c 008954 nbranch phci_inquiry_nowrap ,positive 
+0x463d 008955 deposit temp 
+:      008956 phci_inquiry_nowrap:
+0x463e 008957 force inquiry_length_timer ,queue 
+0x463f 008958 call timer_init 
+0x4640 008959 fetch 1 ,mem_at_using_flag 
+0x4641 008960 bbit1 at_flag_inq ,at_rev_end 
+0x4642 008961 branch hci_command_status 
+:      008964 phci_inquiry_cancel:
+0x4643 008965 jam hci_cmd_inquiry_cancel ,mem_hci_cmd 
+0x4644 008966 branch hci_normal_reply 
+:      008968 phci_create_connection:
+0x4645 008969 call phci_read_plap 
+0x4646 008970 ifetch 2 ,contru 
+0x4647 008971 store 2 ,mem_packet_type 
+0x4648 008972 ifetch 2 ,contru 
+0x4649 008973 store 1 ,mem_page_mode 
+0x464a 008974 call phci_read_clock 
+0x464b 008975 ifetch 1 ,contru 
+0x464c 008976 store 1 ,mem_allow_switch 
+0x464d 008977 jam hci_cmd_create_conn ,mem_hci_cmd 
+0x464e 008978 branch hci_command_status 
+:      008981 phci_disconnect:
+0x464f 008982 jam hci_cmd_disconn ,mem_hci_cmd 
+0x4650 008983 ifetch 2 ,contru 
+0x4651 008984 store 1 ,mem_hci_conn_handle 
+0x4652 008985 ifetch 1 ,contru 
+0x4653 008986 store 1 ,mem_disconn_reason_send 
+0x4654 008987 jam hci_error_connection_terminated_by_local_host ,mem_hci_disconn_reason 
+0x4655 008988 fetch 1 ,mem_hci_conn_handle 
+0x4656 008989 fetcht 1 ,mem_sco_handle 
+0x4657 008990 isub temp ,null 
+0x4658 008991 nbranch hci_command_status ,zero 
+0x4659 008992 jam hci_cmd_disconn_sco ,mem_hci_cmd 
+0x465a 008993 fetch 1 ,mem_sco_asso_handle 
+0x465b 008994 store 1 ,mem_hci_conn_handle 
+0x465c 008995 branch hci_command_status 
+:      008997 phci_create_connection_cancel:
+0x465d 008998 call hci_get_cmd_complete_ptr 
+0x465e 008999 call hci_write_plap 
+0x465f 009000 force 10 ,loopcnt 
+0x4660 009001 call hci_command_complete 
+0x4661 009003 jam hci_cmd_detach ,mem_hci_cmd 
+0x4662 009004 force hci_error_no_connection ,temp 
+0x4663 009005 branch hci_send_connection_error 
+:      009007 phci_link_key_request_reply:
+0x4664 009008 call phci_read_plap 
+0x4665 009009 arg mem_link_key ,contw 
+0x4666 009010 force 16 ,loopcnt 
+0x4667 009011 call uart_copy_rx_bytes 
+0x4668 009012 jam hci_cmd_linkkey ,mem_hci_cmd 
+0x4669 009013 branch phci_pin_code_reply 
+:      009015 phci_link_key_request_negative_reply:
+0x466a 009016 call phci_read_plap 
+0x466b 009017 jam hci_cmd_nokey ,mem_hci_cmd 
+0x466c 009018 branch phci_pin_code_reply 
+:      009020 phci_pin_code_request_reply:
+0x466d 009021 call phci_read_plap 
+0x466e 009022 ifetch 1 ,contru 
+0x466f 009023 store 1 ,mem_pin_length 
+0x4670 009024 iforce loopcnt 
+0x4671 009025 arg mem_pin ,contw 
+0x4672 009026 call uart_copy_rx_bytes 
+0x4673 009027 jam hci_cmd_pair ,mem_hci_cmd 
+0x4674 009028 branch phci_pin_code_reply 
+:      009030 phci_pin_code_request_negative_reply:
+0x4675 009031 call phci_read_plap 
+0x4676 009032 jam hci_cmd_nopair ,mem_hci_cmd 
+:      009033 phci_pin_code_reply:
+0x4677 009034 call hci_get_cmd_complete_ptr 
+0x4678 009035 call hci_write_plap 
+0x4679 009036 force 10 ,loopcnt 
+0x467a 009037 branch hci_command_complete 
+:      009039 phci_io_cap_request_reply:
+0x467b 009041 increase 6 ,contru 
+0x467c 009042 ifetch 3 ,contru 
+0x467d 009043 store 3 ,mem_sp_iocap_local 
+0x467e 009044 fetch 1 ,mem_master_sp_state 
+0x467f 009045 beq sp_master_stat_start_done ,phci_io_cap_request_reply_master 
+0x4680 009046 beq sp_stat_key_send ,phci_io_cap_request_reply_master 
+0x4681 009047 jam hci_cmd_io_cap ,mem_hci_cmd 
+0x4682 009048 branch phci_io_cap_request_reply_commom 
+:      009049 phci_io_cap_request_reply_master:
+0x4683 009050 jam sp_flag_commit ,mem_master_sp_flag 
+:      009051 phci_io_cap_request_reply_commom:
+0x4684 009052 call hci_get_cmd_complete_ptr 
+0x4685 009053 call hci_write_plap 
+0x4686 009054 force 10 ,loopcnt 
+0x4687 009055 branch hci_command_complete 
+:      009058 phci_authentication_requested:
+0x4688 009059 call phci_read_handle 
+0x4689 009060 jam hci_cmd_auth ,mem_hci_cmd 
+0x468a 009061 branch hci_command_status 
+:      009063 phci_set_connection_encryption:
+0x468b 009064 call phci_read_handle 
+0x468c 009065 ifetch 1 ,contru 
+0x468d 009066 increase hci_cmd_stopencrypt ,pdata 
+0x468e 009067 store 1 ,mem_hci_cmd 
+0x468f 009068 branch hci_command_status 
+:      009070 phci_remote_name_request:
+0x4690 009071 call phci_read_plap 
+0x4691 009072 ifetch 2 ,contru 
+0x4692 009073 store 1 ,mem_page_mode 
+0x4693 009074 call phci_read_clock 
+0x4694 009075 jam hci_cmd_remote_name_req ,mem_hci_cmd 
+0x4695 009076 branch hci_command_status 
+:      009078 phci_read_remote_ext_features:
+0x4696 009079 ifetch 2 ,contru 
+0x4697 009080 ifetch 1 ,contru 
+0x4698 009081 store 1 ,mem_ext_features_page 
+0x4699 009082 jam hci_cmd_remote_ext_features_req ,mem_hci_cmd 
+0x469a 009083 branch hci_command_status 
+:      009085 phci_read_remote_supported_features:
+0x469b 009087 fetch 1 ,mem_conn_handle 
+0x469c 009088 force hci_error_no_connection ,rega 
+0x469d 009089 branch hci_command_status_err ,blank 
+0x469e 009090 call phci_read_handle 
+0x469f 009091 jam hci_cmd_remote_feature_req ,mem_hci_cmd 
+0x46a0 009092 branch hci_command_status 
+:      009095 phci_read_remote_version_information:
+0x46a1 009097 fetch 1 ,mem_conn_handle 
+0x46a2 009098 force hci_error_no_connection ,rega 
+0x46a3 009099 branch hci_command_status_err ,blank 
+0x46a4 009100 call phci_read_handle 
+0x46a5 009101 jam hci_cmd_remote_version_req ,mem_hci_cmd 
+0x46a6 009102 branch hci_command_status 
+:      009105 phci_read_clock_offset:
+0x46a7 009106 call phci_status_reply_temp 
+0x46a8 009107 force hci_event_read_clock_offset_complete ,queue 
+0x46a9 009108 force 5 ,loopcnt 
+0x46aa 009109 branch hci_send_event 
+:      009111 phci_setup_sco_connection:
+0x46ab 009112 call phci_read_handle 
+0x46ac 009113 increase 10 ,contru 
+0x46ad 009114 ifetch 2 ,contru 
+0x46ae 009115 store 2 ,mem_voice_setting 
+0x46af 009116 ifetch 1 ,contru 
+0x46b0 009117 store 1 ,mem_retransmission_effort 
+0x46b1 009118 ifetch 2 ,contru 
+0x46b2 009119 store 2 ,mem_sco_ptype 
+0x46b3 009120 jam 2 ,mem_air_mode 
+0x46b4 009121 jam hci_cmd_setup_sco ,mem_hci_cmd 
+0x46b5 009122 branch hci_command_status 
+:      009124 phci_accept_sco_connection:
+0x46b6 009125 jam hci_cmd_accept_sco_conn ,mem_hci_cmd 
+0x46b7 009126 branch hci_command_status 
+:      009130 phci_read_local_name:
+0x46b8 009131 call hci_get_cmd_complete_ptr 
+0x46b9 009132 arg mem_local_name ,contr 
+0x46ba 009133 sub contr ,0xff ,loopcnt 
+0x46bb 009134 call uart_copy_tx_bytes 
+0x46bc 009135 force 0 ,pdata 
+0x46bd 009136 sub contr ,mem_local_name ,loopcnt 
+0x46be 009137 increase 0xf8 ,loopcnt 
+0x46bf 009138 call uart_write_bytes 
+0x46c0 009139 force 0xfc ,loopcnt 
+0x46c1 009140 branch hci_command_complete 
+:      009142 phci_change_local_name:
+0x46c2 009143 arg mem_local_name ,contw 
+0x46c3 009144 sub contw ,0xff ,loopcnt 
+:      009145 phci_change_local_name_loop:
+0x46c4 009146 ifetch 1 ,contru 
+0x46c5 009147 istore 1 ,contw 
+0x46c6 009148 branch phci_write_local_name_end ,blank 
+0x46c7 009149 loop phci_change_local_name_loop 
+:      009150 phci_write_local_name_end:
+0x46c8 009151 sub contw ,mem_local_name ,pdata 
+0x46c9 009152 sub pdata ,0 ,pdata 
+0x46ca 009153 store 1 ,mem_local_name_length 
+0x46cb 009154 branch hci_normal_reply 
+:      009156 phci_role_discovery:
+0x46cc 009157 call hci_get_cmd_complete_ptr 
+0x46cd 009158 call hci_write_handle 
+0x46ce 009159 force 0 ,pdata 
+0x46cf 009160 nsetflag master ,0 ,pdata 
+0x46d0 009161 istore 1 ,contwu 
+0x46d1 009162 force 7 ,loopcnt 
+0x46d2 009163 arg 0x809 ,alarm 
+0x46d3 009164 call hci_command_complete 
+0x46d4 009165 branch cmd_exit 
+0x46d5 009166 jam hci_cmd_role_discovery ,mem_hci_cmd 
+0x46d6 009167 rtn 
+:      009170 phci_write_link_policy_settings:
+0x46d7 009171 call phci_copy_handle 
+0x46d8 009172 force 6 ,loopcnt 
+0x46d9 009173 branch hci_command_complete 
+:      009176 phci_delete_stored_link_key:
+0x46da 009177 branch hci_normal_reply 
+:      009179 phci_write_page_timeout:
+0x46db 009180 ifetch 2 ,contru 
+0x46dc 009181 store 2 ,mem_page_to 
+0x46dd 009182 branch hci_normal_reply 
+:      009185 phci_write_scan_enable:
+0x46de 009186 ifetch 1 ,contru 
+0x46df 009187 store 1 ,mem_scan_mode 
+0x46e0 009188 branch hci_normal_reply 
+:      009190 phci_write_page_scan_activity:
+0x46e1 009191 ifetch 2 ,contru 
+0x46e2 009192 store 2 ,mem_pscan_interval 
+0x46e3 009193 ifetch 2 ,contru 
+0x46e4 009194 store 2 ,mem_pscan_window 
+0x46e5 009195 branch hci_normal_reply 
+:      009197 phci_write_inquiry_scan_activity:
+0x46e6 009198 ifetch 2 ,contru 
+0x46e7 009199 store 2 ,mem_iscan_interval 
+0x46e8 009200 ifetch 2 ,contru 
+0x46e9 009201 store 2 ,mem_iscan_window 
+0x46ea 009202 branch hci_normal_reply 
+:      009204 phci_write_encryption_mode:
+0x46eb 009205 branch hci_normal_reply 
+:      009208 phci_write_authentication_enable:
+0x46ec 009209 ifetch 1 ,contru 
+0x46ed 009210 store 1 ,mem_auth_enable 
+0x46ee 009211 branch hci_normal_reply 
+:      009213 phci_write_class_of_device:
+0x46ef 009214 ifetch 3 ,contru 
+0x46f0 009215 store 3 ,mem_class 
+0x46f1 009216 branch hci_normal_reply 
+:      009221 phci_read_ext_inquiry_response:
+0x46f2 009222 deposit temp 
+0x46f3 009223 branch hci_normal_reply ,blank 
+0x46f4 009224 call hci_get_payload_ptr 
+0x46f5 009225 force 0x1 ,pdata 
+0x46f6 009226 istore 1 ,contwu 
+0x46f7 009227 deposit alarm 
+0x46f8 009228 istore 2 ,contwu 
+0x46f9 009229 force hci_error_invalid_hci_command_parameters ,pdata 
+0x46fa 009230 istore 1 ,contwu 
+0x46fb 009231 setarg 0 
+0x46fc 009232 increase 0xf1 ,loopcnt 
+0x46fd 009233 call uart_write_bytes 
+0x46fe 009235 force hci_event_command_complete ,queue 
+0x46ff 009236 force 0xf5 ,loopcnt 
+0x4700 009237 branch hci_send_event 
+:      009241 phci_write_ssp_mode:
+0x4701 009242 ifetch 1 ,contru 
+0x4702 009243 ncall ssp_enable ,blank 
+0x4703 009244 call ssp_disable ,blank 
+0x4704 009245 branch hci_normal_reply 
+:      009247 phci_read_scan_enable:
+0x4705 009248 call hci_get_cmd_complete_ptr 
+0x4706 009249 fetch 1 ,mem_scan_mode 
+0x4707 009250 istore 1 ,contwu 
+0x4708 009251 force 5 ,loopcnt 
+0x4709 009252 branch hci_command_complete 
+:      009254 phci_read_local_version_information:
+0x470a 009255 call hci_get_cmd_complete_ptr 
+0x470b 009256 fetch 8 ,mem_hci_version 
+0x470c 009257 istore 8 ,contwu 
+0x470d 009258 force 12 ,loopcnt 
+0x470e 009259 branch hci_command_complete 
+:      009261 phci_read_local_supported_features:
+0x470f 009262 call hci_get_cmd_complete_ptr 
+0x4710 009263 fetch 8 ,mem_features 
+0x4711 009264 istore 8 ,contwu 
+0x4712 009265 force 12 ,loopcnt 
+0x4713 009266 branch hci_command_complete 
+:      009268 phci_read_local_ext_features:
+0x4714 009269 call hci_get_cmd_complete_ptr 
+0x4715 009270 setarg 0x0101 
+0x4716 009271 istore 2 ,contwu 
+0x4717 009272 setarg 0x01 
+0x4718 009273 istore 8 ,contwu 
+0x4719 009274 force 14 ,loopcnt 
+0x471a 009275 branch hci_command_complete 
+:      009277 phci_read_buffer_size:
+0x471b 009278 call hci_get_cmd_complete_ptr 
+0x471c 009279 fetch 7 ,mem_acl_pktlen 
+0x471d 009280 istore 7 ,contwu 
+0x471e 009281 force 11 ,loopcnt 
+0x471f 009282 branch hci_command_complete 
+:      009284 phci_read_bd_addr:
+0x4720 009285 call hci_get_cmd_complete_ptr 
+0x4721 009286 fetch 6 ,mem_lap 
+0x4722 009287 istore 6 ,contwu 
+0x4723 009288 force 10 ,loopcnt 
+0x4724 009289 branch hci_command_complete 
+:      009291 phci_set_event_mask:
+0x4725 009292 branch hci_normal_reply 
+:      009295 phci_reset_failed_contact_counter:
+0x4726 009296 branch hci_normal_reply 
+:      009297 phci_get_link_quality:
+0x4727 009298 call hci_get_cmd_complete_ptr 
+0x4728 009299 call hci_write_handle 
+0x4729 009300 setarg 0xff 
+0x472a 009301 istore 1 ,contwu 
+0x472b 009302 force 7 ,loopcnt 
+0x472c 009303 branch hci_command_complete 
+:      009305 phci_read_rssi:
+0x472d 009306 call hci_get_cmd_complete_ptr 
+0x472e 009307 call hci_write_handle 
+0x472f 009308 setarg 0x00 
+0x4730 009309 istore 1 ,contwu 
+0x4731 009310 force 7 ,loopcnt 
+0x4732 009311 branch hci_command_complete 
+:      009313 phci_read_afh_channel_map:
+0x4733 009314 set0 mark_ext_patch ,mark 
+0x4734 009315 bpatch patch1b_6 ,mem_patch1b 
+0x4735 009316 branch hci_normal_reply 
+:      009317 phci_read_bd_clock:
+0x4736 009318 set0 mark_ext_patch ,mark 
+0x4737 009319 bpatch patch1b_7 ,mem_patch1b 
+0x4738 009320 branch hci_normal_reply 
+:      009325 phci_accept_connection:
+0x4739 009326 call phci_read_plap 
+0x473a 009327 jam hci_cmd_accept_conn ,mem_hci_cmd 
+0x473b 009328 ifetch 1 ,contru 
+0x473c 009329 beq 1 ,hci_command_status 
+0x473d 009330 jam hci_cmd_accept_with_switch ,mem_hci_cmd 
+0x473e 009331 branch hci_command_status 
+:      009333 phci_reject_connection:
+0x473f 009334 branch phci_accept_connection 
+0x4740 009335 call phci_read_plap 
+0x4741 009336 jam hci_cmd_reject_conn ,mem_hci_cmd 
+0x4742 009337 branch hci_normal_reply 
+:      009339 phci_change_connection_packet_type:
+0x4743 009340 call hci_command_status 
+0x4744 009341 call hci_get_payload_ptr 
+0x4745 009342 setarg 0 
+0x4746 009343 istore 1 ,contwu 
+0x4747 009344 ifetch 4 ,contru 
+0x4748 009345 istore 4 ,contwu 
+0x4749 009346 force 8 ,loopcnt 
+0x474a 009347 arg hci_event_connection_packet_type_changed ,queue 
+0x474b 009348 arg 5 ,loopcnt 
+0x474c 009349 branch hci_send_event 
+:      009351 phci_unknown_command:
+0x474d 009352 force hci_error_unknown_hci_command ,rega 
+0x474e 009353 branch hci_command_status_err 
+:      009355 phci_sniff_mode:
+0x474f 009358 call phci_read_handle 
+0x4750 009359 ifetch 2 ,contru 
+0x4751 009360 store 2 ,mem_sniff_param_interval 
+0x4752 009361 ifetch 2 ,contru 
+0x4753 009362 store 2 ,mem_hci_sniff_min_interval 
+0x4754 009363 ifetch 2 ,contru 
+0x4755 009364 store 2 ,mem_sniff_param_attempt 
+0x4756 009365 ifetch 2 ,contru 
+0x4757 009366 store 2 ,mem_sniff_param_timeout 
+0x4758 009367 jam hci_cmd_in_sniff ,mem_hci_cmd 
+0x4759 009368 branch hci_command_status 
+:      009370 phci_exit_sniff_mode:
+0x475a 009371 call phci_read_handle 
+0x475b 009372 call exit_sniff 
+0x475c 009373 branch hci_command_status 
+:      009375 exit_sniff:
+0x475d 009376 jam hci_cmd_exit_sniff ,mem_hci_cmd 
+0x475e 009377 rtn 
+:      009379 phci_sniff_subrating:
+0x475f 009380 branch hci_normal_reply 
+:      009382 phci_switch_role:
+0x4760 009383 call phci_read_plap 
+0x4761 009384 jam hci_cmd_role_switch ,mem_hci_cmd 
+0x4762 009385 branch hci_command_status 
+:      009387 phci_read_plap:
+0x4763 009388 ifetch 6 ,contru 
+0x4764 009389 store 6 ,mem_hci_plap 
+0x4765 009390 rtn 
+:      009392 phci_read_handle:
+0x4766 009393 ifetch 2 ,contru 
+0x4767 009394 store 1 ,mem_hci_conn_handle 
+0x4768 009395 rtn 
+:      009397 phci_copy_handle:
+0x4769 009398 call phci_read_handle 
+0x476a 009399 call hci_get_cmd_complete_ptr 
+0x476b 009400 fetch 1 ,mem_hci_conn_handle 
+0x476c 009401 istore 2 ,contwu 
+0x476d 009402 rtn 
+:      009406 phci_status_reply_temp:
+0x476e 009407 call phci_read_handle 
+0x476f 009408 call hci_command_status 
+0x4770 009409 call hci_get_payload_ptr 
+0x4771 009410 force 0 ,pdata 
+0x4772 009411 istore 1 ,contwu 
+0x4773 009412 fetch 1 ,mem_hci_conn_handle 
+0x4774 009413 istore 2 ,contwu 
+0x4775 009414 rtn 
+:      009416 phci_read_clock:
+0x4776 009417 ifetch 2 ,contru 
+0x4777 009418 iadd clkn_bt ,pdata 
+0x4778 009419 and_into 0x1fc ,pdata 
+0x4779 009420 store 4 ,mem_page_clk 
+0x477a 009421 rtn 
+:      009423 hci_inquiry_reply:
+0x477b 009424 set0 mark_ext_patch ,mark 
+0x477c 009425 bpatch patch1c_0 ,mem_patch1c 
+0x477d 009426 fetch 1 ,mem_rp_packets 
+0x477e 009427 sub pdata ,2 ,null 
+0x477f 009428 nrtn positive 
+0x4780 009429 fetcht 6 ,extm_lap 
+0x4781 009430 call context_search_plap2 
+0x4782 009431 rtn zero 
+0x4783 009432 call hci_get_packet_ptr 
+0x4784 009433 setarg 0x10f22 
+0x4785 009434 istore 3 ,contwu 
+0x4786 009435 fetch 6 ,extm_lap 
+0x4787 009436 istore 6 ,contwu 
+0x4788 009437 fetch 1 ,extm_fhs_misc 
+0x4789 009438 copy pdata ,temp 
+0x478a 009439 rshift3 pdata ,pdata 
+0x478b 009440 rshift3 pdata ,pdata 
+0x478c 009441 istore 1 ,contwu 
+0x478d 009442 copy temp ,pdata 
+0x478e 009443 and pdata ,0x30 ,pdata 
+0x478f 009444 rshift3 pdata ,pdata 
+0x4790 009445 rshift pdata ,pdata 
+0x4791 009446 istore 1 ,contwu 
+0x4792 009447 fetch 3 ,extm_class 
+0x4793 009448 istore 3 ,contwu 
+0x4794 009449 fetch 4 ,mem_clke_bt 
+0x4795 009450 isub clkn_bt ,pdata 
+0x4796 009451 istore 2 ,contwu 
+0x4797 009452 setarg 0xc8 
+0x4798 009453 istore 1 ,contwu 
+0x4799 009454 force 15 ,loopcnt 
+0x479a 009455 branch hci_send_event_raw 
+:      009457 hci_inquiry_reply_eir:
+0x479b 009458 set0 mark_ext_patch ,mark 
+0x479c 009459 bpatch patch1c_1 ,mem_patch1c 
+0x479d 009460 force 540 ,temp 
+0x479e 009461 fetch 2 ,mem_h5tx_free 
+0x479f 009462 isub temp ,null 
+0x47a0 009463 nrtn positive 
+0x47a1 009464 fetcht 3 ,mem_extm_uap_restore 
+0x47a2 009465 fetch 3 ,extm_uap 
+0x47a3 009466 isub temp ,null 
+0x47a4 009467 rtn zero 
+0x47a5 009468 rtn blank 
+0x47a6 009469 store 3 ,mem_extm_uap_restore 
+0x47a7 009470 fetch 1 ,mem_rp_packets 
+0x47a8 009471 sub pdata ,2 ,null 
+0x47a9 009472 nrtn positive 
+0x47aa 009473 fetcht 6 ,extm_lap 
+0x47ab 009474 call context_search_plap2 
+0x47ac 009475 rtn zero 
+0x47ad 009476 call hci_eir_reply 
+0x47ae 009477 force 15 ,temp 
+0x47af 009478 fetch 1 ,mem_rxbuf + 1 
+0x47b0 009479 bne 0x09 ,hci_inquiry_reply_eir_end 
+0x47b1 009480 fetch 1 ,mem_rxbuf 
+0x47b2 009481 branch hci_inquiry_reply_eir_end ,blank 
+0x47b3 009482 iforce loopcnt 
+0x47b4 009483 istore 1 ,contwu 
+0x47b5 009484 iadd temp ,temp 
+0x47b6 009485 increase 1 ,temp 
+0x47b7 009486 arg mem_rxbuf + 1 ,contr 
+:      009488 hci_inquiry_name_loop:
+0x47b8 009489 ifetch 1 ,contr 
+0x47b9 009490 istore 1 ,contwu 
+0x47ba 009491 loop hci_inquiry_name_loop 
+:      009492 hci_inquiry_other_rtn_loop:
+0x47bb 009493 ifetch 1 ,contr 
+0x47bc 009494 branch hci_inquiry_reply_eir_end ,blank 
+0x47bd 009495 iforce loopcnt 
+0x47be 009496 istore 1 ,contwu 
+0x47bf 009497 iadd temp ,temp 
+0x47c0 009498 increase 1 ,temp 
+:      009499 hci_inquiry_other_loop:
+0x47c1 009500 ifetch 1 ,contr 
+0x47c2 009501 istore 1 ,contwu 
+0x47c3 009502 loop hci_inquiry_other_loop 
+0x47c4 009503 branch hci_inquiry_other_rtn_loop 
+:      009504 hci_inquiry_reply_eir_end:
+0x47c5 009505 sub temp ,0xff ,pdata 
+0x47c6 009506 iforce loopcnt 
+:      009507 hci_inquiry_fill_zero:
+0x47c7 009508 setarg 0x00 
+0x47c8 009509 istore 1 ,contwu 
+0x47c9 009510 loop hci_inquiry_fill_zero 
+0x47ca 009511 force 0xff ,loopcnt 
+0x47cb 009512 branch hci_send_event_raw 
+:      009514 hci_eir_reply:
+0x47cc 009515 set0 mark_ext_patch ,mark 
+0x47cd 009516 bpatch patch1c_2 ,mem_patch1c 
+0x47ce 009517 call hci_get_packet_ptr 
+0x47cf 009518 setarg 0x1ff2f 
+0x47d0 009519 istore 3 ,contwu 
+0x47d1 009520 fetch 6 ,extm_lap 
+0x47d2 009521 istore 6 ,contwu 
+0x47d3 009522 fetch 1 ,extm_fhs_misc 
+0x47d4 009523 copy pdata ,temp 
+0x47d5 009524 rshift3 pdata ,pdata 
+0x47d6 009525 rshift3 pdata ,pdata 
+0x47d7 009526 istore 1 ,contwu 
+0x47d8 009527 copy temp ,pdata 
+0x47d9 009528 and pdata ,0x30 ,pdata 
+0x47da 009529 rshift3 pdata ,pdata 
+0x47db 009530 rshift pdata ,pdata 
+0x47dc 009531 istore 1 ,contwu 
+0x47dd 009532 fetch 3 ,extm_class 
+0x47de 009533 istore 3 ,contwu 
+0x47df 009534 fetch 4 ,mem_clke_bt 
+0x47e0 009535 isub clkn_bt ,pdata 
+0x47e1 009536 istore 2 ,contwu 
+0x47e2 009537 setarg 0xc8 
+0x47e3 009538 istore 1 ,contwu 
+0x47e4 009539 rtn 
+:      009541 hci_send_remote_features:
+0x47e5 009542 set0 mark_ext_patch ,mark 
+0x47e6 009543 bpatch patch1c_3 ,mem_patch1c 
+0x47e7 009544 fetch 1 ,mem_device_option 
+0x47e8 009545 rtnne dvc_op_hci 
+0x47e9 009546 call hci_write_handle3 
+0x47ea 009547 istoret 8 ,contwu 
+0x47eb 009548 force 11 ,loopcnt 
+0x47ec 009549 force hci_event_read_remote_features_complete ,queue 
+0x47ed 009550 branch hci_send_event 
+:      009552 hci_send_remote_ext_features_notification:
+0x47ee 009553 set0 mark_ext_patch ,mark 
+0x47ef 009554 bpatch patch1c_4 ,mem_patch1c 
+0x47f0 009555 fetch 1 ,mem_device_option 
+0x47f1 009556 rtnne dvc_op_hci 
+0x47f2 009558 call hci_get_payload_ptr 
+0x47f3 009559 fetch 6 ,mem_plap 
+0x47f4 009560 istore 6 ,contwu 
+0x47f5 009561 istoret 8 ,contwu 
+0x47f6 009562 force 14 ,loopcnt 
+0x47f7 009563 force hci_event_remote_host_supported_features_notification ,queue 
+0x47f8 009564 branch hci_send_event 
+:      009566 hci_send_remote_ext_features_event:
+0x47f9 009567 set0 mark_ext_patch ,mark 
+0x47fa 009568 bpatch patch1c_5 ,mem_patch1c 
+0x47fb 009569 fetch 1 ,mem_device_option 
+0x47fc 009570 rtnne dvc_op_hci 
+0x47fd 009572 call hci_write_handle3 
+0x47fe 009573 fetch 1 ,mem_ext_features_page 
+0x47ff 009574 istore 1 ,contwu 
+0x4800 009575 setarg 1 
+0x4801 009576 istore 1 ,contwu 
+0x4802 009577 istoret 8 ,contwu 
+0x4803 009578 force 13 ,loopcnt 
+0x4804 009579 force hci_event_read_remote_ext_features_complete ,queue 
+0x4805 009580 branch hci_send_event 
+:      009583 hci_send_version_information:
+0x4806 009584 set0 mark_ext_patch ,mark 
+0x4807 009585 bpatch patch1c_6 ,mem_patch1c 
+0x4808 009586 fetch 1 ,mem_device_option 
+0x4809 009587 rtnne dvc_op_hci 
+0x480a 009588 call hci_write_handle3 
+0x480b 009589 istoret 5 ,contwu 
+0x480c 009590 force 8 ,loopcnt 
+0x480d 009591 force hci_event_read_remote_version_information_complete ,queue 
+0x480e 009592 branch hci_send_event 
+:      009594 hci_send_io_cap_response_event:
+0x480f 009595 set0 mark_ext_patch ,mark 
+0x4810 009596 bpatch patch1c_7 ,mem_patch1c 
+0x4811 009597 fetch 1 ,mem_device_option 
+0x4812 009598 rtnne dvc_op_hci 
+0x4813 009600 call hci_get_payload_ptr 
+0x4814 009601 fetch 6 ,mem_plap 
+0x4815 009602 istore 6 ,contwu 
+0x4816 009603 fetch 3 ,mem_sp_iocap_remote 
+0x4817 009604 istore 3 ,contwu 
+0x4818 009605 force 9 ,loopcnt 
+0x4819 009606 force hci_event_io_cap_response ,queue 
+0x481a 009607 branch hci_send_event 
+:      009609 hci_send_io_cap_req_event:
+0x481b 009610 set0 mark_ext_patch ,mark 
+0x481c 009611 bpatch patch1d_0 ,mem_patch1d 
+0x481d 009612 fetch 1 ,mem_device_option 
+0x481e 009613 rtnne dvc_op_hci 
+0x481f 009615 call hci_get_payload_ptr 
+0x4820 009616 fetch 6 ,mem_plap 
+0x4821 009617 istore 6 ,contwu 
+0x4822 009618 force 6 ,loopcnt 
+0x4823 009619 force hci_event_io_cap_req ,queue 
+0x4824 009620 branch hci_send_event 
+:      009623 hci_send_connection_complete:
+0x4825 009624 force 0 ,temp 
+:      009625 hci_send_connection_error:
+0x4826 009626 set0 mark_ext_patch ,mark 
+0x4827 009627 bpatch patch1d_1 ,mem_patch1d 
+0x4828 009628 fetch 1 ,mem_device_option 
+0x4829 009629 rtnne dvc_op_hci 
+0x482a 009630 force hci_event_connection_complete ,queue 
+0x482b 009631 jam 5 ,mem_acl_credits 
+0x482c 009632 call hci_get_payload_ptr 
+0x482d 009633 istoret 1 ,contwu 
+0x482e 009634 call hci_write_handle 
+0x482f 009635 call hci_write_plap 
+0x4830 009636 force 1 ,pdata 
+0x4831 009637 istore 1 ,contwu 
+0x4832 009638 force 0 ,pdata 
+0x4833 009639 fetcht 1 ,mem_state_map 
+0x4834 009640 isolate1 smap_encryption ,temp 
+0x4835 009641 setflag true ,0 ,pdata 
+0x4836 009642 istore 1 ,contwu 
+0x4837 009643 force 11 ,loopcnt 
+0x4838 009644 branch hci_send_event 
+:      009647 hci_send_conn_req_event:
+0x4839 009648 set0 mark_ext_patch ,mark 
+0x483a 009649 bpatch patch1d_2 ,mem_patch1d 
+0x483b 009650 fetch 1 ,mem_device_option 
+0x483c 009651 rtnne dvc_op_hci 
+0x483d 009652 force hci_event_connection_request ,queue 
+0x483e 009653 call hci_get_payload_ptr 
+0x483f 009654 call hci_write_plap 
+0x4840 009656 fetch 3 ,extm_class 
+0x4841 009657 istore 3 ,contwu 
+0x4842 009658 istoret 1 ,contwu 
+0x4843 009659 force 10 ,loopcnt 
+0x4844 009660 branch hci_send_event 
+:      009662 hci_send_encryption_change:
+0x4845 009663 set0 mark_ext_patch ,mark 
+0x4846 009664 bpatch patch1d_3 ,mem_patch1d 
+0x4847 009665 fetch 1 ,mem_device_option 
+0x4848 009666 rtnne dvc_op_hci 
+0x4849 009667 call hci_write_handle3 
+0x484a 009668 force 0 ,pdata 
+0x484b 009669 fetcht 1 ,mem_state_map 
+0x484c 009670 isolate1 smap_encryption ,temp 
+0x484d 009671 setflag true ,0 ,pdata 
+0x484e 009672 istore 1 ,contwu 
+0x484f 009673 force hci_event_encryption_change_complete ,queue 
+0x4850 009674 force 4 ,loopcnt 
+0x4851 009675 branch hci_send_event 
+:      009678 hci_send_linkkey_notification:
+0x4852 009679 set0 mark_ext_patch ,mark 
+0x4853 009680 bpatch patch1d_4 ,mem_patch1d 
+0x4854 009681 fetch 1 ,mem_device_option 
+0x4855 009682 rtnne dvc_op_hci 
+0x4856 009683 force hci_event_link_key_notification ,queue 
+0x4857 009684 call hci_get_payload_ptr 
+0x4858 009685 call hci_write_plap 
+0x4859 009686 arg mem_link_key ,contr 
+0x485a 009687 force 16 ,loopcnt 
+0x485b 009688 call uart_copy_tx_bytes 
+0x485c 009689 force 0x05 ,pdata 
+0x485d 009690 istore 1 ,contwu 
+0x485e 009691 force 0x17 ,loopcnt 
+0x485f 009692 branch hci_send_event 
+:      009694 hci_send_user_confirmation_req:
+0x4860 009695 fetch 1 ,mem_device_option 
+0x4861 009696 rtnne dvc_op_hci 
+0x4862 009697 force hci_event_user_confirmation_request ,queue 
+0x4863 009698 call hci_get_payload_ptr 
+0x4864 009699 call hci_write_plap 
+0x4865 009700 fetch 4 ,mem_sp_gkey 
+0x4866 009701 istore 4 ,contwu 
+0x4867 009702 force 0xa ,loopcnt 
+0x4868 009703 branch hci_send_event 
+:      009705 hci_send_ssp_complete:
+0x4869 009706 fetch 1 ,mem_device_option 
+0x486a 009707 rtnne dvc_op_hci 
+0x486b 009708 force hci_event_simple_pairing_complete ,queue 
+0x486c 009709 call hci_get_payload_ptr 
+0x486d 009710 setarg 0 
+0x486e 009711 istore 1 ,contwu 
+0x486f 009712 call hci_write_plap 
+0x4870 009713 force 0x7 ,loopcnt 
+0x4871 009714 branch hci_send_event 
+:      009717 hci_send_linkkey_req:
+0x4872 009718 set0 mark_ext_patch ,mark 
+0x4873 009719 bpatch patch1d_5 ,mem_patch1d 
+0x4874 009720 force hci_event_link_key_request ,queue 
+:      009721 hci_send_sec_req:
+0x4875 009722 fetch 1 ,mem_device_option 
+0x4876 009723 rtnne dvc_op_hci 
+0x4877 009724 call hci_get_payload_ptr 
+0x4878 009725 call hci_write_plap 
+0x4879 009726 force 6 ,loopcnt 
+0x487a 009727 branch hci_send_event 
+:      009729 hci_send_pincode_req:
+0x487b 009730 fetch 1 ,mem_device_option 
+0x487c 009731 rtnne dvc_op_hci 
+0x487d 009732 force hci_event_pin_code_request ,queue 
+0x487e 009733 branch hci_send_sec_req 
+:      009736 hci_send_role_change:
+0x487f 009737 fetch 1 ,mem_device_option 
+0x4880 009738 rtnne dvc_op_hci 
+0x4881 009739 force hci_event_role_change ,queue 
+0x4882 009740 call hci_get_payload_ptr 
+0x4883 009741 force 0 ,pdata 
+0x4884 009742 istore 1 ,contwu 
+0x4885 009743 call hci_write_plap 
+0x4886 009744 istoret 1 ,contwu 
+0x4887 009745 force 8 ,loopcnt 
+0x4888 009746 branch hci_send_event 
+:      009748 hci_send_role_change_err:
+0x4889 009749 fetch 1 ,mem_device_option 
+0x488a 009750 rtnne dvc_op_hci 
+0x488b 009751 force 0 ,temp 
+0x488c 009752 nbranch hci_send_role_change_err_slave ,master 
+0x488d 009753 force 1 ,temp 
+:      009754 hci_send_role_change_err_slave:
+0x488e 009755 fetch 1 ,mem_device_option 
+0x488f 009756 rtnne dvc_op_hci 
+0x4890 009757 force hci_event_role_change ,queue 
+0x4891 009758 call hci_get_payload_ptr 
+0x4892 009759 force 0x35 ,pdata 
+0x4893 009760 istore 1 ,contwu 
+0x4894 009761 call hci_write_plap 
+0x4895 009762 istoret 1 ,contwu 
+0x4896 009763 force 8 ,loopcnt 
+0x4897 009764 branch hci_send_event 
+:      009766 hci_send_name:
+0x4898 009767 set0 mark_ext_patch ,mark 
+0x4899 009768 bpatch patch1d_6 ,mem_patch1d 
+0x489a 009769 fetch 1 ,mem_device_option 
+0x489b 009770 rtnne dvc_op_hci 
+0x489c 009771 call hci_get_packet_ptr 
+0x489d 009772 setarg 0xff07 
+0x489e 009773 istore 2 ,contwu 
+0x489f 009774 deposit queue 
+0x48a0 009775 istore 1 ,contwu 
+0x48a1 009776 call hci_write_plap 
+0x48a2 009777 arg mem_tmp_buffer ,contr 
+0x48a3 009778 force 248 ,loopcnt 
+:      009779 hci_read_remote_name_loop:
+0x48a4 009780 ifetch 1 ,contr 
+0x48a5 009781 istore 1 ,contwu 
+0x48a6 009782 loop hci_read_remote_name_loop 
+0x48a7 009783 force 0xff ,loopcnt 
+0x48a8 009784 branch hci_send_event_raw 
+:      009786 hci_send_num_complete_packets:
+0x48a9 009787 set0 mark_ext_patch ,mark 
+0x48aa 009788 bpatch patch1d_7 ,mem_patch1d 
+0x48ab 009789 fetch 1 ,mem_device_option 
+0x48ac 009790 rtnne dvc_op_hci 
+0x48ad 009791 hfetch 1 ,core_uart_txitems 
+0x48ae 009792 nrtn blank 
+0x48af 009793 fetch 1 ,mem_op 
+0x48b0 009794 rtnbit0 op_pkt_comp 
+0x48b1 009795 set0 op_pkt_comp ,pdata 
+0x48b2 009796 store 1 ,mem_op 
+0x48b3 009797 call hci_get_payload_ptr 
+0x48b4 009798 force 1 ,pdata 
+0x48b5 009799 istore 1 ,contwu 
+0x48b6 009800 call hci_write_handle 
+0x48b7 009801 force 1 ,pdata 
+0x48b8 009802 istore 2 ,contwu 
+0x48b9 009803 force hci_event_num_completed_packets ,queue 
+0x48ba 009804 force 5 ,loopcnt 
+0x48bb 009805 branch hci_send_event 
+:      009809 hci_send_auth_complete:
+0x48bc 009810 set0 mark_ext_patch ,mark 
+0x48bd 009811 bpatch patch1e_0 ,mem_patch1e 
+0x48be 009812 fetch 1 ,mem_device_option 
+0x48bf 009813 rtnne dvc_op_hci 
+0x48c0 009814 call hci_write_handle3 
+0x48c1 009815 force hci_event_authentication_complete ,queue 
+0x48c2 009816 force 3 ,loopcnt 
+0x48c3 009817 branch hci_send_event 
+:      009821 hci_send_disconn_complete:
+0x48c4 009822 set0 mark_ext_patch ,mark 
+0x48c5 009823 bpatch patch1e_1 ,mem_patch1e 
+0x48c6 009824 fetch 1 ,mem_device_option 
+0x48c7 009825 rtnne dvc_op_hci 
+0x48c8 009826 call hci_get_payload_ptr 
+0x48c9 009827 force 0 ,pdata 
+0x48ca 009828 istore 1 ,contwu 
+0x48cb 009829 istoret 2 ,contwu 
+0x48cc 009830 fetch 1 ,mem_hci_disconn_reason 
+0x48cd 009831 istore 1 ,contwu 
+0x48ce 009832 force hci_event_disconnection_complete ,queue 
+0x48cf 009833 force 4 ,loopcnt 
+0x48d0 009834 branch hci_send_event 
+:      009837 hci_send_le_adv_report_event:
+0x48d1 009838 set0 mark_ext_patch ,mark 
+0x48d2 009839 bpatch patch1e_2 ,mem_patch1e 
+0x48d3 009840 fetch 1 ,mem_device_option 
+0x48d4 009841 rtnne dvc_op_hci ,pdata 
+0x48d5 009842 call hci_get_payload_ptr 
+0x48d6 009843 setarg 0x0102 
+0x48d7 009844 istore 2 ,contwu 
+0x48d8 009845 fetcht 1 ,mem_le_rxbuf 
+0x48d9 009846 and temp ,0xf ,pdata 
+0x48da 009847 istore 1 ,contwu 
+0x48db 009848 copy rega ,pdata 
+0x48dc 009849 istore 1 ,contwu 
+0x48dd 009850 fetcht 1 ,mem_le_rxbuf + 1 
+0x48de 009851 increase -6 ,temp 
+0x48df 009852 fetch 6 ,mem_le_rxbuf + 2 
+0x48e0 009853 istore 6 ,contwu 
+0x48e1 009854 istoret 1 ,contwu 
+0x48e2 009855 copy temp ,loopcnt 
+0x48e3 009856 call uart_copy_tx_bytes 
+0x48e4 009857 setarg 127 
+0x48e5 009858 istore 1 ,contwu 
+0x48e6 009859 copy temp ,loopcnt 
+0x48e7 009860 add loopcnt ,12 ,loopcnt 
+0x48e8 009861 force hci_event_le_meta_event ,queue 
+0x48e9 009862 branch hci_send_event 
+:      009864 hci_send_le_conn_complete:
+0x48ea 009865 set0 mark_ext_patch ,mark 
+0x48eb 009866 bpatch patch1e_3 ,mem_patch1e 
+0x48ec 009867 fetch 1 ,mem_device_option 
+0x48ed 009868 rtnne dvc_op_hci ,pdata 
+0x48ee 009869 call hci_get_payload_ptr 
+0x48ef 009870 setarg hci_le_subevent_conn_complete 
+0x48f0 009871 istore 1 ,contwu 
+0x48f1 009872 istoret 1 ,contwu 
+0x48f2 009873 fetch 1 ,mem_le_conn_handle 
+0x48f3 009874 istore 2 ,contwu 
+0x48f4 009875 fetch 1 ,mem_le_mode 
+0x48f5 009876 rshift pdata ,pdata 
+0x48f6 009877 setflip 0 ,pdata 
+0x48f7 009878 istore 1 ,contwu 
+0x48f8 009879 fetch 1 ,mem_le_conn_peer_addr_type 
+0x48f9 009880 istore 1 ,contwu 
+0x48fa 009881 fetch 6 ,mem_le_plap 
+0x48fb 009882 istore 6 ,contwu 
+0x48fc 009883 fetch 2 ,mem_le_conn_interval 
+0x48fd 009884 istore 2 ,contwu 
+0x48fe 009885 fetch 2 ,mem_le_slave_latency 
+0x48ff 009886 istore 2 ,contwu 
+0x4900 009887 fetch 2 ,mem_le_superto 
+0x4901 009888 istore 2 ,contwu 
+0x4902 009889 fetch 1 ,mem_le_peer_sca 
+0x4903 009890 istore 1 ,contwu 
+0x4904 009891 force hci_event_le_meta_event ,queue 
+0x4905 009892 arg 19 ,loopcnt 
+0x4906 009893 branch hci_send_event 
+:      009897 hci_send_mode_change:
+0x4907 009898 set0 mark_ext_patch ,mark 
+0x4908 009899 bpatch patch1e_4 ,mem_patch1e 
+0x4909 009900 fetch 1 ,mem_device_option 
+0x490a 009901 rtnne dvc_op_hci 
+0x490b 009903 call hci_get_payload_ptr 
+0x490c 009904 call hci_write_handle3 
+0x490d 009905 istoret 1 ,contwu 
+0x490e 009906 fetch 2 ,mem_tsniff 
+0x490f 009907 rshift pdata ,pdata 
+0x4910 009908 istore 2 ,contwu 
+0x4911 009909 force 6 ,loopcnt 
+0x4912 009910 force hci_event_mode_change ,queue 
+0x4913 009911 branch hci_send_event 
+:      009914 hci_send_sco_complete:
+0x4914 009915 set0 mark_ext_patch ,mark 
+0x4915 009916 bpatch patch1e_5 ,mem_patch1e 
+0x4916 009917 fetch 1 ,mem_device_option 
+0x4917 009918 rtnne dvc_op_hci 
+0x4918 009919 set0 mark_ext_patch ,mark 
+0x4919 009920 bpatch patch1e_6 ,mem_patch1e 
+0x491a 009921 call hci_get_payload_ptr 
+0x491b 009922 istoret 1 ,contwu 
+0x491c 009923 setarg 0xe00 
+0x491d 009924 istore 2 ,contwu 
+0x491e 009925 call hci_write_plap 
+0x491f 009926 force 0 ,pdata 
+0x4920 009927 bmark1 mark_esco ,hci_send_esco 
+0x4921 009928 force 0 ,pdata 
+0x4922 009929 istore 7 ,contwu 
+0x4923 009930 branch hci_send_sco_cont 
+:      009931 hci_send_esco:
+0x4924 009932 fetch 1 ,mem_device_option 
+0x4925 009933 rtnne dvc_op_hci 
+0x4926 009934 setarg 0x020602 
+0x4927 009935 istore 3 ,contwu 
+0x4928 009936 setarg 30 
+0x4929 009937 istore 2 ,contwu 
+0x492a 009938 setarg 30 
+0x492b 009939 istore 2 ,contwu 
+:      009940 hci_send_sco_cont:
+0x492c 009941 fetch 1 ,mem_device_option 
+0x492d 009942 rtnne dvc_op_hci 
+0x492e 009943 fetch 1 ,mem_air_mode 
+0x492f 009944 istore 1 ,contwu 
+0x4930 009945 force hci_event_sco_connection_complete ,queue 
+0x4931 009946 force 17 ,loopcnt 
+0x4932 009947 branch hci_send_event 
+:      009950 hci_command_status:
+0x4933 009951 set0 mark_ext_patch ,mark 
+0x4934 009952 bpatch patch1e_7 ,mem_patch1e 
+0x4935 009953 call hci_get_payload_ptr 
+0x4936 009954 setarg 0x100 
+0x4937 009955 istore 2 ,contwu 
+0x4938 009956 deposit alarm 
+0x4939 009957 istore 2 ,contwu 
+0x493a 009958 force 4 ,loopcnt 
+0x493b 009959 force hci_event_command_status ,queue 
+0x493c 009960 branch hci_send_event 
+:      009962 hci_command_status_err:
+0x493d 009963 set0 mark_ext_patch ,mark 
+0x493e 009964 bpatch patch1f_0 ,mem_patch1f 
+0x493f 009965 call hci_get_payload_ptr 
+0x4940 009966 deposit rega 
+0x4941 009967 istore 1 ,contwu 
+0x4942 009968 setarg 0x01 
+0x4943 009969 istore 1 ,contwu 
+0x4944 009970 deposit alarm 
+0x4945 009971 istore 2 ,contwu 
+0x4946 009972 force 4 ,loopcnt 
+0x4947 009973 force hci_event_command_status ,queue 
+0x4948 009974 branch hci_send_event 
+:      009976 hci_normal_reply:
+0x4949 009977 set0 mark_ext_patch ,mark 
+0x494a 009978 bpatch patch1f_1 ,mem_patch1f 
+0x494b 009979 force 4 ,loopcnt 
+:      009980 hci_command_complete:
+0x494c 009981 call hci_get_payload_ptr 
+0x494d 009982 force 0x1 ,pdata 
+0x494e 009983 istore 1 ,contwu 
+0x494f 009984 deposit alarm 
+0x4950 009985 istore 3 ,contwu 
+0x4951 009986 force hci_event_command_complete ,queue 
+:      009987 hci_send_event:
+0x4952 009988 set0 mark_ext_patch ,mark 
+0x4953 009989 bpatch patch1f_2 ,mem_patch1f 
+0x4954 009990 call hci_get_packet_ptr 
+0x4955 009991 deposit queue 
+0x4956 009992 istore 1 ,contwu 
+0x4957 009993 deposit loopcnt 
+0x4958 009994 istore 1 ,contwu 
+:      009995 hci_send_event_raw:
+0x4959 009996 set1 mark_h5tx_rp ,mark 
+0x495a 009997 force 5 ,queue 
+0x495b 009998 increase 2 ,loopcnt 
+:      009999 hci_send_packet:
+0x495c 010000 call hci_check_bcsp_protocol 
+0x495d 010001 branch bcsp_send_packet ,true 
+0x495e 010002 branch h4_send_packet_event 
+:      010004 hci_send_commu_ready_event:
+0x495f 010005 force hci_event_vendor_specific ,queue 
+0x4960 010006 call hci_get_payload_ptr 
+0x4961 010007 setarg hci_vendor_event_commu_ready 
+0x4962 010008 istore 1 ,contwu 
+0x4963 010009 force 1 ,loopcnt 
+0x4964 010010 branch hci_send_event 
+:      010013 hci_write_plap:
+0x4965 010014 fetch 6 ,mem_plap 
+0x4966 010015 istore 6 ,contwu 
+0x4967 010016 rtn 
+:      010018 hci_write_handle3:
+0x4968 010019 call hci_get_payload_ptr 
+0x4969 010020 force 0 ,pdata 
+0x496a 010021 istore 1 ,contwu 
+:      010022 hci_write_handle:
+0x496b 010023 fetch 1 ,mem_conn_handle 
+0x496c 010024 istore 2 ,contwu 
+0x496d 010025 rtn 
+:      010027 hci_get_cmd_complete_ptr:
+0x496e 010028 force 12 ,contwu 
+0x496f 010029 branch hci_get_tx_ptr 
+:      010031 hci_get_payload_ptr:
+0x4970 010032 force 8 ,contwu 
+0x4971 010033 branch hci_get_tx_ptr 
+:      010035 hci_get_packet_ptr:
+0x4972 010036 force 6 ,contwu 
+:      010037 hci_get_tx_ptr:
+0x4973 010038 call hci_check_bcsp_protocol 
+0x4974 010039 branch bcsp_get_tx_ptr ,true 
+0x4975 010040 branch h4_get_tx_ptr 
+:      010042 uart_copy_tx_bytes:
+0x4976 010043 deposit loopcnt 
+0x4977 010044 rtn blank 
+:      010045 uart_copy_tx_bytes_loop:
+0x4978 010046 ifetch 1 ,contr 
+0x4979 010047 istore 1 ,contwu 
+0x497a 010048 loop uart_copy_tx_bytes_loop 
+0x497b 010049 rtn 
+:      010051 uart_copy_rx_bytes:
+0x497c 010052 deposit loopcnt 
+0x497d 010053 rtn blank 
+:      010054 uart_copy_rx_bytes_loop:
+0x497e 010055 ifetch 1 ,contru 
+0x497f 010056 istore 1 ,contw 
+0x4980 010057 loop uart_copy_rx_bytes_loop 
+0x4981 010058 rtn 
+:      010060 uart_write_bytes:
+0x4982 010061 istore 1 ,contwu 
+0x4983 010062 rshift8 pdata ,pdata 
+0x4984 010063 loop uart_write_bytes 
+0x4985 010064 rtn 
+:      010067 calc_tx_crc16:
+0x4986 010068 pulse crc16 
+0x4987 010069 enable enable_crc 
+:      010070 crcloop:
+0x4988 010071 ifetch 1 ,contwu 
+0x4989 010072 inject bucket ,8 
+0x498a 010073 loop crcloop 
+0x498b 010074 enable enable_parity 
+0x498c 010075 inject bucket ,16 
+0x498d 010076 disable enable_parity 
+0x498e 010077 disable enable_crc 
+0x498f 010078 disable crc16 
+0x4990 010079 byteswap pdata ,pdata 
+0x4991 010080 rtn 
+:      010082 stop_loop:
+0x4992 010083 nop 1 
+0x4993 010084 hjam 1 ,0x8203 
+0x4994 010085 branch stop_loop 
+:      010089 process_cmd:
+0x4995 010090 set0 mark_ext_patch ,mark 
+0x4996 010091 bpatch patch1f_3 ,mem_patch1f 
+0x4997 010092 fetch 1 ,mem_hci_cmd 
+0x4998 010093 rtn blank 
+0x4999 010094 fetch 1 ,mem_lmo_opcode2 
+0x499a 010095 nrtn blank 
+0x499b 010096 call cmd_check_plap 
+0x499c 010097 nbranch process_cmd_conn_handle ,zero 
+0x499d 010098 fetch 1 ,mem_hci_cmd 
+0x499e 010099 beq hci_cmd_remote_name_req ,cmd_namereq 
+0x499f 010100 beq hci_cmd_pair ,cmd_pair 
+0x49a0 010101 beq hci_cmd_nopair ,cmd_nopair 
+0x49a1 010102 beq hci_cmd_linkkey ,cmd_has_key 
+0x49a2 010103 beq hci_cmd_nokey ,cmd_no_key 
+0x49a3 010104 beq hci_cmd_reject_conn ,cmd_disconn 
+0x49a4 010105 beq hci_cmd_role_switch ,cmd_role_switch 
+0x49a5 010106 beq hci_cmd_accept_conn ,cmd_accept_conn 
+0x49a6 010107 beq hci_cmd_accept_with_switch ,cmd_accept_with_switch 
+0x49a7 010108 beq hci_cmd_detach ,cmd_detach 
+0x49a8 010109 beq hci_cmd_in_sniff ,cmd_in_sniff 
+0x49a9 010110 beq hci_cmd_exit_sniff ,cmd_exit_sniff 
+:      010111 process_cmd_conn_handle:
+0x49aa 010112 set0 mark_ext_patch ,mark 
+0x49ab 010113 bpatch patch1f_4 ,mem_patch1f 
+0x49ac 010114 call cmd_check_handle 
+0x49ad 010115 nrtn blank 
+0x49ae 010116 fetch 1 ,mem_hci_cmd 
+0x49af 010117 beq hci_cmd_auth ,cmd_auth 
+0x49b0 010118 beq hci_cmd_startencrypt ,cmd_start_encrypt 
+0x49b1 010119 beq hci_cmd_stopencrypt ,cmd_stop_encrypt 
+0x49b2 010120 beq hci_cmd_setup_sco ,cmd_setup_sco 
+0x49b3 010121 beq hci_cmd_disconn_sco ,cmd_disconn_sco 
+0x49b4 010122 beq hci_cmd_accept_sco_conn ,cmd_accept_sco_conn 
+0x49b5 010123 beq hci_cmd_remote_feature_req ,cmd_feature_req 
+0x49b6 010124 beq hci_cmd_remote_ext_features_req ,cmd_ext_feature_req 
+0x49b7 010125 beq hci_cmd_remote_version_req ,cmd_version_req 
+0x49b8 010126 beq hci_cmd_role_discovery ,cmd_role_discovery 
+0x49b9 010127 beq hci_cmd_io_cap ,cmd_io_cap 
+0x49ba 010128 rtnne hci_cmd_disconn 
+0x49bb 010129 call lmp_disconnect 
+:      010130 cmd_exit:
+0x49bc 010131 jam 0 ,mem_hci_cmd 
+0x49bd 010132 rtn 
+:      010134 cmd_check_plap:
+0x49be 010135 fetch 6 ,mem_hci_plap 
+0x49bf 010136 fetcht 6 ,mem_plap 
+0x49c0 010137 isub temp ,null 
+0x49c1 010138 rtn 
+:      010141 cmd_check_handle:
+0x49c2 010142 fetch 1 ,mem_hci_conn_handle 
+0x49c3 010143 fetcht 1 ,mem_conn_handle 
+0x49c4 010144 isub temp ,pdata 
+0x49c5 010145 rtn 
+:      010147 cmd_accept_conn:
+0x49c6 010148 jam lmp_accepted ,mem_lmo_opcode2 
+0x49c7 010149 jam lmp_host_connection_req ,mem_lmi_opcode2 
+0x49c8 010150 call tid_set_reply 
+0x49c9 010151 branch cmd_exit 
+:      010153 cmd_accept_with_switch:
+0x49ca 010154 branch cmd_accept_sco_conn ,master 
+0x49cb 010155 set1 mark_accept_switch ,mark 
+:      010156 cmd_role_switch:
+0x49cc 010157 jam lmp_slot_offset ,mem_lmo_opcode2 
+0x49cd 010158 set1 mark_switch_initiated ,mark 
+0x49ce 010159 nbranch cmd_exit ,master 
+0x49cf 010160 jam lmp_switch_req ,mem_lmo_opcode2 
+0x49d0 010161 fetch 1 ,mem_connection_options 
+0x49d1 010162 set0 connection_switch ,pdata 
+0x49d2 010163 store 1 ,mem_connection_options 
+0x49d3 010164 branch cmd_exit 
+:      010167 cmd_namereq:
+0x49d4 010168 jam lmp_name_req ,mem_lmo_opcode2 
+0x49d5 010169 jam 0 ,mem_name_offset 
+0x49d6 010170 branch cmd_exit 
+:      010173 cmd_ssp:
+0x49d7 010174 jam sp_flag_commit ,mem_master_sp_flag 
+0x49d8 010175 jam sp_master_stat_start_skip ,mem_master_sp_state 
+0x49d9 010176 branch cmd_exit 
+:      010178 cmd_pair:
+0x49da 010179 fetch 1 ,mem_op 
+0x49db 010180 bbit1 op_inrand_req ,cmd_pair_passive 
+0x49dc 010181 call tid_initiate 
+0x49dd 010182 jam lmp_in_rand ,mem_lmo_opcode2 
+0x49de 010183 branch cmd_exit 
+:      010184 cmd_pair_passive:
+0x49df 010185 set0 op_inrand_req ,pdata 
+0x49e0 010186 store 1 ,mem_op 
+0x49e1 010187 call lmp_accept_inrand 
+0x49e2 010188 setarg 0 
+0x49e3 010189 setflag master ,smap_lmptid ,pdata 
+0x49e4 010190 store 1 ,mem_lmo_tid2 
+0x49e5 010191 branch cmd_exit 
+:      010193 cmd_nopair:
+0x49e6 010194 jam pairing_not_allowed ,mem_disconn_reason_send 
+0x49e7 010195 jam lmp_detach ,mem_lmo_opcode2 
+0x49e8 010196 fetch 1 ,mem_state 
+0x49e9 010197 bbit1 state_inconn ,cmd_exit 
+0x49ea 010198 force hci_error_pairing_not_allowed ,temp 
+0x49eb 010199 call hci_send_connection_error 
+0x49ec 010200 branch cmd_exit 
+:      010203 cmd_has_key:
+0x49ed 010204 call linkkey_set 
+0x49ee 010205 fetch 1 ,mem_op 
+0x49ef 010206 bbit1 op_auth_req ,cmd_send_aurand 
+0x49f0 010207 bbit1 op_send_sres ,cmd_send_sres 
+0x49f1 010208 bbit1 op_inrand_req ,cmd_pair_passive 
+0x49f2 010209 branch cmd_exit 
+:      010210 cmd_send_sres:
+0x49f3 010211 set0 op_send_sres ,pdata 
+0x49f4 010212 store 1 ,mem_op 
+0x49f5 010213 jam lmp_sres ,mem_lmo_opcode2 
+0x49f6 010214 branch cmd_exit 
+:      010216 cmd_no_key:
+0x49f7 010217 fetch 1 ,mem_op 
+0x49f8 010218 bbit1 op_send_sres ,cmd_no_key_reject 
+0x49f9 010219 call hci_send_pincode_req 
+0x49fa 010220 branch cmd_exit 
+:      010221 cmd_no_key_reject:
+0x49fb 010222 set0 op_send_sres ,pdata 
+0x49fc 010223 store 1 ,mem_op 
+0x49fd 010224 jam lmp_not_accepted ,mem_lmo_opcode2 
+0x49fe 010225 jam lmp_au_rand ,mem_lmi_opcode2 
+0x49ff 010226 jam key_missing ,mem_lmo_reason2 
+0x4a00 010227 branch cmd_exit 
+:      010230 cmd_auth:
+0x4a01 010231 fetch 1 ,mem_op 
+0x4a02 010232 set1 op_auth_req ,pdata 
+0x4a03 010233 store 1 ,mem_op 
+0x4a04 010234 fetch 1 ,mem_state 
+0x4a05 010235 bbit1 state_linkkey ,cmd_auth_sendaurand 
+0x4a06 010236 call hci_send_linkkey_req 
+0x4a07 010237 branch cmd_exit 
+:      010239 cmd_send_aurand:
+:      010240 cmd_auth_sendaurand:
+0x4a08 010241 call tid_initiate 
+0x4a09 010242 jam lmp_au_rand ,mem_lmo_opcode2 
+0x4a0a 010243 branch cmd_exit 
+:      010245 cmd_start_encrypt:
+0x4a0b 010246 jam lmp_encryption_mode_req ,mem_lmo_opcode2 
+0x4a0c 010247 branch cmd_exit 
+:      010249 cmd_stop_encrypt:
+0x4a0d 010250 jam lmp_encryption_mode_req ,mem_lmo_opcode2 
+0x4a0e 010251 branch cmd_exit 
+:      010253 cmd_feature_req:
+0x4a0f 010254 set0 mark_ext_patch ,mark 
+0x4a10 010255 bpatch patch1f_5 ,mem_patch1f 
+0x4a11 010256 jam lmp_features_req ,mem_lmo_opcode2 
+0x4a12 010257 jam hci_cmd_wait_remote_feature ,mem_hci_cmd 
+0x4a13 010258 rtn 
+:      010260 cmd_ext_feature_req:
+0x4a14 010261 jam lmp_ext_features_req ,mem_lmo_opcode2 
+0x4a15 010262 jam hci_cmd_wait_remote_ext_feature ,mem_hci_cmd 
+0x4a16 010263 rtn 
+:      010265 cmd_version_req:
+0x4a17 010266 jam lmp_version_req ,mem_lmo_opcode2 
+0x4a18 010267 branch cmd_exit 
+:      010269 cmd_in_sniff:
+0x4a19 010270 jam lmp_sniff_req ,mem_lmo_opcode2 
+0x4a1a 010271 arg mem_sniff_payload ,contw 
+0x4a1b 010272 setarg 0 
+0x4a1c 010273 isolate1 27 ,clke_bt 
+0x4a1d 010274 setflag true ,1 ,pdata 
+0x4a1e 010275 istore 1 ,contw 
+0x4a1f 010276 setarg 0 
+0x4a20 010277 istore 2 ,contw 
+0x4a21 010278 fetch 2 ,mem_sniff_param_interval 
+0x4a22 010279 istore 2 ,contw 
+0x4a23 010280 fetch 1 ,mem_sniff_param_attempt 
+0x4a24 010281 istore 2 ,contw 
+0x4a25 010282 fetch 1 ,mem_sniff_param_timeout 
+0x4a26 010283 istore 2 ,contw 
+0x4a27 010284 branch cmd_exit 
+:      010286 cmd_exit_sniff:
+0x4a28 010287 jam lmp_unsniff_req ,mem_lmo_opcode2 
+0x4a29 010288 branch cmd_exit 
+:      010290 cmd_setup_sco:
+0x4a2a 010291 call new_conn_handle 
+0x4a2b 010292 store 1 ,mem_sco_handle 
+0x4a2c 010293 fetch 1 ,mem_conn_handle 
+0x4a2d 010294 store 1 ,mem_sco_asso_handle 
+0x4a2e 010295 jam lmp_sco_link_req ,mem_lmo_opcode2 
+0x4a2f 010296 set1 mark_esco ,mark 
+0x4a30 010297 jam lmp_ext_esco_link_req ,mem_lmo_opcode2 
+0x4a31 010298 branch cmd_exit 
+:      010300 cmd_disconn:
+0x4a32 010301 call lmp_disconnect 
+0x4a33 010302 branch cmd_exit 
+:      010304 cmd_disconn_sco:
+0x4a34 010305 jam lmp_remove_sco_link_req ,mem_lmo_opcode2 
+0x4a35 010306 bmark0 mark_esco ,cmd_exit 
+0x4a36 010307 jam lmp_ext_remove_esco_req ,mem_lmo_opcode2 
+0x4a37 010308 branch cmd_exit 
+:      010310 cmd_accept_sco_conn:
+0x4a38 010311 branch cmd_accept_sco_conn_master ,master 
+0x4a39 010312 jam lmp_accepted ,mem_lmo_opcode2 
+0x4a3a 010313 jam lmp_sco_link_req ,mem_lmi_opcode2 
+0x4a3b 010314 bmark0 mark_esco ,cmd_exit 
+0x4a3c 010315 fetch 1 ,mem_esco_type 
+0x4a3d 010316 bne type_hv3 ,parse_lmpext_esco_link_req_change_param 
+0x4a3e 010317 jam lmp_ext_accepted ,mem_lmo_opcode2 
+0x4a3f 010318 jam lmp_ext_esco_link_req ,mem_lmi_opcode2 
+0x4a40 010319 branch cmd_exit 
+:      010320 cmd_accept_sco_conn_master:
+0x4a41 010321 call new_conn_handle 
+0x4a42 010322 store 1 ,mem_sco_handle 
+0x4a43 010323 fetch 1 ,mem_conn_handle 
+0x4a44 010324 store 1 ,mem_sco_asso_handle 
+0x4a45 010325 jam lmp_sco_link_req ,mem_lmo_opcode2 
+0x4a46 010326 bmark0 mark_esco ,cmd_exit 
+0x4a47 010327 branch parse_lmpext_esco_link_req_change_param 
+:      010330 cmd_role_discovery:
+0x4a48 010331 call hci_get_cmd_complete_ptr 
+0x4a49 010332 call hci_write_handle 
+0x4a4a 010333 force 0 ,pdata 
+0x4a4b 010334 nsetflag master ,0 ,pdata 
+0x4a4c 010335 istore 1 ,contwu 
+0x4a4d 010336 force 7 ,loopcnt 
+0x4a4e 010337 arg 0x809 ,alarm 
+0x4a4f 010338 call hci_command_complete 
+0x4a50 010339 branch cmd_exit 
+:      010341 cmd_io_cap:
+0x4a51 010342 jam lmp_io_cap_res ,mem_lmo_opcode2 
+0x4a52 010343 branch cmd_exit 
+:      010345 cmd_detach:
+0x4a53 010346 jam lmp_detach ,mem_lmo_opcode2 
+0x4a54 010347 jam other_end_terminated ,mem_disconn_reason_send 
+0x4a55 010348 branch cmd_exit 
+:      010353 process_hci_patch:
+0x4a56 010354 jam 0 ,mem_check_sum 
+0x4a57 010357 ifetch 1 ,contru 
+0x4a58 010358 store 1 ,mem_ucode_id_remote 
+0x4a59 010359 call hci_ucode_checksum_add 
+0x4a5a 010361 call push_stack 
+0x4a5b 010362 fetch 1 ,mem_ucode_id_remote 
+0x4a5c 010363 copy pdata ,temp 
+0x4a5d 010364 fetch 1 ,mem_ucode_id_local 
+0x4a5e 010365 increase 1 ,pdata 
+0x4a5f 010366 icompare 0xff ,temp 
+0x4a60 010367 nbranch hci_nak_ucode_with_stack ,true 
+0x4a61 010368 store 1 ,mem_ucode_id_local 
+0x4a62 010369 call pop_stack 
+0x4a63 010371 ifetch 1 ,contru 
+0x4a64 010372 beq 0x01 ,hci_enable_ucode_load 
+0x4a65 010373 beq 0x02 ,process_hci_ucode 
+0x4a66 010374 beq 0x03 ,hci_disable_ucode_load 
+0x4a67 010375 beq 0x05 ,process_hci_n_sched_data 
+0x4a68 010376 beq 0x06 ,hci_write_register 
+0x4a69 010377 beq 0x07 ,hci_read_register 
+0x4a6a 010378 beq 0x08 ,hci_enable_ucode 
+0x4a6b 010379 beq 0x09 ,hci_soft_branch 
+0x4a6c 010380 rtn 
+:      010381 hci_ucode_checksum_add:
+0x4a6d 010382 copy pdata ,temp 
+0x4a6e 010383 call push_stack 
+0x4a6f 010384 fetch 1 ,mem_check_sum 
+0x4a70 010385 iadd temp ,pdata 
+0x4a71 010386 store 1 ,mem_check_sum 
+0x4a72 010387 branch pop_stack 
+:      010390 hci_ack_ucode:
+0x4a73 010391 force 1 ,pdata 
+0x4a74 010392 call uart_send_byte 
+0x4a75 010393 fetch 1 ,mem_ucode_id_local 
+0x4a76 010394 branch uart_send_byte 
+:      010396 hci_nak_ucode_with_stack:
+0x4a77 010397 call pop_stack 
+0x4a78 010398 branch hci_nak_ucode_ucode_id 
+:      010399 hci_nak_ucode:
+0x4a79 010400 fetch 1 ,mem_ucode_id_local 
+0x4a7a 010401 increase -1 ,pdata 
+0x4a7b 010402 store 1 ,mem_ucode_id_local 
+:      010403 hci_nak_ucode_ucode_id:
+0x4a7c 010404 force 0 ,pdata 
+0x4a7d 010405 call uart_send_byte 
+0x4a7e 010406 fetch 1 ,mem_ucode_id_local 
+0x4a7f 010407 branch uart_send_byte 
+:      010409 hci_write_register:
+0x4a80 010410 call hci_ucode_checksum_add 
+0x4a81 010411 ifetch 1 ,contru 
+0x4a82 010412 store 1 ,mem_ucode_temp 
+0x4a83 010413 call hci_ucode_checksum_add 
+0x4a84 010414 ifetch 1 ,contru 
+0x4a85 010415 lshift8 pdata ,contw 
+0x4a86 010416 call hci_ucode_checksum_add 
+0x4a87 010417 fetch 1 ,mem_ucode_temp 
+0x4a88 010418 iadd contw ,contw 
+0x4a89 010419 ifetch 1 ,contru 
+0x4a8a 010420 istore 1 ,contw 
+0x4a8b 010421 call hci_ucode_checksum_add 
+0x4a8c 010422 ifetch 1 ,contru 
+0x4a8d 010423 call hci_ucode_checksum_add 
+0x4a8e 010424 fetch 1 ,mem_check_sum 
+0x4a8f 010425 bne 0xff ,hci_nak_ucode 
+0x4a90 010426 branch hci_ack_ucode 
+:      010428 hci_read_register:
+0x4a91 010429 call hci_ucode_checksum_add 
+0x4a92 010430 ifetch 1 ,contru 
+0x4a93 010431 store 1 ,mem_ucode_temp 
+0x4a94 010432 call hci_ucode_checksum_add 
+0x4a95 010433 ifetch 1 ,contru 
+0x4a96 010434 store 1 ,mem_ucode_temp1 
+0x4a97 010435 call hci_ucode_checksum_add 
+0x4a98 010436 ifetch 1 ,contru 
+0x4a99 010437 call hci_ucode_checksum_add 
+0x4a9a 010438 fetch 1 ,mem_check_sum 
+0x4a9b 010439 bne 0xff ,hci_nak_ucode 
+0x4a9c 010441 fetch 1 ,mem_ucode_temp1 
+0x4a9d 010442 lshift8 pdata ,temp 
+0x4a9e 010443 fetch 1 ,mem_ucode_temp 
+0x4a9f 010444 iadd temp ,contru 
+0x4aa0 010445 ifetch 1 ,contru 
+0x4aa1 010446 store 1 ,mem_ucode_temp 
+:      010447 hci_read_register_ack:
+0x4aa2 010448 force 1 ,pdata 
+0x4aa3 010449 call uart_send_byte 
+0x4aa4 010450 fetch 1 ,mem_ucode_temp 
+0x4aa5 010451 call uart_send_byte 
+0x4aa6 010452 jam 0xff ,mem_ucode_id_local 
+0x4aa7 010453 rtn 
+:      010455 hci_enable_ucode:
+0x4aa8 010456 call hci_ucode_checksum_add 
+0x4aa9 010457 ifetch 1 ,contru 
+0x4aaa 010458 call hci_ucode_checksum_add 
+0x4aab 010459 fetch 1 ,mem_check_sum 
+0x4aac 010460 bne 0xff ,hci_nak_ucode 
+0x4aad 010461 branch hci_ack_ucode 
+:      010463 process_hci_ucode:
+0x4aae 010464 call hci_ucode_checksum_add 
+0x4aaf 010465 ifetch 1 ,contru 
+0x4ab0 010466 hstore 1 ,core_ucode_low 
+0x4ab1 010467 call hci_ucode_checksum_add 
+0x4ab2 010468 ifetch 1 ,contru 
+0x4ab3 010469 set1 7 ,pdata 
+0x4ab4 010470 hstore 1 ,core_ucode_ctrl 
+0x4ab5 010471 set0 7 ,pdata 
+0x4ab6 010472 call hci_ucode_checksum_add 
+0x4ab7 010473 ifetch 1 ,contru 
+0x4ab8 010474 copy pdata ,loopcnt 
+0x4ab9 010475 call hci_ucode_checksum_add 
+:      010476 write_ucode_loop:
+0x4aba 010477 ifetch 1 ,contru 
+0x4abb 010478 hstore 1 ,core_ucode_data 
+0x4abc 010479 call hci_ucode_checksum_add 
+0x4abd 010480 loop write_ucode_loop 
+0x4abe 010481 ifetch 1 ,contru 
+0x4abf 010482 call hci_ucode_checksum_add 
+0x4ac0 010483 fetch 1 ,mem_check_sum 
+0x4ac1 010484 bne 0xff ,hci_nak_ucode 
+0x4ac2 010485 branch hci_ack_ucode 
+:      010487 process_hci_n_sched_data:
+0x4ac3 010488 call hci_ucode_checksum_add 
+0x4ac4 010489 ifetch 1 ,contru 
+0x4ac5 010490 store 1 ,mem_ucode_temp 
+0x4ac6 010491 call hci_ucode_checksum_add 
+0x4ac7 010492 ifetch 1 ,contru 
+0x4ac8 010493 lshift8 pdata ,contw 
+0x4ac9 010494 call hci_ucode_checksum_add 
+0x4aca 010495 fetch 1 ,mem_ucode_temp 
+0x4acb 010496 iadd contw ,contw 
+0x4acc 010497 ifetch 1 ,contru 
+0x4acd 010498 iforce loopcnt 
+0x4ace 010499 call hci_ucode_checksum_add 
+:      010500 process_hci_n_sched_loop:
+0x4acf 010501 ifetch 1 ,contru 
+0x4ad0 010502 istore 1 ,contw 
+0x4ad1 010503 call hci_ucode_checksum_add 
+0x4ad2 010504 loop process_hci_n_sched_loop 
+0x4ad3 010505 ifetch 1 ,contru 
+0x4ad4 010506 call hci_ucode_checksum_add 
+0x4ad5 010507 fetch 1 ,mem_check_sum 
+0x4ad6 010508 bne 0xff ,hci_nak_ucode 
+0x4ad7 010509 branch hci_ack_ucode 
+:      010513 hci_enable_ucode_load:
+0x4ad8 010514 call hci_ucode_checksum_add 
+0x4ad9 010515 ifetch 1 ,contru 
+0x4ada 010516 call hci_ucode_checksum_add 
+0x4adb 010517 fetch 1 ,mem_check_sum 
+0x4adc 010518 bne 0xff ,hci_nak_ucode 
+0x4add 010519 hjam 0x80 ,core_ucode_ctrl 
+0x4ade 010520 branch hci_ack_ucode 
+:      010522 hci_disable_ucode_load:
+0x4adf 010523 call hci_ucode_checksum_add 
+0x4ae0 010524 ifetch 1 ,contru 
+0x4ae1 010525 call hci_ucode_checksum_add 
+0x4ae2 010526 fetch 1 ,mem_check_sum 
+0x4ae3 010527 bne 0xff ,hci_nak_ucode 
+0x4ae4 010528 hjam 0 ,core_ucode_ctrl 
+0x4ae5 010529 branch hci_ack_ucode 
+:      010531 hci_soft_branch:
+0x4ae6 010532 call hci_ucode_checksum_add 
+0x4ae7 010533 ifetch 1 ,contru 
+0x4ae8 010534 call hci_ucode_checksum_add 
+0x4ae9 010535 fetch 1 ,mem_check_sum 
+0x4aea 010536 bne 0xff ,hci_nak_ucode 
+0x4aeb 010537 call hci_ack_ucode 
+0x4aec 010538 branch soft_reset 
+:      010541 hci_idle_dispatch:
+0x4aed 010542 call gpio_check_uart_state 
+0x4aee 010543 rtn true 
+0x4aef 010544 arg uart_wakeup_rx ,temp 
+0x4af0 010545 call gpio_get_bit 
+0x4af1 010546 nbranch uart_wake_up ,true 
+0x4af2 010547 jam hci_rx_wake ,mem_hci_lt_rx_state 
+0x4af3 010548 rtn 
+:      010549 uart_wake_up:
+0x4af4 010550 fetch 1 ,mem_hci_lt_rx_state 
+0x4af5 010551 rtnne hci_rx_wake 
+0x4af6 010552 call hci_exit_lpm 
+0x4af7 010553 branch hci_send_commu_ready_event 
+:      010567 hid_rx_process:
+0x4af8 010568 set1 mark_ext_patch ,mark 
+0x4af9 010569 bpatch patch33_4 ,mem_patch33 
+0x4afa 010570 fetch 2 ,mem_l2cap_payload_ptr 
+0x4afb 010571 copy pdata ,contr 
+0x4afc 010572 ifetch 1 ,contr 
+0x4afd 010573 and pdata ,0x0f ,temp 
+0x4afe 010574 rshift4 pdata ,pdata 
+0x4aff 010575 beq hid_type_set_idle ,hid_rx_process_handshake 
+0x4b00 010576 beq hid_type_set_protocol ,hid_rx_process_handshake 
+0x4b01 010577 beq hid_type_data ,hid_rx_process_data 
+0x4b02 010578 beq hid_type_set_report ,hid_rx_process_set_report 
+0x4b03 010579 beq hid_type_control ,hid_rx_process_hid_control 
+0x4b04 010580 rtn 
+:      010582 hid_rx_process_hid_control:
+0x4b05 010583 copy temp ,pdata 
+0x4b06 010584 beq hid_control_p_virtualcableunplug ,hid_rx_process_virtual_cable_unplug 
+0x4b07 010585 beq hid_control_p_suspend ,hid_rx_process_suspend 
+0x4b08 010586 rtn 
+:      010588 hid_rx_process_virtual_cable_unplug:
+0x4b09 010589 jam bt_evt_virtual_cable_unplug ,mem_fifo_temp 
+0x4b0a 010590 call ui_ipc_send_event 
+0x4b0b 010591 fetch 1 ,mem_device_option 
+0x4b0c 010592 rtnne dvc_op_mouse ,pdata 
+0x4b0d 010593 copy temp ,pdata 
+0x4b0e 010594 beq hid_control_p_virtualcableunplug ,eeprom_erase_reconn_info 
+0x4b0f 010595 rtn 
+:      010596 hid_rx_process_suspend:
+0x4b10 010597 rtn 
+:      010599 hid_rx_process_set_report:
+0x4b11 010600 arg 0x01 ,rega 
+0x4b12 010601 call hid_malloc_tx_buff 
+0x4b13 010602 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x4b14 010603 istore 2 ,contw 
+0x4b15 010604 setarg 0x00 
+0x4b16 010605 istore 1 ,contw 
+0x4b17 010606 rtn 
+:      010608 hid_rx_process_handshake:
+0x4b18 010609 arg 1 ,rega 
+0x4b19 010610 call hid_malloc_tx_buff 
+0x4b1a 010611 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x4b1b 010612 istore 2 ,contw 
+0x4b1c 010613 setarg 0 
+0x4b1d 010614 istore 1 ,contw 
+0x4b1e 010615 jam 1 ,mem_ui_data_txbuff_length 
+0x4b1f 010616 fetch 1 ,mem_hid_control_state 
+0x4b20 010617 set1 l2cap_channel_hid_handshake_done 
+0x4b21 010618 store 1 ,mem_hid_control_state 
+:      010619 hid_handshake_event:
+0x4b22 010620 jam bt_evt_hid_handshake ,mem_fifo_temp 
+0x4b23 010621 branch ui_ipc_send_event 
+:      010623 hid_rx_process_data:
+0x4b24 010624 ifetch 1 ,contr 
+0x4b25 010625 beq hid_report_id_kb ,hid_rx_process_data_hid_kb 
+0x4b26 010626 rtn 
+:      010628 hid_rx_process_data_hid_kb:
+0x4b27 010629 copy contr ,rega 
+0x4b28 010630 fetch 1 ,mem_device_option 
+0x4b29 010631 rtnne dvc_op_kb ,pdata 
+0x4b2a 010632 copy rega ,contr 
+0x4b2b 010633 branch kb_process_kb_report 
+:      010635 hid_malloc_tx_buff:
+0x4b2c 010636 call l2cap_malloc 
+0x4b2d 010637 copy rega ,temp 
+0x4b2e 010638 storet 1 ,mem_ui_data_txbuff_length 
+0x4b2f 010639 copy pdata ,contw 
+0x4b30 010640 copy rega ,pdata 
+0x4b31 010641 istore 2 ,contw 
+0x4b32 010642 rtn 
+:      010645 le_ir_init:
+0x4b33 010646 setarg le_ir 
+0x4b34 010647 store 2 ,mem_cb_le_process 
+0x4b35 010648 setarg le_ir_wcb 
+0x4b36 010649 store 2 ,mem_cb_att_write 
+0x4b37 010650 call eeprom_load_reconn_info 
+0x4b38 010651 call le_init_att 
+0x4b39 010652 hjam 158 ,core_pwm_ncnt0 
+0x4b3a 010653 hjam 8 ,core_gpio_sel1 
+0x4b3b 010654 hjam 5 ,core_gpio_out1 
+0x4b3c 010655 setarg -1 
+0x4b3d 010656 set0 1 ,pdata 
+0x4b3e 010657 set0 21 ,pdata 
+0x4b3f 010658 hstore 4 ,core_gpio_oe0 
+0x4b40 010659 hjam 2 ,core_gpio_pu0 
+0x4b41 010660 rtn wake 
+0x4b42 010661 jam 1 ,mem_le_adv_enable 
+0x4b43 010662 rtn 
+:      010665 le_ir_wcb:
+0x4b44 010666 ifetch 1 ,rega 
+0x4b45 010667 store 1 ,mem_ir_cmd 
+0x4b46 010668 beq ircmd_write_pulse ,le_ir_write_pulse 
+0x4b47 010669 beq ircmd_write_seq ,le_ir_write_seq 
+0x4b48 010670 beq ircmd_write_next ,le_ir_write_next 
+0x4b49 010671 beq ircmd_screen_on ,le_ir_screen_on 
+0x4b4a 010672 beq ircmd_screen_off ,le_ir_screen_off 
+0x4b4b 010673 rtnne ircmd_play 
+0x4b4c 010674 ifetch 1 ,contr 
+0x4b4d 010675 store 1 ,mem_ir_play_count 
+0x4b4e 010676 rtn 
+:      010678 le_ir_write_pulse:
+0x4b4f 010679 arg mem_ir_pulse_zero ,contw 
+0x4b50 010680 branch le_ir_write 
+:      010682 le_ir_write_seq:
+0x4b51 010683 arg mem_ir_sequence_len ,contw 
+0x4b52 010684 branch le_ir_write 
+:      010686 le_ir_write_next:
+0x4b53 010687 fetch 2 ,mem_ir_ptr 
+0x4b54 010688 iforce contw 
+:      010690 le_ir_write:
+0x4b55 010691 arg 19 ,loopcnt 
+0x4b56 010692 call memcpy 
+0x4b57 010693 deposit contw 
+0x4b58 010694 store 2 ,mem_ir_ptr 
+0x4b59 010695 jam 0 ,mem_ir_cmd 
+0x4b5a 010696 rtn 
+:      010700 le_ir:
+0x4b5b 010701 fetch 1 ,mem_ir_cmd 
+0x4b5c 010702 beq ircmd_record ,le_ir_start_record 
+0x4b5d 010703 beq ircmd_play ,le_ir_play 
+0x4b5e 010704 beq ircmd_report_pulse ,le_ir_report 
+0x4b5f 010705 beq ircmd_report_seq ,le_ir_report 
+0x4b60 010706 beq ircmd_report_raw ,le_ir_report 
+0x4b61 010707 beq ircmd_test_play ,le_ir_play 
+0x4b62 010708 beq ircmd_test_rec ,le_ir_rec 
+0x4b63 010709 rtn 
+:      010711 le_ir_screen_on:
+0x4b64 010712 jam 0 ,mem_lpm_mult 
+0x4b65 010713 jam 0 ,mem_ir_cmd 
+0x4b66 010714 rtn 
+:      010715 le_ir_screen_off:
+0x4b67 010716 jam 30 ,mem_lpm_mult 
+0x4b68 010717 jam 0 ,mem_ir_cmd 
+0x4b69 010718 rtn 
+:      010722 le_ir_rec:
+0x4b6a 010723 jam 0 ,mem_ir_cmd 
+0x4b6b 010724 arg 0xfffff ,stop_watch 
+0x4b6c 010725 call ir_record 
+0x4b6d 010726 rtn 
+:      010728 le_ir_next_anchor:
+0x4b6e 010729 fetcht 2 ,mem_le_tsniff 
+0x4b6f 010730 iadd temp ,pdata 
+0x4b70 010731 store 4 ,mem_le_anchor 
+:      010732 le_ir_start_record:
+0x4b71 010733 fetch 4 ,mem_le_anchor 
+0x4b72 010734 isub clke_bt ,pdata 
+0x4b73 010735 nbranch le_ir_next_anchor ,positive 
+0x4b74 010736 rshift pdata ,stop_watch 
+0x4b75 010737 call ir_record 
+0x4b76 010738 rtn blank 
+0x4b77 010739 jam ircmd_report_raw ,mem_ir_cmd 
+0x4b78 010740 arg mem_ir_record ,temp 
+0x4b79 010741 storet 2 ,mem_ir_ptr 
+:      010743 le_ir_report:
+0x4b7a 010744 call le_xtype_fifo_is_full 
+0x4b7b 010745 nrtn blank 
+0x4b7c 010746 jam notify_handle ,mem_le_notify_handle 
+0x4b7d 010747 jam attop_handle_value_notification ,mem_fifo_temp 
+0x4b7e 010748 call le_xtype_fifo_in 
+0x4b7f 010749 fetch 2 ,mem_le_notify_attr_start 
+0x4b80 010750 iforce contw 
+0x4b81 010751 fetch 2 ,mem_ir_ptr 
+0x4b82 010752 iforce contr 
+0x4b83 010753 arg 20 ,loopcnt 
+0x4b84 010754 call memcpy 
+0x4b85 010755 deposit contr 
+0x4b86 010756 store 2 ,mem_ir_ptr 
+0x4b87 010757 fetch 2 ,mem_ir_report_len 
+0x4b88 010758 increase -20 ,pdata 
+0x4b89 010759 store 2 ,mem_ir_report_len 
+0x4b8a 010760 rtn positive 
+0x4b8b 010761 jam 0 ,mem_ir_cmd 
+0x4b8c 010762 rtn 
+:      010765 le_ir_play:
+0x4b8d 010766 fetch 1 ,mem_ir_play_count 
+0x4b8e 010767 call ir_play 
+0x4b8f 010768 jam 0 ,mem_ir_cmd 
+0x4b90 010769 rtn 
+:      010772 ir_record:
+0x4b91 010773 call ir_receive 
+0x4b92 010774 setarg mem_ir_record 
+0x4b93 010775 isub contw ,pdata 
+0x4b94 010776 sub pdata ,0 ,pdata 
+0x4b95 010777 store 2 ,mem_ir_report_len 
+0x4b96 010778 rtn 
+:      010782 ir_receive:
+0x4b97 010783 disable swfine 
+0x4b98 010784 arg mem_ir_record ,contw 
+:      010785 ir_receive_waitsync:
+0x4b99 010786 rtn timeout 
+0x4b9a 010787 hfetch 1 ,core_gpio_in + 2 
+0x4b9b 010788 bbit0 5 ,ir_receive_waitsync 
+0x4b9c 010789 copy clkn ,temp 
+0x4b9d 010790 arg 0x80 ,loopcnt 
+0x4b9e 010791 call memset0 
+0x4b9f 010792 arg mem_ir_record ,contw 
+0x4ba0 010793 arg 0x0 ,regc 
+:      010794 ir_receive_loop:
+0x4ba1 010795 arg 180 ,stop_watch 
+:      010796 ir_receive_waitedge:
+0x4ba2 010797 rtn timeout 
+0x4ba3 010798 hfetch 1 ,core_gpio_in + 2 
+0x4ba4 010799 ixor regc ,pdata 
+0x4ba5 010800 bbit1 5 ,ir_receive_waitedge 
+0x4ba6 010801 copy clkn ,pdata 
+0x4ba7 010802 iforce alarm 
+0x4ba8 010803 call clk_diff_rt 
+0x4ba9 010804 sub pdata ,0xff ,null 
+0x4baa 010805 branch ir_receive_waitedge ,positive 
+0x4bab 010806 isolate0 5 ,regc 
+0x4bac 010807 setflag true ,23 ,pdata 
+0x4bad 010808 istore 3 ,contw 
+0x4bae 010809 rshift8 contw ,pdata 
+0x4baf 010810 rtneq mem_ir_record_max 
+0x4bb0 010811 copy alarm ,temp 
+0x4bb1 010812 xor_into 0x20 ,regc 
+0x4bb2 010813 branch ir_receive_loop 
+:      010817 ir_get_next_seq:
+0x4bb3 010818 branch ir_get_next_seq_saved ,user 
+0x4bb4 010819 branch ir_get_next_encoded ,user2 
+:      010820 ir_get_next_seq_fetch:
+0x4bb5 010821 arg mem_ir_sequence ,temp 
+0x4bb6 010822 fetch 1 ,mem_ir_sequence_len 
+0x4bb7 010823 iadd temp ,pdata 
+0x4bb8 010824 isub rega ,null 
+0x4bb9 010825 branch ir_get_next_seq_exit ,zero 
+0x4bba 010826 ifetch 1 ,rega 
+0x4bbb 010827 copy contr ,rega 
+0x4bbc 010828 bbit0 7 ,ir_get_next_cont 
+0x4bbd 010829 enable user2 
+0x4bbe 010830 and pdata ,0x7f ,regb 
+0x4bbf 010831 lshift3 rega ,rega 
+0x4bc0 010832 branch ir_get_next_encoded 
+:      010833 ir_get_next_cont:
+0x4bc1 010834 rshift4 pdata ,debug 
+0x4bc2 010835 and_into 0xf ,pdata 
+0x4bc3 010836 isub debug ,null 
+0x4bc4 010837 rtn zero 
+0x4bc5 010838 enable user 
+0x4bc6 010839 rtn 
+:      010840 ir_get_next_seq_saved:
+0x4bc7 010841 deposit debug 
+0x4bc8 010842 disable user 
+0x4bc9 010843 rtn 
+:      010844 ir_get_next_encoded:
+0x4bca 010845 deposit regb 
+0x4bcb 010846 branch ir_get_next_encoded_end ,blank 
+0x4bcc 010847 and rega ,0x7 ,queue 
+0x4bcd 010848 rshift3 rega ,contr 
+0x4bce 010849 ifetch 1 ,contr 
+0x4bcf 010850 increase 1 ,rega 
+0x4bd0 010851 increase -1 ,regb 
+0x4bd1 010852 qisolate0 pdata 
+0x4bd2 010853 fetch 1 ,mem_ir_pulse_zero 
+0x4bd3 010854 branch ir_get_next_cont ,true 
+0x4bd4 010855 fetch 1 ,mem_ir_pulse_one 
+0x4bd5 010856 branch ir_get_next_cont 
+:      010857 ir_get_next_encoded_end:
+0x4bd6 010858 disable user2 
+0x4bd7 010859 increase 7 ,rega 
+0x4bd8 010860 rshift3 rega ,rega 
+0x4bd9 010861 branch ir_get_next_seq_fetch 
+:      010862 ir_get_next_seq_exit:
+0x4bda 010863 setarg 0xff 
+0x4bdb 010864 rtn 
+:      010867 ir_get_pulse:
+0x4bdc 010868 lshift pdata ,contr 
+0x4bdd 010869 iadd contr ,pdata 
+0x4bde 010870 arg mem_ir_pulses ,contr 
+0x4bdf 010871 iadd contr ,contr 
+0x4be0 010872 ifetch 3 ,contr 
+0x4be1 010873 rtn 
+:      010876 ir_play:
+0x4be2 010877 enable swfine 
+0x4be3 010878 iforce loopcnt 
+:      010879 ir_play_nloop:
+0x4be4 010880 disable user 
+0x4be5 010881 disable user2 
+0x4be6 010882 arg mem_ir_sequence ,rega 
+:      010883 ir_play_loop:
+0x4be7 010884 call ir_get_next_seq 
+0x4be8 010885 beq 0xff ,ir_play_end 
+0x4be9 010886 call ir_get_pulse 
+0x4bea 010887 bbit0 23 ,ir_play_silence 
+0x4beb 010888 set0 23 ,pdata 
+0x4bec 010889 hjam 158 ,core_pwm_pcnt0 
+:      010890 ir_play_silence:
+0x4bed 010891 iforce stop_watch 
+0x4bee 010892 until null ,timeout 
+0x4bef 010893 hjam 0 ,core_pwm_pcnt0 
+0x4bf0 010894 branch ir_play_loop 
+:      010895 ir_play_end:
+0x4bf1 010896 loop ir_play_nloop 
+0x4bf2 010897 rtn 
+:      010903 le_kb_init:
+0x4bf3 010904 call kb_init_common 
+0x4bf4 010905 setarg kb_process_idle 
+0x4bf5 010906 store 2 ,mem_cb_idle_process 
+0x4bf6 010907 setarg kb_send_process 
+0x4bf7 010908 store 2 ,mem_cb_bt_process 
+0x4bf8 010909 setarg kb_process_bb_event 
+0x4bf9 010910 store 2 ,mem_cb_bb_event_process 
+0x4bfa 010911 setarg kb_process_lpm_before 
+0x4bfb 010912 store 2 ,mem_cb_before_lpm 
+0x4bfc 010913 setarg kb_discovery_timeout_sleep 
+0x4bfd 010914 store 2 ,mem_cb_discovry_timeout 
+0x4bfe 010915 setarg kb_before_hibernate 
+0x4bff 010916 store 2 ,mem_cb_before_hibernate 
+0x4c00 010917 setarg kb_wakeup_check 
+0x4c01 010918 store 2 ,mem_cb_check_wakelock 
+0x4c02 010919 rtn wake 
+0x4c03 010921 fetch 2 ,mem_ui_state_map 
+0x4c04 010922 bbit1 ui_state_btn_down ,app_bt_start_discovery_short 
+0x4c05 010923 call app_check_reconn_target 
+0x4c06 010924 branch kb_start_discovery ,blank 
+0x4c07 010925 call app_bt_stop_discovery 
+0x4c08 010926 branch app_bt_start_reconnect 
+:      010929 kb_init:
+0x4c09 010930 call kb_init_common 
+0x4c0a 010931 setarg kb_process_idle 
+0x4c0b 010932 store 2 ,mem_cb_idle_process 
+0x4c0c 010933 setarg kb_send_process 
+0x4c0d 010934 store 2 ,mem_cb_bt_process 
+0x4c0e 010935 setarg kb_process_bb_event 
+0x4c0f 010936 store 2 ,mem_cb_bb_event_process 
+0x4c10 010937 setarg kb_process_lpm_before 
+0x4c11 010938 store 2 ,mem_cb_before_lpm 
+0x4c12 010939 setarg kb_discovery_timeout_sleep 
+0x4c13 010940 store 2 ,mem_cb_discovry_timeout 
+0x4c14 010941 setarg kb_before_hibernate 
+0x4c15 010942 store 2 ,mem_cb_before_hibernate 
+0x4c16 010943 setarg kb_wakeup_check 
+0x4c17 010944 store 2 ,mem_cb_check_wakelock 
+0x4c18 010945 rtn wake 
+0x4c19 010947 jam 0 ,mem_sp_flag 
+0x4c1a 010948 jam 0 ,mem_master_sp_flag 
+0x4c1b 010950 fetch 2 ,mem_ui_state_map 
+0x4c1c 010951 bbit1 ui_state_btn_down ,app_bt_start_discovery_short 
+0x4c1d 010952 call app_check_reconn_target 
+0x4c1e 010953 branch kb_start_discovery ,blank 
+0x4c1f 010954 call app_bt_stop_discovery 
+0x4c20 010955 branch app_bt_start_reconnect 
+:      010959 kb_init_common:
+0x4c21 010960 set1 mark_ext_patch ,mark 
+0x4c22 010961 bpatch patch36_6 ,mem_patch36 
+0x4c23 010963 fetch 1 ,0x8140 
+0x4c24 010964 branch assert ,blank 
+0x4c25 010965 hjam 0 ,core_gpio_oe0 
+0x4c26 010966 hjam 0xff ,core_gpio_pu0 
+0x4c27 010968 hjam 0xff ,core_gpio_oe1 
+0x4c28 010969 hjam 0xff ,core_gpio_oe2 
+0x4c29 010970 hfetch 1 ,core_gpio_oe3 
+0x4c2a 010971 or_into 0x0f ,pdata 
+0x4c2b 010972 hstore 1 ,core_gpio_oe3 
+0x4c2c 010974 hjam 0x00 ,core_gpio_sel 
+0x4c2d 010975 hjam 0x00 ,core_gpio_sel1 
+0x4c2e 010976 hjam 0xff ,core_gpio_key0 
+0x4c2f 010977 hjam 0xFf ,core_gpio_key1 
+0x4c30 010978 hfetch 1 ,core_gpio_key2 
+0x4c31 010979 or_into 0x03 ,pdata 
+0x4c32 010980 hstore 1 ,core_gpio_key2 
+0x4c33 010981 hjam 0x00 ,core_kscn_rowmask 
+0x4c34 010982 setarg kb_kscan_col_1 
+0x4c35 010983 lshift3 pdata ,pdata 
+0x4c36 010984 add pdata ,kb_kscan_row_1 ,pdata 
+0x4c37 010985 hstore 1 ,core_kscn_rctc 
+0x4c38 010987 hfetch 1 ,core_config 
+0x4c39 010988 set1 2 ,pdata 
+0x4c3a 010989 hstore 1 ,core_config 
+0x4c3b 010990 hfetch 1 ,core_clkoff + 1 
+0x4c3c 010991 set0 1 ,pdata 
+0x4c3d 010992 hstore 1 ,core_clkoff + 1 
+0x4c3e 010993 hjam 0xd ,core_kscn_ksctrl 
+0x4c3f 010994 hjam 0xd3 ,core_kscn_m_debounce 
+0x4c40 010995 hjam 0 ,core_kscn_scancycle_timer_l 
+0x4c41 010996 hjam 0x31 ,core_kscn_scancycle_timer_h 
+0x4c42 010997 call lpm_disable_exen_output 
+0x4c43 010998 fetcht 1 ,mem_led_cap_gpio 
+0x4c44 010999 call gpio_config_output 
+0x4c45 011000 fetcht 1 ,mem_led_num_gpio 
+0x4c46 011001 call gpio_config_output 
+0x4c47 011002 fetcht 1 ,mem_led_scl_gpio 
+0x4c48 011003 call gpio_config_output 
+0x4c49 011004 rtn 
+:      011006 kb_process_kb_report:
+0x4c4a 011007 set1 mark_ext_patch ,mark 
+0x4c4b 011008 bpatch patch36_7 ,mem_patch36 
+0x4c4c 011009 ifetch 1 ,contr 
+0x4c4d 011010 copy pdata ,rega 
+0x4c4e 011011 fetcht 1 ,mem_led_num_gpio 
+0x4c4f 011012 isolate1 kb_num_lock_selected ,rega 
+0x4c50 011013 call gpio_out_flag 
+0x4c51 011014 fetcht 1 ,mem_led_cap_gpio 
+0x4c52 011015 isolate1 kb_caps_lock_selected ,rega 
+0x4c53 011016 call gpio_out_flag 
+0x4c54 011017 fetcht 1 ,mem_led_scl_gpio 
+0x4c55 011018 isolate1 kb_scroll_lock_selected ,rega 
+0x4c56 011019 call gpio_out_flag 
+0x4c57 011020 jam 1 ,mem_kb_rcv_led_data 
+0x4c58 011021 rtn 
+:      011024 kb_send_process:
+0x4c59 011026 call kb_kscan_check_if_empty 
+0x4c5a 011027 nrtn user 
+0x4c5b 011028 nrtn user2 
+0x4c5c 011030 fetch 1 ,mem_pincode_state 
+0x4c5d 011031 beq pincode_state_wait_pincode ,kb_pincode 
+0x4c5e 011032 fetch 1 ,mem_hid_interrupt_state 
+0x4c5f 011033 rtnne 0x3f 
+0x4c60 011035 arg 10 ,rega 
+0x4c61 011036 call hid_malloc_tx_buff 
+0x4c62 011037 fetch 2 ,mem_hid_int_remote_cid 
+0x4c63 011038 istore 2 ,contw 
+0x4c64 011039 setarg 0x01a1 
+0x4c65 011040 istore 2 ,contw 
+0x4c66 011041 fetch 8 ,mem_kb_state 
+0x4c67 011042 istore 8 ,contw 
+0x4c68 011043 rtn 
+:      011045 kb_pincode:
+0x4c69 011046 fetcht 1 ,mem_pin_length 
+0x4c6a 011047 setarg mem_pin 
+0x4c6b 011048 iadd temp ,contw 
+0x4c6c 011049 fetch 1 ,mem_kb_report_data 
+0x4c6d 011050 branch kb_pincode_rtn ,blank 
+0x4c6e 011051 beq kb_kcode_bksp ,kb_pincode_bksp 
+0x4c6f 011052 bne kb_kcode_enter ,kb_pincode_data 
+0x4c70 011053 storet 1 ,mem_pin_length 
+0x4c71 011054 branch app_bt_set_pincode 
+:      011056 kb_pincode_rtn:
+0x4c72 011057 storet 1 ,mem_pin_length 
+0x4c73 011058 rtn 
+:      011059 kb_pincode_bksp:
+0x4c74 011060 fetch 1 ,mem_pin_length 
+0x4c75 011061 rtn blank 
+0x4c76 011062 increase -1 ,pdata 
+0x4c77 011063 store 1 ,mem_pin_length 
+0x4c78 011064 arg mem_pin ,contw 
+0x4c79 011065 iadd contw ,contw 
+0x4c7a 011066 setarg 0 
+0x4c7b 011067 istore 1 ,contw 
+0x4c7c 011068 enable user2 
+0x4c7d 011069 branch kb_send_pin 
+:      011070 kb_pincode_data:
+0x4c7e 011071 sub pdata ,kb_kcode_1_m1 ,null 
+0x4c7f 011072 rtn positive 
+0x4c80 011073 arg 0x30 ,temp 
+0x4c81 011074 sub pdata ,kb_kcode_0 ,null 
+0x4c82 011075 nrtn positive 
+0x4c83 011076 branch kb_pincode_0 ,zero 
+0x4c84 011077 arg kb_kcode_1_m1 ,temp 
+0x4c85 011078 isub temp ,temp 
+0x4c86 011079 or_into 0x30 ,temp 
+:      011080 kb_pincode_0:
+0x4c87 011081 istoret 1 ,contw 
+0x4c88 011082 fetch 1 ,mem_pin_length 
+0x4c89 011083 increase 1 ,pdata 
+0x4c8a 011084 store 1 ,mem_pin_length 
+0x4c8b 011085 disable user2 
+0x4c8c 011086 branch kb_send_pin 
+:      011088 kb_send_pin:
+0x4c8d 011089 fetch 2 ,mem_hid_int_remote_cid 
+0x4c8e 011090 rtn blank 
+0x4c8f 011091 arg 3 ,rega 
+0x4c90 011092 call hid_malloc_tx_buff 
+0x4c91 011093 fetch 2 ,mem_hid_int_remote_cid 
+0x4c92 011094 istore 2 ,contw 
+0x4c93 011095 setarg 0xffa1 
+0x4c94 011096 istore 2 ,contw 
+0x4c95 011097 setarg 0 
+0x4c96 011098 setflag user2 ,0 ,pdata 
+0x4c97 011099 istore 1 ,contw 
+0x4c98 011100 rtn 
+:      011104 kb_kscan_check_if_empty:
+0x4c99 011105 disable user 
+0x4c9a 011106 disable user2 
+0x4c9b 011107 hfetch 1 ,core_kscn_kstat 
+0x4c9c 011108 rtnbit1 kb_kscan_stat_empty 
+:      011110 kb_kscan_check_ghost:
+0x4c9d 011111 hfetch 1 ,core_kscn_event_num 
+0x4c9e 011112 bbit1 kb_kscan_key_event_stat ,kb_kscan_process_event 
+0x4c9f 011113 hfetch 1 ,core_kscn_kstat 
+0x4ca0 011114 bbit0 kb_kscan_stat_ghost ,kb_kscan_process_event 
+0x4ca1 011115 hfetch 1 ,core_kscn_event 
+0x4ca2 011116 branch kb_kscan_check_if_empty 
+:      011118 kb_kscan_process_event:
+0x4ca3 011119 enable user 
+0x4ca4 011120 enable user2 
+0x4ca5 011121 hfetch 1 ,core_kscn_event_num 
+0x4ca6 011122 isolate0 kb_kscan_key_event_stat ,pdata 
+0x4ca7 011123 hfetch 1 ,core_kscn_event 
+0x4ca8 011124 arg mem_kb_map ,contr 
+0x4ca9 011125 iadd contr ,contr 
+0x4caa 011126 ifetch 1 ,contr 
+0x4cab 011127 bbit1 7 ,kb_kscan_read_statekey 
+0x4cac 011128 nbranch kb_kscan_release_a_key_data ,true 
+0x4cad 011129 disable user2 
+0x4cae 011130 iforce temp 
+0x4caf 011131 fetch 1 ,mem_kb_keys 
+0x4cb0 011132 sub pdata ,4 ,null 
+0x4cb1 011133 nrtn positive 
+0x4cb2 011134 copy pdata ,rega 
+0x4cb3 011135 arg 3 ,loopcnt 
+0x4cb4 011136 arg mem_kb_report_data ,contr 
+:      011137 kb_kscan_check_report_data:
+0x4cb5 011138 ifetch 1 ,contr 
+0x4cb6 011139 isub temp ,null 
+0x4cb7 011140 branch kb_kscan_check_if_empty ,zero 
+0x4cb8 011141 loop kb_kscan_check_report_data 
+:      011142 kb_kscan_store_a_key_data:
+0x4cb9 011143 copy rega ,pdata 
+0x4cba 011144 arg mem_kb_report_data ,contw 
+0x4cbb 011145 iadd contw ,contw 
+0x4cbc 011146 istoret 1 ,contw 
+0x4cbd 011147 increase 1 ,pdata 
+0x4cbe 011148 store 1 ,mem_kb_keys 
+0x4cbf 011149 hfetch 1 ,core_kscn_event_num 
+0x4cc0 011150 rshift3 pdata ,pdata 
+0x4cc1 011151 nbranch kb_kscan_check_nextevent ,blank 
+0x4cc2 011152 branch kb_kscan_prepare_send 
+:      011154 kb_kscan_check_nextevent:
+0x4cc3 011155 increase -1 ,pdata 
+0x4cc4 011156 branch kb_kscan_prepare_send ,zero 
+0x4cc5 011157 hfetch 1 ,core_kscn_event_num 
+0x4cc6 011158 and_into 0x01 ,pdata 
+0x4cc7 011159 beq kb_kscan_key_press ,kb_kscan_check_if_empty 
+0x4cc8 011160 beq kb_kscan_key_release ,kb_kscan_prepare_send 
+0x4cc9 011161 rtn 
+:      011162 kb_kscan_prepare_send:
+0x4cca 011163 enable user2 
+0x4ccb 011164 rtn 
+:      011166 kb_kscan_release_a_key_data:
+0x4ccc 011167 and pdata ,0xff ,temp 
+0x4ccd 011168 fetch 1 ,mem_kb_keys 
+0x4cce 011169 rtn blank 
+0x4ccf 011170 iforce loopcnt 
+0x4cd0 011171 arg mem_kb_report_data ,contr 
+:      011172 kb_kscan_find_same_key_data:
+0x4cd1 011173 ifetch 1 ,contr 
+0x4cd2 011174 isub temp ,null 
+0x4cd3 011175 branch kb_kscan_release_foundkey ,zero 
+0x4cd4 011176 loop kb_kscan_find_same_key_data 
+0x4cd5 011177 rtn 
+:      011178 kb_kscan_release_foundkey:
+0x4cd6 011179 add contr ,-1 ,contw 
+0x4cd7 011180 call memcpy 
+0x4cd8 011181 fetch 1 ,mem_kb_keys 
+0x4cd9 011182 increase -1 ,pdata 
+0x4cda 011183 store 1 ,mem_kb_keys 
+0x4cdb 011184 hfetch 1 ,core_kscn_event_num 
+0x4cdc 011185 rshift3 pdata ,pdata 
+0x4cdd 011186 nbranch kb_kscan_check_nextevent2 ,blank 
+0x4cde 011187 rtn 
+:      011189 kb_kscan_check_nextevent2:
+0x4cdf 011190 hfetch 1 ,core_kscn_event_num 
+0x4ce0 011191 and_into 0x01 ,pdata 
+0x4ce1 011192 beq kb_kscan_key_press ,kb_kscan_prepare_send 
+0x4ce2 011193 beq kb_kscan_key_release ,kb_kscan_check_if_empty 
+0x4ce3 011194 rtn 
+:      011196 kb_kscan_read_statekey:
+0x4ce4 011197 and pdata ,7 ,queue 
+0x4ce5 011198 fetch 1 ,mem_kb_state 
+0x4ce6 011199 qsetflag true ,pdata 
+0x4ce7 011200 store 1 ,mem_kb_state 
+0x4ce8 011201 rtn 
+:      011203 kb_clear_keys:
+0x4ce9 011204 setarg 0 
+0x4cea 011205 store 8 ,mem_kb_state 
+0x4ceb 011206 store 1 ,mem_kb_keys 
+0x4cec 011207 rtn 
+:      011209 kb_clean_kscan_fifo:
+0x4ced 011210 hfetch 1 ,core_kscn_event_num 
+0x4cee 011211 hfetch 1 ,core_kscn_event 
+0x4cef 011212 hfetch 1 ,core_kscn_kstat 
+0x4cf0 011213 bbit0 kb_kscan_stat_empty ,kb_clean_kscan_fifo 
+0x4cf1 011214 setarg 0xff 
+0x4cf2 011215 enable user 
+0x4cf3 011216 rtn 
+:      011218 le_keyboard:
+0x4cf4 011219 fetcht 2 ,mem_le_notify_handle 
+0x4cf5 011220 call le_att_check_notification_enable 
+0x4cf6 011221 rtnbit0 0 
+0x4cf7 011222 fetch 1 ,mem_le_switch_send_data 
+0x4cf8 011223 rtnbit0 0 
+0x4cf9 011224 call le_xtype_fifo_is_full 
+0x4cfa 011225 nrtn blank 
+0x4cfb 011226 call kb_kscan_check_if_empty 
+0x4cfc 011227 nrtn user 
+0x4cfd 011228 nrtn user2 
+:      011229 le_slave_keyboard_send_data:
+0x4cfe 011230 call app_lpm_wake_auto_lock 
+0x4cff 011231 jam 2 ,mem_lpm_mult 
+0x4d00 011232 fetcht 2 ,mem_le_notify_handle 
+0x4d01 011233 call le_att_get_handle_ptr 
+0x4d02 011234 add contr ,1 ,contw 
+0x4d03 011235 fetch 8 ,mem_kb_state 
+0x4d04 011236 istore 8 ,contw 
+0x4d05 011237 jam attop_handle_value_notification ,mem_fifo_temp 
+0x4d06 011238 call le_xtype_fifo_in 
+0x4d07 011239 fetch 1 ,mem_le_op 
+0x4d08 011240 bbit1 op_disconn ,loop 
+0x4d09 011241 rtn 
+:      011242 le_keyboard_process_bb_event:
+0x4d0a 011243 copy regc ,pdata 
+0x4d0b 011244 beq bt_evt_button_long_pressed ,le_keyboard_bb_event_discovery_btn 
+0x4d0c 011246 beq bt_evt_le_connected ,le_kb_connected 
+0x4d0d 011247 beq bt_evt_le_write_request ,le_kb_bb_event_write_request 
+0x4d0e 011248 beq bt_evt_le_enc_info ,le_kb_bb_event_enc_info 
+0x4d0f 011249 beq bt_evt_remote_unsniff ,app_start_auto_sniff 
+0x4d10 011250 rtn 
+:      011251 le_kb_bb_event_enc_info:
+:      011252 le_kb_bb_event_write_request:
+0x4d11 011253 call app_lpm_mult_enable 
+0x4d12 011254 branch app_ble_start_write 
+:      011255 le_kb_connected:
+0x4d13 011256 call kb_clean_kscan_fifo 
+0x4d14 011257 branch kb_clear_keys 
+:      011259 le_keyboard_bb_event_discovery_btn:
+0x4d15 011260 call le_clean_att_list_handle_enable 
+0x4d16 011261 call app_ble_disconnect 
+0x4d17 011262 call app_ble_start_adv 
+0x4d18 011263 branch app_led_start_blink 
+:      011265 le_keyboard_bb_event_hud_ms:
+0x4d19 011266 fetch 1 ,mem_le_led_on_time 
+0x4d1a 011267 rtn blank 
+0x4d1b 011268 increase -1 ,pdata 
+0x4d1c 011269 store 1 ,mem_le_led_on_time 
+0x4d1d 011270 nrtn blank 
+0x4d1e 011271 fetch 1 ,mem_le_adv_type 
+0x4d1f 011272 rtn blank 
+0x4d20 011273 branch app_led_off 
+:      011276 kb_process_idle:
+0x4d21 011277 branch kb_pairing_button_check 
+:      011280 kb_wakeup_check:
+0x4d22 011281 hfetch 3 ,core_gpio_in 
+0x4d23 011282 copy pdata ,regb 
+0x4d24 011283 hfetch 1 ,core_gpio_in + 3 
+0x4d25 011284 and_into 0x0f ,pdata 
+0x4d26 011285 lshift16 pdata ,pdata 
+0x4d27 011286 lshift8 pdata ,pdata 
+0x4d28 011287 ior regb ,pdata 
+0x4d29 011288 fetcht 4 ,mem_kb_fast_wake_last 
+0x4d2a 011289 isub temp ,pdata 
+0x4d2b 011290 rtn blank 
+0x4d2c 011291 arg 0xbb ,regb 
+0x4d2d 011292 branch app_lpm_wake_auto_lock 
+:      011295 kb_pairing_button_check:
+0x4d2e 011296 fetch 1 ,mem_scan_mode 
+0x4d2f 011297 nrtn blank 
+0x4d30 011298 fetch 1 ,mem_app_handshake_flag 
+0x4d31 011299 nrtn blank 
+0x4d32 011300 fetch 1 ,mem_ui_button_timer 
+0x4d33 011301 rtn blank 
+0x4d34 011302 fetch 1 ,mem_ui_button_last_state 
+0x4d35 011303 nrtn blank 
+0x4d36 011304 branch app_enter_hibernate 
+:      011306 kb_process_bb_event:
+0x4d37 011307 copy regc ,pdata 
+0x4d38 011308 beq bt_evt_hid_connected ,kb_hid_connected 
+0x4d39 011309 beq bt_evt_pincode_req ,kb_process_pincode 
+0x4d3a 011310 beq bt_evt_hid_connected ,kb_bt_hid_handshake 
+0x4d3b 011311 beq bt_evt_button_long_pressed ,kb_bb_event_discovery_btn 
+0x4d3c 011312 beq bt_evt_remote_unsniff ,app_start_auto_sniff 
+0x4d3d 011313 beq bt_evt_bb_connected ,kb_stop_discovery 
+0x4d3e 011314 beq bt_evt_bb_disconnected ,kb_bb_disconnected 
+0x4d3f 011316 beq bt_evt_reconn_failed ,kb_bb_event_reconn_failed 
+0x4d40 011317 beq bt_evt_reconn_page_timeout ,kb_bb_event_reconn_failed 
+0x4d41 011318 and pdata ,0x0f ,temp 
+0x4d42 011319 and_into bt_evt_timer_mask ,pdata 
+0x4d43 011320 beq bt_evt_timer_init ,kb_bb_event_timer 
+0x4d44 011321 rtn 
+:      011323 kb_bb_event_timer:
+0x4d45 011324 set1 mark_ext_patch ,mark 
+0x4d46 011325 bpatch patch37_0 ,mem_patch37 
+0x4d47 011326 storet 1 ,mem_app_evt_timer_count 
+:      011327 kb_bb_event_100ms_loop:
+0x4d48 011328 fetch 1 ,mem_app_evt_timer_count 
+0x4d49 011329 rtn blank 
+0x4d4a 011330 increase -1 ,pdata 
+0x4d4b 011331 store 1 ,mem_app_evt_timer_count 
+0x4d4c 011333 call kb_check_hid_handshake_timer 
+0x4d4d 011334 branch kb_bb_event_100ms_loop 
+:      011336 kb_bb_event_reconn_failed:
+0x4d4e 011337 fetch 2 ,mem_ui_state_map 
+0x4d4f 011338 bbit1 ui_state_btn_down ,kb_start_discovery 
+0x4d50 011339 branch app_bb_hibernate 
+:      011342 kb_bb_disconnected:
+0x4d51 011343 set1 mark_ext_patch ,mark 
+0x4d52 011344 bpatch patch37_1 ,mem_patch37 
+0x4d53 011345 call kb_bb_discon_clear_stack 
+0x4d54 011346 fetch app_disc_rsn_size ,mem_app_disconn_reason 
+0x4d55 011348 bbit1 app_disc_by_button ,app_disconn_reason_clear 
+0x4d56 011349 bbit1 app_disc_after_pairing ,kb_event_light_state_pairing 
+0x4d57 011350 bbit1 app_disc_after_reconn ,kb_event_light_state_reconn 
+0x4d58 011351 branch kb_start_discovery 
+:      011352 kb_bb_discon_clear_stack:
+0x4d59 011353 jam 0 ,mem_link_key_exists 
+0x4d5a 011354 jam 0 ,mem_ltk_exists 
+0x4d5b 011355 rtn 
+:      011357 kb_event_light_state_pairing:
+0x4d5c 011358 bbit1 app_disc_after_handshake ,app_bb_hibernate 
+0x4d5d 011359 bbit1 app_disc_after_sniff ,app_bb_hibernate 
+0x4d5e 011360 branch kb_start_discovery 
+:      011361 kb_event_light_state_reconn:
+0x4d5f 011362 fetch 2 ,mem_ui_state_map 
+0x4d60 011363 bbit1 ui_state_btn_down ,kb_start_discovery 
+0x4d61 011364 branch app_bb_hibernate 
+:      011368 kb_check_hid_handshake_timer:
+0x4d62 011369 fetch 1 ,mem_hid_handshake_timer_count 
+0x4d63 011370 rtn blank 
+0x4d64 011371 increase -1 ,pdata 
+0x4d65 011372 store 1 ,mem_hid_handshake_timer_count 
+0x4d66 011373 nrtn blank 
+0x4d67 011374 branch kb_bt_hid_handshake 
+:      011377 kb_bb_event_discovery_btn:
+0x4d68 011378 call kb_3_0_bb_event_discovery_btn 
+0x4d69 011379 branch kb_start_discovery 
+:      011381 kb_3_0_bb_event_discovery_btn:
+0x4d6a 011382 set1 mark_ext_patch ,mark 
+0x4d6b 011383 bpatch patch37_2 ,mem_patch37 
+0x4d6c 011384 fetch 2 ,mem_ui_state_map 
+0x4d6d 011385 isolate1 ui_state_bt_reconnect ,pdata 
+0x4d6e 011386 call app_bt_reconnect_cancel ,true 
+0x4d6f 011387 fetch 2 ,mem_discovery_timeout 
+0x4d70 011388 store 2 ,mem_discovery_timeout_timer_count 
+0x4d71 011389 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x4d72 011390 set1 app_disc_by_button ,pdata 
+0x4d73 011391 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x4d74 011392 fetch 2 ,mem_ui_state_map 
+0x4d75 011393 bbit1 ui_state_bt_connected ,app_bt_disconnect 
+0x4d76 011394 rtn 
+:      011397 kb_stop_discovery:
+0x4d77 011398 call app_bt_stop_discovery 
+0x4d78 011399 branch app_led_stop_blink 
+:      011401 kb_start_discovery:
+0x4d79 011402 call app_bt_start_discovery 
+0x4d7a 011403 branch app_led_start_blink 
+:      011405 kb_discovery_timeout_sleep:
+0x4d7b 011406 branch app_enter_hibernate 
+:      011408 kb_process_pincode:
+0x4d7c 011409 jam 0 ,mem_pin_length 
+0x4d7d 011410 rtn 
+:      011413 kb_before_hibernate:
+:      011415 kb_process_lpm_before:
+0x4d7e 011416 hjam 0x00 ,core_gpio_key0 
+0x4d7f 011417 hjam 0x00 ,core_gpio_key1 
+0x4d80 011418 hfetch 1 ,core_gpio_key2 
+0x4d81 011419 and_into 0xf0 ,pdata 
+0x4d82 011420 hstore 1 ,core_gpio_key2 
+0x4d83 011421 setarg 0x00 
+0x4d84 011422 store 4 ,mem_gpio_wakeup_high 
+0x4d85 011423 setarg 0xff 
+0x4d86 011424 fetcht 1 ,mem_ui_button_gpio 
+0x4d87 011425 copy temp ,queue 
+0x4d88 011426 qset1 pdata 
+0x4d89 011427 store 4 ,mem_gpio_wakeup_low 
+0x4d8a 011428 rtn 
+:      011430 kb_hid_connected:
+0x4d8b 011431 setarg hid_handshake_timeout 
+0x4d8c 011432 store 1 ,mem_hid_handshake_timer_count 
+0x4d8d 011433 call kb_clean_kscan_fifo 
+0x4d8e 011437 branch kb_clear_keys 
+:      011438 kb_bt_hid_handshake:
+0x4d8f 011439 set1 mark_ext_patch ,mark 
+0x4d90 011440 bpatch patch37_3 ,mem_patch37 
+0x4d91 011441 jam app_handshake_done ,mem_app_handshake_flag 
+0x4d92 011442 call app_lpm_mult_enable 
+0x4d93 011443 call app_bt_store_reconn_info 
+0x4d94 011445 setarg 0 
+0x4d95 011446 store 2 ,mem_discovery_timeout_timer_count 
+0x4d96 011447 store 1 ,mem_hid_handshake_timer_count 
+0x4d97 011448 branch app_bt_enter_sniff 
+:      011455 l2cap_init:
+0x4d98 011456 branch l2cap_init_wake ,wake 
+:      011457 l2cap_init_work:
+0x4d99 011458 setarg mem_l2cap_xmem_end 
+0x4d9a 011459 arg mem_l2cap_xmem_start ,contw 
+0x4d9b 011460 isub contw ,loopcnt 
+0x4d9c 011461 call clear_mem 
+:      011462 l2cap_init_wake:
+0x4d9d 011463 set1 mark_ext_patch ,mark 
+0x4d9e 011464 bpatch patch22_6 ,mem_patch22 
+0x4d9f 011465 setarg mem_sdp_mem_end 
+0x4da0 011466 arg mem_sdp_mem_start ,contw 
+0x4da1 011467 isub contw ,loopcnt 
+0x4da2 011468 call clear_mem 
+0x4da3 011469 setarg mem_l2cap_mem_end 
+0x4da4 011470 arg mem_l2cap_mem_start ,contw 
+0x4da5 011471 isub contw ,loopcnt 
+0x4da6 011472 call clear_mem 
+0x4da7 011473 branch l2cap_lpm_load_txbuf 
+:      011475 process_rx_l2cap_pkt:
+0x4da8 011476 set1 mark_ext_patch ,mark 
+0x4da9 011477 bpatch patch22_7 ,mem_patch22 
+0x4daa 011478 copy contr ,temp 
+0x4dab 011481 copy temp ,contr 
+0x4dac 011482 ifetch 2 ,contr 
+0x4dad 011483 store 2 ,mem_l2cap_rx_pkt_length 
+0x4dae 011484 ifetch 2 ,contr 
+0x4daf 011485 store 2 ,mem_l2cap_rx_cid 
+0x4db0 011486 deposit contr 
+0x4db1 011487 store 2 ,mem_l2cap_payload_ptr 
+0x4db2 011488 fetch 1 ,memui_reconnect_mode 
+0x4db3 011489 beq no_reconnection ,l2cap_rx_multiplexing 
+0x4db4 011490 branch ml2cap_rx_multiplexing 
+:      011492 l2cap_rx_multiplexing:
+0x4db5 011493 set1 mark_ext_patch ,mark 
+0x4db6 011494 bpatch patch23_0 ,mem_patch23 
+0x4db7 011495 fetch 2 ,mem_l2cap_rx_pkt_length 
+0x4db8 011496 branch l2cap_rx_reset_state ,blank 
+0x4db9 011497 fetch 1 ,mem_l2cap_rx_cid 
+0x4dba 011498 beq l2cap_signal_channel ,l2cap_call_proc_signal 
+:      011499 l2cap_rx_multiplexing0:
+0x4dbb 011500 beq l2cap_sdp_channel ,l2cap_call_proc_sdp 
+0x4dbc 011501 beq l2cap_rfcomm_channel ,l2cap_call_proc_rfcomm 
+0x4dbd 011502 beq l2cap_hid_control_channel ,l2cap_call_proc_hid 
+0x4dbe 011503 beq l2cap_hid_interrupt_channel ,l2cap_call_proc_hid 
+0x4dbf 011504 branch l2cap_rx_reset_state 
+:      011506 l2cap_call_proc_signal:
+0x4dc0 011507 call l2cap_malloc_is_fifo_full 
+0x4dc1 011508 nrtn blank 
+0x4dc2 011509 jam 0 ,mem_l2cap_pending_item 
+:      011510 l2cap_call_proc_signal0:
+0x4dc3 011511 call l2cap_malloc_signal_channel 
+0x4dc4 011512 call l2cap_process_signal_pkt 
+0x4dc5 011513 fetcht 2 ,mem_l2cap_signal_tx_length 
+0x4dc6 011514 branch l2cap_call_proc_no_reply ,blank 
+0x4dc7 011515 call l2cap_get_signal_tx_buff 
+0x4dc8 011516 fetch 2 ,mem_l2cap_signal_tx_length 
+0x4dc9 011517 istore 2 ,contw 
+0x4dca 011518 force l2cap_signal_channel ,pdata 
+0x4dcb 011519 istore 2 ,contw 
+0x4dcc 011520 branch l2cap_rx_reset_state 
+:      011522 l2cap_call_proc_sigal_pending:
+0x4dcd 011523 fetch 1 ,mem_device_option 
+0x4dce 011524 rtneq dvc_op_hci 
+0x4dcf 011525 fetch 1 ,mem_l2cap_pending_item 
+0x4dd0 011526 rtn blank 
+0x4dd1 011527 copy pdata ,rega 
+0x4dd2 011528 fetch 4 ,mem_l2cap_sdpres_delay_time 
+0x4dd3 011529 arg 0x100 ,temp 
+0x4dd4 011530 iadd temp ,temp 
+0x4dd5 011531 copy clkn_bt ,pdata 
+0x4dd6 011532 isub temp ,null 
+0x4dd7 011533 nrtn positive 
+0x4dd8 011534 jam 0 ,mem_l2cap_pending_item 
+0x4dd9 011535 copy rega ,pdata 
+0x4dda 011536 beq l2cap_sdp_channel ,l2cap_sdp_conn_succ 
+0x4ddb 011537 branch assert 
+:      011538 l2cap_sdp_conn_succ:
+0x4ddc 011539 call l2cap_malloc_signal_channel 
+0x4ddd 011540 call restore_l2cap_req_param 
+0x4dde 011541 call l2cap_get_signal_tx_payload 
+0x4ddf 011542 call save_cont_pointers 
+0x4de0 011543 call send_connection_sdp_res 
+0x4de1 011544 call l2cap_get_signal_tx_buff 
+0x4de2 011546 setarg 0x000c 
+0x4de3 011547 istore 2 ,contw 
+0x4de4 011548 force l2cap_signal_channel ,pdata 
+0x4de5 011549 istore 2 ,contw 
+0x4de6 011550 branch l2cap_rx_reset_state 
+:      011552 l2cap_call_proc_sdp:
+0x4de7 011553 call l2cap_malloc_is_fifo_empty 
+0x4de8 011554 nrtn blank 
+0x4de9 011555 call l2cap_malloc_sdp_channel 
+0x4dea 011556 call sdp_process 
+0x4deb 011557 call l2cap_get_sdp_tx_buff 
+0x4dec 011558 fetch 2 ,mem_sdp_tx_pkt_length 
+0x4ded 011559 branch l2cap_call_proc_no_reply ,blank 
+0x4dee 011560 istore 2 ,contw 
+0x4def 011561 fetch 2 ,mem_sdp_remote_cid 
+0x4df0 011562 istore 2 ,contw 
+0x4df1 011563 branch l2cap_rx_reset_state 
+:      011565 l2cap_call_proc_hid:
+0x4df2 011566 call hid_rx_process 
+0x4df3 011567 branch l2cap_rx_reset_state 
+:      011569 l2cap_call_proc_rfcomm:
+0x4df4 011570 set1 mark_ext_patch ,mark 
+0x4df5 011571 bpatch patch23_1 ,mem_patch23 
+0x4df6 011572 jam rfcomm_malloc_succeed ,mem_rfcomm_malloc_fail_flag 
+0x4df7 011573 call rfcomm_rx_process 
+0x4df8 011574 fetch 1 ,mem_rfcomm_malloc_fail_flag 
+0x4df9 011575 rtneq rfcomm_malloc_fail 
+0x4dfa 011576 branch l2cap_rx_reset_state 
+:      011577 l2cap_call_proc_no_reply:
+0x4dfb 011578 call l2cap_malloc_discard 
+:      011580 l2cap_rx_reset_state:
+0x4dfc 011581 setarg 0 
+0x4dfd 011582 store 2 ,mem_l2cap_rx_pkt_length 
+0x4dfe 011583 store 2 ,mem_l2cap_rx_cid 
+0x4dff 011584 jam l2cap_rx_done ,mem_l2cap_rx_done 
+0x4e00 011585 rtn 
+:      011587 l2cap_process_signal_pkt:
+0x4e01 011588 set1 mark_ext_patch ,mark 
+0x4e02 011589 bpatch patch23_2 ,mem_patch23 
+0x4e03 011590 call l2cap_get_signal_tx_payload 
+0x4e04 011591 force 0 ,regb 
+0x4e05 011592 fetch 2 ,mem_l2cap_rx_pkt_length 
+0x4e06 011593 copy pdata ,regc 
+0x4e07 011594 fetch 2 ,mem_l2cap_payload_ptr 
+0x4e08 011595 iforce contr 
+:      011596 l2cap_process_signal_pkt_loop:
+0x4e09 011597 call l2cap_process_one_signal 
+0x4e0a 011598 deposit regc 
+0x4e0b 011599 increase -4 ,regc 
+0x4e0c 011600 increase -4 ,pdata 
+0x4e0d 011601 nbranch l2cap_process_signal_pkt_loop ,blank 
+0x4e0e 011602 copy regb ,pdata 
+0x4e0f 011603 store 2 ,mem_l2cap_signal_tx_length 
+0x4e10 011604 rtn 
+:      011606 l2cap_process_one_signal:
+0x4e11 011607 set1 mark_ext_patch ,mark 
+0x4e12 011608 bpatch patch23_3 ,mem_patch23 
+0x4e13 011609 ifetch 1 ,contr 
+0x4e14 011610 beq signal_cmd_reject ,l2cap_proc_signal_cmd_reject 
+0x4e15 011611 beq signal_connect_req ,l2cap_proc_signal_connect_req 
+0x4e16 011612 beq signal_connect_rsp ,l2cap_proc_signal_connect_rsp 
+0x4e17 011613 beq signal_config_req ,l2cap_proc_signal_config_req 
+0x4e18 011614 beq signal_config_rsp ,l2cap_proc_signal_config_rsp 
+0x4e19 011615 beq signal_disconnect_req ,l2cap_proc_signal_disconnect_req 
+0x4e1a 011616 beq signal_disconnect_rsp ,l2cap_proc_signal_disconnect_rsp 
+0x4e1b 011617 beq signal_echo_req ,l2cap_proc_signal_echo_req 
+0x4e1c 011618 beq signal_echo_rsp ,l2cap_proc_signal_echo_rsp 
+0x4e1d 011619 beq signal_info_req ,l2cap_proc_signal_info_req 
+0x4e1e 011620 beq signal_info_rsp ,l2cap_proc_signal_info_rsp 
+0x4e1f 011621 call l2cap_reject_command 
+:      011622 l2cap_process_one_signal_rtn:
+0x4e20 011623 rtn 
+:      011625 l2cap_proc_signal_info_req:
+0x4e21 011626 ifetch 1 ,contr 
+0x4e22 011627 copy pdata ,queue 
+0x4e23 011628 ifetch 2 ,contr 
+0x4e24 011629 copy pdata ,rega 
+0x4e25 011630 copy regc ,pdata 
+0x4e26 011631 isub rega ,regc 
+0x4e27 011632 copy rega ,pdata 
+0x4e28 011633 iadd contr ,contr 
+0x4e29 011634 setarg 0x0b 
+0x4e2a 011635 istore 1 ,contw 
+0x4e2b 011636 copy queue ,pdata 
+0x4e2c 011637 istore 1 ,contw 
+0x4e2d 011638 force 0x0008 ,pdata 
+0x4e2e 011639 istore 2 ,contw 
+0x4e2f 011640 force 0x0002 ,pdata 
+0x4e30 011641 istore 2 ,contw 
+0x4e31 011642 force 0x0000 ,pdata 
+0x4e32 011643 istore 2 ,contw 
+0x4e33 011644 force 0x0400 ,pdata 
+0x4e34 011645 istore 2 ,contw 
+0x4e35 011646 force 0x0000 ,pdata 
+0x4e36 011647 istore 2 ,contw 
+0x4e37 011648 force 12 ,pdata 
+0x4e38 011649 iadd regb ,regb 
+0x4e39 011650 branch l2cap_process_one_signal_rtn 
+:      011652 ml2cap_proc_signal_info_req:
+0x4e3a 011653 ifetch 1 ,contr 
+0x4e3b 011654 copy pdata ,queue 
+0x4e3c 011655 ifetch 2 ,contr 
+0x4e3d 011656 copy pdata ,rega 
+0x4e3e 011657 copy regc ,pdata 
+0x4e3f 011658 isub rega ,regc 
+0x4e40 011659 copy rega ,pdata 
+0x4e41 011660 iadd contr ,contr 
+0x4e42 011661 call l2cap_get_signal_tx_payload 
+0x4e43 011662 setarg 0x0b 
+0x4e44 011663 istore 1 ,contw 
+0x4e45 011664 copy queue ,pdata 
+0x4e46 011665 istore 1 ,contw 
+0x4e47 011666 force 0x0008 ,pdata 
+0x4e48 011667 istore 2 ,contw 
+0x4e49 011668 force 0x0002 ,pdata 
+0x4e4a 011669 istore 2 ,contw 
+0x4e4b 011670 force 0x0000 ,pdata 
+0x4e4c 011671 istore 2 ,contw 
+0x4e4d 011672 force 0x0400 ,pdata 
+0x4e4e 011673 istore 2 ,contw 
+0x4e4f 011674 force 0x0000 ,pdata 
+0x4e50 011675 istore 2 ,contw 
+0x4e51 011676 force 12 ,pdata 
+0x4e52 011677 iadd regb ,regb 
+0x4e53 011679 branch l2cap_process_one_signal_rtn 
+:      011683 l2cap_proc_signal_cmd_reject:
+0x4e54 011684 ifetch 1 ,contr 
+0x4e55 011685 copy pdata ,queue 
+0x4e56 011686 ifetch 2 ,contr 
+0x4e57 011687 copy pdata ,rega 
+0x4e58 011688 iadd contr ,contr 
+0x4e59 011689 copy regc ,pdata 
+0x4e5a 011690 isub rega ,regc 
+:      011691 l2cap_proc_signal_cmd_reject_rtn:
+0x4e5b 011692 branch l2cap_process_one_signal_rtn 
+:      011694 l2cap_proc_signal_connect_req:
+0x4e5c 011695 call save_cont_pointers 
+0x4e5d 011698 call load_cont_pointers 
+0x4e5e 011699 arg 0 ,debug 
+0x4e5f 011700 ifetch 1 ,contr 
+0x4e60 011701 copy pdata ,queue 
+0x4e61 011702 ifetch 2 ,contr 
+0x4e62 011703 copy pdata ,rega 
+0x4e63 011704 ifetch 2 ,contr 
+0x4e64 011705 copy pdata ,temp 
+0x4e65 011706 ifetch 2 ,contr 
+0x4e66 011707 copy pdata ,timeup 
+0x4e67 011708 copy temp ,pdata 
+0x4e68 011709 beq psm_sdp ,l2cap_proc_signal_connect_req_sdp 
+0x4e69 011710 beq psm_rfcomm ,l2cap_proc_signal_connect_req_rfcomm 
+0x4e6a 011711 beq psm_hid_control ,l2cap_proc_signal_connect_req_hid_ctrl 
+0x4e6b 011712 beq psm_hid_interrupt ,l2cap_proc_signal_connect_req_hid_int 
+0x4e6c 011713 call l2cap_reject_command 
+0x4e6d 011714 branch l2cap_proc_signal_connect_req_rtn 
+:      011716 l2cap_proc_signal_connect_req_sdp:
+0x4e6e 011717 call save_cont_pointers 
+0x4e6f 011718 arg l2cap_sdp_channel ,temp 
+0x4e70 011719 fetch 2 ,mem_sdp_remote_cid 
+0x4e71 011720 nbranch already_connected ,blank 
+0x4e72 011721 copy timeup ,pdata 
+0x4e73 011722 store 2 ,mem_sdp_remote_cid 
+0x4e74 011723 copy clkn_bt ,pdata 
+0x4e75 011724 store 4 ,mem_l2cap_sdpres_delay_time 
+0x4e76 011725 call store_l2cap_req_param 
+0x4e77 011726 branch send_connection_pending 
+:      011728 store_l2cap_req_param:
+0x4e78 011729 storet 2 ,mem_psm 
+0x4e79 011730 deposit timeup 
+0x4e7a 011731 store 2 ,mem_scid 
+0x4e7b 011732 deposit rega 
+0x4e7c 011733 store 2 ,mem_cmd_length 
+0x4e7d 011734 deposit regb 
+0x4e7e 011735 store 2 ,mem_tt2 
+0x4e7f 011736 deposit regc 
+0x4e80 011737 store 2 ,mem_tt3 
+0x4e81 011738 deposit queue 
+0x4e82 011739 store 2 ,mem_id 
+0x4e83 011740 rtn 
+:      011742 restore_l2cap_req_param:
+0x4e84 011743 fetcht 2 ,mem_psm 
+0x4e85 011744 fetch 2 ,mem_scid 
+0x4e86 011745 copy pdata ,timeup 
+0x4e87 011746 fetch 2 ,mem_cmd_length 
+0x4e88 011747 copy pdata ,rega 
+0x4e89 011748 fetch 2 ,mem_tt2 
+0x4e8a 011749 copy pdata ,regb 
+0x4e8b 011750 fetch 2 ,mem_tt3 
+0x4e8c 011751 copy pdata ,regc 
+0x4e8d 011752 fetch 2 ,mem_id 
+0x4e8e 011753 copy pdata ,queue 
+0x4e8f 011754 rtn 
+:      011756 l2cap_proc_signal_connect_req_rfcomm:
+0x4e90 011757 call save_cont_pointers 
+0x4e91 011758 setarg l2cap_rfcomm_channel 
+0x4e92 011759 arg l2cap_rfcomm_channel ,temp 
+0x4e93 011760 fetch 2 ,mem_rfcomm_remote_cid 
+0x4e94 011761 nbranch already_connected ,blank 
+0x4e95 011762 copy timeup ,pdata 
+0x4e96 011763 store 2 ,mem_rfcomm_remote_cid 
+0x4e97 011764 fetch 1 ,mem_rfcomm_state 
+0x4e98 011765 set1 l2cap_channel_state_conn_req ,pdata 
+0x4e99 011766 set1 l2cap_channel_state_conn_res ,pdata 
+0x4e9a 011767 store 1 ,mem_rfcomm_state 
+0x4e9b 011768 branch send_connection_res 
+:      011769 l2cap_proc_signal_connect_req_hid_ctrl:
+0x4e9c 011770 call save_cont_pointers 
+0x4e9d 011771 arg l2cap_hid_control_channel ,temp 
+0x4e9e 011772 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x4e9f 011773 nbranch already_connected ,blank 
+0x4ea0 011774 copy timeup ,pdata 
+0x4ea1 011775 store 2 ,mem_hid_ctrl_remote_cid 
+0x4ea2 011776 fetch 1 ,mem_hid_control_state 
+0x4ea3 011777 set1 l2cap_channel_state_conn_req ,pdata 
+0x4ea4 011778 set1 l2cap_channel_state_conn_res ,pdata 
+0x4ea5 011779 store 1 ,mem_hid_control_state 
+0x4ea6 011780 branch send_connection_res 
+:      011781 l2cap_proc_signal_connect_req_hid_int:
+0x4ea7 011782 call save_cont_pointers 
+0x4ea8 011783 deposit clke 
+0x4ea9 011784 arg l2cap_hid_interrupt_channel ,temp 
+0x4eaa 011785 fetch 2 ,mem_hid_int_remote_cid 
+0x4eab 011786 nbranch already_connected ,blank 
+0x4eac 011787 copy timeup ,pdata 
+0x4ead 011788 store 2 ,mem_hid_int_remote_cid 
+0x4eae 011789 fetch 1 ,mem_hid_interrupt_state 
+0x4eaf 011790 set1 l2cap_channel_state_conn_req ,pdata 
+0x4eb0 011791 set1 l2cap_channel_state_conn_res ,pdata 
+0x4eb1 011792 store 1 ,mem_hid_interrupt_state 
+0x4eb2 011793 branch send_connection_res 
+:      011795 send_connection_pending:
+0x4eb3 011796 setarg l2cap_connect_pending 
+0x4eb4 011797 store 2 ,meml2cap_t1 
+0x4eb5 011798 jam l2cap_sdp_channel ,mem_l2cap_pending_item 
+0x4eb6 011799 branch send_connection_res0 
+:      011800 send_connection_sdp_res:
+0x4eb7 011801 fetch 1 ,mem_sdp_state 
+0x4eb8 011802 set1 l2cap_channel_state_conn_req ,pdata 
+0x4eb9 011803 set1 l2cap_channel_state_conn_res ,pdata 
+0x4eba 011804 store 1 ,mem_sdp_state 
+:      011805 send_connection_res:
+0x4ebb 011806 setarg l2cap_connect_successful 
+0x4ebc 011807 store 2 ,meml2cap_t1 
+:      011808 send_connection_res0:
+0x4ebd 011809 set1 mark_ext_patch ,mark 
+0x4ebe 011810 bpatch patch23_4 ,mem_patch23 
+0x4ebf 011811 call load_cont_pointers 
+0x4ec0 011812 setarg signal_connect_rsp 
+0x4ec1 011813 istore 1 ,contw 
+0x4ec2 011814 copy queue ,pdata 
+0x4ec3 011815 istore 1 ,contw 
+0x4ec4 011816 setarg 0x0008 
+0x4ec5 011817 istore 2 ,contw 
+0x4ec6 011818 copy temp ,pdata 
+0x4ec7 011819 istore 2 ,contw 
+0x4ec8 011820 copy timeup ,pdata 
+0x4ec9 011821 istore 2 ,contw 
+0x4eca 011822 fetch 2 ,meml2cap_t1 
+0x4ecb 011823 beq l2cap_connect_pending ,connect_pending 
+0x4ecc 011824 isolate0 0 ,debug 
+0x4ecd 011825 branch connect_suc ,true 
+0x4ece 011826 setarg l2cap_connect_refused_no_resources 
+:      011827 connect_suc:
+0x4ecf 011828 istore 2 ,contw 
+0x4ed0 011829 force 0x0000 ,pdata 
+0x4ed1 011830 istore 2 ,contw 
+0x4ed2 011831 setarg 12 
+0x4ed3 011832 branch connect_req_update_byte_counts 
+:      011833 connect_pending:
+0x4ed4 011834 istore 2 ,contw 
+0x4ed5 011835 force 0x0002 ,pdata 
+0x4ed6 011836 istore 2 ,contw 
+0x4ed7 011837 setarg 12 
+0x4ed8 011838 branch connect_req_update_byte_counts 
+:      011840 already_connected:
+0x4ed9 011841 set1 0 ,debug 
+0x4eda 011842 branch send_connection_res 
+:      011843 connect_req_update_byte_counts:
+0x4edb 011844 iadd regb ,regb 
+0x4edc 011845 copy regc ,pdata 
+0x4edd 011846 isub rega ,regc 
+0x4ede 011847 branch l2cap_proc_signal_connect_req_rtn 
+:      011848 l2cap_proc_signal_connect_req_rtn:
+0x4edf 011849 branch l2cap_process_one_signal_rtn 
+:      011851 l2cap_proc_signal_connect_rsp:
+0x4ee0 011852 ifetch 1 ,contr 
+0x4ee1 011853 copy pdata ,queue 
+0x4ee2 011854 ifetch 2 ,contr 
+0x4ee3 011855 copy pdata ,rega 
+0x4ee4 011856 copy regc ,pdata 
+0x4ee5 011857 isub rega ,regc 
+0x4ee6 011858 ifetch 2 ,contr 
+0x4ee7 011859 copy pdata ,timeup 
+0x4ee8 011860 ifetch 2 ,contr 
+0x4ee9 011861 copy pdata ,temp 
+0x4eea 011862 setarg l2cap_sdp_channel 
+0x4eeb 011863 isub temp ,null 
+0x4eec 011864 branch l2cap_proc_signal_connect_rsp_sdp ,zero 
+0x4eed 011865 setarg l2cap_rfcomm_channel 
+0x4eee 011866 isub temp ,null 
+0x4eef 011867 branch l2cap_proc_signal_connect_rsp_rfcomm ,zero 
+0x4ef0 011868 setarg l2cap_hid_control_channel 
+0x4ef1 011869 isub temp ,null 
+0x4ef2 011870 branch l2cap_proc_signal_connect_rsp_hid_ctrl ,zero 
+0x4ef3 011871 setarg l2cap_hid_interrupt_channel 
+0x4ef4 011872 isub temp ,null 
+0x4ef5 011873 branch l2cap_proc_signal_connect_rsp_hid_int ,zero 
+0x4ef6 011874 rtn 
+:      011876 l2cap_proc_signal_connect_rsp_sdp:
+0x4ef7 011877 copy timeup ,pdata 
+0x4ef8 011878 store 2 ,mem_sdp_remote_cid 
+0x4ef9 011879 fetch 1 ,mem_sdp_state 
+0x4efa 011880 set1 l2cap_channel_state_conn_res ,pdata 
+0x4efb 011881 store 1 ,mem_sdp_state 
+0x4efc 011882 branch l2cap_process_one_signal_rtn 
+:      011883 l2cap_proc_signal_connect_rsp_rfcomm:
+0x4efd 011884 copy timeup ,pdata 
+0x4efe 011885 store 2 ,mem_rfcomm_remote_cid 
+0x4eff 011886 fetch 1 ,mem_rfcomm_state 
+0x4f00 011887 set1 l2cap_channel_state_conn_res ,pdata 
+0x4f01 011888 store 1 ,mem_rfcomm_state 
+0x4f02 011889 rtn 
+:      011890 l2cap_proc_signal_connect_rsp_hid_int:
+0x4f03 011891 copy timeup ,pdata 
+0x4f04 011892 store 2 ,mem_hid_ctrl_remote_cid 
+0x4f05 011893 fetch 1 ,mem_hid_interrupt_state 
+0x4f06 011894 set1 l2cap_channel_state_conn_res ,pdata 
+0x4f07 011895 store 1 ,mem_hid_interrupt_state 
+0x4f08 011896 rtn 
+:      011897 l2cap_proc_signal_connect_rsp_hid_ctrl:
+0x4f09 011898 copy timeup ,pdata 
+0x4f0a 011899 store 2 ,mem_hid_int_remote_cid 
+0x4f0b 011900 fetch 1 ,mem_hid_control_state 
+0x4f0c 011901 set1 l2cap_channel_state_conn_res ,pdata 
+0x4f0d 011902 store 1 ,mem_hid_control_state 
+0x4f0e 011903 rtn 
+:      011905 l2cap_proc_signal_config_req:
+0x4f0f 011906 ifetch 1 ,contr 
+0x4f10 011907 copy pdata ,queue 
+0x4f11 011908 ifetch 2 ,contr 
+0x4f12 011909 copy pdata ,rega 
+0x4f13 011910 copy regc ,pdata 
+0x4f14 011911 isub rega ,regc 
+0x4f15 011912 ifetch 2 ,contr 
+0x4f16 011913 copy pdata ,temp 
+0x4f17 011914 copy temp ,rega 
+0x4f18 011915 setarg l2cap_sdp_channel 
+0x4f19 011916 isub temp ,null 
+0x4f1a 011917 branch l2cap_proc_signal_config_req_sdp ,zero 
+0x4f1b 011918 setarg l2cap_rfcomm_channel 
+0x4f1c 011919 isub temp ,null 
+0x4f1d 011920 branch l2cap_proc_signal_config_req_rfcomm ,zero 
+0x4f1e 011921 setarg l2cap_hid_control_channel 
+0x4f1f 011922 isub temp ,null 
+0x4f20 011923 branch l2cap_proc_signal_config_req_hid_ctrl ,zero 
+0x4f21 011924 setarg l2cap_hid_interrupt_channel 
+0x4f22 011925 isub temp ,null 
+0x4f23 011926 branch l2cap_proc_signal_config_req_hid_int ,zero 
+0x4f24 011927 branch l2cap_reject_command 
+:      011929 l2cap_proc_signal_config_req_sdp:
+0x4f25 011930 copy contw ,timeup 
+0x4f26 011931 fetch 1 ,mem_sdp_state 
+0x4f27 011932 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+0x4f28 011933 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+0x4f29 011935 store 1 ,mem_sdp_state 
+0x4f2a 011936 copy timeup ,contw 
+0x4f2b 011937 arg l2cap_sdp_channel ,timeup 
+0x4f2c 011938 fetch 2 ,mem_sdp_remote_cid 
+0x4f2d 011939 copy pdata ,temp 
+0x4f2e 011940 branch l2cap_send_config_rsp 
+:      011941 l2cap_proc_signal_config_req_hid_ctrl:
+0x4f2f 011942 copy contw ,timeup 
+0x4f30 011943 fetch 1 ,mem_hid_control_state 
+0x4f31 011944 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+0x4f32 011945 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+0x4f33 011947 store 1 ,mem_hid_control_state 
+0x4f34 011948 copy timeup ,contw 
+0x4f35 011949 arg l2cap_hid_control_channel ,timeup 
+0x4f36 011950 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x4f37 011951 copy pdata ,temp 
+0x4f38 011952 branch l2cap_send_config_rsp 
+:      011953 l2cap_proc_signal_config_req_hid_int:
+0x4f39 011954 copy contw ,timeup 
+0x4f3a 011955 fetch 1 ,mem_hid_interrupt_state 
+0x4f3b 011956 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+0x4f3c 011957 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+0x4f3d 011959 store 1 ,mem_hid_interrupt_state 
+0x4f3e 011960 copy timeup ,contw 
+0x4f3f 011961 arg l2cap_hid_interrupt_channel ,timeup 
+0x4f40 011962 fetch 2 ,mem_hid_int_remote_cid 
+0x4f41 011963 copy pdata ,temp 
+0x4f42 011964 branch l2cap_send_config_rsp 
+:      011965 l2cap_proc_signal_config_req_rfcomm:
+0x4f43 011966 copy contw ,timeup 
+0x4f44 011967 fetch 1 ,mem_rfcomm_state 
+0x4f45 011968 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+0x4f46 011969 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+0x4f47 011971 store 1 ,mem_rfcomm_state 
+0x4f48 011973 copy timeup ,contw 
+0x4f49 011974 arg l2cap_rfcomm_channel ,timeup 
+0x4f4a 011975 fetch 2 ,mem_rfcomm_remote_cid 
+0x4f4b 011976 copy pdata ,temp 
+:      011977 l2cap_send_config_rsp:
+0x4f4c 011978 set1 mark_ext_patch ,mark 
+0x4f4d 011979 bpatch patch23_5 ,mem_patch23 
+0x4f4e 011980 setarg signal_config_rsp 
+0x4f4f 011981 istore 1 ,contw 
+0x4f50 011982 copy queue ,pdata 
+0x4f51 011983 istore 1 ,contw 
+0x4f52 011984 setarg 0x0006 
+0x4f53 011985 istore 2 ,contw 
+0x4f54 011986 copy temp ,pdata 
+0x4f55 011987 istore 2 ,contw 
+0x4f56 011988 force 0x00 ,pdata 
+0x4f57 011989 istore 2 ,contw 
+0x4f58 011990 force l2cap_config_success ,pdata 
+0x4f59 011991 istore 2 ,contw 
+0x4f5a 011992 force 10 ,pdata 
+0x4f5b 011993 iadd regb ,regb 
+0x4f5c 011995 storet 2 ,mem_config_req_dest_cid 
+0x4f5d 011996 copy queue ,pdata 
+0x4f5e 011997 store 1 ,mem_config_identifier 
+0x4f5f 011998 force l2cap_sdp_channel ,pdata 
+0x4f60 011999 icompare 0xff ,timeup 
+0x4f61 012000 branch l2cap_send_config_rsp_is_sdp ,true 
+0x4f62 012001 increase 1 ,pdata 
+:      012002 l2cap_send_config_rsp_is_sdp:
+0x4f63 012004 rtn 
+:      012005 l2cap_check_channel_state:
+0x4f64 012006 disable user 
+0x4f65 012007 rtnbit1 l2cap_channel_state_snd_cfg_req ,pdata 
+0x4f66 012008 rtnbit0 l2cap_channel_state_conn_req ,pdata 
+0x4f67 012009 rtnbit0 l2cap_channel_state_conn_res ,pdata 
+0x4f68 012010 set1 l2cap_channel_state_snd_cfg_req ,pdata 
+0x4f69 012011 copy contr ,contw 
+0x4f6a 012012 increase -1 ,contw 
+0x4f6b 012013 istore 1 ,contw 
+0x4f6c 012014 enable user 
+0x4f6d 012015 rtn 
+:      012016 l2cap_send_config_req:
+:      012017 l2cap_send_config_req_sdp:
+0x4f6e 012018 fetch 1 ,mem_sdp_state 
+0x4f6f 012019 call l2cap_check_channel_state 
+0x4f70 012020 nbranch l2cap_send_config_req_rfcomm ,user 
+0x4f71 012021 jam l2cap_sdp_channel ,mem_send_config_req 
+0x4f72 012022 fetch 2 ,mem_sdp_remote_cid 
+0x4f73 012023 store 2 ,mem_config_req_dest_cid 
+0x4f74 012024 branch l2cap_generate_config_req 
+:      012025 l2cap_send_config_req_rfcomm:
+0x4f75 012026 fetch 1 ,mem_rfcomm_state 
+0x4f76 012027 call l2cap_check_channel_state 
+0x4f77 012028 nbranch l2cap_send_config_req_hid_ctrl ,user 
+0x4f78 012029 jam l2cap_rfcomm_channel ,mem_send_config_req 
+0x4f79 012030 fetch 2 ,mem_rfcomm_remote_cid 
+0x4f7a 012031 store 2 ,mem_config_req_dest_cid 
+0x4f7b 012032 branch l2cap_generate_config_req 
+:      012033 l2cap_send_config_req_hid_ctrl:
+0x4f7c 012034 fetch 1 ,mem_hid_control_state 
+0x4f7d 012035 call l2cap_check_channel_state 
+0x4f7e 012036 nbranch l2cap_send_config_req_hid_int ,user 
+0x4f7f 012037 jam l2cap_hid_control_channel ,mem_send_config_req 
+0x4f80 012038 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x4f81 012039 store 2 ,mem_config_req_dest_cid 
+0x4f82 012040 branch l2cap_generate_config_req 
+:      012041 l2cap_send_config_req_hid_int:
+0x4f83 012042 fetch 1 ,mem_hid_interrupt_state 
+0x4f84 012043 call l2cap_check_channel_state 
+0x4f85 012044 nrtn user 
+0x4f86 012045 jam l2cap_hid_interrupt_channel ,mem_send_config_req 
+0x4f87 012046 fetch 2 ,mem_hid_int_remote_cid 
+0x4f88 012047 store 2 ,mem_config_req_dest_cid 
+:      012050 l2cap_generate_config_req:
+0x4f89 012051 set1 mark_ext_patch ,mark 
+0x4f8a 012052 bpatch patch23_6 ,mem_patch23 
+0x4f8b 012053 call l2cap_get_req_id 
+0x4f8c 012054 call l2cap_malloc_signal_channel 
+0x4f8d 012055 force 0 ,regb 
+0x4f8e 012056 call l2cap_get_signal_tx_payload 
+0x4f8f 012057 force signal_config_req ,pdata 
+0x4f90 012058 istore 1 ,contw 
+0x4f91 012059 fetch 1 ,mem_ml2cap_comm_id 
+0x4f92 012060 istore 1 ,contw 
+0x4f93 012061 setarg 0x0008 
+0x4f94 012062 istore 2 ,contw 
+0x4f95 012063 fetch 2 ,mem_config_req_dest_cid 
+0x4f96 012064 istore 2 ,contw 
+0x4f97 012065 setarg 0x0000 
+0x4f98 012066 istore 2 ,contw 
+0x4f99 012067 force 1 ,pdata 
+0x4f9a 012068 istore 1 ,contw 
+0x4f9b 012069 force 2 ,pdata 
+0x4f9c 012070 istore 1 ,contw 
+0x4f9d 012071 fetch 1 ,mem_send_config_req 
+0x4f9e 012072 beq l2cap_rfcomm_channel ,l2cap_generate_config_req_rfcomm 
+0x4f9f 012073 setarg l2cap_config_mtu_sdp 
+0x4fa0 012074 istore 2 ,contw 
+0x4fa1 012075 branch l2cap_generate_config_req_done 
+:      012076 l2cap_generate_config_req_rfcomm:
+0x4fa2 012077 setarg l2cap_config_mtu_rfcomm 
+0x4fa3 012078 istore 2 ,contw 
+:      012079 l2cap_generate_config_req_done:
+0x4fa4 012080 arg 0x0c ,temp 
+0x4fa5 012081 storet 2 ,mem_l2cap_signal_tx_length 
+0x4fa6 012082 call l2cap_get_signal_tx_buff 
+0x4fa7 012083 fetch 2 ,mem_l2cap_signal_tx_length 
+0x4fa8 012084 istore 2 ,contw 
+0x4fa9 012085 force l2cap_signal_channel ,pdata 
+0x4faa 012086 istore 2 ,contw 
+0x4fab 012087 jam 0 ,mem_send_config_req 
+:      012088 l2cap_proc_signal_config_req_rtn:
+0x4fac 012089 branch l2cap_process_one_signal_rtn 
+:      012091 l2cap_proc_signal_config_rsp:
+0x4fad 012092 increase 1 ,contr 
+0x4fae 012093 ifetch 2 ,contr 
+0x4faf 012094 copy pdata ,rega 
+0x4fb0 012095 copy regc ,pdata 
+0x4fb1 012096 isub rega ,regc 
+0x4fb2 012097 ifetch 2 ,contr 
+0x4fb3 012098 copy pdata ,rega 
+0x4fb4 012099 setarg l2cap_sdp_channel 
+0x4fb5 012100 isub rega ,null 
+0x4fb6 012101 branch l2cap_proc_signal_config_rsp_sdp ,zero 
+0x4fb7 012102 setarg l2cap_rfcomm_channel 
+0x4fb8 012103 isub rega ,null 
+0x4fb9 012104 branch l2cap_proc_signal_config_rsp_rfcomm ,zero 
+0x4fba 012105 setarg l2cap_hid_control_channel 
+0x4fbb 012106 isub rega ,null 
+0x4fbc 012107 branch l2cap_proc_signal_config_rsp_hid_ctrl ,zero 
+0x4fbd 012108 setarg l2cap_hid_interrupt_channel 
+0x4fbe 012109 isub rega ,null 
+0x4fbf 012110 branch l2cap_proc_signal_config_rsp_hid_int ,zero 
+0x4fc0 012111 increase 2 ,contr 
+0x4fc1 012112 ifetch 2 ,contr 
+0x4fc2 012113 iforce null 
+0x4fc3 012114 branch l2cap_process_one_signal_rtn 
+:      012115 l2cap_proc_signal_config_rsp_sdp:
+0x4fc4 012116 fetch 1 ,mem_sdp_state 
+0x4fc5 012117 set1 l2cap_channel_state_rcv_cfg_res ,pdata 
+0x4fc6 012118 store 1 ,mem_sdp_state 
+0x4fc7 012119 branch l2cap_process_one_signal_rtn 
+:      012120 l2cap_proc_signal_config_rsp_rfcomm:
+0x4fc8 012121 fetch 1 ,mem_rfcomm_state 
+0x4fc9 012122 set1 l2cap_channel_state_rcv_cfg_res ,pdata 
+0x4fca 012123 store 1 ,mem_rfcomm_state 
+0x4fcb 012124 branch l2cap_process_one_signal_rtn 
+:      012125 l2cap_proc_signal_config_rsp_hid_ctrl:
+0x4fcc 012126 fetch 1 ,mem_hid_control_state 
+0x4fcd 012127 set1 l2cap_channel_state_rcv_cfg_res ,pdata 
+0x4fce 012128 store 1 ,mem_hid_control_state 
+0x4fcf 012129 branch l2cap_process_one_signal_rtn 
+:      012130 l2cap_proc_signal_config_rsp_hid_int:
+0x4fd0 012131 fetch 1 ,mem_hid_interrupt_state 
+0x4fd1 012132 set1 l2cap_channel_state_rcv_cfg_res ,pdata 
+0x4fd2 012133 store 1 ,mem_hid_interrupt_state 
+0x4fd3 012134 jam bt_evt_hid_connected ,mem_fifo_temp 
+0x4fd4 012135 branch ui_ipc_send_event 
+:      012139 l2cap_proc_signal_disconnect_req:
+0x4fd5 012140 ifetch 1 ,contr 
+0x4fd6 012141 copy pdata ,queue 
+0x4fd7 012142 ifetch 2 ,contr 
+0x4fd8 012143 copy pdata ,rega 
+0x4fd9 012144 copy regc ,pdata 
+0x4fda 012145 isub rega ,regc 
+0x4fdb 012146 ifetch 2 ,contr 
+0x4fdc 012147 copy pdata ,rega 
+0x4fdd 012148 ifetch 2 ,contr 
+0x4fde 012149 copy pdata ,timeup 
+0x4fdf 012150 copy rega ,temp 
+0x4fe0 012151 call save_cont_pointers 
+0x4fe1 012152 setarg l2cap_sdp_channel 
+0x4fe2 012153 isub temp ,null 
+0x4fe3 012154 branch l2cap_proc_signal_disconnect_req_sdp ,zero 
+0x4fe4 012155 setarg l2cap_rfcomm_channel 
+0x4fe5 012156 isub temp ,null 
+0x4fe6 012157 branch l2cap_proc_signal_disconnect_req_rfcomm ,zero 
+0x4fe7 012158 setarg l2cap_hid_control_channel 
+0x4fe8 012159 isub temp ,null 
+0x4fe9 012160 branch l2cap_proc_signal_disconnect_req_hid_ctrl ,zero 
+0x4fea 012161 setarg l2cap_hid_interrupt_channel 
+0x4feb 012162 isub temp ,null 
+0x4fec 012163 branch l2cap_proc_signal_disconnect_req_hid_int ,zero 
+0x4fed 012164 call l2cap_reject_command 
+0x4fee 012165 branch l2cap_proc_signal_disconnect_req_err_rtn 
+:      012166 l2cap_proc_signal_disconnect_req_hid_ctrl:
+0x4fef 012167 copy timeup ,temp 
+0x4ff0 012168 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x4ff1 012169 isub temp ,null 
+0x4ff2 012170 branch l2cap_disconnect_hid_control_now ,zero 
+0x4ff3 012171 call l2cap_reject_command 
+0x4ff4 012172 branch l2cap_proc_signal_disconnect_req_err_rtn 
+:      012173 l2cap_proc_signal_disconnect_req_hid_int:
+0x4ff5 012174 copy timeup ,temp 
+0x4ff6 012175 fetch 2 ,mem_hid_int_remote_cid 
+0x4ff7 012176 isub temp ,null 
+0x4ff8 012177 branch l2cap_disconnect_hid_interrupt_now ,zero 
+0x4ff9 012178 call l2cap_reject_command 
+0x4ffa 012179 branch l2cap_proc_signal_disconnect_req_err_rtn 
+:      012181 l2cap_proc_signal_disconnect_req_sdp:
+0x4ffb 012182 copy timeup ,temp 
+0x4ffc 012183 fetch 2 ,mem_sdp_remote_cid 
+0x4ffd 012184 isub temp ,null 
+0x4ffe 012185 branch l2cap_disconnect_sdp_now ,zero 
+0x4fff 012186 call l2cap_reject_command 
+0x5000 012187 branch l2cap_proc_signal_disconnect_req_err_rtn 
+:      012188 l2cap_disconnect_hid_control_now:
+0x5001 012189 call l2cap_reset_hid_ctrl_state 
+0x5002 012190 branch l2cap_send_disconnect_rsp_pkt 
+:      012191 l2cap_disconnect_hid_interrupt_now:
+0x5003 012192 call l2cap_reset_hid_int_state 
+0x5004 012193 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x5005 012194 branch l2cap_send_disconnect_rsp_pkt ,blank 
+0x5006 012202 branch l2cap_send_disconnect_rsp_pkt 
+:      012204 l2cap_disconnect_sdp_now:
+0x5007 012205 call l2cap_reset_sdp_channel_state 
+0x5008 012206 fetch 1 ,mem_upper_sm_ss 
+0x5009 012207 nbranch l2cap_send_disconnect_rsp_pkt ,blank 
+0x500a 012210 branch l2cap_send_disconnect_rsp_pkt 
+:      012211 l2cap_proc_signal_disconnect_req_rfcomm:
+0x500b 012212 copy timeup ,temp 
+0x500c 012213 fetch 2 ,mem_rfcomm_remote_cid 
+0x500d 012214 isub temp ,null 
+0x500e 012215 branch l2cap_disconnect_rfcomm_now ,zero 
+0x500f 012216 call l2cap_reject_command 
+0x5010 012217 branch l2cap_proc_signal_disconnect_req_err_rtn 
+:      012218 l2cap_disconnect_rfcomm_now:
+0x5011 012219 call l2cap_reset_rfcomm_channel_state 
+0x5012 012220 branch l2cap_send_disconnect_rsp_pkt 
+:      012221 l2cap_send_disconnect_rsp_pkt:
+0x5013 012222 call load_cont_pointers 
+0x5014 012223 setarg signal_disconnect_rsp 
+0x5015 012224 istore 1 ,contw 
+0x5016 012225 copy queue ,pdata 
+0x5017 012226 istore 1 ,contw 
+0x5018 012227 setarg 0x0004 
+0x5019 012228 istore 2 ,contw 
+0x501a 012229 copy rega ,pdata 
+0x501b 012230 istore 2 ,contw 
+0x501c 012231 copy timeup ,pdata 
+0x501d 012232 istore 2 ,contw 
+0x501e 012233 force 8 ,pdata 
+0x501f 012234 branch l2cap_proc_signal_disconnect_req_rtn 
+:      012235 l2cap_proc_signal_disconnect_req_err_rtn:
+0x5020 012236 call load_cont_pointers 
+0x5021 012237 branch l2cap_proc_signal_disconnect_req_rtn 
+:      012238 l2cap_proc_signal_disconnect_req_rtn:
+0x5022 012239 iadd regb ,regb 
+0x5023 012240 branch l2cap_process_one_signal_rtn 
+:      012241 l2cap_proc_signal_disconnect_rsp:
+0x5024 012242 ifetch 1 ,contr 
+0x5025 012243 copy pdata ,queue 
+0x5026 012244 ifetch 2 ,contr 
+0x5027 012245 copy pdata ,rega 
+0x5028 012246 copy regc ,pdata 
+0x5029 012247 isub rega ,regc 
+0x502a 012248 ifetch 2 ,contr 
+0x502b 012249 copy pdata ,timeup 
+0x502c 012250 ifetch 2 ,contr 
+0x502d 012251 copy pdata ,temp 
+0x502e 012252 call save_cont_pointers 
+0x502f 012253 setarg l2cap_sdp_channel 
+0x5030 012254 isub temp ,null 
+0x5031 012255 branch l2cap_proc_signal_disconnect_rsp_sdp ,zero 
+0x5032 012256 setarg l2cap_rfcomm_channel 
+0x5033 012257 isub temp ,null 
+0x5034 012258 branch l2cap_proc_signal_disconnect_rsp_rfcomm ,zero 
+0x5035 012259 setarg l2cap_hid_control_channel 
+0x5036 012260 isub temp ,null 
+0x5037 012261 branch l2cap_proc_signal_disconnect_rsp_hid_ctrl ,zero 
+0x5038 012262 setarg l2cap_hid_interrupt_channel 
+0x5039 012263 isub temp ,null 
+0x503a 012264 branch l2cap_proc_signal_disconnect_rsp_hid_int ,zero 
+0x503b 012265 call l2cap_reject_command 
+0x503c 012266 branch l2cap_proc_signal_disconnect_rsp_err_rtn 
+:      012267 l2cap_proc_signal_disconnect_rsp_sdp:
+0x503d 012268 copy temp ,rega 
+0x503e 012269 copy timeup ,temp 
+0x503f 012270 fetch 2 ,mem_sdp_remote_cid 
+0x5040 012271 isub temp ,null 
+0x5041 012272 call l2cap_reset_sdp_channel_state ,zero 
+0x5042 012273 branch l2cap_proc_signal_disconnect_rsp_rtn 
+:      012274 l2cap_proc_signal_disconnect_rsp_rfcomm:
+0x5043 012275 copy temp ,rega 
+0x5044 012276 copy timeup ,temp 
+0x5045 012277 fetch 2 ,mem_rfcomm_remote_cid 
+0x5046 012278 isub temp ,null 
+0x5047 012279 call l2cap_reset_rfcomm_channel_state ,zero 
+0x5048 012280 branch l2cap_proc_signal_disconnect_rsp_rtn 
+:      012281 l2cap_proc_signal_disconnect_rsp_hid_ctrl:
+0x5049 012282 copy temp ,rega 
+0x504a 012283 copy timeup ,temp 
+0x504b 012284 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x504c 012285 isub temp ,null 
+0x504d 012286 call l2cap_reset_hid_ctrl_state ,zero 
+0x504e 012287 branch l2cap_proc_signal_disconnect_rsp_rtn 
+:      012288 l2cap_proc_signal_disconnect_rsp_hid_int:
+0x504f 012289 copy temp ,rega 
+0x5050 012290 copy timeup ,temp 
+0x5051 012291 fetch 2 ,mem_hid_int_remote_cid 
+0x5052 012292 isub temp ,null 
+0x5053 012293 call l2cap_reset_hid_int_state ,zero 
+0x5054 012294 branch l2cap_proc_signal_disconnect_rsp_rtn 
+:      012295 l2cap_proc_signal_disconnect_rsp_rtn:
+0x5055 012296 call load_cont_pointers 
+0x5056 012297 branch l2cap_process_one_signal_rtn 
+:      012298 l2cap_proc_signal_disconnect_rsp_err_rtn:
+0x5057 012299 branch l2cap_process_one_signal_rtn 
+:      012302 l2cap_proc_signal_echo_req:
+0x5058 012303 ifetch 1 ,contr 
+0x5059 012304 copy pdata ,queue 
+0x505a 012305 ifetch 2 ,contr 
+0x505b 012306 copy pdata ,rega 
+0x505c 012307 iadd contr ,contr 
+0x505d 012308 setarg 9 
+0x505e 012309 istore 1 ,contw 
+0x505f 012310 copy queue ,pdata 
+0x5060 012311 istore 1 ,contw 
+0x5061 012312 force 0x0000 ,pdata 
+0x5062 012313 istore 2 ,contw 
+0x5063 012314 force 4 ,pdata 
+0x5064 012315 iadd regb ,regb 
+0x5065 012316 copy regc ,pdata 
+0x5066 012317 isub rega ,regc 
+0x5067 012318 branch l2cap_process_one_signal_rtn 
+:      012319 l2cap_proc_signal_echo_rsp:
+0x5068 012320 branch l2cap_process_one_signal_rtn 
+:      012322 l2cap_proc_signal_info_rsp:
+0x5069 012323 branch l2cap_process_one_signal_rtn 
+:      012324 l2cap_reject_command:
+0x506a 012325 force 0 ,regb 
+0x506b 012326 call l2cap_get_signal_tx_payload 
+0x506c 012327 setarg signal_cmd_reject 
+0x506d 012328 istore 1 ,contw 
+0x506e 012329 copy queue ,pdata 
+0x506f 012330 istore 1 ,contw 
+0x5070 012331 setarg 2 
+0x5071 012332 istore 2 ,contw 
+0x5072 012333 setarg cmd_not_understood 
+0x5073 012334 istore 2 ,contw 
+0x5074 012335 increase 6 ,regb 
+0x5075 012336 arg 4 ,regc 
+0x5076 012337 branch l2cap_process_one_signal_rtn 
+:      012341 l2cap_reset_rfcomm_channel_state:
+0x5077 012342 setarg 0 
+0x5078 012343 store 2 ,mem_rfcomm_tx_pkt_length 
+0x5079 012344 store 2 ,mem_rfcomm_remote_cid 
+0x507a 012345 jam 0 ,mem_rfcomm_state 
+0x507b 012346 rtn 
+:      012347 l2cap_reset_sdp_channel_state:
+0x507c 012348 setarg 0 
+0x507d 012349 store 2 ,mem_sdp_tx_pkt_length 
+0x507e 012350 store 2 ,mem_sdp_remote_cid 
+0x507f 012351 jam 0 ,mem_sdp_state 
+0x5080 012352 rtn 
+:      012353 l2cap_reset_hid_ctrl_state:
+0x5081 012354 setarg 0 
+0x5082 012355 store 2 ,mem_hid_ctrl_remote_cid 
+0x5083 012356 jam 0 ,mem_hid_control_state 
+0x5084 012357 fetch 1 ,mem_hid_interrupt_state 
+0x5085 012358 beq 0 ,l2cap_reset_hid_disconnected 
+0x5086 012359 rtn 
+:      012361 l2cap_reset_hid_int_state:
+0x5087 012362 setarg 0 
+0x5088 012363 store 2 ,mem_hid_int_remote_cid 
+0x5089 012364 jam 0 ,mem_hid_interrupt_state 
+0x508a 012365 fetch 1 ,mem_hid_control_state 
+0x508b 012366 beq 0 ,l2cap_reset_hid_disconnected 
+0x508c 012367 rtn 
+:      012369 l2cap_reset_hid_disconnected:
+0x508d 012370 jam bt_evt_hid_disconnected ,mem_fifo_temp 
+0x508e 012371 branch ui_ipc_send_event 
+:      012373 l2cap_disconnect_interrupt_req:
+0x508f 012374 fetch 1 ,mem_control_tasks 
+0x5090 012375 set0 l2cap_disconnect_interrupt ,pdata 
+0x5091 012376 store 1 ,mem_control_tasks 
+0x5092 012377 fetch 2 ,mem_hid_int_remote_cid 
+0x5093 012378 rtn blank 
+0x5094 012379 call l2cap_malloc_signal_channel 
+0x5095 012380 fetch 2 ,mem_hid_int_remote_cid 
+0x5096 012381 copy pdata ,rega 
+0x5097 012382 force l2cap_hid_interrupt_channel ,regb 
+0x5098 012383 branch l2cap_generate_disconnect_req 
+:      012384 l2cap_disconnect_control_req:
+0x5099 012385 fetch 1 ,mem_control_tasks 
+0x509a 012386 set0 l2cap_disconnect_control ,pdata 
+0x509b 012387 store 1 ,mem_control_tasks 
+0x509c 012388 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x509d 012389 rtn blank 
+0x509e 012390 call l2cap_malloc_signal_channel 
+0x509f 012391 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x50a0 012392 copy pdata ,rega 
+0x50a1 012393 force l2cap_hid_control_channel ,regb 
+:      012394 l2cap_generate_disconnect_req:
+0x50a2 012395 call l2cap_get_req_id 
+0x50a3 012396 call l2cap_get_signal_tx_payload 
+0x50a4 012397 force signal_disconnect_req ,pdata 
+0x50a5 012398 istore 1 ,contw 
+0x50a6 012399 fetch 1 ,mem_ml2cap_comm_id 
+0x50a7 012400 istore 1 ,contw 
+0x50a8 012401 setarg 0x0004 
+0x50a9 012402 istore 2 ,contw 
+0x50aa 012403 copy rega ,pdata 
+0x50ab 012404 istore 2 ,contw 
+0x50ac 012405 copy regb ,pdata 
+0x50ad 012406 istore 2 ,contw 
+0x50ae 012407 force 0x08 ,temp 
+0x50af 012408 branch ml2cap_send_signal 
+:      012410 ml2cap_send_signal_connect_req:
+0x50b0 012411 set1 mark_ext_patch ,mark 
+0x50b1 012412 bpatch patch23_7 ,mem_patch23 
+0x50b2 012413 call l2cap_get_req_id 
+0x50b3 012414 call l2cap_get_signal_tx_payload 
+0x50b4 012415 setarg signal_connect_req 
+0x50b5 012416 istore 1 ,contw 
+0x50b6 012417 fetch 1 ,mem_ml2cap_comm_id 
+0x50b7 012418 istore 1 ,contw 
+0x50b8 012419 setarg 0x0004 
+0x50b9 012420 istore 2 ,contw 
+0x50ba 012421 copy temp ,pdata 
+0x50bb 012422 istore 2 ,contw 
+0x50bc 012423 copy timeup ,pdata 
+0x50bd 012424 istore 2 ,contw 
+0x50be 012425 arg 8 ,temp 
+0x50bf 012426 branch ml2cap_send_signal 
+:      012427 ml2cap_send_signal_config_req:
+0x50c0 012428 set1 mark_ext_patch ,mark 
+0x50c1 012429 bpatch patch24_0 ,mem_patch24 
+0x50c2 012430 call l2cap_get_req_id 
+0x50c3 012431 call l2cap_get_signal_tx_payload 
+0x50c4 012432 setarg signal_config_req 
+0x50c5 012433 istore 1 ,contw 
+0x50c6 012434 fetch 1 ,mem_ml2cap_comm_id 
+0x50c7 012435 istore 1 ,contw 
+0x50c8 012436 setarg 0x0008 
+0x50c9 012437 istore 2 ,contw 
+0x50ca 012439 copy temp ,pdata 
+0x50cb 012441 istore 2 ,contw 
+0x50cc 012442 setarg 0x0000 
+0x50cd 012443 istore 2 ,contw 
+0x50ce 012444 setarg 0x01 
+0x50cf 012445 istore 1 ,contw 
+0x50d0 012446 setarg 0x02 
+0x50d1 012447 istore 1 ,contw 
+0x50d2 012448 setarg l2cap_config_mtu_rfcomm 
+0x50d3 012449 istore 2 ,contw 
+0x50d4 012450 arg 0xc ,temp 
+0x50d5 012451 branch ml2cap_send_signal 
+:      012452 ml2cap_send_signal_disconn_req:
+0x50d6 012453 set1 mark_ext_patch ,mark 
+0x50d7 012454 bpatch patch24_1 ,mem_patch24 
+0x50d8 012455 call l2cap_get_req_id 
+0x50d9 012456 call l2cap_get_signal_tx_payload 
+0x50da 012457 setarg signal_disconnect_req 
+0x50db 012458 istore 1 ,contw 
+0x50dc 012459 fetch 1 ,mem_ml2cap_comm_id 
+0x50dd 012460 increase 1 ,pdata 
+0x50de 012461 copy contw ,rega 
+0x50df 012462 store 1 ,mem_ml2cap_comm_id 
+0x50e0 012463 copy rega ,contw 
+0x50e1 012464 istore 1 ,contw 
+0x50e2 012465 setarg 0x0004 
+0x50e3 012466 istore 2 ,contw 
+0x50e4 012467 copy temp ,pdata 
+0x50e5 012468 istore 2 ,contw 
+0x50e6 012469 copy timeup ,pdata 
+0x50e7 012470 istore 2 ,contw 
+0x50e8 012471 arg 0x8 ,temp 
+:      012474 ml2cap_send_signal:
+0x50e9 012475 storet 2 ,mem_l2cap_signal_tx_length 
+0x50ea 012476 copy temp ,pdata 
+0x50eb 012477 branch l2cap_malloc_discard ,blank 
+0x50ec 012478 call l2cap_get_signal_tx_buff 
+0x50ed 012479 fetch 2 ,mem_l2cap_signal_tx_length 
+0x50ee 012480 istore 2 ,contw 
+0x50ef 012481 force l2cap_signal_channel ,pdata 
+0x50f0 012482 istore 2 ,contw 
+0x50f1 012483 rtn 
+:      012485 msdp_send_req_done:
+0x50f2 012486 fetch 2 ,mem_sdp_tx_pkt_length 
+0x50f3 012487 branch assert ,blank 
+0x50f4 012488 call l2cap_get_sdp_tx_buff 
+0x50f5 012489 fetch 2 ,mem_sdp_tx_pkt_length 
+0x50f6 012490 istore 2 ,contw 
+0x50f7 012491 fetch 2 ,mem_sdp_remote_cid 
+0x50f8 012492 istore 2 ,contw 
+0x50f9 012493 rtn 
+:      012494 ml2cap_rx_multiplexing:
+0x50fa 012495 set1 mark_ext_patch ,mark 
+0x50fb 012496 bpatch patch24_2 ,mem_patch24 
+0x50fc 012497 fetch 2 ,mem_l2cap_rx_pkt_length 
+0x50fd 012498 branch l2cap_rx_reset_state ,blank 
+0x50fe 012499 fetch 1 ,mem_l2cap_rx_cid 
+0x50ff 012500 beq l2cap_signal_channel ,ml2cap_call_proc_signal 
+0x5100 012501 beq l2cap_sdp_channel ,l2cap_call_proc_sdp 
+0x5101 012502 beq l2cap_rfcomm_channel ,l2cap_call_proc_rfcomm 
+0x5102 012503 beq l2cap_hid_control_channel ,l2cap_call_proc_hid 
+0x5103 012504 beq l2cap_hid_interrupt_channel ,l2cap_call_proc_hid 
+0x5104 012505 branch l2cap_rx_reset_state 
+:      012507 ml2cap_call_proc_signal:
+0x5105 012508 set1 mark_ext_patch ,mark 
+0x5106 012509 bpatch patch24_3 ,mem_patch24 
+0x5107 012510 call l2cap_malloc_signal_channel 
+0x5108 012511 force 0 ,regb 
+0x5109 012512 call l2cap_get_signal_tx_payload 
+0x510a 012513 copy pdata ,contw 
+0x510b 012514 fetch 2 ,mem_l2cap_rx_pkt_length 
+0x510c 012515 copy pdata ,regc 
+0x510d 012516 fetch 2 ,mem_l2cap_payload_ptr 
+0x510e 012517 iforce contr 
+:      012518 ml2cap_proc_one_comm_loop:
+0x510f 012519 call ml2cap_proc_one_comm 
+0x5110 012520 increase -4 ,regc 
+0x5111 012521 nbranch ml2cap_proc_one_comm_loop ,zero 
+0x5112 012522 copy regb ,temp 
+0x5113 012523 call ml2cap_send_signal 
+0x5114 012524 branch l2cap_rx_reset_state 
+:      012526 ml2cap_proc_one_comm:
+0x5115 012527 ifetch 1 ,contr 
+0x5116 012528 beq signal_connect_req ,ml2cap_proc_signal_connect_req 
+0x5117 012529 beq signal_cmd_reject ,ml2cap_proc_signal_cmd_reject 
+0x5118 012530 beq signal_connect_rsp ,ml2cap_proc_signal_connect_rsp 
+0x5119 012531 beq signal_config_rsp ,ml2cap_proc_signal_config_rsp 
+0x511a 012532 beq signal_config_req ,ml2cap_proc_signal_config_req 
+0x511b 012533 beq signal_disconnect_rsp ,ml2cap_proc_signal_disconn_rsp 
+0x511c 012534 beq signal_disconnect_req ,ml2cap_proc_signal_disconn_req 
+0x511d 012535 beq signal_echo_req ,l2cap_proc_signal_echo_req 
+0x511e 012536 beq signal_info_req ,ml2cap_proc_signal_info_req 
+0x511f 012537 branch ml2cap_proc_send_reject 
+:      012539 ml2cap_proc_signal_connect_req:
+0x5120 012540 call save_cont_pointers 
+0x5121 012542 call load_cont_pointers 
+0x5122 012543 branch l2cap_proc_signal_connect_req 
+:      012544 ml2cap_proc_signal_cmd_reject:
+0x5123 012545 ifetch 1 ,contr 
+0x5124 012546 copy pdata ,queue 
+0x5125 012547 ifetch 2 ,contr 
+0x5126 012548 copy pdata ,rega 
+0x5127 012549 copy regc ,pdata 
+0x5128 012550 isub rega ,regc 
+:      012551 mvptr:
+0x5129 012552 ifetch 1 ,contr 
+0x512a 012553 increase -1 ,rega 
+0x512b 012554 nbranch mvptr ,zero 
+0x512c 012555 rtn 
+:      012556 ml2cap_proc_signal_connect_rsp:
+0x512d 012557 ifetch 1 ,contr 
+0x512e 012558 copy pdata ,queue 
+0x512f 012559 ifetch 2 ,contr 
+0x5130 012560 copy pdata ,rega 
+0x5131 012561 ifetch 2 ,contr 
+0x5132 012562 copy pdata ,timeup 
+0x5133 012563 ifetch 2 ,contr 
+0x5134 012564 copy pdata ,temp 
+0x5135 012565 ifetch 2 ,contr 
+0x5136 012566 sub pdata ,0 ,null 
+0x5137 012567 branch ml2cap_proc_signal_connect_rsp_sucessful ,zero 
+0x5138 012568 beq l2cap_connect_refused_psm_unsupported ,ml2cap_proc_signal_connect_refused_result 
+0x5139 012569 beq l2cap_connect_refused_no_resources ,ml2cap_proc_signal_connect_refused_result 
+0x513a 012570 branch ml2cap_proc_signal_connect_rsp_mnosucc 
+:      012571 ml2cap_proc_signal_connect_refused_result:
+0x513b 012572 jam bt_evt_ml2cap_conn_refused ,mem_fifo_temp 
+0x513c 012573 call ui_ipc_send_event 
+:      012574 ml2cap_proc_signal_connect_rsp_mnosucc:
+0x513d 012575 ifetch 2 ,contr 
+0x513e 012576 branch mnosucc 
+:      012577 ml2cap_proc_signal_connect_rsp_sucessful:
+0x513f 012578 call save_cont_pointers 
+0x5140 012582 setarg l2cap_sdp_channel 
+0x5141 012583 isub temp ,null 
+0x5142 012584 branch ml2cap_proc_signal_connect_rsp_sdp ,zero 
+0x5143 012585 setarg l2cap_rfcomm_channel 
+0x5144 012586 isub temp ,null 
+0x5145 012587 branch ml2cap_proc_signal_connect_rsp_rfcomm ,zero 
+0x5146 012588 setarg l2cap_hid_interrupt_channel 
+0x5147 012589 isub temp ,null 
+0x5148 012590 branch ml2cap_proc_signal_connect_rsp_hid_int ,zero 
+0x5149 012591 setarg l2cap_hid_control_channel 
+0x514a 012592 isub temp ,null 
+0x514b 012593 branch ml2cap_proc_signal_connect_rsp_hid_ctrl ,zero 
+0x514c 012594 branch mnosucc 
+:      012595 ml2cap_proc_signal_connect_rsp_sdp:
+0x514d 012596 copy timeup ,pdata 
+0x514e 012597 store 2 ,mem_sdp_remote_cid 
+0x514f 012598 fetch 1 ,mem_sdp_state 
+0x5150 012599 set1 l2cap_channel_state_conn_res 
+0x5151 012600 store 1 ,mem_sdp_state 
+0x5152 012601 branch mnosucc1 
+:      012602 ml2cap_proc_signal_connect_rsp_rfcomm:
+0x5153 012603 copy timeup ,pdata 
+0x5154 012604 store 2 ,mem_rfcomm_remote_cid 
+0x5155 012605 fetch 1 ,mem_rfcomm_state 
+0x5156 012606 set1 l2cap_channel_state_conn_res 
+0x5157 012607 store 1 ,mem_rfcomm_state 
+0x5158 012608 branch mnosucc1 
+:      012609 ml2cap_proc_signal_connect_rsp_hid_ctrl:
+0x5159 012610 copy timeup ,pdata 
+0x515a 012611 store 2 ,mem_hid_ctrl_remote_cid 
+0x515b 012612 fetch 1 ,mem_hid_control_state 
+0x515c 012613 set1 l2cap_channel_state_conn_res 
+0x515d 012614 store 1 ,mem_hid_control_state 
+0x515e 012615 branch mnosucc1 
+:      012616 ml2cap_proc_signal_connect_rsp_hid_int:
+0x515f 012617 copy timeup ,pdata 
+0x5160 012618 store 2 ,mem_hid_int_remote_cid 
+0x5161 012619 fetch 1 ,mem_hid_interrupt_state 
+0x5162 012620 set1 l2cap_channel_state_conn_res 
+0x5163 012621 store 1 ,mem_hid_interrupt_state 
+:      012624 mnosucc1:
+0x5164 012625 call load_cont_pointers 
+:      012626 mnosucc:
+0x5165 012627 copy regc ,pdata 
+0x5166 012628 isub rega ,regc 
+0x5167 012629 rtn 
+:      012631 ml2cap_proc_signal_config_rsp:
+0x5168 012632 ifetch 1 ,contr 
+0x5169 012633 copy pdata ,queue 
+0x516a 012634 ifetch 2 ,contr 
+0x516b 012635 copy pdata ,rega 
+0x516c 012636 copy regc ,pdata 
+0x516d 012637 isub rega ,regc 
+0x516e 012638 ifetch 2 ,contr 
+0x516f 012639 copy pdata ,timeup 
+0x5170 012640 ifetch 2 ,contr 
+0x5171 012641 ifetch 2 ,contr 
+0x5172 012642 nbranch mcrsdone1 ,blank 
+0x5173 012643 call save_cont_pointers 
+0x5174 012647 copy timeup ,temp 
+0x5175 012648 setarg l2cap_sdp_channel 
+0x5176 012649 isub temp ,null 
+0x5177 012650 branch ml2cap_proc_signal_config_rsp_sdp ,zero 
+0x5178 012651 setarg l2cap_rfcomm_channel 
+0x5179 012652 isub temp ,null 
+0x517a 012653 branch ml2cap_proc_signal_config_rsp_rfcomm ,zero 
+0x517b 012654 setarg l2cap_hid_control_channel 
+0x517c 012655 isub temp ,null 
+0x517d 012656 branch ml2cap_proc_signal_config_rsp_hid_ctrl ,zero 
+0x517e 012657 setarg l2cap_hid_interrupt_channel 
+0x517f 012658 isub temp ,null 
+0x5180 012659 branch ml2cap_proc_signal_config_rsp_hid_int ,zero 
+:      012660 ml2cap_proc_signal_config_rsp_sdp:
+0x5181 012661 fetch 1 ,mem_sdp_state 
+0x5182 012662 set1 l2cap_channel_state_rcv_cfg_res 
+0x5183 012663 store 1 ,mem_sdp_state 
+0x5184 012664 rtn 
+:      012665 ml2cap_proc_signal_config_rsp_rfcomm:
+0x5185 012666 fetch 1 ,mem_rfcomm_state 
+0x5186 012667 set1 l2cap_channel_state_rcv_cfg_res 
+0x5187 012668 store 1 ,mem_rfcomm_state 
+0x5188 012669 rtn 
+:      012670 ml2cap_proc_signal_config_rsp_hid_ctrl:
+0x5189 012671 fetch 1 ,mem_hid_control_state 
+0x518a 012672 set1 l2cap_channel_state_rcv_cfg_res 
+0x518b 012673 store 1 ,mem_hid_control_state 
+0x518c 012674 rtn 
+:      012675 ml2cap_proc_signal_config_rsp_hid_int:
+0x518d 012676 fetch 1 ,mem_hid_interrupt_state 
+0x518e 012677 set1 l2cap_channel_state_rcv_cfg_res 
+0x518f 012678 store 1 ,mem_hid_interrupt_state 
+0x5190 012679 jam bt_evt_hid_connected ,mem_fifo_temp 
+0x5191 012680 branch ui_ipc_send_event 
+:      012683 mcfrsdone:
+0x5192 012684 call load_cont_pointers 
+:      012685 mcrsdone1:
+0x5193 012686 increase -6 ,rega 
+:      012687 mloop2:
+0x5194 012688 branch mcrsdone ,zero 
+0x5195 012689 increase 1 ,contr 
+0x5196 012690 increase -1 ,rega 
+0x5197 012691 branch mloop2 
+:      012692 mcrsdone:
+0x5198 012693 rtn 
+:      012694 ml2cap_proc_signal_config_req:
+0x5199 012695 ifetch 1 ,contr 
+0x519a 012696 copy pdata ,queue 
+0x519b 012697 ifetch 2 ,contr 
+0x519c 012698 copy pdata ,rega 
+0x519d 012699 copy regc ,pdata 
+0x519e 012700 isub rega ,regc 
+0x519f 012701 ifetch 2 ,contr 
+0x51a0 012702 increase 2 ,contr 
+0x51a1 012703 copy pdata ,temp 
+0x51a2 012704 setarg signal_config_rsp 
+0x51a3 012705 istore 1 ,contw 
+0x51a4 012706 copy queue ,pdata 
+0x51a5 012707 istore 1 ,contw 
+0x51a6 012708 increase 2 ,rega 
+0x51a7 012709 copy rega ,pdata 
+0x51a8 012710 istore 2 ,contw 
+0x51a9 012711 call save_cont_pointers 
+0x51aa 012712 setarg l2cap_sdp_channel 
+0x51ab 012713 isub temp ,null 
+0x51ac 012714 branch ml2cap_proc_signal_config_req_sdp ,zero 
+0x51ad 012715 setarg l2cap_rfcomm_channel 
+0x51ae 012716 isub temp ,null 
+0x51af 012717 branch ml2cap_proc_signal_config_req_rfcomm ,zero 
+0x51b0 012718 setarg l2cap_hid_control_channel 
+0x51b1 012719 isub temp ,null 
+0x51b2 012720 branch ml2cap_proc_signal_config_req_hid_ctrl ,zero 
+0x51b3 012721 setarg l2cap_hid_interrupt_channel 
+0x51b4 012722 isub temp ,null 
+0x51b5 012723 branch ml2cap_proc_signal_config_req_hid_int ,zero 
+0x51b6 012724 branch mcfgrq_done 
+:      012725 ml2cap_proc_signal_config_req_sdp:
+0x51b7 012726 fetch 1 ,mem_sdp_state 
+0x51b8 012727 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+0x51b9 012728 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+0x51ba 012729 store 1 ,mem_sdp_state 
+0x51bb 012730 bbit1 l2cap_channel_state_snd_cfg_req ,ml2cap_proc_signal_config_req_sdp_nsndreq 
+0x51bc 012731 fetcht 1 ,mem_control_tasks 
+0x51bd 012732 set1 l2cap_init_config_req ,temp 
+0x51be 012733 storet 1 ,mem_control_tasks 
+0x51bf 012734 copy queue ,pdata 
+0x51c0 012735 increase 1 ,pdata 
+0x51c1 012736 store 1 ,mem_config_identifier 
+0x51c2 012737 fetch 1 ,mem_sdp_state 
+0x51c3 012738 set1 l2cap_channel_state_snd_cfg_req ,pdata 
+0x51c4 012739 store 1 ,mem_sdp_state 
+:      012740 ml2cap_proc_signal_config_req_sdp_nsndreq:
+0x51c5 012741 fetch 2 ,mem_sdp_remote_cid 
+0x51c6 012742 store 2 ,mem_config_req_dest_cid 
+0x51c7 012743 branch mcfgrq_done 
+:      012744 ml2cap_proc_signal_config_req_rfcomm:
+0x51c8 012745 fetch 1 ,mem_rfcomm_state 
+0x51c9 012746 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+0x51ca 012747 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+0x51cb 012748 store 1 ,mem_rfcomm_state 
+0x51cc 012749 fetch 2 ,mem_rfcomm_remote_cid 
+0x51cd 012750 branch mcfgrq_done 
+:      012751 ml2cap_proc_signal_config_req_hid_ctrl:
+0x51ce 012752 fetch 1 ,mem_hid_control_state 
+0x51cf 012753 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+0x51d0 012754 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+0x51d1 012755 store 1 ,mem_hid_control_state 
+0x51d2 012756 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x51d3 012757 branch mcfgrq_done 
+:      012758 ml2cap_proc_signal_config_req_hid_int:
+0x51d4 012759 fetch 1 ,mem_hid_interrupt_state 
+0x51d5 012760 set1 l2cap_channel_state_rcv_cfg_req ,pdata 
+0x51d6 012761 set1 l2cap_channel_state_snd_cfg_res ,pdata 
+0x51d7 012762 store 1 ,mem_hid_interrupt_state 
+0x51d8 012763 fetch 2 ,mem_hid_int_remote_cid 
+:      012766 mcfgrq_done:
+0x51d9 012767 copy pdata ,timeup 
+0x51da 012768 call load_cont_pointers 
+0x51db 012770 copy timeup ,pdata 
+0x51dc 012772 istore 2 ,contw 
+0x51dd 012773 force 0x0000 ,pdata 
+0x51de 012774 istore 2 ,contw 
+0x51df 012775 force 0x0000 ,pdata 
+0x51e0 012776 istore 2 ,contw 
+0x51e1 012777 force 10 ,pdata 
+0x51e2 012778 iadd regb ,regb 
+0x51e3 012779 increase -6 ,rega 
+:      012780 mloop1:
+0x51e4 012781 branch mcrqdone ,zero 
+0x51e5 012782 ifetch 1 ,contr 
+0x51e6 012783 istore 1 ,contw 
+0x51e7 012784 increase 1 ,regb 
+0x51e8 012785 increase -1 ,rega 
+0x51e9 012786 branch mloop1 
+:      012787 mcrqdone:
+0x51ea 012788 rtn 
+:      012789 ml2cap_proc_signal_disconn_req:
+0x51eb 012790 ifetch 1 ,contr 
+0x51ec 012791 copy pdata ,queue 
+0x51ed 012792 ifetch 2 ,contr 
+0x51ee 012793 copy pdata ,rega 
+0x51ef 012794 copy regc ,pdata 
+0x51f0 012795 isub rega ,regc 
+0x51f1 012797 ifetch 2 ,contr 
+0x51f2 012798 copy pdata ,rega 
+0x51f3 012799 ifetch 2 ,contr 
+0x51f4 012800 copy pdata ,timeup 
+0x51f5 012801 call save_cont_pointers 
+0x51f6 012802 setarg l2cap_sdp_channel 
+0x51f7 012803 copy rega ,temp 
+0x51f8 012804 isub temp ,null 
+0x51f9 012805 branch ml2cap_proc_signal_disconn_sdp ,zero 
+0x51fa 012806 setarg l2cap_hid_control_channel 
+0x51fb 012807 copy rega ,temp 
+0x51fc 012808 isub temp ,null 
+0x51fd 012809 branch ml2cap_proc_signal_disconn_hid_ctrl ,zero 
+0x51fe 012810 setarg l2cap_hid_interrupt_channel 
+0x51ff 012811 copy rega ,temp 
+0x5200 012812 isub temp ,null 
+0x5201 012813 branch ml2cap_proc_signal_disconn_hid_int ,zero 
+0x5202 012814 branch mclsrfc 
+:      012815 ml2cap_proc_signal_disconn_sdp:
+0x5203 012816 setarg 0x0000 
+0x5204 012817 store 2 ,mem_sdp_tx_pkt_length 
+0x5205 012818 store 2 ,mem_sdp_remote_cid 
+0x5206 012819 store 1 ,mem_sdp_state 
+0x5207 012820 branch mclssdp 
+:      012821 ml2cap_proc_signal_disconn_hid_ctrl:
+0x5208 012822 call l2cap_reset_hid_ctrl_state 
+0x5209 012823 branch mclssdp 
+:      012824 ml2cap_proc_signal_disconn_hid_int:
+0x520a 012825 call l2cap_reset_hid_int_state 
+0x520b 012831 branch mclssdp 
+:      012832 mclsrfc:
+0x520c 012833 setarg 0x0000 
+0x520d 012834 store 2 ,mem_rfcomm_tx_pkt_length 
+:      012835 mclssdp:
+0x520e 012836 call load_cont_pointers 
+0x520f 012837 setarg signal_disconnect_rsp 
+0x5210 012838 istore 1 ,contw 
+0x5211 012839 copy queue ,pdata 
+0x5212 012840 istore 1 ,contw 
+0x5213 012841 setarg 0x0004 
+0x5214 012842 istore 2 ,contw 
+0x5215 012843 copy rega ,pdata 
+0x5216 012844 istore 2 ,contw 
+0x5217 012845 copy timeup ,pdata 
+0x5218 012846 istore 2 ,contw 
+0x5219 012847 force 8 ,pdata 
+0x521a 012848 iadd regb ,regb 
+0x521b 012849 rtn 
+:      012851 ml2cap_proc_signal_disconn_rsp:
+0x521c 012852 ifetch 1 ,contr 
+0x521d 012853 copy pdata ,queue 
+0x521e 012854 ifetch 2 ,contr 
+0x521f 012855 copy pdata ,rega 
+0x5220 012856 ifetch 2 ,contr 
+0x5221 012857 copy pdata ,timeup 
+0x5222 012858 ifetch 2 ,contr 
+0x5223 012859 copy pdata ,temp 
+0x5224 012860 call save_cont_pointers 
+0x5225 012861 fetch 1 ,mem_ml2cap_comm_id 
+0x5226 012862 icompare 0xff ,queue 
+0x5227 012863 nbranch mdisdone ,true 
+0x5228 012864 setarg l2cap_sdp_channel 
+0x5229 012865 isub temp ,null 
+0x522a 012866 branch ml2cap_proc_signal_disconn_rsp_sdp ,zero 
+0x522b 012867 setarg l2cap_rfcomm_channel 
+0x522c 012868 isub temp ,null 
+0x522d 012869 branch ml2cap_proc_signal_disconn_rsp_rfcomm ,zero 
+0x522e 012870 branch mdisdone 
+:      012871 ml2cap_proc_signal_disconn_rsp_sdp:
+0x522f 012872 jam 0 ,mem_sdp_remote_cid 
+0x5230 012873 jam 0 ,mem_sdp_state 
+0x5231 012874 branch mdisdone 
+:      012875 ml2cap_proc_signal_disconn_rsp_rfcomm:
+:      012878 mdisdone:
+0x5232 012879 call load_cont_pointers 
+0x5233 012880 copy regc ,pdata 
+0x5234 012881 isub rega ,regc 
+0x5235 012882 rtn 
+:      012884 ml2cap_proc_send_reject:
+0x5236 012885 setarg signal_cmd_reject 
+0x5237 012886 istore 1 ,contw 
+0x5238 012887 ifetch 1 ,contr 
+0x5239 012888 istore 1 ,contw 
+0x523a 012889 setarg 0x0002 
+0x523b 012890 istore 2 ,contw 
+0x523c 012891 setarg 0x0000 
+0x523d 012892 istore 2 ,contw 
+0x523e 012893 setarg 0x0006 
+0x523f 012894 iadd regb ,regb 
+0x5240 012895 force 4 ,regc 
+0x5241 012896 rtn 
+:      012899 l2cap_get_req_id:
+0x5242 012900 fetch 1 ,mem_ml2cap_comm_id 
+0x5243 012901 increase 1 ,pdata 
+0x5244 012902 bne 0 ,l2cap_get_req_id_ok 
+0x5245 012903 increase 1 ,pdata 
+:      012904 l2cap_get_req_id_ok:
+0x5246 012905 store 1 ,mem_ml2cap_comm_id 
+0x5247 012906 rtn 
+:      012916 l2cap_malloc:
+0x5248 012917 set1 mark_ext_patch ,mark 
+0x5249 012918 bpatch patch24_4 ,mem_patch24 
+0x524a 012919 arg 0 ,regb 
+0x524b 012920 call l2cap_malloc_is_fifo_full 
+0x524c 012921 nbranch assert ,blank 
+0x524d 012922 call l2cap_malloc_get_full_map 
+0x524e 012923 arg mem_tx_buff0 ,regb 
+0x524f 012924 arg 0 ,queue 
+:      012925 l2cap_malloc_loop:
+0x5250 012926 fetcht 1 ,mem_used_map 
+0x5251 012927 qisolate1 temp 
+0x5252 012928 branch l2cap_malloc_next ,true 
+0x5253 012929 call l2cap_malloc_enough 
+0x5254 012930 sub timeup ,0 ,null 
+0x5255 012931 branch l2cap_malloc_next ,positive 
+0x5256 012932 call l2cap_malloc_into_fifo 
+0x5257 012933 branch l2cap_malloc_rtn 
+:      012934 l2cap_malloc_next:
+0x5258 012935 increase 128 ,regb 
+0x5259 012936 increase 1 ,queue 
+0x525a 012937 setarg 8 
+0x525b 012938 isub queue ,null 
+0x525c 012939 branch l2cap_malloc_loop ,positive 
+0x525d 012940 arg 0 ,regb 
+:      012941 l2cap_malloc_rtn:
+0x525e 012942 copy regb ,pdata 
+0x525f 012943 branch assert ,blank 
+0x5260 012944 rtn 
+:      012952 l2cap_malloc_fifo_out:
+0x5261 012953 set1 mark_ext_patch ,mark 
+0x5262 012954 bpatch patch24_5 ,mem_patch24 
+0x5263 012955 call l2cap_malloc_fifo_get_first_ptr 
+0x5264 012956 increase 1 ,contr 
+0x5265 012957 ifetch 2 ,contr 
+0x5266 012958 rtn 
+:      012964 l2cap_malloc_free:
+0x5267 012965 set1 mark_ext_patch ,mark 
+0x5268 012966 bpatch patch24_6 ,mem_patch24 
+0x5269 012967 call l2cap_malloc_fifo_get_first_ptr 
+0x526a 012968 copy contr ,contw 
+0x526b 012969 copy contr ,temp 
+0x526c 012970 setarg 0 
+0x526d 012971 istore 3 ,contw 
+0x526e 012972 rtn 
+:      012977 l2cap_malloc_discard:
+0x526f 012978 set1 mark_ext_patch ,mark 
+0x5270 012979 bpatch patch24_7 ,mem_patch24 
+0x5271 012980 call l2cap_malloc_is_fifo_empty 
+0x5272 012981 branch assert ,blank 
+0x5273 012982 fetch 3 ,mem_tx_fifo2 
+0x5274 012983 store 3 ,mem_tx_fifo3 
+0x5275 012984 fetch 3 ,mem_tx_fifo1 
+0x5276 012985 store 3 ,mem_tx_fifo2 
+0x5277 012986 fetch 3 ,mem_tx_fifo0 
+0x5278 012987 store 3 ,mem_tx_fifo1 
+0x5279 012988 rtn 
+:      012994 l2cap_malloc_is_fifo_full:
+0x527a 012995 fetch 3 ,mem_tx_fifo0 
+0x527b 012996 rtn 
+:      013002 l2cap_malloc_is_fifo_nearly_full:
+0x527c 013003 fetch 3 ,mem_tx_fifo1 
+0x527d 013004 rtn 
+:      013010 l2cap_malloc_is_fifo_empty:
+0x527e 013011 fetch 3 ,mem_tx_fifo3 
+0x527f 013012 rtn 
+:      013017 l2cap_malloc_fifo_get_first_ptr:
+0x5280 013018 call l2cap_malloc_is_fifo_empty 
+0x5281 013019 branch assert ,blank 
+0x5282 013020 arg mem_tx_fifo0 ,contr 
+:      013021 l2cap_malloc_free_loop:
+0x5283 013022 ifetch 3 ,contr 
+0x5284 013023 branch l2cap_malloc_free_loop ,blank 
+0x5285 013024 increase -3 ,contr 
+0x5286 013025 rtn 
+:      013032 l2cap_malloc_get_full_map:
+0x5287 013033 set1 mark_ext_patch ,mark 
+0x5288 013034 bpatch patch25_0 ,mem_patch25 
+0x5289 013035 arg 4 ,loopcnt 
+0x528a 013036 arg mem_tx_fifo0_map ,contr 
+0x528b 013037 arg 0 ,temp 
+:      013038 l2cap_malloc_get_full_map_loop:
+0x528c 013039 ifetch 3 ,contr 
+0x528d 013040 and pdata ,0xff ,pdata 
+0x528e 013041 ior temp ,temp 
+0x528f 013042 loop l2cap_malloc_get_full_map_loop 
+0x5290 013043 storet 1 ,mem_used_map 
+0x5291 013044 rtn 
+:      013052 l2cap_malloc_into_fifo:
+0x5292 013053 set1 mark_ext_patch ,mark 
+0x5293 013054 bpatch patch25_1 ,mem_patch25 
+0x5294 013055 call l2cap_malloc_is_fifo_full 
+0x5295 013056 nbranch assert ,blank 
+0x5296 013057 call l2cap_malloc_is_fifo_empty 
+0x5297 013058 branch l2cap_malloc_into_fifo_no_push ,blank 
+0x5298 013059 fetch 3 ,mem_tx_fifo1 
+0x5299 013060 store 3 ,mem_tx_fifo0 
+0x529a 013061 ifetch 3 ,contr 
+0x529b 013062 istore 3 ,contw 
+0x529c 013063 ifetch 3 ,contr 
+0x529d 013064 istore 3 ,contw 
+0x529e 013065 setarg 0 
+0x529f 013066 istore 3 ,contw 
+:      013067 l2cap_malloc_into_fifo_no_push:
+0x52a0 013068 arg 0 ,temp 
+0x52a1 013069 copy timeup ,pdata 
+0x52a2 013070 iadd queue ,pdata 
+:      013071 l2cap_malloc_into_fifo_loop:
+0x52a3 013072 qset1 temp 
+0x52a4 013073 increase 1 ,queue 
+0x52a5 013074 isub queue ,null 
+0x52a6 013075 nbranch l2cap_malloc_into_fifo_loop ,zero 
+0x52a7 013077 lshift8 regb ,pdata 
+0x52a8 013078 ior temp ,pdata 
+0x52a9 013079 store 3 ,mem_tx_fifo3 
+0x52aa 013080 rtn 
+:      013090 l2cap_malloc_enough:
+0x52ab 013091 set1 mark_ext_patch ,mark 
+0x52ac 013092 bpatch patch25_2 ,mem_patch25 
+0x52ad 013093 call l2cap_malloc_get_full_map 
+0x52ae 013094 copy queue ,regc 
+0x52af 013095 arg 0 ,temp 
+0x52b0 013096 arg 0 ,timeup 
+:      013098 l2cap_malloc_enough_loop:
+0x52b1 013099 copy queue ,pdata 
+0x52b2 013100 beq 8 ,l2cap_malloc_enough_end 
+0x52b3 013101 fetch 1 ,mem_used_map 
+0x52b4 013102 qisolate1 pdata 
+0x52b5 013103 branch l2cap_malloc_enough_end ,true 
+0x52b6 013104 increase 128 ,temp 
+0x52b7 013105 increase 1 ,queue 
+0x52b8 013106 copy rega ,pdata 
+0x52b9 013107 isub temp ,null 
+0x52ba 013108 branch l2cap_malloc_enough_end ,zero 
+0x52bb 013109 branch l2cap_malloc_enough_loop ,positive 
+:      013110 l2cap_malloc_enough_end:
+0x52bc 013111 copy temp ,pdata 
+0x52bd 013112 isub rega ,null 
+0x52be 013113 nbranch l2cap_malloc_enough_rtn ,positive 
+0x52bf 013114 copy queue ,pdata 
+0x52c0 013115 copy regc ,temp 
+0x52c1 013116 isub temp ,timeup 
+:      013117 l2cap_malloc_enough_rtn:
+0x52c2 013118 copy regc ,queue 
+0x52c3 013119 rtn 
+:      013122 l2cap_malloc_signal_channel:
+0x52c4 013123 set1 mark_ext_patch ,mark 
+0x52c5 013124 bpatch patch25_3 ,mem_patch25 
+0x52c6 013125 arg l2cap_signal_malloc_size ,rega 
+0x52c7 013126 call l2cap_malloc 
+0x52c8 013127 store 2 ,mem_l2cap_signal_tx_buff_ptr 
+0x52c9 013128 increase 4 ,pdata 
+0x52ca 013129 store 2 ,mem_l2cap_signal_tx_payload_ptr 
+0x52cb 013130 setarg 0 
+0x52cc 013131 store 2 ,mem_l2cap_signal_tx_length 
+0x52cd 013132 rtn 
+:      013134 l2cap_get_signal_tx_buff:
+0x52ce 013135 fetch 2 ,mem_l2cap_signal_tx_buff_ptr 
+0x52cf 013136 branch l2cap_util_pdata_to_contw 
+:      013138 l2cap_get_signal_tx_payload:
+0x52d0 013139 fetch 2 ,mem_l2cap_signal_tx_payload_ptr 
+0x52d1 013140 branch l2cap_util_pdata_to_contw 
+:      013143 l2cap_malloc_sdp_channel:
+0x52d2 013144 set1 mark_ext_patch ,mark 
+0x52d3 013145 bpatch patch25_4 ,mem_patch25 
+0x52d4 013146 arg sdp_malloc_size ,rega 
+0x52d5 013147 call l2cap_malloc 
+0x52d6 013148 store 2 ,mem_sdp_tx_buff_ptr 
+0x52d7 013149 increase 4 ,pdata 
+0x52d8 013150 store 2 ,mem_sdp_tx_payload_ptr 
+0x52d9 013151 setarg 0 
+0x52da 013152 store 2 ,mem_sdp_tx_pkt_length 
+0x52db 013153 rtn 
+:      013155 l2cap_get_sdp_tx_buff:
+0x52dc 013156 fetch 2 ,mem_sdp_tx_buff_ptr 
+0x52dd 013157 branch l2cap_util_pdata_to_contw 
+:      013159 l2cap_get_sdp_tx_payload:
+0x52de 013160 fetch 2 ,mem_sdp_tx_payload_ptr 
+0x52df 013161 branch l2cap_util_pdata_to_contw 
+:      013164 l2cap_malloc_rfcomm_channel:
+0x52e0 013165 set1 mark_ext_patch ,mark 
+0x52e1 013166 bpatch patch25_5 ,mem_patch25 
+0x52e2 013167 call push_stack 
+0x52e3 013168 jam rfcomm_malloc_fail ,mem_rfcomm_malloc_fail_flag 
+0x52e4 013169 call l2cap_malloc_is_fifo_full 
+0x52e5 013170 nrtn blank 
+0x52e6 013171 arg rfcomm_malloc_size ,rega 
+0x52e7 013172 call l2cap_malloc 
+0x52e8 013173 store 2 ,mem_rfcomm_tx_buff_ptr 
+0x52e9 013174 increase 4 ,pdata 
+0x52ea 013175 store 2 ,mem_rfcomm_tx_payload_ptr 
+0x52eb 013176 setarg 0 
+0x52ec 013177 store 2 ,mem_rfcomm_tx_pkt_length 
+0x52ed 013178 jam rfcomm_malloc_succeed ,mem_rfcomm_malloc_fail_flag 
+0x52ee 013179 branch pop_stack 
+:      013181 l2cap_get_rfcomm_tx_buff:
+0x52ef 013182 fetch 2 ,mem_rfcomm_tx_buff_ptr 
+0x52f0 013183 branch l2cap_util_pdata_to_contw 
+:      013185 l2cap_get_rfcomm_tx_payload:
+0x52f1 013186 fetch 2 ,mem_rfcomm_tx_payload_ptr 
+:      013188 l2cap_util_pdata_to_contw:
+0x52f2 013189 branch assert ,blank 
+0x52f3 013190 copy pdata ,contw 
+0x52f4 013191 rtn 
+:      013194 l2cap_lpm_save_calc_len:
+0x52f5 013195 set1 mark_ext_patch ,mark 
+0x52f6 013196 bpatch patch25_6 ,mem_patch25 
+0x52f7 013197 arg 0 ,regb 
+0x52f8 013198 arg mem_tx_fifo0_map ,rega 
+0x52f9 013199 increase -2 ,rega 
+:      013200 l2cap_lpm_save_calc_len_loop:
+0x52fa 013201 increase 2 ,rega 
+0x52fb 013202 setarg mem_tx_fifo_end 
+0x52fc 013203 isub rega ,null 
+0x52fd 013204 branch l2cap_lpm_save_calc_len_end ,zero 
+0x52fe 013205 ifetch 1 ,rega 
+0x52ff 013206 increase 1 ,rega 
+0x5300 013207 branch l2cap_lpm_save_calc_len_loop ,blank 
+0x5301 013208 ifetcht 2 ,rega 
+0x5302 013209 ifetch 2 ,temp 
+0x5303 013210 iadd regb ,regb 
+0x5304 013211 increase 4 ,regb 
+0x5305 013212 branch l2cap_lpm_save_calc_len_loop 
+:      013213 l2cap_lpm_save_calc_len_end:
+0x5306 013214 copy regb ,pdata 
+0x5307 013215 rtn 
+:      013218 l2cap_lpm_get_wake_lock:
+0x5308 013219 arg wake_lock_l2cap_tx ,queue 
+0x5309 013220 branch lpm_get_wake_lock 
+:      013222 l2cap_lpm_put_wake_lock:
+0x530a 013223 arg wake_lock_l2cap_tx ,queue 
+0x530b 013224 branch lpm_put_wake_lock 
+:      013226 l2cap_lpm_save_txbuf:
+0x530c 013227 set1 mark_ext_patch ,mark 
+0x530d 013228 bpatch patch25_7 ,mem_patch25 
+0x530e 013229 call l2cap_malloc_get_full_map 
+0x530f 013230 fetch 1 ,mem_used_map 
+0x5310 013231 rtn blank 
+0x5311 013232 call l2cap_lpm_save_calc_len 
+0x5312 013233 arg l2cap_lpm_txbuf_len ,temp 
+0x5313 013234 isub temp ,null 
+0x5314 013235 branch l2cap_lpm_get_wake_lock ,positive 
+0x5315 013236 call l2cap_lpm_put_wake_lock 
+0x5316 013237 arg mem_l2cap_lpm_txbuf ,contw 
+0x5317 013238 arg mem_tx_fifo0 ,rega 
+:      013239 l2cap_lpm_save_txbuf_loop:
+0x5318 013240 setarg mem_tx_fifo_end 
+0x5319 013241 isub rega ,null 
+0x531a 013242 rtn zero 
+0x531b 013243 ifetch 1 ,rega 
+0x531c 013244 increase 1 ,rega 
+0x531d 013245 nbranch l2cap_lpm_save_txbuf_nempty ,blank 
+0x531e 013246 istore 2 ,contw 
+0x531f 013247 increase 2 ,rega 
+0x5320 013248 branch l2cap_lpm_save_txbuf_loop 
+:      013249 l2cap_lpm_save_txbuf_nempty:
+0x5321 013250 ifetch 2 ,rega 
+0x5322 013251 increase 2 ,rega 
+0x5323 013252 copy pdata ,contr 
+0x5324 013253 ifetch 2 ,contr 
+0x5325 013254 istore 2 ,contw 
+0x5326 013255 copy pdata ,loopcnt 
+0x5327 013256 increase 2 ,loopcnt 
+0x5328 013257 call memcpy 
+0x5329 013258 branch l2cap_lpm_save_txbuf_loop 
+:      013260 l2cap_lpm_load_txbuf:
+0x532a 013261 set1 mark_ext_patch ,mark 
+0x532b 013262 bpatch patch26_0 ,mem_patch26 
+0x532c 013263 call l2cap_malloc_get_full_map 
+0x532d 013264 fetch 1 ,mem_used_map 
+0x532e 013265 rtn blank 
+0x532f 013266 arg mem_tx_fifo0_ptr ,rega 
+0x5330 013267 increase -3 ,rega 
+0x5331 013268 arg mem_l2cap_lpm_txbuf ,contr 
+:      013269 l2cap_lpm_load_txbuf_loop:
+0x5332 013270 increase 3 ,rega 
+0x5333 013271 setarg mem_tx_fifo_end + 1 
+0x5334 013272 isub rega ,null 
+0x5335 013273 rtn zero 
+0x5336 013274 ifetch 2 ,contr 
+0x5337 013275 branch l2cap_lpm_load_txbuf_loop ,blank 
+0x5338 013276 increase 4 ,pdata 
+0x5339 013277 copy pdata ,loopcnt 
+0x533a 013278 copy contr ,regb 
+0x533b 013279 ifetch 2 ,rega 
+0x533c 013280 copy pdata ,contw 
+0x533d 013281 copy regb ,contr 
+0x533e 013282 increase -2 ,contr 
+0x533f 013283 call memcpy 
+0x5340 013284 branch l2cap_lpm_load_txbuf_loop 
+:      013292 le_init_param:
+0x5341 013293 rtn wake 
+0x5342 013294 setarg param_le_scan_interval 
+0x5343 013295 store 2 ,mem_le_scan_interval 
+0x5344 013296 setarg param_le_scan_window 
+0x5345 013297 store 2 ,mem_le_scan_window 
+0x5346 013298 rtn 
+:      013300 le_init_att:
+0x5347 013301 arg notify_handle ,temp 
+0x5348 013302 call le_att_get_handle_ptr 
+0x5349 013303 add contr ,1 ,pdata 
+0x534a 013304 store 2 ,mem_le_notify_attr_start 
+0x534b 013305 rtn 
+:      013307 le_init_conn:
+0x534c 013308 set1 mark_ext_patch ,mark 
+0x534d 013309 bpatch patch26_2 ,mem_patch26 
+0x534e 013310 disable wake 
+0x534f 013311 jam 1 ,mem_app_state 
+0x5350 013312 jam 1 ,mem_le_conn_handle 
+0x5351 013313 jam 3 ,mem_le_state 
+0x5352 013314 jam 1 ,mem_le_arq 
+0x5353 013315 setarg -1 
+0x5354 013316 store 2 ,mem_le_event_count 
+0x5355 013317 force 0 ,pdata 
+0x5356 013318 store 1 ,mem_le_conn_sm 
+0x5357 013319 store 1 ,mem_le_ch 
+0x5358 013320 store 1 ,mem_le_op 
+0x5359 013321 store 3 ,mem_sniff_rcv 
+0x535a 013322 store 3 ,mem_sniff_lost 
+0x535b 013323 store 5 ,mem_le_pcnt_tx 
+0x535c 013324 set1 39 ,pdata 
+0x535d 013325 store 5 ,mem_le_pcnt_rx 
+0x535e 013326 branch le_supervision_flush 
+:      013328 le_init_master:
+0x535f 013329 set1 mark_ext_patch ,mark 
+0x5360 013330 bpatch patch26_3 ,mem_patch26 
+0x5361 013331 enable master 
+0x5362 013332 jam lemode_master ,mem_le_mode 
+0x5363 013333 jam 1 ,mem_le_att_handle 
+0x5364 013334 jam 1 ,mem_le_search_handle_start 
+0x5365 013335 setarg 0xffff 
+0x5366 013336 store 2 ,mem_le_search_handle_end 
+0x5367 013337 force 0 ,pdata 
+0x5368 013338 store 5 ,mem_le_pcnt_rx 
+0x5369 013339 set1 39 ,pdata 
+0x536a 013340 store 5 ,mem_le_pcnt_tx 
+0x536b 013341 branch le_init_conn 
+:      013344 le_init_slave:
+0x536c 013345 set1 mark_ext_patch ,mark 
+0x536d 013346 bpatch patch26_4 ,mem_patch26 
+0x536e 013347 disable master 
+0x536f 013348 jam lemode_slave ,mem_le_mode 
+0x5370 013349 jam 0 ,mem_le_adv_enable 
+0x5371 013350 jam 0 ,mem_lpm_current_mult 
+0x5372 013351 branch le_init_conn 
+:      013357 le_dispatch:
+0x5373 013358 call le_enable 
+0x5374 013359 call le_scan 
+0x5375 013360 call le_adv 
+0x5376 013361 branch le_disable 
+:      013363 le_conn_dispatch:
+0x5377 013364 set1 mark_ext_patch ,mark 
+0x5378 013365 bpatch patch26_5 ,mem_patch26 
+0x5379 013366 call le_enable 
+0x537a 013367 call app_process_ble 
+0x537b 013368 fetch 1 ,mem_le_mode 
+0x537c 013369 beq lemode_master ,le_master_dispatch 
+0x537d 013370 branch le_slave_dispatch 
+:      013376 le_master_dispatch:
+0x537e 013377 set1 mark_ext_patch ,mark 
+0x537f 013378 bpatch patch26_6 ,mem_patch26 
+0x5380 013379 enable master 
+0x5381 013380 call le_supervision_update 
+0x5382 013381 branch le_master_disconn ,positive 
+0x5383 013382 call check_ble_disabled 
+0x5384 013383 call le_setup 
+0x5385 013384 call le_prepare_tx 
+0x5386 013385 disable match 
+0x5387 013386 call le_transmit_receive_sifs 
+0x5388 013387 nrtn match 
+0x5389 013388 set1 mark_ext_patch ,mark 
+0x538a 013389 bpatch patch26_7 ,mem_patch26 
+0x538b 013390 fetch 1 ,mem_le_conn_rcv 
+0x538c 013391 increase 1 ,pdata 
+0x538d 013392 store 1 ,mem_le_conn_rcv 
+0x538e 013393 call le_acknowledge 
+0x538f 013394 call le_conn_sm_master 
+0x5390 013395 disable master 
+0x5391 013396 rtn 
+:      013398 le_master_disconn:
+0x5392 013399 call le_disconnect 
+0x5393 013400 disable master 
+0x5394 013401 rtn 
+:      013406 le_slave_dispatch:
+0x5395 013407 set1 mark_ext_patch ,mark 
+0x5396 013408 bpatch patch27_0 ,mem_patch27 
+0x5397 013409 disable attempt 
+0x5398 013410 call le_supervision_update 
+0x5399 013411 branch le_slave_disconn ,positive 
+0x539a 013412 call check_ble_disabled 
+0x539b 013413 call le_setup 
+0x539c 013414 call le_receive_slave 
+0x539d 013415 nbranch le_slave_unsync ,match 
+:      013416 le_slave_match:
+0x539e 013417 set1 mark_ext_patch ,mark 
+0x539f 013418 bpatch patch27_1 ,mem_patch27 
+0x53a0 013419 call le_got_first_packet 
+0x53a1 013420 call le_acknowledge 
+0x53a2 013421 call le_prepare_tx 
+0x53a3 013422 fetch 1 ,mem_le_rxbuf 
+0x53a4 013423 bbit1 md ,le_slave_more_data 
+0x53a5 013424 call le_xtype_fifo_is_empty 
+0x53a6 013425 nbranch le_slave_more_data ,blank 
+:      013426 le_slave_transmit_last:
+0x53a7 013427 set1 mark_ext_patch ,mark 
+0x53a8 013428 bpatch patch27_2 ,mem_patch27 
+0x53a9 013429 call le_transmit_norx 
+:      013430 le_slave_cont:
+0x53aa 013431 call check_51cmd 
+0x53ab 013432 fetch 1 ,mem_le_op 
+0x53ac 013433 bbit1 op_disconn ,le_slave_disconn 
+:      013434 le_slave_unsync:
+0x53ad 013435 set1 mark_ext_patch ,mark 
+0x53ae 013436 bpatch patch27_3 ,mem_patch27 
+0x53af 013437 call le_savelist 
+0x53b0 013438 call le_lpm_set_mult 
+0x53b1 013439 call le_update_channel_map 
+0x53b2 013440 call le_update_param 
+0x53b3 013441 branch calc_clke_offset 
+:      013443 le_slave_more_data:
+0x53b4 013444 set1 mark_ext_patch ,mark 
+0x53b5 013445 bpatch patch27_4 ,mem_patch27 
+0x53b6 013446 enable attempt 
+0x53b7 013447 call le_transmit_receive_sifs 
+0x53b8 013448 branch le_slave_match ,match 
+0x53b9 013449 branch le_slave_cont 
+:      013451 le_slave_disconn:
+:      013454 le_disconnect:
+0x53ba 013455 set1 mark_ext_patch ,mark 
+0x53bb 013456 bpatch patch27_5 ,mem_patch27 
+0x53bc 013457 call le_clear_connection_info 
+0x53bd 013458 call app_disconn_reason_collect_ble 
+0x53be 013459 jam bt_evt_le_disconnected ,mem_fifo_temp 
+0x53bf 013460 branch ui_ipc_send_event 
+:      013462 le_clear_connection_info:
+0x53c0 013463 fetcht 1 ,mem_le_conn_handle 
+0x53c1 013464 jam hci_error_connection_timeout ,mem_hci_disconn_reason 
+0x53c2 013465 call hci_send_disconn_complete 
+0x53c3 013466 jam 0 ,mem_le_conn_handle 
+0x53c4 013467 jam lemode_idle ,mem_le_mode 
+0x53c5 013468 jam 0 ,mem_le_state 
+0x53c6 013469 jam 0 ,mem_app_state 
+0x53c7 013470 rtn 
+:      013472 le_got_first_packet:
+0x53c8 013473 fetch 1 ,mem_le_conn_rcv 
+0x53c9 013474 increase 1 ,pdata 
+0x53ca 013475 store 1 ,mem_le_conn_rcv 
+0x53cb 013476 fetch 1 ,mem_le_state 
+0x53cc 013477 rtnbit1 lestate_got_first_packet 
+0x53cd 013478 set1 lestate_got_first_packet 
+0x53ce 013479 store 1 ,mem_le_state 
+0x53cf 013480 setarg 0 
+0x53d0 013481 store 4 ,mem_le_transmit_window 
+0x53d1 013482 rtn 
+:      013487 le_enable:
+0x53d2 013488 set1 mark_ext_patch ,mark 
+0x53d3 013489 bpatch patch27_6 ,mem_patch27 
+0x53d4 013490 enable le 
+0x53d5 013491 hjam 7 ,rfen_ulp 
+0x53d6 013492 branch check_ble_disabled 
+:      013494 le_disable:
+0x53d7 013495 set1 mark_ext_patch ,mark 
+0x53d8 013496 bpatch patch27_7 ,mem_patch27 
+0x53d9 013497 disable le 
+0x53da 013498 hjam 3 ,rfen_ulp 
+0x53db 013499 arg 0 ,stop_watch 
+0x53dc 013500 rtn 
+:      013502 le_prep:
+0x53dd 013503 disable enable_crc 
+0x53de 013504 disable enable_white 
+0x53df 013505 fetch 3 ,mem_le_crcinit 
+0x53e0 013506 iforce crc24_init 
+0x53e1 013507 fetch 1 ,mem_le_ch_mapped 
+0x53e2 013508 reverse pdata ,temp 
+0x53e3 013509 set1 1 ,temp 
+0x53e4 013510 rshift temp ,white_init 
+0x53e5 013511 rtn 
+:      013514 lerx_setfreq:
+0x53e6 013515 call le_setfreq 
+0x53e7 013516 call set_freq_rx 
+0x53e8 013517 setarg param_pll_setup 
+0x53e9 013518 call sleep 
+0x53ea 013519 branch rf_rx_enable 
+:      013521 letx_setfreq:
+0x53eb 013522 branch txon ,match 
+0x53ec 013523 call le_setfreq 
+0x53ed 013524 branch set_freq_tx 
+:      013525 le_setfreq:
+0x53ee 013526 set1 mark_ext_patch ,mark 
+0x53ef 013527 bpatch patch28_0 ,mem_patch28 
+0x53f0 013528 call set_sync_on 
+0x53f1 013529 fetch 1 ,mem_le_testtype 
+0x53f2 013530 nbranch le_ctf_test ,blank 
+0x53f3 013531 fetch 1 ,mem_le_ch_mapped 
+0x53f4 013532 sub pdata ,36 ,null 
+0x53f5 013533 branch le_ctf_normal ,positive 
+0x53f6 013534 force 0 ,temp 
+0x53f7 013535 rtneq 37 
+0x53f8 013536 force 24 ,temp 
+0x53f9 013537 rtneq 38 
+0x53fa 013538 force 78 ,temp 
+0x53fb 013539 rtn 
+:      013541 le_ctf_normal:
+0x53fc 013542 sub pdata ,10 ,null 
+0x53fd 013543 branch le_ctf_low ,positive 
+0x53fe 013544 increase 1 ,pdata 
+:      013546 le_ctf_low:
+0x53ff 013547 lshift pdata ,pdata 
+0x5400 013548 add pdata ,2 ,temp 
+0x5401 013549 rtn 
+:      013551 le_ctf_test:
+0x5402 013552 fetch 1 ,mem_le_ch_mapped 
+0x5403 013553 lshift pdata ,temp 
+0x5404 013554 rtn 
+:      013556 le_sca_map:
+0x5405 013557 arg 500 ,temp 
+0x5406 013558 rtn blank 
+0x5407 013559 arg 250 ,temp 
+0x5408 013560 rtneq 1 
+0x5409 013561 arg 150 ,temp 
+0x540a 013562 rtneq 2 
+0x540b 013563 arg 100 ,temp 
+0x540c 013564 rtneq 3 
+0x540d 013565 arg 75 ,temp 
+0x540e 013566 rtneq 4 
+0x540f 013567 arg 50 ,temp 
+0x5410 013568 rtneq 5 
+0x5411 013569 arg 40 ,temp 
+0x5412 013570 rtneq 6 
+0x5413 013571 arg 20 ,temp 
+0x5414 013572 rtn 
+:      013576 le_adv_access:
+0x5415 013577 setarg 0x8e89be 
+0x5416 013578 lshift8 pdata ,pdata 
+0x5417 013579 or_into 0xd6 ,pdata 
+0x5418 013580 iforce access 
+0x5419 013581 setarg 0x555555 
+0x541a 013582 store 3 ,mem_le_crcinit 
+0x541b 013583 rtn 
+:      013585 le_setup:
+0x541c 013586 set1 mark_ext_patch ,mark 
+0x541d 013587 bpatch patch28_1 ,mem_patch28 
+0x541e 013588 enable swfine 
+0x541f 013589 fetch 4 ,mem_le_access 
+0x5420 013590 iforce access 
+0x5421 013591 call le_map_channel 
+0x5422 013592 setarg 0x200 
+0x5423 013593 branch le_setup_master ,master 
+0x5424 013594 fetch 2 ,mem_le_receive_window 
+0x5425 013595 rshift pdata ,pdata 
+:      013596 le_setup_master:
+0x5426 013597 arg param_pll_setup ,temp 
+0x5427 013598 iadd temp ,pdata 
+0x5428 013599 call ahead_window 
+0x5429 013600 deposit clke 
+0x542a 013601 store 6 ,mem_le_rxon_ts 
+0x542b 013602 rtn 
+:      013604 le_next_adv_channel:
+0x542c 013605 set1 mark_ext_patch ,mark 
+0x542d 013606 bpatch patch28_2 ,mem_patch28 
+0x542e 013607 fetch 1 ,mem_le_ch_mapped 
+0x542f 013608 increase 1 ,pdata 
+0x5430 013609 store 1 ,mem_le_ch_mapped 
+0x5431 013610 rtnne 40 
+0x5432 013611 jam 37 ,mem_le_ch_mapped 
+0x5433 013612 rtn 
+:      013614 le_context_nexthop:
+0x5434 013615 set1 mark_ext_patch ,mark 
+0x5435 013616 bpatch patch28_3 ,mem_patch28 
+0x5436 013617 add rega ,coffset_mode ,contr 
+0x5437 013618 ifetch 1 ,contr 
+0x5438 013619 rtnbit0 mode_le 
+0x5439 013620 add rega ,coffset_le_event_cnt ,contw 
+0x543a 013621 ifetch 2 ,contw 
+0x543b 013622 increase 1 ,pdata 
+0x543c 013623 istore 2 ,contw 
+0x543d 013624 add rega ,coffset_le_hop ,contr 
+0x543e 013625 ifetch 1 ,contr 
+0x543f 013626 add rega ,coffset_le_ch ,contw 
+0x5440 013627 ifetcht 1 ,contw 
+0x5441 013628 iadd temp ,pdata 
+0x5442 013629 sub pdata ,36 ,null 
+0x5443 013630 branch le_nexthop_nowrap ,positive 
+0x5444 013631 increase -37 ,pdata 
+:      013632 le_nexthop_nowrap:
+0x5445 013633 istore 1 ,contw 
+0x5446 013634 rtn 
+:      013637 le_calc_channel_map:
+0x5447 013638 set1 mark_ext_patch ,mark 
+0x5448 013639 bpatch patch28_4 ,mem_patch28 
+0x5449 013640 fetch 5 ,mem_le_channel_map 
+0x544a 013641 force 0 ,temp 
+0x544b 013642 force 37 ,loopcnt 
+:      013643 le_count_channels_loop:
+0x544c 013644 bbit0 0 ,le_count_channels_notused 
+0x544d 013645 increase 1 ,temp 
+:      013646 le_count_channels_notused:
+0x544e 013647 rshift pdata ,pdata 
+0x544f 013648 loop le_count_channels_loop 
+0x5450 013649 add temp ,-1 ,pdata 
+0x5451 013650 store 1 ,mem_le_channels 
+0x5452 013651 rtn 
+:      013653 le_map_channel:
+0x5453 013654 set1 mark_ext_patch ,mark 
+0x5454 013655 bpatch patch28_5 ,mem_patch28 
+0x5455 013656 fetch 1 ,mem_le_ch 
+0x5456 013657 iforce queue 
+0x5457 013658 fetcht 5 ,mem_le_channel_map 
+0x5458 013659 qisolate1 temp 
+0x5459 013660 branch le_map_channel_end ,true 
+:      013661 le_map_channel_next:
+0x545a 013662 set1 mark_ext_patch ,mark 
+0x545b 013663 bpatch patch28_6 ,mem_patch28 
+0x545c 013664 fetch 1 ,mem_le_channels 
+0x545d 013665 isub queue ,pdata 
+0x545e 013666 branch le_map_channel_cont ,positive 
+0x545f 013667 sub pdata ,-1 ,queue 
+0x5460 013668 branch le_map_channel_next 
+:      013669 le_map_channel_cont:
+0x5461 013670 copy queue ,loopcnt 
+0x5462 013671 force 0 ,queue 
+:      013672 le_map_channel_loop:
+0x5463 013673 qisolate1 temp 
+0x5464 013674 branch le_map_channel_skip ,true 
+0x5465 013675 increase 1 ,loopcnt 
+:      013676 le_map_channel_skip:
+0x5466 013677 deposit loopcnt 
+0x5467 013678 branch le_map_channel_end ,blank 
+0x5468 013679 increase 1 ,queue 
+0x5469 013680 increase -1 ,loopcnt 
+0x546a 013681 branch le_map_channel_loop 
+:      013682 le_map_channel_end:
+0x546b 013683 deposit queue 
+0x546c 013684 store 1 ,mem_le_ch_mapped 
+0x546d 013685 rtn 
+:      013688 le_wait_tx:
+0x546e 013689 branch le_wait_master ,master 
+0x546f 013690 until null ,timeout 
+0x5470 013691 rtn 
+:      013693 le_wait_master:
+0x5471 013694 arg 0xea0 ,timeup 
+0x5472 013695 until clkn_rt ,meet 
+0x5473 013696 rtn 
+:      013698 le_receive_adv:
+0x5474 013699 disable swfine 
+0x5475 013700 fetch 2 ,mem_le_scan_window 
+0x5476 013701 copy pdata ,timeup 
+0x5477 013702 branch le_receive_packet 
+:      013705 le_receive_slave:
+0x5478 013706 set1 mark_ext_patch ,mark 
+0x5479 013707 bpatch patch28_7 ,mem_patch28 
+0x547a 013708 enable swfine 
+0x547b 013709 fetch 2 ,mem_le_receive_window 
+0x547c 013710 fetcht 4 ,mem_le_transmit_window 
+0x547d 013711 iadd temp ,timeup 
+:      013712 le_receive_packet:
+0x547e 013713 call lerx_setfreq 
+:      013714 le_receive_rxon:
+0x547f 013715 set1 mark_ext_patch ,mark 
+0x5480 013716 bpatch patch29_0 ,mem_patch29 
+0x5481 013717 call le_prep 
+0x5482 013718 disable match 
+0x5483 013719 enable decode_fec0 
+0x5484 013720 enable is_rx 
+0x5485 013721 disable is_tx 
+0x5486 013722 copy timeup ,stop_watch 
+0x5487 013723 correlate null ,timeout 
+0x5488 013724 branch le_receive_on_attempt ,attempt 
+0x5489 013725 copy clke ,temp 
+0x548a 013726 storet 6 ,mem_sync_clke 
+:      013727 le_receive_on_attempt:
+0x548b 013728 nbranch end_of_packet ,sync 
+0x548c 013729 branch le_receive_skip ,attempt 
+0x548d 013730 arg param_clke_cal_le ,clke_rt 
+0x548e 013731 copy bt_clk ,clke_bt 
+0x548f 013732 fetch 1 ,mem_le_state 
+0x5490 013733 bbit0 lestate_got_first_packet ,le_receive_skip 
+0x5491 013734 call lpm_adjust_clk ,wake 
+:      013735 le_receive_skip:
+0x5492 013736 set1 mark_ext_patch ,mark 
+0x5493 013737 bpatch patch29_1 ,mem_patch29 
+0x5494 013738 call save_rssi 
+0x5495 013739 enable enable_white 
+0x5496 013740 enable enable_crc 
+0x5497 013741 parse demod ,bucket ,8 
+0x5498 013742 rshift3 pwindow ,pdata 
+0x5499 013743 store 1 ,mem_le_rxbuf 
+0x549a 013744 parse demod ,bucket ,8 
+0x549b 013745 rshift3 pwindow ,pdata 
+0x549c 013746 istore 1 ,contw 
+0x549d 013747 and pdata ,0x3f ,loopcnt 
+0x549e 013748 branch lerx_nopayload ,zero 
+:      013750 lerx_loop:
+0x549f 013751 parse demod ,bucket ,8 
+0x54a0 013752 rshift3 pwindow ,pdata 
+0x54a1 013753 istore 1 ,contw 
+0x54a2 013754 loop lerx_loop 
+:      013756 lerx_nopayload:
+0x54a3 013757 set1 mark_ext_patch ,mark 
+0x54a4 013758 bpatch patch29_2 ,mem_patch29 
+0x54a5 013759 parse demod ,bucket ,24 
+0x54a6 013760 enable swfine 
+0x54a7 013761 arg param_sifs ,stop_watch 
+0x54a8 013762 rshift32 pdata ,pdata 
+0x54a9 013763 rshift16 pdata ,pdata 
+0x54aa 013764 istore 3 ,contw 
+0x54ab 013765 branch end_of_packet ,crc_failed 
+0x54ac 013766 enable match 
+0x54ad 013767 fetch 1 ,mem_last_freq 
+0x54ae 013768 add pdata ,2 ,rega 
+0x54af 013769 call rf_write_freq 
+0x54b0 013770 disable decode_fec0 
+0x54b1 013771 branch set_sync_on 
+:      013773 le_transmit_receive_sifs:
+0x54b2 013774 set1 mark_ext_patch ,mark 
+0x54b3 013775 bpatch patch29_3 ,mem_patch29 
+0x54b4 013776 call le_transmit 
+0x54b5 013777 fetcht 1 ,mem_last_freq 
+0x54b6 013778 call set_freq_rx 
+0x54b7 013779 call rf_rx_enable 
+0x54b8 013780 enable swfine 
+0x54b9 013781 arg 5000 ,timeup 
+0x54ba 013782 branch le_receive_rxon 
+:      013784 le_transmit_norx:
+0x54bb 013785 call le_transmit 
+0x54bc 013786 branch end_of_packet 
+:      013788 le_transmit:
+0x54bd 013789 set1 mark_ext_patch ,mark 
+0x54be 013790 bpatch patch29_4 ,mem_patch29 
+0x54bf 013791 call le_prep 
+0x54c0 013792 call letx_setfreq 
+0x54c1 013793 set1 txgfsk ,radio_ctrl 
+0x54c2 013794 enable encode_fec0 
+0x54c3 013795 enable is_tx 
+0x54c4 013796 disable is_rx 
+0x54c5 013797 call le_wait_tx 
+0x54c6 013798 rshift16 access ,pdata 
+0x54c7 013799 rshift8 pdata ,pdata 
+0x54c8 013800 rshift4 pdata ,pdata 
+0x54c9 013801 inject mod ,40 
+0x54ca 013802 enable enable_white 
+0x54cb 013803 enable enable_crc 
+0x54cc 013804 set1 mark_ext_patch ,mark 
+0x54cd 013805 bpatch patch29_5 ,mem_patch29 
+0x54ce 013806 fetch 1 ,mem_le_txheader 
+0x54cf 013807 inject mod ,8 
+0x54d0 013808 ifetch 1 ,contr 
+0x54d1 013809 and pdata ,0x3f ,loopcnt 
+0x54d2 013810 inject mod ,8 
+0x54d3 013811 branch letr_nopayload ,zero 
+:      013812 letr_loop:
+0x54d4 013813 ifetch 1 ,contr 
+0x54d5 013814 inject mod ,8 
+0x54d6 013815 loop letr_loop 
+:      013817 letr_nopayload:
+0x54d7 013818 enable enable_parity 
+0x54d8 013819 inject mod ,24 
+0x54d9 013820 disable enable_parity 
+0x54da 013821 until null ,tx_clear 
+0x54db 013822 nop 100 
+0x54dc 013823 disable encode_fec0 
+0x54dd 013824 rtn 
+:      013826 le_send_adv_ind:
+0x54de 013827 set1 mark_ext_patch ,mark 
+0x54df 013828 bpatch patch29_6 ,mem_patch29 
+0x54e0 013829 fetch 1 ,mem_le_adv_type 
+0x54e1 013830 beq adv_direct_ind ,le_send_adv_direct_ind 
+0x54e2 013831 fetch 1 ,mem_le_adv_own_addr_type 
+0x54e3 013832 lshift4 pdata ,pdata 
+0x54e4 013833 lshift2 pdata ,pdata 
+0x54e5 013834 store 1 ,mem_le_txheader 
+0x54e6 013835 fetcht 1 ,mem_le_adv_data_len 
+0x54e7 013836 add temp ,6 ,pdata 
+0x54e8 013837 store 1 ,mem_le_txlen 
+0x54e9 013838 fetch 6 ,mem_le_lap 
+0x54ea 013839 store 6 ,mem_le_txpayload 
+0x54eb 013840 copy temp ,loopcnt 
+0x54ec 013841 arg mem_le_adv_data ,contr 
+0x54ed 013842 call memcpy 
+0x54ee 013843 branch le_send_adv_transmit 
+:      013844 le_send_adv_direct_ind:
+0x54ef 013845 fetcht 2 ,mem_le_notify_handle 
+0x54f0 013846 call le_att_check_notification_enable 
+0x54f1 013847 copy rega ,contw 
+0x54f2 013848 setarg 1 
+0x54f3 013849 istore 1 ,contw 
+0x54f4 013850 fetch 1 ,mem_le_adv_direct_addr_type 
+0x54f5 013851 lshift4 pdata ,pdata 
+0x54f6 013852 lshift2 pdata ,pdata 
+0x54f7 013853 increase 1 ,pdata 
+0x54f8 013854 store 1 ,mem_le_txheader 
+0x54f9 013855 setarg 12 
+0x54fa 013856 store 1 ,mem_le_txlen 
+0x54fb 013857 fetch 6 ,mem_le_lap 
+0x54fc 013858 store 6 ,mem_le_txpayload 
+0x54fd 013859 fetch 6 ,mem_hci_plap 
+0x54fe 013860 istore 6 ,contw 
+:      013861 le_send_adv_transmit:
+0x54ff 013862 set1 mark_ext_patch ,mark 
+0x5500 013863 bpatch patch29_7 ,mem_patch29 
+0x5501 013864 fetch 1 ,mem_le_adv_transmit 
+0x5502 013865 increase 1 ,pdata 
+0x5503 013866 store 1 ,mem_le_adv_transmit 
+0x5504 013867 arg 1800 ,stop_watch 
+0x5505 013868 disable match 
+0x5506 013869 branch le_transmit_receive_sifs 
+:      013871 le_send_scan_request:
+0x5507 013872 set1 mark_ext_patch ,mark 
+0x5508 013873 bpatch patch2a_0 ,mem_patch2a 
+0x5509 013874 fetch 1 ,mem_le_scan_type 
+0x550a 013875 rtnne le_scan_type_active ,pdata 
+0x550b 013876 fetch 1 ,mem_le_adv_transmit 
+0x550c 013877 increase 1 ,pdata 
+0x550d 013878 store 1 ,mem_le_adv_transmit 
+0x550e 013879 arg 0x0c03 ,temp 
+0x550f 013880 fetch 1 ,mem_le_scan_own_addr_type 
+0x5510 013881 nsetflag blank ,le_sender_addr_bit ,temp 
+0x5511 013882 copy rega ,pdata 
+0x5512 013883 nsetflag blank ,le_receiver_addr_bit ,temp 
+0x5513 013884 storet 2 ,mem_le_txheader 
+0x5514 013885 fetch 6 ,mem_le_lap 
+0x5515 013886 istore 6 ,contw 
+0x5516 013887 fetch 6 ,mem_le_plap 
+0x5517 013888 istore 6 ,contw 
+0x5518 013889 branch le_transmit_receive_sifs 
+:      013892 le_send_scan_response:
+0x5519 013893 set1 mark_ext_patch ,mark 
+0x551a 013894 bpatch patch2a_1 ,mem_patch2a 
+0x551b 013895 arg scan_rsp ,temp 
+0x551c 013896 fetch 1 ,mem_le_adv_own_addr_type 
+0x551d 013897 nsetflag blank ,le_sender_addr_bit ,temp 
+0x551e 013898 storet 1 ,mem_le_txheader 
+0x551f 013899 fetcht 1 ,mem_le_scan_data_len 
+0x5520 013900 add temp ,6 ,pdata 
+0x5521 013901 store 1 ,mem_le_txlen 
+0x5522 013902 fetch 6 ,mem_le_lap 
+0x5523 013903 store 6 ,mem_le_txpayload 
+0x5524 013904 arg mem_le_scan_data ,contr 
+0x5525 013905 copy temp ,loopcnt 
+0x5526 013906 call memcpy 
+0x5527 013907 branch le_transmit_norx 
+:      013910 le_connect_request:
+0x5528 013911 set1 mark_ext_patch ,mark 
+0x5529 013912 bpatch patch2a_2 ,mem_patch2a 
+0x552a 013913 force -1 ,pdata 
+0x552b 013914 setsect 2 ,1 
+0x552c 013915 store 5 ,mem_le_channel_map 
+0x552d 013916 call le_calc_channel_map 
+0x552e 013917 force 4 ,loopcnt 
+0x552f 013918 arg mem_le_access ,contw 
+0x5530 013919 call generate_random_loop 
+0x5531 013920 fetch 2 ,mem_le_conn_superto 
+0x5532 013921 store 2 ,mem_le_superto 
+:      013922 le_con_req_hop_retry:
+0x5533 013923 random pdata 
+0x5534 013924 and_into 0xf ,pdata 
+0x5535 013925 sub pdata ,4 ,null 
+0x5536 013926 branch le_con_req_hop_retry ,positive 
+0x5537 013927 store 1 ,mem_le_hop 
+0x5538 013928 store 1 ,mem_tmp1 
+0x5539 013929 set1 mark_ext_patch ,mark 
+0x553a 013930 bpatch patch2a_3 ,mem_patch2a 
+0x553b 013931 fetcht 2 ,mem_le_conn_interval 
+0x553c 013932 storet 2 ,mem_le_tsniff 
+0x553d 013933 copy temp ,regc 
+0x553e 013934 add clkn_bt ,7 ,pdata 
+0x553f 013935 idiv regc 
+0x5540 013936 call wait_div_end 
+0x5541 013937 remainder rega 
+0x5542 013938 isub rega ,pdata 
+0x5543 013939 iadd regc ,pdata 
+0x5544 013940 fetcht 2 ,mem_le_dsniff 
+0x5545 013941 iadd temp ,pdata 
+0x5546 013942 store 4 ,mem_le_anchor 
+0x5547 013943 isub clkn_bt ,rega 
+0x5548 013944 increase -6 ,rega 
+0x5549 013945 arg 0x2205 ,regb 
+0x554a 013946 fetch 1 ,mem_le_conn_own_addr_type 
+0x554b 013947 nsetflag blank ,le_sender_addr_bit ,regb 
+0x554c 013948 fetch 1 ,mem_le_conn_peer_addr_type 
+0x554d 013949 nsetflag blank ,le_receiver_addr_bit ,regb 
+0x554e 013950 copy regb ,pdata 
+0x554f 013951 store 2 ,mem_le_txheader 
+0x5550 013952 fetch 6 ,mem_le_lap 
+0x5551 013953 istore 6 ,contw 
+0x5552 013954 fetch 6 ,mem_le_plap 
+0x5553 013955 istore 6 ,contw 
+0x5554 013956 fetch 4 ,mem_le_access 
+0x5555 013957 istore 4 ,contw 
+0x5556 013958 random pdata 
+0x5557 013959 istore 2 ,contw 
+0x5558 013960 random pdata 
+0x5559 013961 istore 1 ,contw 
+0x555a 013962 force 2 ,pdata 
+0x555b 013963 istore 1 ,contw 
+0x555c 013964 rshift2 rega ,pdata 
+0x555d 013965 istore 2 ,contw 
+0x555e 013966 rshift2 regc ,pdata 
+0x555f 013967 istore 2 ,contw 
+0x5560 013968 set1 mark_ext_patch ,mark 
+0x5561 013969 bpatch patch2a_4 ,mem_patch2a 
+0x5562 013970 fetch 2 ,mem_le_conn_latency 
+0x5563 013971 istore 2 ,contw 
+0x5564 013972 fetch 2 ,mem_le_conn_superto 
+0x5565 013973 istore 2 ,contw 
+0x5566 013974 fetch 5 ,mem_le_channel_map 
+0x5567 013975 istore 5 ,contw 
+0x5568 013976 fetch 1 ,mem_le_hop 
+0x5569 013977 arg param_le_sca ,temp 
+0x556a 013978 ior temp ,pdata 
+0x556b 013979 istore 1 ,contw 
+0x556c 013980 call le_transmit_norx 
+0x556d 013981 setarg mem_le_txheader 
+0x556e 013982 add pdata ,18 ,contr 
+0x556f 013983 ifetch 3 ,contr 
+0x5570 013984 store 3 ,mem_le_crcinit 
+0x5571 013985 rtn 
+:      013987 le_init_adv:
+0x5572 013988 set1 mark_ext_patch ,mark 
+0x5573 013989 bpatch patch2a_5 ,mem_patch2a 
+0x5574 013990 disable master 
+0x5575 013991 branch le_adv_access 
+:      013995 le_update_param:
+0x5576 013996 set1 mark_ext_patch ,mark 
+0x5577 013997 bpatch patch2a_6 ,mem_patch2a 
+0x5578 013998 fetch 1 ,mem_le_state 
+0x5579 013999 rtnbit0 lestate_update_param 
+0x557a 014000 fetch 2 ,mem_le_event_count 
+0x557b 014001 fetcht 2 ,mem_le_instant 
+0x557c 014002 isub temp ,pdata 
+0x557d 014003 nrtn positive 
+0x557e 014004 fetch 1 ,mem_le_state 
+0x557f 014005 set0 lestate_update_param ,pdata 
+0x5580 014006 set0 lestate_got_first_packet ,pdata 
+0x5581 014007 store 1 ,mem_le_state 
+0x5582 014008 fetch 4 ,mem_le_anchor 
+0x5583 014009 fetcht 2 ,mem_le_tsniff 
+0x5584 014010 isub temp ,rega 
+0x5585 014011 set1 mark_ext_patch ,mark 
+0x5586 014012 bpatch patch2a_7 ,mem_patch2a 
+0x5587 014013 fetch 1 ,mem_le_new_param 
+0x5588 014014 store 1 ,mem_le_window_size 
+0x5589 014015 ifetcht 2 ,contr 
+0x558a 014016 ifetch 2 ,contr 
+0x558b 014017 lshift2 pdata ,pdata 
+0x558c 014018 store 2 ,mem_le_tsniff 
+0x558d 014019 lshift2 temp ,temp 
+0x558e 014020 iadd temp ,pdata 
+0x558f 014021 ifetcht 4 ,contr 
+0x5590 014022 storet 4 ,mem_le_slave_latency 
+0x5591 014023 iadd rega ,pdata 
+0x5592 014024 store 4 ,mem_le_anchor 
+0x5593 014025 branch le_receive_window_size 
+:      014027 le_update_channel_map:
+0x5594 014028 set1 mark_ext_patch ,mark 
+0x5595 014029 bpatch patch2b_0 ,mem_patch2b 
+0x5596 014030 fetch 1 ,mem_le_state 
+0x5597 014031 rtnbit0 lestate_update_map 
+0x5598 014032 fetch 2 ,mem_le_event_count 
+0x5599 014033 fetcht 2 ,mem_le_instant 
+0x559a 014034 isub temp ,pdata 
+0x559b 014035 nrtn positive 
+0x559c 014036 fetch 1 ,mem_le_state 
+0x559d 014037 set0 lestate_update_map ,pdata 
+0x559e 014038 store 1 ,mem_le_state 
+0x559f 014039 fetch 5 ,mem_le_new_map 
+0x55a0 014040 store 5 ,mem_le_channel_map 
+0x55a1 014041 branch le_calc_channel_map 
+:      014044 le_acknowledge:
+0x55a2 014045 set1 mark_ext_patch ,mark 
+0x55a3 014046 bpatch patch2b_1 ,mem_patch2b 
+0x55a4 014047 call le_supervision_flush 
+0x55a5 014048 call le_check_wak 
+0x55a6 014049 fetch 1 ,mem_le_rxbuf 
+0x55a7 014050 rshift pdata ,pdata 
+0x55a8 014051 ixor temp ,pdata 
+0x55a9 014052 isolate1 nesn ,pdata 
+0x55aa 014053 setflag true ,mark_old_packet ,mark 
+0x55ab 014054 fetch 1 ,mem_le_rxbuf + 1 
+0x55ac 014055 branch le_ack_unenc ,blank 
+0x55ad 014056 fetch 1 ,mem_le_state 
+0x55ae 014057 bbit0 lestate_encryption ,le_ack_unenc 
+0x55af 014058 call load_sk 
+0x55b0 014059 call le_decrypt 
+0x55b1 014060 nrtn blank 
+:      014061 le_ack_unenc:
+0x55b2 014062 rtnmark1 mark_old_packet 
+0x55b3 014063 fetcht 1 ,mem_le_arq 
+0x55b4 014064 setflip nesn ,temp 
+0x55b5 014065 storet 1 ,mem_le_arq 
+0x55b6 014066 branch le_parse 
+:      014068 le_check_wak:
+0x55b7 014069 set1 mark_ext_patch ,mark 
+0x55b8 014070 bpatch patch2b_2 ,mem_patch2b 
+0x55b9 014071 fetcht 1 ,mem_le_arq 
+0x55ba 014072 isolate0 wak ,temp 
+0x55bb 014073 rtn true 
+0x55bc 014074 fetch 1 ,mem_le_rxbuf 
+0x55bd 014075 lshift pdata ,pdata 
+0x55be 014076 ixor temp ,pdata 
+0x55bf 014077 rtnbit0 sn 
+0x55c0 014078 set0 wak ,temp 
+0x55c1 014079 setflip sn ,temp 
+0x55c2 014080 storet 1 ,mem_le_arq 
+0x55c3 014081 compare 3 ,temp ,3 
+0x55c4 014082 nrtn true 
+0x55c5 014083 fetch 1 ,mem_le_txpayload 
+0x55c6 014084 rtnne ll_start_enc_req 
+0x55c7 014085 fetch 1 ,mem_le_state 
+0x55c8 014086 set1 lestate_encryption ,pdata 
+0x55c9 014087 store 1 ,mem_le_state 
+0x55ca 014088 rtn 
+:      014090 le_wait_adv:
+0x55cb 014091 set1 mark_ext_patch ,mark 
+0x55cc 014092 bpatch patch2b_3 ,mem_patch2b 
+0x55cd 014093 call le_next_adv_channel 
+0x55ce 014094 call le_receive_adv 
+0x55cf 014095 fetch 1 ,mem_le_adv_waitcnt 
+0x55d0 014096 increase 1 ,pdata 
+0x55d1 014097 store 1 ,mem_le_adv_waitcnt 
+0x55d2 014098 rtn 
+:      014100 le_scan:
+0x55d3 014101 set1 mark_ext_patch ,mark 
+0x55d4 014102 bpatch patch2b_4 ,mem_patch2b 
+0x55d5 014103 fetch 1 ,mem_le_scan_enable 
+0x55d6 014104 rtnne le_scan_enable 
+0x55d7 014105 arg le_scan_interval_timer ,queue 
+0x55d8 014106 call timer_check 
+0x55d9 014107 nrtn blank 
+0x55da 014108 fetch 2 ,mem_le_scan_interval 
+0x55db 014109 fetcht 2 ,mem_le_scan_window 
+0x55dc 014110 isub temp ,pdata 
+0x55dd 014111 arg le_scan_interval_timer ,queue 
+0x55de 014112 call timer_init 
+0x55df 014113 disable master 
+0x55e0 014114 call le_init_adv 
+0x55e1 014115 call le_wait_adv 
+0x55e2 014116 nrtn match 
+0x55e3 014117 set1 mark_ext_patch ,mark 
+0x55e4 014118 bpatch patch2b_5 ,mem_patch2b 
+0x55e5 014119 fetch 6 ,mem_le_rxbuf + 2 
+0x55e6 014120 store 6 ,mem_le_plap 
+0x55e7 014121 call le_scan_dongle 
+0x55e8 014122 call le_scan_addr_to_uart 
+0x55e9 014124 fetch 1 ,mem_le_adv_rcv 
+0x55ea 014125 increase 1 ,pdata 
+0x55eb 014126 store 1 ,mem_le_adv_rcv 
+0x55ec 014127 call le_create_conn 
+0x55ed 014128 rtn master 
+0x55ee 014129 call hci_send_le_adv_report_event 
+0x55ef 014130 call le_send_scan_request 
+0x55f0 014131 nrtn match 
+0x55f1 014132 set1 mark_ext_patch ,mark 
+0x55f2 014133 bpatch patch2b_6 ,mem_patch2b 
+0x55f3 014134 fetch 1 ,mem_le_scanrsp_rcv 
+0x55f4 014135 increase 1 ,pdata 
+0x55f5 014136 store 1 ,mem_le_scanrsp_rcv 
+0x55f6 014137 fetch 9 ,mem_le_rxbuf + 8 
+0x55f7 014138 store 9 ,mem_tmp_buffer 
+0x55f8 014139 branch hci_send_le_adv_report_event 
+:      014141 le_create_conn:
+0x55f9 014142 set1 mark_ext_patch ,mark 
+0x55fa 014143 bpatch patch2b_7 ,mem_patch2b 
+0x55fb 014144 fetch 1 ,mem_cmd_le_create_conn 
+0x55fc 014145 rtnne hci_cmd_le_create_conn ,pdata 
+0x55fd 014146 fetch 6 ,mem_le_plap 
+0x55fe 014147 fetcht 6 ,mem_le_conn_peer_addr 
+0x55ff 014148 isub temp ,null 
+0x5600 014149 nrtn zero 
+0x5601 014150 call context_new 
+0x5602 014151 nrtn zero 
+0x5603 014152 call le_connect_request 
+0x5604 014153 call le_init_master 
+0x5605 014154 set1 mark_ext_patch ,mark 
+0x5606 014155 bpatch patch2c_0 ,mem_patch2c 
+0x5607 014156 jam 0 ,mem_hci_cmd 
+0x5608 014157 jam 0 ,mem_le_peer_sca 
+0x5609 014158 fetch 1 ,mem_device_option 
+0x560a 014159 bne dvc_op_dongle ,le_create_conn_ndongle 
+0x560b 014160 jam conn_sm_send_write_req ,mem_le_conn_sm 
+:      014161 le_create_conn_ndongle:
+0x560c 014162 arg 0 ,temp 
+0x560d 014163 call hci_send_le_conn_complete 
+0x560e 014164 jam 0 ,mem_le_scan_enable 
+0x560f 014165 jam 0 ,mem_cmd_le_create_conn 
+0x5610 014166 jam xt_ll_version_ind ,mem_fifo_temp 
+0x5611 014167 call le_xtype_fifo_in 
+0x5612 014168 branch context_save 
+:      014170 le_scan_check_sender_addr_type:
+0x5613 014171 arg 1 ,rega 
+0x5614 014172 fetch 1 ,mem_le_rxbuf 
+0x5615 014173 rtnbit1 le_sender_addr_bit 
+0x5616 014174 arg 0 ,rega 
+0x5617 014175 rtn 
+:      014177 le_xtype_fifo_count:
+0x5618 014178 arg mem_le_xtype_fifo ,contr 
+0x5619 014179 branch fifo_content_count 
+:      014181 le_xtype_fifo_is_empty:
+0x561a 014182 arg mem_le_xtype_fifo ,rega 
+0x561b 014183 branch fifo_is_empty 
+:      014185 le_xtype_fifo_is_full:
+0x561c 014186 arg mem_le_xtype_fifo ,rega 
+0x561d 014187 branch fifo_is_full 
+:      014189 le_xtype_fifo_is_near_full:
+0x561e 014190 arg mem_le_xtype_fifo ,rega 
+0x561f 014191 branch fifo_is_near_full 
+:      014193 le_xtype_fifo_in:
+0x5620 014194 arg mem_le_xtype_fifo ,rega 
+0x5621 014195 branch fifo_in 
+:      014197 le_prepare_tx:
+0x5622 014198 set1 mark_ext_patch ,mark 
+0x5623 014199 bpatch patch2c_1 ,mem_patch2c 
+0x5624 014200 fetch 1 ,mem_le_arq 
+0x5625 014201 rtnbit1 wak 
+0x5626 014202 arg mem_le_xtype_fifo ,rega 
+0x5627 014203 call fifo_out 
+0x5628 014204 nbranch le_prepare_tx_cmd ,blank 
+0x5629 014205 fetch 1 ,mem_device_option 
+0x562a 014206 bne dvc_op_hci ,le_send_empty 
+0x562b 014207 arg 0 ,type 
+0x562c 014208 call hci_rx_packet 
+0x562d 014209 copy type ,pdata 
+0x562e 014210 nrtn blank 
+0x562f 014211 branch le_send_empty 
+:      014212 le_prepare_tx_cmd:
+0x5630 014213 copy pdata ,temp 
+0x5631 014214 set1 mark_ext_patch ,mark 
+0x5632 014215 bpatch patch2c_2 ,mem_patch2c 
+0x5633 014216 copy temp ,pdata 
+0x5634 014217 bbit0 5 ,le_prepare_l2cap 
+0x5635 014218 force 3 ,type 
+0x5636 014219 set0 5 ,pdata 
+0x5637 014220 store 1 ,mem_le_txpayload 
+0x5638 014221 set1 mark_ext_patch ,mark 
+0x5639 014222 bpatch patch2c_3 ,mem_patch2c 
+0x563a 014223 fetch 1 ,mem_le_txpayload 
+0x563b 014224 beq ll_connection_update_req ,le_send_connection_update_req 
+0x563c 014225 beq ll_channel_map_req ,le_send_channel_map_req 
+0x563d 014226 beq ll_terminate_ind ,le_send_terminate_ind 
+0x563e 014227 beq ll_enc_req ,le_send_enc_req 
+0x563f 014228 beq ll_enc_rsp ,le_send_enc_rsp 
+0x5640 014229 beq ll_start_enc_req ,le_send_start_enc_req 
+0x5641 014230 beq ll_start_enc_rsp ,le_send_start_enc_rsp 
+0x5642 014231 beq ll_unknown_rsp ,le_send_unknown_rsp 
+0x5643 014232 beq ll_feature_req ,le_send_feature 
+0x5644 014233 beq ll_feature_rsp ,le_send_feature 
+0x5645 014234 beq ll_pause_enc_req ,le_send_pause_enc_req 
+0x5646 014235 beq ll_pause_enc_rsp ,le_send_pause_enc_rsp 
+0x5647 014236 beq ll_version_ind ,le_send_version_ind 
+0x5648 014237 beq ll_reject_ind ,le_send_reject_ind 
+0x5649 014238 beq ll_connection_param_req ,le_send_conn_param_req 
+0x564a 014239 branch assert 
+:      014241 le_prepare_l2cap:
+0x564b 014242 jam 0 ,mem_le_txcid + 1 
+0x564c 014243 force 2 ,type 
+0x564d 014244 bbit0 6 ,le_prepare_att 
+0x564e 014245 beq attop_write_command ,le_prepare_att 
+0x564f 014246 beq attop_signed_write_command ,le_prepare_att 
+0x5650 014247 jam le_l2cap_cid_smp ,mem_le_txcid 
+0x5651 014248 set0 6 ,pdata 
+0x5652 014249 store 1 ,mem_le_l2cap 
+:      014250 le_prepare_smp:
+0x5653 014251 set1 mark_ext_patch ,mark 
+0x5654 014252 bpatch patch2c_4 ,mem_patch2c 
+0x5655 014253 fetch 1 ,mem_le_l2cap 
+:      014254 le_prepare_smp0:
+0x5656 014255 beq smp_pairing_request ,le_send_smp_pairing_request 
+0x5657 014256 beq smp_pairing_response ,le_send_smp_pairing_response 
+0x5658 014257 beq smp_pairing_confirm ,le_send_smp_pairing_confirm 
+0x5659 014258 beq smp_pairing_random ,le_send_smp_pairing_random 
+0x565a 014259 beq smp_pairing_failed ,le_send_smp_pairing_failed 
+0x565b 014260 beq smp_encryption_information ,le_send_smp_encryption_information 
+0x565c 014261 beq smp_master_identification ,le_send_smp_master_identification 
+0x565d 014262 beq smp_identity_information ,le_send_smp_identity_information 
+0x565e 014263 beq smp_identity_address_information ,le_send_smp_identity_address_information 
+0x565f 014264 beq smp_signing_information ,le_send_smp_signing_information 
+0x5660 014265 beq smp_security_request ,le_send_smp_security_request 
+0x5661 014266 branch assert 
+:      014268 le_prepare_att:
+0x5662 014269 jam le_l2cap_cid_att ,mem_le_txcid 
+0x5663 014270 store 1 ,mem_le_l2cap 
+0x5664 014271 set1 mark_ext_patch ,mark 
+0x5665 014272 bpatch patch2c_5 ,mem_patch2c 
+:      014273 le_prepare_att0:
+0x5666 014274 fetch 1 ,mem_le_l2cap 
+0x5667 014275 beq attop_error_response ,le_send_att_error_response 
+0x5668 014276 beq attop_exchange_mtu_request ,le_send_att_exchange_mtu 
+0x5669 014277 beq attop_exchange_mtu_response ,le_send_att_exchange_mtu 
+0x566a 014278 beq attop_find_information_request ,le_send_att_find_information_request 
+0x566b 014279 beq attop_find_information_response ,le_send_att_find_information_response 
+0x566c 014280 beq attop_find_by_type_value_request ,le_send_att_find_by_type_value_request 
+0x566d 014281 beq attop_find_by_type_value_response ,le_send_att_find_by_type_value_response 
+0x566e 014282 beq attop_read_by_type_request ,le_send_att_read_by_type_request 
+0x566f 014283 beq attop_read_by_type_response ,le_send_att_read_by_type_response 
+0x5670 014284 beq attop_read_request ,le_send_att_read_request 
+0x5671 014285 beq attop_read_response ,le_send_att_read_response 
+0x5672 014286 beq attop_read_blob_request ,le_send_att_read_blob_request 
+0x5673 014287 beq attop_read_blob_response ,le_send_att_read_blob_response 
+0x5674 014288 beq attop_read_multiple_request ,le_send_att_read_multiple_request 
+0x5675 014289 beq attop_read_multiple_response ,le_send_att_read_multiple_response 
+0x5676 014290 beq attop_read_by_group_type_request ,le_send_att_read_by_group_type_request 
+0x5677 014291 beq attop_read_by_group_type_response ,le_send_att_read_by_group_type_response 
+0x5678 014292 beq attop_write_request ,le_send_att_write_request 
+0x5679 014293 beq attop_write_response ,le_send_att_write_response 
+0x567a 014294 beq attop_prepare_write_request ,le_send_att_prepare_write_request 
+0x567b 014295 beq attop_prepare_write_response ,le_send_att_prepare_write_response 
+0x567c 014296 beq attop_execute_write_request ,le_send_att_execute_write_request 
+0x567d 014297 beq attop_execute_write_response ,le_send_att_execute_write_response 
+0x567e 014298 beq attop_handle_value_notification ,le_send_att_handle_value_notification 
+0x567f 014299 beq attop_handle_value_indication ,le_send_att_handle_value_indication 
+0x5680 014300 beq attop_handle_value_confirmation ,le_send_att_handle_value_confirmation 
+0x5681 014301 beq attop_write_command ,le_send_att_write_command 
+0x5682 014302 beq attop_signed_write_command ,le_send_att_signed_write_command 
+0x5683 014303 beq empty_le_data_pre ,le_send_empty_le_data_pre 
+0x5684 014304 beq empty_le_data ,le_send_empty_le_data 
+0x5685 014305 branch assert 
+:      014307 le_send_empty_le_data_pre:
+0x5686 014308 jam attop_read_by_group_type_request ,mem_fifo_temp 
+0x5687 014309 call le_xtype_fifo_in 
+:      014311 le_send_empty_le_data:
+0x5688 014312 setarg 0x0011 
+0x5689 014313 store 2 ,mem_le_txheader 
+0x568a 014314 fetch 1 ,mem_le_arq 
+0x568b 014315 set1 wak ,pdata 
+0x568c 014316 store 1 ,mem_le_arq 
+0x568d 014317 jam attop_write_request ,mem_fifo_temp 
+0x568e 014318 branch le_xtype_fifo_in 
+:      014320 le_send_connection_update_req:
+0x568f 014321 force 12 ,temp 
+0x5690 014322 branch le_send_packet 
+:      014324 le_send_channel_map_req:
+0x5691 014325 force 8 ,temp 
+0x5692 014326 branch le_send_packet 
+:      014328 le_send_terminate_ind:
+0x5693 014329 force 2 ,temp 
+0x5694 014330 branch le_send_packet 
+:      014332 le_send_enc_req:
+0x5695 014333 force 0 ,pdata 
+0x5696 014334 istore 8 ,contw 
+0x5697 014335 istore 2 ,contw 
+0x5698 014336 copy contw ,temp 
+0x5699 014337 arg mem_le_skdm ,contw 
+0x569a 014338 force 8 ,loopcnt 
+0x569b 014339 call generate_random_loop 
+0x569c 014340 fetch 8 ,mem_le_skdm 
+0x569d 014341 istore 8 ,temp 
+0x569e 014342 copy contw ,temp 
+0x569f 014343 arg mem_le_ivm ,contw 
+0x56a0 014344 force 4 ,loopcnt 
+0x56a1 014345 call generate_random_loop 
+0x56a2 014346 fetch 4 ,mem_le_ivm 
+0x56a3 014347 istore 4 ,temp 
+0x56a4 014348 force 23 ,temp 
+0x56a5 014349 branch le_send_packet 
+:      014351 le_send_enc_rsp:
+0x56a6 014352 copy contw ,temp 
+0x56a7 014353 arg mem_le_skds ,contw 
+0x56a8 014354 force 8 ,loopcnt 
+0x56a9 014355 call generate_random_loop 
+0x56aa 014356 fetch 8 ,mem_le_skds 
+0x56ab 014357 istore 8 ,temp 
+0x56ac 014358 copy contw ,temp 
+0x56ad 014359 arg mem_le_ivs ,contw 
+0x56ae 014360 force 4 ,loopcnt 
+0x56af 014361 call generate_random_loop 
+0x56b0 014362 fetch 4 ,mem_le_ivs 
+0x56b1 014363 istore 4 ,temp 
+0x56b2 014364 call generate_sk 
+0x56b3 014365 jam xt_ll_start_enc_req ,mem_fifo_temp 
+0x56b4 014366 call le_xtype_fifo_in 
+0x56b5 014367 force 13 ,temp 
+0x56b6 014368 branch le_send_packet 
+:      014370 le_send_start_enc_req:
+0x56b7 014371 force 1 ,temp 
+0x56b8 014372 branch le_send_packet 
+:      014374 le_send_start_enc_rsp:
+0x56b9 014375 force 1 ,temp 
+0x56ba 014376 branch le_send_packet ,master 
+0x56bb 014377 jam xt_smp_encryption_information ,mem_fifo_temp 
+0x56bc 014378 call le_xtype_fifo_in 
+0x56bd 014379 force 1 ,temp 
+0x56be 014380 branch le_send_packet 
+:      014382 le_send_unknown_rsp:
+0x56bf 014383 force 2 ,temp 
+0x56c0 014384 branch le_send_packet 
+:      014386 le_send_feature:
+0x56c1 014387 setarg param_le_features 
+0x56c2 014388 istore 8 ,contw 
+0x56c3 014389 force 9 ,temp 
+0x56c4 014390 branch le_send_packet 
+:      014392 le_send_pause_enc_req:
+0x56c5 014393 force 6 ,temp 
+0x56c6 014394 branch le_send_packet 
+:      014396 le_send_pause_enc_rsp:
+0x56c7 014397 force 6 ,temp 
+0x56c8 014398 branch le_send_packet 
+:      014400 le_send_version_ind:
+0x56c9 014401 setarg param_le_version 
+0x56ca 014402 istore 3 ,contw 
+0x56cb 014403 setarg param_le_subversion 
+0x56cc 014404 istore 2 ,contw 
+0x56cd 014405 force 6 ,temp 
+0x56ce 014406 branch le_send_packet 
+:      014408 le_send_reject_ind:
+0x56cf 014409 force 2 ,temp 
+0x56d0 014410 branch le_send_packet 
+:      014412 le_send_conn_param_req:
+0x56d1 014413 increase -1 ,contw 
+0x56d2 014414 setarg 0x000c 
+0x56d3 014415 istore 2 ,contw 
+0x56d4 014416 setarg 0x0005 
+0x56d5 014417 istore 2 ,contw 
+0x56d6 014418 setarg 0xb412 
+0x56d7 014419 istore 2 ,contw 
+0x56d8 014420 setarg 0x0008 
+0x56d9 014421 istore 2 ,contw 
+0x56da 014422 setarg 0x0008 
+0x56db 014423 istore 2 ,contw 
+0x56dc 014424 setarg 0x0010 
+0x56dd 014425 istore 2 ,contw 
+0x56de 014426 setarg 0 
+0x56df 014427 istore 2 ,contw 
+0x56e0 014428 setarg 0x012c 
+0x56e1 014429 istore 2 ,contw 
+0x56e2 014430 call le_send_autolen 
+0x56e3 014431 force 2 ,type 
+0x56e4 014432 branch le_send_packet 
+:      014434 le_send_smp_pairing_request:
+0x56e5 014435 setarg 0x1000401 
+0x56e6 014436 store 4 ,mem_le_preq 
+0x56e7 014437 setarg 0x070710 
+0x56e8 014438 istore 3 ,contw 
+0x56e9 014439 fetch 6 ,mem_le_preq + 1 
+0x56ea 014440 store 6 ,mem_le_l2cap_response 
+0x56eb 014441 force 11 ,temp 
+0x56ec 014442 branch le_send_packet 
+:      014444 le_send_smp_pairing_response:
+0x56ed 014445 setarg param_smp_paring_response 
+0x56ee 014446 store 4 ,mem_le_pres 
+0x56ef 014447 setarg param_smp_key_dist 
+0x56f0 014448 istore 3 ,contw 
+0x56f1 014449 fetch 6 ,mem_le_pres + 1 
+0x56f2 014450 store 6 ,mem_le_l2cap_response 
+0x56f3 014451 force 11 ,temp 
+0x56f4 014452 branch le_send_packet 
+:      014454 le_send_smp_pairing_confirm:
+0x56f5 014455 call generate_confirm 
+0x56f6 014456 arg mem_le_l2cap_response ,contw 
+0x56f7 014457 call store_aes_result 
+0x56f8 014458 force 21 ,temp 
+0x56f9 014459 branch le_send_packet 
+:      014461 le_send_smp_pairing_random:
+0x56fa 014462 fetch 8 ,mem_le_mrand 
+0x56fb 014463 branch le_send_smp_mrandom ,master 
+0x56fc 014464 fetch 8 ,mem_le_srand 
+:      014466 le_send_smp_mrandom:
+0x56fd 014467 call le_send_smp_128 
+0x56fe 014468 branch le_send_packet 
+:      014470 le_send_smp_pairing_failed:
+0x56ff 014471 force 6 ,temp 
+0x5700 014472 branch le_send_packet 
+:      014474 le_send_smp_encryption_information:
+0x5701 014475 jam bt_evt_le_enc_info ,mem_fifo_temp 
+0x5702 014476 call ui_ipc_send_event 
+0x5703 014477 jam xt_smp_master_identification ,mem_fifo_temp 
+0x5704 014478 call le_xtype_fifo_in 
+0x5705 014479 arg mem_le_my_ltk ,contw 
+0x5706 014480 call generate_random 
+0x5707 014481 fetch 8 ,mem_le_my_ltk 
+0x5708 014482 fetch 8 ,mem_le_ltk 
+0x5709 014483 call le_send_smp_128 
+0x570a 014484 branch le_send_packet 
+:      014486 le_send_smp_master_identification:
+0x570b 014487 jam xt_smp_identity_information ,mem_fifo_temp 
+0x570c 014488 call le_xtype_fifo_in 
+0x570d 014489 arg mem_le_l2cap_response ,contw 
+0x570e 014490 force 8 ,loopcnt 
+0x570f 014491 call generate_random_loop 
+0x5710 014492 force 15 ,temp 
+0x5711 014493 branch le_send_packet 
+:      014495 le_send_smp_identity_information:
+0x5712 014496 jam xt_smp_identity_address_information ,mem_fifo_temp 
+0x5713 014497 call le_xtype_fifo_in 
+0x5714 014498 arg mem_le_l2cap_response ,contw 
+0x5715 014499 call generate_random 
+0x5716 014500 branch le_send_autolen 
+:      014502 le_send_smp_identity_address_information:
+0x5717 014503 jam xt_smp_signing_information ,mem_fifo_temp 
+0x5718 014504 call le_xtype_fifo_in 
+0x5719 014505 force 0 ,pdata 
+0x571a 014506 store 1 ,mem_le_l2cap_response 
+0x571b 014507 fetch 6 ,mem_le_lap 
+0x571c 014508 istore 6 ,contw 
+0x571d 014509 branch le_send_autolen 
+:      014511 le_send_smp_signing_information:
+0x571e 014512 arg mem_le_l2cap_response ,contw 
+0x571f 014513 call generate_random 
+0x5720 014514 branch le_send_autolen 
+:      014516 le_send_smp_security_request:
+0x5721 014517 force 6 ,temp 
+0x5722 014518 branch le_send_packet 
+:      014520 le_send_smp_128:
+0x5723 014521 store 8 ,mem_le_l2cap_response 
+0x5724 014522 ifetch 8 ,contr 
+0x5725 014523 istore 8 ,contw 
+0x5726 014524 force 21 ,temp 
+0x5727 014525 rtn 
+:      014527 le_send_att_error_response_notfound:
+0x5728 014528 jam att_err_attribute_not_found ,mem_le_err_code 
+:      014529 le_send_att_error_response:
+0x5729 014530 jam attop_error_response ,mem_le_l2cap 
+0x572a 014531 fetch 3 ,mem_le_att_opcode 
+0x572b 014532 store 3 ,mem_le_l2cap_response 
+0x572c 014533 fetch 1 ,mem_le_err_code 
+0x572d 014534 istore 1 ,contw 
+0x572e 014535 branch le_send_autolen 
+:      014537 le_send_att_exchange_mtu:
+0x572f 014538 setarg param_le_mtu 
+0x5730 014539 istore 2 ,contw 
+0x5731 014540 branch le_send_autolen 
+:      014542 le_send_att_find_information_request:
+0x5732 014543 fetch 2 ,mem_le_search_handle_start 
+0x5733 014544 store 2 ,mem_le_l2cap_response 
+0x5734 014545 fetch 2 ,mem_le_search_handle_end 
+0x5735 014546 istore 2 ,contw 
+0x5736 014547 branch le_send_autolen 
+:      014551 le_send_att_find_information_response:
+0x5737 014552 force 1 ,pdata 
+0x5738 014553 store 1 ,mem_le_l2cap_response 
+0x5739 014554 call le_init_attlist_search 
+:      014555 le_send_att_find_information_res_loop:
+0x573a 014556 call le_att_handle_inrange 
+0x573b 014557 branch le_send_att_find_information_res_end ,blank 
+0x573c 014558 nbranch le_send_att_find_information_res_next ,positive 
+0x573d 014559 disable user 
+0x573e 014560 istore 2 ,contw 
+0x573f 014561 ifetch 2 ,contr 
+0x5740 014562 istore 2 ,contw 
+:      014563 le_send_att_find_information_res_cont:
+0x5741 014564 ifetch 1 ,contr 
+0x5742 014565 iadd contr ,contr 
+0x5743 014566 branch le_send_att_find_information_res_loop 
+:      014567 le_send_att_find_information_res_next:
+0x5744 014568 increase 2 ,contr 
+0x5745 014569 branch le_send_att_find_information_res_cont 
+:      014570 le_send_att_find_information_res_end:
+0x5746 014571 branch le_send_att_error_response_notfound ,user 
+0x5747 014572 branch le_send_autolen 
+:      014575 le_send_att_find_by_type_value_request:
+0x5748 014576 fetch 2 ,mem_le_search_handle_start 
+0x5749 014577 branch le_send_empty_le_data ,blank 
+0x574a 014578 store 2 ,mem_le_l2cap_response 
+0x574b 014579 fetch 2 ,mem_le_search_handle_end 
+0x574c 014581 istore 2 ,contw 
+0x574d 014582 fetch 2 ,mem_le_uuid 
+0x574e 014584 istore 2 ,contw 
+0x574f 014585 fetch 2 ,mem_le_search_att_type 
+0x5750 014587 istore 2 ,contw 
+0x5751 014588 branch le_send_autolen 
+:      014591 le_send_att_find_by_type_value_response:
+0x5752 014592 call le_start_end_handle_check_1 
+0x5753 014593 rtn user 
+0x5754 014594 fetcht 2 ,mem_le_uuid 
+0x5755 014595 setarg uuid_gatt_primary_service 
+0x5756 014596 isub temp ,null 
+0x5757 014597 branch le_send_att_find_by_type_value_res_primary ,zero 
+0x5758 014598 setarg uuid_gatt_secondary_service 
+0x5759 014599 isub temp ,null 
+0x575a 014600 branch le_send_att_error_response_notfound ,zero 
+0x575b 014601 setarg uuid_gatt_include 
+0x575c 014602 isub temp ,null 
+0x575d 014603 branch le_send_att_error_response_notfound ,zero 
+0x575e 014604 setarg uuid_gatt_characteristic 
+0x575f 014605 isub temp ,null 
+0x5760 014606 branch le_send_att_error_response_notfound ,zero 
+0x5761 014607 branch le_send_att_error_response_notfound 
+:      014609 le_send_att_find_by_type_value_res_primary:
+0x5762 014610 fetcht 2 ,mem_le_search_att_type 
+0x5763 014611 increase 2 ,contr 
+0x5764 014612 ifetch 1 ,contr 
+0x5765 014613 icopy regc 
+0x5766 014614 increase 1 ,regc 
+:      014616 le_send_att_find_by_type_value_res_primary_search_loop:
+0x5767 014617 increase -1 ,regc 
+0x5768 014618 branch le_send_att_error_response_notfound ,zero 
+0x5769 014619 ifetch 2 ,contr 
+0x576a 014620 isub temp ,null 
+0x576b 014621 branch le_send_att_find_by_type_value_res_primary_search_end ,zero 
+0x576c 014622 increase 4 ,contr 
+0x576d 014623 branch le_send_att_find_by_type_value_res_primary_search_loop 
+:      014625 le_send_att_find_by_type_value_res_primary_search_end:
+0x576e 014626 ifetch 2 ,contr 
+0x576f 014627 icopy rega 
+0x5770 014628 ifetch 2 ,contr 
+0x5771 014629 icopy regb 
+0x5772 014630 call le_start_end_handle_check_2 
+0x5773 014631 rtn user 
+0x5774 014632 jam attop_find_by_type_value_response ,mem_le_l2cap 
+0x5775 014633 deposit rega 
+0x5776 014634 store 2 ,mem_le_l2cap_response 
+0x5777 014635 deposit regb 
+0x5778 014636 istore 2 ,contw 
+0x5779 014637 force 9 ,temp 
+0x577a 014638 branch le_send_packet 
+:      014643 le_start_end_handle_check_1:
+0x577b 014644 disable user 
+0x577c 014645 fetcht 2 ,mem_le_search_handle_start 
+0x577d 014646 fetch 2 ,mem_le_search_handle_end 
+0x577e 014647 isub temp ,null 
+0x577f 014648 nbranch le_start_end_handle_check_1_fail ,positive 
+0x5780 014649 deposit temp 
+0x5781 014650 rtnne 0 
+:      014652 le_start_end_handle_check_1_fail:
+0x5782 014653 enable user 
+:      014654 le_send_att_invalid_handle:
+0x5783 014655 jam att_err_invalid_handle ,mem_le_err_code 
+0x5784 014656 branch le_send_att_error_response 
+:      014658 le_start_end_handle_check_2:
+0x5785 014659 disable user 
+0x5786 014660 fetcht 2 ,mem_le_search_handle_start 
+0x5787 014661 deposit rega 
+0x5788 014662 isub temp ,null 
+0x5789 014663 nbranch le_start_end_handle_check_2_fail ,positive 
+0x578a 014664 fetch 2 ,mem_le_search_handle_end 
+0x578b 014665 isub regb ,null 
+0x578c 014666 nbranch le_start_end_handle_check_2_fail ,positive 
+0x578d 014667 deposit regb 
+0x578e 014668 isub rega ,null 
+0x578f 014669 nbranch le_start_end_handle_check_2_fail ,positive 
+0x5790 014670 rtn 
+:      014672 le_start_end_handle_check_2_fail:
+0x5791 014673 enable user 
+0x5792 014674 branch le_send_att_error_response_notfound 
+:      014677 le_send_att_read_by_type_request:
+0x5793 014678 fetch 2 ,mem_le_search_handle_start 
+0x5794 014680 istore 2 ,contw 
+0x5795 014681 fetch 2 ,mem_le_search_handle_end 
+0x5796 014683 istore 2 ,contw 
+0x5797 014684 fetch 2 ,mem_le_search_att_type 
+0x5798 014685 istore 2 ,contw 
+0x5799 014686 force 11 ,temp 
+0x579a 014687 branch le_send_packet 
+:      014690 le_send_att_read_by_type_response:
+0x579b 014691 fetcht 2 ,mem_le_search_att_type 
+0x579c 014692 setarg uuid_gatt_characteristic 
+0x579d 014693 isub temp ,null 
+0x579e 014694 setarg 7 
+0x579f 014695 branch le_send_att_read_by_type_res_cont ,zero 
+0x57a0 014696 setarg uuid_gatt_primary_service 
+0x57a1 014697 isub temp ,null 
+0x57a2 014698 setarg 6 
+0x57a3 014699 branch le_send_att_read_by_type_res_cont ,zero 
+0x57a4 014700 branch le_send_att_error_response_notfound 
+:      014701 le_send_att_read_by_type_res_cont:
+0x57a5 014702 store 1 ,mem_le_l2cap_response 
+0x57a6 014703 call le_init_attlist_search 
+0x57a7 014704 force 3 ,alarm 
+:      014705 le_send_att_read_by_type_res_loop:
+0x57a8 014706 call le_att_handle_inrange 
+0x57a9 014707 branch le_send_att_read_by_type_res_end ,blank 
+0x57aa 014708 nbranch le_send_att_read_by_type_res_next ,positive 
+0x57ab 014709 iforce rega 
+0x57ac 014710 ifetch 2 ,contr 
+0x57ad 014711 isub temp ,null 
+0x57ae 014712 nbranch le_send_att_read_by_type_res_next2 ,zero 
+0x57af 014713 disable user 
+0x57b0 014714 deposit rega 
+0x57b1 014715 istore 2 ,contw 
+0x57b2 014716 ifetch 1 ,contr 
+0x57b3 014717 add pdata ,4 ,loopcnt 
+0x57b4 014718 call memcpy 
+0x57b5 014719 increase -1 ,alarm 
+0x57b6 014720 branch le_send_att_read_by_type_res_end ,zero 
+0x57b7 014721 branch le_send_att_read_by_type_res_next2 
+:      014722 le_send_att_read_by_type_res_next:
+0x57b8 014723 increase 2 ,contr 
+:      014724 le_send_att_read_by_type_res_next2:
+0x57b9 014725 ifetch 1 ,contr 
+0x57ba 014726 iadd contr ,contr 
+0x57bb 014727 branch le_send_att_read_by_type_res_loop 
+:      014728 le_send_att_read_by_type_res_end:
+0x57bc 014729 branch le_send_att_error_response_notfound ,user 
+0x57bd 014730 branch le_send_autolen 
+:      014733 le_send_att_read_request:
+0x57be 014734 fetch 1 ,mem_le_temp 
+0x57bf 014736 increase -1 ,pdata 
+0x57c0 014737 store 1 ,mem_le_temp 
+0x57c1 014738 lshift pdata ,pdata 
+0x57c2 014740 iadd contr ,contr 
+0x57c3 014741 ifetcht 2 ,contr 
+0x57c4 014742 storet 2 ,mem_le_l2cap_response 
+0x57c5 014743 branch le_send_autolen 
+:      014745 le_send_att_read_response:
+0x57c6 014746 fetcht 2 ,mem_le_att_handle 
+0x57c7 014747 call le_att_get_handle_ptr 
+0x57c8 014748 branch le_send_att_error_response_notfound ,blank 
+0x57c9 014749 ifetch 1 ,contr 
+0x57ca 014750 branch le_send_autolen ,blank 
+0x57cb 014751 sub pdata ,22 ,null 
+0x57cc 014752 branch le_send_att_read_response_less ,positive 
+0x57cd 014753 force 22 ,pdata 
+:      014754 le_send_att_read_response_less:
+0x57ce 014755 icopy loopcnt 
+0x57cf 014756 call memcpy 
+0x57d0 014757 branch le_send_autolen 
+:      014760 le_send_att_read_blob_request:
+0x57d1 014761 setarg 0x0003 
+0x57d2 014762 store 2 ,mem_le_l2cap_response 
+0x57d3 014763 setarg 0x0008 
+0x57d4 014764 istore 2 ,contw 
+0x57d5 014765 branch le_send_autolen 
+:      014767 le_send_att_read_blob_response:
+0x57d6 014768 fetch 2 ,mem_le_att_offset 
+0x57d7 014769 iforce rega 
+0x57d8 014770 fetcht 2 ,mem_le_att_handle 
+0x57d9 014771 call le_att_get_handle_ptr 
+0x57da 014772 branch le_send_att_error_response_notfound ,blank 
+0x57db 014773 ifetch 1 ,contr 
+0x57dc 014774 isub rega ,loopcnt 
+0x57dd 014775 nbranch le_send_att_error_response_notfound ,positive 
+0x57de 014776 sub loopcnt ,22 ,null 
+0x57df 014777 branch le_send_att_read_blob_response_less ,positive 
+0x57e0 014778 force 22 ,loopcnt 
+:      014779 le_send_att_read_blob_response_less:
+0x57e1 014780 deposit rega 
+0x57e2 014781 iadd contr ,contr 
+0x57e3 014782 call memcpy 
+0x57e4 014783 branch le_send_autolen 
+:      014785 le_send_att_read_multiple_request:
+0x57e5 014786 setarg 0x0003 
+0x57e6 014787 istore 2 ,contw 
+0x57e7 014788 setarg 0x0007 
+0x57e8 014789 istore 2 ,contw 
+0x57e9 014790 setarg 0x0009 
+0x57ea 014791 istore 2 ,contw 
+0x57eb 014792 branch le_send_autolen 
+:      014794 le_send_att_read_multiple_response:
+0x57ec 014795 fetch 1 ,mem_le_temp 
+0x57ed 014796 icopy regc 
+0x57ee 014797 arg mem_le_rxbuf + 7 ,rega 
+0x57ef 014798 arg mem_le_l2cap_response ,regb 
+0x57f0 014799 arg 0 ,timeup 
+0x57f1 014800 disable user7 
+:      014802 le_send_att_read_multiple_response_loop:
+0x57f2 014803 copy rega ,contr 
+0x57f3 014804 ifetcht 2 ,contr 
+0x57f4 014805 copy contr ,rega 
+0x57f5 014806 call le_att_get_handle_ptr 
+0x57f6 014807 branch le_send_att_read_multiple_response_end ,blank 
+0x57f7 014808 ifetch 1 ,contr 
+0x57f8 014809 icopy loopcnt 
+0x57f9 014810 iadd timeup ,timeup 
+0x57fa 014814 sub timeup ,24 ,null 
+0x57fb 014815 nbranch le_send_att_read_multiple_response_end_1 ,positive 
+0x57fc 014816 copy regb ,contw 
+:      014818 le_copy_att_value_loop_3:
+0x57fd 014819 ifetch 1 ,contr 
+0x57fe 014820 istore 1 ,contw 
+0x57ff 014821 loop le_copy_att_value_loop_3 
+0x5800 014822 copy contw ,regb 
+0x5801 014823 enable user7 
+0x5802 014824 increase -1 ,regc 
+0x5803 014825 branch le_send_att_read_multiple_response_end ,zero 
+0x5804 014826 branch le_send_att_read_multiple_response_loop 
+:      014828 le_send_att_read_multiple_response_end:
+0x5805 014829 nbranch le_send_att_read_multiple_response_fail ,user7 
+0x5806 014830 disable user7 
+0x5807 014831 copy timeup ,temp 
+0x5808 014832 increase 5 ,temp 
+0x5809 014833 branch le_send_packet 
+:      014835 le_send_att_read_multiple_response_end_1:
+0x580a 014836 nbranch le_send_att_read_multiple_response_fail ,user7 
+0x580b 014837 disable user7 
+0x580c 014838 deposit timeup 
+0x580d 014839 isub loopcnt ,temp 
+0x580e 014840 increase 5 ,temp 
+0x580f 014841 branch le_send_packet 
+:      014843 le_send_att_read_multiple_response_fail:
+0x5810 014844 jam att_err_unsupported_group_type ,mem_le_err_code 
+0x5811 014845 branch le_send_att_error_response 
+:      014848 le_send_att_read_by_group_type_request:
+0x5812 014849 fetch 2 ,mem_le_att_handle 
+0x5813 014850 branch le_send_empty_le_data ,blank 
+0x5814 014851 istore 2 ,contw 
+0x5815 014852 setarg 0xffff 
+0x5816 014853 istore 2 ,contw 
+0x5817 014854 setarg 0x2800 
+0x5818 014855 istore 2 ,contw 
+0x5819 014856 branch le_send_autolen 
+:      014859 le_send_att_read_by_group_type_response:
+0x581a 014860 setarg 0x06 
+0x581b 014861 store 1 ,mem_le_l2cap_response 
+0x581c 014862 fetch 2 ,mem_le_search_att_type 
+0x581d 014863 iforce rega 
+0x581e 014864 call le_init_attlist_search 
+0x581f 014865 force 3 ,loopcnt 
+:      014866 le_send_att_read_by_group_type_response_loop:
+0x5820 014867 call le_att_handle_inrange 
+0x5821 014868 branch le_send_att_read_by_group_type_response_last ,blank 
+0x5822 014869 nbranch le_send_att_read_by_group_type_response_next ,positive 
+0x5823 014870 iforce alarm 
+0x5824 014871 ifetch 2 ,contr 
+0x5825 014872 isub rega ,null 
+0x5826 014873 nbranch le_send_att_read_by_group_type_response_cont ,zero 
+0x5827 014874 deposit alarm 
+0x5828 014875 branch le_send_att_read_by_group_type_response_first ,user 
+0x5829 014876 increase -1 ,pdata 
+0x582a 014877 istore 2 ,contw 
+0x582b 014878 istoret 2 ,contw 
+0x582c 014879 increase 1 ,pdata 
+0x582d 014880 increase -1 ,loopcnt 
+0x582e 014881 branch le_send_autolen ,zero 
+:      014882 le_send_att_read_by_group_type_response_first:
+0x582f 014883 disable user 
+0x5830 014884 istore 2 ,contw 
+0x5831 014885 increase 1 ,contr 
+0x5832 014886 ifetcht 2 ,contr 
+0x5833 014887 increase -3 ,contr 
+0x5834 014888 branch le_send_att_read_by_group_type_response_cont 
+:      014889 le_send_att_read_by_group_type_response_last:
+0x5835 014890 branch le_send_att_error_response_notfound ,user 
+0x5836 014891 force -1 ,pdata 
+0x5837 014892 istore 2 ,contw 
+0x5838 014893 istoret 2 ,contw 
+0x5839 014894 branch le_send_autolen 
+:      014895 le_send_att_read_by_group_type_response_next:
+0x583a 014896 increase 2 ,contr 
+:      014897 le_send_att_read_by_group_type_response_cont:
+0x583b 014898 ifetch 1 ,contr 
+0x583c 014899 iadd contr ,contr 
+0x583d 014900 branch le_send_att_read_by_group_type_response_loop 
+:      014904 le_send_att_write_request:
+0x583e 014905 fetch 2 ,mem_le_notify_handle 
+0x583f 014906 store 2 ,mem_le_l2cap_response 
+0x5840 014907 fetch 1 ,mem_le_handle_data_len 
+0x5841 014908 copy pdata ,loopcnt 
+0x5842 014909 arg mem_le_handle_data ,contr 
+0x5843 014910 call memcpy 
+0x5844 014911 branch le_send_autolen 
+:      014913 le_send_att_write_response:
+0x5845 014914 fetcht 2 ,mem_le_att_handle 
+0x5846 014915 call le_att_get_handle_ptr 
+0x5847 014916 branch le_send_att_write_response_go ,blank 
+0x5848 014917 increase -2 ,contr 
+0x5849 014918 ifetcht 2 ,contr 
+0x584a 014919 setarg uuid_client_characteristic 
+0x584b 014920 isub temp ,null 
+0x584c 014921 nbranch le_send_att_write_response_go ,zero 
+0x584d 014922 increase 1 ,contr 
+0x584e 014923 ifetcht 2 ,contr 
+0x584f 014924 setarg 0x0001 
+0x5850 014925 isub temp ,null 
+0x5851 014926 branch le_send_att_write_response_notify ,zero 
+0x5852 014927 setarg 0x0000 
+0x5853 014928 isub temp ,null 
+0x5854 014929 nbranch le_send_att_write_response_go ,zero 
+0x5855 014930 branch le_send_att_write_response_go 
+:      014932 le_send_att_write_response_notify:
+0x5856 014933 increase -7 ,contr 
+0x5857 014934 ifetch 2 ,contr 
+0x5858 014935 increase -1 ,pdata 
+0x5859 014936 store 2 ,mem_le_notify_handle 
+0x585a 014937 jam attop_handle_value_notification ,mem_fifo_temp 
+0x585b 014938 call le_xtype_fifo_in 
+:      014941 le_send_att_write_response_go:
+0x585c 014942 force 5 ,temp 
+0x585d 014943 branch le_send_packet 
+:      014945 le_send_att_prepare_write_request:
+0x585e 014946 force 6 ,temp 
+0x585f 014947 branch le_send_packet 
+:      014949 le_send_att_prepare_write_response:
+0x5860 014950 force 6 ,temp 
+0x5861 014951 branch le_send_packet 
+:      014953 le_send_att_execute_write_request:
+0x5862 014954 force 6 ,temp 
+0x5863 014955 branch le_send_packet 
+:      014957 le_send_att_execute_write_response:
+0x5864 014958 force 6 ,temp 
+0x5865 014959 branch le_send_packet 
+:      014961 le_att_check_notification_enable:
+0x5866 014962 set1 mark_ext_patch ,mark 
+0x5867 014963 bpatch patch2c_6 ,mem_patch2c 
+0x5868 014964 increase 1 ,temp 
+0x5869 014965 call le_att_get_handle_ptr 
+0x586a 014966 increase -2 ,contr 
+0x586b 014967 ifetch 2 ,contr 
+0x586c 014968 arg client_charactertic_configuration ,temp 
+0x586d 014969 isub temp ,null 
+0x586e 014970 nrtn zero 
+0x586f 014971 increase 1 ,contr 
+0x5870 014972 copy contr ,rega 
+0x5871 014973 ifetch 1 ,contr 
+0x5872 014974 rtn 
+:      014976 le_send_att_handle_value_notification:
+0x5873 014977 jam 0 ,mem_le_notify_len 
+0x5874 014978 fetch 2 ,mem_cb_update_notify_value 
+0x5875 014979 call callback_func 
+0x5876 014980 arg mem_le_l2cap ,contw 
+0x5877 014981 increase 1 ,contw 
+0x5878 014982 fetcht 2 ,mem_le_notify_handle 
+0x5879 014983 istoret 2 ,contw 
+0x587a 014984 call le_att_get_handle_ptr 
+0x587b 014985 ifetch 1 ,contr 
+0x587c 014986 icopy loopcnt 
+0x587d 014987 call memcpy 
+0x587e 014988 fetcht 1 ,mem_le_notify_len 
+0x587f 014989 increase 7 ,temp 
+0x5880 014990 call le_send_packet 
+0x5881 014991 branch le_clear_notify_att 
+:      014993 le_send_att_handle_value_indication:
+0x5882 014994 force 6 ,temp 
+0x5883 014995 branch le_send_packet 
+:      014997 le_send_att_handle_value_confirmation:
+0x5884 014998 force 6 ,temp 
+0x5885 014999 branch le_send_packet 
+:      015001 le_send_att_write_command:
+0x5886 015002 force 6 ,temp 
+0x5887 015003 branch le_send_packet 
+:      015005 le_send_att_signed_write_command:
+0x5888 015006 force 6 ,temp 
+0x5889 015007 branch le_send_packet 
+:      015010 le_send_autolen:
+0x588a 015011 set1 mark_ext_patch ,mark 
+0x588b 015012 bpatch patch2c_7 ,mem_patch2c 
+0x588c 015013 setarg mem_le_txpayload 
+0x588d 015014 isub contw ,pdata 
+0x588e 015015 sub pdata ,0 ,temp 
+0x588f 015016 branch le_send_packet 
+:      015019 le_send_empty:
+0x5890 015020 force 0 ,temp 
+0x5891 015021 force 1 ,type 
+:      015023 le_send_packet:
+0x5892 015024 set1 mark_ext_patch ,mark 
+0x5893 015025 bpatch patch2d_0 ,mem_patch2d 
+0x5894 015026 storet 1 ,mem_le_txlen 
+0x5895 015027 compare 2 ,type ,3 
+0x5896 015028 nbranch le_send_non_l2cap ,true 
+0x5897 015029 add temp ,-4 ,pdata 
+0x5898 015030 store 2 ,mem_le_txpayload 
+:      015032 le_send_non_l2cap:
+0x5899 015033 fetcht 1 ,mem_le_arq 
+0x589a 015034 call le_xtype_fifo_is_empty 
+0x589b 015035 nsetflag blank ,md ,temp 
+0x589c 015036 set1 wak ,temp 
+0x589d 015037 and temp ,0xfc ,pdata 
+0x589e 015038 ior type ,pdata 
+0x589f 015039 store 1 ,mem_le_arq 
+0x58a0 015040 and_into 0x1f ,pdata 
+0x58a1 015041 store 1 ,mem_le_txheader 
+0x58a2 015042 set1 mark_ext_patch ,mark 
+0x58a3 015043 bpatch patch2d_1 ,mem_patch2d 
+0x58a4 015044 fetch 1 ,mem_le_txheader 
+0x58a5 015045 compare 1 ,type ,3 
+0x58a6 015046 rtn true 
+0x58a7 015047 fetch 7 ,mem_le_txheader + 1 
+0x58a8 015048 fetch 1 ,mem_le_state 
+0x58a9 015049 rtnbit0 lestate_encryption 
+0x58aa 015050 call load_sk 
+0x58ab 015051 branch le_encrypt 
+:      015053 le_parse:
+0x58ac 015054 set1 mark_ext_patch ,mark 
+0x58ad 015055 bpatch patch2d_2 ,mem_patch2d 
+0x58ae 015056 call le_xtype_fifo_is_full 
+0x58af 015057 nbranch assert ,blank 
+0x58b0 015058 nrtn blank 
+0x58b1 015059 fetch 1 ,mem_le_rxbuf + 1 
+0x58b2 015060 rtn blank 
+0x58b3 015061 fetch 1 ,mem_le_rxbuf 
+0x58b4 015062 compare 1 ,pdata ,3 
+0x58b5 015063 branch le_parse_l2cap ,true 
+0x58b6 015064 fetch 7 ,mem_le_rxbuf + 1 
+0x58b7 015065 fetch 1 ,mem_le_rxbuf 
+0x58b8 015066 compare 2 ,pdata ,3 
+0x58b9 015067 branch le_parse_l2cap ,true 
+0x58ba 015068 fetch 1 ,mem_le_rxbuf + 2 
+0x58bb 015069 store 1 ,mem_le_rx_ll_opcode 
+0x58bc 015070 copy pdata ,regc 
+0x58bd 015071 set1 mark_ext_patch ,mark 
+0x58be 015072 bpatch patch2d_3 ,mem_patch2d 
+0x58bf 015073 copy regc ,pdata 
+0x58c0 015074 beq ll_connection_update_req ,le_parse_connection_update_req 
+0x58c1 015075 beq ll_channel_map_req ,le_parse_channel_map_req 
+0x58c2 015076 beq ll_terminate_ind ,le_parse_terminate_ind 
+0x58c3 015077 beq ll_enc_req ,le_parse_enc_req 
+0x58c4 015078 beq ll_enc_rsp ,le_parse_enc_rsp 
+0x58c5 015079 beq ll_start_enc_req ,le_parse_start_enc_req 
+0x58c6 015080 beq ll_start_enc_rsp ,le_parse_start_enc_rsp 
+0x58c7 015081 beq ll_unknown_rsp ,le_parse_unknown_rsp 
+0x58c8 015082 beq ll_feature_req ,le_parse_feature_req 
+0x58c9 015083 beq ll_feature_rsp ,le_parse_feature_rsp 
+0x58ca 015084 beq ll_pause_enc_req ,le_parse_pause_enc_req 
+0x58cb 015085 beq ll_pause_enc_rsp ,le_parse_pause_enc_rsp 
+0x58cc 015086 beq ll_version_ind ,le_parse_version_ind 
+0x58cd 015087 beq ll_reject_ind ,le_parse_reject_ind 
+0x58ce 015088 branch assert 
+:      015090 le_parse_l2cap:
+0x58cf 015091 fetch 1 ,mem_le_rxbuf + 1 
+0x58d0 015092 and pdata ,0x1f ,pdata 
+0x58d1 015093 rtn blank 
+0x58d2 015094 fetch 1 ,mem_device_option 
+0x58d3 015095 beq dvc_op_hci ,le_acl_upgoing 
+0x58d4 015096 fetch 2 ,mem_le_rxbuf + 4 
+0x58d5 015097 beq le_l2cap_cid_att ,le_parse_att 
+0x58d6 015098 beq le_l2cap_cid_smp ,le_parse_smp 
+0x58d7 015099 rtn 
+:      015101 le_acl_upgoing:
+0x58d8 015102 set1 mark_ext_patch ,mark 
+0x58d9 015103 bpatch patch2d_4 ,mem_patch2d 
+0x58da 015104 call hci_get_packet_ptr 
+0x58db 015105 fetch 1 ,mem_le_conn_handle 
+0x58dc 015106 fetcht 1 ,mem_le_rxbuf 
+0x58dd 015107 and_into 3 ,temp 
+0x58de 015108 lshift8 temp ,temp 
+0x58df 015109 lshift4 temp ,temp 
+0x58e0 015110 ior temp ,pdata 
+0x58e1 015111 istore 2 ,contwu 
+0x58e2 015112 fetcht 1 ,mem_le_rxbuf + 1 
+0x58e3 015113 and temp ,0x1f ,temp 
+0x58e4 015114 istoret 2 ,contwu 
+0x58e5 015115 copy temp ,loopcnt 
+0x58e6 015116 call uart_copy_tx_bytes 
+0x58e7 015117 add temp ,4 ,loopcnt 
+0x58e8 015118 call h4_send_packet_acl 
+0x58e9 015119 branch h4_send_acl_trigger 
+:      015121 le_acl_downgoing:
+0x58ea 015122 set1 mark_ext_patch ,mark 
+0x58eb 015123 bpatch patch2d_5 ,mem_patch2d 
+0x58ec 015124 arg 0x2 ,type 
+0x58ed 015125 ifetch 2 ,contru 
+0x58ee 015126 ifetch 2 ,contru 
+0x58ef 015127 branch assert ,blank 
+0x58f0 015128 copy pdata ,loopcnt 
+0x58f1 015129 arg mem_le_txpayload ,contw 
+0x58f2 015130 call uart_copy_rx_bytes 
+0x58f3 015131 branch le_send_autolen 
+:      015133 le_parse_smp:
+0x58f4 015134 set1 mark_ext_patch ,mark 
+0x58f5 015135 bpatch patch2d_6 ,mem_patch2d 
+0x58f6 015136 ifetch 1 ,contr 
+0x58f7 015137 beq smp_pairing_request ,le_parse_smp_pairing_request 
+0x58f8 015138 beq smp_pairing_response ,le_parse_smp_pairing_response 
+0x58f9 015139 beq smp_pairing_confirm ,le_parse_smp_pairing_confirm 
+0x58fa 015140 beq smp_pairing_random ,le_parse_smp_pairing_random 
+0x58fb 015141 beq smp_pairing_failed ,le_parse_smp_pairing_failed 
+0x58fc 015142 beq smp_encryption_information ,le_parse_smp_encryption_information 
+0x58fd 015143 beq smp_master_identification ,le_parse_smp_master_identification 
+0x58fe 015144 beq smp_identity_information ,le_parse_smp_identity_information 
+0x58ff 015145 beq smp_identity_address_information ,le_parse_smp_identity_address_information 
+0x5900 015146 beq smp_signing_information ,le_parse_smp_signing_information 
+0x5901 015147 beq smp_security_request ,le_parse_smp_security_request 
+0x5902 015148 branch assert 
+:      015150 le_parse_att:
+0x5903 015151 set1 mark_ext_patch ,mark 
+0x5904 015152 bpatch patch2d_7 ,mem_patch2d 
+0x5905 015153 ifetch 3 ,contr 
+0x5906 015154 store 3 ,mem_le_att_opcode 
+:      015155 le_parse_att_p:
+0x5907 015156 beq attop_error_response ,le_parse_att_error_response 
+0x5908 015157 beq attop_exchange_mtu_request ,le_parse_att_exchange_mtu_request 
+0x5909 015158 beq attop_exchange_mtu_response ,le_parse_att_exchange_mtu_response 
+0x590a 015159 beq attop_find_information_request ,le_parse_att_find_information_request 
+0x590b 015160 beq attop_find_information_response ,le_parse_att_find_information_response 
+0x590c 015161 beq attop_find_by_type_value_request ,le_parse_att_find_by_type_value_request 
+0x590d 015162 beq attop_find_by_type_value_response ,le_parse_att_find_by_type_value_response 
+0x590e 015163 beq attop_read_by_type_request ,le_parse_att_read_by_type_request 
+0x590f 015164 beq attop_read_by_type_response ,le_parse_att_read_by_type_response 
+0x5910 015165 beq attop_read_request ,le_parse_att_read_request 
+0x5911 015166 beq attop_read_response ,le_parse_att_read_response 
+0x5912 015167 beq attop_read_blob_request ,le_parse_att_read_blob_request 
+0x5913 015168 beq attop_read_blob_response ,le_parse_att_read_blob_response 
+0x5914 015169 beq attop_read_multiple_request ,le_parse_att_read_multiple_request 
+0x5915 015170 beq attop_read_multiple_response ,le_parse_att_read_multiple_response 
+0x5916 015171 beq attop_read_by_group_type_request ,le_parse_att_read_by_group_type_request 
+0x5917 015172 beq attop_read_by_group_type_response ,le_parse_att_read_by_group_type_response 
+0x5918 015173 beq attop_write_request ,le_parse_att_write_request 
+0x5919 015174 beq attop_write_response ,le_parse_att_write_response 
+0x591a 015175 beq attop_prepare_write_request ,le_parse_att_prepare_write_request 
+0x591b 015176 beq attop_prepare_write_response ,le_parse_att_prepare_write_response 
+0x591c 015177 beq attop_execute_write_request ,le_parse_att_execute_write_request 
+0x591d 015178 beq attop_execute_write_response ,le_parse_att_execute_write_response 
+0x591e 015179 beq attop_handle_value_notification ,le_parse_att_handle_value_notification 
+0x591f 015180 beq attop_handle_value_indication ,le_parse_att_handle_value_indication 
+0x5920 015181 beq attop_handle_value_confirmation ,le_parse_att_handle_value_confirmation 
+0x5921 015182 beq attop_write_command ,le_parse_att_write_command 
+0x5922 015183 beq attop_signed_write_command ,le_parse_att_signed_write_command 
+0x5923 015184 branch assert 
+:      015187 le_parse_connection_update_req:
+0x5924 015188 ifetch 9 ,contr 
+0x5925 015189 store 9 ,mem_le_new_param 
+0x5926 015190 ifetch 2 ,contr 
+0x5927 015191 store 2 ,mem_le_instant 
+0x5928 015192 fetch 1 ,mem_le_state 
+0x5929 015193 set1 lestate_update_param ,pdata 
+0x592a 015194 store 1 ,mem_le_state 
+0x592b 015195 rtn 
+:      015197 le_parse_channel_map_req:
+0x592c 015198 ifetch 5 ,contr 
+0x592d 015199 store 5 ,mem_le_new_map 
+0x592e 015200 ifetch 2 ,contr 
+0x592f 015201 store 2 ,mem_le_instant 
+0x5930 015202 fetch 1 ,mem_le_state 
+0x5931 015203 set1 lestate_update_map ,pdata 
+0x5932 015204 store 1 ,mem_le_state 
+0x5933 015205 rtn 
+:      015207 le_parse_terminate_ind:
+0x5934 015208 fetch 1 ,mem_le_op 
+0x5935 015209 set1 op_disconn ,pdata 
+0x5936 015210 store 1 ,mem_le_op 
+0x5937 015211 rtn 
+:      015213 le_parse_enc_req:
+0x5938 015214 increase 10 ,contr 
+0x5939 015215 ifetch 8 ,contr 
+0x593a 015216 store 8 ,mem_le_skdm 
+0x593b 015217 ifetch 4 ,contr 
+0x593c 015218 store 4 ,mem_le_ivm 
+0x593d 015219 jam xt_ll_enc_rsp ,mem_fifo_temp 
+0x593e 015220 branch le_xtype_fifo_in 
+:      015222 le_parse_enc_rsp:
+0x593f 015223 ifetch 8 ,contr 
+0x5940 015224 store 8 ,mem_le_skds 
+0x5941 015225 ifetch 4 ,contr 
+0x5942 015226 store 4 ,mem_le_ivs 
+0x5943 015227 branch generate_sk 
+:      015229 le_parse_start_enc_req:
+0x5944 015230 fetch 1 ,mem_le_state 
+0x5945 015231 set1 lestate_encryption ,pdata 
+0x5946 015232 store 1 ,mem_le_state 
+0x5947 015233 jam xt_ll_start_enc_rsp ,mem_fifo_temp 
+0x5948 015234 branch le_xtype_fifo_in 
+:      015236 le_parse_start_enc_rsp:
+0x5949 015237 rtn master 
+0x594a 015238 jam xt_ll_start_enc_rsp ,mem_fifo_temp 
+0x594b 015239 branch le_xtype_fifo_in 
+:      015241 le_parse_unknown_rsp:
+0x594c 015242 rtn 
+:      015244 le_parse_feature_req:
+0x594d 015245 jam xt_ll_feature_rsp ,mem_fifo_temp 
+0x594e 015246 branch le_xtype_fifo_in 
+:      015248 le_parse_feature_rsp:
+0x594f 015249 rtn 
+:      015251 le_parse_pause_enc_req:
+0x5950 015252 rtn 
+:      015254 le_parse_pause_enc_rsp:
+0x5951 015255 rtn 
+:      015257 le_parse_version_ind:
+0x5952 015258 rtn master 
+0x5953 015259 jam xt_ll_version_ind ,mem_fifo_temp 
+0x5954 015260 branch le_xtype_fifo_in 
+:      015262 le_parse_reject_ind:
+0x5955 015263 rtn 
+:      015266 le_parse_smp_pairing_request:
+0x5956 015267 store 1 ,mem_le_preq 
+0x5957 015268 ifetch 6 ,contr 
+0x5958 015269 istore 6 ,contw 
+0x5959 015270 jam xt_smp_pairing_response ,mem_fifo_temp 
+0x595a 015271 branch le_xtype_fifo_in 
+:      015273 le_parse_smp_pairing_response:
+0x595b 015274 store 1 ,mem_le_pres 
+0x595c 015275 ifetch 6 ,contr 
+0x595d 015276 istore 6 ,contw 
+0x595e 015277 jam xt_smp_pairing_confirm ,mem_fifo_temp 
+0x595f 015278 branch le_xtype_fifo_in 
+:      015280 le_parse_smp_pairing_confirm:
+0x5960 015281 arg mem_le_rconfirm ,contw 
+0x5961 015282 call memcpy16 
+0x5962 015283 jam xt_smp_pairing_random ,mem_fifo_temp 
+0x5963 015284 branch le_xtype_fifo_in ,master 
+0x5964 015285 jam xt_smp_pairing_confirm ,mem_fifo_temp 
+0x5965 015286 branch le_xtype_fifo_in 
+:      015288 le_parse_smp_pairing_random:
+0x5966 015289 call authenticate_rconfirm 
+0x5967 015290 branch le_parse_smp_pairing_random_success ,zero 
+0x5968 015291 jam xt_smp_pairing_failed ,mem_fifo_temp 
+0x5969 015292 branch le_xtype_fifo_in 
+:      015294 le_parse_smp_pairing_random_success:
+0x596a 015295 call generate_stk 
+0x596b 015296 jam xt_ll_enc_req ,mem_fifo_temp 
+0x596c 015297 branch le_xtype_fifo_in ,master 
+0x596d 015298 jam xt_smp_pairing_random ,mem_fifo_temp 
+0x596e 015299 branch le_xtype_fifo_in 
+:      015301 le_parse_smp_pairing_failed:
+0x596f 015302 rtn 
+:      015304 le_parse_smp_encryption_information:
+0x5970 015305 arg mem_le_peer_ltk ,contw 
+0x5971 015306 branch memcpy16 
+:      015308 le_parse_smp_master_identification:
+0x5972 015309 rtn 
+:      015311 le_parse_smp_identity_information:
+0x5973 015312 rtn 
+:      015314 le_parse_smp_identity_address_information:
+0x5974 015315 rtn 
+:      015317 le_parse_smp_signing_information:
+0x5975 015318 rtn 
+:      015320 le_parse_smp_security_request:
+0x5976 015321 rtn 
+:      015323 le_parse_att_error_response:
+0x5977 015324 increase -2 ,contr 
+0x5978 015325 ifetcht 1 ,contr 
+0x5979 015326 setarg attop_find_by_type_value_request 
+0x597a 015327 isub temp ,null 
+0x597b 015328 branch le_parse_att_error_res_find_by_type_value ,zero 
+0x597c 015329 setarg attop_find_information_request 
+0x597d 015330 isub temp ,null 
+0x597e 015331 branch le_parse_att_error_res_find_info ,zero 
+0x597f 015332 setarg attop_read_by_type_request 
+0x5980 015333 isub temp ,null 
+0x5981 015334 branch le_parse_att_error_res_read_by_type ,zero 
+0x5982 015335 setarg attop_read_blob_request 
+0x5983 015336 isub temp ,null 
+0x5984 015337 branch le_parse_att_error_res_read_blob ,zero 
+0x5985 015338 setarg attop_read_multiple_request 
+0x5986 015339 isub temp ,null 
+0x5987 015340 branch le_parse_att_error_res_read_multiple ,zero 
+0x5988 015341 rtn 
+:      015343 le_parse_att_error_res_find_by_type_value:
+0x5989 015344 rtn 
+:      015346 le_parse_att_error_res_find_info:
+0x598a 015347 rtn 
+:      015349 le_parse_att_error_res_read_by_type:
+0x598b 015350 rtn 
+:      015352 le_parse_att_error_res_read_blob:
+0x598c 015353 rtn 
+:      015355 le_parse_att_error_res_read_multiple:
+0x598d 015356 rtn 
+:      015359 le_parse_att_exchange_mtu_request:
+0x598e 015360 jam attop_exchange_mtu_response ,mem_fifo_temp 
+0x598f 015361 branch le_xtype_fifo_in 
+:      015363 le_parse_att_exchange_mtu_response:
+0x5990 015364 rtn 
+:      015366 le_parse_att_find_information_request:
+0x5991 015367 rshift8 pdata ,pdata 
+0x5992 015368 store 2 ,mem_le_search_handle_start 
+0x5993 015369 ifetch 2 ,contr 
+0x5994 015370 store 2 ,mem_le_search_handle_end 
+0x5995 015371 jam attop_find_information_response ,mem_fifo_temp 
+0x5996 015372 branch le_xtype_fifo_in 
+:      015374 le_parse_att_find_information_response:
+0x5997 015375 rtn 
+:      015377 le_parse_att_find_info_res_multi:
+0x5998 015378 rtn 
+:      015380 le_parse_att_find_info_res_error:
+0x5999 015381 rtn 
+:      015383 le_parse_att_find_by_type_value_request:
+0x599a 015384 rshift8 pdata ,pdata 
+0x599b 015385 store 2 ,mem_le_search_handle_start 
+0x599c 015386 ifetch 2 ,contr 
+0x599d 015387 store 2 ,mem_le_search_handle_end 
+0x599e 015388 ifetch 2 ,contr 
+0x599f 015389 store 2 ,mem_le_uuid 
+0x59a0 015390 ifetch 2 ,contr 
+0x59a1 015391 store 2 ,mem_le_search_att_type 
+0x59a2 015392 jam attop_find_by_type_value_response ,mem_fifo_temp 
+0x59a3 015393 branch le_xtype_fifo_in 
+:      015396 le_parse_att_find_by_type_value_response:
+0x59a4 015397 rtn 
+:      015399 le_parse_att_read_by_type_request:
+0x59a5 015400 rshift8 pdata ,pdata 
+0x59a6 015401 store 2 ,mem_le_search_handle_start 
+0x59a7 015402 ifetch 2 ,contr 
+0x59a8 015403 store 2 ,mem_le_search_handle_end 
+0x59a9 015404 ifetch 2 ,contr 
+0x59aa 015405 store 2 ,mem_le_search_att_type 
+0x59ab 015406 jam attop_read_by_type_response ,mem_fifo_temp 
+0x59ac 015407 branch le_xtype_fifo_in 
+:      015409 le_parse_att_read_by_type_response:
+0x59ad 015410 rtn 
+:      015412 le_parse_att_read_request:
+0x59ae 015413 fetch 2 ,mem_le_rxbuf + 7 
+0x59af 015414 store 2 ,mem_le_att_handle 
+0x59b0 015415 jam attop_read_response ,mem_fifo_temp 
+0x59b1 015416 branch le_xtype_fifo_in 
+:      015418 le_parse_att_read_response:
+0x59b2 015419 rtn 
+:      015421 le_send_att_read_res_end:
+0x59b3 015422 rtn 
+:      015424 le_prepare_descriptor:
+0x59b4 015425 rtn 
+:      015428 le_parse_att_read_blob_request:
+0x59b5 015429 ifetch 2 ,contr 
+0x59b6 015430 store 2 ,mem_le_att_offset 
+0x59b7 015431 jam attop_read_blob_response ,mem_fifo_temp 
+0x59b8 015432 branch le_xtype_fifo_in 
+:      015434 le_parse_att_read_blob_response:
+0x59b9 015435 rtn 
+:      015437 le_parse_att_read_multiple_request:
+0x59ba 015438 fetch 1 ,mem_le_rxbuf + 1 
+0x59bb 015439 increase -5 ,pdata 
+0x59bc 015440 rshift pdata ,pdata 
+0x59bd 015441 store 1 ,mem_le_temp 
+0x59be 015442 jam attop_read_multiple_response ,mem_fifo_temp 
+0x59bf 015443 branch le_xtype_fifo_in 
+:      015445 le_parse_att_read_multiple_response:
+0x59c0 015446 rtn 
+:      015448 le_parse_att_read_by_group_type_request:
+0x59c1 015449 rshift8 pdata ,pdata 
+0x59c2 015450 store 2 ,mem_le_search_handle_start 
+0x59c3 015451 ifetch 2 ,contr 
+0x59c4 015452 store 2 ,mem_le_search_handle_end 
+0x59c5 015453 ifetch 2 ,contr 
+0x59c6 015454 store 2 ,mem_le_search_att_type 
+0x59c7 015455 jam attop_read_by_group_type_response ,mem_fifo_temp 
+0x59c8 015456 branch le_xtype_fifo_in 
+:      015458 le_parse_att_read_by_group_type_response:
+0x59c9 015459 rtn 
+:      015461 le_parse_att_write_request:
+0x59ca 015462 fetch 1 ,mem_le_rxbuf + 1 
+0x59cb 015463 increase -7 ,pdata 
+0x59cc 015464 icopy loopcnt 
+0x59cd 015465 fetcht 2 ,mem_le_att_handle 
+0x59ce 015466 call le_att_get_handle_ptr 
+0x59cf 015467 branch le_parse_att_write_request_fail ,blank 
+0x59d0 015468 ifetch 1 ,contr 
+0x59d1 015469 isub loopcnt ,null 
+0x59d2 015470 nbranch le_parse_att_write_request_fail ,positive 
+0x59d3 015471 copy contr ,contw 
+0x59d4 015473 arg mem_le_rxbuf + 9 ,contr 
+0x59d5 015474 call memcpy 
+0x59d6 015475 jam bt_evt_le_write_request ,mem_fifo_temp 
+0x59d7 015476 call ui_ipc_send_event 
+:      015477 le_parse_att_write_request_fail:
+0x59d8 015478 jam attop_write_response ,mem_fifo_temp 
+0x59d9 015479 branch le_xtype_fifo_in 
+:      015481 le_parse_att_write_response:
+0x59da 015482 fetch 1 ,mem_le_conn_sm 
+0x59db 015483 rtn 
+:      015485 le_parse_att_prepare_write_request:
+0x59dc 015486 rtn 
+:      015488 le_parse_att_prepare_write_response:
+0x59dd 015489 rtn 
+:      015491 le_parse_att_execute_write_request:
+0x59de 015492 rtn 
+:      015494 le_parse_att_execute_write_response:
+0x59df 015495 rtn 
+:      015497 le_parse_att_handle_value_notification:
+0x59e0 015504 ifetch 5 ,contr 
+0x59e1 015505 store 5 ,mem_mouse_data 
+0x59e2 015506 jam send_mouse_data_cmd ,mem_mcmd 
+0x59e3 015508 call usb_isr 
+0x59e4 015509 rtn 
+:      015510 le_kb_handle_value_notification:
+0x59e5 015511 copy rega ,contr 
+0x59e6 015512 ifetch 8 ,contr 
+0x59e7 015513 store 8 ,mem_mouse_data 
+0x59e8 015514 jam send_kb_data_cmd ,mem_mcmd 
+0x59e9 015515 call usb_isr 
+0x59ea 015516 rtn 
+:      015518 le_parse_att_handle_value_indication:
+0x59eb 015519 rtn 
+:      015521 le_parse_att_handle_value_confirmation:
+0x59ec 015522 rtn 
+:      015524 le_parse_att_write_command:
+0x59ed 015525 fetch 1 ,mem_le_rxbuf + 1 
+0x59ee 015526 increase -7 ,pdata 
+0x59ef 015527 icopy loopcnt 
+0x59f0 015528 fetcht 2 ,mem_le_att_handle 
+0x59f1 015529 call le_att_get_handle_ptr 
+0x59f2 015530 branch le_parse_att_write_command_fail ,blank 
+0x59f3 015531 ifetch 1 ,contr 
+0x59f4 015532 isub loopcnt ,null 
+0x59f5 015533 nbranch le_parse_att_write_command_fail ,positive 
+0x59f6 015534 copy contr ,contw 
+0x59f7 015535 copy contr ,rega 
+0x59f8 015536 copy loopcnt ,regb 
+0x59f9 015537 arg mem_le_rxbuf + 9 ,contr 
+0x59fa 015538 call memcpy 
+0x59fb 015539 jam prcp_le ,mem_prcp 
+0x59fc 015540 call le_writeatt_cb 
+:      015541 le_parse_att_write_command_fail:
+0x59fd 015542 rtn 
+:      015545 le_writeatt_cb:
+0x59fe 015546 fetch 2 ,mem_cb_att_write 
+0x59ff 015547 rtn blank 
+0x5a00 015548 iforce pc 
+:      015551 le_parse_att_signed_write_command:
+0x5a01 015552 rtn 
+:      015554 le_supervision_update:
+0x5a02 015555 fetcht 4 ,mem_le_supervision_timer 
+0x5a03 015556 call get_clkbt 
+0x5a04 015557 isub temp ,timeup 
+0x5a05 015558 deposit timeup 
+0x5a06 015559 fetcht 2 ,mem_le_superto 
+0x5a07 015560 lshift4 temp ,temp 
+0x5a08 015561 lshift temp ,temp 
+0x5a09 015562 isub temp ,pdata 
+0x5a0a 015563 rtn 
+:      015565 le_supervision_flush:
+0x5a0b 015566 call get_clkbt 
+0x5a0c 015567 store 4 ,mem_le_supervision_timer 
+0x5a0d 015568 rtn 
+:      015572 le_adv:
+0x5a0e 015573 set1 mark_ext_patch ,mark 
+0x5a0f 015574 bpatch patch2e_0 ,mem_patch2e 
+0x5a10 015575 fetch 1 ,mem_le_adv_enable 
+0x5a11 015576 rtn blank 
+0x5a12 015577 arg le_adv_interval_timer ,queue 
+0x5a13 015578 call timer_check 
+0x5a14 015579 nrtn blank 
+0x5a15 015580 disable master 
+0x5a16 015581 enable swfine 
+0x5a17 015582 call le_init_adv 
+0x5a18 015583 call le_next_adv_channel 
+0x5a19 015584 call le_send_adv_ind 
+0x5a1a 015585 nbranch le_adv_not_match ,match 
+0x5a1b 015586 set1 mark_ext_patch ,mark 
+0x5a1c 015587 bpatch patch2e_1 ,mem_patch2e 
+0x5a1d 015588 fetch 1 ,mem_le_req_rcv 
+0x5a1e 015589 increase 1 ,pdata 
+0x5a1f 015590 store 1 ,mem_le_req_rcv 
+0x5a20 015591 fetch 1 ,mem_le_rxbuf 
+0x5a21 015592 and pdata ,0x0f ,pdata 
+0x5a22 015593 beq scan_req ,le_send_scan_response 
+0x5a23 015594 beq connect_req ,parse_connect_req 
+:      015595 le_adv_not_match:
+0x5a24 015596 nop 10000 
+0x5a25 015597 fetch 1 ,mem_le_ch_mapped 
+0x5a26 015598 bne 39 ,le_adv 
+0x5a27 015599 call le_ledoff 
+0x5a28 015600 arg le_adv_interval_timer ,queue 
+0x5a29 015601 fetch 2 ,mem_le_adv_interval_max 
+0x5a2a 015602 branch timer_init 
+:      015605 le_receive_window_size:
+0x5a2b 015606 set1 mark_ext_patch ,mark 
+0x5a2c 015607 bpatch patch2e_2 ,mem_patch2e 
+0x5a2d 015608 fetch 1 ,mem_le_peer_sca 
+0x5a2e 015609 call le_sca_map 
+0x5a2f 015610 fetch 2 ,mem_le_tsniff 
+0x5a30 015611 imul32 temp ,pdata 
+0x5a31 015612 arg 375 ,temp 
+0x5a32 015613 imul32 temp ,pdata 
+0x5a33 015614 arg 100000 ,temp 
+0x5a34 015615 idiv temp 
+0x5a35 015616 fetch 1 ,mem_le_window_size 
+0x5a36 015617 arg 20000 ,temp 
+0x5a37 015618 imul32 temp ,pdata 
+0x5a38 015619 store 4 ,mem_le_transmit_window 
+0x5a39 015620 set1 mark_ext_patch ,mark 
+0x5a3a 015621 bpatch patch2e_3 ,mem_patch2e 
+0x5a3b 015622 fetch 2 ,mem_rx_window_sniff 
+0x5a3c 015623 call wait_div_end 
+0x5a3d 015624 quotient temp 
+0x5a3e 015625 iadd temp ,pdata 
+0x5a3f 015626 store 2 ,mem_le_receive_window 
+0x5a40 015627 rtn 
+:      015629 parse_connect_req:
+0x5a41 015630 set1 mark_ext_patch ,mark 
+0x5a42 015631 bpatch patch2e_4 ,mem_patch2e 
+0x5a43 015632 fetch 6 ,mem_le_rxbuf + 8 
+0x5a44 015633 fetcht 6 ,mem_le_lap 
+0x5a45 015634 isub temp ,null 
+0x5a46 015635 nrtn zero 
+0x5a47 015636 call le_scan_check_sender_addr_type 
+0x5a48 015637 copy rega ,pdata 
+0x5a49 015638 store 1 ,mem_le_conn_peer_addr_type 
+0x5a4a 015639 fetch 7 ,mem_le_rxbuf + 21 
+0x5a4b 015640 store 7 ,mem_tmp_buffer 
+0x5a4c 015641 ifetch 8 ,contr 
+0x5a4d 015642 istore 8 ,contw 
+0x5a4e 015643 fetch 6 ,mem_le_rxbuf + 2 
+0x5a4f 015644 store 6 ,mem_le_plap 
+0x5a50 015645 set1 mark_ext_patch ,mark 
+0x5a51 015646 bpatch patch2e_5 ,mem_patch2e 
+0x5a52 015647 increase 6 ,contr 
+0x5a53 015648 ifetch 8 ,contr 
+0x5a54 015649 store 8 ,mem_le_access 
+0x5a55 015650 ifetcht 2 ,contr 
+0x5a56 015651 lshift2 temp ,temp 
+0x5a57 015652 ifetch 2 ,contr 
+0x5a58 015653 lshift2 pdata ,pdata 
+0x5a59 015654 store 2 ,mem_le_tsniff 
+0x5a5a 015655 store 4 ,mem_le_anchor 
+0x5a5b 015656 isub temp ,pdata 
+0x5a5c 015657 add pdata ,-2 ,clke_bt 
+0x5a5d 015658 ifetch 9 ,contr 
+0x5a5e 015659 store 9 ,mem_le_slave_latency 
+0x5a5f 015660 set1 mark_ext_patch ,mark 
+0x5a60 015661 bpatch patch2e_6 ,mem_patch2e 
+0x5a61 015662 ifetch 1 ,contr 
+0x5a62 015663 rshift4 pdata ,temp 
+0x5a63 015664 rshift temp ,temp 
+0x5a64 015665 storet 1 ,mem_le_peer_sca 
+0x5a65 015666 and_into 0x1f ,pdata 
+0x5a66 015667 store 1 ,mem_le_hop 
+0x5a67 015668 call le_receive_window_size 
+0x5a68 015669 call le_calc_channel_map 
+0x5a69 015670 call le_init_slave 
+0x5a6a 015671 call context_new 
+0x5a6b 015672 nrtn zero 
+0x5a6c 015673 set1 mark_ext_patch ,mark 
+0x5a6d 015674 bpatch patch2e_7 ,mem_patch2e 
+0x5a6e 015675 arg 0 ,temp 
+0x5a6f 015676 call hci_send_le_conn_complete 
+0x5a70 015677 call calc_clke_offset 
+0x5a71 015678 jam bt_evt_le_connected ,mem_fifo_temp 
+0x5a72 015679 call ui_ipc_send_event 
+0x5a73 015681 branch context_save 
+:      015684 le_init_attlist_search:
+0x5a74 015685 set1 mark_ext_patch ,mark 
+0x5a75 015686 bpatch patch2f_0 ,mem_patch2f 
+0x5a76 015687 fetch 2 ,mem_le_search_handle_start 
+0x5a77 015688 iforce regb 
+0x5a78 015689 fetch 2 ,mem_le_search_handle_end 
+0x5a79 015690 iforce regc 
+0x5a7a 015691 arg mem_le_att_list ,contr 
+0x5a7b 015692 enable user 
+0x5a7c 015693 rtn 
+:      015696 le_att_handle_inrange:
+0x5a7d 015697 ifetch 2 ,contr 
+0x5a7e 015698 rtn blank 
+0x5a7f 015699 isub regb ,null 
+0x5a80 015700 nrtn positive 
+0x5a81 015701 isub regc ,null 
+0x5a82 015702 rtn zero 
+0x5a83 015703 branch le_att_handle_blank ,positive 
+0x5a84 015704 force 1 ,null 
+0x5a85 015705 rtn 
+:      015706 le_att_handle_blank:
+0x5a86 015707 force 0 ,pdata 
+0x5a87 015708 rtn 
+:      015711 le_att_get_handle_ptr:
+0x5a88 015712 arg mem_le_att_list ,contr 
+:      015713 le_att_get_handle_loop:
+0x5a89 015714 ifetch 2 ,contr 
+0x5a8a 015715 rtn blank 
+0x5a8b 015716 increase 2 ,contr 
+0x5a8c 015717 isub temp ,null 
+0x5a8d 015718 rtn zero 
+0x5a8e 015719 ifetch 1 ,contr 
+0x5a8f 015720 iadd contr ,contr 
+0x5a90 015721 branch le_att_get_handle_loop 
+:      015723 le_data_send_write_req:
+0x5a91 015724 jam 0x2 ,mem_le_handle_data_len 
+0x5a92 015725 setarg 0x0001 
+0x5a93 015726 store 2 ,mem_le_handle_data 
+0x5a94 015727 jam conn_sm_wait_write_res ,mem_le_conn_sm 
+0x5a95 015728 jam attop_write_request ,mem_fifo_temp 
+0x5a96 015729 branch le_xtype_fifo_in 
+:      015731 le_data_wait_write_res:
+0x5a97 015732 rtn 
+:      015733 le_data_wait_write_res1:
+0x5a98 015734 rtn 
+:      015735 le_conn_sm_master:
+0x5a99 015736 set1 mark_ext_patch ,mark 
+0x5a9a 015737 bpatch patch2f_1 ,mem_patch2f 
+0x5a9b 015738 fetch 1 ,mem_device_option 
+0x5a9c 015739 rtnne dvc_op_dongle 
+0x5a9d 015740 fetch 1 ,mem_le_conn_sm 
+0x5a9e 015741 beq conn_sm_send_write_req ,le_data_send_write_req 
+0x5a9f 015742 beq conn_sm_wait_write_res ,le_data_wait_write_res 
+0x5aa0 015743 beq conn_sm_wait_write_res1 ,le_data_wait_write_res1 
+0x5aa1 015744 rtn 
+:      015746 le_ukey_init:
+0x5aa2 015747 setarg le_ukey 
+0x5aa3 015748 store 2 ,mem_cb_le_process 
+0x5aa4 015749 hjam uart_ctrl_normal ,core_uart_ctrl 
+0x5aa5 015750 setarg uart_baud_115200 
+0x5aa6 015751 hstore uart_baud_len ,core_uart_baud 
+0x5aa7 015752 hjam uartclk_dpll ,core_uart_clksel 
+0x5aa8 015753 hjam 0x4 ,core_gpio_sel1 
+0x5aa9 015754 setarg le_ukey_wcb 
+0x5aaa 015755 store 2 ,mem_cb_att_write 
+0x5aab 015756 call le_init_att 
+0x5aac 015757 rtn wake 
+0x5aad 015758 branch eeprom_load_reconn_info 
+:      015761 le_ukey:
+0x5aae 015762 fetch 1 ,mem_le_mode 
+0x5aaf 015763 compare lemode_slave ,pdata ,0xff 
+0x5ab0 015764 setarg 5 
+0x5ab1 015765 call set_pwm_steadyon ,true 
+0x5ab2 015766 ncall set_pwm_blink ,true 
+0x5ab3 015767 call uartd_prepare_rx 
+0x5ab4 015768 branch le_ukey_senddata ,blank 
+0x5ab5 015769 fetch 2 ,mem_le_notify_attr_start 
+0x5ab6 015770 iforce contw 
+0x5ab7 015771 sub loopcnt ,20 ,null 
+0x5ab8 015772 branch le_ukey_loop ,positive 
+0x5ab9 015773 force 20 ,loopcnt 
+:      015774 le_ukey_loop:
+0x5aba 015775 ifetch 1 ,contru 
+0x5abb 015776 istore 1 ,contw 
+0x5abc 015777 loop le_ukey_loop 
+0x5abd 015778 call uartd_rxdone 
+:      015779 le_ukey_senddata:
+0x5abe 015780 jam notify_handle ,mem_le_notify_handle 
+0x5abf 015781 fetcht 2 ,mem_le_notify_attr_start 
+0x5ac0 015782 ifetch 1 ,temp 
+0x5ac1 015783 rtn blank 
+0x5ac2 015784 call le_xtype_fifo_is_full 
+0x5ac3 015785 nrtn blank 
+0x5ac4 015786 jam attop_handle_value_notification ,mem_fifo_temp 
+0x5ac5 015787 branch le_xtype_fifo_in 
+:      015789 le_ukey_wcb:
+0x5ac6 015790 copy regb ,temp 
+0x5ac7 015791 call uartd_prepare_tx 
+0x5ac8 015792 copy rega ,contr 
+0x5ac9 015793 copy regb ,loopcnt 
+:      015794 le_writeatt_cb_loop:
+0x5aca 015795 ifetch 1 ,contr 
+0x5acb 015796 istore 1 ,contwu 
+0x5acc 015797 loop le_writeatt_cb_loop 
+0x5acd 015798 branch uartd_send 
+:      015800 le_clear_notify_att:
+0x5ace 015801 fetch 1 ,mem_device_option 
+0x5acf 015802 rtnne dvc_op_ukey 
+0x5ad0 015803 fetch 2 ,mem_le_notify_handle 
+0x5ad1 015804 rtnne notify_handle 
+0x5ad2 015805 fetcht 2 ,mem_le_notify_attr_start 
+0x5ad3 015806 setarg 0 
+0x5ad4 015807 istore 9 ,temp 
+0x5ad5 015808 istore 9 ,contw 
+0x5ad6 015809 istore 2 ,contw 
+0x5ad7 015810 rtn 
+:      015813 le_ledoff:
+0x5ad8 015814 fetcht 1 ,mem_le_adv_led 
+0x5ad9 015815 setflip gpio_active_bit ,temp 
+0x5ada 015816 branch gpio_out 
+:      015819 le_modified_name:
+0x5adb 015820 set1 mark_ext_patch ,mark 
+0x5adc 015821 bpatch patch2f_2 ,mem_patch2f 
+0x5add 015822 call le_modified_name_att_list 
+0x5ade 015823 branch le_modified_name_adv 
+:      015825 le_modified_name_att_list:
+0x5adf 015826 fetch 1 ,mem_le_name_len 
+0x5ae0 015827 copy pdata ,loopcnt 
+0x5ae1 015828 arg uuid_chrctr_device_name ,temp 
+0x5ae2 015829 call le_att_get_uuid_ptr 
+0x5ae3 015830 increase 1 ,contr 
+0x5ae4 015831 copy contr ,contw 
+0x5ae5 015832 arg mem_le_name ,contr 
+0x5ae6 015833 call memcpy 
+0x5ae7 015834 fetch 1 ,mem_le_name_len 
+0x5ae8 015835 sub pdata ,max_name_len ,loopcnt 
+0x5ae9 015836 copy loopcnt ,temp 
+0x5aea 015837 copy loopcnt ,pdata 
+0x5aeb 015838 ncall memcpy_empty ,blank 
+0x5aec 015839 rtn 
+:      015841 le_modified_name_adv:
+0x5aed 015842 fetch 1 ,mem_le_adv_data_len 
+0x5aee 015843 fetcht 1 ,mem_le_adv_data 
+0x5aef 015844 isub temp ,pdata 
+0x5af0 015845 copy pdata ,loopcnt 
+0x5af1 015846 copy pdata ,rega 
+0x5af2 015847 fetch 1 ,mem_le_adv_data 
+0x5af3 015848 increase 1 ,pdata 
+0x5af4 015849 arg mem_le_adv_data ,contr 
+0x5af5 015850 iadd contr ,contr 
+0x5af6 015851 arg mem_le_adv_temp ,contw 
+0x5af7 015852 call memcpy 
+0x5af8 015853 set1 mark_ext_patch ,mark 
+0x5af9 015854 bpatch patch2f_3 ,mem_patch2f 
+0x5afa 015855 fetch 1 ,mem_le_name_len 
+0x5afb 015856 copy pdata ,loopcnt 
+0x5afc 015857 increase 1 ,pdata 
+0x5afd 015858 store 1 ,mem_le_adv_data 
+0x5afe 015859 arg mem_le_adv_data + 2 ,contw 
+0x5aff 015860 arg mem_le_name ,contr 
+0x5b00 015861 call memcpy 
+0x5b01 015862 copy rega ,loopcnt 
+0x5b02 015863 arg mem_le_adv_temp ,contr 
+0x5b03 015864 call memcpy 
+0x5b04 015865 fetch 1 ,mem_le_adv_data 
+0x5b05 015866 iadd rega ,pdata 
+0x5b06 015867 store 1 ,mem_le_adv_data_len 
+0x5b07 015868 rtn 
+:      015871 le_get_device_name:
+0x5b08 015872 set1 mark_ext_patch ,mark 
+0x5b09 015873 bpatch patch2f_4 ,mem_patch2f 
+0x5b0a 015874 arg uuid_chrctr_device_name ,temp 
+0x5b0b 015875 branch le_att_get_uuid_ptr 
+:      015878 le_att_get_uuid_ptr:
+0x5b0c 015879 arg mem_le_att_list ,contr 
+:      015880 le_att_get_uuid_loop:
+0x5b0d 015881 ifetch 2 ,contr 
+0x5b0e 015882 branch assert ,blank 
+0x5b0f 015883 ifetch 2 ,contr 
+0x5b10 015884 isub temp ,null 
+0x5b11 015885 rtn zero 
+0x5b12 015886 ifetch 1 ,contr 
+0x5b13 015887 iadd contr ,contr 
+0x5b14 015888 branch le_att_get_uuid_loop 
+:      015891 memcpy_empty:
+0x5b15 015892 setarg space 
+0x5b16 015893 istore 1 ,contw 
+0x5b17 015894 loop memcpy_empty 
+0x5b18 015895 rtn 
+:      015898 le_lpm_set_mult:
+0x5b19 015899 set1 mark_ext_patch ,mark 
+0x5b1a 015900 bpatch patch2f_5 ,mem_patch2f 
+0x5b1b 015901 disable wake 
+0x5b1c 015902 branch le_lpm_set_mult_attempt ,attempt 
+0x5b1d 015903 nbranch le_lpm_lost ,match 
+:      015904 le_lpm_set_mult_attempt:
+0x5b1e 015905 call lpm_match 
+0x5b1f 015906 fetch 2 ,mem_rx_window_sniff 
+0x5b20 015907 store 2 ,mem_le_receive_window 
+0x5b21 015908 fetch 1 ,mem_le_rxbuf 
+0x5b22 015909 compare 1 ,pdata ,3 
+0x5b23 015910 nbranch lpm_mult_short ,true 
+0x5b24 015911 fetch 1 ,mem_le_txheader 
+0x5b25 015912 compare 1 ,pdata ,3 
+0x5b26 015913 nbranch lpm_mult_short ,true 
+0x5b27 015914 fetch 1 ,mem_le_state 
+0x5b28 015915 bbit1 lestate_update_param ,lpm_mult_short 
+0x5b29 015916 branch lpm_mult_wait_timeout 
+:      015918 le_lpm_lost:
+0x5b2a 015919 fetcht 2 ,mem_rx_window_sniff 
+0x5b2b 015920 rshift temp ,temp 
+0x5b2c 015921 fetch 2 ,mem_le_receive_window 
+0x5b2d 015922 iadd temp ,pdata 
+0x5b2e 015923 store 2 ,mem_le_receive_window 
+0x5b2f 015924 branch lpm_lost 
+:      015926 le_clean_att_list_handle_enable:
+0x5b30 015927 set1 mark_ext_patch ,mark 
+0x5b31 015928 bpatch patch2f_6 ,mem_patch2f 
+0x5b32 015929 jam 0 ,mem_le_switch_send_data 
+0x5b33 015930 fetcht 2 ,mem_le_notify_handle 
+0x5b34 015931 call le_att_check_notification_enable 
+0x5b35 015932 copy rega ,contw 
+0x5b36 015933 setarg 0 
+0x5b37 015934 istore 1 ,contw 
+0x5b38 015935 rtn 
+:      015936 le_scan_addr_to_uart:
+0x5b39 015937 fetch 1 ,mem_device_option 
+0x5b3a 015938 rtnne dvc_op_module 
+0x5b3b 015939 call get_uart_twptr 
+0x5b3c 015940 arg mem_le_plap ,rega 
+0x5b3d 015941 call adss_hex2string_to_uart 
+0x5b3e 015942 setarg 0x2c 
+0x5b3f 015943 istore 1 ,contwu 
+0x5b40 015944 call at_rssi_result 
+0x5b41 015945 branch uartd_send 
+:      015948 prcp_le_tx:
+0x5b42 015949 arg prcp_tx_le ,temp 
+0x5b43 015950 call le_att_check_notification_enable 
+0x5b44 015951 rtnbit0 0 
+0x5b45 015952 call le_xtype_fifo_is_full 
+0x5b46 015953 nrtn blank 
+0x5b47 015954 arg prcp_tx_le ,temp 
+0x5b48 015955 storet 2 ,mem_le_notify_handle 
+0x5b49 015956 call le_att_get_handle_ptr 
+0x5b4a 015957 branch assert ,blank 
+0x5b4b 015958 add contr ,1 ,contw 
+0x5b4c 015959 arg prcp_tx_data_len ,loopcnt 
+0x5b4d 015960 arg mem_prcp_data ,contr 
+0x5b4e 015961 call memcpy 
+0x5b4f 015962 jam attop_handle_value_notification ,mem_fifo_temp 
+0x5b50 015963 branch le_xtype_fifo_in 
+:      015964 prcp_tx:
+0x5b51 015965 rtn 
+:      015968 le_search_adtype:
+0x5b52 015969 set1 mark_ext_patch ,mark 
+0x5b53 015970 bpatch patch2f_7 ,mem_patch2f 
+0x5b54 015971 fetch 1 ,mem_le_rxbuf + 1 
+0x5b55 015972 arg mem_le_rxbuf + 8 ,contr 
+0x5b56 015973 iadd contr ,loopcnt 
+:      015974 le_search_adtype_loop:
+0x5b57 015975 ifetcht 1 ,contr 
+0x5b58 015976 ifetch 1 ,contr 
+0x5b59 015977 isub rega ,null 
+0x5b5a 015978 rtn zero 
+0x5b5b 015979 add temp ,-1 ,pdata 
+0x5b5c 015980 iadd contr ,contr 
+0x5b5d 015981 deposit loopcnt 
+0x5b5e 015982 isub contr ,null 
+0x5b5f 015983 branch le_search_adtype_loop ,positive 
+0x5b60 015984 force 1 ,null 
+0x5b61 015985 rtn 
+:      015992 init_lmp:
+0x5b62 015993 rtn wake 
+:      015994 init_lmp_work:
+0x5b63 015995 setarg 0 
+0x5b64 015996 store 1 ,mem_lmp_to_send 
+0x5b65 015997 store 1 ,mem_conn_sm 
+0x5b66 015998 store 1 ,mem_lmo_opcode1 
+0x5b67 015999 store 1 ,mem_lmo_opcode2 
+0x5b68 016000 store 1 ,mem_esco_addr 
+0x5b69 016001 store 1 ,mem_auth_enable 
+0x5b6a 016002 store 1 ,mem_connection_options 
+0x5b6b 016003 store 1 ,mem_pairing_auth 
+0x5b6c 016004 jam switch_flag_init ,mem_switch_flag 
+0x5b6d 016005 jam 0 ,mem_switch_fail_master_count 
+0x5b6e 016006 jam null_encryp ,mem_wait_encryption 
+:      016007 init_lmp_reinit:
+0x5b6f 016008 set1 mark_ext_patch ,mark 
+0x5b70 016009 bpatch patch3c_0 ,mem_patch3c 
+0x5b71 016010 jam 0 ,mem_pairing_auth 
+0x5b72 016011 jam 0 ,mem_sp_localsm 
+0x5b73 016012 jam 0 ,mem_lmp_conn_state 
+0x5b74 016013 fetch 1 ,mem_device_option 
+0x5b75 016014 rtnne dvc_op_hci ,pdata 
+0x5b76 016015 jam 0 ,mem_link_key_exists 
+:      016017 parse_rx_done:
+0x5b77 016018 rtn 
+:      016020 parse_lmp:
+0x5b78 016021 set1 mark_ext_patch ,mark 
+0x5b79 016022 bpatch patch3c_1 ,mem_patch3c 
+0x5b7a 016023 call setlocalsm_master ,master 
+0x5b7b 016024 ncall setlocalsm_slave ,master 
+0x5b7c 016025 fetch 1 ,mem_lmo_opcode2 
+0x5b7d 016026 ncall lmo_fifo_process ,blank 
+0x5b7e 016027 fetch 1 ,mem_lmo_opcode2 
+0x5b7f 016028 nrtn blank 
+0x5b80 016029 fetch 1 ,mem_state_map 
+0x5b81 016030 rtnbit0 smap_rxlmp 
+0x5b82 016031 set0 smap_rxlmp ,pdata 
+0x5b83 016032 set0 mark_rxbuf_inuse ,mark 
+0x5b84 016033 store 1 ,mem_state_map 
+0x5b85 016034 fetch 1 ,mem_rxbuf 
+0x5b86 016035 fetcht 1 ,mem_state_map 
+0x5b87 016036 isolate1 smap_lmptidinit ,pdata 
+0x5b88 016037 setflag true ,smap_lmptid ,temp 
+0x5b89 016038 storet 1 ,mem_state_map 
+0x5b8a 016039 and_into 0x2 ,temp 
+0x5b8b 016040 storet 1 ,mem_lmo_tid2 
+0x5b8c 016041 fetcht 1 ,mem_state_map 
+0x5b8d 016042 rshift pdata ,pdata 
+0x5b8e 016043 store 1 ,mem_lmi_opcode2 
+0x5b8f 016044 set1 mark_ext_patch ,mark 
+0x5b90 016045 bpatch patch3c_2 ,mem_patch3c 
+0x5b91 016046 fetch 1 ,mem_lmi_opcode2 
+0x5b92 016047 beq lmp_escape ,parse_lmp_escape 
+0x5b93 016048 beq lmp_accepted ,parse_lmp_accepted 
+0x5b94 016049 beq lmp_not_accepted ,parse_lmp_not_accepted 
+0x5b95 016050 beq lmp_set_afh ,parse_lmp_set_afh 
+0x5b96 016051 beq lmp_clkoffset_req ,parse_lmp_clkoffset_req 
+0x5b97 016052 beq lmp_encryption_mode_req ,parse_lmp_encryption_mode_req 
+0x5b98 016053 beq lmp_encryption_key_size_req ,parse_lmp_crypt_key 
+0x5b99 016054 beq lmp_auto_rate ,parse_lmp_auto_rate 
+0x5b9a 016055 beq lmp_test_control ,parse_lmp_test_control 
+0x5b9b 016056 beq lmp_test_activate ,parse_lmp_test_activate 
+0x5b9c 016057 beq lmp_setup_complete ,parse_lmp_setup_complete 
+0x5b9d 016058 beq lmp_supervision_timeout ,parse_lmp_supervision_timeout 
+0x5b9e 016059 beq lmp_features_req ,parse_lmp_features_req 
+0x5b9f 016060 beq lmp_host_connection_req ,parse_lmp_conn_req 
+0x5ba0 016061 beq lmp_version_req ,parse_lmp_version_req 
+0x5ba1 016062 beq lmp_version_res ,parse_lmp_version_res 
+0x5ba2 016063 beq lmp_detach ,parse_lmp_detach 
+0x5ba3 016064 beq lmp_max_slot ,parse_lmp_max_slot 
+0x5ba4 016065 beq lmp_max_slot_req ,parse_lmp_max_slot_req 
+0x5ba5 016066 beq lmp_name_req ,parse_lmp_name_req 
+0x5ba6 016067 beq lmp_name_res ,parse_lmp_name_res 
+0x5ba7 016068 beq lmp_features_res ,parse_lmp_features_res 
+0x5ba8 016069 beq lmp_comb_key ,parse_lmp_comb_key 
+0x5ba9 016070 beq lmp_au_rand ,parse_lmp_au_rand 
+0x5baa 016071 beq lmp_in_rand ,parse_lmp_in_rand 
+0x5bab 016072 beq lmp_sres ,parse_lmp_sres 
+0x5bac 016073 beq lmp_incr_power_req ,parse_lmp_incr_power 
+0x5bad 016074 beq lmp_decr_power_req ,parse_lmp_decr_power 
+0x5bae 016075 beq lmp_max_power ,parse_lmp_max_power 
+0x5baf 016076 beq lmp_min_power ,parse_lmp_min_power 
+0x5bb0 016077 beq lmp_page_mode_req ,parse_lmp_page_mode_req 
+0x5bb1 016078 beq lmp_page_scan_mode_req ,parse_lmp_page_scan_mode_req 
+0x5bb2 016079 beq lmp_preferred_rate ,parse_lmp_preferred_rate 
+0x5bb3 016080 beq lmp_remove_sco_link_req ,parse_lmp_remove_sco_link_req 
+0x5bb4 016081 beq lmp_sco_link_req ,parse_lmp_sco_link_req 
+0x5bb5 016082 beq lmp_slot_offset ,parse_lmp_slot_offset 
+0x5bb6 016083 beq lmp_sniff_req ,parse_lmp_sniff_req 
+0x5bb7 016084 beq lmp_start_encryption_req ,parse_lmp_start_encryption_req 
+0x5bb8 016085 beq lmp_stop_encryption_req ,parse_lmp_stop_encryption_req 
+0x5bb9 016086 beq lmp_switch_req ,parse_lmp_switch_req 
+0x5bba 016087 beq lmp_temp_rand ,parse_lmp_temp_rand 
+0x5bbb 016088 beq lmp_temp_key ,parse_lmp_temp_key 
+0x5bbc 016089 beq lmp_timing_accuracy_req ,parse_lmp_timing_accuracy_req 
+0x5bbd 016090 beq lmp_timing_accuracy_res ,parse_lmp_timing_accuracy_res 
+0x5bbe 016091 beq lmp_unit_key ,parse_lmp_unit_key 
+0x5bbf 016092 beq lmp_unsniff_req ,parse_lmp_unsniff_req 
+0x5bc0 016093 beq lmp_use_semi_permanent_key ,parse_lmp_use_semi_permanend_key 
+0x5bc1 016094 beq lmp_encapsulated_header ,parse_lmp_encapsulated_header 
+0x5bc2 016095 beq lmp_encapsulated_payload ,parse_lmp_encapsulated_payload 
+0x5bc3 016096 beq lmp_simple_pairing_confirm ,parse_simple_pairing_confirm 
+0x5bc4 016097 beq lmp_simple_pairing_number ,parse_lmp_simple_pairing_number 
+0x5bc5 016098 beq lmp_dhkey_check ,parse_dhkey_check 
+0x5bc6 016099 beq lmp_clkoffset_res ,parse_lmp_clkoffset_res 
+0x5bc7 016100 beq lmp_enc_key_size_mask_req ,parse_enc_key_size_mask_req 
+:      016103 reject_unknown_packet:
+0x5bc8 016104 jam unknown_lmp_pdu ,mem_lmo_reason2 
+:      016105 reject_lmp_packet:
+0x5bc9 016106 jam lmp_not_accepted ,mem_lmo_opcode2 
+0x5bca 016107 rtn 
+:      016109 parse_lmp_clkoffset_req:
+0x5bcb 016110 jam lmp_clkoffset_res ,mem_lmo_opcode2 
+0x5bcc 016111 rtn 
+:      016113 parse_enc_key_size_mask_req:
+0x5bcd 016114 jam lmp_enc_key_size_mask_res ,mem_lmo_opcode2 
+0x5bce 016115 rtn 
+:      016117 parse_lmp_set_afh:
+0x5bcf 016118 fetch 4 ,mem_rxbuf + 1 
+0x5bd0 016119 lshift pdata ,pdata 
+0x5bd1 016120 store 4 ,mem_afh_instant 
+0x5bd2 016121 fetch 1 ,mem_rxbuf + 5 
+0x5bd3 016122 store 1 ,mem_afh_new_mod 
+0x5bd4 016123 fetch 5 ,mem_rxbuf + 6 
+0x5bd5 016124 store 5 ,mem_afh_map_new 
+0x5bd6 016125 fetch 5 ,mem_rxbuf + 11 
+0x5bd7 016126 istore 5 ,contw 
+0x5bd8 016127 fetch 1 ,mem_mode 
+0x5bd9 016128 set1 afh_change ,pdata 
+0x5bda 016129 store 1 ,mem_mode 
+0x5bdb 016130 rtn 
+:      016131 parse_lmp_escape:
+0x5bdc 016132 fetch 1 ,mem_rxbuf + 1 
+0x5bdd 016133 set1 7 ,pdata 
+0x5bde 016134 store 1 ,mem_lmi_opcode2 
+0x5bdf 016135 beq lmp_ext_accepted ,parse_lmpext_accepted 
+0x5be0 016136 beq lmp_not_accepted_ext ,parse_lmpext_not_accepted 
+0x5be1 016137 beq lmp_sniff_subrating_req ,parse_lmp_sniff_subrating_req 
+0x5be2 016138 beq lmp_sniff_subrating_res ,parse_lmp_sniff_subrating_res 
+0x5be3 016139 beq lmp_packet_type_table_req ,parse_lmpext_packet_type_table_req 
+0x5be4 016140 beq lmp_ext_features_req ,parse_lmpext_features_req 
+0x5be5 016141 beq lmp_ext_features_res ,parse_lmpext_features_res 
+0x5be6 016142 beq lmp_ext_chn_classification_req ,parse_lmpext_chn_classification_req 
+0x5be7 016143 beq lmp_pause_encryption_req ,parse_lmpext_pause_encrypt 
+0x5be8 016144 beq lmp_resume_encryption_req ,parse_lmpext_resume_encrypt 
+0x5be9 016145 beq lmp_io_cap_req ,parse_lmpext_iocap_req 
+0x5bea 016146 beq lmp_io_cap_res ,parse_lmpext_iocap_res 
+0x5beb 016147 beq lmp_ext_remove_esco_req ,parse_lmpext_remove_esco_req 
+0x5bec 016148 beq lmp_ext_esco_link_req ,parse_lmpext_esco_link_req 
+0x5bed 016149 rtneq lmp_ext_features_res 
+:      016152 reject_unknown_ext_packet:
+0x5bee 016153 jam lmp_not_accepted_ext ,mem_lmo_opcode2 
+0x5bef 016154 jam unknown_lmp_pdu ,mem_lmo_reason2 
+0x5bf0 016156 rtn 
+:      016157 parse_lmpext_chn_classification_req:
+0x5bf1 016158 jam lmp_not_accepted_ext ,mem_lmo_opcode2 
+0x5bf2 016159 jam not_support_chn_classification ,mem_lmo_reason2 
+0x5bf3 016160 rtn 
+:      016162 parse_lmpext_esco_link_req:
+0x5bf4 016163 fetch 1 ,mem_rxbuf + 2 
+0x5bf5 016164 store 1 ,mem_sco_handle 
+0x5bf6 016165 fetch 1 ,mem_rxbuf + 3 
+0x5bf7 016166 store 1 ,mem_esco_addr 
+0x5bf8 016167 fetch 1 ,mem_rxbuf + 5 
+0x5bf9 016168 store 1 ,mem_esco_desco 
+0x5bfa 016169 fetch 1 ,mem_rxbuf + 9 
+0x5bfb 016170 store 1 ,mem_esco_type 
+0x5bfc 016171 fetch 1 ,mem_rxbuf + 14 
+0x5bfd 016172 store 1 ,mem_air_mode 
+0x5bfe 016173 bmark1 mark_esco ,check_esco_prarm 
+0x5bff 016174 set1 mark_esco ,mark 
+0x5c00 016175 call push_tid_follow 
+0x5c01 016176 store 1 ,mem_accptsco_tid 
+0x5c02 016177 force 0 ,temp 
+0x5c03 016178 branch hci_send_conn_req_event 
+:      016180 parse_lmpext_esco_link_req_change_param:
+0x5c04 016181 jam lmp_ext_esco_link_req ,mem_lmo_opcode2 
+0x5c05 016182 jam prarm_neogotiation ,mem_neogotiation_state 
+0x5c06 016183 branch cmd_exit 
+:      016185 check_esco_prarm:
+0x5c07 016186 fetch 1 ,mem_esco_type 
+0x5c08 016187 bne type_hv3 ,reject_esco_prarm 
+0x5c09 016188 jam lmp_ext_accepted ,mem_lmo_opcode2 
+0x5c0a 016189 branch esco_prarm_common 
+:      016190 reject_esco_prarm:
+0x5c0b 016191 set0 mark_esco ,mark 
+0x5c0c 016192 jam lmp_not_accepted_ext ,mem_lmo_opcode2 
+0x5c0d 016193 force hci_error_unknown_hci_command ,temp 
+0x5c0e 016194 call hci_send_sco_complete 
+:      016195 esco_prarm_common:
+0x5c0f 016196 jam lmp_ext_esco_link_req ,mem_lmi_opcode2 
+0x5c10 016197 rtn 
+:      016200 parse_lmpext_remove_esco_req:
+0x5c11 016201 jam lmp_ext_accepted ,mem_lmo_opcode2 
+0x5c12 016202 jam lmp_ext_remove_esco_req ,mem_lmi_opcode2 
+0x5c13 016203 branch stop_esco 
+:      016205 parse_lmpext_iocap_req:
+0x5c14 016206 call iocap_lmpext_load 
+0x5c15 016207 fetch 1 ,mem_device_option 
+0x5c16 016208 beq dvc_op_hci ,iocap_lmpext_hci 
+0x5c17 016209 jam lmp_io_cap_res ,mem_lmo_opcode2 
+0x5c18 016210 rtn 
+:      016212 parse_lmpext_iocap_res:
+0x5c19 016213 call iocap_lmpext_load 
+0x5c1a 016214 fetch 1 ,mem_device_option 
+0x5c1b 016215 beq dvc_op_hci ,iocap_lmpext_hci 
+0x5c1c 016216 branch iocap_lmpext_common 
+:      016218 iocap_lmpext_load:
+0x5c1d 016219 arg mem_sp_iocap_remote ,contw 
+0x5c1e 016220 fetch 3 ,mem_rxbuf + 2 
+0x5c1f 016221 istore 3 ,contw 
+0x5c20 016222 rtn 
+:      016224 iocap_lmpext_hci:
+0x5c21 016225 call hci_send_io_cap_response_event 
+:      016226 iocap_lmpext_common:
+0x5c22 016227 call check_localsm 
+0x5c23 016228 ncall hci_send_io_cap_req_event ,true 
+0x5c24 016229 branch master_set_mem_master_sp_flag ,true 
+0x5c25 016230 rtn 
+:      016231 parse_lmpext_accepted:
+0x5c26 016232 fetch 1 ,mem_rxbuf + 3 
+0x5c27 016233 set1 7 ,pdata 
+0x5c28 016234 store 1 ,mem_lmi_accepted_opcode 
+0x5c29 016235 beq lmp_packet_type_table_req ,parse_lmpext_accepted_ptt 
+0x5c2a 016236 beq lmp_ext_esco_link_req ,play_sco 
+0x5c2b 016237 beq lmp_ext_remove_esco_req ,parse_lmpext_stop_esco 
+0x5c2c 016238 rtn 
+:      016240 parse_lmpext_stop_esco:
+0x5c2d 016241 branch stop_esco 
+:      016243 parse_lmpext_not_accepted:
+0x5c2e 016244 fetch 1 ,mem_rxbuf + 3 
+0x5c2f 016245 set1 7 ,pdata 
+0x5c30 016246 store 1 ,mem_lmi_accepted_opcode 
+0x5c31 016247 beq lmp_packet_type_table_req ,parse_lmpext_not_accepted_ptt 
+0x5c32 016248 beq lmp_ext_esco_link_req ,parse_lmpext_not_accepted_esco 
+0x5c33 016249 rtn 
+:      016251 parse_lmpext_not_accepted_esco:
+0x5c34 016252 set0 mark_esco ,mark 
+0x5c35 016253 rtn 
+:      016255 parse_lmpext_accepted_ptt:
+0x5c36 016256 fetch 1 ,mem_ptt 
+0x5c37 016257 fetcht 1 ,mem_state_map 
+0x5c38 016258 nsetflag blank ,smap_edr ,temp 
+0x5c39 016259 storet 1 ,mem_state_map 
+:      016260 parse_lmpext_not_accepted_ptt:
+0x5c3a 016261 fetch 1 ,mem_state 
+0x5c3b 016262 rtnbit0 state_init_seq 
+0x5c3c 016263 set0 state_init_seq ,pdata 
+0x5c3d 016264 store 1 ,mem_state 
+0x5c3e 016265 fetch 1 ,mem_auth_enable 
+0x5c3f 016266 nbranch hci_send_linkkey_req ,blank 
+0x5c40 016267 jam lmp_setup_complete ,mem_lmo_opcode2 
+0x5c41 016268 rtn 
+:      016270 parse_lmpext_pause_encrypt:
+0x5c42 016271 nbranch parse_lmpext_pause_encrypt_slave ,master 
+0x5c43 016272 jam lmp_stop_encryption_req ,mem_lmo_opcode2 
+0x5c44 016273 branch tid_reply 
+:      016275 parse_lmpext_pause_encrypt_slave:
+0x5c45 016276 jam lmp_pause_encryption_req ,mem_lmo_opcode2 
+0x5c46 016277 rtn 
+:      016279 parse_lmpext_resume_encrypt:
+0x5c47 016282 call tid_reply 
+0x5c48 016283 branch lmp_start_encryption 
+:      016285 parse_lmpext_features_req:
+0x5c49 016286 jam lmp_ext_features_res ,mem_lmo_opcode2 
+0x5c4a 016287 rtn 
+:      016289 parse_lmpext_features_res:
+0x5c4b 016290 fetcht 1 ,mem_rxbuf + 4 
+0x5c4c 016291 and temp ,0x1 ,temp 
+0x5c4d 016292 storet 1 ,mem_remote_sppcap 
+0x5c4e 016293 fetch 1 ,mem_hci_cmd 
+0x5c4f 016294 bne hci_cmd_wait_remote_ext_feature ,parse_lmpext_features_res_not_hci 
+0x5c50 016295 jam 0 ,mem_hci_cmd 
+0x5c51 016296 call hci_send_remote_ext_features_event 
+:      016297 parse_lmpext_features_res_not_hci:
+0x5c52 016298 fetch 1 ,mem_conn_sm 
+0x5c53 016299 rtnne conn_sm_wait_features_ext 
+0x5c54 016300 jam conn_sm_send_conn_req ,mem_conn_sm 
+0x5c55 016301 branch process_conn_sm 
+:      016303 parse_lmp_accepted:
+0x5c56 016304 fetch 1 ,mem_rxbuf + 1 
+0x5c57 016305 store 1 ,mem_lmi_accepted_opcode 
+0x5c58 016306 beq lmp_host_connection_req ,parse_lmp_accepted_hostconn 
+0x5c59 016307 beq lmp_in_rand ,parse_lmp_accepted_inrand 
+0x5c5a 016308 beq lmp_encryption_mode_req ,parse_lmp_accepted_enc_mode 
+0x5c5b 016309 beq lmp_encryption_key_size_req ,parse_lmp_accepted_enc_keysize 
+0x5c5c 016310 beq lmp_start_encryption_req ,parse_lmp_accepted_start_enc 
+0x5c5d 016311 beq lmp_stop_encryption_req ,parse_lmp_accepted_stop_enc 
+0x5c5e 016312 beq lmp_unsniff_req ,parse_lmp_accepted_unsniff_req 
+0x5c5f 016313 beq lmp_sniff_req ,parse_lmp_accepted_sniff_req 
+0x5c60 016314 beq lmp_sco_link_req ,play_sco 
+0x5c61 016316 beq lmp_switch_req ,parse_lmp_accepted_switch 
+0x5c62 016318 beq lmp_encapsulated_header ,parse_lmp_accepted_encapsulated_header 
+0x5c63 016319 beq lmp_encapsulated_payload ,parse_lmp_accepted_encapsulated_payload 
+0x5c64 016320 beq lmp_simple_pairing_number ,parse_lmp_accepted_simple_pairing_number 
+0x5c65 016321 beq lmp_dhkey_check ,parse_lmp_accepted_dhkey_check 
+0x5c66 016322 rtn 
+:      016324 parse_lmp_not_accepted:
+0x5c67 016325 fetch 1 ,mem_rxbuf + 1 
+0x5c68 016326 store 1 ,mem_lmi_accepted_opcode 
+0x5c69 016327 beq lmp_name_req ,parse_lmp_not_accepted_name_req 
+0x5c6a 016328 beq lmp_host_connection_req ,parse_lmp_not_accepted_hostconn 
+0x5c6b 016329 beq lmp_au_rand ,parse_lmp_not_accepted_aurand 
+0x5c6c 016330 beq lmp_sco_link_req ,parse_lmp_not_accepted_sco_link_req 
+0x5c6d 016331 beq lmp_in_rand ,parse_lmp_not_accepted_inrand 
+0x5c6e 016332 beq lmp_switch_req ,parse_lmp_not_accepted_switch 
+0x5c6f 016334 beq lmp_simple_pairing_number ,parse_lmp_not_accepted_simple_pairing_number 
+0x5c70 016335 beq lmp_dhkey_check ,parse_lmp_not_accepted_dhkey_check 
+0x5c71 016336 beq lmp_unsniff_req ,parse_lmp_not_accepted_unsniff_req 
+0x5c72 016337 beq lmp_sniff_req ,parse_lmp_not_acdcept_sniff_req 
+0x5c73 016338 rtn 
+:      016340 parse_lmp_accepted_switch:
+0x5c74 016341 jam bt_evt_switch_accept ,mem_fifo_temp 
+0x5c75 016342 call ui_ipc_send_event 
+0x5c76 016343 branch role_switch_prepare0 
+:      016344 parse_lmp_not_accepted_switch:
+0x5c77 016345 jam bt_evt_switch_not_accept ,mem_fifo_temp 
+0x5c78 016346 call ui_ipc_send_event 
+0x5c79 016347 jam switch_flag_not_accept ,mem_switch_flag 
+0x5c7a 016348 setarg timer_switch_waite 
+0x5c7b 016349 arg switch_wait_timer ,queue 
+0x5c7c 016350 branch timer_init 
+:      016353 parse_lmp_accepted_hostconn:
+0x5c7d 016356 fetch 1 ,mem_lmp_conn_state 
+0x5c7e 016357 set1 received_conn_req ,pdata 
+0x5c7f 016358 store 1 ,mem_lmp_conn_state 
+0x5c80 016359 jam bt_evt_bb_connected ,mem_fifo_temp 
+0x5c81 016360 call ui_ipc_send_event 
+0x5c82 016361 jam lmp_packet_type_table_req ,mem_lmo_opcode2 
+:      016363 parse_lmp_accepted_hostconn_ctn:
+0x5c83 016365 fetch 1 ,mem_conn_sm 
+0x5c84 016366 bne conn_sm_wait_conn_accept ,parse_rx_done 
+0x5c85 016369 jam conn_sm_auth_pair ,mem_conn_sm 
+0x5c86 016370 rtn 
+:      016378 parse_lmp_not_accepted_hostconn:
+0x5c87 016379 jam acl_connection_already_exists ,mem_disconn_reason_send 
+0x5c88 016380 jam lmp_detach ,mem_lmo_opcode2 
+0x5c89 016381 force hci_error_host_timeout ,temp 
+0x5c8a 016382 call hci_send_connection_error 
+0x5c8b 016384 jam conn_sm_standby ,mem_conn_sm 
+0x5c8c 016386 branch parse_rx_done ,true 
+0x5c8d 016387 rtn 
+:      016389 parse_lmp_not_accepted_sco_link_req:
+0x5c8e 016390 jam lmp_sco_link_req ,mem_lmo_opcode2 
+0x5c8f 016391 rtn 
+:      016394 parse_lmp_accepted_inrand:
+0x5c90 016395 fetch 1 ,mem_link_key_exists 
+0x5c91 016396 nrtn blank 
+0x5c92 016397 call clear_linkkey 
+0x5c93 016398 call lmp_generate_key 
+0x5c94 016399 rtn master 
+0x5c95 016400 set1 mark_slave_in_rand_accepted ,mark 
+0x5c96 016401 rtn 
+:      016403 parse_lmp_accepted_enc_mode:
+0x5c97 016404 nrtn master 
+0x5c98 016405 jam lmp_encryption_key_size_req ,mem_lmo_opcode2 
+0x5c99 016406 fetch 1 ,mem_state_map 
+0x5c9a 016407 rtnbit0 smap_encryption 
+0x5c9b 016408 jam lmp_stop_encryption_req ,mem_lmo_opcode2 
+0x5c9c 016409 rtn 
+:      016411 parse_lmp_accepted_enc_keysize:
+0x5c9d 016412 branch lmp_start_encryption 
+:      016414 parse_lmp_accepted_start_enc:
+0x5c9e 016415 call send_create_conn_start_l2cap_timer_sm 
+0x5c9f 016416 fetch 1 ,mem_state 
+0x5ca0 016417 rtnbit1 state_conn_comp 
+0x5ca1 016418 jam lmp_setup_complete ,mem_lmo_opcode2 
+0x5ca2 016419 fetch 1 ,mem_conn_sm 
+0x5ca3 016420 rtnne conn_sm_encrypt_wait 
+0x5ca4 016421 jam conn_sm_encrypt_wait_clear ,mem_conn_sm 
+0x5ca5 016422 rtn 
+:      016424 parse_lmp_accepted_stop_enc:
+0x5ca6 016432 rtn 
+:      016434 parse_lmp_not_accepted_aurand:
+0x5ca7 016435 fetch 1 ,mem_device_option 
+0x5ca8 016436 bne dvc_op_hci ,parse_lmp_not_accepted_aurand_send_detach 
+0x5ca9 016437 fetch 1 ,mem_link_key_exists 
+0x5caa 016438 rtn blank 
+0x5cab 016439 fetcht 1 ,mem_conn_sm 
+0x5cac 016440 jam 0 ,mem_conn_sm 
+0x5cad 016441 jam 0 ,mem_link_key_exists 
+0x5cae 016442 fetch 1 ,mem_rxbuf + 2 
+0x5caf 016443 rtnne key_missing 
+0x5cb0 016444 storet 1 ,mem_conn_sm 
+0x5cb1 016445 jam local_statemachine ,mem_sp_localsm 
+0x5cb2 016446 fetch 2 ,mem_lmpext_ssp_enable 
+0x5cb3 016447 fetcht 1 ,mem_remote_sppcap 
+0x5cb4 016448 iand temp ,pdata 
+0x5cb5 016449 branch cmd_pair ,blank 
+0x5cb6 016450 branch cmd_ssp 
+:      016452 parse_lmp_not_accepted_aurand_send_detach:
+0x5cb7 016453 jam lmp_detach ,mem_lmo_opcode2 
+0x5cb8 016454 jam other_end_terminated ,mem_disconn_reason_send 
+0x5cb9 016455 rtn 
+:      016457 parse_lmp_not_accepted_inrand:
+0x5cba 016458 fetch 1 ,mem_rxbuf + 2 
+0x5cbb 016459 beq key_missing ,parse_lmp_inrand_key_missing 
+0x5cbc 016460 rtnne pairing_not_allowed 
+0x5cbd 016461 jam pairing_not_allowed ,mem_disconn_reason_send 
+0x5cbe 016462 jam lmp_detach ,mem_lmo_opcode2 
+0x5cbf 016463 rtn 
+:      016464 parse_lmp_inrand_key_missing:
+0x5cc0 016465 jam key_missing ,mem_disconn_reason_send 
+0x5cc1 016466 jam lmp_detach ,mem_lmo_opcode2 
+0x5cc2 016467 rtn 
+:      016469 parse_lmp_not_accepted_name_req:
+0x5cc3 016470 rtn 
+:      016472 parse_lmp_not_accepted_simple_pairing_number:
+0x5cc4 016473 jam sp_stat_null ,mem_sp_state 
+0x5cc5 016474 jam lmp_detach ,mem_lmo_opcode2 
+0x5cc6 016475 branch parse_rx_done 
+:      016477 parse_lmp_not_accepted_dhkey_check:
+0x5cc7 016478 jam sp_stat_null ,mem_sp_state 
+0x5cc8 016479 jam lmp_detach ,mem_lmo_opcode2 
+0x5cc9 016480 branch parse_rx_done 
+:      016481 parse_lmp_not_accepted_unsniff_req:
+0x5cca 016482 jam bt_evt_unsniff_not_accept ,mem_fifo_temp 
+0x5ccb 016483 branch ui_ipc_send_event 
+:      016485 parse_lmp_accepted_unsniff_req:
+0x5ccc 016486 jam bt_evt_unsniff_accept ,mem_fifo_temp 
+0x5ccd 016487 call ui_ipc_send_event 
+0x5cce 016488 call sniff_exit 
+0x5ccf 016489 force 0 ,temp 
+0x5cd0 016490 branch hci_send_mode_change 
+:      016492 parse_lmp_accepted_sniff_req:
+0x5cd1 016493 jam bt_evt_sniff_accept ,mem_fifo_temp 
+0x5cd2 016494 call ui_ipc_send_event 
+0x5cd3 016495 force 0x02 ,temp 
+0x5cd4 016496 call hci_send_mode_change 
+0x5cd5 016497 setarg 0 
+0x5cd6 016498 store 2 ,mem_dsniff 
+0x5cd7 016499 fetch 2 ,mem_sniff_param_interval 
+0x5cd8 016500 lshift pdata ,pdata 
+0x5cd9 016501 store 2 ,mem_tsniff 
+0x5cda 016502 fetch 1 ,mem_sniff_param_attempt 
+0x5cdb 016503 store 1 ,mem_sniff_attempt 
+0x5cdc 016504 fetch 1 ,mem_sniff_param_timeout 
+0x5cdd 016505 store 1 ,mem_sniff_timeout 
+0x5cde 016506 branch sniff_init 
+:      016508 parse_lmp_not_acdcept_sniff_req:
+0x5cdf 016509 jam bt_evt_sniff_not_accept ,mem_fifo_temp 
+0x5ce0 016510 branch ui_ipc_send_event 
+:      016512 parse_lmp_crypt_key:
+0x5ce1 016513 fetcht 1 ,mem_rxbuf + 1 
+0x5ce2 016514 storet 1 ,mem_key_size 
+0x5ce3 016515 branch accept_lmp_msg 
+:      016517 parse_lmp_setup_complete:
+0x5ce4 016518 fetch 1 ,mem_lmp_conn_state 
+0x5ce5 016519 set1 received_setup_complete ,pdata 
+0x5ce6 016520 store 1 ,mem_lmp_conn_state 
+0x5ce7 016521 rtnbit1 sent_setup_complete 
+0x5ce8 016522 jam lmp_setup_complete ,mem_lmo_opcode2 
+0x5ce9 016523 branch parse_rx_done 
+:      016525 parse_lmp_max_slot:
+0x5cea 016528 rtn 
+:      016530 parse_lmp_max_slot_req:
+0x5ceb 016531 fetch 1 ,mem_max_slot 
+0x5cec 016532 fetcht 1 ,mem_rxbuf + 1 
+0x5ced 016533 isub temp ,null 
+0x5cee 016535 branch accept_lmp_msg ,positive 
+0x5cef 016536 jam lmp_not_accepted ,mem_lmo_opcode2 
+0x5cf0 016537 jam unspecified_error ,mem_lmo_reason2 
+0x5cf1 016538 jam lmp_max_slot_req ,mem_lmi_opcode2 
+0x5cf2 016539 rtn 
+:      016541 parse_lmp_detach:
+0x5cf3 016542 call prepare_disconnect 
+0x5cf4 016543 branch accept_lmp_msg 
+:      016545 accept_lmp_msg:
+0x5cf5 016546 jam lmp_accepted ,mem_lmo_opcode2 
+0x5cf6 016547 rtn 
+:      016549 parse_lmp_incr_power:
+0x5cf7 016550 jam lmp_max_power ,mem_lmo_opcode2 
+0x5cf8 016551 rtn 
+:      016553 parse_lmp_decr_power:
+0x5cf9 016554 jam lmp_min_power ,mem_lmo_opcode2 
+0x5cfa 016555 rtn 
+:      016557 parse_lmp_version_res:
+0x5cfb 016558 fetch 1 ,mem_conn_sm 
+0x5cfc 016559 rtneq conn_sm_wait_version 
+0x5cfd 016561 jam conn_sm_send_features ,mem_conn_sm 
+0x5cfe 016563 rtn 
+:      016566 parse_lmp_auto_rate:
+0x5cff 016567 rtn 
+:      016569 parse_lmp_in_rand:
+0x5d00 016570 call lmp_copy_rand 
+0x5d01 016571 jam pincode_state_wait_pincode ,mem_pincode_state 
+0x5d02 016572 fetch 1 ,mem_device_option 
+0x5d03 016573 beq dvc_op_hci ,parse_lmp_in_rand_hci 
+0x5d04 016574 jam bt_evt_pincode_req ,mem_fifo_temp 
+0x5d05 016575 call ui_ipc_send_event 
+:      016576 parse_lmp_in_rand_hci:
+0x5d06 016577 call hci_send_pincode_req 
+0x5d07 016578 call tid_check 
+0x5d08 016579 nbranch lmp_accept_inrand ,true 
+0x5d09 016580 nbranch parse_lmp_inrand_res ,master 
+0x5d0a 016581 jam lmp_not_accepted ,mem_lmo_opcode2 
+0x5d0b 016582 jam lmp_in_rand ,mem_lmi_opcode2 
+0x5d0c 016583 jam transaction_collision ,mem_lmo_reason2 
+0x5d0d 016584 rtn 
+:      016585 parse_lmp_inrand_res:
+0x5d0e 016586 fetch 1 ,mem_op 
+0x5d0f 016587 set1 op_inrand_req ,pdata 
+0x5d10 016588 store 1 ,mem_op 
+0x5d11 016589 rtn 
+:      016592 pop_tid_follow:
+0x5d12 016593 fetcht 1 ,mem_state_map 
+0x5d13 016594 nsetflag blank ,smap_lmptid ,temp 
+0x5d14 016595 storet 1 ,mem_state_map 
+0x5d15 016596 rtn 
+:      016599 push_tid_follow:
+0x5d16 016600 fetch 1 ,mem_lmo_tid2 
+0x5d17 016601 rshift pdata ,pdata 
+0x5d18 016602 and_into 1 ,pdata 
+0x5d19 016603 rtn 
+:      016605 parse_lmp_au_rand:
+0x5d1a 016606 call push_tid_follow 
+0x5d1b 016607 store 1 ,mem_sres_tid 
+0x5d1c 016608 call lmp_copy_rand 
+0x5d1d 016609 jam lmp_sres ,mem_lmo_opcode2 
+0x5d1e 016610 fetch 1 ,mem_link_key_exists 
+0x5d1f 016611 nrtn blank 
+0x5d20 016612 fetch 1 ,mem_state 
+0x5d21 016613 rtnbit1 state_combkey 
+0x5d22 016614 jam key_missing ,mem_lmo_reason2 
+0x5d23 016615 fetch 1 ,mem_device_option 
+0x5d24 016616 bne dvc_op_hci ,reject_lmp_packet 
+0x5d25 016617 fetch 1 ,mem_auth_enable 
+0x5d26 016618 nbranch reject_lmp_packet ,blank 
+0x5d27 016619 jam 0 ,mem_lmo_opcode2 
+:      016620 parse_lmp_inrand_sres:
+0x5d28 016621 fetch 1 ,mem_op 
+0x5d29 016622 set1 op_send_sres ,pdata 
+0x5d2a 016623 store 1 ,mem_op 
+0x5d2b 016624 branch hci_send_linkkey_req 
+:      016626 parse_lmp_sres:
+0x5d2c 016627 arg mem_plap ,rega 
+0x5d2d 016628 call function_e1 
+0x5d2e 016629 fetch 4 ,mem_rxbuf + 1 
+0x5d2f 016630 fetcht 4 ,mem_input_store 
+0x5d30 016631 isub temp ,null 
+0x5d31 016632 branch authentication_ok ,zero 
+0x5d32 016633 jam lmp_detach ,mem_lmo_opcode2 
+0x5d33 016634 jam authentication_failure_error ,mem_disconn_reason_send 
+0x5d34 016635 rtn 
+:      016636 authentication_ok:
+0x5d35 016637 call copy_aco 
+0x5d36 016638 call linkkey_ready 
+0x5d37 016639 fetch 1 ,mem_op 
+0x5d38 016640 isolate1 op_auth_req ,pdata 
+0x5d39 016641 set0 op_auth_req ,pdata 
+0x5d3a 016642 store 1 ,mem_op 
+0x5d3b 016643 call hci_send_auth_complete ,true 
+0x5d3c 016644 fetch 1 ,mem_conn_sm 
+0x5d3d 016645 beq conn_sm_auth_wait ,authentication_ok_conn_sm 
+0x5d3e 016646 beq conn_sm_pairing_wait ,authentication_ok_conn_sm 
+0x5d3f 016647 rtn 
+:      016648 authentication_ok_conn_sm:
+0x5d40 016649 fetch 1 ,mem_pairing_auth 
+0x5d41 016650 rtnne defalt_pairing_auth 
+0x5d42 016651 fetch 1 ,mem_state_map 
+0x5d43 016652 rtnbit1 smap_encryption 
+0x5d44 016653 branch host_create_conn_encrypt 
+:      016655 parse_lmp_comb_key:
+0x5d45 016656 arg mem_rxbuf + 1 ,rega 
+0x5d46 016657 arg mem_kinit ,regb 
+0x5d47 016658 arg mem_random_number ,contw 
+0x5d48 016659 call xor16 
+0x5d49 016660 arg mem_plap ,rega 
+0x5d4a 016661 call generate_linkkey 
+0x5d4b 016662 jam lmp_au_rand ,mem_lmo_opcode2 
+0x5d4c 016663 fetch 1 ,mem_state 
+0x5d4d 016664 bbit0 state_combkey ,lmp_generate_key 
+0x5d4e 016665 rtn 
+:      016667 parse_lmp_name_res:
+0x5d4f 016668 fetch 2 ,mem_len 
+0x5d50 016669 add pdata ,-3 ,loopcnt 
+0x5d51 016670 fetcht 1 ,mem_rxbuf + 1 
+0x5d52 016671 setarg mem_tmp_buffer 
+0x5d53 016672 iadd temp ,contw 
+0x5d54 016673 arg mem_rxbuf + 3 ,contr 
+0x5d55 016674 call memcpy 
+0x5d56 016675 fetcht 1 ,mem_name_offset 
+0x5d57 016676 fetch 1 ,mem_rxbuf + 2 
+0x5d58 016677 isub temp ,pdata 
+0x5d59 016678 sub pdata ,14 ,null 
+0x5d5a 016679 branch parse_lmp_name_res_end ,positive 
+0x5d5b 016680 add temp ,14 ,pdata 
+0x5d5c 016681 store 1 ,mem_name_offset 
+0x5d5d 016682 jam lmp_name_req ,mem_lmo_opcode2 
+0x5d5e 016683 rtn 
+:      016684 parse_lmp_name_res_end:
+0x5d5f 016685 fetch 1 ,mem_state_map 
+0x5d60 016686 set1 smap_name_res ,pdata 
+0x5d61 016687 store 1 ,mem_state_map 
+0x5d62 016688 bbit1 smap_name_req ,lmp_disconnect 
+0x5d63 016691 rtn 
+:      016692 parse_lmp_name_req:
+0x5d64 016693 fetch 1 ,mem_rxbuf + 1 
+0x5d65 016694 store 1 ,mem_lmi_opcode2 
+0x5d66 016695 jam lmp_name_res ,mem_lmo_opcode2 
+0x5d67 016696 rtn 
+:      016698 parse_lmp_conn_req:
+0x5d68 016699 fetch 1 ,mem_device_option 
+0x5d69 016700 bne dvc_op_hci ,accept_lmp_msg 
+0x5d6a 016701 force 1 ,temp 
+0x5d6b 016702 branch hci_send_conn_req_event 
+:      016704 parse_lmp_timing_accuracy_req:
+0x5d6c 016705 jam lmp_timing_accuracy_res ,mem_lmo_opcode2 
+0x5d6d 016706 rtn 
+:      016708 parse_lmp_features_req:
+0x5d6e 016709 jam lmp_features_res ,mem_lmo_opcode2 
+0x5d6f 016710 rtn 
+:      016712 parse_lmp_version_req:
+0x5d70 016713 jam lmp_version_res ,mem_lmo_opcode2 
+0x5d71 016714 rtn 
+:      016716 parse_lmp_supervision_timeout:
+0x5d72 016719 rtn 
+:      016723 parse_lmp_sniff_subrating_req:
+0x5d73 016724 fetch 2 ,mem_tsniff 
+0x5d74 016725 iforce temp 
+0x5d75 016726 fetch 1 ,mem_rxbuf + 2 
+0x5d76 016727 store 1 ,mem_subsniff_rate 
+0x5d77 016728 imul32 temp ,temp 
+0x5d78 016729 fetch 2 ,mem_rxbuf + 3 
+0x5d79 016730 lshift pdata ,pdata 
+0x5d7a 016731 store 2 ,mem_subsniff_tcmax 
+0x5d7b 016732 fetch 4 ,mem_rxbuf + 5 
+0x5d7c 016733 lshift pdata ,pdata 
+0x5d7d 016734 store 4 ,mem_subsniff_instant 
+0x5d7e 016736 deposit temp 
+0x5d7f 016737 store 2 ,mem_subsniff_tsniff 
+0x5d80 016738 rtn 
+:      016739 parse_lmpext_packet_type_table_req:
+0x5d81 016740 fetcht 1 ,mem_ptt 
+0x5d82 016741 fetch 1 ,mem_rxbuf + 2 
+0x5d83 016742 ixor temp ,null 
+0x5d84 016743 nbranch reject_unknown_ext_packet ,zero 
+0x5d85 016744 isolate1 0 ,pdata 
+0x5d86 016745 fetch 1 ,mem_state_map 
+0x5d87 016746 setflag true ,smap_edr ,pdata 
+0x5d88 016747 store 1 ,mem_state_map 
+0x5d89 016748 jam lmp_ext_accepted ,mem_lmo_opcode2 
+0x5d8a 016749 jam lmp_packet_type_table_req ,mem_lmi_opcode2 
+0x5d8b 016750 rtn 
+:      016753 parse_lmp_sniff_subrating_res:
+0x5d8c 016754 rtn 
+:      016756 parse_lmp_max_power:
+0x5d8d 016757 rtn 
+:      016758 parse_lmp_min_power:
+0x5d8e 016759 rtn 
+:      016760 parse_lmp_page_mode_req:
+0x5d8f 016762 branch accept_lmp_msg 
+:      016763 parse_lmp_page_scan_mode_req:
+0x5d90 016766 branch accept_lmp_msg 
+:      016767 parse_lmp_preferred_rate:
+0x5d91 016768 rtn 
+:      016769 parse_lmp_remove_sco_link_req:
+0x5d92 016770 call stop_sco 
+0x5d93 016771 jam lmp_remove_sco_link_req ,mem_lmi_opcode2 
+0x5d94 016772 branch accept_lmp_msg 
+:      016775 parse_lmp_sco_link_req:
+0x5d95 016776 fetch 1 ,mem_rxbuf + 1 
+0x5d96 016777 store 1 ,mem_sco_handle 
+0x5d97 016778 fetch 1 ,mem_rxbuf + 3 
+0x5d98 016779 store 1 ,mem_esco_desco 
+0x5d99 016780 fetch 1 ,mem_rxbuf + 6 
+0x5d9a 016781 store 1 ,mem_air_mode 
+0x5d9b 016782 call push_tid_follow 
+0x5d9c 016783 store 1 ,mem_accptsco_tid 
+0x5d9d 016784 force 0 ,temp 
+0x5d9e 016785 branch hci_send_conn_req_event 
+:      016787 parse_lmp_slot_offset:
+0x5d9f 016788 fetch 2 ,mem_rxbuf + 1 
+0x5da0 016789 store 2 ,mem_slot_offset 
+0x5da1 016790 rtn 
+:      016792 parse_lmp_sniff_req:
+0x5da2 016793 fetch 1 ,mem_state 
+0x5da3 016794 bbit1 state_insniff ,lmp_reject_sniff 
+0x5da4 016795 fetch 2 ,mem_rxbuf + 2 
+0x5da5 016796 lshift pdata ,pdata 
+0x5da6 016797 store 2 ,mem_dsniff 
+0x5da7 016798 fetch 2 ,mem_rxbuf + 4 
+0x5da8 016799 lshift pdata ,pdata 
+0x5da9 016800 store 2 ,mem_tsniff 
+0x5daa 016801 fetch 2 ,mem_rxbuf + 6 
+0x5dab 016802 store 1 ,mem_sniff_attempt 
+0x5dac 016803 iforce temp 
+0x5dad 016804 fetch 2 ,mem_rxbuf + 8 
+0x5dae 016805 store 1 ,mem_sniff_timeout 
+0x5daf 016806 isub temp ,null 
+0x5db0 016807 nbranch set_big_value_to_attempt ,positive 
+0x5db1 016808 store 1 ,mem_sniff_attempt 
+:      016809 set_big_value_to_attempt:
+0x5db2 016811 jam lmp_accepted ,mem_lmo_opcode2 
+0x5db3 016812 jam lmp_sniff_req ,mem_lmi_opcode2 
+0x5db4 016813 rtn 
+:      016815 lmp_reject_sniff:
+0x5db5 016816 jam pdu_not_allowed ,mem_lmo_reason2 
+0x5db6 016817 branch reject_lmp_packet 
+:      016819 parse_lmp_start_encryption_req:
+0x5db7 016820 call accept_lmp_msg 
+0x5db8 016821 call lmp_copy_rand 
+0x5db9 016822 call function_e3 
+0x5dba 016823 branch start_encryption 
+:      016825 parse_lmp_stop_encryption_req:
+0x5dbb 016826 call accept_lmp_msg 
+0x5dbc 016827 branch stop_encryption 
+:      016830 parse_lmp_switch_req:
+0x5dbd 016831 fetch 4 ,mem_rxbuf + 1 
+0x5dbe 016832 lshift pdata ,pdata 
+0x5dbf 016834 branch parse_lmp_switch_accept ,master 
+0x5dc0 016835 fetcht 1 ,mem_link_key_exists 
+0x5dc1 016836 nbranch parse_lmp_switch_req_clear_mark ,blank 
+:      016837 parse_lmp_switch_req_not_accept:
+0x5dc2 016838 jam lmp_not_accepted ,mem_lmo_opcode2 
+0x5dc3 016839 jam lmp_switch_req ,mem_lmi_opcode2 
+0x5dc4 016840 jam pdu_not_allowed ,mem_lmo_reason2 
+0x5dc5 016841 rtn 
+:      016842 parse_lmp_switch_req_clear_mark:
+0x5dc6 016843 jam lmp_slot_offset ,mem_lmo_opcode2 
+0x5dc7 016844 jam 0 ,mem_conn_sm 
+0x5dc8 016845 branch role_switch_prepare 
+:      016847 parse_lmp_switch_accept:
+0x5dc9 016848 call role_switch_prepare 
+0x5dca 016849 set1 mark_reconn_recieve_switch ,mark 
+0x5dcb 016850 fetch 1 ,mem_connection_options 
+0x5dcc 016851 set0 connection_switch ,pdata 
+0x5dcd 016852 store 1 ,mem_connection_options 
+0x5dce 016853 branch accept_lmp_msg 
+:      016857 parse_lmp_temp_rand:
+0x5dcf 016858 rtn 
+:      016859 parse_lmp_temp_key:
+0x5dd0 016860 rtn 
+:      016861 parse_lmp_timing_accuracy_res:
+0x5dd1 016862 rtn 
+:      016864 parse_lmp_unit_key:
+0x5dd2 016866 rtn 
+:      016869 parse_lmp_unsniff_req:
+0x5dd3 016870 jam lmp_accepted ,mem_lmo_opcode2 
+0x5dd4 016871 jam lmp_unsniff_req ,mem_lmi_opcode2 
+0x5dd5 016872 jam bt_evt_remote_unsniff ,mem_fifo_temp 
+0x5dd6 016873 call ui_ipc_send_event 
+0x5dd7 016874 force 0 ,temp 
+0x5dd8 016875 call hci_send_mode_change 
+0x5dd9 016876 branch sniff_exit 
+:      016877 parse_lmp_use_semi_permanend_key:
+0x5dda 016878 rtn 
+:      016880 parse_lmp_encapsulated_header:
+0x5ddb 016881 fetch 1 ,mem_rxbuf + 1 
+0x5ddc 016882 bne encapsulated_major_type_p192 ,parse_lmp_encapsulated_header_reject 
+0x5ddd 016883 fetch 1 ,mem_rxbuf + 2 
+0x5dde 016884 bne encapsulated_minor_type_p192 ,parse_lmp_encapsulated_header_reject 
+0x5ddf 016885 fetch 1 ,mem_rxbuf + 3 
+0x5de0 016886 bne encapsulated_len_p192 ,parse_lmp_encapsulated_header_reject 
+0x5de1 016887 call check_localsm 
+0x5de2 016888 branch parse_lmp_encapsulated_header_master ,true 
+0x5de3 016889 jam sp_stat_key_recv ,mem_sp_state 
+:      016890 parse_lmp_encapsulated_header_master:
+0x5de4 016891 jam lmp_accepted ,mem_lmo_opcode2 
+0x5de5 016892 jam lmp_encapsulated_header ,mem_lmi_opcode2 
+0x5de6 016893 branch parse_rx_done 
+:      016895 parse_lmp_encapsulated_header_reject:
+0x5de7 016896 jam pdu_not_allowed ,mem_lmo_reason2 
+0x5de8 016897 branch reject_lmp_packet 
+:      016899 parse_lmp_accepted_encapsulated_header:
+0x5de9 016902 jam lmp_encapsulated_payload ,mem_lmo_opcode2 
+0x5dea 016904 rtn 
+:      016905 parse_lmp_accepted_simple_pairing_number:
+0x5deb 016906 call check_localsm 
+0x5dec 016907 rtn true 
+0x5ded 016908 jam sp_stat_confirm_recv ,mem_sp_state 
+0x5dee 016909 rtn 
+:      016911 parse_lmp_accepted_dhkey_check:
+0x5def 016913 call check_localsm 
+0x5df0 016914 ncall g_noninit ,true 
+0x5df1 016915 call g_init ,true 
+0x5df2 016916 call hci_send_user_confirmation_req 
+0x5df3 016917 call hci_send_ssp_complete 
+0x5df4 016918 call check_localsm 
+0x5df5 016919 rtn true 
+0x5df6 016920 jam sp_stat_link_key_calc ,mem_sp_state 
+0x5df7 016921 jam sp_flag_commit ,mem_sp_flag 
+0x5df8 016922 rtn 
+:      016924 parse_simple_pairing_confirm:
+0x5df9 016925 arg mem_sp_confirm_remote ,contw 
+0x5dfa 016926 fetch 8 ,mem_rxbuf + 1 
+0x5dfb 016927 istore 8 ,contw 
+0x5dfc 016928 fetch 8 ,mem_rxbuf + 9 
+0x5dfd 016929 istore 8 ,contw 
+0x5dfe 016930 branch master_set_mem_master_sp_flag 
+:      016932 parse_lmp_encapsulated_payload:
+0x5dff 016933 fetch 1 ,mem_master_sp_state 
+0x5e00 016934 beq sp_stat_random_send ,parse_encapsulated_payload_master 
+0x5e01 016935 fetch 1 ,mem_sp_state 
+0x5e02 016936 bne sp_stat_key_recv ,parse_lmp_encapsulated_payload_reject 
+:      016937 parse_encapsulated_payload_master:
+0x5e03 016938 fetch 1 ,mem_sp_remote_key_recv_count 
+0x5e04 016939 sub pdata ,0x20 ,contw 
+0x5e05 016940 nbranch parse_lmp_encapsulated_payload_reject ,positive 
+0x5e06 016941 arg mem_sp_pubkey_remote ,contw 
+0x5e07 016942 iadd contw ,contw 
+0x5e08 016943 fetch 8 ,mem_rxbuf + 1 
+0x5e09 016944 istore 8 ,contw 
+0x5e0a 016945 fetch 8 ,mem_rxbuf + 9 
+0x5e0b 016946 istore 8 ,contw 
+0x5e0c 016947 fetch 1 ,mem_sp_remote_key_recv_count 
+0x5e0d 016948 increase 16 ,pdata 
+0x5e0e 016949 store 1 ,mem_sp_remote_key_recv_count 
+0x5e0f 016950 bne encapsulated_len_p192 ,accept_lmp_msg 
+:      016951 parse_lmp_encapsulated_payload_completed:
+0x5e10 016952 call check_localsm 
+0x5e11 016953 branch accept_lmp_msg ,true 
+0x5e12 016954 jam sp_key_valid ,mem_sp_remote_key_invalid 
+0x5e13 016955 jam sp_stat_key_generate ,mem_sp_state 
+0x5e14 016956 jam sp_flag_commit ,mem_sp_flag 
+0x5e15 016957 branch accept_lmp_msg 
+:      016958 parse_lmp_encapsulated_payload_reject:
+0x5e16 016959 jam pdu_not_allowed ,mem_lmo_reason2 
+0x5e17 016960 branch reject_lmp_packet 
+:      016961 parse_lmp_accepted_encapsulated_payload:
+0x5e18 016962 fetch 1 ,mem_sp_local_key_send_count 
+0x5e19 016963 beq encapsulated_len_p192 ,parse_lmp_encapsulated_payload_all_accepted 
+0x5e1a 016964 jam lmp_encapsulated_payload ,mem_lmo_opcode2 
+0x5e1b 016965 branch parse_rx_done 
+:      016966 parse_lmp_encapsulated_payload_all_accepted:
+0x5e1c 016967 call check_localsm 
+0x5e1d 016968 branch parse_lmp_encapsulated_payload_all_accepted_master ,true 
+0x5e1e 016969 jam sp_flag_commit ,mem_sp_flag 
+0x5e1f 016970 jam sp_stat_commit_calc ,mem_sp_state 
+0x5e20 016971 branch parse_rx_done 
+:      016972 parse_lmp_encapsulated_payload_all_accepted_master:
+0x5e21 016974 branch parse_rx_done 
+:      016976 parse_lmp_simple_pairing_number:
+0x5e22 016977 fetch 1 ,mem_master_sp_state 
+0x5e23 016978 beq sp_stat_random_send ,parse_lmp_simple_pairing_number_master 
+0x5e24 016979 fetch 1 ,mem_sp_state 
+0x5e25 016980 bne sp_stat_random_recv ,parse_lmp_simple_pairing_number_reject 
+:      016981 parse_lmp_simple_pairing_number_master:
+0x5e26 016982 arg mem_sp_random_remote ,contw 
+0x5e27 016983 fetch 8 ,mem_rxbuf + 1 
+0x5e28 016984 istore 8 ,contw 
+0x5e29 016985 fetch 8 ,mem_rxbuf + 9 
+0x5e2a 016986 istore 8 ,contw 
+0x5e2b 016987 call check_localsm 
+0x5e2c 016988 branch parse_lmp_simple_pairing_number_master0 ,true 
+0x5e2d 016989 jam sp_stat_random_send ,mem_sp_state 
+0x5e2e 016990 jam sp_flag_commit ,mem_sp_flag 
+0x5e2f 016991 branch accept_lmp_msg 
+:      016992 parse_lmp_simple_pairing_number_master0:
+0x5e30 016993 jam sp_stat_commit_calc ,mem_master_sp_state 
+0x5e31 016994 branch master_set_mem_master_sp_flag 
+:      016997 parse_lmp_simple_pairing_number_reject:
+0x5e32 016998 jam pdu_not_allowed ,mem_lmo_reason2 
+0x5e33 016999 branch reject_lmp_packet 
+:      017001 parse_dhkey_check:
+0x5e34 017002 fetch 1 ,mem_master_sp_state 
+0x5e35 017003 beq sp_stat_confirm_send ,parse_dhkey_check_master 
+0x5e36 017004 fetch 1 ,mem_sp_state 
+0x5e37 017005 bne sp_stat_confirm_recv ,parse_lmp_dhkey_check_reject 
+:      017006 parse_dhkey_check_master:
+0x5e38 017007 arg mem_sp_check_result ,contw 
+0x5e39 017008 fetch 8 ,mem_rxbuf + 1 
+0x5e3a 017009 istore 8 ,contw 
+0x5e3b 017010 fetch 8 ,mem_rxbuf + 9 
+0x5e3c 017011 istore 8 ,contw 
+0x5e3d 017012 call check_localsm 
+0x5e3e 017013 branch parse_dhkey_check_master0 ,true 
+0x5e3f 017014 jam sp_stat_confirm_check ,mem_sp_state 
+0x5e40 017015 jam sp_flag_commit ,mem_sp_flag 
+0x5e41 017016 branch parse_rx_done 
+:      017017 parse_dhkey_check_master0:
+0x5e42 017018 jam sp_stat_confirm_check ,mem_master_sp_state 
+0x5e43 017019 jam sp_flag_commit ,mem_master_sp_flag 
+0x5e44 017020 branch parse_rx_done 
+:      017021 parse_lmp_dhkey_check_reject:
+0x5e45 017022 jam pdu_not_allowed ,mem_lmo_reason2 
+0x5e46 017023 branch reject_lmp_packet 
+:      017025 parse_lmp_clkoffset_res:
+0x5e47 017026 branch parse_rx_done 
+:      017028 parse_lmp_encryption_mode_req:
+0x5e48 017029 fetch 1 ,mem_connection_options 
+0x5e49 017030 set0 connection_encrypt 
+0x5e4a 017031 store 1 ,mem_connection_options 
+0x5e4b 017032 call accept_lmp_msg 
+0x5e4c 017033 nrtn master 
+0x5e4d 017034 fetch 1 ,mem_rxbuf + 1 
+0x5e4e 017035 fetcht 1 ,mem_op 
+0x5e4f 017036 setflag blank ,op_stop_enc ,temp 
+0x5e50 017037 nsetflag blank ,op_start_enc ,temp 
+0x5e51 017038 storet 1 ,mem_op 
+0x5e52 017039 rtn 
+:      017041 parse_lmp_features_res:
+0x5e53 017042 fetcht 8 ,mem_rxbuf + 1 
+0x5e54 017043 fetch 1 ,mem_hci_cmd 
+0x5e55 017044 bne hci_cmd_wait_remote_feature ,parse_lmp_features_res_not_hci 
+0x5e56 017045 jam 0 ,mem_hci_cmd 
+0x5e57 017046 call hci_send_remote_features 
+:      017047 parse_lmp_features_res_not_hci:
+0x5e58 017048 fetch 1 ,mem_conn_sm 
+0x5e59 017049 rtnne conn_sm_wait_features_res 
+0x5e5a 017050 fetch 1 ,mem_device_option 
+0x5e5b 017051 beq dvc_op_hci ,parse_lmp_feature_ext_sm 
+0x5e5c 017052 fetch 1 ,mem_connection_options 
+0x5e5d 017053 bbit0 connection_feature_ext ,parse_lmp_send_conn 
+:      017054 parse_lmp_feature_ext_sm:
+0x5e5e 017055 jam conn_sm_send_features_ext ,mem_conn_sm 
+0x5e5f 017056 rtn 
+:      017057 parse_lmp_send_conn:
+0x5e60 017058 jam conn_sm_send_conn_req ,mem_conn_sm 
+0x5e61 017059 rtn 
+:      017060 parse_lmp_test_activate:
+0x5e62 017061 fetch 1 ,mem_debug_config 
+0x5e63 017062 store 1 ,mem_test_mode_old_debug_config 
+0x5e64 017063 jam lmp_accepted ,mem_lmo_opcode2 
+0x5e65 017064 jam lmp_test_activate ,mem_lmi_opcode2 
+0x5e66 017065 rtn 
+:      017066 parse_lmp_test_control:
+0x5e67 017069 jam lmp_accepted ,mem_lmo_opcode2 
+0x5e68 017070 jam lmp_test_control ,mem_lmi_opcode2 
+0x5e69 017071 force 9 ,loopcnt 
+0x5e6a 017072 arg mem_rxbuf + 1 ,contr 
+0x5e6b 017073 arg mem_temp_payload ,contw 
+:      017074 parse_lmp_test_xor:
+0x5e6c 017075 ifetch 1 ,contr 
+0x5e6d 017076 xor_into 0x55 ,pdata 
+0x5e6e 017077 istore 1 ,contw 
+0x5e6f 017078 loop parse_lmp_test_xor 
+0x5e70 017079 fetch 1 ,test_mode_scenario 
+0x5e71 017080 fetcht 1 ,mem_tester_emulate 
+0x5e72 017081 set0 tester_no_whitening ,temp 
+0x5e73 017082 set0 tester_pattern_test ,temp 
+0x5e74 017083 beq exit_test_mode ,parse_lmp_test_control_exit 
+0x5e75 017084 beq pause_test_mode ,parse_lmp_test_control_pause 
+0x5e76 017085 beq closed_loop_back_acl ,parse_lmp_test_control_loopback 
+0x5e77 017086 beq acl_without_whitening ,parse_lmp_test_control_loopback_nowhite 
+0x5e78 017087 beq closed_loop_back_sco ,parse_lmp_test_control_loopback 
+0x5e79 017088 beq sco_without_whitening ,parse_lmp_test_control_loopback_nowhite 
+0x5e7a 017089 beq zero_pattern ,parse_lmp_test_control_pattern 
+0x5e7b 017090 beq one_pattern ,parse_lmp_test_control_pattern 
+0x5e7c 017091 beq alt_pattern ,parse_lmp_test_control_pattern 
+0x5e7d 017092 beq alt2_pattern ,parse_lmp_test_control_pattern 
+0x5e7e 017093 beq pseudorandom ,parse_lmp_test_control_pattern 
+0x5e7f 017094 rtn 
+:      017095 parse_lmp_test_control_exit:
+0x5e80 017097 fetch 1 ,mem_tester_emulate 
+0x5e81 017098 set1 tester_exit ,pdata 
+0x5e82 017099 set1 tester_change ,pdata 
+0x5e83 017100 store 1 ,mem_tester_emulate 
+0x5e84 017101 rtn 
+:      017102 parse_lmp_test_control_pattern:
+0x5e85 017103 set1 tester_pattern_test ,temp 
+0x5e86 017104 jam 5 ,mem_lch_code 
+0x5e87 017105 fetch 2 ,test_mode_data_length 
+0x5e88 017106 iforce loopcnt 
+0x5e89 017107 store 2 ,mem_len 
+0x5e8a 017108 arg mem_rxbuf ,contw 
+0x5e8b 017109 call pn9 
+:      017110 parse_lmp_test_control_loopback_nowhite:
+0x5e8c 017111 set1 tester_no_whitening ,temp 
+:      017112 parse_lmp_test_control_loopback:
+0x5e8d 017113 set1 tester_change ,temp 
+0x5e8e 017114 force 0 ,pdata 
+0x5e8f 017115 store 1 ,mem_slave_rcvcnt 
+0x5e90 017116 store 2 ,mem_tst_pktcnt_crc 
+0x5e91 017117 store 2 ,mem_tst_pktcnt_dmh 
+0x5e92 017118 store 2 ,mem_tst_pktcnt_hec 
+0x5e93 017119 store 2 ,mem_tst_pktcnt_sync 
+0x5e94 017120 fetch 1 ,test_mode_hopping_mode 
+0x5e95 017121 compare fixed_freq ,pdata ,0xff 
+0x5e96 017122 setflag true ,tester_fixed_freq ,temp 
+0x5e97 017123 storet 1 ,mem_tester_emulate 
+0x5e98 017124 rtn 
+:      017126 parse_lmp_test_control_pause:
+0x5e99 017127 set0 mark_testmode ,mark 
+0x5e9a 017128 jam 0 ,mem_tester_emulate 
+0x5e9b 017129 fetch 1 ,mem_debug_config 
+0x5e9c 017130 set0 debug_tx_pattern ,pdata 
+0x5e9d 017131 store 1 ,mem_debug_config 
+0x5e9e 017132 rtn 
+:      017134 check_test_cond:
+0x5e9f 017135 fetch 1 ,mem_tester_emulate 
+0x5ea0 017136 rtnbit0 tester_change 
+0x5ea1 017137 fetch 1 ,mem_tester_cnt 
+0x5ea2 017138 increase 1 ,pdata 
+0x5ea3 017139 store 1 ,mem_tester_cnt 
+0x5ea4 017140 rtnne 5 
+0x5ea5 017141 jam 0 ,mem_tester_cnt 
+0x5ea6 017142 fetch 1 ,mem_tester_emulate 
+0x5ea7 017143 set0 tester_change ,pdata 
+0x5ea8 017144 store 1 ,mem_tester_emulate 
+0x5ea9 017145 bbit1 tester_exit ,check_test_exit 
+0x5eaa 017146 isolate1 tester_no_whitening ,pdata 
+0x5eab 017147 call test_no_white ,true 
+0x5eac 017148 ncall test_enable_white ,true 
+0x5ead 017149 fetch 1 ,test_mode_packet_type 
+0x5eae 017150 compare 0x20 ,pdata ,0x30 
+0x5eaf 017151 fetch 1 ,mem_state_map 
+0x5eb0 017152 setflag true ,smap_edr ,pdata 
+0x5eb1 017153 store 1 ,mem_state_map 
+0x5eb2 017154 fetch 1 ,mem_tester_emulate 
+0x5eb3 017155 fetcht 1 ,mem_debug_config 
+0x5eb4 017156 isolate1 tester_pattern_test ,pdata 
+0x5eb5 017157 setflag true ,debug_tx_pattern ,temp 
+0x5eb6 017158 isolate1 tester_fixed_freq ,pdata 
+0x5eb7 017159 setflag true ,debug_tx_fixed_freq ,temp 
+0x5eb8 017160 setflag true ,debug_rx_fixed_freq ,temp 
+0x5eb9 017161 storet 1 ,mem_debug_config 
+0x5eba 017162 fetch 1 ,test_mode_tx_freq 
+0x5ebb 017163 store 1 ,mem_tx_fixed_freq 
+0x5ebc 017164 fetch 1 ,test_mode_rx_freq 
+0x5ebd 017165 store 1 ,mem_rx_fixed_freq 
+0x5ebe 017166 set1 mark_testmode ,mark 
+0x5ebf 017167 rtn 
+:      017169 check_test_exit:
+0x5ec0 017170 set0 mark_testmode ,mark 
+0x5ec1 017171 jam 0 ,mem_tester_emulate 
+0x5ec2 017172 fetch 1 ,mem_test_mode_old_debug_config 
+0x5ec3 017173 store 1 ,mem_debug_config 
+0x5ec4 017174 hfetch 1 ,core_config 
+0x5ec5 017175 and_into 0xfb ,pdata 
+0x5ec6 017176 hstore 1 ,core_config 
+0x5ec7 017177 rtn 
+:      017180 lmp_copy_rand:
+0x5ec8 017181 arg mem_rxbuf + 1 ,contr 
+0x5ec9 017182 arg mem_random_number ,contw 
+0x5eca 017183 branch memcpy16 
+:      017185 lmp_generate_key:
+0x5ecb 017186 jam lmp_comb_key ,mem_lmo_opcode2 
+0x5ecc 017187 rtn 
+:      017189 lmp_start_encryption:
+0x5ecd 017190 nrtn master 
+0x5ece 017191 jam lmp_start_encryption_req ,mem_lmo_opcode2 
+0x5ecf 017192 rtn 
+:      017194 lmp_accept_inrand:
+0x5ed0 017195 arg mem_lap ,rega 
+0x5ed1 017196 call generate_kinit 
+0x5ed2 017197 jam lmp_accepted ,mem_lmo_opcode2 
+0x5ed3 017198 jam lmp_in_rand ,mem_lmi_opcode2 
+0x5ed4 017199 rtn 
+:      017201 lmp_disconnect:
+0x5ed5 017202 jam 10 ,mem_conn_timer 
+0x5ed6 017203 jam lmp_detach ,mem_lmo_opcode2 
+0x5ed7 017204 jam local_host ,mem_disconn_reason_send 
+0x5ed8 017205 rtn 
+:      017211 send_lmp:
+0x5ed9 017212 set1 mark_ext_patch ,mark 
+0x5eda 017213 bpatch patch3c_3 ,mem_patch3c 
+0x5edb 017214 disable user 
+0x5edc 017215 call lmo_fifo_process 
+0x5edd 017216 fetch 1 ,mem_lmp_to_send 
+0x5ede 017217 rtn blank 
+0x5edf 017222 bbit1 7 ,send_lmp_escape 
+0x5ee0 017223 beq lmp_name_req ,send_lmp_name_req 
+0x5ee1 017224 beq lmp_name_res ,send_lmp_name_res 
+0x5ee2 017225 beq lmp_accepted ,send_lmp_accepted 
+0x5ee3 017226 beq lmp_not_accepted ,send_lmp_not_accepted 
+0x5ee4 017227 beq lmp_features_req ,send_lmp_features_req 
+0x5ee5 017228 beq lmp_features_res ,send_lmp_features_res 
+0x5ee6 017229 beq lmp_timing_accuracy_res ,send_lmp_timing_accuracy_res 
+0x5ee7 017230 beq lmp_version_req ,send_lmp_version_req 
+0x5ee8 017231 beq lmp_version_res ,send_lmp_version_res 
+0x5ee9 017232 beq lmp_setup_complete ,send_lmp_setup_complete 
+0x5eea 017233 beq lmp_supervision_timeout ,send_lmp_superto 
+0x5eeb 017234 beq lmp_host_connection_req ,send_lmp_no_payload 
+0x5eec 017235 beq lmp_in_rand ,send_lmp_inrand 
+0x5eed 017236 beq lmp_comb_key ,send_lmp_comb_key 
+0x5eee 017237 beq lmp_au_rand ,send_lmp_aurand 
+0x5eef 017238 beq lmp_sres ,send_lmp_sres 
+0x5ef0 017239 beq lmp_encryption_mode_req ,send_lmp_encryption_mode_req 
+0x5ef1 017240 beq lmp_encryption_key_size_req ,send_lmp_encryption_key_size_req 
+0x5ef2 017241 beq lmp_start_encryption_req ,send_lmp_start_encryption 
+0x5ef3 017242 beq lmp_detach ,send_lmp_detach 
+0x5ef4 017243 beq lmp_quality_of_service_req ,send_lmp_quality_of_service_req 
+0x5ef5 017244 beq lmp_unit_key ,send_lmp_unit_key 
+0x5ef6 017246 beq lmp_sco_link_req ,send_lmp_sco_link_req 
+0x5ef7 017247 beq lmp_clkoffset_res ,send_lmp_clkoffset_res 
+0x5ef8 017248 beq lmp_max_power ,send_lmp_nopayload_reply 
+0x5ef9 017249 beq lmp_max_slot ,send_lmp_max_slot 
+0x5efa 017250 beq lmp_max_slot_req ,send_lmp_max_slot_req 
+0x5efb 017251 beq lmp_min_power ,send_lmp_nopayload_reply 
+0x5efc 017252 beq lmp_remove_sco_link_req ,send_lmp_remove_sco_link_req 
+0x5efd 017253 beq lmp_slot_offset ,send_lmp_slot_offset 
+0x5efe 017254 beq lmp_switch_req ,send_lmp_switch_req 
+0x5eff 017255 beq lmp_sniff_req ,send_lmp_sniff_req 
+0x5f00 017256 beq lmp_stop_encryption_req ,send_lmp_stop_encryption_req 
+0x5f01 017257 beq lmp_timing_accuracy_req ,send_lmp_timing_accuracy_req 
+0x5f02 017258 beq lmp_unsniff_req ,send_lmp_unsniff_req 
+0x5f03 017259 beq lmp_encapsulated_header ,send_lmp_encapsulated_header 
+0x5f04 017260 beq lmp_encapsulated_payload ,send_lmp_encapsulated_payload 
+0x5f05 017261 beq lmp_simple_pairing_confirm ,send_lmp_simple_pairing_comfirm 
+0x5f06 017262 beq lmp_simple_pairing_number ,send_lmp_simple_pairing_number 
+0x5f07 017263 beq lmp_dhkey_check ,send_lmp_dhkey_check 
+0x5f08 017264 beq lmp_auto_rate ,send_lmp_auto_rate 
+0x5f09 017265 beq lmp_enc_key_size_mask_res ,send_lmp_enc_key_size_mask_res 
+0x5f0a 017267 beq lmp_clkoffset_req ,send_lmp_clkoffset_req 
+0x5f0b 017268 beq lmp_quality_of_service ,send_lmp_quality_of_service 
+0x5f0c 017269 beq lmp_test_activate ,send_lmp_test_activate 
+0x5f0d 017270 beq lmp_test_control ,send_lmp_test_control 
+:      017271 send_lmp_error:
+0x5f0e 017272 branch assert 
+0x5f0f 017273 rtn 
+:      017274 send_lmp_escape:
+0x5f10 017275 beq lmp_ext_esco_link_req ,send_lmpext_esco_req 
+0x5f11 017276 beq lmp_ext_remove_esco_req ,send_lmpext_remove_esco 
+0x5f12 017277 beq lmp_ext_accepted ,send_lmpext_accepted 
+0x5f13 017278 beq lmp_ext_features_res ,send_lmpext_features_res 
+0x5f14 017279 beq lmp_not_accepted_ext ,send_lmpext_not_accepted 
+0x5f15 017280 beq lmp_ext_features_req ,send_lmpext_features_req 
+0x5f16 017281 beq lmp_packet_type_table_req ,send_lmpext_packet_type_table_req 
+0x5f17 017282 beq lmp_pause_encryption_req ,send_lmpext_pause_encryption_req 
+0x5f18 017283 beq lmp_io_cap_req ,send_lmp_io_cap_req 
+0x5f19 017284 beq lmp_io_cap_res ,send_lmpext_io_cap_res 
+0x5f1a 017285 beq lmp_sniff_subrating_req ,send_lmpext_sniff_subrating_req 
+0x5f1b 017286 beq lmp_sniff_subrating_res ,send_lmpext_sniff_subrating_res 
+0x5f1c 017287 branch assert 
+:      017293 send_lmp_accepted:
+0x5f1d 017294 force 2 ,pdata 
+0x5f1e 017295 call msg_send_lmp 
+0x5f1f 017296 fetch 1 ,mem_lmi_opcode 
+0x5f20 017297 istore 1 ,contw 
+0x5f21 017298 beq lmp_sco_link_req ,send_lmp_accptsco 
+0x5f22 017299 call send_lmp_follow 
+0x5f23 017300 fetch 1 ,mem_lmi_opcode 
+0x5f24 017301 beq lmp_in_rand ,send_lmp_accepted_inrand 
+0x5f25 017302 beq lmp_encryption_mode_req ,send_lmp_accepted_enc_mode 
+0x5f26 017303 beq lmp_encryption_key_size_req ,send_lmp_accepted_enc_key 
+0x5f27 017304 beq lmp_sniff_req ,send_lmp_accept_sniff_req 
+0x5f28 017305 beq lmp_host_connection_req ,send_lmp_accepted_connection 
+0x5f29 017306 beq lmp_remove_sco_link_req ,send_lmp_accept_remove_sco_link_req 
+0x5f2a 017307 beq lmp_dhkey_check ,send_lmp_accept_dhkey_check 
+0x5f2b 017308 beq lmp_start_encryption_req ,send_create_conn_start_l2cap_timer_sm 
+0x5f2c 017309 rtn 
+:      017311 send_create_conn_start_l2cap_timer_sm:
+0x5f2d 017312 fetch 1 ,mem_conn_sm 
+0x5f2e 017313 rtn blank 
+0x5f2f 017314 jam conn_sm_wait_done ,mem_conn_sm 
+0x5f30 017315 setarg timer_enpt_waite 
+0x5f31 017316 arg enpt_delay_timer ,queue 
+0x5f32 017317 branch timer_init 
+:      017319 send_lmp_accept_sniff_req:
+0x5f33 017320 force 0x02 ,temp 
+0x5f34 017321 call hci_send_mode_change 
+0x5f35 017322 branch sniff_init 
+:      017323 send_lmp_not_accepted:
+0x5f36 017324 force 3 ,pdata 
+0x5f37 017325 call msg_send_lmp 
+0x5f38 017326 fetch 1 ,mem_lmi_opcode 
+0x5f39 017327 beq lmp_au_rand ,send_not_accept_aurand 
+0x5f3a 017328 istore 1 ,contw 
+0x5f3b 017329 fetch 1 ,mem_lmo_reason 
+0x5f3c 017330 istore 1 ,contw 
+0x5f3d 017331 branch send_lmp_follow 
+:      017333 send_not_accept_aurand:
+0x5f3e 017334 istore 1 ,contw 
+0x5f3f 017335 fetch 1 ,mem_lmo_reason 
+0x5f40 017336 istore 1 ,contw 
+0x5f41 017337 arg mem_sres_tid ,temp 
+0x5f42 017338 branch special_tid_store 
+:      017340 send_lmpext_accepted:
+0x5f43 017341 force 4 ,queue 
+0x5f44 017342 call send_lmpext 
+0x5f45 017343 setarg lmp_escape 
+0x5f46 017344 istore 1 ,contw 
+0x5f47 017345 fetch 1 ,mem_lmi_opcode 
+0x5f48 017346 set0 7 ,pdata 
+0x5f49 017347 istore 1 ,contw 
+0x5f4a 017348 fetch 1 ,mem_lmi_opcode 
+0x5f4b 017349 beq lmp_ext_esco_link_req ,send_lmp_accptsco 
+0x5f4c 017350 call send_lmp_follow 
+0x5f4d 017351 fetch 1 ,mem_lmi_opcode 
+0x5f4e 017352 beq lmp_ext_remove_esco_req ,send_lmp_accept_remove_sco_link_req 
+0x5f4f 017353 rtn 
+:      017355 send_lmpext_not_accepted:
+0x5f50 017356 force 5 ,queue 
+0x5f51 017357 call send_lmpext 
+0x5f52 017358 setarg lmp_escape 
+0x5f53 017359 istore 1 ,contw 
+0x5f54 017360 fetch 1 ,mem_lmi_opcode 
+0x5f55 017361 set0 7 ,pdata 
+0x5f56 017362 istore 1 ,contw 
+0x5f57 017363 fetch 1 ,mem_lmo_reason 
+0x5f58 017364 istore 1 ,contw 
+0x5f59 017365 branch send_lmp_follow 
+:      017367 send_lmp_accptsco:
+0x5f5a 017368 call play_sco 
+0x5f5b 017369 arg mem_accptsco_tid ,temp 
+0x5f5c 017370 branch special_tid_store 
+:      017373 send_lmp_accepted_inrand:
+0x5f5d 017374 call clear_linkkey 
+0x5f5e 017375 call tid_check 
+0x5f5f 017376 rtn true 
+0x5f60 017377 branch lmp_generate_key 
+:      017379 send_lmp_accepted_enc_mode:
+0x5f61 017380 fetch 1 ,mem_op 
+0x5f62 017381 bbit1 op_start_enc ,send_lmp_accepted_enc_start 
+0x5f63 017382 rtnbit0 op_stop_enc 
+0x5f64 017383 jam lmp_stop_encryption_req ,mem_lmo_opcode2 
+0x5f65 017384 set0 op_stop_enc ,pdata 
+0x5f66 017385 call tid_reply 
+0x5f67 017386 branch send_lmp_accepted_enc_exit 
+:      017387 send_lmp_accepted_enc_start:
+0x5f68 017388 jam lmp_encryption_key_size_req ,mem_lmo_opcode2 
+0x5f69 017389 set0 op_start_enc ,pdata 
+:      017390 send_lmp_accepted_enc_exit:
+0x5f6a 017391 store 1 ,mem_op 
+0x5f6b 017392 rtn 
+:      017394 send_lmp_accepted_enc_key:
+0x5f6c 017395 call check_localsm 
+0x5f6d 017396 branch lmp_start_encryption ,true 
+0x5f6e 017397 rtn 
+:      017399 send_lmp_accepted_connection:
+0x5f6f 017401 fetch 1 ,mem_lmp_conn_state 
+0x5f70 017402 set1 received_conn_req ,pdata 
+0x5f71 017403 store 1 ,mem_lmp_conn_state 
+0x5f72 017404 jam bt_evt_bb_connected ,mem_fifo_temp 
+0x5f73 017405 branch ui_ipc_send_event 
+:      017408 send_lmp_accept_remove_sco_link_req:
+0x5f74 017409 rtn 
+:      017411 send_lmp_accept_dhkey_check:
+0x5f75 017412 rtn 
+:      017416 send_lmpext_features_res:
+0x5f76 017417 force 12 ,queue 
+0x5f77 017418 call send_lmpext 
+0x5f78 017419 setarg 0x01 
+0x5f79 017420 istore 1 ,contw 
+0x5f7a 017421 fetch 2 ,mem_lmpext_ssp_enable 
+0x5f7b 017422 istore 2 ,contw 
+0x5f7c 017423 setarg 0 
+0x5f7d 017424 istore 3 ,contw 
+0x5f7e 017425 setarg 0x00 
+0x5f7f 017426 istore 4 ,contw 
+0x5f80 017427 branch send_lmp_reply 
+:      017428 send_lmpext_io_cap_res:
+0x5f81 017430 force 5 ,queue 
+0x5f82 017431 call send_lmpext 
+0x5f83 017432 fetch 1 ,mem_device_option 
+0x5f84 017433 beq dvc_op_hci ,send_lmpext_io_cap_res_hci 
+0x5f85 017434 setarg 0x040003 
+0x5f86 017435 istore 3 ,contw 
+0x5f87 017436 store 3 ,mem_sp_iocap_local 
+0x5f88 017437 branch send_lmp_reply 
+:      017438 send_lmpext_io_cap_res_hci:
+0x5f89 017439 fetch 3 ,mem_sp_iocap_local 
+0x5f8a 017440 istore 3 ,contw 
+0x5f8b 017441 branch send_lmp_reply 
+:      017443 send_lmp_io_cap_req:
+0x5f8c 017444 force 5 ,queue 
+0x5f8d 017445 call send_lmpext 
+0x5f8e 017446 fetch 3 ,mem_sp_iocap_local 
+0x5f8f 017447 istore 3 ,contw 
+0x5f90 017448 branch send_lmp_request 
+:      017451 send_lmpext_sniff_subrating_req:
+0x5f91 017453 rtn 
+:      017454 send_lmpext_sniff_subrating_res:
+0x5f92 017455 force 9 ,queue 
+0x5f93 017456 call send_lmpext 
+0x5f94 017457 fetch 1 ,mem_subsniff_rate 
+0x5f95 017458 istore 1 ,contw 
+0x5f96 017459 fetch 2 ,mem_subsniff_tcmax 
+0x5f97 017460 istore 2 ,contw 
+0x5f98 017461 fetch 4 ,mem_subsniff_instant 
+0x5f99 017462 istore 4 ,contw 
+0x5f9a 017463 branch send_lmp_reply 
+:      017465 send_lmp_name_res:
+0x5f9b 017466 force 17 ,pdata 
+0x5f9c 017467 call msg_send_lmp 
+0x5f9d 017468 fetch 1 ,mem_lmi_opcode 
+0x5f9e 017469 copy pdata ,temp 
+0x5f9f 017470 beq 0x00 ,send_lmp_name_res_offset_ok 
+0x5fa0 017471 beq 0x0e ,send_lmp_name_res_offset_ok 
+0x5fa1 017472 beq 0x1c ,send_lmp_name_res_offset_ok 
+0x5fa2 017473 rtn 
+:      017474 send_lmp_name_res_offset_ok:
+0x5fa3 017475 istore 1 ,contw 
+0x5fa4 017476 fetch 1 ,mem_local_name_length 
+0x5fa5 017477 istore 1 ,contw 
+0x5fa6 017478 copy pdata ,loopcnt 
+0x5fa7 017479 setarg mem_local_name 
+0x5fa8 017480 iadd temp ,contr 
+0x5fa9 017481 call memcpy 
+0x5faa 017482 branch send_lmp_reply 
+:      017485 send_lmp_timing_accuracy_res:
+0x5fab 017486 force 3 ,pdata 
+0x5fac 017487 call msg_send_lmp 
+0x5fad 017488 setarg 0x0114 
+0x5fae 017489 istore 2 ,contw 
+0x5faf 017490 branch send_lmp_reply 
+:      017492 send_lmp_clkoffset_res:
+0x5fb0 017494 force 3 ,pdata 
+0x5fb1 017495 call msg_send_lmp 
+0x5fb2 017496 fetch 4 ,mem_clke_bt 
+0x5fb3 017497 isub clkn_bt ,pdata 
+0x5fb4 017498 branch send_lmp_clkoffset_res_master ,master 
+0x5fb5 017499 sub pdata ,0 ,pdata 
+:      017500 send_lmp_clkoffset_res_master:
+0x5fb6 017502 rshift2 pdata ,pdata 
+0x5fb7 017503 set0 15 ,pdata 
+0x5fb8 017504 istore 2 ,contw 
+0x5fb9 017505 branch send_lmp_reply 
+:      017507 send_lmp_version_res:
+0x5fba 017508 force 6 ,pdata 
+0x5fbb 017509 call msg_send_lmp 
+0x5fbc 017510 fetch 5 ,mem_lmp_version 
+0x5fbd 017511 istore 5 ,contw 
+0x5fbe 017512 branch send_lmp_reply 
+:      017514 send_lmp_features_res:
+0x5fbf 017515 force 9 ,pdata 
+0x5fc0 017516 call msg_send_lmp 
+0x5fc1 017517 fetch 8 ,mem_features 
+0x5fc2 017518 istore 8 ,contw 
+0x5fc3 017519 branch send_lmp_reply 
+:      017525 send_lmpext_esco_req:
+0x5fc4 017526 branch send_lmpext_esco_req_master ,master 
+0x5fc5 017529 branch send_lmpext_esco_req_slave 
+:      017530 send_lmpext_esco_req_master:
+0x5fc6 017531 jam 0x07 ,mem_esco_addr 
+:      017532 send_lmpext_esco_req_slave:
+0x5fc7 017533 jam 0 ,mem_esco_desco 
+0x5fc8 017534 force 16 ,queue 
+0x5fc9 017535 call send_lmpext 
+0x5fca 017536 fetch 1 ,mem_sco_handle 
+0x5fcb 017537 istore 1 ,contw 
+0x5fcc 017538 fetch 1 ,mem_esco_addr 
+0x5fcd 017539 istore 1 ,contw 
+0x5fce 017540 setarg 0 
+0x5fcf 017541 istore 1 ,contw 
+0x5fd0 017542 fetch 1 ,mem_esco_desco 
+0x5fd1 017543 istore 1 ,contw 
+0x5fd2 017544 setarg 6 
+0x5fd3 017545 istore 1 ,contw 
+0x5fd4 017546 setarg 2 
+0x5fd5 017547 istore 1 ,contw 
+0x5fd6 017548 setarg 7 
+0x5fd7 017549 istore 1 ,contw 
+0x5fd8 017550 istore 1 ,contw 
+0x5fd9 017551 setarg 30 
+0x5fda 017552 istore 2 ,contw 
+0x5fdb 017553 istore 2 ,contw 
+0x5fdc 017554 fetch 1 ,mem_air_mode 
+0x5fdd 017555 istore 1 ,contw 
+0x5fde 017556 fetch 1 ,mem_neogotiation_state 
+0x5fdf 017557 istore 1 ,contw 
+0x5fe0 017558 nbranch send_lmp_reply ,blank 
+0x5fe1 017559 branch send_lmp_reply ,master 
+0x5fe2 017560 branch send_lmp_request 
+:      017562 send_lmpext_remove_esco:
+0x5fe3 017563 force 4 ,queue 
+0x5fe4 017564 call send_lmpext 
+0x5fe5 017565 fetch 1 ,mem_sco_handle 
+0x5fe6 017566 istore 1 ,contw 
+0x5fe7 017567 fetch 1 ,mem_disconn_reason_send 
+0x5fe8 017568 istore 1 ,contw 
+0x5fe9 017569 fetch 1 ,mem_esco_saved_arq 
+0x5fea 017570 store 1 ,mem_arq 
+0x5feb 017571 branch send_lmp_request 
+:      017574 send_lmpext_features_req:
+0x5fec 017575 force 12 ,queue 
+0x5fed 017576 call send_lmpext 
+0x5fee 017577 setarg 0x01 
+0x5fef 017578 istore 1 ,contw 
+0x5ff0 017579 fetch 2 ,mem_lmpext_ssp_enable 
+0x5ff1 017580 istore 2 ,contw 
+0x5ff2 017581 setarg 0 
+0x5ff3 017582 istore 3 ,contw 
+0x5ff4 017583 setarg 0x00 
+0x5ff5 017584 istore 4 ,contw 
+0x5ff6 017585 branch send_lmp_request 
+:      017587 send_lmpext_packet_type_table_req:
+0x5ff7 017588 force 3 ,queue 
+0x5ff8 017589 call send_lmpext 
+0x5ff9 017590 fetch 1 ,mem_ptt 
+0x5ffa 017591 istore 1 ,contw 
+0x5ffb 017592 disable user 
+0x5ffc 017593 call send_lmp_request 
+0x5ffd 017594 nrtn user 
+0x5ffe 017595 nrtn master 
+0x5fff 017596 fetch 1 ,mem_afh_cfg 
+0x6000 017597 rtnbit0 afh_cfg_on 
+0x6001 017598 call afh_init 
+0x6002 017599 branch afh_open_all_channels 
+:      017602 ssp_enable:
+0x6003 017603 fetch 1 ,mem_features + 6 
+0x6004 017604 set1 param_featrue_ssp ,pdata 
+0x6005 017605 store 1 ,mem_features + 6 
+0x6006 017606 setarg param_lmpext_ssp_enable 
+0x6007 017607 store 2 ,mem_lmpext_ssp_enable 
+0x6008 017608 rtn 
+:      017610 ssp_disable:
+0x6009 017611 fetch 1 ,mem_features + 6 
+0x600a 017612 set0 param_featrue_ssp ,pdata 
+0x600b 017613 store 1 ,mem_features + 6 
+0x600c 017614 setarg 0 
+0x600d 017615 store 2 ,mem_lmpext_ssp_enable 
+0x600e 017616 rtn 
+:      017618 afh_init:
+0x600f 017619 jam 0x3 ,mem_afh_cfg 
+0x6010 017620 setarg 0 
+0x6011 017621 store 4 ,mem_afh_timer 
+0x6012 017622 arg mem_afh_map_lo ,contw 
+0x6013 017623 call afh_reset_map 
+0x6014 017624 arg mem_afh_map_new ,contw 
+0x6015 017625 call afh_reset_map 
+0x6016 017626 arg mem_afh_classify_channel_map ,contw 
+0x6017 017627 call afh_reset_map 
+0x6018 017628 branch afh_clear_error_counter 
+:      017629 afh_open_all_channels:
+0x6019 017630 arg mem_afh_map_new ,contw 
+0x601a 017631 call afh_reset_map 
+0x601b 017632 call afh_clear_error_counter 
+0x601c 017633 branch afh_set_send_flag 
+:      017636 afh_open_classify_map:
+0x601d 017637 fetch 5 ,mem_afh_classify_channel_map 
+0x601e 017638 store 5 ,mem_afh_map_new 
+0x601f 017639 ifetch 5 ,contr 
+0x6020 017640 istore 5 ,contw 
+0x6021 017641 call afh_clear_error_counter 
+0x6022 017642 branch afh_set_send_flag 
+:      017644 afh_reset_map:
+0x6023 017645 setarg 0xffffff 
+0x6024 017646 istore 3 ,contw 
+0x6025 017647 istore 3 ,contw 
+0x6026 017648 istore 3 ,contw 
+0x6027 017649 setarg 0x7f 
+0x6028 017650 istore 1 ,contw 
+0x6029 017651 rtn 
+:      017652 afh_clear_error_counter:
+0x602a 017653 setarg 0 
+0x602b 017654 store 2 ,mem_afh_error_total 
+0x602c 017655 rtn 
+:      017656 afh_set_send_flag:
+0x602d 017657 fetch 1 ,mem_afh_cfg 
+0x602e 017658 set1 send_lmp_set_afh ,pdata 
+0x602f 017659 store 1 ,mem_afh_cfg 
+0x6030 017660 rtn 
+:      017661 send_set_afh:
+0x6031 017662 nrtn master 
+0x6032 017663 force 16 ,pdata 
+0x6033 017664 call msg_send_lmp 
+0x6034 017665 deposit clkn_bt 
+0x6035 017666 arg 476 ,temp 
+0x6036 017667 iadd temp ,pdata 
+0x6037 017668 rshift pdata ,pdata 
+0x6038 017669 increase 1 ,pdata 
+0x6039 017670 set0 0 ,pdata 
+0x603a 017671 istore 4 ,contw 
+0x603b 017672 copy pdata ,temp 
+0x603c 017673 setarg 1 
+0x603d 017674 istore 1 ,contw 
+0x603e 017675 fetch 5 ,mem_afh_map_new 
+0x603f 017676 istore 5 ,contw 
+0x6040 017677 ifetch 5 ,contr 
+0x6041 017678 istore 5 ,contw 
+0x6042 017679 lshift temp ,temp 
+0x6043 017680 storet 4 ,mem_afh_instant 
+0x6044 017681 call send_lmp_request 
+0x6045 017682 fetch 1 ,mem_mode 
+0x6046 017683 set1 afh_change ,pdata 
+0x6047 017684 store 1 ,mem_mode 
+0x6048 017685 jam 1 ,mem_afh_new_mod 
+0x6049 017686 fetch 4 ,mem_afh_instant 
+0x604a 017687 arg timer_one_minute ,temp 
+0x604b 017688 iadd temp ,pdata 
+0x604c 017689 store 4 ,mem_afh_timer 
+0x604d 017690 fetch 1 ,mem_afh_cfg 
+0x604e 017691 rtnbit1 afh_cfg_master_sent_req 
+0x604f 017692 jam lmp_ext_chn_classification_req ,mem_lmo_opcode2 
+0x6050 017693 rtn 
+:      017696 send_lmpext_pause_encryption_req:
+0x6051 017697 force 2 ,queue 
+0x6052 017698 call send_lmpext 
+0x6053 017699 nbranch send_lmp_reply ,master 
+0x6054 017701 branch send_lmp_request 
+:      017705 send_lmp_detach:
+0x6055 017706 force 2 ,pdata 
+0x6056 017707 call msg_send_lmp 
+0x6057 017708 fetch 1 ,mem_disconn_reason_send 
+0x6058 017709 istore 1 ,contw 
+0x6059 017710 call send_lmp_request 
+:      017711 prepare_disconnect:
+0x605a 017712 fetch 1 ,mem_op 
+0x605b 017713 set1 op_disconn ,pdata 
+0x605c 017714 store 1 ,mem_op 
+0x605d 017715 jam 50 ,mem_conn_timer 
+0x605e 017716 rtn 
+:      017719 send_lmp_no_payload:
+0x605f 017720 force 1 ,pdata 
+0x6060 017721 call msg_send_lmp 
+0x6061 017722 branch send_lmp_request 
+:      017723 send_lmp_nopayload_reply:
+0x6062 017724 force 1 ,pdata 
+0x6063 017725 call msg_send_lmp 
+0x6064 017726 branch send_lmp_reply 
+:      017729 send_lmp_encryption_mode_req:
+0x6065 017730 force 2 ,pdata 
+0x6066 017731 call msg_send_lmp 
+0x6067 017732 fetch 1 ,mem_state_map 
+0x6068 017733 isolate0 smap_encryption ,pdata 
+0x6069 017734 setflag true ,0 ,pdata 
+0x606a 017735 and_into 1 ,pdata 
+0x606b 017736 istore 1 ,contw 
+0x606c 017737 branch send_lmp_request 
+:      017740 send_lmp_superto:
+0x606d 017741 force 3 ,pdata 
+0x606e 017742 call msg_send_lmp 
+0x606f 017743 fetch 2 ,mem_supervision_to 
+0x6070 017744 istore 2 ,contw 
+0x6071 017745 branch send_lmp_request 
+:      017747 send_lmp_name_req:
+0x6072 017748 jam 250 ,mem_conn_timer 
+0x6073 017749 force 2 ,pdata 
+0x6074 017750 call msg_send_lmp 
+0x6075 017751 fetch 1 ,mem_name_offset 
+0x6076 017752 istore 1 ,contw 
+0x6077 017753 branch send_lmp_request 
+:      017755 send_lmp_test_control:
+0x6078 017756 force 10 ,pdata 
+0x6079 017757 call msg_send_lmp 
+0x607a 017758 arg mem_temp_payload ,contr 
+0x607b 017759 force 9 ,loopcnt 
+:      017760 send_lmp_test_control_loop:
+0x607c 017761 ifetch 1 ,contr 
+0x607d 017762 xor_into 0x55 ,pdata 
+0x607e 017763 istore 1 ,contw 
+0x607f 017764 loop send_lmp_test_control_loop 
+0x6080 017765 branch send_lmp_request 
+:      017767 send_lmp_quality_of_service_req:
+0x6081 017768 branch send_lmp_request 
+:      017769 send_lmp_unit_key:
+0x6082 017770 branch send_lmp_request 
+:      017772 send_lmp_slot_offset:
+0x6083 017773 rtn master 
+0x6084 017774 call calc_slot_offset 
+0x6085 017775 force 9 ,pdata 
+0x6086 017776 call msg_send_lmp 
+0x6087 017777 fetch 2 ,mem_slot_offset 
+0x6088 017778 istore 2 ,contw 
+0x6089 017779 fetch 3 ,mem_lap 
+0x608a 017780 istore 3 ,contw 
+0x608b 017781 fetch 1 ,mem_uap 
+0x608c 017782 istore 1 ,contw 
+0x608d 017783 fetch 2 ,mem_nap 
+0x608e 017784 istore 2 ,contw 
+0x608f 017785 bmark0 mark_switch_initiated ,send_lmp_slot_offset_reply 
+0x6090 017786 set0 mark_switch_initiated ,mark 
+0x6091 017787 call send_lmp_request 
+0x6092 017788 jam lmp_switch_req ,mem_lmo_opcode2 
+0x6093 017789 rtn 
+:      017790 send_lmp_slot_offset_reply:
+0x6094 017791 call send_lmp_reply 
+0x6095 017792 jam lmp_accepted ,mem_lmo_opcode2 
+0x6096 017793 jam lmp_switch_req ,mem_lmi_opcode2 
+0x6097 017794 rtn 
+:      017796 send_lmp_switch_req:
+0x6098 017797 arg 0x200 ,temp 
+0x6099 017798 branch switch_on_native ,master 
+0x609a 017799 deposit clke_bt 
+0x609b 017800 branch switch_slack 
+:      017801 switch_on_native:
+0x609c 017802 deposit clkn_bt 
+:      017803 switch_slack:
+0x609d 017804 deposit bt_clk 
+0x609e 017805 iadd temp ,pdata 
+0x609f 017806 and_into 0x1fc ,pdata 
+0x60a0 017807 store 4 ,mem_sniff_anchor 
+0x60a1 017808 force 5 ,pdata 
+0x60a2 017809 call msg_send_lmp 
+0x60a3 017810 fetch 4 ,mem_sniff_anchor 
+0x60a4 017811 rshift pdata ,pdata 
+0x60a5 017812 istore 4 ,contw 
+0x60a6 017813 branch send_lmp_request 
+:      017815 send_lmp_sniff_req:
+0x60a7 017816 force 10 ,pdata 
+0x60a8 017817 call msg_send_lmp 
+0x60a9 017818 arg mem_sniff_payload ,contr 
+0x60aa 017819 ifetch 9 ,contr 
+0x60ab 017820 istore 9 ,contw 
+0x60ac 017821 branch send_lmp_request 
+:      017824 send_lmp_timing_accuracy_req:
+0x60ad 017826 force 3 ,pdata 
+0x60ae 017827 call msg_send_lmp 
+0x60af 017828 setarg 0x0114 
+0x60b0 017829 istore 2 ,contw 
+0x60b1 017830 branch send_lmp_request 
+:      017832 send_lmp_unsniff_req:
+0x60b2 017834 force 1 ,pdata 
+0x60b3 017835 call msg_send_lmp 
+0x60b4 017844 branch send_lmp_request 
+:      017846 send_lmp_sco_link_req:
+0x60b5 017847 branch send_lmp_sco_link_master ,master 
+0x60b6 017848 jam 0x00 ,mem_sco_handle 
+0x60b7 017849 fetch 1 ,mem_mode 
+0x60b8 017850 set1 send_sco_when_slave ,pdata 
+0x60b9 017851 store 1 ,mem_mode 
+:      017852 send_lmp_sco_link_master:
+0x60ba 017853 jam 0 ,mem_esco_desco 
+0x60bb 017854 force 7 ,pdata 
+0x60bc 017855 call msg_send_lmp 
+0x60bd 017856 fetch 1 ,mem_sco_handle 
+0x60be 017857 istore 1 ,contw 
+0x60bf 017858 setarg 0x00 
+0x60c0 017859 istore 1 ,contw 
+0x60c1 017860 fetch 1 ,mem_esco_desco 
+0x60c2 017861 istore 1 ,contw 
+0x60c3 017862 setarg 0x06 
+0x60c4 017863 istore 1 ,contw 
+0x60c5 017864 setarg 0x02 
+0x60c6 017865 istore 1 ,contw 
+0x60c7 017866 fetch 1 ,mem_air_mode 
+0x60c8 017867 istore 1 ,contw 
+0x60c9 017868 branch send_lmp_reply ,master 
+0x60ca 017869 branch send_lmp_tid 
+:      017871 send_lmp_remove_sco_link_req:
+0x60cb 017873 force 3 ,pdata 
+0x60cc 017874 call msg_send_lmp 
+0x60cd 017875 fetch 1 ,mem_sco_handle 
+0x60ce 017876 istore 1 ,contw 
+0x60cf 017877 force other_end_terminated ,pdata 
+0x60d0 017878 istore 1 ,contw 
+0x60d1 017879 branch send_lmp_request 
+:      017881 send_lmp_max_slot:
+0x60d2 017882 force 2 ,pdata 
+0x60d3 017883 call msg_send_lmp 
+0x60d4 017884 fetch 1 ,mem_max_slot 
+0x60d5 017885 istore 1 ,contw 
+0x60d6 017886 branch send_lmp_request 
+:      017889 send_lmp_max_slot_req:
+0x60d7 017890 force 2 ,pdata 
+0x60d8 017891 call msg_send_lmp 
+0x60d9 017892 setarg 0x05 
+0x60da 017893 istore 1 ,contw 
+0x60db 017894 branch send_lmp_request 
+:      017896 send_lmp_setup_complete:
+0x60dc 017897 fetch 1 ,mem_state 
+0x60dd 017898 set1 state_conn_comp ,pdata 
+0x60de 017899 store 1 ,mem_state 
+0x60df 017900 copy clkn_bt ,pdata 
+0x60e0 017901 store 4 ,mem_aurand_send_delay_time 
+0x60e1 017902 fetch 1 ,mem_lmp_conn_state 
+0x60e2 017903 bbit1 sent_setup_complete ,send_lmp_setup_complete_has_sent 
+0x60e3 017904 set1 sent_setup_complete ,pdata 
+0x60e4 017905 store 1 ,mem_lmp_conn_state 
+0x60e5 017906 jam bt_evt_setup_complete ,mem_fifo_temp 
+0x60e6 017907 call ui_ipc_send_event 
+0x60e7 017908 call hci_send_connection_complete 
+0x60e8 017909 force 1 ,pdata 
+0x60e9 017910 call msg_send_lmp 
+0x60ea 017911 branch send_lmp_request 
+:      017912 send_lmp_setup_complete_has_sent:
+0x60eb 017913 jam 0 ,mem_lmp_to_send 
+0x60ec 017914 rtn 
+:      017916 send_lmp_version_req:
+0x60ed 017917 force 6 ,pdata 
+0x60ee 017918 call msg_send_lmp 
+0x60ef 017919 fetch 5 ,mem_lmp_version 
+0x60f0 017920 istore 5 ,contw 
+0x60f1 017921 branch send_lmp_request 
+:      017923 send_lmp_features_req:
+0x60f2 017924 force 9 ,pdata 
+0x60f3 017925 call msg_send_lmp 
+0x60f4 017926 fetch 8 ,mem_features 
+0x60f5 017927 istore 8 ,contw 
+0x60f6 017928 branch send_lmp_request 
+:      017930 sp_master_send_io_cap_get:
+0x60f7 017931 call hci_send_io_cap_req_event 
+0x60f8 017932 fetch 1 ,mem_device_option 
+0x60f9 017933 beq dvc_op_hci ,sp_master_send_io_cap_get_hci 
+0x60fa 017934 jam sp_flag_commit ,mem_master_sp_flag 
+0x60fb 017935 fetch 1 ,mem_sp_local_key_invalid 
+0x60fc 017936 rtnne sp_key_valid 
+:      017937 sp_master_send_io_cap_get_hci:
+0x60fd 017938 jam sp_master_stat_start_done ,mem_master_sp_state 
+0x60fe 017939 rtn 
+:      017941 sp_master_send_io_cap_send:
+0x60ff 017942 call tid_initiate 
+0x6100 017943 jam lmp_io_cap_req ,mem_lmo_opcode2 
+0x6101 017944 jam sp_stat_key_send ,mem_master_sp_state 
+0x6102 017945 rtn 
+:      017948 sp_master_send_lmp_encapsulated_header:
+0x6103 017949 call tid_initiate 
+0x6104 017950 jam lmp_encapsulated_header ,mem_lmo_opcode2 
+0x6105 017951 jam sp_stat_random_send ,mem_master_sp_state 
+0x6106 017952 rtn 
+:      017954 sp_master_commitment_compare:
+0x6107 017955 arg mem_sp_calc_result_high ,rega 
+0x6108 017956 arg mem_sp_confirm_remote ,regb 
+0x6109 017957 arg 16 ,loopcnt 
+0x610a 017958 call string_compare 
+0x610b 017959 branch sp_master_commitment_compare_success ,zero 
+0x610c 017960 jam sp_stat_null ,mem_master_sp_state 
+0x610d 017961 call master_clear_mem_master_sp_flag 
+0x610e 017962 jam pdu_not_allowed ,mem_lmo_reason2 
+0x610f 017963 jam lmp_simple_pairing_number ,mem_lmi_opcode2 
+0x6110 017964 branch reject_lmp_packet 
+:      017965 sp_master_commitment_compare_success:
+0x6111 017966 jam sp_stat_confirm_calc ,mem_master_sp_state 
+0x6112 017967 call master_set_mem_master_sp_flag 
+0x6113 017968 jam lmp_simple_pairing_number ,mem_lmi_opcode2 
+0x6114 017969 branch accept_lmp_msg 
+:      017973 sp_master_send_lmp_simple_pairing_number:
+0x6115 017974 jam lmp_simple_pairing_number ,mem_lmo_opcode2 
+0x6116 017975 rtn 
+:      017979 sp_send_lmp_encapsulated_header:
+0x6117 017982 jam lmp_encapsulated_header ,mem_lmo_opcode2 
+0x6118 017984 rtn 
+:      017990 send_lmp_encapsulated_header:
+0x6119 017991 jam 0 ,mem_sp_local_key_send_count 
+0x611a 017992 force 4 ,pdata 
+0x611b 017993 call msg_send_lmp 
+0x611c 017994 force encapsulated_major_type_p192 ,pdata 
+0x611d 017995 istore 1 ,contw 
+0x611e 017996 force encapsulated_minor_type_p192 ,pdata 
+0x611f 017997 istore 1 ,contw 
+0x6120 017998 force encapsulated_len_p192 ,pdata 
+0x6121 017999 istore 1 ,contw 
+0x6122 018000 call check_localsm 
+0x6123 018001 branch send_lmp_request ,true 
+0x6124 018002 branch send_lmp_reply 
+:      018004 send_lmp_encapsulated_payload:
+0x6125 018006 force 17 ,pdata 
+0x6126 018007 call msg_send_lmp 
+0x6127 018008 fetch 1 ,mem_sp_local_key_send_count 
+0x6128 018009 arg mem_sp_pubkey_local ,contr 
+0x6129 018010 iadd contr ,contr 
+0x612a 018011 ifetch 8 ,contr 
+0x612b 018012 istore 8 ,contw 
+0x612c 018013 ifetch 8 ,contr 
+0x612d 018014 istore 8 ,contw 
+0x612e 018015 fetch 1 ,mem_sp_local_key_send_count 
+0x612f 018016 increase 16 ,pdata 
+0x6130 018017 store 1 ,mem_sp_local_key_send_count 
+0x6131 018018 call check_localsm 
+0x6132 018019 branch send_lmp_request ,true 
+0x6133 018020 branch send_lmp_reply 
+:      018023 sp_send_lmp_simple_pairing_comfirm:
+0x6134 018024 jam sp_stat_random_recv ,mem_sp_state 
+0x6135 018025 jam lmp_simple_pairing_confirm ,mem_lmo_opcode2 
+0x6136 018026 rtn 
+:      018027 send_lmp_simple_pairing_comfirm:
+0x6137 018030 force 17 ,pdata 
+0x6138 018031 call msg_send_lmp 
+0x6139 018032 arg mem_sp_calc_result_high ,contr 
+0x613a 018033 ifetch 8 ,contr 
+0x613b 018034 istore 8 ,contw 
+0x613c 018035 ifetch 8 ,contr 
+0x613d 018036 istore 8 ,contw 
+0x613e 018037 branch send_lmp_reply 
+:      018039 sp_send_lmp_simple_pairing_number:
+0x613f 018040 call lmo_fifo_process 
+0x6140 018042 jam lmp_simple_pairing_number ,mem_lmo_opcode2 
+0x6141 018043 rtn 
+:      018045 send_lmp_simple_pairing_number:
+0x6142 018047 call check_localsm 
+0x6143 018048 call sp_local_random_key_generator ,true 
+0x6144 018049 force 17 ,pdata 
+0x6145 018050 call msg_send_lmp 
+0x6146 018051 arg mem_sp_random_local ,contr 
+0x6147 018052 ifetch 8 ,contr 
+0x6148 018053 istore 8 ,contw 
+0x6149 018054 ifetch 8 ,contr 
+0x614a 018055 istore 8 ,contw 
+0x614b 018056 call check_localsm 
+0x614c 018057 nbranch send_lmp_reply ,true 
+0x614d 018058 branch send_lmp_request ,true 
+:      018060 master_sp_sm_end:
+0x614e 018062 jam sp_stat_done ,mem_master_sp_state 
+:      018063 sp_aurand_send:
+0x614f 018064 call tid_initiate 
+0x6150 018065 jam lmp_au_rand ,mem_lmo_opcode2 
+0x6151 018066 call check_localsm_master 
+0x6152 018067 branch sp_master_key_prarm_push ,true 
+0x6153 018068 branch sp_link_key_prarm_push 
+:      018069 master_sp_send_lmp_dhkey_check:
+0x6154 018070 call tid_reply 
+:      018071 sp_send_lmp_dhkey_check:
+0x6155 018072 jam lmp_dhkey_check ,mem_lmo_opcode2 
+0x6156 018073 rtn 
+:      018074 send_lmp_dhkey_check:
+0x6157 018076 force 17 ,pdata 
+0x6158 018077 call msg_send_lmp 
+0x6159 018078 arg mem_sp_calc_result_high ,contr 
+0x615a 018079 ifetch 8 ,contr 
+0x615b 018080 istore 8 ,contw 
+0x615c 018081 ifetch 8 ,contr 
+0x615d 018082 istore 8 ,contw 
+0x615e 018083 call check_localsm 
+0x615f 018084 nbranch send_lmp_reply ,true 
+0x6160 018085 branch send_lmp_request ,true 
+:      018087 send_lmp_enc_key_size_mask_res:
+0x6161 018088 force 3 ,pdata 
+0x6162 018089 call msg_send_lmp 
+0x6163 018090 setarg 0xfffe 
+0x6164 018091 istore 2 ,contw 
+0x6165 018092 branch send_lmp_reply 
+:      018094 send_lmp_auto_rate:
+0x6166 018095 branch send_lmp_request 
+:      018096 send_lmp_clkoffset_req:
+0x6167 018097 branch send_lmp_request 
+:      018098 send_lmp_quality_of_service:
+0x6168 018099 branch send_lmp_request 
+:      018100 send_lmp_test_activate:
+0x6169 018101 branch send_lmp_request 
+:      018106 send_lmp_comb_key:
+0x616a 018107 call generate_random_number 
+0x616b 018108 arg mem_lap ,rega 
+0x616c 018109 call generate_linkkey 
+0x616d 018110 force 17 ,pdata 
+0x616e 018111 call msg_send_lmp 
+0x616f 018112 arg mem_kinit ,rega 
+0x6170 018113 arg mem_random_number ,regb 
+0x6171 018114 call xor16 
+0x6172 018115 nbranch send_lmp_follow ,master 
+0x6173 018116 branch send_lmp_tid 
+:      018118 send_lmp_inrand:
+0x6174 018119 call generate_random_number 
+0x6175 018120 arg mem_plap ,rega 
+0x6176 018121 call generate_kinit 
+:      018122 send_lmp_rand:
+0x6177 018123 force 17 ,pdata 
+0x6178 018124 call msg_send_lmp 
+0x6179 018125 arg mem_random_number ,contr 
+0x617a 018126 call memcpy16 
+0x617b 018127 fetch 1 ,mem_conn_sm 
+0x617c 018128 beq conn_sm_auth_wait ,send_lmp_request 
+0x617d 018129 beq conn_sm_pairing_wait ,send_lmp_request 
+0x617e 018130 branch send_lmp_tid 
+:      018132 send_lmp_aurand:
+0x617f 018133 fetch 1 ,mem_pairing_auth 
+0x6180 018134 branch send_lmp_aurand_notpairing ,blank 
+0x6181 018135 call check_localsm 
+0x6182 018136 call tid_initiate ,true 
+0x6183 018137 ncall tid_reply ,true 
+0x6184 018138 branch send_lmp_aurand_common 
+:      018139 send_lmp_aurand_notpairing:
+0x6185 018140 call tid_initiate 
+:      018141 send_lmp_aurand_common:
+0x6186 018142 call generate_random_number 
+0x6187 018143 branch send_lmp_rand 
+:      018145 send_lmp_sres:
+0x6188 018146 arg mem_lap ,rega 
+0x6189 018147 call function_e1 
+0x618a 018148 force 5 ,pdata 
+0x618b 018149 call msg_send_lmp 
+0x618c 018150 fetch 4 ,mem_input_store 
+0x618d 018151 istore 4 ,contw 
+0x618e 018152 arg mem_sres_tid ,temp 
+0x618f 018153 call special_tid_store 
+0x6190 018154 call copy_aco 
+0x6191 018155 call check_localsm 
+0x6192 018156 branch send_lmp_sres_master ,true 
+0x6193 018157 jam done_encryp ,mem_wait_encryption 
+0x6194 018158 fetch 1 ,mem_pairing_auth 
+0x6195 018159 rtn blank 
+0x6196 018160 jam lmp_au_rand ,mem_lmo_opcode2 
+:      018161 send_lmp_sres_master:
+0x6197 018162 fetch 1 ,mem_link_key_exists 
+0x6198 018163 rtn blank 
+0x6199 018164 call check_localsm 
+0x619a 018165 call hci_send_linkkey_notification ,true 
+:      018166 send_lmp_sres_startenc:
+0x619b 018167 call check_localsm 
+0x619c 018168 nbranch send_lmp_sres_startenc_slave ,true 
+0x619d 018169 fetch 1 ,mem_auth_enable 
+0x619e 018170 rtn blank 
+0x619f 018171 jam lmp_encryption_mode_req ,mem_lmo_opcode2 
+0x61a0 018172 rtn 
+:      018173 send_lmp_sres_startenc_slave:
+0x61a1 018174 rtnmark0 mark_slave_in_rand_accepted 
+0x61a2 018175 set0 mark_slave_in_rand_accepted ,mark 
+0x61a3 018176 jam lmp_encryption_mode_req ,mem_lmo_opcode2 
+0x61a4 018177 rtn 
+:      018181 send_lmp_start_encryption:
+0x61a5 018182 call generate_random_number 
+0x61a6 018183 call function_e3 
+0x61a7 018184 force 17 ,pdata 
+0x61a8 018185 call msg_send_lmp 
+0x61a9 018186 arg mem_random_number ,contr 
+0x61aa 018187 call memcpy16 
+0x61ab 018188 branch send_lmp_tid 
+:      018190 send_lmp_stop_encryption_req:
+0x61ac 018191 force 1 ,pdata 
+0x61ad 018192 call msg_send_lmp 
+0x61ae 018193 branch send_lmp_tid 
+:      018195 send_lmp_encryption_key_size_req:
+0x61af 018196 force 2 ,pdata 
+0x61b0 018197 call msg_send_lmp 
+0x61b1 018198 force 16 ,pdata 
+0x61b2 018199 istore 1 ,contw 
+0x61b3 018200 store 1 ,mem_key_size 
+0x61b4 018201 branch send_lmp_tid 
+:      018203 msg_send_lmp:
+0x61b5 018205 lshift3 pdata ,pdata 
+0x61b6 018206 or_into 0x07 ,pdata 
+0x61b7 018207 store 1 ,mem_lmo_header_length 
+0x61b8 018208 arg 17 ,loopcnt 
+0x61b9 018209 arg mem_lmo_payload ,contw 
+0x61ba 018210 call clear_mem 
+0x61bb 018211 arg mem_lmo_payload ,contw 
+0x61bc 018212 rtn 
+:      018214 send_lmpext:
+0x61bd 018215 and pdata ,0x7f ,rega 
+0x61be 018216 jam lmp_escape ,mem_lmp_to_send 
+0x61bf 018217 deposit queue 
+0x61c0 018218 call msg_send_lmp 
+0x61c1 018219 deposit rega 
+0x61c2 018220 istore 1 ,contw 
+0x61c3 018221 rtn 
+:      018223 send_lmp_follow:
+0x61c4 018224 fetch 1 ,mem_lmp_to_send 
+0x61c5 018225 lshift pdata ,pdata 
+0x61c6 018226 fetcht 1 ,mem_state_map 
+0x61c7 018227 isolate1 smap_lmptid ,temp 
+0x61c8 018228 setflag true ,0 ,pdata 
+0x61c9 018229 branch send_lmp_exit 
+:      018232 send_lmp_tid:
+0x61ca 018233 fetcht 1 ,mem_state_map 
+0x61cb 018234 and_into 1 ,temp 
+0x61cc 018235 branch send_lmp_end 
+:      018237 send_lmp_reply:
+0x61cd 018238 force 0 ,temp 
+0x61ce 018239 branch send_lmp_end 
+:      018241 send_lmp_request:
+0x61cf 018242 force 1 ,temp 
+:      018243 send_lmp_end:
+0x61d0 018244 fetch 1 ,mem_lmp_to_send 
+0x61d1 018245 lshift pdata ,pdata 
+0x61d2 018246 setflag master ,0 ,pdata 
+0x61d3 018247 ixor temp ,pdata 
+:      018248 send_lmp_exit:
+0x61d4 018249 store 1 ,mem_lmo_header_opcode 
+0x61d5 018250 jam 0 ,mem_lmp_to_send 
+0x61d6 018251 call lmo_fifo_process_lmo0empty 
+0x61d7 018252 enable user 
+0x61d8 018253 rtn 
+:      018255 lmo_fifo_process:
+0x61d9 018256 set1 mark_ext_patch ,mark 
+0x61da 018257 bpatch patch3c_4 ,mem_patch3c 
+0x61db 018258 fetch 1 ,mem_lmp_to_send 
+0x61dc 018259 branch lmo_fifo_process_lmo0empty ,blank 
+0x61dd 018260 fetch 1 ,mem_lmo_opcode1 
+0x61de 018261 nrtn blank 
+0x61df 018262 branch lmo_fifo_process_lmo2to1 
+:      018263 lmo_fifo_process_lmo0empty:
+0x61e0 018264 fetch 1 ,mem_lmo_opcode1 
+0x61e1 018265 branch lmo_fifo_process_lmo1_empty ,blank 
+0x61e2 018266 fetch 3 ,mem_lmo_opcode1 
+0x61e3 018267 store 3 ,mem_lmp_to_send 
+0x61e4 018268 fetcht 1 ,mem_lmo_tid1 
+0x61e5 018269 fetch 1 ,mem_state_map 
+0x61e6 018270 set0 smap_lmptid ,pdata 
+0x61e7 018271 ior temp ,pdata 
+0x61e8 018272 store 1 ,mem_state_map 
+0x61e9 018273 jam 0 ,mem_lmo_opcode1 
+:      018274 lmo_fifo_process_lmo2to1:
+0x61ea 018275 fetch 1 ,mem_lmo_opcode2 
+0x61eb 018276 rtn blank 
+0x61ec 018277 fetch 4 ,mem_lmo_opcode2 
+0x61ed 018278 store 4 ,mem_lmo_opcode1 
+0x61ee 018279 jam 0 ,mem_lmo_opcode2 
+0x61ef 018280 rtn 
+:      018281 lmo_fifo_process_lmo1_empty:
+0x61f0 018282 fetch 1 ,mem_lmo_opcode2 
+0x61f1 018283 rtn blank 
+0x61f2 018284 fetch 3 ,mem_lmo_opcode2 
+0x61f3 018285 store 3 ,mem_lmp_to_send 
+0x61f4 018286 fetcht 1 ,mem_lmo_tid2 
+0x61f5 018287 fetch 1 ,mem_state_map 
+0x61f6 018288 set0 smap_lmptid ,pdata 
+0x61f7 018289 ior temp ,pdata 
+0x61f8 018290 store 1 ,mem_state_map 
+0x61f9 018291 jam 0 ,mem_lmo_opcode2 
+0x61fa 018292 rtn 
+:      018295 special_tid_store:
+0x61fb 018296 set1 mark_ext_patch ,mark 
+0x61fc 018297 bpatch patch3c_5 ,mem_patch3c 
+0x61fd 018298 fetch 1 ,mem_state_map 
+0x61fe 018299 copy pdata ,regc 
+0x61ff 018300 ifetch 1 ,temp 
+0x6200 018301 call pop_tid_follow 
+0x6201 018302 call send_lmp_follow 
+0x6202 018303 copy regc ,pdata 
+0x6203 018304 store 1 ,mem_state_map 
+0x6204 018305 rtn 
+:      018307 tid_reply:
+0x6205 018308 fetcht 1 ,mem_state_map 
+0x6206 018309 set0 smap_lmptidinit ,temp 
+0x6207 018310 storet 1 ,mem_state_map 
+0x6208 018311 rtn 
+:      018313 tid_initiate:
+0x6209 018314 fetcht 1 ,mem_state_map 
+0x620a 018315 set1 smap_lmptidinit ,temp 
+0x620b 018316 storet 1 ,mem_state_map 
+0x620c 018317 rtn 
+:      018320 tid_check:
+0x620d 018321 nsetflag master ,smap_lmptid ,pdata 
+0x620e 018322 fetcht 1 ,mem_state_map 
+0x620f 018323 ixor temp ,pdata 
+0x6210 018324 isolate1 smap_lmptid ,pdata 
+0x6211 018325 rtn 
+:      018328 tid_set_reply:
+0x6212 018329 fetch 1 ,mem_state_map 
+0x6213 018330 setflag master ,smap_lmptid ,pdata 
+0x6214 018331 store 1 ,mem_state_map 
+0x6215 018332 rtn 
+:      018335 check_localsm:
+0x6216 018336 fetch 1 ,mem_sp_localsm 
+0x6217 018337 compare local_statemachine ,pdata ,0x7f 
+0x6218 018338 rtn 
+:      018339 setlocalsm_master:
+0x6219 018340 fetch 1 ,mem_sp_localsm 
+0x621a 018341 set1 7 ,pdata 
+0x621b 018342 store 1 ,mem_sp_localsm 
+0x621c 018343 rtn 
+:      018344 setlocalsm_slave:
+0x621d 018345 fetch 1 ,mem_sp_localsm 
+0x621e 018346 set0 7 ,pdata 
+0x621f 018347 store 1 ,mem_sp_localsm 
+0x6220 018348 rtn 
+:      018349 check_localsm_master:
+0x6221 018350 fetch 1 ,mem_sp_localsm 
+0x6222 018351 isolate1 7 ,pdata 
+0x6223 018352 store 1 ,mem_sp_localsm 
+0x6224 018353 rtn 
+:      018355 generate_random_number:
+0x6225 018357 arg mem_random_number ,contw 
+:      018358 generate_random:
+0x6226 018359 force 16 ,loopcnt 
+:      018360 generate_random_another:
+:      018361 generate_random_loop:
+0x6227 018362 random pdata 
+0x6228 018363 istore 1 ,contw 
+0x6229 018364 loop generate_random_another 
+0x622a 018365 rtn 
+:      018367 generate_linkkey:
+0x622b 018368 call function_e21 
+0x622c 018369 arg mem_link_key ,rega 
+0x622d 018370 arg mem_input_store ,regb 
+0x622e 018371 ifetch 8 ,rega 
+0x622f 018372 fetcht 1 ,mem_state 
+0x6230 018373 nsetflag blank ,state_combkey ,temp 
+0x6231 018374 storet 1 ,mem_state 
+0x6232 018375 copy rega ,contw 
+0x6233 018376 call xor16 
+0x6234 018377 branch generate_linkkey_continue 
+:      018383 process_conn_sm:
+0x6235 018385 set1 mark_ext_patch ,mark 
+0x6236 018386 bpatch patch3c_6 ,mem_patch3c 
+0x6237 018387 fetch 1 ,mem_lmo_opcode2 
+0x6238 018388 branch process_conn_sm_continue ,blank 
+0x6239 018389 call lmo_fifo_process 
+0x623a 018390 fetch 1 ,mem_lmo_opcode2 
+0x623b 018391 nrtn blank 
+:      018392 process_conn_sm_continue:
+0x623c 018393 fetch 1 ,mem_conn_sm 
+0x623d 018394 rtn blank 
+0x623e 018398 beq conn_sm_send_conn_req ,host_create_conn_send_conn_req 
+0x623f 018399 beq conn_sm_wait_conn_accept ,host_create_conn_wait_accept 
+0x6240 018400 beq conn_sm_send_features ,host_create_conn_send_features 
+0x6241 018401 beq conn_sm_wait_features_res ,host_create_conn_waiting 
+0x6242 018402 beq conn_sm_send_switch ,host_create_conn_send_switch 
+0x6243 018403 beq conn_sm_auth_pair ,host_create_conn_auth_pair 
+0x6244 018404 beq conn_sm_auth_pair_wait ,host_create_conn_auth_pair_wait 
+0x6245 018405 beq conn_sm_encrypt ,host_create_conn_encrypt 
+0x6246 018406 beq conn_sm_encrypt_wait ,host_create_conn_encrypt_wait 
+0x6247 018407 beq conn_sm_encrypt_wait_clear ,host_create_conn_encrypt_wait_clear 
+0x6248 018408 beq conn_sm_send_setup_complete ,host_create_conn_send_setup_complete 
+0x6249 018409 beq conn_sm_wait_setup_complete ,host_create_conn_wait_setup_complete 
+0x624a 018410 beq conn_sm_detach_delay ,host_create_conn_master_detach 
+0x624b 018411 beq conn_sm_send_version ,host_create_conn_send_version 
+0x624c 018412 beq conn_sm_wait_version ,host_create_conn_waiting 
+0x624d 018413 beq conn_sm_wait_switch_after_host_connection ,host_creat_conn_wait_switch 
+0x624e 018414 beq conn_sm_send_features_ext ,host_creat_conn_send_feat_ext 
+0x624f 018415 beq conn_sm_wait_features_ext ,host_create_conn_waiting 
+0x6250 018416 beq conn_sm_pairing ,host_create_conn_pairing 
+0x6251 018417 beq conn_sm_pairing_wait ,host_create_conn_pairing_wait 
+0x6252 018418 beq conn_sm_auth ,host_create_conn_auth 
+0x6253 018419 beq conn_sm_auth_wait ,host_create_conn_auth_wait 
+0x6254 018420 beq conn_sm_done ,host_create_conn_done 
+0x6255 018421 beq conn_sm_wait_done ,host_create_conn_done_wait 
+0x6256 018422 jam conn_sm_standby ,mem_conn_sm 
+0x6257 018424 rtn 
+:      018425 host_create_conn_done:
+0x6258 018426 fetch 1 ,mem_lmp_conn_state 
+0x6259 018427 rtnbit0 received_setup_complete 
+0x625a 018428 rtnbit0 sent_setup_complete 
+0x625b 018429 jam conn_sm_standby ,mem_conn_sm 
+0x625c 018430 call host_conn_judge_encrypt 
+0x625d 018431 branch scheduler_start_upper_sm 
+:      018433 host_conn_judge_encrypt:
+0x625e 018434 fetch 1 ,mem_connection_options 
+0x625f 018435 rtnbit0 connection_encrypt 
+0x6260 018436 jam conn_sm_encrypt_wait ,mem_conn_sm 
+0x6261 018437 rtn 
+:      018439 host_create_conn_done_wait:
+0x6262 018440 arg enpt_delay_timer ,queue 
+0x6263 018441 call timer_check 
+0x6264 018442 nrtn blank 
+0x6265 018443 jam conn_sm_done ,mem_conn_sm 
+0x6266 018444 rtn 
+:      018446 host_create_conn_auth:
+0x6267 018447 fetch 1 ,mem_connection_options 
+0x6268 018448 set0 connection_auth ,pdata 
+0x6269 018449 store 1 ,mem_connection_options 
+0x626a 018450 jam conn_sm_auth_wait ,mem_conn_sm 
+0x626b 018451 jam lmp_au_rand ,mem_lmo_opcode2 
+0x626c 018452 rtn 
+:      018453 host_create_conn_auth_wait:
+0x626d 018454 rtn 
+:      018455 host_create_conn_pairing:
+0x626e 018456 fetch 1 ,mem_pincode_state 
+0x626f 018457 rtnne pincode_state_pincode_ready 
+0x6270 018458 call host_auth 
+0x6271 018459 jam conn_sm_pairing_wait ,mem_conn_sm 
+0x6272 018460 rtn 
+:      018462 host_create_conn_pairing_wait:
+0x6273 018463 rtn 
+:      018464 host_creat_conn_send_feat_ext:
+0x6274 018465 jam conn_sm_wait_features_ext ,mem_conn_sm 
+0x6275 018466 jam lmp_ext_features_req ,mem_lmo_opcode2 
+0x6276 018467 rtn 
+:      018468 host_create_conn_send_version:
+0x6277 018469 jam conn_sm_wait_version ,mem_conn_sm 
+0x6278 018470 jam lmp_version_req ,mem_lmo_opcode2 
+0x6279 018471 rtn 
+:      018473 host_creat_conn_wait_switch:
+0x627a 018474 fetch 1 ,mem_switch_flag 
+0x627b 018475 rtneq switch_flag_init 
+0x627c 018476 beq switch_flag_accept ,host_create_conn_switch_accept 
+0x627d 018477 arg switch_wait_timer ,queue 
+0x627e 018478 call timer_check 
+0x627f 018479 nrtn blank 
+0x6280 018480 jam switch_flag_init ,mem_switch_flag 
+0x6281 018481 branch host_create_conn_switch 
+:      018482 host_create_conn_switch_accept:
+0x6282 018483 rtn master 
+0x6283 018484 branch host_create_conn_auth_pair 
+:      018486 host_create_conn_send_features:
+0x6284 018487 jam conn_sm_wait_features_res ,mem_conn_sm 
+0x6285 018488 jam lmp_features_req ,mem_lmo_opcode2 
+0x6286 018489 rtn 
+:      018490 host_create_conn_send_switch:
+0x6287 018491 jam lmp_switch_req ,mem_lmo_opcode2 
+0x6288 018492 set1 mark_switch_initiated ,mark 
+0x6289 018493 jam conn_sm_wait_conn_accept ,mem_conn_sm 
+0x628a 018494 setarg 0x1ff 
+0x628b 018495 store 2 ,mem_soft_timer 
+0x628c 018496 rtn 
+:      018497 host_create_conn_send_conn_req:
+0x628d 018498 jam conn_sm_wait_conn_accept ,mem_conn_sm 
+0x628e 018499 jam 0xff ,mem_soft_timer 
+0x628f 018500 set0 mark_reconn_recieve_switch ,mark 
+0x6290 018501 jam lmp_host_connection_req ,mem_lmo_opcode2 
+0x6291 018502 branch init_lmp_reinit 
+:      018503 host_create_conn_wait_accept:
+0x6292 018504 rtnmark1 mark_reconn_recieve_switch 
+0x6293 018505 fetch 2 ,mem_soft_timer 
+0x6294 018506 sub pdata ,1 ,pdata 
+0x6295 018507 branch host_create_conn_resend ,zero 
+0x6296 018508 store 2 ,mem_soft_timer 
+0x6297 018509 rtn 
+:      018510 host_create_conn_resend:
+0x6298 018511 jam conn_sm_send_switch ,mem_conn_sm 
+0x6299 018512 rtn 
+:      018513 host_create_conn_waiting:
+0x629a 018515 rtn 
+:      018517 host_create_conn_switch:
+0x629b 018518 fetch 1 ,mem_lmp_conn_state 
+0x629c 018519 rtnbit0 sent_setup_complete 
+0x629d 018520 rtnbit0 received_setup_complete 
+0x629e 018521 fetch 1 ,mem_connection_options 
+0x629f 018522 set0 connection_switch ,pdata 
+0x62a0 018523 store 1 ,mem_connection_options 
+0x62a1 018524 jam lmp_switch_req ,mem_lmo_opcode2 
+0x62a2 018525 jam conn_sm_wait_switch_after_host_connection ,mem_conn_sm 
+0x62a3 018526 rtn 
+:      018528 host_create_conn_send_setup_complete:
+0x62a4 018529 jam conn_sm_wait_setup_complete ,mem_conn_sm 
+0x62a5 018530 jam lmp_setup_complete ,mem_lmo_opcode2 
+0x62a6 018531 rtn 
+:      018533 host_create_conn_wait_setup_complete:
+0x62a7 018534 fetch 1 ,mem_lmp_conn_state 
+0x62a8 018535 rtnbit0 received_setup_complete 
+0x62a9 018536 jam conn_sm_standby ,mem_conn_sm 
+0x62aa 018538 rtn 
+:      018539 host_create_conn_wait_setup_complete_rtn:
+0x62ab 018540 jam conn_sm_auth_pair ,mem_conn_sm 
+0x62ac 018541 rtn 
+:      018543 host_create_conn_master_detach:
+0x62ad 018544 fetch 1 ,mem_soft_timer 
+0x62ae 018545 increase -1 ,pdata 
+0x62af 018546 branch host_create_conn_send_detach ,blank 
+0x62b0 018547 store 1 ,mem_soft_timer 
+0x62b1 018548 rtn 
+:      018549 host_create_conn_send_detach:
+0x62b2 018550 jam lmp_detach ,mem_lmo_opcode2 
+0x62b3 018551 jam local_host ,mem_disconn_reason_send 
+0x62b4 018552 jam 0 ,mem_conn_sm 
+0x62b5 018553 rtn 
+:      018554 host_create_conn_auth_pair:
+0x62b6 018556 fetch 1 ,mem_connection_options 
+0x62b7 018557 bbit1 connection_switch ,host_create_conn_switch 
+0x62b8 018558 bbit1 connection_auth ,host_create_conn_auth_pair_true 
+:      018559 host_create_conn_sm_done:
+0x62b9 018560 jam conn_sm_done ,mem_conn_sm 
+0x62ba 018561 rtn 
+:      018562 host_create_conn_auth_pair_true:
+0x62bb 018563 fetch 1 ,mem_link_key_exists 
+0x62bc 018564 branch host_create_conn_auth_pair_nokey ,blank 
+0x62bd 018565 fetch 1 ,mem_lmp_conn_state 
+0x62be 018566 rtnbit0 sent_setup_complete 
+0x62bf 018567 rtnbit0 received_setup_complete 
+0x62c0 018568 fetch 4 ,mem_aurand_send_delay_time 
+0x62c1 018569 arg 100 ,temp 
+0x62c2 018570 iadd temp ,temp 
+0x62c3 018571 copy clkn_bt ,pdata 
+0x62c4 018572 isub temp ,null 
+0x62c5 018573 nrtn positive 
+0x62c6 018574 branch host_create_conn_auth 
+:      018578 host_create_conn_auth_pair_nokey:
+0x62c7 018579 jam conn_sm_pairing ,mem_conn_sm 
+0x62c8 018580 jam 4 ,mem_pin_length 
+0x62c9 018581 setarg 0x3030 
+0x62ca 018582 store 2 ,mem_pin 
+0x62cb 018583 istore 2 ,contw 
+0x62cc 018584 jam pincode_state_pincode_ready ,mem_pincode_state 
+0x62cd 018585 branch host_create_conn_pairing 
+:      018587 host_create_conn_auth_pair_wait:
+0x62ce 018588 rtn 
+:      018589 host_create_conn_encrypt:
+0x62cf 018590 fetch 1 ,mem_connection_options 
+0x62d0 018591 bbit1 connection_encrypt ,host_create_conn_encrypt_start 
+0x62d1 018592 jam conn_sm_done ,mem_conn_sm 
+0x62d2 018593 rtn 
+:      018595 host_create_conn_encrypt_start:
+0x62d3 018596 fetch 1 ,mem_connection_options 
+0x62d4 018597 set0 connection_encrypt ,pdata 
+0x62d5 018598 store 1 ,mem_connection_options 
+0x62d6 018599 jam lmp_encryption_mode_req ,mem_lmo_opcode2 
+0x62d7 018600 rtn 
+:      018602 host_create_conn_encrypt_wait:
+0x62d8 018603 fetch 1 ,mem_wait_encryption 
+0x62d9 018604 rtn blank 
+0x62da 018605 jam conn_sm_standby ,mem_conn_sm 
+0x62db 018606 branch host_create_conn_encrypt_start 
+:      018608 host_create_conn_encrypt_wait_clear:
+0x62dc 018609 jam conn_sm_send_setup_complete ,mem_conn_sm 
+0x62dd 018610 rtn 
+:      018612 host_auth:
+0x62de 018613 fetch 1 ,mem_op 
+0x62df 018614 bbit1 op_inrand_req ,remote_auth 
+0x62e0 018615 call tid_initiate 
+0x62e1 018616 jam lmp_in_rand ,mem_lmo_opcode2 
+0x62e2 018617 branch cmd_exit 
+:      018618 remote_auth:
+0x62e3 018619 fetch 1 ,mem_op 
+0x62e4 018620 set0 op_inrand_req ,pdata 
+0x62e5 018621 store 1 ,mem_op 
+0x62e6 018622 call lmp_accept_inrand 
+0x62e7 018623 call tid_set_reply 
+0x62e8 018624 branch cmd_exit 
+:      018626 pincode_reinit:
+0x62e9 018627 setarg 4 
+0x62ea 018628 store 1 ,mem_pin_length 
+0x62eb 018629 setarg 0x3030 
+0x62ec 018630 istore 2 ,contw 
+0x62ed 018631 istore 2 ,contw 
+0x62ee 018632 rtn 
+:      018640 module_init:
+0x62ef 018641 rtn wake 
+0x62f0 018642 jam 0 ,mem_module_task 
+0x62f1 018643 call module_gpio_init 
+0x62f2 018644 call module_init_static_string 
+0x62f3 018645 setarg module_process_idle 
+0x62f4 018646 store 2 ,mem_cb_idle_process 
+0x62f5 018647 setarg module_conn_process 
+0x62f6 018648 store 2 ,mem_cb_bt_process 
+0x62f7 018649 setarg module_process_bb_event 
+0x62f8 018650 store 2 ,mem_cb_bb_event_process 
+0x62f9 018651 setarg module_le_rx 
+0x62fa 018652 store 2 ,mem_cb_att_write 
+0x62fb 018653 setarg module_conn_process 
+0x62fc 018654 store 2 ,mem_cb_le_process 
+0x62fd 018655 set1 mark_ext_patch ,mark 
+0x62fe 018656 bpatch patch30_0 ,mem_patch30 
+0x62ff 018657 setarg module_lpm_lock 
+0x6300 018658 store 2 ,mem_cb_check_wakelock 
+0x6301 018659 setarg module_le_tx_update_data 
+0x6302 018660 store 2 ,mem_cb_update_notify_value 
+0x6303 018661 setarg 0 
+0x6304 018662 store 4 ,mem_last_uart_clock 
+0x6305 018663 store 2 ,mem_module_prepare_tx_len 
+0x6306 018664 call module_hardware_init 
+0x6307 018665 call init_module_environment 
+0x6308 018666 call check_module_disabled 
+0x6309 018667 branch eeprom_load_reconn_info 
+:      018669 module_hardware_init:
+0x630a 018670 rtn wake 
+0x630b 018671 setarg uart_baud_115200 
+0x630c 018672 store uart_baud_len ,mem_baud 
+:      018673 module_lpm_uart_init:
+0x630d 018674 call init_filter_ram 
+0x630e 018675 setarg mem_module_rx_buf 
+0x630f 018676 hstore 2 ,core_uart_rsaddr 
+0x6310 018677 setarg mem_module_rx_buf_end 
+0x6311 018678 hstore 2 ,core_uart_readdr 
+0x6312 018679 setarg mem_module_tx_buf 
+0x6313 018680 hstore 2 ,core_uart_tsaddr 
+0x6314 018681 setarg mem_module_tx_buf_end 
+0x6315 018682 hstore 2 ,core_uart_teaddr 
+0x6316 018683 hjam 0x4 ,core_gpio_sel1 
+0x6317 018684 jam 0xff ,mem_ucode_id_local 
+0x6318 018685 hjam 0x0 ,core_uart_ctrl 
+0x6319 018686 setarg mem_module_tx_buf 
+0x631a 018687 hstore 2 ,core_uart_twptr 
+0x631b 018688 hstore 2 ,core_uart_trptrp 
+0x631c 018689 setarg mem_module_rx_buf 
+0x631d 018690 hstore 2 ,core_uart_rrptr 
+0x631e 018691 branch hci_init_common 
+:      018694 module_lpm_init:
+0x631f 018695 call module_lpm_uart_init 
+0x6320 018696 branch module_gpio_init 
+:      018698 module_gpio_init:
+0x6321 018700 call ui_led_init 
+0x6322 018701 call app_led_start_blink 
+0x6323 018703 fetcht 1 ,mem_module_connect_state_gpio 
+0x6324 018704 call gpio_config_output 
+0x6325 018705 call module_set_conn_pin_low 
+0x6326 018707 fetcht 1 ,mem_module_wake_up_gpio 
+0x6327 018708 call gpio_config_input 
+0x6328 018709 fetcht 1 ,mem_at_gpio 
+0x6329 018710 branch gpio_config_input_without_wake 
+:      018712 module_lpm_lock:
+0x632a 018713 fetcht 1 ,mem_module_wake_up_gpio 
+0x632b 018714 call gpio_get_bit 
+0x632c 018715 nbranch app_put_lpm_wake_lock ,true 
+0x632d 018716 branch app_get_lpm_wake_lock 
+:      018720 module_process_idle:
+0x632e 018721 branch module_app_dispatch 
+:      018722 module_conn_process:
+0x632f 018723 branch module_app_dispatch 
+:      018724 module_app_dispatch:
+0x6330 018725 set1 mark_ext_patch ,mark 
+0x6331 018726 bpatch patch30_1 ,mem_patch30 
+0x6332 018727 call module_control_air_flow 
+0x6333 018728 call module_uart_set 
+0x6334 018729 call l2cap_malloc_is_fifo_full 
+0x6335 018730 nrtn blank 
+0x6336 018731 branch module_process 
+:      018732 module_process_bb_event:
+0x6337 018733 copy regc ,pdata 
+0x6338 018734 beq bt_evt_pincode_req ,module_process_evt_pincode_req 
+0x6339 018735 beq bt_evt_reconn_failed ,module_reconn_fail 
+0x633a 018736 beq bt_evt_reconn_page_timeout ,module_page_time_out 
+0x633b 018737 beq bt_evt_bb_disconnected ,module_process_bb_event_disconned 
+0x633c 018738 beq bt_evt_switch_not_accept ,module_process_switch_not_accept 
+0x633d 018739 beq bt_evt_switch_accept ,module_process_switch_accept 
+0x633e 018740 beq bt_evt_sniff_accept ,module_process_sniff_accept 
+0x633f 018741 beq bt_evt_sniff_not_accept ,module_process_sniff_not_accept 
+0x6340 018742 beq bt_evt_unsniff_accept ,module_process_unsniff_accept 
+0x6341 018743 beq bt_evt_unsniff_not_accept ,module_process_unsniff_not_accept 
+0x6342 018744 beq bt_evt_le_connected ,module_process_le_conn 
+0x6343 018745 beq bt_evt_bb_connected ,module_process_bb_conn 
+0x6344 018746 beq bt_evt_le_disconnected ,module_process_bb_even_le_disconn 
+0x6345 018747 beq bt_evt_setup_complete ,module_process_setup_complete 
+0x6346 018748 beq bt_evt_enter_sniff ,module_sniff_param_check 
+0x6347 018749 beq bt_evt_exit_sniff ,app_lpm_mult_disable 
+0x6348 018750 and pdata ,0x0f ,temp 
+0x6349 018751 and_into bt_evt_timer_mask ,pdata 
+0x634a 018752 beq bt_evt_timer_init ,module_bb_event_timer 
+0x634b 018753 rtn 
+:      018755 module_process_bb_event_disconned:
+0x634c 018756 call module_disconn_start 
+0x634d 018757 fetch app_disc_rsn_size ,mem_app_disconn_reason 
+0x634e 018758 rtnbit0 app_disc_after_setup_done 
+0x634f 018759 arg 3 ,loopcnt 
+0x6350 018760 arg mem_prarm_dis ,contr 
+0x6351 018761 branch send_mem_to_uart 
+:      018763 module_sniff_param_check:
+0x6352 018766 fetch 2 ,mem_context + coffset_tsniff 
+0x6353 018767 rshift pdata ,pdata 
+0x6354 018768 fetcht 2 ,mem_sniff_param_interval 
+0x6355 018769 isub temp ,null 
+0x6356 018770 nbranch module_sniff_param_check_unsniff ,zero 
+0x6357 018771 branch app_lpm_mult_enable 
+:      018772 module_sniff_param_check_unsniff:
+0x6358 018773 fetch 1 ,mem_module_task 
+0x6359 018774 rtnbit1 at_task_unsinff 
+0x635a 018775 hfetch 2 ,core_uart_rxitems 
+0x635b 018776 ncall at_set_unsniff_task_flag ,blank 
+0x635c 018777 branch app_bt_sniff_exit 
+:      018779 module_process_setup_complete:
+0x635d 018780 call module_conn_start 
+0x635e 018781 call module_check_cmode 
+0x635f 018782 branch module_uart_send_conn ,zero 
+0x6360 018783 branch app_bt_disconnect 
+:      018784 module_uart_send_conn:
+0x6361 018785 arg 4 ,loopcnt 
+0x6362 018786 arg mem_prarm_conn ,contr 
+0x6363 018787 branch send_mem_to_uart 
+:      018789 module_process_bb_even_le_disconn:
+0x6364 018790 call module_disconn_start 
+0x6365 018791 arg 5 ,loopcnt 
+0x6366 018792 arg mem_prarm_bledis ,contr 
+0x6367 018793 branch send_mem_to_uart 
+:      018795 module_process_evt_pincode_req:
+0x6368 018796 call at_restore_pin_code 
+0x6369 018797 branch app_bt_set_pincode 
+:      018798 module_process_switch_not_accept:
+0x636a 018799 fetch 1 ,mem_module_task 
+0x636b 018800 rtnbit0 at_task_switch 
+0x636c 018801 set0 at_task_switch ,pdata 
+0x636d 018802 store 1 ,mem_module_task 
+0x636e 018803 branch at_error_rev_end 
+:      018805 module_process_switch_accept:
+0x636f 018806 fetch 1 ,mem_module_task 
+0x6370 018807 rtnbit0 at_task_switch 
+0x6371 018808 set0 at_task_switch ,pdata 
+0x6372 018809 store 1 ,mem_module_task 
+0x6373 018810 branch at_nomal_rev_end 
+:      018812 module_process_sniff_accept:
+0x6374 018813 rtn 
+:      018815 module_process_sniff_not_accept:
+0x6375 018816 rtn 
+:      018818 module_process_unsniff_accept:
+0x6376 018819 fetch 1 ,mem_module_task 
+0x6377 018820 bbit0 at_task_unsinff ,app_bt_enter_sniff 
+0x6378 018821 branch at_clear_unsniff_task_flag 
+:      018823 module_process_unsniff_not_accept:
+0x6379 018824 rtn 
+:      018826 module_process_le_conn:
+0x637a 018827 call module_conn_start 
+0x637b 018828 arg mem_le_plap ,regb 
+0x637c 018829 call module_check_cmode 
+0x637d 018830 branch module_uart_send_leconn ,zero 
+0x637e 018831 branch app_ble_disconnect 
+:      018832 module_uart_send_leconn:
+0x637f 018833 arg 6 ,loopcnt 
+0x6380 018834 arg mem_prarm_bleconn ,contr 
+0x6381 018835 branch send_mem_to_uart 
+:      018837 module_process_bb_conn:
+0x6382 018838 rtn 
+:      018841 module_reconn_fail:
+0x6383 018842 arg 7 ,loopcnt 
+0x6384 018843 arg mem_prarm_recfail ,contr 
+0x6385 018844 call send_mem_to_uart 
+0x6386 018845 branch module_disconn_start 
+:      018846 module_page_time_out:
+0x6387 018847 arg 7 ,loopcnt 
+0x6388 018848 arg mem_prarm_pageout ,contr 
+0x6389 018849 call send_mem_to_uart 
+:      018850 module_disconn_start:
+0x638a 018851 call module_start_adv_discovery 
+0x638b 018852 branch module_set_conn_pin_high 
+:      018854 module_start_adv_discovery:
+0x638c 018855 fetch 1 ,mem_module_state 
+0x638d 018856 isolate1 at_state_set30 ,pdata 
+0x638e 018857 call app_bt_start_discovery ,true 
+0x638f 018858 fetch 1 ,mem_module_state 
+0x6390 018859 isolate1 at_state_set40 ,pdata 
+0x6391 018860 call app_ble_start_adv ,true 
+0x6392 018861 rtn 
+:      018862 module_set_conn_pin_high:
+0x6393 018863 fetcht 1 ,mem_module_connect_state_gpio 
+0x6394 018864 branch gpio_out_active 
+:      018866 module_conn_start:
+0x6395 018867 call module_stop_adv_discovery 
+0x6396 018868 branch module_set_conn_pin_low 
+:      018870 module_stop_adv_discovery:
+0x6397 018871 fetch 1 ,mem_module_state 
+0x6398 018872 isolate1 at_state_set30 ,pdata 
+0x6399 018873 call app_bt_stop_discovery ,true 
+0x639a 018874 fetch 1 ,mem_module_state 
+0x639b 018875 isolate1 at_state_set40 ,pdata 
+0x639c 018876 call app_ble_stop_adv ,true 
+0x639d 018877 rtn 
+:      018878 module_set_conn_pin_low:
+0x639e 018879 fetcht 1 ,mem_module_connect_state_gpio 
+0x639f 018880 branch gpio_out_inactive 
+:      018885 module_process:
+0x63a0 018886 fetch 1 ,mem_device_option 
+0x63a1 018887 rtnne dvc_op_module 
+0x63a2 018888 hfetch 2 ,core_uart_rxitems 
+0x63a3 018889 rtn blank 
+0x63a4 018890 store 2 ,mem_current_packet_length 
+0x63a5 018892 call spp_mode 
+0x63a6 018893 branch at_process ,true 
+0x63a7 018894 call at_ckeck_send_buff 
+0x63a8 018895 branch module_tx_packet 
+:      018898 spp_mode:
+0x63a9 018899 fetcht 1 ,mem_at_gpio 
+0x63aa 018900 branch gpio_get_bit 
+:      018903 module_exit_sniff:
+0x63ab 018904 fetch 1 ,mem_module_task 
+0x63ac 018905 rtnbit1 at_task_unsinff 
+0x63ad 018906 call at_set_unsniff_task_flag 
+0x63ae 018907 branch app_bt_sniff_exit 
+:      018909 module_tx_packet:
+0x63af 018910 fetch 1 ,mem_context 
+0x63b0 018911 bbit0 state_inconn ,spp_send_end 
+0x63b1 018912 fetch 1 ,mem_context + coffset_mode 
+0x63b2 018913 bbit1 mode_le ,modle_le_tx 
+0x63b3 018914 call app_check_sniff 
+0x63b4 018915 branch module_exit_sniff ,true 
+0x63b5 018916 branch spp_tx_rfcomm_packet 
+:      018918 module_le_rx:
+0x63b6 018919 call le_att_get_handle_ptr 
+0x63b7 018920 ifetch 1 ,contr 
+0x63b8 018921 copy contr ,rega 
+0x63b9 018922 call get_uart_twptr 
+0x63ba 018923 copy regb ,loopcnt 
+0x63bb 018924 copy rega ,contr 
+0x63bc 018925 call uart_copy_tx_bytes 
+0x63bd 018926 branch uartd_send 
+:      018929 module_le_tx_update_data:
+0x63be 018931 fetch 2 ,mem_module_prepare_tx_len 
+0x63bf 018932 rtn blank 
+0x63c0 018933 arg dm_le_buff_len ,temp 
+0x63c1 018934 call not_greater_than 
+0x63c2 018935 store 2 ,mem_module_temp_len 
+0x63c3 018937 copy pdata ,temp 
+0x63c4 018938 fetch 2 ,mem_module_prepare_tx_len 
+0x63c5 018939 isub temp ,pdata 
+0x63c6 018940 store 2 ,mem_module_prepare_tx_len 
+0x63c7 018941 nbranch assert ,positive 
+0x63c8 018943 arg prcp_tx_le ,temp 
+0x63c9 018944 storet 2 ,mem_le_notify_handle 
+0x63ca 018945 call le_att_get_handle_ptr 
+0x63cb 018946 branch assert ,blank 
+0x63cc 018947 add contr ,1 ,contw 
+0x63cd 018949 fetch 2 ,mem_module_temp_len 
+0x63ce 018950 copy pdata ,loopcnt 
+0x63cf 018952 call get_uart_rrptr 
+0x63d0 018954 call uart_copy_rx_bytes 
+0x63d1 018956 fetch 2 ,mem_module_temp_len 
+0x63d2 018957 store 2 ,mem_current_packet_length 
+0x63d3 018958 store 2 ,mem_le_notify_len 
+0x63d4 018959 branch spp_send_end 
+:      018962 modle_le_tx:
+0x63d5 018963 rtnmark0 mark_context 
+0x63d6 018964 call modle_le_tx_once 
+0x63d7 018965 call modle_le_tx_once 
+:      018966 modle_le_tx_once:
+0x63d8 018967 call le_xtype_fifo_is_near_full 
+0x63d9 018968 nrtn blank 
+0x63da 018969 hfetch 2 ,core_uart_rxitems 
+0x63db 018970 rtn blank 
+0x63dc 018971 fetcht 2 ,mem_module_prepare_tx_len 
+0x63dd 018972 isub temp ,pdata 
+0x63de 018973 nbranch assert ,positive 
+0x63df 018974 store 2 ,mem_current_packet_length 
+0x63e0 018975 rtn blank 
+0x63e1 018976 call at_ckeck_send_buff_le 
+0x63e2 018977 fetch 2 ,mem_module_prepare_tx_len 
+0x63e3 018978 fetcht 2 ,mem_current_packet_length 
+0x63e4 018979 iadd temp ,pdata 
+0x63e5 018980 store 2 ,mem_module_prepare_tx_len 
+0x63e6 018981 fetcht 2 ,mem_module_prepare_tx_len 
+0x63e7 018982 hfetch 2 ,core_uart_rxitems 
+0x63e8 018983 isub temp ,rega 
+0x63e9 018984 nbranch assert ,positive 
+0x63ea 018985 jam attop_handle_value_notification ,mem_fifo_temp 
+0x63eb 018986 branch le_xtype_fifo_in 
+:      018988 module_bb_event_timer:
+0x63ec 018989 storet 1 ,mem_app_evt_timer_count 
+:      018990 module_bb_event_100ms_loop:
+0x63ed 018991 fetch 1 ,mem_app_evt_timer_count 
+0x63ee 018992 rtn blank 
+0x63ef 018993 increase -1 ,pdata 
+0x63f0 018994 store 1 ,mem_app_evt_timer_count 
+0x63f1 018995 call module_bb_event_hud_ms 
+0x63f2 018996 branch module_bb_event_100ms_loop 
+:      018998 module_bb_event_hud_ms:
+0x63f3 018999 fetch 2 ,mem_at_scan_time 
+0x63f4 019000 rtn blank 
+0x63f5 019001 increase -1 ,pdata 
+0x63f6 019002 store 2 ,mem_at_scan_time 
+0x63f7 019003 nrtn blank 
+0x63f8 019004 fetch 1 ,mem_at_using_flag 
+0x63f9 019005 jam 0 ,mem_at_using_flag 
+0x63fa 019006 bbit1 at_flag_leinq ,modue_le_inq 
+0x63fb 019007 bbit1 at_flag_inq ,module_inq 
+0x63fc 019008 branch assert 
+:      019009 modue_le_inq:
+0x63fd 019010 branch app_ble_stop_scan 
+:      019011 module_inq:
+0x63fe 019012 jam hci_cmd_inquiry_cancel ,mem_hci_cmd 
+0x63ff 019013 rtn 
+:      019015 at_ckeck_send_buff:
+0x6400 019016 fetch 1 ,mem_context + coffset_mode 
+0x6401 019017 bbit1 mode_le ,at_ckeck_send_buff_le 
+0x6402 019018 fetch 2 ,mem_current_packet_length 
+0x6403 019019 arg dm_refcom_buff_len ,temp 
+0x6404 019021 call not_greater_than 
+0x6405 019022 store 2 ,mem_current_packet_length 
+0x6406 019023 rtn 
+:      019024 at_ckeck_send_buff_le:
+0x6407 019025 fetch 2 ,mem_current_packet_length 
+0x6408 019026 arg dm_le_buff_len ,temp 
+0x6409 019027 call not_greater_than 
+0x640a 019028 store 2 ,mem_current_packet_length 
+0x640b 019029 rtn 
+:      019031 at_set_unsniff_task_flag:
+0x640c 019032 fetch 1 ,mem_module_task 
+0x640d 019033 set1 at_task_unsinff ,pdata 
+0x640e 019034 store 1 ,mem_module_task 
+0x640f 019035 rtn 
+:      019037 at_clear_unsniff_task_flag:
+0x6410 019038 fetch 1 ,mem_module_task 
+0x6411 019039 set0 at_task_unsinff ,pdata 
+0x6412 019040 store 1 ,mem_module_task 
+0x6413 019041 rtn 
+:      019043 at_set_cmd_task_flag:
+0x6414 019044 fetch 1 ,mem_module_task 
+0x6415 019045 set1 at_task_cmd_flag ,pdata 
+0x6416 019046 store 1 ,mem_module_task 
+0x6417 019047 rtn 
+:      019049 at_clear_cmd_task_flag:
+0x6418 019050 fetch 1 ,mem_module_task 
+0x6419 019051 set0 at_task_cmd_flag ,pdata 
+0x641a 019052 store 1 ,mem_module_task 
+0x641b 019053 rtn 
+:      019055 module_control_air_flow:
+0x641c 019056 set1 mark_ext_patch ,mark 
+0x641d 019057 bpatch patch30_2 ,mem_patch30 
+0x641e 019058 call check_uart_tx_buff 
+0x641f 019059 branch app_l2cap_flow_control_enable ,positive 
+0x6420 019060 branch app_l2cap_flow_control_disable 
+:      019062 module_uart_set:
+0x6421 019063 call spp_mode 
+0x6422 019064 branch module_set_baud_115200 ,true 
+0x6423 019065 hfetcht uart_baud_len ,core_uart_baud 
+0x6424 019066 fetch 2 ,mem_baud 
+0x6425 019067 isub temp ,null 
+0x6426 019068 rtn zero 
+0x6427 019069 branch uart_set_baud_by_mem 
+:      019072 module_set_baud_115200:
+0x6428 019073 hfetcht uart_baud_len ,core_uart_baud 
+0x6429 019074 setarg at_baud_115200 
+0x642a 019075 isub temp ,null 
+0x642b 019076 rtn zero 
+0x642c 019077 hstore uart_baud_len ,core_uart_baud 
+0x642d 019078 rtn 
+:      019080 module_check_cmode:
+0x642e 019081 set1 mark_ext_patch ,mark 
+0x642f 019082 bpatch patch30_3 ,mem_patch30 
+0x6430 019083 fetch 1 ,mem_module_state 
+0x6431 019084 isolate0 at_state_cmode ,pdata 
+0x6432 019085 branch module_check_cmode_close ,true 
+0x6433 019086 arg mem_cmode_addr ,rega 
+0x6434 019087 arg 6 ,loopcnt 
+0x6435 019088 branch string_compare 
+:      019089 module_check_cmode_close:
+0x6436 019090 force 0 ,null 
+0x6437 019091 rtn 
+:      019093 module_init_static_string:
+0x6438 019094 set1 mark_ext_patch ,mark 
+0x6439 019095 bpatch patch30_4 ,mem_patch30 
+0x643a 019096 arg mem_prarm_pswd ,contw 
+0x643b 019097 setsect 0 ,0x35350 
+0x643c 019098 setsect 1 ,0x15115 
+0x643d 019099 setsect 2 ,0x12415 
+0x643e 019100 setsect 3 ,0x10951 
+0x643f 019101 istore 9 ,contw 
+0x6440 019102 setsect 0 ,0x2454c 
+0x6441 019103 setsect 1 ,0x35053 
+0x6442 019104 setsect 2 ,0x2454 
+0x6443 019105 setsect 3 ,0x11531 
+0x6444 019106 istore 9 ,contw 
+0x6445 019107 setsect 0 ,0x34441 
+0x6446 019108 setsect 1 ,0x194d4 
+0x6447 019109 setsect 2 ,0x12455 
+0x6448 019110 setsect 3 ,0x10d4d 
+0x6449 019111 istore 9 ,contw 
+0x644a 019112 setsect 0 ,0x3414c 
+0x644b 019113 setsect 1 ,0xd4d4 
+0x644c 019114 setsect 2 ,0x124c4 
+0x644d 019115 setsect 3 ,0x13119 
+0x644e 019116 istore 9 ,contw 
+0x644f 019117 setsect 0 ,0x15247 
+0x6450 019118 setsect 1 ,0x3d0d1 
+0x6451 019119 setsect 2 ,0xe4e4 
+0x6452 019120 setsect 3 ,0x11531 
+0x6453 019121 istore 9 ,contw 
+0x6454 019122 setsect 0 ,0x34944 
+0x6455 019123 setsect 1 ,0x114d4 
+0x6456 019124 setsect 2 ,0xe535 
+0x6457 019125 setsect 3 ,0x15105 
+0x6458 019126 istore 9 ,contw 
+0x6459 019127 setsect 0 ,0x14c2b 
+0x645a 019128 setsect 1 ,0x114d2 
+0x645b 019129 setsect 2 ,0xf525 
+0x645c 019130 setsect 3 ,0x11531 
+0x645d 019131 istore 9 ,contw 
+0x645e 019132 setsect 0 ,0x14e53 
+0x645f 019133 setsect 1 ,0x19192 
+0x6460 019134 setsect 2 ,0x44c4 
+0x6461 019135 setsect 3 ,0x15915 
+0x6462 019136 istore 9 ,contw 
+0x6463 019137 setsect 0 ,0x35352 
+0x6464 019138 setsect 1 ,0xd254 
+0x6465 019139 setsect 2 ,0x5444 
+0x6466 019140 setsect 3 ,0x10959 
+0x6467 019141 istore 9 ,contw 
+0x6468 019142 setsect 0 ,0x1454c 
+0x6469 019143 setsect 1 ,0x5392 
+0x646a 019144 setsect 2 ,0x3525 
+0x646b 019145 setsect 3 ,0x13d35 
+0x646c 019146 istore 9 ,contw 
+0x646d 019147 setsect 0 ,0x14544 
+0x646e 019148 setsect 1 ,0x113d3 
+0x646f 019149 setsect 2 ,0x4454 
+0x6470 019150 setsect 3 ,0x14d35 
+0x6471 019151 istore 9 ,contw 
+0x6472 019152 setsect 0 ,0x4154 
+0x6473 019153 setsect 1 ,0x11155 
+0x6474 019154 setsect 2 ,0x13494 
+0x6475 019155 setsect 3 ,0x13d0d 
+0x6476 019156 istore 9 ,contw 
+0x6477 019157 setsect 0 ,0x4f56 
+0x6478 019158 setsect 1 ,0x31055 
+0x6479 019159 setsect 2 ,0x3454 
+0x647a 019160 setsect 3 ,0x1393d 
+0x647b 019161 istore 9 ,contw 
+0x647c 019162 setsect 0 ,0x1504e 
+0x647d 019163 setsect 1 ,0x151d0 
+0x647e 019164 setsect 2 ,0x154f4 
+0x647f 019165 setsect 3 ,0x14951 
+0x6480 019166 istore 9 ,contw 
+0x6481 019167 setsect 0 ,0x24345 
+0x6482 019168 setsect 1 ,0x25051 
+0x6483 019169 setsect 2 ,0x4c4 
+0x6484 019170 istore 6 ,contw 
+0x6485 019171 rtn 
+:      019175 mouse_init:
+0x6486 019176 setarg le_mouse 
+0x6487 019177 store 2 ,mem_cb_le_process 
+0x6488 019178 setarg mouse_send_process 
+0x6489 019179 store 2 ,mem_cb_bt_process 
+0x648a 019180 setarg mouse_process_lpm_before 
+0x648b 019181 store 2 ,mem_cb_before_lpm 
+0x648c 019182 setarg mouse_priority_bb_event 
+0x648d 019183 store 2 ,mem_cb_bb_event_process 
+0x648e 019184 setarg mouse_idle 
+0x648f 019185 store 2 ,mem_cb_idle_process 
+0x6490 019186 setarg mouse_le_notify_update_data 
+0x6491 019187 store 2 ,mem_cb_update_notify_value 
+0x6492 019188 jam 0 ,mem_sp_flag 
+0x6493 019189 jam 0 ,mem_master_sp_flag 
+0x6494 019190 set0 mark_ext_patch ,mark 
+0x6495 019191 bpatch patch18_0 ,mem_patch18 
+0x6496 019192 call mouse_init_common 
+0x6497 019193 rtn wake 
+0x6498 019194 call mouse_init_environment 
+0x6499 019195 call mouse_dpi_init 
+0x649a 019196 setarg mouse_before_hibernate 
+0x649b 019197 store 2 ,mem_cb_before_hibernate 
+0x649c 019198 fetch 2 ,mem_ui_state_map 
+0x649d 019199 bbit1 ui_state_btn_down ,mouse_start_discovery 
+0x649e 019200 branch mouse_check_reconn_target 
+:      019202 mouse_init_environment:
+0x649f 019203 call app_initflag_check 
+0x64a0 019204 branch mouse_load_eeprom_param ,zero 
+0x64a1 019205 call eeprom_store_le_local_addr 
+0x64a2 019206 call eeprom_store_mouse_dpi 
+0x64a3 019207 branch app_initflag_store 
+:      019208 mouse_load_eeprom_param:
+0x64a4 019209 call eeprom_load_reconn_info 
+0x64a5 019210 call eeprom_load_le_loacal_addr 
+0x64a6 019211 branch eeprom_load_mouse_dpi 
+:      019213 mouse_dpi_init:
+0x64a7 019214 jam dpi_button_state_up ,mem_mouse_dpi_button_state 
+0x64a8 019215 branch mouse_modified_dpi 
+:      019217 mouse_idle:
+0x64a9 019218 call ui_check_paring_button 
+0x64aa 019219 call mouse_check_dpi 
+0x64ab 019220 branch mouse_wheel_check 
+:      019222 mouse_check_dpi:
+0x64ac 019223 fetcht 1 ,mem_dpi_button_gpio 
+0x64ad 019224 call gpio_get_bit 
+0x64ae 019225 nbranch mouse_dpi_up ,true 
+:      019226 mouse_dpi_down:
+0x64af 019227 fetch 1 ,mem_mouse_dpi_button_state 
+0x64b0 019228 rtneq dpi_button_state_down 
+0x64b1 019229 jam dpi_button_state_down ,mem_mouse_dpi_button_state 
+0x64b2 019230 rtn 
+:      019231 mouse_dpi_up:
+0x64b3 019232 fetch 1 ,mem_mouse_dpi_button_state 
+0x64b4 019233 rtneq dpi_button_state_up 
+0x64b5 019234 jam dpi_button_state_up ,mem_mouse_dpi_button_state 
+0x64b6 019235 fetch 1 ,mem_mouse_dpi 
+0x64b7 019236 increase 1 ,pdata 
+0x64b8 019237 and pdata ,0x03 ,pdata 
+0x64b9 019238 store 1 ,mem_mouse_dpi 
+0x64ba 019239 branch mouse_modified_dpi 
+:      019240 mouse_modified_dpi:
+0x64bb 019241 setarg mouse_dpi_address 
+0x64bc 019242 call twspi_read 
+0x64bd 019243 and pdata ,0xfc ,temp 
+0x64be 019244 fetch 1 ,mem_mouse_dpi 
+0x64bf 019245 iadd temp ,pdata 
+0x64c0 019246 lshift8 pdata ,pdata 
+0x64c1 019247 add pdata ,mouse_dpi_address ,pdata 
+0x64c2 019248 call twspi_write 
+0x64c3 019249 branch eeprom_store_mouse_dpi 
+:      019251 mouse_init_common:
+0x64c4 019252 call mouse_init_sunt 
+0x64c5 019253 call mouse_gpio_init 
+0x64c6 019254 hfetch 2 ,core_clkoff 
+0x64c7 019255 set0 clock_off_qdecoder ,pdata 
+0x64c8 019256 hstore 2 ,core_clkoff 
+0x64c9 019257 rtn 
+:      019259 mouse_gpio_init:
+0x64ca 019260 call lpm_disable_exen_output 
+0x64cb 019261 fetcht 1 ,mem_whee_a_data_gpio 
+0x64cc 019262 call gpio_config_input 
+0x64cd 019263 fetcht 1 ,mem_whee_b_data_gpio 
+0x64ce 019264 call gpio_config_input 
+0x64cf 019265 fetcht 1 ,mem_lbutton_gpio 
+0x64d0 019266 call gpio_config_input 
+0x64d1 019267 fetcht 1 ,mem_rbutton_gpio 
+0x64d2 019268 call gpio_config_input 
+0x64d3 019269 fetcht 1 ,mem_mbutton_gpio 
+0x64d4 019270 call gpio_config_input 
+0x64d5 019271 fetcht 1 ,mem_sensor_data_gpio 
+0x64d6 019272 call gpio_config_input 
+0x64d7 019273 fetcht 1 ,mem_dpi_button_gpio 
+0x64d8 019274 call gpio_config_input 
+0x64d9 019275 hfetch 1 ,core_gpio_pu3 
+0x64da 019276 or_into 0x18 ,pdata 
+0x64db 019277 hstore 1 ,core_gpio_pu3 
+0x64dc 019278 hfetch 1 ,core_gpio_pd2 + 1 
+0x64dd 019279 and_into 0xe7 ,pdata 
+0x64de 019280 hstore 1 ,core_gpio_pd2 + 1 
+0x64df 019281 rtn 
+:      019284 mouse_before_hibernate:
+0x64e0 019285 setarg 0xbc05 
+0x64e1 019286 call twspi_write 
+0x64e2 019287 jam 1 ,mem_lpm_current_mult 
+:      019289 mouse_process_lpm_before:
+0x64e3 019290 call mouse_wheel_check 
+0x64e4 019291 arg 25 ,temp 
+0x64e5 019292 call gpio_config_output 
+0x64e6 019293 hjam 0 ,core_gpio_sel1 
+0x64e7 019294 fetcht 1 ,mem_whee_a_data_gpio 
+0x64e8 019295 call gpio_set_wake_by_current_state 
+0x64e9 019296 fetcht 1 ,mem_whee_b_data_gpio 
+0x64ea 019297 call gpio_set_wake_by_current_state 
+0x64eb 019298 fetcht 1 ,mem_lbutton_gpio 
+0x64ec 019299 call gpio_set_wake_by_current_state 
+0x64ed 019300 fetcht 1 ,mem_rbutton_gpio 
+0x64ee 019301 call gpio_set_wake_by_current_state 
+0x64ef 019302 fetcht 1 ,mem_mbutton_gpio 
+0x64f0 019303 call gpio_set_wake_by_current_state 
+0x64f1 019304 fetcht 1 ,mem_sensor_data_gpio 
+0x64f2 019305 call gpio_set_wake 
+0x64f3 019306 fetch 1 ,mem_lpm_current_mult 
+0x64f4 019307 nrtn blank 
+0x64f5 019308 branch gpio_clr_wake 
+:      019310 mouse_wheel_check:
+0x64f6 019311 set0 mark_ext_patch ,mark 
+0x64f7 019312 bpatch patch18_1 ,mem_patch18 
+0x64f8 019313 arg 0 ,rega 
+0x64f9 019314 fetcht 1 ,mem_whee_a_data_gpio 
+0x64fa 019315 call gpio_get_bit 
+0x64fb 019316 setflag true ,0 ,rega 
+0x64fc 019317 fetcht 1 ,mem_whee_b_data_gpio 
+0x64fd 019318 call gpio_get_bit 
+0x64fe 019319 setflag true ,1 ,rega 
+0x64ff 019320 copy rega ,pdata 
+0x6500 019322 and_into 0x3 ,pdata 
+0x6501 019323 fetcht 1 ,mem_mouse_z_now 
+0x6502 019324 store 1 ,mem_mouse_z_now 
+0x6503 019325 isub temp ,null 
+0x6504 019326 branch mouse_wheel_clear ,zero 
+0x6505 019327 fetch 1 ,mem_mouse_z_before 
+0x6506 019328 store 1 ,mem_mouse_z_last 
+0x6507 019329 storet 1 ,mem_mouse_z_before 
+0x6508 019330 fetch 1 ,mem_mouse_z_now 
+0x6509 019331 lshift4 pdata ,pdata 
+0x650a 019332 fetcht 1 ,mem_mouse_z_before 
+0x650b 019333 lshift2 temp ,temp 
+0x650c 019334 iadd temp ,pdata 
+0x650d 019335 fetcht 1 ,mem_mouse_z_last 
+0x650e 019336 iadd temp ,pdata 
+0x650f 019337 beq 0x38 ,mouse_wheel_forward 
+0x6510 019338 beq 0x34 ,mouse_wheel_back 
+0x6511 019339 beq 0x0b ,mouse_wheel_back 
+0x6512 019340 beq 0x07 ,mouse_wheel_forward 
+0x6513 019341 rtn 
+:      019343 mouse_wheel_clear:
+0x6514 019344 rtn 
+:      019346 mouse_wheel_forward:
+0x6515 019347 fetch 1 ,mem_mouse_z_data 
+0x6516 019348 increase 1 ,pdata 
+0x6517 019349 store 1 ,mem_mouse_z_data 
+0x6518 019350 rtn 
+:      019352 mouse_wheel_back:
+0x6519 019353 fetch 1 ,mem_mouse_z_data 
+0x651a 019354 increase -1 ,pdata 
+0x651b 019355 store 1 ,mem_mouse_z_data 
+0x651c 019356 rtn 
+:      019358 mouse_process_ble:
+0x651d 019360 rtn 
+:      019361 mouse_sleep_sensor:
+0x651e 019362 setarg 0xB805 
+0x651f 019363 branch twspi_write 
+:      019365 mouse_bb_connected:
+0x6520 019366 rtn 
+:      019368 le_mouse_bb_event_write_request:
+0x6521 019369 call app_ble_store_reconn_info 
+0x6522 019370 jam mouse_mode_state_ble ,mem_mouse_mode_state 
+0x6523 019371 call app_lpm_mult_enable 
+:      019372 le_mouse_bb_event_enc_info:
+0x6524 019373 branch app_ble_start_write 
+:      019375 le_hibernate_timer:
+0x6525 019376 fetch 2 ,mem_le_hibernate_timer 
+0x6526 019377 rtn blank 
+0x6527 019378 increase -1 ,pdata 
+0x6528 019379 store 2 ,mem_le_hibernate_timer 
+0x6529 019380 nrtn blank 
+0x652a 019381 branch app_enter_hibernate 
+:      019383 mouse_hid_connected:
+0x652b 019384 setarg hid_handshake_timeout 
+0x652c 019385 store 1 ,mem_hid_handshake_timer_count 
+0x652d 019386 rtn 
+:      019388 mouse_send_process:
+0x652e 019389 fetch 1 ,mem_app_handshake_flag 
+0x652f 019390 rtn blank 
+0x6530 019391 call l2cap_malloc_is_fifo_nearly_full 
+0x6531 019392 nrtn blank 
+0x6532 019393 call mouse_motion 
+0x6533 019394 nrtn user 
+0x6534 019395 call mouse_no_data_timer_init 
+0x6535 019396 call mouse_send_blank_packet_timer_init 
+:      019397 mouse_send_data:
+0x6536 019398 arg 8 ,rega 
+0x6537 019399 call hid_malloc_tx_buff 
+0x6538 019400 fetch 2 ,mem_hid_int_remote_cid 
+0x6539 019401 istore 2 ,contw 
+0x653a 019402 setarg 0x02a1 
+0x653b 019403 istore 2 ,contw 
+0x653c 019404 fetch 1 ,mem_mouse_key 
+0x653d 019405 istore 1 ,contw 
+0x653e 019406 fetch 2 ,mem_mouse_x 
+0x653f 019407 arg 0xfff ,temp 
+0x6540 019408 iand temp ,pdata 
+0x6541 019409 fetcht 2 ,mem_mouse_y 
+0x6542 019410 lshift4 temp ,temp 
+0x6543 019411 lshift8 temp ,temp 
+0x6544 019412 ior temp ,pdata 
+0x6545 019413 istore 3 ,contw 
+0x6546 019414 fetch 1 ,mem_mouse_z 
+0x6547 019415 istore 1 ,contw 
+0x6548 019416 setarg 0 
+0x6549 019417 istore 1 ,contw 
+0x654a 019418 jam 8 ,mem_ui_data_txbuff_length 
+0x654b 019419 rtn 
+:      019422 mouse_send_blank_packet_timer:
+0x654c 019423 set0 mark_ext_patch ,mark 
+0x654d 019424 bpatch patch18_2 ,mem_patch18 
+0x654e 019425 fetch 1 ,mem_mouse_send_blank_timer 
+0x654f 019426 rtn blank 
+0x6550 019427 increase -1 ,pdata 
+0x6551 019428 store 1 ,mem_mouse_send_blank_timer 
+0x6552 019429 nrtn blank 
+0x6553 019430 call l2cap_malloc_is_fifo_empty 
+0x6554 019431 nrtn blank 
+0x6555 019432 setarg 0 
+0x6556 019433 store 5 ,mem_mouse_x 
+0x6557 019434 call mouse_send_data 
+0x6558 019435 jam mouse_send_blank_timer ,mem_mouse_send_blank_timer 
+0x6559 019436 rtn 
+:      019437 mouse_send_blank_packet_timer_init:
+0x655a 019438 fetch 2 ,mem_mouse_blank_data_timeout 
+0x655b 019439 store 2 ,mem_mouse_blank_data_timer 
+0x655c 019440 jam mouse_send_blank_timer ,mem_mouse_send_blank_timer 
+0x655d 019441 rtn 
+:      019443 mouse_no_data_timer_init:
+0x655e 019444 fetch 2 ,mem_mouse_no_data_timeout 
+0x655f 019445 store 2 ,mem_mouse_no_data_timer 
+0x6560 019446 rtn 
+:      019449 mouse_le_notify_update_data:
+0x6561 019450 fetcht 2 ,mem_le_notify_handle 
+0x6562 019451 call le_att_get_handle_ptr 
+0x6563 019452 ifetch 1 ,contr 
+0x6564 019453 store 1 ,mem_le_notify_len 
+0x6565 019454 rtn 
+:      019457 mouse_fill_data_le:
+0x6566 019458 set0 mark_ext_patch ,mark 
+0x6567 019459 bpatch patch18_3 ,mem_patch18 
+0x6568 019460 fetcht 2 ,mem_le_notify_handle 
+0x6569 019461 call le_att_get_handle_ptr 
+0x656a 019462 add contr ,1 ,contw 
+:      019463 mouse_fill_data:
+0x656b 019464 fetch 1 ,mem_mouse_key 
+0x656c 019465 istore 1 ,contw 
+0x656d 019466 fetch 2 ,mem_mouse_x 
+0x656e 019467 arg 0xfff ,temp 
+0x656f 019468 iand temp ,pdata 
+0x6570 019469 fetcht 2 ,mem_mouse_y 
+0x6571 019470 lshift4 temp ,temp 
+0x6572 019471 lshift8 temp ,temp 
+0x6573 019472 ior temp ,pdata 
+0x6574 019473 istore 3 ,contw 
+0x6575 019474 fetch 1 ,mem_mouse_z 
+0x6576 019475 istore 1 ,contw 
+0x6577 019476 rtn 
+:      019478 mouse_motion:
+0x6578 019479 set0 mark_ext_patch ,mark 
+0x6579 019480 bpatch patch18_4 ,mem_patch18 
+0x657a 019481 disable user 
+0x657b 019482 setarg 0 
+0x657c 019483 store 5 ,mem_mouse_x 
+0x657d 019484 call p3204_motion 
+0x657e 019485 call p3204_sdio_low 
+0x657f 019486 call mouse_zwheel 
+0x6580 019487 branch mouse_key 
+:      019489 p3204_motion:
+0x6581 019490 fetch 1 ,mem_sensor_type 
+0x6582 019491 rtnne sensor_type_p3204 
+0x6583 019492 fetch 1 ,mem_mouse_move_flag 
+0x6584 019493 call p3204_clear_data ,blank 
+0x6585 019494 jam 1 ,mem_mouse_move_flag 
+0x6586 019495 disable user 
+0x6587 019496 fetcht 1 ,mem_sensor_data_gpio 
+0x6588 019497 call gpio_get_bit 
+0x6589 019498 nrtn true 
+0x658a 019499 setarg 0 
+0x658b 019500 call twspi_read 
+0x658c 019501 bne p3204_id ,twspi_reset 
+0x658d 019502 setarg 2 
+0x658e 019503 call twspi_read 
+0x658f 019504 rtnbit0 7 
+0x6590 019505 setarg 3 
+0x6591 019506 call twspi_read 
+0x6592 019507 call extsign 
+0x6593 019508 store 2 ,mem_mouse_x 
+0x6594 019509 setarg 4 
+0x6595 019510 call twspi_read 
+0x6596 019511 call extsign 
+0x6597 019512 sub pdata ,0 ,pdata 
+0x6598 019513 store 2 ,mem_mouse_y 
+0x6599 019514 fetch 4 ,mem_mouse_x 
+0x659a 019515 enable user 
+0x659b 019516 rtn 
+:      019517 mouse_zwheel:
+0x659c 019518 fetch 1 ,mem_mouse_z_data 
+0x659d 019519 rtn blank 
+0x659e 019520 store 1 ,mem_mouse_z 
+0x659f 019521 jam 0 ,mem_mouse_z_data 
+0x65a0 019522 enable user 
+0x65a1 019523 rtn 
+:      019524 mouse_key:
+0x65a2 019525 arg 0 ,rega 
+0x65a3 019526 fetcht 1 ,mem_lbutton_gpio 
+0x65a4 019527 call gpio_get_bit 
+0x65a5 019528 setflag true ,0 ,rega 
+0x65a6 019529 fetcht 1 ,mem_rbutton_gpio 
+0x65a7 019530 call gpio_get_bit 
+0x65a8 019531 setflag true ,1 ,rega 
+0x65a9 019532 fetcht 1 ,mem_mbutton_gpio 
+0x65aa 019533 call gpio_get_bit 
+0x65ab 019534 setflag true ,2 ,rega 
+0x65ac 019535 deposit rega 
+0x65ad 019536 fetcht 1 ,mem_mouse_key 
+0x65ae 019537 store 1 ,mem_mouse_key 
+0x65af 019538 ixor temp ,pdata 
+0x65b0 019539 sub pdata ,0 ,null 
+0x65b1 019540 rtn zero 
+0x65b2 019541 enable user 
+0x65b3 019542 rtn 
+:      019547 p3204_sdio_low:
+0x65b4 019548 arg 26 ,temp 
+0x65b5 019549 call gpio_get_bit 
+0x65b6 019550 rtn true 
+0x65b7 019551 setarg 0 
+0x65b8 019552 call twspi_read 
+0x65b9 019553 branch p3204_sdio_low 
+:      019555 p3204_clear_data:
+0x65ba 019556 arg 0 ,loopcnt 
+:      019557 p3204_clear_data_loop:
+0x65bb 019558 setarg 2 
+0x65bc 019559 call twspi_read 
+0x65bd 019560 nop 100 
+0x65be 019561 increase 1 ,loopcnt 
+0x65bf 019562 fetcht 1 ,mem_sensor_data_gpio 
+0x65c0 019563 call gpio_get_bit 
+0x65c1 019564 branch p3204_clear_data_loop ,true 
+0x65c2 019565 deposit loopcnt 
+0x65c3 019566 store 2 ,mem_init_cnt 
+0x65c4 019567 rtn 
+:      019568 mouse_init_sunt:
+0x65c5 019569 call spid_init 
+0x65c6 019570 rtn wake 
+:      019572 mouse_init_p3204:
+0x65c7 019573 setarg 0 
+0x65c8 019574 call twspi_read 
+0x65c9 019575 store 1 ,mem_sensor_id 
+0x65ca 019576 beq p3204_id ,mouse_init_p3204_cont 
+0x65cb 019577 call twspi_reset 
+0x65cc 019578 nop 10000 
+0x65cd 019579 branch mouse_init_p3204 
+:      019580 mouse_init_p3204_cont:
+0x65ce 019581 setarg 0x8006 
+0x65cf 019582 call twspi_write 
+0x65d0 019583 nop 1000 
+0x65d1 019584 jam sensor_type_p3204 ,mem_sensor_type 
+0x65d2 019585 rtn 
+:      019589 extsign:
+0x65d3 019590 rtnbit0 7 
+0x65d4 019591 arg 0xff00 ,temp 
+0x65d5 019592 ior temp ,pdata 
+0x65d6 019593 rtn 
+:      019597 le_mouse:
+0x65d7 019598 call le_xtype_fifo_is_near_full 
+0x65d8 019599 nrtn blank 
+0x65d9 019600 fetcht 2 ,mem_le_notify_handle 
+0x65da 019601 call le_att_check_notification_enable 
+0x65db 019602 rtnbit0 0 
+0x65dc 019603 fetch 1 ,mem_le_switch_send_data 
+0x65dd 019604 rtnbit0 0 
+0x65de 019605 call mouse_motion 
+0x65df 019607 nrtn user 
+0x65e0 019608 call mouse_no_data_timer_init 
+0x65e1 019610 jam attop_handle_value_notification ,mem_fifo_temp 
+0x65e2 019611 call le_xtype_fifo_in 
+0x65e3 019612 branch mouse_fill_data_le 
+:      019614 mouse_test:
+0x65e4 019615 rtn user 
+0x65e5 019616 fetch 1 ,mem_mouse_test_cnt 
+0x65e6 019617 increase 1 ,pdata 
+0x65e7 019618 store 1 ,mem_mouse_test_cnt 
+0x65e8 019619 arg 1 ,temp 
+0x65e9 019620 bbit0 7 ,mouse_test_pos 
+0x65ea 019621 arg 0xffff ,temp 
+:      019622 mouse_test_pos:
+0x65eb 019623 storet 5 ,mem_mouse_x 
+0x65ec 019624 enable user 
+0x65ed 019625 rtn 
+:      019627 mouse_check_mode_state:
+0x65ee 019628 disable user 
+0x65ef 019629 fetch 1 ,mem_mouse_mode_state 
+0x65f0 019630 rtneq mouse_mode_state_ble 
+0x65f1 019631 enable user 
+0x65f2 019632 rtn 
+:      019634 mouse_priority_bb_event:
+0x65f3 019635 copy regc ,pdata 
+0x65f4 019636 beq bt_evt_le_connected ,le_mouse_bb_event_connected 
+0x65f5 019637 beq bt_evt_bb_connected ,mouse_stop_discovery 
+0x65f6 019638 beq bt_evt_le_disconnected ,mouse_bb_disconnected 
+0x65f7 019639 beq bt_evt_bb_disconnected ,mouse_bb_disconnected 
+0x65f8 019640 beq bt_evt_setup_complete ,mouse_bt_event_setup_complete 
+0x65f9 019641 beq bt_evt_button_long_pressed ,mouse_bb_event_discovery_btn 
+0x65fa 019642 beq bt_evt_hid_handshake ,mouse_bt_hid_handshake 
+0x65fb 019643 beq bt_evt_hid_connected ,mouse_bt_hid_connected 
+0x65fc 019644 beq bt_evt_le_write_request ,le_mouse_bb_event_write_request 
+0x65fd 019645 beq bt_evt_le_enc_info ,le_mouse_bb_event_enc_info 
+0x65fe 019646 beq bt_evt_reconn_failed ,mouse_bb_event_reconn_failed 
+0x65ff 019647 beq bt_evt_reconn_page_timeout ,mouse_bb_event_reconn_failed 
+0x6600 019648 beq bt_evt_pincode_req ,mouse_bb_event_pincode 
+0x6601 019649 beq bt_evt_remote_unsniff ,app_start_auto_sniff 
+0x6602 019650 and pdata ,0x0f ,temp 
+0x6603 019651 and_into bt_evt_timer_mask ,pdata 
+0x6604 019652 beq bt_evt_timer_init ,mouse_bb_event_timer 
+0x6605 019653 rtn 
+:      019655 le_mouse_bb_event_connected:
+0x6606 019656 fetch app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x6607 019657 set0 app_disc_by_button ,pdata 
+0x6608 019658 store app_disc_rsn_size ,mem_app_disconn_reason_flag 
+0x6609 019659 setarg 0 
+0x660a 019660 store 2 ,mem_mouse_direct_timer 
+0x660b 019661 fetch 1 ,mem_conn_cnt 
+0x660c 019662 increase 1 ,pdata 
+0x660d 019663 store 1 ,mem_conn_cnt 
+0x660e 019664 branch mouse_stop_discovery 
+:      019666 mouse_bb_event_pincode:
+0x660f 019667 call pincode_reinit 
+0x6610 019668 branch app_bt_set_pincode 
+:      019670 mouse_bb_event_reconn_failed:
+0x6611 019671 fetch 2 ,mem_ui_state_map 
+0x6612 019672 bbit1 ui_state_btn_down ,mouse_start_discovery 
+0x6613 019673 branch app_bb_hibernate 
+:      019676 mouse_bt_hid_connected:
+0x6614 019677 call mouse_hid_connected 
+0x6615 019678 rtn 
+:      019679 mouse_bt_event_setup_complete:
+0x6616 019680 rtn 
+:      019682 mouse_bb_disconnected:
+0x6617 019683 set0 mark_ext_patch ,mark 
+0x6618 019684 bpatch patch18_5 ,mem_patch18 
+0x6619 019685 call mouse_bb_discon_clear_stack 
+0x661a 019686 fetch app_disc_rsn_size ,mem_app_disconn_reason 
+0x661b 019687 bbit1 app_disc_ble ,mouse4_0_event_bb_disconn 
+0x661c 019688 bbit1 app_disc_by_button ,app_disconn_reason_clear 
+0x661d 019689 bbit1 app_disc_after_pairing ,mouse_event_light_state_pairing 
+0x661e 019690 bbit1 app_disc_after_reconn ,mouse_event_light_state_hibernate 
+0x661f 019691 bbit1 app_disc_after_sniff ,mouse_event_light_state_hibernate 
+0x6620 019692 branch mouse_start_discovery 
+:      019693 mouse_bb_discon_clear_stack:
+0x6621 019694 setarg 0 
+0x6622 019695 store 4 ,mem_mouse_z_last 
+0x6623 019696 jam 0 ,mem_mouse_send_blank_timer 
+0x6624 019697 jam 0 ,mem_mouse_move_flag 
+0x6625 019698 jam app_handshake_null ,mem_app_handshake_flag 
+0x6626 019699 jam 0 ,mem_ltk_exists 
+0x6627 019700 jam 0 ,mem_mouse_mode_state 
+0x6628 019701 jam 0 ,mem_reconnect_timeout 
+0x6629 019702 rtn 
+:      019704 mouse_event_light_state_pairing:
+0x662a 019705 bbit1 app_disc_after_handshake ,mouse_event_light_state_hibernate 
+0x662b 019706 bbit1 app_disc_after_sniff ,mouse_event_light_state_hibernate 
+0x662c 019707 branch mouse_start_discovery 
+:      019708 mouse_event_light_state_hibernate:
+0x662d 019709 fetch 2 ,mem_ui_state_map 
+0x662e 019710 bbit1 ui_state_btn_down ,mouse_start_discovery 
+0x662f 019711 branch app_bb_hibernate 
+:      019713 mouse4_0_event_bb_disconn:
+0x6630 019714 call le_clean_att_list_handle_enable 
+0x6631 019715 fetch app_disc_rsn_size ,mem_app_disconn_reason 
+0x6632 019716 bbit1 app_disc_by_button ,app_disconn_reason_clear 
+0x6633 019717 branch app_bb_hibernate 
+:      019719 mouse_bb_event_timer:
+0x6634 019720 set0 mark_ext_patch ,mark 
+0x6635 019721 bpatch patch18_6 ,mem_patch18 
+0x6636 019722 storet 1 ,mem_app_evt_timer_count 
+:      019723 mouse_bb_event_100ms_loop:
+0x6637 019724 fetch 1 ,mem_app_evt_timer_count 
+0x6638 019725 rtn blank 
+0x6639 019726 increase -1 ,pdata 
+0x663a 019727 store 1 ,mem_app_evt_timer_count 
+0x663b 019730 call mouse_check_hid_handshake_timer 
+0x663c 019731 call mouse_check_discovery_timeout_timer 
+0x663d 019732 call mouse_check_direct_timeout_timer 
+0x663e 019733 call mouse_check_no_data_timeout_timer 
+0x663f 019735 fetch 1 ,mem_mouse_mode_state 
+0x6640 019736 compare mouse_mode_state_ble ,pdata ,0xff 
+0x6641 019737 call mouse4_0_bb_event_100ms ,true 
+0x6642 019738 fetch 1 ,mem_mouse_mode_state 
+0x6643 019739 compare mouse_mode_state_bt ,pdata ,0xff 
+0x6644 019740 call mouse3_0_bb_event_100ms ,true 
+0x6645 019741 branch mouse_bb_event_100ms_loop 
+:      019743 mouse3_0_bb_event_100ms:
+0x6646 019745 call mouse_check_blank_data_timeout_timer 
+0x6647 019746 branch mouse_send_blank_packet_timer 
+:      019748 mouse4_0_bb_event_100ms:
+0x6648 019750 rtn 
+:      019752 mouse_check_hid_handshake_timer:
+0x6649 019753 fetch 1 ,mem_hid_handshake_timer_count 
+0x664a 019754 rtn blank 
+0x664b 019755 increase -1 ,pdata 
+0x664c 019756 store 1 ,mem_hid_handshake_timer_count 
+0x664d 019757 nrtn blank 
+0x664e 019758 branch mouse_bt_hid_handshake 
+:      019760 mouse_check_discovery_timeout_timer:
+0x664f 019761 fetch 2 ,mem_mouse_discovery_timer 
+0x6650 019762 rtn blank 
+0x6651 019763 increase -1 ,pdata 
+0x6652 019764 store 2 ,mem_mouse_discovery_timer 
+0x6653 019765 nrtn blank 
+0x6654 019766 call mouse_stop_discovery 
+0x6655 019767 branch app_enter_hibernate 
+:      019769 mouse_check_direct_timeout_timer:
+0x6656 019770 fetch 2 ,mem_mouse_direct_timer 
+0x6657 019771 rtn blank 
+0x6658 019772 increase -1 ,pdata 
+0x6659 019773 store 2 ,mem_mouse_direct_timer 
+0x665a 019774 nrtn blank 
+0x665b 019775 call app_ble_stop_direct_adv 
+0x665c 019776 branch app_enter_hibernate 
+:      019778 mouse_check_blank_data_timeout_timer:
+0x665d 019779 fetch 2 ,mem_mouse_blank_data_timer 
+0x665e 019780 rtn blank 
+0x665f 019781 increase -1 ,pdata 
+0x6660 019782 store 2 ,mem_mouse_blank_data_timer 
+0x6661 019783 nrtn blank 
+0x6662 019784 jam 0 ,mem_mouse_send_blank_timer 
+0x6663 019785 rtn 
+:      019787 mouse_check_no_data_timeout_timer:
+0x6664 019788 fetch 2 ,mem_mouse_no_data_timer 
+0x6665 019789 rtn blank 
+0x6666 019790 increase -1 ,pdata 
+0x6667 019791 store 2 ,mem_mouse_no_data_timer 
+0x6668 019792 nrtn blank 
+0x6669 019793 branch mouse_disconnect 
+:      019795 mouse_bb_event_discovery_btn:
+0x666a 019796 set0 mark_ext_patch ,mark 
+0x666b 019797 bpatch patch18_7 ,mem_patch18 
+0x666c 019798 jam 0 ,mem_mouse_send_blank_timer 
+0x666d 019799 jam 1 ,mem_reconnect_timeout 
+0x666e 019800 setarg 0 
+0x666f 019801 store 2 ,mem_mouse_direct_timer 
+0x6670 019802 call mouse_disconnect 
+0x6671 019803 fetch 1 ,mem_device_option 
+0x6672 019804 isolate1 mode_4_mouse ,pdata 
+0x6673 019805 call mouse4_0_bb_event_discovery_btn ,true 
+0x6674 019806 fetch 1 ,mem_device_option 
+0x6675 019807 isolate1 mode_3_mouse ,pdata 
+0x6676 019808 call mouse3_0_bb_event_discovery_btn ,true 
+0x6677 019809 call app_lpm_mult_disable 
+0x6678 019810 branch mouse_start_discovery 
+:      019814 mouse3_0_check_reconn_target:
+0x6679 019815 fetch 6 ,mem_hci_plap 
+0x667a 019816 branch app_bt_start_discovery_short ,blank 
+0x667b 019817 branch app_bt_start_reconnect 
+:      019819 mouse4_0_check_reconn_target:
+0x667c 019820 fetch 6 ,mem_hci_plap 
+0x667d 019821 branch mouse4_0_no_reconn_target ,blank 
+0x667e 019822 fetch 2 ,mem_mouse_direct_timeout 
+0x667f 019823 store 2 ,mem_mouse_direct_timer 
+0x6680 019824 call app_lpm_mult_enable 
+0x6681 019825 branch app_ble_start_direct_adv 
+:      019826 mouse4_0_no_reconn_target:
+0x6682 019827 call app_led_start_blink 
+0x6683 019828 branch app_ble_start_adv 
+:      019830 mouse3_0_bb_event_discovery_btn:
+0x6684 019831 fetch 2 ,mem_ui_state_map 
+0x6685 019832 isolate1 ui_state_bt_reconnect ,pdata 
+0x6686 019833 call app_bt_reconnect_cancel ,true 
+0x6687 019834 rtn 
+:      019835 mouse4_0_bb_event_discovery_btn:
+0x6688 019836 call le_clean_att_list_handle_enable 
+0x6689 019837 rtn 
+:      019839 mouse_bt_hid_handshake:
+0x668a 019840 jam app_handshake_done ,mem_app_handshake_flag 
+0x668b 019841 call app_lpm_mult_enable 
+0x668c 019842 call app_bt_store_reconn_info 
+0x668d 019843 jam mouse_mode_state_bt ,mem_mouse_mode_state 
+0x668e 019844 setarg 0 
+0x668f 019845 store 2 ,mem_discovery_timeout_timer_count 
+0x6690 019846 store 1 ,mem_hid_handshake_timer_count 
+0x6691 019847 call app_bt_enter_sniff 
+0x6692 019848 branch mouse_send_blank_packet_timer_init 
+:      019850 mouse_check_reconn_target:
+0x6693 019851 fetch 1 ,mem_xrecord_mode 
+0x6694 019852 beq rec_3_mode ,mouse3_0_check_reconn_target 
+0x6695 019853 beq rec_4_mode ,mouse4_0_check_reconn_target 
+0x6696 019854 branch mouse_start_discovery 
+:      019856 mouse_start_discovery:
+0x6697 019857 set0 mark_ext_patch ,mark 
+0x6698 019858 bpatch patch19_0 ,mem_patch19 
+0x6699 019859 fetch 1 ,mem_le_lap 
+0x669a 019860 increase 1 ,pdata 
+0x669b 019861 store 1 ,mem_le_lap 
+0x669c 019862 call app_lpm_mult_disable 
+0x669d 019863 fetch 2 ,mem_discovery_timeout 
+0x669e 019864 store 2 ,mem_mouse_discovery_timer 
+0x669f 019865 fetch 1 ,mem_device_option 
+0x66a0 019866 isolate1 mode_4_mouse ,pdata 
+0x66a1 019867 call app_ble_start_adv ,true 
+0x66a2 019868 fetch 1 ,mem_device_option 
+0x66a3 019869 isolate1 mode_3_mouse ,pdata 
+0x66a4 019870 call app_bt_start_discovery ,true 
+0x66a5 019871 branch app_led_start_blink 
+:      019873 mouse_stop_discovery:
+0x66a6 019874 set0 mark_ext_patch ,mark 
+0x66a7 019875 bpatch patch19_1 ,mem_patch19 
+0x66a8 019876 setarg 0 
+0x66a9 019877 store 2 ,mem_mouse_discovery_timer 
+0x66aa 019878 fetch 1 ,mem_device_option 
+0x66ab 019879 isolate1 mode_4_mouse ,pdata 
+0x66ac 019880 call app_ble_stop_adv ,true 
+0x66ad 019881 fetch 1 ,mem_device_option 
+0x66ae 019882 isolate1 mode_3_mouse ,pdata 
+0x66af 019883 call app_bt_stop_discovery ,true 
+0x66b0 019884 branch app_led_stop_blink 
+:      019886 mouse_disconnect:
+0x66b1 019887 set0 mark_ext_patch ,mark 
+0x66b2 019888 bpatch patch19_2 ,mem_patch19 
+0x66b3 019889 setarg 0 
+0x66b4 019890 store 2 ,mem_mouse_no_data_timer 
+0x66b5 019891 fetch 2 ,mem_ui_state_map 
+0x66b6 019892 bbit1 ui_state_ble_connected ,app_ble_disconnect 
+0x66b7 019893 fetch 2 ,mem_ui_state_map 
+0x66b8 019894 bbit1 ui_state_bt_connected ,app_bt_disconnect 
+0x66b9 019895 rtn 
+:      019897 eeprom_store_mouse_dpi:
+0x66ba 019898 set0 mark_ext_patch ,mark 
+0x66bb 019899 bpatch patch19_3 ,mem_patch19 
+0x66bc 019900 arg 1 ,temp 
+0x66bd 019901 arg mem_mouse_dpi ,rega 
+0x66be 019902 arg mouse_dpi_eeprom_addr ,regb 
+0x66bf 019903 branch iicd_write_eep_data 
+:      019905 eeprom_load_mouse_dpi:
+0x66c0 019906 set0 mark_ext_patch ,mark 
+0x66c1 019907 bpatch patch19_4 ,mem_patch19 
+0x66c2 019908 arg 1 ,temp 
+0x66c3 019909 arg mem_mouse_dpi ,rega 
+0x66c4 019910 arg mouse_dpi_eeprom_addr ,regb 
+0x66c5 019911 branch iicd_read_eep_data 
+:      019919 twspi_reset:
+0x66c6 019920 set0 mark_ext_patch ,mark 
+0x66c7 019921 bpatch patch1f_6 ,mem_patch1f 
+0x66c8 019922 hfetch 1 ,core_gpio_oe3 
+0x66c9 019923 arg 0x06 ,temp 
+0x66ca 019924 ior temp ,pdata 
+0x66cb 019925 hstore 1 ,core_gpio_oe3 
+0x66cc 019926 hfetch 1 ,core_gpio_out3 
+0x66cd 019927 ior temp ,pdata 
+0x66ce 019928 hstore 1 ,core_gpio_out3 
+0x66cf 019929 hjam 0 ,core_gpio_sel1 
+0x66d0 019930 hfetch 1 ,core_gpio_out3 
+0x66d1 019931 set0 1 ,pdata 
+0x66d2 019932 set0 2 ,pdata 
+0x66d3 019933 hstore 1 ,core_gpio_out3 
+0x66d4 019934 nop 30 
+0x66d5 019935 hjam 1 ,core_gpio_sel1 
+0x66d6 019936 rtn 
+:      019937 twspi_write:
+0x66d7 019938 branch spid_write_reg 
+:      019940 twspi_read:
+0x66d8 019941 branch spid_read_reg 
+:      019948 read_function_aes:
+0x66d9 019949 nbranch read_function ,user 
+0x66da 019950 hfetch 1 ,core_gpio_key2 
+0x66db 019951 or_into 0x20 ,pdata 
+0x66dc 019952 hstore 1 ,core_gpio_key2 
+:      019953 read_function:
+0x66dd 019954 copy temp ,null 
+0x66de 019955 branch read_fuction_zero ,zero 
+0x66df 019956 copy regc ,pc 
+:      019957 read_fuction_zero:
+0x66e0 019958 isolate0 0 ,null 
+0x66e1 019959 branch set_ucode_status 
+:      019962 get_block_header:
+0x66e2 019963 force 4 ,temp 
+:      019964 get_block_header0:
+0x66e3 019965 arg mem_ucode_buf ,rega 
+0x66e4 019966 hfetch 1 ,core_gpio_key2 
+0x66e5 019967 and_into 0xdf ,pdata 
+0x66e6 019968 hstore 1 ,core_gpio_key2 
+0x66e7 019969 call read_function 
+0x66e8 019970 arg 0x55aa ,rega 
+0x66e9 019971 fetch 2 ,mem_ucode_buf 
+0x66ea 019972 ifetcht 2 ,contr 
+0x66eb 019973 isub rega ,null 
+0x66ec 019974 rtn 
+:      019976 read_first_block:
+0x66ed 019977 arg 2 ,temp 
+0x66ee 019978 arg mem_ucode_ptr ,rega 
+0x66ef 019979 call read_function 
+0x66f0 019980 fetch 2 ,mem_ucode_ptr 
+0x66f1 019981 store 2 ,mem_addr_mi 
+0x66f2 019982 call get_iv ,user 
+0x66f3 019983 rtn 
+:      019985 get_iv:
+0x66f4 019986 arg 16 ,temp 
+0x66f5 019987 arg mem_ucode_keybuf ,rega 
+0x66f6 019988 hfetch 1 ,core_gpio_key2 
+0x66f7 019989 and_into 0xdf ,pdata 
+0x66f8 019990 hstore 1 ,core_gpio_key2 
+0x66f9 019991 call read_function 
+0x66fa 019992 arg mem_ucode_keybuf ,contr 
+0x66fb 019993 arg 16 ,loopcnt 
+0x66fc 019994 call aes_load_data 
+0x66fd 019995 call aes_init 
+0x66fe 019996 call aes_clear_data 
+0x66ff 019997 branch do_aes_cbc 
+:      019999 load_storage:
+0x6700 020000 disable match 
+0x6701 020001 call get_block_header 
+0x6702 020002 nrtn zero 
+0x6703 020003 enable match 
+0x6704 020004 hjam 0x80 ,core_ucode_ctrl 
+0x6705 020005 hjam 0 ,core_ucode_hi 
+0x6706 020006 hjam 0 ,core_ucode_low 
+0x6707 020007 arg core_ucode_data ,rega 
+0x6708 020008 call read_function_aes 
+0x6709 020009 hjam 0x0 ,core_ucode_ctrl 
+0x670a 020010 call get_block_header 
+0x670b 020011 nrtn zero 
+0x670c 020012 force 0 ,pdata 
+0x670d 020013 hstore 2 ,core_docd_paddr 
+0x670e 020014 arg core_docd_pdata ,rega 
+0x670f 020015 call read_function_aes 
+:      020016 load_storage_loop:
+0x6710 020017 arg 6 ,temp 
+0x6711 020018 call get_block_header0 
+0x6712 020019 nrtn zero 
+0x6713 020020 ifetch 2 ,contr 
+0x6714 020021 iforce rega 
+0x6715 020022 call read_function 
+0x6716 020023 branch load_storage_loop 
+:      020029 reload_eeprom:
+0x6717 020030 call clean_mem 
+0x6718 020031 setarg 0x1000 
+0x6719 020032 store 2 ,mem_addr_mi 
+0x671a 020033 arg iicd_read_eep ,regc 
+0x671b 020034 arg 2 ,loopcnt 
+:      020035 reload_eeprom_loop:
+0x671c 020036 call get_block_header 
+0x671d 020037 nrtn zero 
+0x671e 020038 fetch 2 ,mem_addr_mi 
+0x671f 020039 byteswap pdata ,pdata 
+0x6720 020040 iadd temp ,pdata 
+0x6721 020041 byteswap pdata ,pdata 
+0x6722 020042 store 2 ,mem_addr_mi 
+0x6723 020043 loop reload_eeprom_loop 
+0x6724 020044 branch load_storage_loop 
+:      020046 loadcode:
+0x6725 020047 hjam 0x25 ,core_clkoff 
+0x6726 020048 hjam 5 ,core_docd_ctrl 
+0x6727 020049 call clean_mem 
+:      020050 loadcode_lpm:
+0x6728 020051 disable user 
+0x6729 020052 call otp_enable_chgpump 
+0x672a 020053 setarg otp_ucode_flag 
+0x672b 020054 arg mem_otp_ucode_flag ,rega 
+0x672c 020055 arg 2 ,temp 
+0x672d 020056 call otpd_read_data 
+0x672e 020057 fetch 2 ,mem_otp_ucode_flag 
+0x672f 020058 bbit0 otp_uflag_aes ,loadcode_otp 
+0x6730 020059 setarg otp_ucode_aeskey 
+0x6731 020060 arg mem_ucode_keybuf ,rega 
+0x6732 020061 arg 16 ,temp 
+0x6733 020062 call otpd_read_data 
+0x6734 020063 hjam lock_otp ,core_misc_ctrl 
+0x6735 020064 arg mem_ucode_keybuf ,contr 
+0x6736 020065 call load_key 
+0x6737 020066 enable user 
+:      020067 loadcode_otp:
+0x6738 020068 fetch 2 ,mem_otp_ucode_flag 
+0x6739 020069 byteswap pdata ,pdata 
+0x673a 020070 arg 0x7ff ,temp 
+0x673b 020071 iand temp ,pdata 
+0x673c 020072 branch loadcode_spi ,zero 
+0x673d 020073 call otp_set_addr 
+0x673e 020074 arg otpd_read_code ,regc 
+0x673f 020075 call get_iv ,user 
+0x6740 020076 call load_storage 
+0x6741 020077 fetch 1 ,mem_ucode_status 
+0x6742 020078 compare 3 ,pdata ,3 
+0x6743 020079 nbranch loadcode_otp ,true 
+:      020080 loadcode_spi:
+0x6744 020081 call otp_disable_chgpump 
+0x6745 020082 fetch 1 ,mem_otp_ucode_flag 
+0x6746 020083 bbit1 otp_uflag_skip_flash ,loadcode_iic 
+0x6747 020084 setarg 0x0 
+0x6748 020085 store 3 ,mem_addr_hi 
+0x6749 020086 call spid_init_flash 
+0x674a 020087 arg spid_read_flash ,regc 
+0x674b 020088 call read_first_block 
+0x674c 020089 call load_storage 
+0x674d 020090 nbranch loadcode_iic ,match 
+0x674e 020091 fetch 1 ,mem_ucode_status 
+0x674f 020092 compare 3 ,pdata ,3 
+0x6750 020093 nbranch loadcode_spi ,true 
+:      020094 loadcode_iic:
+0x6751 020095 fetch 1 ,mem_otp_ucode_flag 
+0x6752 020096 bbit1 otp_uflag_skip_eep ,loadcode_hci 
+0x6753 020097 setarg 0x0 
+0x6754 020098 store 2 ,mem_addr_mi 
+0x6755 020099 arg iicd_read_eep ,regc 
+0x6756 020100 call iicd_init_12m 
+0x6757 020101 call read_first_block 
+0x6758 020102 call load_storage 
+0x6759 020103 nbranch loadcode_hci ,match 
+0x675a 020104 fetch 1 ,mem_ucode_status 
+0x675b 020105 compare 3 ,pdata ,3 
+0x675c 020106 nbranch loadcode_iic ,true 
+:      020107 loadcode_hci:
+0x675d 020108 hjam 0x21 ,core_clkoff 
+0x675e 020109 fetch 1 ,mem_otp_ucode_flag 
+0x675f 020110 rtnbit0 otp_uflag_hci 
+0x6760 020111 call hci_init 
+:      020112 loadcode_hci_loop:
+0x6761 020113 call hci_rx_packet 
+0x6762 020114 branch loadcode_hci_loop 
+:      020117 set_ucode_status:
+0x6763 020118 fetch 1 ,mem_ucode_status 
+0x6764 020119 lshift pdata ,pdata 
+0x6765 020120 setflag true ,0 ,pdata 
+0x6766 020121 isolate0 15 ,rega 
+0x6767 020122 rtn true 
+0x6768 020123 store 1 ,mem_ucode_status 
+0x6769 020124 rtn 
+:      020127 decrypt_code:
+0x676a 020128 hfetch 1 ,core_gpio_key2 
+0x676b 020129 rtnbit0 5 
+0x676c 020130 branch decrypt_code_skip 
+:      020131 decrypt_code_loop:
+0x676d 020132 hfetch 1 ,core_dma_status 
+0x676e 020133 qisolate1 pdata 
+0x676f 020134 rtn true 
+:      020135 decrypt_code_skip:
+0x6770 020136 hfetch 1 ,core_misc_status 
+0x6771 020137 bbit0 1 ,decrypt_code_loop 
+0x6772 020138 call do_aes_cbc 
+0x6773 020139 branch decrypt_code_loop 
+:      020143 save_ucode:
+0x6774 020144 copy loopcnt ,temp 
+0x6775 020145 storet 2 ,mem_patch_len 
+0x6776 020146 hjam 0x80 ,core_ucode_ctrl 
+0x6777 020147 hjam 0 ,core_ucode_hi 
+0x6778 020148 hjam 0 ,core_ucode_low 
+0x6779 020149 store 2 ,mem_patch_ptr 
+0x677a 020150 iforce contw 
+0x677b 020151 lshift2 loopcnt ,loopcnt 
+:      020152 save_ucode_loop:
+0x677c 020153 hfetch 1 ,core_ucode_data 
+0x677d 020154 istore 1 ,contw 
+0x677e 020155 loop save_ucode_loop 
+0x677f 020156 hjam 0x0 ,core_ucode_ctrl 
+0x6780 020157 rtn 
+:      020159 load_ucode:
+0x6781 020160 fetch 2 ,mem_patch_ptr 
+0x6782 020161 rtn blank 
+0x6783 020162 hjam 0x80 ,core_ucode_ctrl 
+0x6784 020163 hjam 0 ,core_ucode_hi 
+0x6785 020164 hjam 0 ,core_ucode_low 
+0x6786 020165 fetcht 2 ,mem_patch_len 
+0x6787 020166 lshift2 temp ,loopcnt 
+0x6788 020167 iforce contr 
+:      020168 load_ucode_loop:
+0x6789 020169 ifetch 1 ,contr 
+0x678a 020170 hstore 1 ,core_ucode_data 
+0x678b 020171 loop load_ucode_loop 
+0x678c 020172 hjam 0x0 ,core_ucode_ctrl 
+0x678d 020173 rtn 
+:      020178 spid_init:
+0x678e 020179 set0 mark_ext_patch ,mark 
+0x678f 020180 bpatch patch1f_7 ,mem_patch1f 
+0x6790 020181 hjam 0x75 ,core_spid_ctrl 
+0x6791 020182 hjam 10 ,core_spid_delay 
+0x6792 020183 setarg mem_spid_tbuf 
+0x6793 020184 hstore 2 ,core_spid_txaddr 
+0x6794 020185 setarg mem_spid_rbuf 
+0x6795 020186 hstore 2 ,core_spid_rxaddr 
+0x6796 020187 hfetch 1 ,core_gpio_sel1 
+0x6797 020188 set1 0 ,pdata 
+0x6798 020189 set0 1 ,pdata 
+0x6799 020190 hstore 1 ,core_gpio_sel1 
+0x679a 020191 rtn 
+:      020193 spid_reset:
+0x679b 020194 hfetch 1 ,core_spid_ctrl 
+0x679c 020195 set1 7 ,pdata 
+0x679d 020196 hstore 1 ,core_spid_ctrl 
+0x679e 020197 set0 7 ,pdata 
+0x679f 020198 hstore 1 ,core_spid_ctrl 
+0x67a0 020199 rtn 
+:      020203 spid_write_reg:
+0x67a1 020204 set1 7 ,pdata 
+0x67a2 020205 store 2 ,mem_spid_tbuf 
+0x67a3 020206 set1 mark_ext_patch ,mark 
+0x67a4 020207 bpatch patch20_0 ,mem_patch20 
+0x67a5 020208 hjam 2 ,core_spid_txlen 
+0x67a6 020209 hjam 0 ,core_spid_rxlen 
+0x67a7 020210 hjam spid_start ,core_misc_ctrl 
+0x67a8 020211 branch wait_spid_done 
+:      020214 spid_read_reg:
+0x67a9 020215 force 1 ,temp 
+:      020217 spid_read_regs:
+0x67aa 020219 store 1 ,mem_spid_tbuf 
+0x67ab 020220 set1 mark_ext_patch ,mark 
+0x67ac 020221 bpatch patch20_1 ,mem_patch20 
+0x67ad 020222 hjam 1 ,core_spid_txlen 
+0x67ae 020223 hstoret 2 ,core_spid_rxlen 
+0x67af 020224 hjam spid_start ,core_misc_ctrl 
+0x67b0 020225 call wait_spid_done 
+0x67b1 020226 fetch 1 ,mem_spid_rbuf 
+0x67b2 020227 rtn 
+:      020229 wait_spid_done:
+0x67b3 020230 fetch 2 ,mem_afh_error_total 
+0x67b4 020231 increase 1 ,pdata 
+0x67b5 020232 store 2 ,mem_afh_error_total 
+0x67b6 020233 hfetch 1 ,core_dma_status 
+0x67b7 020234 bbit0 spid_done ,wait_spid_done 
+0x67b8 020235 rtn 
+:      020237 spid_init_flash:
+0x67b9 020238 hjam 0x40 ,core_spid_ctrl 
+0x67ba 020239 hjam 0x0 ,core_spid_delay 
+0x67bb 020240 hfetch 1 ,core_gpio_sel1 
+0x67bc 020241 set0 0 ,pdata 
+0x67bd 020242 set1 1 ,pdata 
+0x67be 020243 hstore 1 ,core_gpio_sel1 
+0x67bf 020244 setarg 0 
+0x67c0 020245 store 4 ,mem_spid_tbuf 
+0x67c1 020246 rtn 
+:      020248 spid_unlock_flash:
+0x67c2 020249 setarg 0 
+0x67c3 020250 hstore 2 ,core_spid_rxlen 
+0x67c4 020251 setarg 1 
+0x67c5 020252 hstore 1 ,core_spid_txlen 
+0x67c6 020253 setarg mem_spid_tbuf 
+0x67c7 020254 hstore 2 ,core_spid_txaddr 
+0x67c8 020255 jam 6 ,mem_spid_tbuf 
+0x67c9 020256 hjam spid_start ,core_misc_ctrl 
+0x67ca 020257 branch wait_spid_done 
+:      020261 spid_write_flash:
+0x67cb 020262 increase 4 ,temp 
+0x67cc 020263 hstoret 2 ,core_spid_txlen 
+0x67cd 020264 increase -4 ,rega 
+0x67ce 020265 arg 2 ,temp 
+0x67cf 020266 istoret 1 ,rega 
+0x67d0 020267 rshift16 pdata ,temp 
+0x67d1 020268 istoret 1 ,contw 
+0x67d2 020269 rshift8 pdata ,temp 
+0x67d3 020270 istoret 1 ,contw 
+0x67d4 020271 istore 1 ,contw 
+0x67d5 020272 deposit rega 
+0x67d6 020273 hstore 2 ,core_spid_txaddr 
+0x67d7 020274 setarg 0 
+0x67d8 020275 hstore 2 ,core_spid_rxlen 
+0x67d9 020276 hjam spid_start ,core_misc_ctrl 
+0x67da 020277 branch wait_spid_done 
+:      020281 spid_read_flash:
+0x67db 020282 hstoret 2 ,core_spid_rxlen 
+0x67dc 020283 setarg 4 
+0x67dd 020284 hstore 2 ,core_spid_txlen 
+0x67de 020285 jam 3 ,mem_spid_tbuf 
+0x67df 020286 setarg mem_spid_tbuf 
+0x67e0 020287 hstore 2 ,core_spid_txaddr 
+0x67e1 020288 deposit rega 
+0x67e2 020289 hstore 2 ,core_spid_rxaddr 
+0x67e3 020290 hfetch 1 ,core_spid_ctrl 
+0x67e4 020291 isolate0 15 ,rega 
+0x67e5 020292 setflag true ,6 ,pdata 
+0x67e6 020293 hstore 1 ,core_spid_ctrl 
+0x67e7 020294 hjam spid_start ,core_misc_ctrl 
+:      020295 spi_read_flash_wait:
+0x67e8 020296 hfetch 1 ,core_dma_status 
+0x67e9 020297 bbit1 7 ,spi_read_flash_wait 
+0x67ea 020298 arg spid_done ,queue 
+0x67eb 020299 call decrypt_code 
+0x67ec 020300 call wait_spid_done 
+0x67ed 020301 isolate1 spid_crcok ,pdata 
+0x67ee 020302 call set_ucode_status 
+0x67ef 020303 fetch 1 ,mem_addr_hi 
+0x67f0 020304 lshift16 pdata ,regb 
+0x67f1 020305 fetch 1 ,mem_addr_mi 
+0x67f2 020306 lshift8 pdata ,pdata 
+0x67f3 020307 ior regb ,regb 
+0x67f4 020308 fetch 1 ,mem_addr_lo 
+0x67f5 020309 ior regb ,pdata 
+0x67f6 020310 iadd temp ,pdata 
+0x67f7 020311 store 1 ,mem_addr_lo 
+0x67f8 020312 rshift8 pdata ,pdata 
+0x67f9 020313 store 1 ,mem_addr_mi 
+0x67fa 020314 rshift8 pdata ,pdata 
+0x67fb 020315 store 1 ,mem_addr_hi 
+0x67fc 020316 rtn 
+:      020320 iicd_init_5m:
+0x67fd 020321 hjam 0xa ,core_clksel 
+0x67fe 020322 hjam 2 ,core_iicd_scl_low 
+0x67ff 020323 hjam 3 ,core_iicd_scl_high 
+0x6800 020324 hjam 3 ,core_iicd_start_setup 
+0x6801 020325 hjam 3 ,core_iicd_start_hold 
+0x6802 020326 hjam 3 ,core_iicd_stop_setup 
+0x6803 020327 hjam 2 ,core_iicd_data_setup 
+0x6804 020328 rtn 
+:      020330 iicd_init_12m:
+0x6805 020331 hjam 5 ,core_iicd_scl_low 
+0x6806 020332 hjam 7 ,core_iicd_scl_high 
+0x6807 020333 hjam 7 ,core_iicd_start_setup 
+0x6808 020334 hjam 7 ,core_iicd_start_hold 
+0x6809 020335 hjam 7 ,core_iicd_stop_setup 
+0x680a 020336 hjam 5 ,core_iicd_data_setup 
+0x680b 020337 rtn 
+:      020341 wait_iicd_done:
+0x680c 020342 hfetch 1 ,core_dma_status 
+0x680d 020343 bbit0 iicd_done ,wait_iicd_done 
+0x680e 020344 rtn 
+:      020347 iicd_read_data:
+0x680f 020348 store 1 ,mem_iicd_tbuf 
+0x6810 020349 setarg mem_iicd_tbuf 
+0x6811 020350 hstore 2 ,core_iicd_txaddr 
+0x6812 020351 setarg 1 
+0x6813 020352 hstore 2 ,core_iicd_txlen 
+0x6814 020353 hstoret 2 ,core_iicd_rxlen 
+0x6815 020354 deposit rega 
+0x6816 020355 hstore 2 ,core_iicd_rxaddr 
+0x6817 020356 hjam 1 ,core_iicd_ctrl 
+0x6818 020357 hjam iicd_start ,core_misc_ctrl 
+0x6819 020358 branch wait_iicd_done 
+:      020360 byteswap_addr_mi:
+0x681a 020361 byteswap pdata ,pdata 
+0x681b 020362 store 2 ,mem_addr_mi 
+0x681c 020363 rtn 
+:      020369 iicd_read_eep_data:
+0x681d 020370 set1 mark_ext_patch ,mark 
+0x681e 020371 bpatch patch20_2 ,mem_patch20 
+0x681f 020372 fetch 2 ,mem_eeprom_base 
+0x6820 020373 iadd regb ,pdata 
+:      020376 iicd_read_eep_adr:
+0x6821 020377 byteswap pdata ,pdata 
+0x6822 020378 store 2 ,mem_addr_mi 
+:      020381 iicd_read_eep:
+0x6823 020382 set1 mark_ext_patch ,mark 
+0x6824 020383 bpatch patch20_3 ,mem_patch20 
+0x6825 020384 setarg 4 
+0x6826 020385 hstore 2 ,core_iicd_txlen 
+0x6827 020386 jam 0xa0 ,mem_iicd_tbuf 
+0x6828 020387 jam 0xa1 ,mem_iicd_tbuf + 3 
+0x6829 020388 setarg mem_iicd_tbuf 
+0x682a 020389 hstore 2 ,core_iicd_txaddr 
+0x682b 020390 hstoret 2 ,core_iicd_rxlen 
+0x682c 020391 deposit rega 
+0x682d 020392 hstore 2 ,core_iicd_rxaddr 
+0x682e 020393 setarg 2 
+0x682f 020394 isolate0 15 ,rega 
+0x6830 020395 setflag true ,0 ,pdata 
+0x6831 020396 hstore 1 ,core_iicd_ctrl 
+0x6832 020397 hjam iicd_start ,core_misc_ctrl 
+0x6833 020398 arg iicd_done ,queue 
+0x6834 020399 call decrypt_code 
+0x6835 020400 call wait_iicd_done 
+0x6836 020401 isolate1 iicd_crcok ,pdata 
+0x6837 020402 call set_ucode_status 
+0x6838 020403 fetch 2 ,mem_addr_mi 
+0x6839 020404 byteswap pdata ,pdata 
+0x683a 020405 iadd temp ,pdata 
+0x683b 020406 byteswap pdata ,pdata 
+0x683c 020407 store 2 ,mem_addr_mi 
+0x683d 020408 rtn 
+:      020414 iicd_write_eep_data:
+0x683e 020415 set1 mark_ext_patch ,mark 
+0x683f 020416 bpatch patch20_4 ,mem_patch20 
+0x6840 020417 fetch 2 ,mem_eeprom_base 
+0x6841 020418 iadd regb ,pdata 
+:      020421 iicd_write_ota_data:
+0x6842 020422 store 2 ,mem_pdatatemp 
+0x6843 020423 set1 mark_ext_patch ,mark 
+0x6844 020424 bpatch patch20_5 ,mem_patch20 
+0x6845 020425 storet 2 ,mem_temp 
+0x6846 020426 copy rega ,pdata 
+0x6847 020427 store 2 ,mem_contr 
+:      020428 iicd_write_eep_loop:
+0x6848 020429 call iicd_eep_transparency 
+0x6849 020431 fetcht 2 ,mem_regb 
+0x684a 020432 fetch 2 ,mem_contr 
+0x684b 020433 copy pdata ,rega 
+0x684c 020434 fetch 2 ,mem_pdatatemp 
+0x684d 020436 call iicd_write_eep 
+0x684e 020438 fetch 2 ,mem_regb 
+0x684f 020439 fetcht 2 ,mem_contr 
+0x6850 020440 iadd temp ,temp 
+0x6851 020441 storet 2 ,mem_contr 
+0x6852 020442 fetcht 2 ,mem_pdatatemp 
+0x6853 020443 iadd temp ,temp 
+0x6854 020444 storet 2 ,mem_pdatatemp 
+0x6855 020445 fetch 2 ,mem_temp 
+0x6856 020446 nbranch iicd_write_eep_loop ,blank 
+0x6857 020447 rtn 
+:      020455 iicd_eep_transparency:
+0x6858 020456 set1 mark_ext_patch ,mark 
+0x6859 020457 bpatch patch20_6 ,mem_patch20 
+0x685a 020458 fetch 2 ,mem_eeprom_block_size 
+0x685b 020459 increase -1 ,pdata 
+0x685c 020460 fetcht 2 ,mem_pdatatemp 
+0x685d 020461 ior temp ,pdata 
+0x685e 020462 increase 1 ,pdata 
+0x685f 020463 store 3 ,mem_regc 
+0x6860 020465 fetch 2 ,mem_temp 
+0x6861 020466 iadd temp ,pdata 
+0x6862 020468 fetcht 3 ,mem_regc 
+0x6863 020469 isub temp ,pdata 
+0x6864 020470 nbranch iicd_eep_deal_short_packet ,positive 
+0x6865 020471 store 2 ,mem_temp 
+0x6866 020472 fetch 3 ,mem_regc 
+0x6867 020473 fetcht 2 ,mem_pdatatemp 
+0x6868 020474 isub temp ,pdata 
+0x6869 020475 store 2 ,mem_regb 
+0x686a 020476 rtn 
+:      020477 iicd_eep_deal_short_packet:
+0x686b 020478 fetch 2 ,mem_temp 
+0x686c 020479 store 2 ,mem_regb 
+0x686d 020480 setarg 0 
+0x686e 020481 store 2 ,mem_temp 
+0x686f 020482 rtn 
+:      020487 iicd_write_eep:
+0x6870 020488 copy pdata ,regb 
+0x6871 020489 set1 mark_ext_patch ,mark 
+0x6872 020490 bpatch patch20_7 ,mem_patch20 
+0x6873 020491 copy regb ,pdata 
+0x6874 020492 increase 3 ,temp 
+0x6875 020493 hstoret 2 ,core_iicd_txlen 
+0x6876 020494 increase -3 ,rega 
+0x6877 020495 ifetcht 3 ,rega 
+0x6878 020496 copy temp ,regb 
+0x6879 020497 arg 0xa0 ,temp 
+0x687a 020498 istoret 1 ,rega 
+0x687b 020499 byteswap pdata ,pdata 
+0x687c 020500 istore 2 ,contw 
+0x687d 020501 deposit rega 
+0x687e 020502 hstore 2 ,core_iicd_txaddr 
+0x687f 020503 setarg 0 
+0x6880 020504 hstore 2 ,core_iicd_rxlen 
+0x6881 020505 hjam 1 ,core_iicd_ctrl 
+0x6882 020506 hjam iicd_start ,core_misc_ctrl 
+0x6883 020507 call wait_iicd_done 
+0x6884 020508 copy regb ,pdata 
+0x6885 020509 istore 3 ,rega 
+0x6886 020510 nop 10000 
+0x6887 020511 nop 10000 
+0x6888 020512 nop 10000 
+0x6889 020513 rtn 
+:      020517 otp_enable_chgpump:
+0x688a 020518 hjam 0x70 ,rfen_chgpump 
+0x688b 020519 nop param_chgpump_delay 
+0x688c 020520 rtn 
+:      020522 otp_disable_chgpump:
+0x688d 020523 hjam 0x30 ,rfen_chgpump 
+0x688e 020524 rtn 
+:      020526 otp_set_addr:
+0x688f 020527 lshift3 pdata ,pdata 
+0x6890 020528 hstore 2 ,core_otp_addr 
+0x6891 020529 hjam 0 ,core_otpd_ctrl 
+0x6892 020530 rtn 
+:      020533 otp_write:
+0x6893 020534 call otp_set_addr 
+0x6894 020535 call otp_ce 
+:      020536 otp_program:
+0x6895 020537 ifetcht 1 ,rega 
+0x6896 020538 increase 1 ,rega 
+0x6897 020539 force 0 ,queue 
+:      020540 otp_program_bit:
+0x6898 020541 qisolate0 temp 
+0x6899 020542 branch otp_skip_0 ,true 
+0x689a 020543 hfetch 1 ,core_otp_din 
+0x689b 020544 set1 6 ,pdata 
+0x689c 020545 set1 7 ,pdata 
+0x689d 020546 hstore 1 ,core_otp_din 
+0x689e 020547 hjam 0x02 ,core_otp_ctrl 
+0x689f 020548 hjam 0x82 ,core_otp_ctrl 
+0x68a0 020549 set0 7 ,pdata 
+0x68a1 020550 hstore 1 ,core_otp_din 
+0x68a2 020551 hjam 0x8a ,core_otp_ctrl 
+0x68a3 020552 nop 11 
+0x68a4 020553 hjam 0xca ,core_otp_ctrl 
+0x68a5 020554 nop 33 
+0x68a6 020555 hjam 0x4a ,core_otp_ctrl 
+0x68a7 020556 nop 44 
+0x68a8 020557 hjam 0xca ,core_otp_ctrl 
+0x68a9 020558 nop 22 
+0x68aa 020559 hjam 0x8a ,core_otp_ctrl 
+0x68ab 020560 nop 33 
+0x68ac 020561 hjam 0x82 ,core_otp_ctrl 
+0x68ad 020562 nop 1 
+0x68ae 020563 hjam 0x92 ,core_otp_ctrl 
+0x68af 020564 nop 10 
+0x68b0 020565 hjam 0xb2 ,core_otp_ctrl 
+0x68b1 020566 hfetch 1 ,core_otp_rdata 
+0x68b2 020567 hjam 0x92 ,core_otp_ctrl 
+0x68b3 020568 nop 1 
+0x68b4 020569 hjam 0x82 ,core_otp_ctrl 
+0x68b5 020570 qisolate0 pdata 
+0x68b6 020571 branch otp_program_bit ,true 
+:      020572 otp_skip_0:
+0x68b7 020573 hfetch 2 ,core_otp_addr 
+0x68b8 020574 increase 1 ,pdata 
+0x68b9 020575 hstore 2 ,core_otp_addr 
+0x68ba 020576 increase 1 ,queue 
+0x68bb 020577 compare 8 ,queue ,0xf 
+0x68bc 020578 nbranch otp_program_bit ,true 
+0x68bd 020579 loop otp_program 
+0x68be 020580 hjam 0x83 ,core_otp_ctrl 
+0x68bf 020581 rtn 
+:      020583 otp_ce:
+0x68c0 020584 hjam 0x82 ,core_otp_ctrl 
+0x68c1 020585 nop 12 
+0x68c2 020586 hjam 0x80 ,core_otp_ctrl 
+0x68c3 020587 hjam 0x82 ,core_otp_ctrl 
+0x68c4 020588 nop 150 
+0x68c5 020589 rtn 
+:      020592 otpd_read_init:
+0x68c6 020593 call otp_ce 
+:      020594 otpd_read_special:
+0x68c7 020595 hjam 0xa2 ,core_otp_ctrl 
+0x68c8 020596 deposit rega 
+0x68c9 020597 hstore 2 ,core_otpd_addr 
+0x68ca 020598 set1 11 ,temp 
+0x68cb 020599 isolate0 15 ,pdata 
+0x68cc 020600 setflag true ,15 ,temp 
+0x68cd 020601 hstoret 2 ,core_otpd_len 
+0x68ce 020602 hjam otpd_start ,core_misc_ctrl 
+0x68cf 020603 rtn 
+:      020605 otpd_wait_end:
+0x68d0 020606 hfetch 1 ,core_dma_status 
+0x68d1 020607 bbit0 otpd_done ,otpd_wait_end 
+0x68d2 020608 rtn 
+:      020611 otpd_read_data:
+0x68d3 020612 call otp_set_addr 
+0x68d4 020613 call otpd_read_init 
+0x68d5 020614 call otpd_wait_end 
+0x68d6 020615 hjam 0x83 ,core_otp_ctrl 
+0x68d7 020616 rtn 
+:      020621 otpd_read_code:
+0x68d8 020622 hfetch 2 ,core_current_otp_addr 
+0x68d9 020623 hstore 2 ,core_otp_addr 
+0x68da 020624 call otpd_read_init 
+0x68db 020625 arg otpd_done ,queue 
+0x68dc 020626 call decrypt_code 
+0x68dd 020627 call otpd_wait_end 
+0x68de 020628 isolate1 otpd_crcok ,pdata 
+0x68df 020629 call set_ucode_status 
+0x68e0 020630 hjam 0x83 ,core_otp_ctrl 
+0x68e1 020631 rtn 
+:      020634 uartd_rx_cnt_got_first_byte:
+0x68e2 020635 jam 1 ,mem_uartd_rxitems_got_data 
+0x68e3 020636 force uart_rx_timer ,queue 
+0x68e4 020637 fetch 2 ,mem_uartd_rx_timeout 
+0x68e5 020638 branch timer_init 
+:      020639 uartd_rx_cnt_with_threshold:
+0x68e6 020640 hfetch 2 ,core_uart_rxitems 
+0x68e7 020641 rtn blank 
+0x68e8 020642 fetcht 1 ,mem_uartd_rxitems_threshold 
+0x68e9 020643 isub temp ,null 
+0x68ea 020644 branch uartd_rx_cnt_rtn_value ,positive 
+0x68eb 020645 fetch 1 ,mem_uartd_rxitems_got_data 
+0x68ec 020646 branch uartd_rx_cnt_got_first_byte ,blank 
+0x68ed 020647 arg uart_rx_timer ,queue 
+0x68ee 020648 call timer_check 
+0x68ef 020649 branch uartd_rx_cnt_rtn_value ,blank 
+0x68f0 020650 setarg 0 
+0x68f1 020651 rtn 
+:      020652 uartd_rx_cnt_rtn_value:
+0x68f2 020653 force uart_rx_timer ,queue 
+0x68f3 020654 call timer_stop 
+0x68f4 020655 jam 0 ,mem_uartd_rxitems_got_data 
+0x68f5 020656 hfetch 2 ,core_uart_rxitems 
+0x68f6 020657 rtn 
+:      020664 uartd_prepare_tx:
+0x68f7 020665 hfetch 2 ,core_uart_twptr 
+0x68f8 020666 iforce contwu 
+0x68f9 020667 rtn 
+:      020669 uartd_send:
+0x68fa 020670 deposit contwu 
+0x68fb 020671 hstore 2 ,core_uart_twptr 
+0x68fc 020672 rtn 
+:      020674 uartd_prepare_rx:
+0x68fd 020675 hfetch 2 ,core_uart_rxitems 
+0x68fe 020676 rtn blank 
+0x68ff 020677 iforce loopcnt 
+0x6900 020678 hfetch 2 ,core_uart_rrptr 
+0x6901 020679 iforce contru 
+0x6902 020680 rtn 
+:      020683 uartd_rxdone_by_len:
+0x6903 020684 hfetch 2 ,core_uart_rrptr 
+0x6904 020685 iadd temp ,pdata 
+0x6905 020686 copy pdata ,contru 
+:      020687 uartd_rxdone:
+0x6906 020688 deposit contru 
+0x6907 020689 hstore 2 ,core_uart_rrptr 
+0x6908 020690 rtn 
+:      020692 uart_set_baud_by_mem:
+0x6909 020693 fetch uart_baud_len ,mem_baud 
+0x690a 020694 hstore uart_baud_len ,core_uart_baud 
+0x690b 020695 rtn 
+:      020699 eeprom_store_le_reconn_info:
+0x690c 020700 fetch 6 ,mem_le_plap 
+0x690d 020701 store 6 ,mem_temp_lap 
+0x690e 020702 jam rec_4_mode ,mem_record_bt_mode 
+0x690f 020703 branch eeprom_store_reconn_info 
+:      020704 eeprom_store_bd_reconn_info:
+0x6910 020705 fetch 6 ,mem_plap 
+0x6911 020706 store 6 ,mem_temp_lap 
+0x6912 020707 jam rec_3_mode ,mem_record_bt_mode 
+:      020708 eeprom_store_reconn_info:
+0x6913 020709 set1 mark_ext_patch ,mark 
+0x6914 020710 bpatch patch21_0 ,mem_patch21 
+0x6915 020711 call eeprom_store_remote_bdaddr 
+0x6916 020712 call eeprom_store_last_record_index 
+0x6917 020713 fetch 1 ,mem_record_bt_mode 
+0x6918 020714 beq rec_4_mode ,eeprom_store_rec_4_mode 
+0x6919 020715 beq rec_3_mode ,eeprom_store_link_key 
+0x691a 020716 rtn 
+:      020717 eeprom_store_rec_4_mode:
+0x691b 020718 call eeprom_store_le_ltl 
+0x691c 020719 branch eeprom_store_le_local_addr 
+:      020722 eeprom_load_reconn_info:
+0x691d 020723 set1 mark_ext_patch ,mark 
+0x691e 020724 bpatch patch21_1 ,mem_patch21 
+0x691f 020725 call eeprom_load_reconn_bdaddr 
+0x6920 020726 fetch 1 ,mem_select_list_item 
+0x6921 020727 rtneq 0xff 
+0x6922 020728 fetch 6 ,mem_temp_lap 
+0x6923 020729 store 6 ,mem_hci_plap 
+0x6924 020730 fetch 1 ,mem_record_bt_mode 
+0x6925 020731 store 1 ,mem_xrecord_mode 
+0x6926 020732 beq rec_3_mode ,eeprom_load_rec_3_mode 
+0x6927 020733 beq rec_4_mode ,eeprom_load_rec_4_mode 
+0x6928 020734 rtn 
+:      020735 eeprom_load_reconn_bdaddr:
+0x6929 020736 call eeprom_load_last_record_index 
+0x692a 020737 fetch 1 ,mem_select_list_item 
+0x692b 020738 rtneq 0xff 
+0x692c 020739 branch eeprom_load_remote_bdaddr 
+:      020740 eeprom_load_rec_3_mode:
+0x692d 020741 call eeprom_load_link_key 
+0x692e 020742 branch check_link_key_load 
+:      020743 eeprom_load_rec_4_mode:
+0x692f 020744 call eeprom_load_ltk_key 
+0x6930 020745 branch check_ltk_load 
+:      020746 eeprom_clear_bd_reconn_info:
+0x6931 020747 call eeprom_load_bdaddr_list 
+0x6932 020748 disable user 
+0x6933 020749 call find_addr_from_bd_list 
+0x6934 020750 nbranch at_error_rev_end ,user 
+:      020751 eeprom_clear_reconn_info_common:
+0x6935 020752 fetcht 2 ,mem_list_item_ptr 
+0x6936 020753 increase -1 ,temp 
+0x6937 020754 setarg 0 
+0x6938 020755 istore 7 ,temp 
+0x6939 020756 arg 28 ,temp 
+0x693a 020757 arg mem_bdaddr_list_buff + 7 ,rega 
+0x693b 020758 arg eeprom_bdaddr_list ,regb 
+0x693c 020759 branch iicd_write_eep_data 
+:      020761 eeprom_clear_all_reconn_info:
+0x693d 020762 set1 mark_ext_patch ,mark 
+0x693e 020763 bpatch patch21_2 ,mem_patch21 
+0x693f 020764 arg mem_bdaddr_list_buff ,contw 
+0x6940 020765 force 4 ,loopcnt 
+0x6941 020766 call memset0 
+0x6942 020767 arg 28 ,temp 
+0x6943 020768 arg mem_bdaddr_list_buff ,rega 
+0x6944 020769 arg eeprom_bdaddr_list ,regb 
+0x6945 020770 branch iicd_write_eep_data 
+:      020772 eeprom_erase_reconn_info:
+0x6946 020773 set1 mark_ext_patch ,mark 
+0x6947 020774 bpatch patch21_3 ,mem_patch21 
+0x6948 020775 setarg 0x0 
+0x6949 020776 store 3 ,mem_plap 
+0x694a 020777 istore 3 ,contw 
+0x694b 020778 branch eeprom_store_remote_bdaddr 
+:      020780 eeprom_load_last_record_index:
+0x694c 020781 arg 1 ,temp 
+0x694d 020782 arg mem_select_list_item ,rega 
+0x694e 020783 arg eeprom_last_record ,regb 
+0x694f 020784 branch iicd_read_eep_data 
+:      020786 eeprom_store_last_record_index:
+0x6950 020787 arg 1 ,temp 
+0x6951 020788 arg mem_select_list_item ,rega 
+0x6952 020789 arg eeprom_last_record ,regb 
+0x6953 020790 branch iicd_write_eep_data 
+:      020793 eeprom_store_remote_bdaddr:
+0x6954 020794 set1 mark_ext_patch ,mark 
+0x6955 020795 bpatch patch21_4 ,mem_patch21 
+0x6956 020796 call eeprom_load_bdaddr_list 
+0x6957 020797 disable user 
+0x6958 020798 call find_addr_from_bd_list 
+0x6959 020799 rtn user 
+:      020800 eeprom_store_remote_addr_unfind:
+0x695a 020801 jam 0 ,mem_select_list_item 
+0x695b 020802 fetch 6 ,mem_temp_lap 
+0x695c 020803 store 6 ,mem_bdaddr_list_buff + 1 
+0x695d 020804 fetch 1 ,mem_record_bt_mode 
+0x695e 020805 store 1 ,mem_bdaddr_list_buff 
+0x695f 020806 arg 28 ,temp 
+0x6960 020807 arg mem_bdaddr_list_buff ,rega 
+0x6961 020808 arg eeprom_bdaddr_list ,regb 
+0x6962 020809 branch iicd_write_eep_data 
+:      020812 eeprom_store_le_local_addr:
+0x6963 020813 arg 6 ,temp 
+0x6964 020814 arg mem_le_lap ,rega 
+0x6965 020815 arg eeprom_le_reconn_local_addr ,regb 
+0x6966 020816 branch iicd_write_eep_data 
+:      020818 eeprom_load_le_loacal_addr:
+0x6967 020819 arg 6 ,temp 
+0x6968 020820 arg mem_le_lap ,rega 
+0x6969 020821 arg eeprom_le_reconn_local_addr ,regb 
+0x696a 020822 branch iicd_read_eep_data 
+:      020825 eeprom_load_remote_bdaddr:
+0x696b 020826 set1 mark_ext_patch ,mark 
+0x696c 020827 bpatch patch21_5 ,mem_patch21 
+0x696d 020828 arg 7 ,temp 
+0x696e 020829 arg mem_temp_reconn_record ,rega 
+0x696f 020830 arg eeprom_bdaddr_list ,regb 
+0x6970 020831 fetch 1 ,mem_select_list_item 
+0x6971 020832 mul32 pdata ,7 ,pdata 
+0x6972 020833 iadd regb ,regb 
+0x6973 020834 branch iicd_read_eep_data 
+:      020836 eeprom_linkkey_addr:
+0x6974 020837 arg 0x10 ,temp 
+0x6975 020838 arg eeprom_linkkey_list ,regb 
+0x6976 020839 fetch 1 ,mem_select_list_item 
+0x6977 020840 lshift4 pdata ,pdata 
+0x6978 020841 iadd regb ,regb 
+0x6979 020842 rtn 
+:      020844 eeprom_store_le_ltl:
+0x697a 020845 arg mem_le_ltk ,rega 
+0x697b 020846 branch eeprom_store_link_key_common 
+:      020847 eeprom_store_link_key:
+0x697c 020848 arg mem_link_key ,rega 
+:      020849 eeprom_store_link_key_common:
+0x697d 020850 set1 mark_ext_patch ,mark 
+0x697e 020851 bpatch patch21_6 ,mem_patch21 
+0x697f 020852 call eeprom_linkkey_addr 
+0x6980 020853 branch iicd_write_eep_data 
+:      020855 eeprom_load_ltk_key:
+0x6981 020856 arg mem_le_ltk ,rega 
+0x6982 020857 branch eeprom_load_link_key_common 
+:      020858 eeprom_load_link_key:
+0x6983 020859 arg mem_link_key ,rega 
+:      020860 eeprom_load_link_key_common:
+0x6984 020861 set1 mark_ext_patch ,mark 
+0x6985 020862 bpatch patch21_7 ,mem_patch21 
+0x6986 020863 call eeprom_linkkey_addr 
+0x6987 020864 branch iicd_read_eep_data 
+:      020868 eeprom_load_bdaddr_list:
+0x6988 020869 arg 28 ,temp 
+0x6989 020870 arg mem_bdaddr_list_buff + 7 ,rega 
+0x698a 020871 arg eeprom_bdaddr_list ,regb 
+0x698b 020872 branch iicd_read_eep_data 
+:      020874 find_addr_from_bd_list:
+0x698c 020875 set1 mark_ext_patch ,mark 
+0x698d 020876 bpatch patch22_0 ,mem_patch22 
+0x698e 020877 setarg mem_bdaddr_list_buff + 7 
+0x698f 020878 store 2 ,mem_list_item_ptr 
+0x6990 020879 jam 0 ,mem_select_list_item 
+0x6991 020880 arg 4 ,loopcnt 
+:      020881 find_addr_from_list:
+0x6992 020882 copy loopcnt ,pdata 
+0x6993 020883 store 1 ,mem_pdatatemp 
+0x6994 020884 fetch 2 ,mem_list_item_ptr 
+0x6995 020885 copy pdata ,rega 
+0x6996 020886 call find_addr_from_list_compare 
+0x6997 020887 rtn user 
+0x6998 020888 fetch 2 ,mem_list_item_ptr 
+0x6999 020889 increase 7 ,pdata 
+0x699a 020890 store 2 ,mem_list_item_ptr 
+0x699b 020891 fetch 1 ,mem_select_list_item 
+0x699c 020892 increase 1 ,pdata 
+0x699d 020893 store 1 ,mem_select_list_item 
+0x699e 020894 fetch 1 ,mem_pdatatemp 
+0x699f 020895 copy pdata ,loopcnt 
+0x69a0 020896 loop find_addr_from_list 
+0x69a1 020897 rtn 
+:      020899 check_link_key_load:
+0x69a2 020900 fetch 8 ,mem_link_key 
+0x69a3 020901 fetcht 8 ,mem_link_key + 8 
+0x69a4 020902 ior temp ,pdata 
+0x69a5 020903 rtn blank 
+0x69a6 020904 jam 1 ,mem_link_key_exists 
+0x69a7 020905 rtn 
+:      020906 check_ltk_load:
+0x69a8 020907 fetch 6 ,mem_hci_plap 
+0x69a9 020908 rtn blank 
+0x69aa 020909 jam 1 ,mem_ltk_exists 
+0x69ab 020910 rtn 
+:      020912 find_addr_from_list_compare:
+0x69ac 020913 arg mem_temp_reconn_record ,regb 
+0x69ad 020914 arg 7 ,loopcnt 
+0x69ae 020915 call string_compare 
+0x69af 020916 branch enable_usr ,zero 
+0x69b0 020917 rtn 
+:      020918 enable_usr:
+0x69b1 020919 enable user 
+0x69b2 020920 rtn 
+:      020921 le_eeprom_load_reconn_info:
+0x69b3 020922 branch assert 
+:      020929 gpio_set_wake_by_current_state:
+0x69b4 020930 set1 mark_ext_patch ,mark 
+0x69b5 020931 bpatch patch22_1 ,mem_patch22 
+0x69b6 020932 set1 7 ,temp 
+0x69b7 020933 call gpio_get_bit 
+0x69b8 020934 nsetflag true ,7 ,temp 
+:      020939 gpio_set_wake:
+0x69b9 020940 set1 mark_ext_patch ,mark 
+0x69ba 020941 bpatch patch22_2 ,mem_patch22 
+0x69bb 020942 isolate0 7 ,temp 
+0x69bc 020943 and temp ,0x1f ,queue 
+0x69bd 020944 fetch 4 ,mem_gpio_wakeup_low 
+0x69be 020945 qsetflag true ,pdata 
+0x69bf 020946 store 4 ,mem_gpio_wakeup_low 
+0x69c0 020947 fetch 4 ,mem_gpio_wakeup_high 
+0x69c1 020948 nqsetflag true ,pdata 
+0x69c2 020949 store 4 ,mem_gpio_wakeup_high 
+0x69c3 020950 rtn 
+:      020953 gpio_clr_wake:
+0x69c4 020954 set1 mark_ext_patch ,mark 
+0x69c5 020955 bpatch patch22_3 ,mem_patch22 
+0x69c6 020956 isolate0 7 ,temp 
+0x69c7 020957 and temp ,0x1f ,queue 
+0x69c8 020958 fetch 4 ,mem_gpio_wakeup_low 
+0x69c9 020959 qset0 pdata 
+0x69ca 020960 store 4 ,mem_gpio_wakeup_low 
+0x69cb 020961 fetch 4 ,mem_gpio_wakeup_high 
+0x69cc 020962 qset0 pdata 
+0x69cd 020963 store 4 ,mem_gpio_wakeup_high 
+0x69ce 020964 rtn 
+:      020967 gpio_config_input_nowake:
+0x69cf 020968 call gpio_clr_wake 
+0x69d0 020969 branch gpio_config_input_without_wake 
+:      020972 gpio_config_input:
+0x69d1 020973 ncall gpio_set_wake ,wake 
+:      020975 gpio_config_input_without_wake:
+0x69d2 020976 arg core_gpio_pd0 ,contw 
+0x69d3 020977 call gpio_set_bit 
+0x69d4 020978 setflip gpio_active_bit ,temp 
+0x69d5 020979 arg core_gpio_pu0 ,contw 
+0x69d6 020980 call gpio_set_bit 
+0x69d7 020981 set0 gpio_active_bit ,temp 
+0x69d8 020982 arg core_gpio_oe0 ,contw 
+0x69d9 020983 branch gpio_set_bit 
+:      020986 gpio_config_output:
+0x69da 020987 setflip gpio_active_bit ,temp 
+0x69db 020988 call gpio_out 
+0x69dc 020989 set1 gpio_active_bit ,temp 
+0x69dd 020990 arg core_gpio_oe0 ,contw 
+0x69de 020991 branch gpio_set_bit 
+:      020993 gpio_common:
+0x69df 020994 and temp ,0x07 ,queue 
+0x69e0 020995 rshift3 temp ,pdata 
+0x69e1 020996 and_into 3 ,pdata 
+0x69e2 020997 iadd contw ,contw 
+0x69e3 020998 ifetch 1 ,contw 
+0x69e4 020999 rtn 
+:      021003 gpio_get_bit:
+0x69e5 021004 arg core_gpio_in ,contw 
+0x69e6 021005 call gpio_common 
+0x69e7 021006 isolate1 gpio_active_bit ,temp 
+0x69e8 021007 branch gpio_get_bit_reverse ,true 
+0x69e9 021008 qisolate0 pdata 
+0x69ea 021009 rtn 
+:      021010 gpio_get_bit_reverse:
+0x69eb 021011 qisolate1 pdata 
+0x69ec 021012 rtn 
+:      021014 gpio_out_inactive:
+0x69ed 021015 isolate1 7 ,null 
+0x69ee 021016 branch gpio_out_flag 
+:      021018 gpio_out_active:
+0x69ef 021019 isolate0 7 ,null 
+:      021022 gpio_out_flag:
+0x69f0 021023 setarg 0 
+0x69f1 021024 nsetflag true ,gpio_active_bit ,pdata 
+0x69f2 021025 ixor temp ,temp 
+:      021028 gpio_out:
+0x69f3 021029 arg core_gpio_out0 ,contw 
+:      021032 gpio_set_bit:
+0x69f4 021033 call gpio_common 
+0x69f5 021034 isolate1 gpio_active_bit ,temp 
+0x69f6 021035 qsetflag true ,pdata 
+0x69f7 021036 istore 1 ,contw 
+0x69f8 021037 rtn 
+:      021039 gpio_test:
+0x69f9 021040 fetch 1 ,mem_seqi 
+0x69fa 021041 rtneq 0x7f 
+0x69fb 021042 hjam 0 ,core_gpio_out3 
+0x69fc 021043 nop 30 
+0x69fd 021044 hjam 8 ,core_gpio_out3 
+0x69fe 021045 rtn 
+:      021050 set_pwm_blink:
+0x69ff 021051 lshift8 pdata ,pdata 
+0x6a00 021052 lshift4 pdata ,pdata 
+0x6a01 021053 hstore 2 ,core_pwm_ncnt0 
+0x6a02 021054 hstore 2 ,core_pwm_pcnt0 
+0x6a03 021055 rtn 
+:      021057 set_pwm_steadyon:
+0x6a04 021058 setarg 0 
+0x6a05 021059 hstore 2 ,core_pwm_ncnt0 
+0x6a06 021060 setarg 1 
+0x6a07 021061 hstore 2 ,core_pwm_pcnt0 
+0x6a08 021062 rtn 
+:      021064 set_pwm_off:
+0x6a09 021065 setarg 0 
+0x6a0a 021066 hstore 2 ,core_pwm_ncnt0 
+0x6a0b 021067 hstore 2 ,core_pwm_pcnt0 
+0x6a0c 021068 rtn 
+:      021073 init_filter_ram:
+0x6a0d 021074 arg 0x8800 ,contw 
+0x6a0e 021075 arg 0x20 ,loopcnt 
+0x6a0f 021076 call memset0 
+0x6a10 021077 setarg 0x4f9 
+0x6a11 021078 hstore 2 ,0x8848 
+0x6a12 021079 hstore 2 ,0x884a 
+0x6a13 021080 hstore 2 ,0x884c 
+0x6a14 021081 hstore 2 ,0x886c 
+0x6a15 021082 hstore 2 ,0x888c 
+0x6a16 021083 hstore 2 ,0x88ac 
+0x6a17 021084 setarg 0x204 
+0x6a18 021085 hstore 2 ,0x88ae 
+0x6a19 021086 setarg 0x0506 
+0x6a1a 021087 hstore 2 ,0x88b0 
+0x6a1b 021088 setarg 0x0504 
+0x6a1c 021089 hstore 2 ,0x88b2 
+0x6a1d 021090 setarg 0x0200 
+0x6a1e 021091 hstore 2 ,0x88b4 
+0x6a1f 021092 setarg 0xFEFB 
+0x6a20 021093 hstore 2 ,0x88b6 
+0x6a21 021094 setarg 0xFAF9 
+0x6a22 021095 hstore 2 ,0x88b8 
+0x6a23 021096 setarg 0xFAFB 
+0x6a24 021097 hstore 2 ,0x88ba 
+0x6a25 021098 setarg 0xFD00 
+0x6a26 021099 hstore 2 ,0x88bc 
+0x6a27 021100 setarg 0x0408 
+0x6a28 021101 hstore 2 ,0x88be 
+0x6a29 021102 setarg 0x0A0C 
+0x6a2a 021103 hstore 2 ,0x88c0 
+0x6a2b 021104 setarg 0x0B09 
+0x6a2c 021105 hstore 2 ,0x88c2 
+0x6a2d 021106 setarg 0x0500 
+0x6a2e 021107 hstore 2 ,0x88c4 
+0x6a2f 021108 setarg 0xF8F1 
+0x6a30 021109 hstore 2 ,0x88c6 
+0x6a31 021110 setarg 0xECE8 
+0x6a32 021111 hstore 2 ,0x88c8 
+0x6a33 021112 setarg 0xE9EB 
+0x6a34 021113 hstore 2 ,0x88ca 
+0x6a35 021114 setarg 0xF500 
+0x6a36 021115 hstore 2 ,0x88cc 
+0x6a37 021116 setarg 0x1223 
+0x6a38 021117 hstore 2 ,0x88ce 
+0x6a39 021118 setarg 0x374B 
+0x6a3a 021119 hstore 2 ,0x88d0 
+0x6a3b 021120 setarg 0x5E71 
+0x6a3c 021121 hstore 2 ,0x88d2 
+0x6a3d 021122 setarg 0x787F 
+0x6a3e 021123 hstore 2 ,0x88d4 
+0x6a3f 021124 rtn 
+:      021126 enable_pcm:
+0x6a40 021127 set1 mark_ext_patch ,mark 
+0x6a41 021128 bpatch patch22_4 ,mem_patch22 
+0x6a42 021129 hfetch 2 ,core_clkoff 
+0x6a43 021130 set0 clock_off_codec ,pdata 
+0x6a44 021131 hstore 2 ,core_clkoff 
+0x6a45 021132 hjam 0x11 ,core_enc_ctrl 
+0x6a46 021133 hjam 0x1 ,core_cvsd_ctrl 
+0x6a47 021134 hjam 0x1 ,core_codec_ctrl 
+0x6a48 021135 hjam 0x11 ,core_dec_ctrl 
+0x6a49 021136 rtn 
+:      021138 disable_pcm:
+0x6a4a 021139 set1 mark_ext_patch ,mark 
+0x6a4b 021140 bpatch patch22_5 ,mem_patch22 
+0x6a4c 021141 hfetch 2 ,core_clkoff 
+0x6a4d 021142 set1 clock_off_codec ,pdata 
+0x6a4e 021143 hstore 2 ,core_clkoff 
+0x6a4f 021144 hjam 0x4 ,core_enc_ctrl 
+0x6a50 021145 hjam 0x4 ,core_dec_ctrl 
+0x6a51 021146 hjam 0x0 ,core_cvsd_ctrl 
+0x6a52 021147 hjam 0x0 ,core_codec_ctrl 
+0x6a53 021148 rtn 
+:      021152 get_sco_data:
+0x6a54 021153 fetch 1 ,mem_state 
+0x6a55 021154 rtnbit0 state_insco 
+0x6a56 021155 arg mem_sco_obuf ,contw 
+0x6a57 021156 arg 30 ,loopcnt 
+:      021157 get_sco_data_loop:
+0x6a58 021158 hfetch 1 ,core_pcminfifo 
+0x6a59 021159 istore 1 ,contw 
+0x6a5a 021160 loop get_sco_data_loop 
+0x6a5b 021161 rtn 
+:      021164 process_sco_data:
+0x6a5c 021165 fetch 1 ,mem_state 
+0x6a5d 021166 rtnbit0 state_insco 
+0x6a5e 021167 arg mem_sco_ibuf ,contr 
+0x6a5f 021168 force 30 ,loopcnt 
+:      021169 process_sco_loop:
+0x6a60 021170 ifetch 1 ,contr 
+0x6a61 021171 hstore 1 ,core_pcmoutfifo 
+0x6a62 021172 loop process_sco_loop 
+0x6a63 021173 rtn 
+:      021175 init_sched:
+0x6a64 021176 rtn 
+:      021181 gpio_cfg_uart_tx_output:
+0x6a65 021182 call gpio_uart2gpio 
+0x6a66 021183 arg uart_wakeup_tx ,temp 
+0x6a67 021184 branch gpio_config_output 
+:      021186 gpio_pu_uart_tx:
+0x6a68 021187 call gpio_cfg_uart_tx_output 
+0x6a69 021188 arg uart_wakeup_tx ,temp 
+0x6a6a 021189 branch gpio_out_inactive 
+:      021191 gpio_pd_uart_tx:
+0x6a6b 021192 call gpio_cfg_uart_tx_output 
+0x6a6c 021193 arg uart_wakeup_tx ,temp 
+0x6a6d 021194 branch gpio_out_active 
+:      021196 gpio_cfg_uart_rx_output:
+0x6a6e 021197 call gpio_uart2gpio 
+0x6a6f 021198 arg uart_wakeup_rx ,temp 
+0x6a70 021199 branch gpio_config_output 
+:      021201 gpio_pu_uart_rx:
+0x6a71 021202 call gpio_cfg_uart_rx_output 
+0x6a72 021203 arg uart_wakeup_rx ,temp 
+0x6a73 021204 branch gpio_out_inactive 
+:      021206 gpio_pd_uart_rx:
+0x6a74 021207 call gpio_cfg_uart_rx_output 
+0x6a75 021208 arg uart_wakeup_rx ,temp 
+0x6a76 021209 branch gpio_out_active 
+:      021211 gpio_tx_config_input_with_pu:
+0x6a77 021212 call gpio_uart2gpio 
+0x6a78 021213 hfetch 1 ,core_gpio_pu0 
+0x6a79 021214 set1 uart_wakeup_tx ,pdata 
+0x6a7a 021215 hstore 1 ,core_gpio_pu0 
+0x6a7b 021216 arg uart_wakeup_tx ,temp 
+0x6a7c 021217 branch gpio_config_input 
+:      021219 gpio_rx_config_input_with_pu:
+0x6a7d 021220 call gpio_uart2gpio 
+0x6a7e 021221 hfetch 1 ,core_gpio_pu0 
+0x6a7f 021222 set1 uart_wakeup_rx ,pdata 
+0x6a80 021223 hstore 1 ,core_gpio_pu0 
+0x6a81 021224 arg uart_wakeup_rx ,temp 
+0x6a82 021225 branch gpio_config_input 
+:      021227 gpio_gpio2uart:
+0x6a83 021228 hfetch 1 ,core_gpio_sel1 
+0x6a84 021229 or_into 0x04 ,pdata 
+0x6a85 021230 hstore 1 ,core_gpio_sel1 
+0x6a86 021231 rtn 
+:      021233 gpio_uart2gpio:
+0x6a87 021234 hfetch 1 ,core_gpio_sel1 
+0x6a88 021235 and_into 0xfb ,pdata 
+0x6a89 021236 hstore 1 ,core_gpio_sel1 
+0x6a8a 021237 rtn 
+:      021239 gpio_check_uart_state:
+0x6a8b 021240 hfetch 1 ,core_gpio_sel1 
+0x6a8c 021241 isolate1 2 ,pdata 
+0x6a8d 021242 rtn 
+:      021245 prcp_init:
+0x6a8e 021246 setarg prcp_process 
+0x6a8f 021247 store 2 ,mem_cb_att_write 
+0x6a90 021248 rtn 
+:      021249 prcp_process:
+0x6a91 021250 call clear_prcp_sendbuff 
+0x6a92 021251 fetch 1 ,mem_prcp 
+0x6a93 021252 beq prcp_le ,le_prcp 
+0x6a94 021253 beq prcp_ssp ,prcp 
+0x6a95 021254 branch assert 
+:      021255 le_prcp:
+0x6a96 021256 arg prcp_rx_le ,temp 
+0x6a97 021257 storet 2 ,mem_le_notify_handle 
+0x6a98 021258 call le_att_get_handle_ptr 
+0x6a99 021259 ifetch 1 ,contr 
+0x6a9a 021260 call prcp_parse 
+0x6a9b 021261 branch prcp_le_tx 
+:      021262 prcp:
+0x6a9c 021263 call prcp_parse 
+0x6a9d 021264 branch prcp_tx 
+:      021265 prcp_parse:
+0x6a9e 021266 copy contr ,rega 
+0x6a9f 021267 set1 mark_ext_patch ,mark 
+0x6aa0 021268 bpatch patch26_1 ,mem_patch26 
+0x6aa1 021269 ifetch 1 ,contr 
+0x6aa2 021270 beq common_res ,prcp_parse_common_res 
+0x6aa3 021271 beq read_registers_req ,prcp_parse_read_registers_req 
+0x6aa4 021272 beq read_registers_res ,prcp_parse_read_registers_res 
+0x6aa5 021273 beq write_registers_req ,prcp_parse_write_registers_req 
+0x6aa6 021274 beq i2c_config_req ,prcp_parse_i2c_config_req 
+0x6aa7 021275 beq i2c_read_req ,prcp_parse_i2c_read_req 
+0x6aa8 021276 beq i2c_read_res ,prcp_parse_i2c_read_res 
+0x6aa9 021277 beq i2c_write_req ,prcp_parse_i2c_write_req 
+0x6aaa 021278 beq spi_config_req ,prcp_parse_spi_config_req 
+0x6aab 021279 beq spi_read_req ,prcp_parse_spi_read_req 
+0x6aac 021280 beq spi_read_res ,prcp_parse_spi_read_res 
+0x6aad 021281 beq spi_write_req ,prcp_parse_spi_write_req 
+0x6aae 021282 beq pwm_config_req ,prcp_parse_pwm_config_req 
+0x6aaf 021283 beq pwm_write_req ,prcp_parse_pwm_write_req 
+0x6ab0 021284 beq gpio_config_req ,prcp_parse_gpio_config_req 
+0x6ab1 021285 beq gpio_read_req ,prcp_parse_gpio_read_req 
+0x6ab2 021286 beq gpio_read_res ,prcp_parse_gpio_read_res 
+0x6ab3 021287 beq gpio_write_req ,prcp_parse_gpio_write_req 
+0x6ab4 021288 beq ota_write_req ,prcp_parse_ota_write_req 
+0x6ab5 021289 beq ota_end_cmd ,prcp_parse_ota_end_cmd 
+0x6ab6 021290 rtn 
+:      021293 prcp_parse_common_res:
+0x6ab7 021294 copy rega ,contr 
+0x6ab8 021295 ifetch 1 ,contr 
+0x6ab9 021296 lshift8 pdata ,pdata 
+0x6aba 021297 store 3 ,mem_prcp_data 
+0x6abb 021298 rtn 
+:      021299 prcp_parse_read_registers_req:
+0x6abc 021300 rtn 
+:      021301 prcp_parse_read_registers_res:
+0x6abd 021302 rtn 
+:      021303 prcp_parse_write_registers_req:
+0x6abe 021304 rtn 
+:      021308 prcp_parse_spi_config_req:
+0x6abf 021309 rtn 
+:      021310 prcp_parse_spi_read_req:
+0x6ac0 021311 rtn 
+:      021312 prcp_parse_spi_read_res:
+0x6ac1 021313 rtn 
+:      021314 prcp_parse_spi_write_req:
+0x6ac2 021315 rtn 
+:      021319 prcp_parse_pwm_config_req:
+0x6ac3 021320 ifetch 4 ,contr 
+0x6ac4 021321 hstore 1 ,core_gpio_sel2 
+0x6ac5 021322 rshift8 pdata ,pdata 
+0x6ac6 021323 hfetcht 1 ,core_gpio_sel1 
+0x6ac7 021324 and_into 0x7f ,temp 
+0x6ac8 021325 ior temp ,temp 
+0x6ac9 021326 hstoret 1 ,core_gpio_sel1 
+0x6aca 021327 rshift8 pdata ,pdata 
+0x6acb 021328 hfetcht 1 ,core_clkoff + 1 
+0x6acc 021329 and_into 0xdf ,temp 
+0x6acd 021330 ior temp ,temp 
+0x6ace 021331 hstoret 1 ,core_clkoff + 1 
+0x6acf 021332 rshift8 pdata ,pdata 
+0x6ad0 021333 hfetcht 1 ,core_clksel 
+0x6ad1 021334 and_into 0x3f ,temp 
+0x6ad2 021335 ior temp ,temp 
+0x6ad3 021336 hstoret 1 ,core_clksel 
+0x6ad4 021337 branch prcp_parse_common_res 
+:      021338 prcp_parse_pwm_write_req:
+0x6ad5 021339 ifetch 9 ,contr 
+0x6ad6 021340 hfetcht 1 ,core_gpio_key2 
+0x6ad7 021341 and_into 0x3f ,temp 
+0x6ad8 021342 ior temp ,temp 
+0x6ad9 021343 hstoret 1 ,core_gpio_key2 
+0x6ada 021344 rshift8 pdata ,pdata 
+0x6adb 021345 hstore 2 ,core_pwm_pcnt0 
+0x6adc 021346 rshift16 pdata ,pdata 
+0x6add 021347 hstore 2 ,core_pwm_ncnt0 
+0x6ade 021348 rshift16 pdata ,pdata 
+0x6adf 021349 hstore 2 ,core_pwm_pcnt1 
+0x6ae0 021350 rshift16 pdata ,pdata 
+0x6ae1 021351 hstore 2 ,core_pwm_ncnt1 
+0x6ae2 021352 branch prcp_parse_common_res 
+:      021356 prcp_parse_gpio_config_req:
+0x6ae3 021357 ifetch 4 ,contr 
+0x6ae4 021358 hstore 4 ,core_gpio_oe0 
+0x6ae5 021359 ifetch 4 ,contr 
+0x6ae6 021360 hstore 4 ,core_gpio_pu0 
+0x6ae7 021361 ifetch 4 ,contr 
+0x6ae8 021362 hstore 4 ,core_gpio_pd0 
+0x6ae9 021363 ifetch 1 ,contr 
+0x6aea 021364 hstore 1 ,core_gpio_sel 
+0x6aeb 021365 ifetch 1 ,contr 
+0x6aec 021366 hstore 1 ,core_gpio_sel1 
+0x6aed 021367 ifetch 1 ,contr 
+0x6aee 021368 hstore 1 ,core_gpio_sel2 
+0x6aef 021369 branch prcp_parse_common_res 
+:      021370 prcp_parse_gpio_read_req:
+0x6af0 021371 branch prcp_parse_gpio_read_res 
+:      021372 prcp_parse_gpio_read_res:
+0x6af1 021373 jam 0x10 ,mem_prcp_data 
+0x6af2 021374 arg mem_prcp_data + 1 ,contw 
+0x6af3 021375 hfetch 4 ,core_gpio_out0 
+0x6af4 021376 istore 4 ,contw 
+0x6af5 021377 hfetch 4 ,core_gpio_in 
+0x6af6 021378 istore 4 ,contw 
+0x6af7 021379 rtn 
+:      021380 prcp_parse_gpio_write_req:
+0x6af8 021381 ifetcht 1 ,contr 
+0x6af9 021382 ifetch 1 ,contr 
+0x6afa 021383 lshift3 pdata ,pdata 
+0x6afb 021384 lshift4 pdata ,pdata 
+0x6afc 021385 ior temp ,temp 
+0x6afd 021386 call gpio_out 
+0x6afe 021387 branch prcp_parse_common_res 
+:      021392 prcp_parse_i2c_read_req:
+0x6aff 021393 ifetcht 1 ,contr 
+0x6b00 021394 hstoret 1 ,iic_slave_addr 
+0x6b01 021395 ifetch 1 ,contr 
+0x6b02 021396 compare 1 ,pdata ,0xff 
+0x6b03 021397 ifetch 1 ,contr 
+0x6b04 021398 hstore 1 ,iic_fifo 
+0x6b05 021399 branch iic_read_data_len ,true 
+0x6b06 021400 ifetch 1 ,contr 
+0x6b07 021401 hstore 1 ,iic_fifo 
+:      021402 iic_read_data_len:
+0x6b08 021403 ifetch 1 ,contr 
+0x6b09 021404 copy pdata ,loopcnt 
+0x6b0a 021405 increase -1 ,pdata 
+0x6b0b 021406 or_into 0x90 ,pdata 
+0x6b0c 021407 hstore 1 ,iic_ctr 
+0x6b0d 021408 hjam 2 ,iic_cr 
+0x6b0e 021409 nop 1 
+0x6b0f 021411 arg mem_prcp_data ,contw 
+:      021412 iic_read_loop:
+0x6b10 021413 hfetch 1 ,iic_fifo 
+0x6b11 021414 istore 1 ,contw 
+0x6b12 021415 loop iic_read_loop 
+0x6b13 021416 rtn 
+:      021418 clear_prcp_sendbuff:
+0x6b14 021419 setarg 0 
+0x6b15 021420 store 4 ,mem_prcp_data 
+0x6b16 021421 istore 8 ,contw 
+0x6b17 021422 istore 8 ,contw 
+0x6b18 021423 rtn 
+:      021429 prcp_parse_ota_write_req:
+0x6b19 021430 copy rega ,pdata 
+0x6b1a 021431 increase 1 ,pdata 
+0x6b1b 021432 store 2 ,rx_buf_data_ptr 
+0x6b1c 021433 fetch 2 ,mem_eeprom_ota_base_addr 
+0x6b1d 021434 beq 0x0000 ,prcp_parse_ota_start1 
+:      021435 prcp_parse_ota_load:
+0x6b1e 021436 fetch 2 ,mem_eeprom_ota_base_addr 
+0x6b1f 021437 fetcht 2 ,rx_buf_data_ptr 
+0x6b20 021438 ifetcht 2 ,temp 
+0x6b21 021439 iadd temp ,pdata 
+0x6b22 021440 fetcht 2 ,rx_buf_data_ptr 
+0x6b23 021441 increase 2 ,temp 
+0x6b24 021442 copy temp ,contr 
+0x6b25 021443 ifetcht 1 ,contr 
+0x6b26 021444 copy contr ,rega 
+0x6b27 021445 branch iicd_write_ota_data 
+:      021447 prcp_parse_ota_start1:
+0x6b28 021448 setarg 0x0002 
+0x6b29 021449 byteswap pdata ,pdata 
+0x6b2a 021450 store 2 ,mem_addr_mi 
+0x6b2b 021451 arg iicd_read_eep ,regc 
+0x6b2c 021452 arg 0x2 ,loopcnt 
+:      021453 prcp_parse_ota_loop1:
+0x6b2d 021454 call get_block_header 
+0x6b2e 021455 nbranch prcp_parse_ota_start2 ,zero 
+0x6b2f 021456 fetch 2 ,mem_addr_mi 
+0x6b30 021457 byteswap pdata ,pdata 
+0x6b31 021458 iadd temp ,pdata 
+0x6b32 021459 store 2 ,mem_eeprom_ota_base_addr 
+0x6b33 021460 byteswap pdata ,pdata 
+0x6b34 021461 store 2 ,mem_addr_mi 
+0x6b35 021462 loop prcp_parse_ota_loop1 
+:      021463 prcp_parse_ota_start2:
+0x6b36 021464 fetch 2 ,mem_eeprom_ota_base_addr 
+0x6b37 021465 byteswap pdata ,pdata 
+0x6b38 021466 store 2 ,mem_addr_mi 
+0x6b39 021467 arg iicd_read_eep ,regc 
+0x6b3a 021468 arg 0xffff ,loopcnt 
+:      021469 prcp_parse_ota_loop2:
+0x6b3b 021470 call get_block_header 
+0x6b3c 021471 nbranch prcp_parse_ota_load ,zero 
+0x6b3d 021472 fetch 2 ,mem_addr_mi 
+0x6b3e 021473 byteswap pdata ,pdata 
+0x6b3f 021474 iadd temp ,pdata 
+0x6b40 021475 increase 2 ,pdata 
+0x6b41 021476 store 2 ,mem_eeprom_ota_base_addr 
+0x6b42 021477 byteswap pdata ,pdata 
+0x6b43 021478 store 2 ,mem_addr_mi 
+0x6b44 021479 loop prcp_parse_ota_loop2 
+:      021481 prcp_parse_ota_end_cmd:
+0x6b45 021482 fetch 2 ,mem_eeprom_ota_base_addr 
+0x6b46 021483 increase 2 ,pdata 
+0x6b47 021484 byteswap pdata ,pdata 
+0x6b48 021485 store 2 ,mem_eeprom_ota_base_addr 
+0x6b49 021486 arg mem_eeprom_ota_base_addr ,rega 
+0x6b4a 021487 arg 0x02 ,temp 
+0x6b4b 021488 arg 0x0000 ,pdata 
+0x6b4c 021489 call iicd_write_ota_data 
+0x6b4d 021490 setarg 0x0000 
+0x6b4e 021491 store 2 ,mem_eeprom_ota_base_addr 
+0x6b4f 021492 rtn 
+:      021494 prcp_parse_i2c_config_req:
+0x6b50 021495 rtn 
+:      021496 prcp_parse_i2c_read_res:
+0x6b51 021497 rtn 
+:      021498 prcp_parse_i2c_write_req:
+0x6b52 021499 rtn 
+:      021504 rfcomm_init:
+0x6b53 021505 rtn wake 
+0x6b54 021506 jam 0 ,mem_rfcomm_send_more_pkt 
+0x6b55 021507 jam bits9600 ,memremoterpnbitrate 
+0x6b56 021508 jam databits8 ,memremoteprndatabits 
+0x6b57 021509 jam 0x11 ,memremoteprnxon 
+0x6b58 021510 jam 0x13 ,memremoteprnxoff 
+0x6b59 021511 setarg 0 
+0x6b5a 021512 store 3 ,memremoteprnstopbit 
+0x6b5b 021513 store 1 ,mem_spp_state 
+0x6b5c 021514 jam 0 ,memui_reconnect_mode 
+:      021516 rfcomm_init_spp:
+0x6b5d 021517 set1 mark_ext_patch ,mark 
+0x6b5e 021518 bpatch patch37_7 ,mem_patch37 
+0x6b5f 021519 setarg 0 
+0x6b60 021520 store 1 ,mem_spp_state 
+0x6b61 021521 store 1 ,mem_remote_spp_channel 
+0x6b62 021522 store 1 ,mem_pn_dlci 
+0x6b63 021523 jam 0x50 ,mem_credit_given 
+0x6b64 021524 rtn 
+:      021526 set_cr_bit:
+0x6b65 021527 or_into 0x02 ,temp 
+0x6b66 021528 rtn 
+:      021540 rfcomm_calculate_fcs_sabm:
+0x6b67 021541 copy temp ,pdata 
+0x6b68 021542 reverse pdata ,pdata 
+0x6b69 021543 store 1 ,memfcstemp3 
+0x6b6a 021544 force ini_tx_sabm ,pdata 
+0x6b6b 021545 reverse pdata ,pdata 
+0x6b6c 021546 store 1 ,memfcstemp2 
+0x6b6d 021547 force 0x01 ,pdata 
+0x6b6e 021548 reverse pdata ,pdata 
+0x6b6f 021549 store 1 ,memfcstemp1 
+0x6b70 021550 call caculate_fcs 
+0x6b71 021551 copy temp ,pdata 
+0x6b72 021552 rtn 
+:      021553 rfcomm_calculate_fcs_ua:
+0x6b73 021554 reverse pdata ,pdata 
+0x6b74 021555 store 1 ,memfcstemp3 
+0x6b75 021556 force rsp_tx_ua ,pdata 
+0x6b76 021557 reverse pdata ,pdata 
+0x6b77 021558 store 1 ,memfcstemp2 
+0x6b78 021559 force 0x01 ,pdata 
+0x6b79 021560 reverse pdata ,pdata 
+0x6b7a 021561 store 1 ,memfcstemp1 
+0x6b7b 021562 branch caculate_fcs 
+:      021564 rfcomm_calculate_fcs_dlci0:
+0x6b7c 021565 fetch 1 ,mem_rfcomm_initiator 
+0x6b7d 021566 branch rfcomm_calculate_fcs_dlci0_res ,blank 
+0x6b7e 021567 setarg 0x70 
+0x6b7f 021568 rtn 
+:      021569 rfcomm_calculate_fcs_dlci0_res:
+0x6b80 021570 setarg 0xaa 
+0x6b81 021571 rtn 
+:      021573 rfcomm_save_fcs_uih:
+0x6b82 021574 reverse pdata ,pdata 
+0x6b83 021575 store 1 ,memfcstemp3 
+0x6b84 021576 force rsp_rx_uih ,pdata 
+0x6b85 021577 call caculate_uihdata_fcs 
+0x6b86 021578 fetcht 2 ,mem_contw_temp 
+0x6b87 021579 copy temp ,contw 
+0x6b88 021580 istore 1 ,contw 
+0x6b89 021581 copy contw ,temp 
+0x6b8a 021582 storet 2 ,mem_contw_temp 
+0x6b8b 021583 force rsp_rx_uih_wdata ,pdata 
+0x6b8c 021584 call caculate_uihdata_fcs 
+0x6b8d 021585 fetcht 2 ,mem_contw_temp 
+0x6b8e 021586 copy temp ,contw 
+0x6b8f 021587 istore 1 ,contw 
+0x6b90 021588 rtn 
+:      021597 caculate_uihdata_fcs:
+0x6b91 021598 reverse pdata ,pdata 
+0x6b92 021599 store 1 ,memfcstemp2 
+0x6b93 021600 fetch 2 ,memfcstemp2 
+0x6b94 021601 lshift8 pdata ,pdata 
+0x6b95 021602 store 3 ,mem_mod2div_temp 
+0x6b96 021603 arg 0x107 ,rega 
+0x6b97 021604 arg 0xf ,regb 
+0x6b98 021605 call mod2div 
+0x6b99 021606 xor_into 0xd7 ,pdata 
+0x6b9a 021607 invert pdata ,pdata 
+0x6b9b 021608 reverse pdata ,pdata 
+0x6b9c 021609 rtn 
+:      021619 caculate_fcs:
+0x6b9d 021620 fetch 3 ,memfcstemp1 
+0x6b9e 021621 store 3 ,mem_mod2div_temp 
+0x6b9f 021622 arg 0x107 ,rega 
+0x6ba0 021623 arg 0xf ,regb 
+0x6ba1 021624 call mod2div 
+0x6ba2 021625 lshift8 pdata ,pdata 
+0x6ba3 021626 arg 0x7 ,regb 
+0x6ba4 021627 call mod2div 
+0x6ba5 021628 xor_into 0x2b ,pdata 
+0x6ba6 021629 invert pdata ,pdata 
+0x6ba7 021630 reverse pdata ,pdata 
+0x6ba8 021631 copy pdata ,temp 
+0x6ba9 021632 rtn 
+:      021634 mod2div:
+0x6baa 021635 arg 0 ,regc 
+0x6bab 021636 copy regb ,loopcnt 
+0x6bac 021637 call right_shift_n 
+0x6bad 021638 icopy temp 
+:      021639 mod2div_loop:
+0x6bae 021644 copy temp ,pdata 
+0x6baf 021645 lshift regc ,regc 
+0x6bb0 021646 bbit0 8 ,mod2div_not_enough_reduction 
+0x6bb1 021647 ixor rega ,temp 
+0x6bb2 021648 increase 1 ,regc 
+:      021649 mod2div_not_enough_reduction:
+0x6bb3 021650 lshift temp ,temp 
+0x6bb4 021651 fetch 3 ,mem_mod2div_temp 
+0x6bb5 021652 increase -1 ,regb 
+0x6bb6 021653 compare 0xff ,regb ,0xff 
+0x6bb7 021654 branch mod2div_end ,true 
+0x6bb8 021655 copy regb ,loopcnt 
+0x6bb9 021656 call right_shift_n 
+0x6bba 021657 isolate1 0 ,pdata 
+0x6bbb 021658 setflag true ,0 ,temp 
+0x6bbc 021659 branch mod2div_loop 
+:      021660 mod2div_end:
+0x6bbd 021662 rshift temp ,pdata 
+0x6bbe 021663 rtn 
+:      021665 get_rfcomm_snd_adss:
+0x6bbf 021666 fetcht 1 ,mem_pn_dlci 
+:      021667 dlci_to_address_cmd:
+0x6bc0 021669 lshift2 temp ,temp 
+0x6bc1 021670 set1 rfcomm_address_ext_len ,temp 
+0x6bc2 021671 fetch 1 ,mem_rfcomm_initiator 
+0x6bc3 021672 ncall set_cr_bit ,blank 
+0x6bc4 021673 storet 1 ,mem_rfcomm_send_adss 
+0x6bc5 021674 rtn 
+:      021676 dlci_to_address_res:
+0x6bc6 021678 lshift2 temp ,temp 
+0x6bc7 021679 set1 rfcomm_address_ext_len ,temp 
+0x6bc8 021680 fetch 1 ,mem_rfcomm_initiator 
+0x6bc9 021681 call set_cr_bit ,blank 
+0x6bca 021682 rtn 
+:      021683 channel_to_dlci:
+0x6bcb 021685 lshift temp ,temp 
+0x6bcc 021686 fetch 1 ,mem_rfcomm_initiator 
+0x6bcd 021687 setflag blank ,0 ,temp 
+0x6bce 021689 rtn 
+:      021690 rfcomm_rx_process_dlci0_sabm:
+0x6bcf 021691 fetcht 1 ,mem_current_channel 
+0x6bd0 021692 jam 0xd7 ,mem_current_fcs 
+0x6bd1 021693 call rfcomm_send_ua 
+0x6bd2 021694 fetch 1 ,mem_rfcomm_state 
+0x6bd3 021695 set1 l2cap_channel_rfcomm_only_sabm ,pdata 
+0x6bd4 021696 set1 l2cap_channel_rfcomm_only_ua ,pdata 
+0x6bd5 021697 store 1 ,mem_rfcomm_state 
+0x6bd6 021698 jam 0 ,mem_rfcomm_initiator 
+0x6bd7 021699 branch rfcomm_rx_process_end 
+:      021700 rfcomm_rx_process_dlci0_ua:
+0x6bd8 021701 fetch 1 ,mem_rfcomm_state 
+0x6bd9 021702 set1 l2cap_channel_rfcomm_only_ua ,pdata 
+0x6bda 021703 store 1 ,mem_rfcomm_state 
+0x6bdb 021704 branch rfcomm_rx_process_end 
+:      021707 rfcomm_rx_process:
+0x6bdc 021708 set1 mark_ext_patch ,mark 
+0x6bdd 021709 bpatch patch38_0 ,mem_patch38 
+0x6bde 021710 fetch 1 ,memui_reconnect_mode 
+0x6bdf 021711 beq no_reconnection ,rfcomm_rx_process_remote_page 
+0x6be0 021712 branch rfcomm_rx_process_reconn 
+:      021714 rfcomm_rx_process_remote_page:
+0x6be1 021715 fetch 2 ,mem_l2cap_payload_ptr 
+0x6be2 021716 copy pdata ,contr 
+0x6be3 021717 call get_rfcomm_head_struct 
+0x6be4 021718 fetch 1 ,mem_current_channel 
+0x6be5 021719 beq 0 ,parse_dlci0_rp 
+0x6be6 021720 branch parse_uih_rp 
+:      021721 parse_dlci0_rp:
+0x6be7 021722 set1 mark_ext_patch ,mark 
+0x6be8 021723 bpatch patch38_1 ,mem_patch38 
+0x6be9 021724 fetch 1 ,mem_current_frame_type 
+0x6bea 021725 beq rfcomm_frame_type_sabm ,rfcomm_rx_process_dlci0_sabm 
+0x6beb 021726 beq rfcomm_frame_type_ua ,rfcomm_rx_process_dlci0_ua 
+0x6bec 021727 beq rfcomm_frame_type_uih ,parse_dlci0_rp_uih 
+0x6bed 021728 rtneq rfcomm_frame_type_disconn 
+0x6bee 021729 branch assert 
+:      021732 parse_dlci0_rp_uih:
+0x6bef 021733 fetch 2 ,mem_rfcomm_uih_payload_ptr 
+0x6bf0 021734 copy pdata ,contr 
+0x6bf1 021735 call get_rfcomm_uih_head_struct 
+0x6bf2 021736 fetch 1 ,mem_uih_cmd_type 
+0x6bf3 021737 beq uih_param_neg_cmd ,parse_dlci0_rp_uih_pn_cmd 
+0x6bf4 021738 beq uih_param_neg_res ,parse_dlci0_rp_uih_pn_res 
+0x6bf5 021739 beq uih_modem_status_cmd ,parse_dlci0_rp_uih_ms_cmd 
+0x6bf6 021740 beq uih_modem_status_res ,parse_dlci0_rp_uih_ms_res 
+0x6bf7 021741 branch rfcomm_rx_process_end 
+:      021743 parse_dlci0_rp_uih_pn_cmd:
+0x6bf8 021744 call parse_dlci0_rp_uih_pn_res_common 
+0x6bf9 021745 fetch 1 ,mem_pn_dlci 
+0x6bfa 021746 rshift pdata ,pdata 
+0x6bfb 021747 sub pdata ,spp_slave_channel ,null 
+0x6bfc 021748 branch parse_dlci0_rp_uih_pn_cmd_spp ,zero 
+0x6bfd 021749 branch assert 
+:      021750 parse_dlci0_rp_uih_pn_cmd_spp:
+0x6bfe 021751 fetch 1 ,mem_spp_state 
+0x6bff 021752 set1 rfcomm_channel_state_pn_cmd ,pdata 
+0x6c00 021753 set1 rfcomm_channel_state_pn_res ,pdata 
+0x6c01 021754 store 1 ,mem_spp_state 
+0x6c02 021755 call rfcomm_send_param_neg_res 
+0x6c03 021756 branch rfcomm_rx_process_end 
+:      021758 parse_dlci0_rp_uih_pn_res:
+0x6c04 021759 call parse_dlci0_rp_uih_pn_res_common 
+0x6c05 021760 branch rfcomm_rx_process_end 
+:      021762 parse_dlci0_rp_uih_pn_res_common:
+0x6c06 021763 call get_param_payload_ptr 
+0x6c07 021764 branch get_rfcomm_prarmer_negotiation 
+:      021766 get_rfcomm_param_modem_status:
+0x6c08 021767 call get_param_payload_ptr 
+0x6c09 021768 ifetch 1 ,contr 
+0x6c0a 021769 rshift3 pdata ,pdata 
+0x6c0b 021770 store 1 ,mem_ms_channel 
+0x6c0c 021771 ifetch 1 ,contr 
+0x6c0d 021772 store 1 ,mem_ms_param 
+0x6c0e 021773 rtn 
+:      021776 get_rfcomm_head_struct:
+0x6c0f 021777 ifetch 1 ,contr 
+0x6c10 021778 store 1 ,mem_current_adss 
+0x6c11 021779 rshift3 pdata ,pdata 
+0x6c12 021780 store 1 ,mem_current_channel 
+0x6c13 021781 ifetch 1 ,contr 
+0x6c14 021782 store 1 ,mem_current_frame_type 
+:      021783 get_rfcomm_current_length:
+0x6c15 021784 call get_rfcomm_length_common 
+0x6c16 021785 storet 2 ,mem_current_length 
+0x6c17 021786 copy contr ,pdata 
+0x6c18 021787 store 2 ,mem_rfcomm_uih_payload_ptr 
+0x6c19 021788 rtn 
+:      021790 get_rfcomm_uih_head_struct:
+0x6c1a 021791 ifetch 1 ,contr 
+0x6c1b 021792 rshift pdata ,pdata 
+0x6c1c 021793 store 1 ,mem_uih_cmd_type 
+0x6c1d 021794 call get_rfcomm_length_common 
+0x6c1e 021795 storet 2 ,mem_uih_length 
+0x6c1f 021796 copy contr ,pdata 
+0x6c20 021797 store 2 ,mem_param_payload_ptr 
+0x6c21 021798 rtn 
+:      021801 get_param_payload_ptr:
+0x6c22 021802 fetch 2 ,mem_param_payload_ptr 
+0x6c23 021803 copy pdata ,contr 
+0x6c24 021804 rtn 
+:      021806 get_rfcomm_param_length_common:
+0x6c25 021807 fetch 2 ,mem_param_payload_ptr 
+0x6c26 021808 copy pdata ,contr 
+:      021809 get_rfcomm_length_common:
+0x6c27 021810 ifetch 1 ,contr 
+0x6c28 021811 copy pdata ,temp 
+0x6c29 021812 rshift temp ,temp 
+0x6c2a 021813 rtnbit1 0 
+0x6c2b 021814 ifetch 1 ,contr 
+0x6c2c 021815 lshift3 pdata ,pdata 
+0x6c2d 021816 lshift4 pdata ,pdata 
+0x6c2e 021817 iadd temp ,temp 
+0x6c2f 021818 rtn 
+:      021820 get_rfcomm_prarmer_negotiation:
+0x6c30 021821 ifetch 1 ,contr 
+0x6c31 021822 store 1 ,mem_pn_dlci 
+0x6c32 021823 ifetch 1 ,contr 
+0x6c33 021824 store 1 ,mem_pn_credit_flow_type_info 
+0x6c34 021825 ifetch 1 ,contr 
+0x6c35 021826 store 1 ,mem_pn_priority 
+0x6c36 021827 ifetch 1 ,contr 
+0x6c37 021828 store 1 ,mem_pn_acknowledg_timer 
+0x6c38 021829 ifetch 2 ,contr 
+0x6c39 021830 store 2 ,mem_pn_max_frame_size 
+0x6c3a 021831 ifetch 1 ,contr 
+0x6c3b 021832 store 1 ,mem_pn_max_retrans 
+0x6c3c 021833 ifetch 1 ,contr 
+0x6c3d 021834 store 1 ,mem_remote_credits 
+0x6c3e 021835 rtn 
+:      021838 parse_dlci0_rp_uih_ms_cmd:
+0x6c3f 021839 call get_rfcomm_param_modem_status 
+0x6c40 021840 fetch 1 ,mem_ms_channel 
+0x6c41 021841 sub pdata ,1 ,null 
+0x6c42 021842 branch parse_dlci0_rp_uih_ms_cmd_spp ,zero 
+0x6c43 021843 branch assert 
+:      021844 parse_dlci0_rp_uih_ms_cmd_spp:
+0x6c44 021845 fetch 1 ,mem_spp_state 
+0x6c45 021846 set1 rfcomm_channel_state_rcv_ms_cmd ,pdata 
+0x6c46 021847 set1 rfcomm_channel_state_snd_ms_res ,pdata 
+0x6c47 021848 store 1 ,mem_spp_state 
+0x6c48 021849 fetcht 1 ,mem_pn_dlci 
+0x6c49 021850 lshift2 temp ,temp 
+0x6c4a 021851 or_into 3 ,temp 
+0x6c4b 021852 call rfcomm_send_modem_status_res 
+0x6c4c 021853 jam more_pkt_msc_cmd_spp ,mem_rfcomm_send_more_pkt 
+0x6c4d 021854 branch rfcomm_rx_process_end 
+:      021856 parse_dlci0_rp_uih_ms_res:
+0x6c4e 021857 call get_rfcomm_param_modem_status 
+0x6c4f 021858 fetch 1 ,mem_ms_channel 
+0x6c50 021859 sub pdata ,1 ,null 
+0x6c51 021860 branch parse_dlci0_rp_uih_ms_res_spp ,zero 
+0x6c52 021861 branch assert 
+:      021862 parse_dlci0_rp_uih_ms_res_spp:
+0x6c53 021863 fetch 1 ,mem_spp_state 
+0x6c54 021864 set1 rfcomm_channel_state_rcv_ms_res ,pdata 
+0x6c55 021865 store 1 ,mem_spp_state 
+0x6c56 021866 branch rfcomm_rx_process_end 
+:      021868 parse_uih_rp:
+0x6c57 021869 fetch 1 ,mem_current_channel 
+0x6c58 021870 sub pdata ,spp_slave_channel ,null 
+0x6c59 021871 branch parse_uih_rp_spp ,zero 
+0x6c5a 021872 branch assert 
+:      021873 parse_uih_rp_spp:
+0x6c5b 021874 fetch 1 ,mem_current_frame_type 
+0x6c5c 021875 beq rfcomm_frame_type_ua ,parse_uih_rp_spp_ua 
+0x6c5d 021876 beq rfcomm_frame_type_sabm ,parse_uih_rp_spp_sabm 
+0x6c5e 021877 beq rfcomm_frame_type_uih ,parse_uih_spp_uih 
+0x6c5f 021878 beq rfcomm_frame_type_uih_credits ,parse_uih_spp_uih_credits 
+0x6c60 021879 beq rfcomm_frame_type_disconn ,parse_uih_rp_spp_disconn 
+0x6c61 021880 branch assert 
+:      021881 parse_uih_rp_spp_ua:
+0x6c62 021882 fetch 1 ,mem_spp_state 
+0x6c63 021883 set1 rfcomm_channel_state_ua ,pdata 
+0x6c64 021884 store 1 ,mem_spp_state 
+0x6c65 021885 branch rfcomm_rx_process_end 
+:      021886 parse_uih_rp_spp_sabm:
+0x6c66 021887 fetch 1 ,mem_spp_state 
+0x6c67 021888 set1 rfcomm_channel_state_ua ,pdata 
+0x6c68 021889 set1 rfcomm_channel_state_sabm ,pdata 
+0x6c69 021890 store 1 ,mem_spp_state 
+0x6c6a 021891 fetch 1 ,mem_current_adss 
+0x6c6b 021892 call rfcomm_calculate_fcs_ua 
+0x6c6c 021893 store 1 ,mem_current_fcs 
+0x6c6d 021894 call rfcomm_send_ua 
+0x6c6e 021895 fetch 1 ,mem_current_adss 
+0x6c6f 021896 rshift2 pdata ,pdata 
+0x6c70 021897 store 1 ,mem_pn_dlci 
+0x6c71 021898 lshift2 pdata ,pdata 
+0x6c72 021899 set0 rfcomm_address_cr ,pdata 
+0x6c73 021900 set1 rfcomm_address_ext_len ,pdata 
+0x6c74 021901 arg mem_hiufcs_spp ,temp 
+0x6c75 021902 storet 2 ,mem_contw_temp 
+0x6c76 021903 call rfcomm_save_fcs_uih 
+0x6c77 021904 branch rfcomm_rx_process_end 
+:      021906 parse_uih_spp_uih_credits:
+0x6c78 021907 fetch 2 ,mem_rfcomm_uih_payload_ptr 
+0x6c79 021908 copy pdata ,contr 
+0x6c7a 021909 increase 1 ,pdata 
+0x6c7b 021910 store 2 ,mem_rfcomm_uih_payload_ptr 
+0x6c7c 021911 ifetch 1 ,contr 
+0x6c7d 021912 fetcht 1 ,mem_remote_credits 
+0x6c7e 021913 iadd temp ,pdata 
+0x6c7f 021914 store 1 ,mem_remote_credits 
+:      021915 parse_uih_spp_uih:
+0x6c80 021916 call rfcomm_increase_credit_given 
+:      021917 parse_uih_spp_uih_cont:
+0x6c81 021918 call get_rfcomm_snd_adss 
+0x6c82 021919 call rfcomm_send_uih_without_payload 
+0x6c83 021920 call spp_process_rx_data 
+0x6c84 021921 branch rfcomm_rx_process_end 
+:      021923 parse_uih_rp_spp_disconn:
+0x6c85 021924 call rfcomm_init_spp 
+0x6c86 021925 fetch 1 ,mem_current_adss 
+0x6c87 021926 call rfcomm_calculate_fcs_ua 
+0x6c88 021927 store 1 ,mem_current_fcs 
+0x6c89 021928 call rfcomm_send_ua 
+0x6c8a 021929 branch rfcomm_rx_process_end 
+:      021934 rfcomm_rx_process_reconn:
+0x6c8b 021935 fetch 2 ,mem_l2cap_payload_ptr 
+0x6c8c 021936 copy pdata ,contr 
+0x6c8d 021937 call get_rfcomm_head_struct 
+0x6c8e 021938 fetch 1 ,mem_current_channel 
+0x6c8f 021939 beq 0 ,parse_dlci0_reconn 
+0x6c90 021940 branch parse_uih_reconn 
+:      021942 parse_dlci0_reconn:
+0x6c91 021943 set1 mark_ext_patch ,mark 
+0x6c92 021944 bpatch patch38_2 ,mem_patch38 
+0x6c93 021945 fetch 1 ,mem_current_frame_type 
+0x6c94 021946 beq rfcomm_frame_type_sabm ,rfcomm_rx_process_dlci0_sabm 
+0x6c95 021947 beq rfcomm_frame_type_ua ,rfcomm_rx_process_dlci0_ua 
+0x6c96 021948 beq rfcomm_frame_type_uih ,parse_dlci0_reconn_uih 
+0x6c97 021949 branch rfcomm_rx_process_end 
+:      021950 parse_dlci0_reconn_uih:
+0x6c98 021951 fetch 2 ,mem_rfcomm_uih_payload_ptr 
+0x6c99 021952 copy pdata ,contr 
+0x6c9a 021953 call get_rfcomm_uih_head_struct 
+0x6c9b 021954 fetch 1 ,mem_uih_cmd_type 
+0x6c9c 021955 beq uih_param_neg_cmd ,parse_dlci0_reconn_uih_pn_cmd 
+0x6c9d 021956 beq uih_param_neg_res ,parse_dlci0_reconn_uih_pn_cmd 
+0x6c9e 021957 beq uih_modem_status_cmd ,parse_dlci0_reconn_uih_ms_cmd 
+0x6c9f 021958 beq uih_modem_status_res ,parse_dlci0_reconn_uih_ms_res 
+0x6ca0 021959 branch rfcomm_rx_process_end 
+:      021961 parse_dlci0_reconn_uih_pn_cmd:
+0x6ca1 021962 call parse_dlci0_rp_uih_pn_res_common 
+0x6ca2 021963 fetch 1 ,mem_pn_dlci 
+0x6ca3 021964 rshift pdata ,pdata 
+0x6ca4 021965 fetcht 1 ,mem_remote_spp_channel 
+0x6ca5 021966 isub temp ,null 
+0x6ca6 021967 branch parse_dlci0_reconn_uih_pn_cmd_spp ,zero 
+0x6ca7 021968 branch assert 
+:      021969 parse_dlci0_reconn_uih_pn_cmd_spp:
+0x6ca8 021970 fetch 1 ,mem_spp_state 
+0x6ca9 021971 set1 rfcomm_channel_state_pn_res ,pdata 
+0x6caa 021972 store 1 ,mem_spp_state 
+0x6cab 021973 branch rfcomm_rx_process_end 
+:      021975 parse_dlci0_reconn_uih_ms_cmd:
+0x6cac 021976 call get_rfcomm_param_modem_status 
+0x6cad 021977 fetch 1 ,mem_ms_channel 
+0x6cae 021978 fetcht 1 ,mem_remote_spp_channel 
+0x6caf 021979 isub temp ,null 
+0x6cb0 021980 branch parse_dlci0_reconn_uih_ms_cmd_spp ,zero 
+0x6cb1 021981 branch assert 
+0x6cb2 021982 branch rfcomm_rx_process_end 
+:      021983 parse_dlci0_reconn_uih_ms_cmd_spp:
+0x6cb3 021984 fetch 1 ,mem_spp_state 
+0x6cb4 021985 set1 rfcomm_channel_state_rcv_ms_cmd ,pdata 
+0x6cb5 021986 set1 rfcomm_channel_state_snd_ms_res ,pdata 
+0x6cb6 021987 store 1 ,mem_spp_state 
+0x6cb7 021988 fetcht 1 ,mem_pn_dlci 
+0x6cb8 021989 lshift2 temp ,temp 
+0x6cb9 021990 or_into 3 ,temp 
+0x6cba 021991 call rfcomm_send_modem_status_res 
+0x6cbb 021992 branch rfcomm_rx_process_end 
+:      021994 parse_dlci0_reconn_uih_ms_res:
+0x6cbc 021995 call get_rfcomm_param_modem_status 
+0x6cbd 021996 fetch 1 ,mem_ms_channel 
+0x6cbe 021997 fetcht 1 ,mem_remote_spp_channel 
+0x6cbf 021998 isub temp ,null 
+0x6cc0 021999 branch parse_dlci0_reconn_uih_ms_res_spp ,zero 
+0x6cc1 022000 branch assert 
+:      022001 parse_dlci0_reconn_uih_ms_res_spp:
+0x6cc2 022002 fetch 1 ,mem_spp_state 
+0x6cc3 022003 set1 rfcomm_channel_state_rcv_ms_res ,pdata 
+0x6cc4 022004 store 1 ,mem_spp_state 
+0x6cc5 022005 branch rfcomm_rx_process_end 
+:      022007 parse_uih_reconn:
+0x6cc6 022008 fetch 1 ,mem_current_channel 
+0x6cc7 022009 fetcht 1 ,mem_remote_spp_channel 
+0x6cc8 022010 isub temp ,null 
+0x6cc9 022011 branch parse_uih_reconn_spp ,zero 
+0x6cca 022012 branch assert 
+0x6ccb 022013 branch rfcomm_rx_process_end 
+:      022015 parse_uih_reconn_spp:
+0x6ccc 022016 fetch 1 ,mem_current_frame_type 
+0x6ccd 022017 beq rfcomm_frame_type_ua ,parse_uih_reconn_spp_ua 
+0x6cce 022018 beq rfcomm_frame_type_uih ,parse_uih_spp_uih 
+0x6ccf 022019 beq rfcomm_frame_type_uih_credits ,parse_uih_spp_uih_credits 
+0x6cd0 022020 beq rfcomm_frame_type_disconn ,parse_uih_reconn_spp_disconn 
+:      022021 parse_uih_reconn_spp_ua:
+0x6cd1 022022 fetch 1 ,mem_spp_state 
+0x6cd2 022023 set1 rfcomm_channel_state_ua ,pdata 
+0x6cd3 022024 store 1 ,mem_spp_state 
+0x6cd4 022025 branch rfcomm_rx_process_end 
+:      022026 parse_uih_reconn_spp_sabm:
+0x6cd5 022027 branch parse_uih_reconn_spp_sabm 
+:      022028 parse_uih_reconn_spp_disconn:
+0x6cd6 022029 branch parse_uih_rp_spp_disconn 
+:      022030 rfcomm_rx_process_end:
+0x6cd7 022031 rtn 
+:      022033 rfcomm_send_more_pkt:
+0x6cd8 022034 fetch 1 ,mem_rfcomm_send_more_pkt 
+0x6cd9 022035 rtn blank 
+0x6cda 022036 beq more_pkt_msc_cmd_spp ,rfcomm_send_more_pkt_msc_cmd_spp 
+0x6cdb 022037 branch assert 
+:      022039 rfcomm_send_more_pkt_msc_cmd_spp:
+0x6cdc 022040 jam 0 ,mem_rfcomm_send_more_pkt 
+0x6cdd 022041 call l2cap_malloc_rfcomm_channel 
+0x6cde 022042 arg spp_slave_channel ,temp 
+0x6cdf 022043 lshift3 temp ,temp 
+:      022044 rfcomm_send_more_pkt_msc_cmd_spp0:
+0x6ce0 022045 or_into 0x03 ,temp 
+0x6ce1 022046 arg 0xaa ,rega 
+0x6ce2 022047 call rfcomm_send_modem_status_cmd 
+0x6ce3 022048 call l2cap_get_rfcomm_tx_buff 
+0x6ce4 022049 copy contw ,contr 
+0x6ce5 022050 ifetch 2 ,contr 
+0x6ce6 022051 branch assert ,blank 
+0x6ce7 022052 rtn 
+:      022054 rfcomm_send_sabm:
+0x6ce8 022055 set1 mark_ext_patch ,mark 
+0x6ce9 022056 bpatch patch38_3 ,mem_patch38 
+0x6cea 022057 call l2cap_get_rfcomm_tx_buff 
+0x6ceb 022058 setarg 0x0004 
+0x6cec 022059 istore 2 ,contw 
+0x6ced 022060 fetch 2 ,mem_rfcomm_remote_cid 
+0x6cee 022061 istore 2 ,contw 
+0x6cef 022062 fetch 1 ,mem_current_adss 
+0x6cf0 022063 istore 1 ,contw 
+0x6cf1 022064 setarg 0x013f 
+0x6cf2 022065 istore 2 ,contw 
+0x6cf3 022066 fetch 1 ,mem_current_fcs 
+0x6cf4 022067 istore 1 ,contw 
+0x6cf5 022068 rtn 
+:      022069 rfcomm_send_ua:
+0x6cf6 022070 set1 mark_ext_patch ,mark 
+0x6cf7 022071 bpatch patch38_4 ,mem_patch38 
+0x6cf8 022072 call l2cap_malloc_rfcomm_channel 
+0x6cf9 022073 call l2cap_get_rfcomm_tx_buff 
+0x6cfa 022074 setarg 0x0004 
+0x6cfb 022075 istore 2 ,contw 
+0x6cfc 022076 fetch 2 ,mem_rfcomm_remote_cid 
+0x6cfd 022077 istore 2 ,contw 
+0x6cfe 022078 fetch 1 ,mem_current_adss 
+0x6cff 022079 istore 1 ,contw 
+0x6d00 022080 setarg 0x0173 
+0x6d01 022081 istore 2 ,contw 
+0x6d02 022082 fetch 1 ,mem_current_fcs 
+0x6d03 022083 istore 1 ,contw 
+0x6d04 022084 rtn 
+:      022085 rfcomm_send_param_neg_cmd:
+0x6d05 022086 set1 mark_ext_patch ,mark 
+0x6d06 022087 bpatch patch38_5 ,mem_patch38 
+0x6d07 022088 call l2cap_get_rfcomm_tx_buff 
+0x6d08 022089 setarg 0x000e 
+0x6d09 022090 istore 2 ,contw 
+0x6d0a 022091 fetch 2 ,mem_rfcomm_remote_cid 
+0x6d0b 022092 istore 2 ,contw 
+0x6d0c 022093 fetch 1 ,mem_rfcomm_initiator 
+0x6d0d 022094 lshift pdata ,pdata 
+0x6d0e 022095 set1 0 ,pdata 
+0x6d0f 022096 istore 1 ,contw 
+0x6d10 022097 setarg 0x15ef 
+0x6d11 022098 istore 2 ,contw 
+0x6d12 022099 setarg 0x1183 
+0x6d13 022100 istore 2 ,contw 
+0x6d14 022101 copy temp ,pdata 
+0x6d15 022102 istore 1 ,contw 
+0x6d16 022103 setarg 0x0000f0 
+0x6d17 022104 istore 3 ,contw 
+0x6d18 022105 setarg rfcomm_max_frame_size 
+0x6d19 022106 istore 2 ,contw 
+0x6d1a 022107 setarg 0 
+0x6d1b 022108 istore 1 ,contw 
+0x6d1c 022109 setarg 0x01 
+0x6d1d 022110 istore 1 ,contw 
+0x6d1e 022111 call rfcomm_calculate_fcs_dlci0 
+0x6d1f 022112 istore 1 ,contw 
+0x6d20 022113 jam 0x10 ,mem_credit_given 
+0x6d21 022114 rtn 
+:      022115 rfcomm_send_param_neg_res:
+0x6d22 022116 set1 mark_ext_patch ,mark 
+0x6d23 022117 bpatch patch38_6 ,mem_patch38 
+0x6d24 022118 call l2cap_malloc_rfcomm_channel 
+0x6d25 022119 call l2cap_get_rfcomm_tx_buff 
+0x6d26 022120 setarg 0x000e 
+0x6d27 022121 istore 2 ,contw 
+0x6d28 022122 fetch 2 ,mem_rfcomm_remote_cid 
+0x6d29 022123 istore 2 ,contw 
+0x6d2a 022124 fetch 1 ,mem_rfcomm_initiator 
+0x6d2b 022125 lshift pdata ,pdata 
+0x6d2c 022126 set1 0 ,pdata 
+0x6d2d 022127 istore 1 ,contw 
+0x6d2e 022128 setarg 0x15ef 
+0x6d2f 022129 istore 2 ,contw 
+0x6d30 022130 setarg 0x1181 
+0x6d31 022131 istore 2 ,contw 
+0x6d32 022132 fetch 1 ,mem_pn_dlci 
+0x6d33 022133 istore 1 ,contw 
+0x6d34 022134 setarg 0x0000e0 
+0x6d35 022135 istore 3 ,contw 
+0x6d36 022136 setarg rfcomm_max_frame_size 
+0x6d37 022137 istore 2 ,contw 
+0x6d38 022138 setarg 0x00 
+0x6d39 022139 istore 1 ,contw 
+0x6d3a 022140 setarg 0x07 
+0x6d3b 022141 istore 1 ,contw 
+0x6d3c 022142 call rfcomm_calculate_fcs_dlci0 
+0x6d3d 022143 istore 1 ,contw 
+0x6d3e 022144 rtn 
+:      022145 rfcomm_send_modem_status_cmd:
+0x6d3f 022146 set1 mark_ext_patch ,mark 
+0x6d40 022147 bpatch patch38_7 ,mem_patch38 
+0x6d41 022148 call l2cap_get_rfcomm_tx_buff 
+0x6d42 022149 setarg 0x0008 
+0x6d43 022150 istore 2 ,contw 
+0x6d44 022151 fetch 2 ,mem_rfcomm_remote_cid 
+0x6d45 022152 istore 2 ,contw 
+0x6d46 022153 fetch 1 ,mem_rfcomm_initiator 
+0x6d47 022154 lshift pdata ,pdata 
+0x6d48 022155 set1 0 ,pdata 
+0x6d49 022156 istore 1 ,contw 
+0x6d4a 022157 setarg 0x09ef 
+0x6d4b 022158 istore 2 ,contw 
+0x6d4c 022159 setarg 0x05e3 
+0x6d4d 022160 istore 2 ,contw 
+0x6d4e 022161 copy temp ,pdata 
+0x6d4f 022162 istore 1 ,contw 
+0x6d50 022163 setarg 0x8d 
+0x6d51 022164 istore 1 ,contw 
+0x6d52 022165 call rfcomm_calculate_fcs_dlci0 
+0x6d53 022166 istore 1 ,contw 
+0x6d54 022167 rtn 
+:      022169 rfcomm_send_modem_status_res:
+0x6d55 022170 set1 mark_ext_patch ,mark 
+0x6d56 022171 bpatch patch39_0 ,mem_patch39 
+0x6d57 022172 call l2cap_malloc_rfcomm_channel 
+0x6d58 022173 call l2cap_get_rfcomm_tx_buff 
+0x6d59 022174 setarg 0x0008 
+0x6d5a 022175 istore 2 ,contw 
+0x6d5b 022176 fetch 2 ,mem_rfcomm_remote_cid 
+0x6d5c 022177 istore 2 ,contw 
+0x6d5d 022178 copy temp ,timeup 
+0x6d5e 022179 fetch 1 ,mem_rfcomm_initiator 
+0x6d5f 022180 lshift pdata ,pdata 
+0x6d60 022181 set1 0 ,pdata 
+0x6d61 022182 istore 1 ,contw 
+0x6d62 022183 setarg 0x09ef 
+0x6d63 022184 istore 2 ,contw 
+0x6d64 022185 setarg 0x05e1 
+0x6d65 022186 istore 2 ,contw 
+0x6d66 022187 copy timeup ,pdata 
+0x6d67 022188 istore 1 ,contw 
+0x6d68 022189 setarg 0x8d 
+0x6d69 022190 istore 1 ,contw 
+0x6d6a 022191 call rfcomm_calculate_fcs_dlci0 
+0x6d6b 022192 istore 1 ,contw 
+0x6d6c 022193 rtn 
+:      022195 rfcomm_send_uih_without_payload:
+0x6d6d 022196 set1 mark_ext_patch ,mark 
+0x6d6e 022197 bpatch patch39_1 ,mem_patch39 
+0x6d6f 022198 fetch 1 ,mem_credit_given 
+0x6d70 022199 rtn blank 
+0x6d71 022200 hfetch 2 ,core_uart_rxitems 
+0x6d72 022201 nrtn blank 
+0x6d73 022202 copy rega ,pdata 
+0x6d74 022203 store 1 ,mem_pdatatemp + 1 
+0x6d75 022204 storet 1 ,mem_pdatatemp 
+0x6d76 022205 call l2cap_malloc_is_fifo_full 
+0x6d77 022206 nrtn blank 
+0x6d78 022207 call l2cap_malloc_rfcomm_channel 
+0x6d79 022208 call l2cap_get_rfcomm_tx_buff 
+0x6d7a 022209 setarg 0x05 
+0x6d7b 022210 istore 2 ,contw 
+0x6d7c 022211 fetch 2 ,mem_rfcomm_remote_cid 
+0x6d7d 022212 istore 2 ,contw 
+0x6d7e 022213 fetch 1 ,mem_rfcomm_send_adss 
+0x6d7f 022214 istore 1 ,contw 
+0x6d80 022215 setarg 0x01ff 
+0x6d81 022216 istore 2 ,contw 
+0x6d82 022217 fetch 1 ,mem_credit_given 
+0x6d83 022218 istore 1 ,contw 
+0x6d84 022219 fetch 1 ,mem_hiufcs_spp_wcredits 
+0x6d85 022220 istore 1 ,contw 
+0x6d86 022221 jam 0 ,mem_credit_given 
+0x6d87 022222 rtn 
+:      022224 rfcomm_increase_credit_given:
+0x6d88 022225 fetch 2 ,mem_current_length 
+0x6d89 022226 rtn blank 
+0x6d8a 022227 fetch 1 ,mem_credit_given 
+0x6d8b 022228 increase 1 ,pdata 
+0x6d8c 022229 store 1 ,mem_credit_given 
+0x6d8d 022230 rtn 
+:      022232 spp_process_rx_data:
+0x6d8e 022233 set1 mark_ext_patch ,mark 
+0x6d8f 022234 bpatch patch39_2 ,mem_patch39 
+0x6d90 022235 fetch 2 ,mem_current_length 
+0x6d91 022236 copy pdata ,loopcnt 
+0x6d92 022237 call uartd_prepare_tx 
+0x6d93 022238 fetch 2 ,mem_rfcomm_uih_payload_ptr 
+0x6d94 022239 copy pdata ,contr 
+0x6d95 022240 call uart_copy_tx_bytes 
+0x6d96 022241 branch uartd_send 
+:      022243 spp_tx_rfcomm_packet:
+0x6d97 022244 set1 mark_ext_patch ,mark 
+0x6d98 022245 bpatch patch39_3 ,mem_patch39 
+0x6d99 022247 fetch 1 ,mem_remote_credits 
+0x6d9a 022248 rtn blank 
+0x6d9b 022249 increase -1 ,pdata 
+0x6d9c 022250 store 1 ,mem_remote_credits 
+0x6d9d 022251 fetch 2 ,mem_pn_max_frame_size 
+0x6d9e 022252 fetcht 2 ,mem_current_packet_length 
+0x6d9f 022253 isub temp ,null 
+0x6da0 022254 branch spp_tx_rfcomm_from_uart ,positive 
+0x6da1 022255 store 2 ,mem_current_packet_length 
+:      022256 spp_tx_rfcomm_from_uart:
+0x6da2 022257 fetch 1 ,mem_credit_given 
+0x6da3 022258 branch spp_tx_rfcomm_from_uart_without_credit ,blank 
+0x6da4 022259 jam 1 ,mem_rfcomm_send_offset 
+0x6da5 022260 fetch 1 ,mem_hiufcs_spp_wcredits 
+0x6da6 022261 store 1 ,mem_rfcomm_send_fcs 
+0x6da7 022262 setarg rsp_rx_uih_wdata 
+0x6da8 022263 store 1 ,mem_rfcomm_send_frame_type 
+0x6da9 022264 branch spp_tx_rfcomm_from_uart_common 
+:      022265 spp_tx_rfcomm_from_uart_without_credit:
+0x6daa 022266 jam 0 ,mem_rfcomm_send_offset 
+0x6dab 022267 fetch 1 ,mem_hiufcs_spp 
+0x6dac 022268 store 1 ,mem_rfcomm_send_fcs 
+0x6dad 022269 setarg rsp_tx_uih 
+0x6dae 022270 store 1 ,mem_rfcomm_send_frame_type 
+:      022271 spp_tx_rfcomm_from_uart_common:
+0x6daf 022272 set1 mark_ext_patch ,mark 
+0x6db0 022273 bpatch patch39_4 ,mem_patch39 
+0x6db1 022274 fetch 1 ,mem_current_packet_length 
+0x6db2 022275 sub pdata ,127 ,null 
+0x6db3 022276 branch spp_tx_rfcomm_from_uart_common0 ,positive 
+0x6db4 022277 fetch 1 ,mem_rfcomm_send_offset 
+0x6db5 022278 increase 1 ,pdata 
+0x6db6 022279 store 1 ,mem_rfcomm_send_offset 
+:      022280 spp_tx_rfcomm_from_uart_common0:
+0x6db7 022281 call get_rfcomm_snd_adss 
+0x6db8 022282 fetch 2 ,mem_current_packet_length 
+0x6db9 022283 increase 8 ,pdata 
+0x6dba 022284 fetcht 1 ,mem_rfcomm_send_offset 
+0x6dbb 022285 iadd temp ,rega 
+0x6dbc 022287 call l2cap_malloc 
+0x6dbd 022288 store 2 ,mem_rfcomm_tx_buff_ptr 
+0x6dbe 022289 increase 4 ,pdata 
+0x6dbf 022290 store 2 ,mem_rfcomm_tx_payload_ptr 
+0x6dc0 022291 copy pdata ,contw 
+0x6dc1 022292 fetch 1 ,mem_rfcomm_send_adss 
+0x6dc2 022293 istore 1 ,contw 
+0x6dc3 022294 fetch 1 ,mem_rfcomm_send_frame_type 
+0x6dc4 022295 istore 1 ,contw 
+0x6dc5 022296 call spp_tx_write_length 
+0x6dc6 022297 call spp_tx_write_given_credit 
+0x6dc7 022298 call get_uart_rrptr 
+0x6dc8 022299 fetch 1 ,mem_current_packet_length 
+0x6dc9 022300 copy pdata ,loopcnt 
+0x6dca 022301 call uart_copy_rx_bytes 
+0x6dcb 022302 fetch 1 ,mem_rfcomm_send_fcs 
+0x6dcc 022303 istore 1 ,contw 
+0x6dcd 022304 fetch 2 ,mem_rfcomm_tx_buff_ptr 
+0x6dce 022305 copy pdata ,contw 
+0x6dcf 022306 fetch 2 ,mem_current_packet_length 
+0x6dd0 022307 fetcht 1 ,mem_rfcomm_send_offset 
+0x6dd1 022308 iadd temp ,pdata 
+0x6dd2 022309 increase 4 ,pdata 
+0x6dd3 022310 istore 2 ,contw 
+0x6dd4 022311 fetch 2 ,mem_rfcomm_remote_cid 
+0x6dd5 022312 istore 2 ,contw 
+0x6dd6 022313 jam 0 ,mem_credit_given 
+0x6dd7 022314 branch spp_send_end 
+:      022316 spp_tx_write_length:
+0x6dd8 022317 fetch 2 ,mem_current_packet_length 
+0x6dd9 022318 sub pdata ,0x7f ,null 
+0x6dda 022319 nbranch spp_tx_write_long_packet ,positive 
+0x6ddb 022320 lshift pdata ,pdata 
+0x6ddc 022321 set1 0 ,pdata 
+0x6ddd 022322 istore 1 ,contw 
+0x6dde 022323 rtn 
+:      022324 spp_tx_write_long_packet:
+0x6ddf 022325 fetch 2 ,mem_current_packet_length 
+0x6de0 022326 rshift3 pdata ,pdata 
+0x6de1 022327 rshift4 pdata ,temp 
+0x6de2 022328 and_into 0x7f ,pdata 
+0x6de3 022329 lshift pdata ,pdata 
+0x6de4 022330 set0 0 ,pdata 
+0x6de5 022331 istore 1 ,contw 
+0x6de6 022332 istoret 1 ,contw 
+0x6de7 022333 rtn 
+:      022334 spp_tx_write_given_credit:
+0x6de8 022335 fetch 1 ,mem_credit_given 
+0x6de9 022336 rtn blank 
+0x6dea 022337 istore 1 ,contw 
+0x6deb 022338 rtn 
+:      022343 scheduler_process:
+0x6dec 022344 set1 mark_ext_patch ,mark 
+0x6ded 022345 bpatch patch33_5 ,mem_patch33 
+0x6dee 022346 call check_51cmd 
+0x6def 022347 call app_process_bb_event 
+0x6df0 022348 call process_conn_sm 
+0x6df1 022350 set1 mark_ext_patch ,mark 
+0x6df2 022351 bpatch patch33_6 ,mem_patch33 
+0x6df3 022352 call sp_calc_sequence 
+0x6df4 022353 call simple_pairing_sequence 
+0x6df5 022354 call master_simple_paring_sequence 
+0x6df6 022356 set1 mark_ext_patch ,mark 
+0x6df7 022357 bpatch patch33_7 ,mem_patch33 
+0x6df8 022358 fetch 1 ,mem_device_option 
+0x6df9 022359 rtneq dvc_op_hci 
+0x6dfa 022361 call l2cap_malloc_is_fifo_full 
+0x6dfb 022362 nrtn blank 
+0x6dfc 022364 call l2cap_call_proc_sigal_pending 
+:      022365 scheduler_process1:
+0x6dfd 022366 call l2cap_malloc_is_fifo_full 
+0x6dfe 022367 nrtn blank 
+0x6dff 022368 set1 mark_ext_patch ,mark 
+0x6e00 022369 bpatch patch34_0 ,mem_patch34 
+0x6e01 022371 call process_upper_sm 
+0x6e02 022372 call l2cap_send_config_req 
+0x6e03 022373 call rfcomm_send_more_pkt 
+:      022374 scheduler_process0:
+0x6e04 022375 call scheduler_tx_disconnect_hid 
+0x6e05 022376 set1 mark_ext_patch ,mark 
+0x6e06 022377 bpatch patch34_1 ,mem_patch34 
+0x6e07 022378 call l2cap_malloc_is_fifo_full 
+0x6e08 022379 nrtn blank 
+0x6e09 022380 branch app_process_bt 
+:      022382 scheduler_tx_disconnect_hid:
+0x6e0a 022383 set1 mark_ext_patch ,mark 
+0x6e0b 022384 bpatch patch34_2 ,mem_patch34 
+0x6e0c 022385 fetch 1 ,mem_control_tasks 
+0x6e0d 022386 bbit1 l2cap_disconnect_interrupt ,l2cap_disconnect_interrupt_req 
+0x6e0e 022387 bbit1 l2cap_disconnect_control ,l2cap_disconnect_control_req 
+0x6e0f 022388 rtn 
+:      022390 scheduler_tx_l2cap_pkt:
+0x6e10 022391 set1 mark_ext_patch ,mark 
+0x6e11 022392 bpatch patch34_3 ,mem_patch34 
+0x6e12 022393 call l2cap_malloc_is_fifo_empty 
+0x6e13 022394 rtn blank 
+0x6e14 022395 fetch 1 ,mem_op 
+0x6e15 022396 rtnbit1 op_txl2cap 
+0x6e16 022397 call l2cap_malloc_fifo_out 
+0x6e17 022398 store 2 ,mem_txptr 
+0x6e18 022399 copy pdata ,contr 
+0x6e19 022400 ifetch 2 ,contr 
+0x6e1a 022401 increase 4 ,pdata 
+0x6e1b 022402 store 2 ,mem_tx_len 
+0x6e1c 022403 jam 6 ,mem_tx_lch 
+0x6e1d 022404 set1 mark_ext_patch ,mark 
+0x6e1e 022405 bpatch patch34_4 ,mem_patch34 
+0x6e1f 022406 fetch 2 ,mem_l2cap_tx_multi_offset 
+0x6e20 022407 branch scheduler_tx_l2cap_start_pkt ,blank 
+0x6e21 022408 fetch 1 ,mem_op 
+0x6e22 022409 rtnbit0 op_pkt_comp 
+0x6e23 022410 set0 op_pkt_comp ,pdata 
+0x6e24 022411 store 1 ,mem_op 
+0x6e25 022412 jam 5 ,mem_tx_lch 
+0x6e26 022413 fetcht 2 ,mem_l2cap_tx_multi_offset 
+0x6e27 022414 fetch 2 ,mem_txptr 
+0x6e28 022415 iadd temp ,pdata 
+0x6e29 022416 store 2 ,mem_txptr 
+0x6e2a 022417 fetch 2 ,mem_tx_len 
+0x6e2b 022418 isub temp ,pdata 
+0x6e2c 022419 store 2 ,mem_tx_len 
+:      022420 scheduler_tx_l2cap_start_pkt:
+0x6e2d 022421 set1 mark_ext_patch ,mark 
+0x6e2e 022422 bpatch patch34_5 ,mem_patch34 
+0x6e2f 022423 fetch 2 ,mem_tx_len 
+0x6e30 022424 branch assert ,blank 
+0x6e31 022425 arg l2cap_max_pkt_len ,temp 
+0x6e32 022426 isub temp ,pdata 
+0x6e33 022427 nbranch scheduler_tx_l2cap_last_pkt ,positive 
+0x6e34 022428 set1 mark_ext_patch ,mark 
+0x6e35 022429 bpatch patch34_6 ,mem_patch34 
+0x6e36 022430 storet 2 ,mem_tx_len 
+0x6e37 022431 fetch 2 ,mem_l2cap_tx_multi_offset 
+0x6e38 022432 iadd temp ,pdata 
+0x6e39 022433 store 2 ,mem_l2cap_tx_multi_offset 
+0x6e3a 022434 branch scheduler_tx_l2cap_pkt_end 
+:      022435 scheduler_tx_l2cap_last_pkt:
+0x6e3b 022436 setarg 0 
+0x6e3c 022437 store 2 ,mem_l2cap_tx_multi_offset 
+:      022438 scheduler_tx_l2cap_pkt_end:
+0x6e3d 022439 fetch 1 ,mem_op 
+0x6e3e 022440 set1 op_txl2cap ,pdata 
+0x6e3f 022441 store 1 ,mem_op 
+0x6e40 022442 rtn 
+:      022444 scheduler_start_upper_sm:
+0x6e41 022445 fetch 1 ,mem_ui_profile_supported 
+0x6e42 022446 bbit1 support_hid ,scheduler_start_upper_sm_hid 
+0x6e43 022447 jam uppersm_reconn_sdp_conn ,mem_upper_sm_reconn 
+0x6e44 022448 rtn 
+:      022449 scheduler_start_upper_sm_hid:
+0x6e45 022450 jam uppersm_reconn_hid_ctrl_conn ,mem_upper_sm_reconn 
+0x6e46 022451 rtn 
+:      022453 process_upper_sm:
+0x6e47 022454 fetch 1 ,memui_reconnect_mode 
+0x6e48 022455 nbranch process_upper_sm_reconn ,blank 
+:      022456 process_upper_sm_remote_page:
+0x6e49 022457 fetch 1 ,mem_upper_sm_remote_page 
+0x6e4a 022459 rtn blank 
+0x6e4b 022461 jam 0 ,mem_upper_sm_remote_page 
+:      022462 process_upper_sm_rp_wait:
+0x6e4c 022463 rtn 
+:      022466 process_upper_sm_reconn:
+0x6e4d 022467 set1 mark_ext_patch ,mark 
+0x6e4e 022468 bpatch patch34_7 ,mem_patch34 
+0x6e4f 022469 fetch 1 ,mem_upper_sm_reconn 
+0x6e50 022470 rtn blank 
+0x6e51 022471 beq uppersm_reconn_sdp_conn ,process_upper_sm_reconn_sdp_conn 
+0x6e52 022472 beq uppersm_reconn_sdp_conn_wait ,process_upper_sm_reconn_sdp_conn_wait 
+0x6e53 022473 beq uppersm_reconn_sdp_cfg ,process_upper_sm_reconn_sdp_cfg 
+0x6e54 022474 beq uppersm_reconn_sdp_cfg_wait ,process_upper_sm_reconn_sdp_cfg_wait 
+0x6e55 022475 beq uppersm_reconn_ss_spp ,process_upper_sm_reconn_ss_spp 
+0x6e56 022476 beq uppersm_reconn_ss_spp_wait ,process_upper_sm_reconn_ss_spp_wait 
+0x6e57 022477 beq uppersm_reconn_sdp_disconn ,process_upper_sm_reconn_sdp_disconn 
+0x6e58 022478 beq uppersm_reconn_sdp_disconn_wait ,process_upper_sm_reconn_sdp_disconn_wait 
+0x6e59 022479 beq uppersm_reconn_hid_ctrl_conn ,process_upper_sm_reconn_hid_ctrl_conn 
+0x6e5a 022480 beq uppersm_reconn_hid_ctrl_conn_wait ,process_upper_sm_reconn_hid_ctrl_conn_wait 
+0x6e5b 022481 beq uppersm_reconn_hid_ctrl_cfg ,process_upper_sm_reconn_hid_ctrl_cfg 
+0x6e5c 022482 beq uppersm_reconn_hid_ctrl_cfg_wait ,process_upper_sm_reconn_hid_ctrl_cfg_wait 
+0x6e5d 022483 beq uppersm_reconn_hid_int_conn ,process_upper_sm_reconn_hid_int_conn 
+0x6e5e 022484 beq uppersm_reconn_hid_int_conn_wait ,process_upper_sm_reconn_hid_int_conn_wait 
+0x6e5f 022485 beq uppersm_reconn_hid_int_cfg ,process_upper_sm_reconn_hid_int_cfg 
+0x6e60 022486 beq uppersm_reconn_hid_int_cfg_wait ,process_upper_sm_reconn_hid_int_cfg_wait 
+0x6e61 022487 beq uppersm_reconn_rfcomm_conn ,process_upper_sm_reconn_rfcomm_conn 
+0x6e62 022488 beq uppersm_reconn_rfcomm_conn_wait ,process_upper_sm_reconn_rfcomm_conn_wait 
+0x6e63 022489 beq uppersm_reconn_rfcomm_cfg ,process_upper_sm_reconn_rfcomm_cfg 
+0x6e64 022490 beq uppersm_reconn_rfcomm_cfg_wait ,process_upper_sm_reconn_rfcomm_cfg_wait 
+0x6e65 022491 beq uppersm_reconn_rfcomm_sabm ,process_upper_sm_reconn_rfcomm_sabm 
+0x6e66 022492 beq uppersm_reconn_rfcomm_sabm_wait ,process_upper_sm_reconn_rfcomm_sabm_wait 
+0x6e67 022493 beq uppersm_reconn_spp_cmd_pn ,process_upper_sm_reconn_spp_cmd_pn 
+0x6e68 022494 beq uppersm_reconn_spp_cmd_pn_wait ,process_upper_sm_reconn_spp_cmd_pn_wait 
+0x6e69 022495 beq uppersm_reconn_spp_sabm ,process_upper_sm_reconn_spp_sabm 
+0x6e6a 022496 beq uppersm_reconn_spp_sabm_wait ,process_upper_sm_reconn_spp_sabm_wait 
+0x6e6b 022497 beq uppersm_reconn_spp_cmd_ms ,process_upper_sm_reconn_spp_cmd_ms 
+0x6e6c 022498 beq uppersm_reconn_spp_cmd_ms_wait ,process_upper_sm_reconn_spp_cmd_ms_wait 
+:      022499 process_upper_sm_reconn_wait:
+0x6e6d 022500 rtn 
+:      022501 process_upper_sm_reconn_sdp_conn:
+0x6e6e 022502 call upper_sm_send_sdp_conn 
+0x6e6f 022503 jam uppersm_reconn_sdp_conn_wait ,mem_upper_sm_reconn 
+0x6e70 022504 fetch 1 ,mem_sdp_state 
+0x6e71 022505 set1 l2cap_channel_state_conn_req ,pdata 
+0x6e72 022506 store 1 ,mem_sdp_state 
+0x6e73 022507 rtn 
+:      022508 process_upper_sm_reconn_sdp_cfg:
+0x6e74 022509 jam uppersm_reconn_sdp_cfg_wait ,mem_upper_sm_reconn 
+0x6e75 022510 fetch 1 ,mem_sdp_state 
+0x6e76 022511 rtnbit1 l2cap_channel_state_snd_cfg_req 
+0x6e77 022512 jam uppersm_reconn_sdp_cfg ,mem_upper_sm_reconn 
+0x6e78 022513 call upper_sm_send_sdp_cfg 
+0x6e79 022514 jam uppersm_reconn_sdp_cfg_wait ,mem_upper_sm_reconn 
+0x6e7a 022515 fetch 1 ,mem_sdp_state 
+0x6e7b 022516 set1 l2cap_channel_state_snd_cfg_req ,pdata 
+0x6e7c 022517 store 1 ,mem_sdp_state 
+0x6e7d 022518 rtn 
+:      022519 process_upper_sm_reconn_ss_spp:
+0x6e7e 022520 call l2cap_malloc_is_fifo_empty 
+0x6e7f 022521 nrtn blank 
+0x6e80 022522 call upper_sm_send_ss_spp 
+0x6e81 022523 jam uppersm_reconn_ss_spp_wait ,mem_upper_sm_reconn 
+0x6e82 022524 rtn 
+:      022525 process_upper_sm_reconn_sdp_disconn:
+0x6e83 022526 call upper_sm_send_sdp_disconn 
+0x6e84 022527 jam uppersm_reconn_sdp_disconn_wait ,mem_upper_sm_reconn 
+0x6e85 022528 rtn 
+:      022529 process_upper_sm_reconn_hid_ctrl_conn:
+0x6e86 022530 call upper_sm_send_hid_ctrl_conn 
+0x6e87 022531 jam uppersm_reconn_hid_ctrl_conn_wait ,mem_upper_sm_reconn 
+0x6e88 022532 fetch 1 ,mem_hid_control_state 
+0x6e89 022533 set1 l2cap_channel_state_conn_req ,pdata 
+0x6e8a 022534 store 1 ,mem_hid_control_state 
+0x6e8b 022535 rtn 
+:      022536 process_upper_sm_reconn_hid_ctrl_cfg:
+0x6e8c 022537 call upper_sm_send_hid_ctrl_cfg 
+0x6e8d 022538 jam uppersm_reconn_hid_ctrl_cfg_wait ,mem_upper_sm_reconn 
+0x6e8e 022539 fetch 1 ,mem_hid_control_state 
+0x6e8f 022540 set1 l2cap_channel_state_snd_cfg_req ,pdata 
+0x6e90 022541 store 1 ,mem_hid_control_state 
+0x6e91 022542 rtn 
+:      022543 process_upper_sm_reconn_hid_int_conn:
+0x6e92 022544 call upper_sm_send_hid_int_conn 
+0x6e93 022545 jam uppersm_reconn_hid_int_conn_wait ,mem_upper_sm_reconn 
+0x6e94 022546 fetch 1 ,mem_hid_interrupt_state 
+0x6e95 022547 set1 l2cap_channel_state_conn_req ,pdata 
+0x6e96 022548 store 1 ,mem_hid_interrupt_state 
+0x6e97 022549 rtn 
+:      022550 process_upper_sm_reconn_hid_int_cfg:
+0x6e98 022551 call upper_sm_send_hid_int_cfg 
+0x6e99 022552 jam uppersm_reconn_hid_int_cfg_wait ,mem_upper_sm_reconn 
+0x6e9a 022553 fetch 1 ,mem_hid_interrupt_state 
+0x6e9b 022554 set1 l2cap_channel_state_snd_cfg_req ,pdata 
+0x6e9c 022555 store 1 ,mem_hid_interrupt_state 
+0x6e9d 022556 rtn 
+:      022557 process_upper_sm_reconn_rfcomm_conn:
+0x6e9e 022558 call upper_sm_send_rfcomm_conn 
+0x6e9f 022559 jam uppersm_reconn_rfcomm_conn_wait ,mem_upper_sm_reconn 
+0x6ea0 022560 fetch 1 ,mem_rfcomm_state 
+0x6ea1 022561 set1 l2cap_channel_state_conn_req ,pdata 
+0x6ea2 022562 store 1 ,mem_rfcomm_state 
+0x6ea3 022563 rtn 
+:      022564 process_upper_sm_reconn_rfcomm_cfg:
+0x6ea4 022565 call upper_sm_send_rfcomm_cfg 
+0x6ea5 022566 jam uppersm_reconn_rfcomm_cfg_wait ,mem_upper_sm_reconn 
+0x6ea6 022567 fetch 1 ,mem_rfcomm_state 
+0x6ea7 022568 set1 l2cap_channel_state_snd_cfg_req ,pdata 
+0x6ea8 022569 store 1 ,mem_rfcomm_state 
+0x6ea9 022570 rtn 
+:      022571 process_upper_sm_reconn_rfcomm_sabm:
+0x6eaa 022572 call upper_sm_send_rfcomm_sabm 
+0x6eab 022573 jam uppersm_reconn_rfcomm_sabm_wait ,mem_upper_sm_reconn 
+0x6eac 022574 fetch 1 ,mem_rfcomm_state 
+0x6ead 022575 set1 l2cap_channel_rfcomm_only_sabm ,pdata 
+0x6eae 022576 store 1 ,mem_rfcomm_state 
+0x6eaf 022577 rtn 
+:      022578 process_upper_sm_reconn_spp_cmd_pn:
+0x6eb0 022579 call upper_sm_send_spp_cmd_pn 
+0x6eb1 022580 fetch 1 ,mem_spp_state 
+0x6eb2 022581 set1 rfcomm_channel_state_pn_cmd 
+0x6eb3 022582 store 1 ,mem_spp_state 
+0x6eb4 022583 jam uppersm_reconn_spp_cmd_pn_wait ,mem_upper_sm_reconn 
+0x6eb5 022584 rtn 
+:      022585 process_upper_sm_reconn_spp_sabm:
+0x6eb6 022586 call upper_sm_send_spp_sabm 
+0x6eb7 022587 fetch 1 ,mem_spp_state 
+0x6eb8 022588 set1 rfcomm_channel_state_sabm 
+0x6eb9 022589 store 1 ,mem_spp_state 
+0x6eba 022590 jam uppersm_reconn_spp_sabm_wait ,mem_upper_sm_reconn 
+0x6ebb 022591 fetch 1 ,mem_remote_spp_channel 
+0x6ebc 022592 lshift3 pdata ,pdata 
+0x6ebd 022593 or_into 3 ,pdata 
+0x6ebe 022594 arg mem_hiufcs_spp ,temp 
+0x6ebf 022595 storet 2 ,mem_contw_temp 
+0x6ec0 022596 branch rfcomm_save_fcs_uih 
+:      022597 process_upper_sm_reconn_spp_cmd_ms:
+0x6ec1 022598 call upper_sm_send_spp_cmd_ms 
+0x6ec2 022599 fetch 1 ,mem_spp_state 
+0x6ec3 022600 set1 rfcomm_channel_state_snd_ms_cmd 
+0x6ec4 022601 store 1 ,mem_spp_state 
+0x6ec5 022602 jam uppersm_reconn_spp_cmd_ms_wait ,mem_upper_sm_reconn 
+0x6ec6 022603 rtn 
+:      022605 process_upper_sm_reconn_sdp_conn_wait:
+0x6ec7 022606 fetch 1 ,mem_sdp_state 
+0x6ec8 022607 rtnbit0 l2cap_channel_state_conn_res 
+0x6ec9 022608 jam uppersm_reconn_sdp_cfg ,mem_upper_sm_reconn 
+0x6eca 022609 branch process_upper_sm_reconn 
+:      022610 process_upper_sm_reconn_sdp_cfg_wait:
+0x6ecb 022611 fetch 1 ,mem_sdp_state 
+0x6ecc 022612 rtnne l2cap_channel_setup_complete 
+0x6ecd 022613 jam uppersm_reconn_ss_spp ,mem_upper_sm_reconn 
+:      022614 process_upper_sm_reconn_ss_spp_wait:
+0x6ece 022615 fetch 1 ,mem_message_to_uppersm 
+0x6ecf 022616 rtnne recieve_ss_reasult_hf 
+0x6ed0 022617 jam 0 ,mem_message_to_uppersm 
+0x6ed1 022618 jam uppersm_reconn_sdp_disconn ,mem_upper_sm_reconn 
+0x6ed2 022619 branch process_upper_sm_reconn 
+:      022620 process_upper_sm_reconn_sdp_disconn_wait:
+0x6ed3 022621 fetch 1 ,mem_sdp_state 
+0x6ed4 022622 nrtn blank 
+0x6ed5 022623 fetch 1 ,mem_ui_profile_supported 
+0x6ed6 022624 bbit1 support_hid ,process_upper_sm_reconn_setup_hid 
+0x6ed7 022625 bbit1 support_spp ,process_upper_sm_reconn_setup_rfcomm 
+0x6ed8 022626 branch process_upper_sm_reconn_termination 
+:      022627 process_upper_sm_reconn_hid_ctrl_conn_wait:
+0x6ed9 022628 fetch 1 ,mem_hid_control_state 
+0x6eda 022629 rtnbit0 l2cap_channel_state_conn_res 
+0x6edb 022630 jam uppersm_reconn_hid_ctrl_cfg ,mem_upper_sm_reconn 
+0x6edc 022631 branch process_upper_sm_reconn 
+:      022632 process_upper_sm_reconn_hid_ctrl_cfg_wait:
+0x6edd 022633 fetch 1 ,mem_hid_control_state 
+0x6ede 022634 rtnne l2cap_channel_setup_complete 
+0x6edf 022635 jam uppersm_reconn_hid_int_conn ,mem_upper_sm_reconn 
+0x6ee0 022636 branch process_upper_sm_reconn 
+:      022637 process_upper_sm_reconn_hid_int_conn_wait:
+0x6ee1 022638 fetch 1 ,mem_hid_interrupt_state 
+0x6ee2 022639 rtnbit0 l2cap_channel_state_conn_res 
+0x6ee3 022640 jam uppersm_reconn_hid_int_cfg ,mem_upper_sm_reconn 
+0x6ee4 022641 branch process_upper_sm_reconn 
+:      022642 process_upper_sm_reconn_hid_int_cfg_wait:
+0x6ee5 022643 fetch 1 ,mem_hid_interrupt_state 
+0x6ee6 022644 rtnne l2cap_channel_setup_complete 
+0x6ee7 022645 fetch 1 ,mem_ui_profile_supported 
+0x6ee8 022646 bbit1 support_spp ,process_upper_sm_reconn_setup_rfcomm 
+0x6ee9 022647 branch process_upper_sm_reconn_termination 
+:      022648 process_upper_sm_reconn_rfcomm_conn_wait:
+0x6eea 022649 fetch 1 ,mem_rfcomm_state 
+0x6eeb 022650 rtnbit0 l2cap_channel_state_conn_res 
+0x6eec 022651 jam uppersm_reconn_rfcomm_cfg ,mem_upper_sm_reconn 
+0x6eed 022652 branch process_upper_sm_reconn 
+:      022653 process_upper_sm_reconn_rfcomm_cfg_wait:
+0x6eee 022654 fetch 1 ,mem_rfcomm_state 
+0x6eef 022655 rtnne l2cap_channel_setup_complete 
+0x6ef0 022656 jam uppersm_reconn_rfcomm_sabm ,mem_upper_sm_reconn 
+0x6ef1 022657 branch process_upper_sm_reconn 
+:      022658 process_upper_sm_reconn_rfcomm_sabm_wait:
+0x6ef2 022659 fetch 1 ,mem_rfcomm_state 
+0x6ef3 022660 rtnne l2cap_channel_rfcomm_dlci0_opened 
+0x6ef4 022661 fetch 1 ,mem_ui_profile_supported 
+0x6ef5 022662 bbit1 support_spp ,process_upper_sm_reconn_setup_spp 
+0x6ef6 022663 branch process_upper_sm_reconn_termination 
+:      022664 process_upper_sm_reconn_spp_cmd_pn_wait:
+0x6ef7 022665 fetch 1 ,mem_spp_state 
+0x6ef8 022666 rtnbit0 rfcomm_channel_state_pn_res 
+0x6ef9 022667 jam uppersm_reconn_spp_sabm ,mem_upper_sm_reconn 
+0x6efa 022668 branch process_upper_sm_reconn 
+:      022669 process_upper_sm_reconn_spp_sabm_wait:
+0x6efb 022670 fetch 1 ,mem_spp_state 
+0x6efc 022671 rtnbit0 rfcomm_channel_state_ua 
+0x6efd 022672 jam uppersm_reconn_spp_cmd_ms ,mem_upper_sm_reconn 
+0x6efe 022673 branch process_upper_sm_reconn 
+:      022674 process_upper_sm_reconn_spp_cmd_ms_wait:
+0x6eff 022675 fetch 1 ,mem_spp_state 
+0x6f00 022676 rtnne rfcomm_channel_setup_complete 
+0x6f01 022677 branch process_upper_sm_reconn_termination 
+:      022679 process_upper_sm_reconn_setup_hid:
+0x6f02 022680 jam uppersm_reconn_hid_ctrl_conn ,mem_upper_sm_reconn 
+0x6f03 022681 branch process_upper_sm_reconn 
+:      022683 process_upper_sm_reconn_setup_rfcomm:
+0x6f04 022684 jam uppersm_reconn_rfcomm_conn ,mem_upper_sm_reconn 
+0x6f05 022685 branch process_upper_sm_reconn 
+:      022686 process_upper_sm_reconn_setup_spp:
+0x6f06 022687 jam uppersm_reconn_spp_cmd_pn ,mem_upper_sm_reconn 
+0x6f07 022688 branch process_upper_sm_reconn 
+:      022692 process_upper_sm_reconn_termination:
+0x6f08 022693 jam 0 ,mem_upper_sm_reconn 
+0x6f09 022694 rtn 
+:      022695 upper_sm_send_sdp_conn:
+0x6f0a 022696 set1 mark_ext_patch ,mark 
+0x6f0b 022697 bpatch patch35_0 ,mem_patch35 
+0x6f0c 022698 call l2cap_malloc_signal_channel 
+0x6f0d 022699 setarg psm_sdp 
+0x6f0e 022700 copy pdata ,temp 
+0x6f0f 022701 setarg l2cap_sdp_channel 
+0x6f10 022702 copy pdata ,timeup 
+0x6f11 022703 branch ml2cap_send_signal_connect_req 
+:      022705 upper_sm_send_sdp_cfg:
+0x6f12 022706 set1 mark_ext_patch ,mark 
+0x6f13 022707 bpatch patch35_1 ,mem_patch35 
+0x6f14 022708 call l2cap_malloc_signal_channel 
+0x6f15 022709 fetch 2 ,mem_sdp_remote_cid 
+0x6f16 022710 copy pdata ,temp 
+0x6f17 022711 branch ml2cap_send_signal_config_req 
+:      022713 upper_sm_send_sdp_disconn:
+0x6f18 022714 set1 mark_ext_patch ,mark 
+0x6f19 022715 bpatch patch35_2 ,mem_patch35 
+0x6f1a 022716 call l2cap_malloc_signal_channel 
+0x6f1b 022717 fetch 2 ,mem_sdp_remote_cid 
+0x6f1c 022718 copy pdata ,temp 
+0x6f1d 022719 arg l2cap_sdp_channel ,timeup 
+0x6f1e 022720 call ml2cap_send_signal_disconn_req 
+0x6f1f 022721 fetch 1 ,mem_sdp_state 
+0x6f20 022722 set0 l2cap_channel_state_rcv_cfg_res ,pdata 
+0x6f21 022723 store 1 ,mem_sdp_state 
+0x6f22 022724 rtn 
+:      022726 upper_sm_send_ss_spp:
+0x6f23 022727 set1 mark_ext_patch ,mark 
+0x6f24 022728 bpatch patch35_3 ,mem_patch35 
+0x6f25 022729 call l2cap_malloc_sdp_channel 
+0x6f26 022730 call sdp_send_spp_request 
+0x6f27 022731 branch msdp_send_req_done 
+:      022733 upper_sm_send_rfcomm_conn:
+0x6f28 022734 set1 mark_ext_patch ,mark 
+0x6f29 022735 bpatch patch35_4 ,mem_patch35 
+0x6f2a 022736 call l2cap_malloc_signal_channel 
+0x6f2b 022737 setarg psm_rfcomm 
+0x6f2c 022738 copy pdata ,temp 
+0x6f2d 022739 setarg l2cap_rfcomm_channel 
+0x6f2e 022740 copy pdata ,timeup 
+0x6f2f 022741 branch ml2cap_send_signal_connect_req 
+:      022743 upper_sm_send_rfcomm_cfg:
+0x6f30 022744 set1 mark_ext_patch ,mark 
+0x6f31 022745 bpatch patch35_5 ,mem_patch35 
+0x6f32 022746 call l2cap_malloc_signal_channel 
+0x6f33 022747 fetch 2 ,mem_rfcomm_remote_cid 
+0x6f34 022748 copy pdata ,temp 
+0x6f35 022749 branch ml2cap_send_signal_config_req 
+:      022751 upper_sm_send_hid_ctrl_conn:
+0x6f36 022752 set1 mark_ext_patch ,mark 
+0x6f37 022753 bpatch patch35_6 ,mem_patch35 
+0x6f38 022754 call l2cap_malloc_signal_channel 
+0x6f39 022755 setarg psm_hid_control 
+0x6f3a 022756 copy pdata ,temp 
+0x6f3b 022757 setarg l2cap_hid_control_channel 
+0x6f3c 022758 copy pdata ,timeup 
+0x6f3d 022759 branch ml2cap_send_signal_connect_req 
+:      022761 upper_sm_send_hid_ctrl_cfg:
+0x6f3e 022762 set1 mark_ext_patch ,mark 
+0x6f3f 022763 bpatch patch35_7 ,mem_patch35 
+0x6f40 022764 call l2cap_malloc_signal_channel 
+0x6f41 022765 fetch 2 ,mem_hid_ctrl_remote_cid 
+0x6f42 022766 copy pdata ,temp 
+0x6f43 022767 branch ml2cap_send_signal_config_req 
+:      022769 upper_sm_send_hid_int_conn:
+0x6f44 022770 set1 mark_ext_patch ,mark 
+0x6f45 022771 bpatch patch36_0 ,mem_patch36 
+0x6f46 022772 call l2cap_malloc_signal_channel 
+0x6f47 022773 setarg psm_hid_interrupt 
+0x6f48 022774 copy pdata ,temp 
+0x6f49 022775 setarg l2cap_hid_interrupt_channel 
+0x6f4a 022776 copy pdata ,timeup 
+0x6f4b 022777 branch ml2cap_send_signal_connect_req 
+:      022779 upper_sm_send_hid_int_cfg:
+0x6f4c 022780 set1 mark_ext_patch ,mark 
+0x6f4d 022781 bpatch patch36_1 ,mem_patch36 
+0x6f4e 022782 call l2cap_malloc_signal_channel 
+0x6f4f 022783 fetch 2 ,mem_hid_int_remote_cid 
+0x6f50 022784 copy pdata ,temp 
+0x6f51 022785 branch ml2cap_send_signal_config_req 
+:      022787 upper_sm_send_rfcomm_sabm:
+0x6f52 022788 set1 mark_ext_patch ,mark 
+0x6f53 022789 bpatch patch36_2 ,mem_patch36 
+0x6f54 022790 call l2cap_malloc_rfcomm_channel 
+0x6f55 022792 jam 3 ,mem_current_adss 
+0x6f56 022793 jam 0x1c ,mem_current_fcs 
+0x6f57 022794 call rfcomm_send_sabm 
+0x6f58 022795 jam 1 ,mem_rfcomm_initiator 
+0x6f59 022796 rtn 
+:      022798 upper_sm_send_spp_cmd_pn:
+0x6f5a 022799 set1 mark_ext_patch ,mark 
+0x6f5b 022800 bpatch patch36_3 ,mem_patch36 
+0x6f5c 022801 call l2cap_malloc_rfcomm_channel 
+0x6f5d 022802 fetcht 1 ,mem_remote_spp_channel 
+0x6f5e 022803 call channel_to_dlci 
+0x6f5f 022804 storet 1 ,mem_pn_dlci 
+0x6f60 022805 branch rfcomm_send_param_neg_cmd 
+:      022807 upper_sm_send_spp_sabm:
+0x6f61 022808 set1 mark_ext_patch ,mark 
+0x6f62 022809 bpatch patch36_4 ,mem_patch36 
+0x6f63 022810 call l2cap_malloc_rfcomm_channel 
+0x6f64 022811 fetcht 1 ,mem_pn_dlci 
+0x6f65 022812 call dlci_to_address_cmd 
+0x6f66 022813 call rfcomm_calculate_fcs_sabm 
+0x6f67 022814 store 1 ,mem_current_fcs 
+0x6f68 022815 fetcht 1 ,mem_pn_dlci 
+0x6f69 022816 call dlci_to_address_cmd 
+0x6f6a 022817 storet 1 ,mem_current_adss 
+0x6f6b 022818 branch rfcomm_send_sabm 
+:      022820 upper_sm_send_spp_cmd_ms:
+0x6f6c 022821 set1 mark_ext_patch ,mark 
+0x6f6d 022822 bpatch patch36_5 ,mem_patch36 
+0x6f6e 022823 call l2cap_malloc_rfcomm_channel 
+0x6f6f 022824 fetcht 1 ,mem_pn_dlci 
+0x6f70 022825 call dlci_to_address_cmd 
+0x6f71 022826 branch rfcomm_send_modem_status_cmd 
+:      022839 sdp_process:
+0x6f72 022840 set1 mark_ext_patch ,mark 
+0x6f73 022841 bpatch patch3c_7 ,mem_patch3c 
+0x6f74 022842 fetch 2 ,mem_l2cap_payload_ptr 
+0x6f75 022843 iforce contr 
+0x6f76 022844 ifetch 1 ,contr 
+0x6f77 022845 copy pdata ,regb 
+0x6f78 022846 store 1 ,mem_sdp_pduid 
+0x6f79 022847 ifetch 2 ,contr 
+0x6f7a 022848 store 2 ,mem_sdp_transactionid 
+0x6f7b 022849 ifetch 1 ,contr 
+0x6f7c 022850 lshift8 pdata ,timeup 
+0x6f7d 022851 ifetch 1 ,contr 
+0x6f7e 022852 iadd timeup ,timeup 
+0x6f7f 022853 set1 mark_ext_patch ,mark 
+0x6f80 022854 bpatch patch3d_0 ,mem_patch3d 
+0x6f81 022855 deposit regb 
+0x6f82 022856 beq sdp_service_search_request ,servicesearch_req 
+0x6f83 022857 beq sdp_service_attribute_request ,serviceattribute_req 
+0x6f84 022858 beq sdp_service_search_attribute_request ,servicesearchattribute_req 
+0x6f85 022859 beq sdp_service_search_attribute_response ,servicesearchattribute_res 
+0x6f86 022860 branch sdp_insufficient_resource 
+:      022871 servicesearch_req:
+0x6f87 022872 call ask_serviceclassid 
+0x6f88 022873 compare 1 ,temp ,0xff 
+0x6f89 022874 branch empth_sa_rsp ,true 
+0x6f8a 022875 compare 0xff ,temp ,0xff 
+0x6f8b 022876 branch sdp_invalid_reqest_syntax ,true 
+0x6f8c 022878 ifetch 2 ,contr 
+0x6f8d 022879 store 2 ,mem_sdp_record_maxcnt 
+0x6f8e 022880 increase -2 ,timeup 
+0x6f8f 022882 increase -1 ,timeup 
+0x6f90 022883 nbranch sdp_invalid_pdu_size ,zero 
+0x6f91 022884 arg mem_uuid_search_pat ,timeup 
+0x6f92 022885 ifetch 2 ,timeup 
+0x6f93 022886 rtn blank 
+0x6f94 022887 increase 2 ,timeup 
+0x6f95 022888 call search_uuid 
+0x6f96 022889 call l2cap_get_sdp_tx_payload 
+0x6f97 022890 force 3 ,pdata 
+0x6f98 022891 istore 1 ,contw 
+0x6f99 022892 fetch 2 ,mem_sdp_transactionid 
+0x6f9a 022893 istore 2 ,contw 
+0x6f9b 022894 lshift2 queue ,pdata 
+0x6f9c 022895 add pdata ,5 ,pdata 
+0x6f9d 022896 add pdata ,5 ,regc 
+0x6f9e 022897 byteswap pdata ,pdata 
+0x6f9f 022898 istore 2 ,contw 
+0x6fa0 022899 deposit queue 
+0x6fa1 022900 byteswap pdata ,pdata 
+0x6fa2 022901 istore 2 ,contw 
+0x6fa3 022902 istore 2 ,contw 
+0x6fa4 022903 arg mem_handle_list ,contr 
+0x6fa5 022904 copy queue ,loopcnt 
+0x6fa6 022905 branch servicesearch_req_blank ,zero 
+:      022906 servicesearch_req_loop:
+0x6fa7 022907 ifetch 4 ,contr 
+0x6fa8 022908 istore 4 ,contw 
+0x6fa9 022909 loop servicesearch_req_loop 
+:      022910 servicesearch_req_blank:
+0x6faa 022911 force 0 ,pdata 
+0x6fab 022912 istore 1 ,contw 
+0x6fac 022913 deposit regc 
+0x6fad 022914 store 1 ,mem_sdp_tx_pkt_length 
+0x6fae 022915 branch assert ,blank 
+0x6faf 022916 rtn 
+:      022927 serviceattribute_req:
+0x6fb0 022928 ifetch 4 ,contr 
+0x6fb1 022929 store 4 ,mem_sdp_record_handle 
+0x6fb2 022930 increase -4 ,timeup 
+0x6fb3 022931 iforce temp 
+0x6fb4 022932 ifetch 2 ,contr 
+0x6fb5 022933 byteswap pdata ,pdata 
+0x6fb6 022934 increase -18 ,pdata 
+0x6fb7 022935 store 2 ,mem_sdp_attribute_maxbyte 
+0x6fb8 022936 increase -2 ,timeup 
+0x6fb9 022937 call dataelementtype6 
+0x6fba 022938 branch sdp_invalid_reqest_syntax ,zero 
+0x6fbb 022939 compare 5 ,rega ,0xff 
+0x6fbc 022941 branch serviceattribute_judge_wholerangle ,true 
+:      022942 serviceattribute_isnot_wholerangle:
+0x6fbd 022943 arg mem_attrib_list ,contw 
+0x6fbe 022944 force 0 ,queue 
+0x6fbf 022945 branch serviceattribute_req_loop 
+:      022946 serviceattribute_judge_wholerangle:
+0x6fc0 022947 ifetch 1 ,contr 
+0x6fc1 022948 bne 0xa ,sdp_invalid_reqest_syntax 
+0x6fc2 022949 ifetch 2 ,contr 
+0x6fc3 022950 nbranch serviceattribute_judge_wholerangle_false1 ,blank 
+0x6fc4 022951 ifetch 1 ,contr 
+0x6fc5 022952 bne 0xff ,serviceattribute_judge_wholerangle_false2 
+0x6fc6 022953 ifetch 1 ,contr 
+0x6fc7 022954 bne 0xff ,serviceattribute_judge_wholerangle_false3 
+0x6fc8 022955 increase -5 ,contr 
+0x6fc9 022956 branch serviceattribute_req_all 
+:      022957 serviceattribute_judge_wholerangle_false3:
+0x6fca 022958 increase -5 ,contr 
+0x6fcb 022959 branch serviceattribute_isnot_wholerangle 
+:      022960 serviceattribute_judge_wholerangle_false2:
+0x6fcc 022961 increase -4 ,contr 
+0x6fcd 022962 branch serviceattribute_isnot_wholerangle 
+:      022963 serviceattribute_judge_wholerangle_false1:
+0x6fce 022964 increase -3 ,contr 
+0x6fcf 022965 branch serviceattribute_isnot_wholerangle 
+:      022966 serviceattribute_req_loop:
+0x6fd0 022967 ifetch 1 ,contr 
+0x6fd1 022968 beq 0x09 ,serviceattribute_req_one_id 
+0x6fd2 022969 beq 0x0a ,serviceattribute_req_range_id 
+:      022970 serviceattribute_req_range_id:
+0x6fd3 022971 ifetch 2 ,contr 
+0x6fd4 022972 istore 2 ,contw 
+0x6fd5 022973 increase 1 ,queue 
+0x6fd6 022974 byteswap pdata ,regb 
+0x6fd7 022975 ifetch 2 ,contr 
+0x6fd8 022976 byteswap pdata ,pdata 
+:      022977 serviceattribute_req_range_id_increase:
+0x6fd9 022978 increase 1 ,regb 
+0x6fda 022979 isub regb ,null 
+0x6fdb 022980 nbranch serviceattribute_req_range_id_finish ,positive 
+0x6fdc 022981 copy pdata ,regc 
+0x6fdd 022982 byteswap regb ,pdata 
+0x6fde 022983 istore 2 ,contw 
+0x6fdf 022984 increase 1 ,queue 
+0x6fe0 022985 copy regc ,pdata 
+0x6fe1 022986 branch serviceattribute_req_range_id_increase 
+:      022987 serviceattribute_req_range_id_finish:
+0x6fe2 022988 increase -5 ,timeup 
+0x6fe3 022989 increase -5 ,rega 
+0x6fe4 022990 branch serviceattribute_req_check_next_id 
+:      022991 serviceattribute_req_one_id:
+0x6fe5 022992 ifetch 2 ,contr 
+0x6fe6 022993 istore 2 ,contw 
+0x6fe7 022994 increase 1 ,queue 
+0x6fe8 022995 increase -3 ,timeup 
+0x6fe9 022996 increase -3 ,rega 
+:      022997 serviceattribute_req_check_next_id:
+0x6fea 022998 nbranch sdp_invalid_reqest_syntax ,positive 
+0x6feb 022999 nbranch serviceattribute_req_loop ,zero 
+0x6fec 023000 increase -1 ,timeup 
+0x6fed 023001 nbranch sdp_invalid_reqest_syntax ,zero 
+0x6fee 023003 call l2cap_get_sdp_tx_payload 
+0x6fef 023004 increase 10 ,contw 
+0x6ff0 023005 arg mem_attrib_list ,rega 
+:      023006 answer_handle_attributelist_next:
+0x6ff1 023007 copy queue ,pdata 
+0x6ff2 023008 branch answer_handle_attributelist_end ,blank 
+0x6ff3 023009 ifetch 2 ,rega 
+0x6ff4 023010 branch answer_handle_attributelist_end ,blank 
+0x6ff5 023011 iforce regb 
+0x6ff6 023012 fetch 4 ,mem_sdp_record_handle 
+0x6ff7 023013 iforce temp 
+0x6ff8 023014 call search_handle_attrib 
+0x6ff9 023015 branch answer_handle_attributelist_notfound ,blank 
+0x6ffa 023016 increase -3 ,contr 
+0x6ffb 023017 ifetch 3 ,contr 
+0x6ffc 023018 istore 3 ,contw 
+0x6ffd 023019 call sdp_data_len_obs 
+0x6ffe 023020 branch answer_handle_attributelist_notfound ,blank 
+0x6fff 023021 iforce loopcnt 
+0x7000 023022 call memcpy 
+:      023023 answer_handle_attributelist_notfound:
+0x7001 023024 increase 2 ,rega 
+0x7002 023025 increase -1 ,queue 
+0x7003 023026 branch answer_handle_attributelist_next 
+:      023028 answer_handle_attributelist_end:
+0x7004 023029 force 0 ,pdata 
+0x7005 023030 istore 1 ,contw 
+0x7006 023031 increase -1 ,contw 
+0x7007 023032 fetcht 2 ,mem_sdp_tx_payload_ptr 
+0x7008 023033 add temp ,10 ,pdata 
+0x7009 023034 isub contw ,pdata 
+0x700a 023035 sub pdata ,0 ,rega 
+0x700b 023036 byteswap rega ,pdata 
+0x700c 023037 add temp ,8 ,regb 
+0x700d 023038 istore 2 ,regb 
+0x700e 023039 increase 3 ,rega 
+0x700f 023040 byteswap rega ,pdata 
+0x7010 023041 add temp ,5 ,regb 
+0x7011 023042 istore 2 ,regb 
+0x7012 023043 increase 3 ,rega 
+0x7013 023044 byteswap rega ,pdata 
+0x7014 023045 add temp ,3 ,regb 
+0x7015 023046 istore 2 ,regb 
+0x7016 023047 increase 5 ,rega 
+0x7017 023048 copy rega ,pdata 
+0x7018 023049 store 2 ,mem_sdp_tx_pkt_length 
+0x7019 023050 setarg 0x36 
+0x701a 023051 add temp ,7 ,regb 
+0x701b 023052 istore 1 ,regb 
+0x701c 023053 setarg 5 
+0x701d 023054 istore 1 ,temp 
+0x701e 023055 fetch 2 ,mem_sdp_transactionid 
+0x701f 023056 add temp ,1 ,regb 
+0x7020 023057 istore 2 ,regb 
+0x7021 023058 rtn 
+:      023059 serviceattribute_req_all:
+0x7022 023060 ifetch 1 ,contr 
+0x7023 023061 bne 0xa ,sdp_invalid_reqest_syntax 
+0x7024 023062 ifetch 2 ,contr 
+0x7025 023063 nbranch sdp_invalid_reqest_syntax ,blank 
+0x7026 023064 ifetch 1 ,contr 
+0x7027 023065 bne 0xff ,sdp_invalid_reqest_syntax 
+0x7028 023066 ifetch 1 ,contr 
+0x7029 023067 bne 0xff ,sdp_invalid_reqest_syntax 
+0x702a 023068 increase -5 ,timeup 
+0x702b 023069 ifetch 1 ,contr 
+0x702c 023070 beq 0 ,continue_zero 
+0x702d 023071 beq 1 ,continue_one_byte 
+0x702e 023072 beq 2 ,continue_two_byte 
+:      023073 continue_zero:
+0x702f 023074 store 2 ,mem_sdp_continue_byte 
+0x7030 023075 increase -1 ,timeup 
+0x7031 023076 branch continue_end 
+:      023077 continue_one_byte:
+0x7032 023078 ifetch 1 ,contr 
+0x7033 023079 store 2 ,mem_sdp_continue_byte 
+0x7034 023080 increase -2 ,timeup 
+0x7035 023081 branch continue_end 
+:      023082 continue_two_byte:
+0x7036 023083 ifetch 2 ,contr 
+0x7037 023084 byteswap pdata ,pdata 
+0x7038 023085 store 2 ,mem_sdp_continue_byte 
+0x7039 023086 increase -3 ,timeup 
+:      023087 continue_end:
+0x703a 023088 nbranch sdp_invalid_pdu_size ,zero 
+0x703b 023089 call search_handle 
+0x703c 023090 nbranch sdp_invalid_service_record_handle ,zero 
+0x703d 023091 copy contr ,rega 
+0x703e 023092 call l2cap_get_sdp_tx_payload 
+0x703f 023093 copy rega ,contr 
+0x7040 023094 increase 3 ,contw 
+0x7041 023095 copy contr ,timeup 
+0x7042 023096 call sdp_get_data 
+0x7043 023097 copy pdata ,rega 
+0x7044 023098 fetch 2 ,mem_sdp_continue_byte 
+0x7045 023099 copy pdata ,regb 
+0x7046 023100 copy rega ,pdata 
+0x7047 023101 isub regb ,regb 
+0x7048 023102 fetch 2 ,mem_sdp_attribute_maxbyte 
+0x7049 023103 isub regb ,null 
+0x704a 023104 nbranch fragment_sdp ,positive 
+0x704b 023106 disable user 
+0x704c 023107 fetch 2 ,mem_sdp_continue_byte 
+0x704d 023108 branch fisrt_fragment ,blank 
+0x704e 023109 iadd timeup ,contr 
+0x704f 023110 increase 3 ,regb 
+0x7050 023111 copy regb ,loopcnt 
+0x7051 023112 copy loopcnt ,pdata 
+0x7052 023113 increase 3 ,pdata 
+0x7053 023114 byteswap pdata ,pdata 
+0x7054 023115 istore 2 ,contw 
+0x7055 023116 copy loopcnt ,pdata 
+0x7056 023117 byteswap pdata ,pdata 
+0x7057 023118 istore 2 ,contw 
+0x7058 023119 branch answer_attributelist_full_loop 
+:      023120 fisrt_fragment:
+0x7059 023121 add rega ,6 ,loopcnt 
+0x705a 023122 branch parlength_continue_byte ,user 
+0x705b 023123 byteswap loopcnt ,pdata 
+0x705c 023124 branch parlength_continue_byte_end 
+:      023125 parlength_continue_byte:
+0x705d 023126 copy loopcnt ,pdata 
+0x705e 023127 increase 2 ,pdata 
+0x705f 023128 byteswap pdata ,pdata 
+:      023129 parlength_continue_byte_end:
+0x7060 023130 istore 2 ,contw 
+0x7061 023131 increase -3 ,loopcnt 
+0x7062 023132 byteswap loopcnt ,pdata 
+0x7063 023133 istore 2 ,contw 
+0x7064 023134 copy timeup ,contr 
+0x7065 023135 branch answer_attributelist_full_loop 
+:      023136 fragment_sdp:
+0x7066 023137 enable user 
+0x7067 023138 fetch 2 ,mem_sdp_attribute_maxbyte 
+0x7068 023139 copy pdata ,rega 
+0x7069 023140 copy pdata ,loopcnt 
+0x706a 023141 fetch 2 ,mem_sdp_continue_byte 
+0x706b 023142 branch fisrt_fragment ,blank 
+0x706c 023143 iadd timeup ,contr 
+0x706d 023144 copy rega ,pdata 
+0x706e 023145 increase 5 ,pdata 
+0x706f 023146 byteswap pdata ,pdata 
+0x7070 023147 istore 2 ,contw 
+0x7071 023148 copy rega ,pdata 
+0x7072 023149 byteswap pdata ,pdata 
+0x7073 023150 istore 2 ,contw 
+:      023151 answer_attributelist_full_loop:
+0x7074 023152 ifetch 1 ,contr 
+0x7075 023153 istore 1 ,contw 
+0x7076 023154 loop answer_attributelist_full_loop 
+0x7077 023155 nbranch last_frag_continue ,user 
+0x7078 023156 force 2 ,pdata 
+0x7079 023157 istore 1 ,contw 
+0x707a 023158 copy contr ,pdata 
+0x707b 023159 isub timeup ,pdata 
+0x707c 023160 byteswap pdata ,pdata 
+0x707d 023161 istore 2 ,contw 
+0x707e 023162 branch sdp_frag_end 
+:      023163 last_frag_continue:
+0x707f 023164 force 0 ,pdata 
+0x7080 023165 istore 1 ,contw 
+:      023166 sdp_frag_end:
+0x7081 023167 fetch 2 ,mem_sdp_tx_payload_ptr 
+0x7082 023168 isub contw ,pdata 
+0x7083 023169 sub pdata ,0 ,pdata 
+0x7084 023170 store 2 ,mem_sdp_tx_pkt_length 
+0x7085 023171 call l2cap_get_sdp_tx_payload 
+0x7086 023172 setarg 5 
+0x7087 023173 istore 1 ,contw 
+0x7088 023174 fetch 2 ,mem_sdp_transactionid 
+0x7089 023175 istore 2 ,contw 
+0x708a 023176 rtn 
+:      023186 servicesearchattribute_req:
+0x708b 023189 call ask_serviceclassid 
+0x708c 023190 compare 0xff ,temp ,0xff 
+0x708d 023191 branch servicesearchattribute_req_all ,true 
+0x708e 023192 ifetch 2 ,contr 
+0x708f 023193 store 2 ,mem_sdp_attribute_maxbyte 
+0x7090 023194 increase -2 ,timeup 
+0x7091 023195 call dataelementtype6 
+0x7092 023196 arg mem_attrib_list ,contw 
+0x7093 023197 force 0 ,queue 
+:      023198 servicesearchattribute_req_loop:
+0x7094 023199 ifetch 3 ,contr 
+0x7095 023200 bne 0x09 ,servicesearchattribute_req_all 
+:      023201 servicesearchattribute_req_uuid:
+0x7096 023202 rshift8 pdata ,pdata 
+0x7097 023203 istore 2 ,contw 
+0x7098 023204 increase 1 ,queue 
+0x7099 023205 increase -3 ,timeup 
+0x709a 023206 increase -3 ,rega 
+0x709b 023207 nbranch sdp_invalid_reqest_syntax ,positive 
+0x709c 023208 nbranch servicesearchattribute_req_loop ,zero 
+0x709d 023209 increase -1 ,timeup 
+0x709e 023210 nbranch sdp_invalid_reqest_syntax ,zero 
+:      023211 servicesearchattribute_req_search:
+0x709f 023212 call l2cap_get_sdp_tx_payload 
+0x70a0 023213 increase 13 ,contw 
+0x70a1 023214 fetch 2 ,mem_uuid_search_pat 
+0x70a2 023215 iforce regc 
+0x70a3 023216 arg mem_attrib_list ,rega 
+:      023217 answer_attributelist_next:
+0x70a4 023218 ifetch 4 ,rega 
+0x70a5 023219 branch answer_attributelist_end ,blank 
+0x70a6 023220 ifetch 2 ,rega 
+0x70a7 023221 iforce regb 
+0x70a8 023222 call search_attrib 
+0x70a9 023223 branch answer_attributelist_notfound ,blank 
+0x70aa 023224 increase -3 ,contr 
+0x70ab 023225 ifetch 3 ,contr 
+0x70ac 023226 istore 3 ,contw 
+0x70ad 023227 call sdp_data_len_obs 
+0x70ae 023228 iforce loopcnt 
+:      023229 answer_attributelist_attrib_loop:
+0x70af 023230 ifetch 1 ,contr 
+0x70b0 023231 istore 1 ,contw 
+0x70b1 023232 loop answer_attributelist_attrib_loop 
+:      023233 answer_attributelist_notfound:
+0x70b2 023234 increase 2 ,rega 
+0x70b3 023235 branch answer_attributelist_next 
+:      023236 servicesearchattribute_req_all:
+0x70b4 023240 ifetch 1 ,contr 
+0x70b5 023242 ifetch 1 ,contr 
+0x70b6 023244 increase -5 ,timeup 
+0x70b7 023245 increase -5 ,rega 
+0x70b8 023246 nbranch sdp_invalid_reqest_syntax ,positive 
+0x70b9 023247 arg mem_uuid_search_pat ,timeup 
+0x70ba 023248 ifetch 2 ,timeup 
+0x70bb 023250 increase 2 ,timeup 
+0x70bc 023251 call search_uuid 
+0x70bd 023252 deposit queue 
+0x70be 023253 store 1 ,mem_handle_humber 
+0x70bf 023254 branch empty_ssa_rsp ,blank 
+0x70c0 023255 arg 0 ,queue 
+0x70c1 023256 call l2cap_get_sdp_tx_payload 
+0x70c2 023257 increase 10 ,contw 
+0x70c3 023258 branch servicesearchattribute_req_next_handle 
+:      023259 answer_attributelist_end:
+0x70c4 023260 force 0 ,pdata 
+0x70c5 023261 istore 1 ,contw 
+0x70c6 023262 increase -1 ,contw 
+0x70c7 023263 fetcht 2 ,mem_sdp_tx_payload_ptr 
+0x70c8 023264 add temp ,13 ,pdata 
+0x70c9 023265 isub contw ,pdata 
+0x70ca 023266 branch no_attribute_return ,zero 
+0x70cb 023267 sub pdata ,0 ,pdata 
+0x70cc 023268 add temp ,12 ,regb 
+0x70cd 023269 istore 1 ,regb 
+0x70ce 023270 increase 3 ,pdata 
+0x70cf 023271 add temp ,9 ,regb 
+0x70d0 023272 istore 1 ,regb 
+0x70d1 023273 increase 3 ,pdata 
+0x70d2 023274 byteswap pdata ,pdata 
+0x70d3 023275 add temp ,5 ,regb 
+0x70d4 023276 istore 2 ,regb 
+0x70d5 023277 rshift8 pdata ,pdata 
+0x70d6 023278 increase 3 ,pdata 
+0x70d7 023279 byteswap pdata ,pdata 
+0x70d8 023280 add temp ,3 ,regb 
+0x70d9 023281 istore 2 ,regb 
+0x70da 023282 rshift8 pdata ,pdata 
+0x70db 023283 increase 5 ,pdata 
+0x70dc 023284 store 1 ,mem_sdp_tx_pkt_length 
+0x70dd 023286 fetch 2 ,mem_sdp_transactionid 
+0x70de 023287 add temp ,1 ,regb 
+0x70df 023288 istore 2 ,regb 
+0x70e0 023289 setarg 7 
+0x70e1 023290 istore 1 ,temp 
+0x70e2 023295 setarg 0x0036 
+0x70e3 023296 add temp ,7 ,regb 
+0x70e4 023297 istore 2 ,regb 
+0x70e5 023298 add temp ,10 ,regb 
+0x70e6 023299 istore 2 ,regb 
+0x70e7 023300 rtn 
+:      023301 no_attribute_return:
+0x70e8 023302 jam 10 ,mem_sdp_tx_pkt_length 
+0x70e9 023303 call l2cap_get_sdp_tx_payload 
+0x70ea 023305 setarg 7 
+0x70eb 023306 istore 1 ,contw 
+0x70ec 023307 fetch 2 ,mem_sdp_transactionid 
+0x70ed 023308 istore 2 ,contw 
+0x70ee 023312 setarg 0x0500 
+0x70ef 023313 istore 2 ,contw 
+0x70f0 023316 setarg 0x0200 
+0x70f1 023317 istore 2 ,contw 
+0x70f2 023321 setarg 0x000035 
+0x70f3 023322 istore 3 ,contw 
+0x70f4 023323 rtn 
+:      023325 servicesearchattribute_req_attributelist_loop:
+0x70f5 023326 ifetch 1 ,contr 
+0x70f6 023327 istore 1 ,contw 
+0x70f7 023328 increase 1 ,regb 
+0x70f8 023329 increase -1 ,rega 
+0x70f9 023330 branch servicesearchattribute_req_check_next_ctn ,zero 
+0x70fa 023331 loop servicesearchattribute_req_attributelist_loop 
+:      023332 servicesearchattribute_req_check_next_ctn:
+0x70fb 023333 copy contw ,timeup 
+0x70fc 023334 copy regb ,pdata 
+0x70fd 023335 store 2 ,mem_sdp_continue_byte 
+0x70fe 023336 copy rega ,pdata 
+0x70ff 023337 store 2 ,mem_sdp_attribute_maxbyte 
+0x7100 023338 branch answer_attributelist_with_ctn_bytes ,blank 
+0x7101 023339 branch answer_attributelist_with_ctn_end ,user 
+0x7102 023340 copy timeup ,contw 
+:      023341 servicesearchattribute_req_check_handle:
+0x7103 023342 increase 1 ,queue 
+0x7104 023343 fetch 1 ,mem_handle_humber 
+0x7105 023344 isub queue ,null 
+0x7106 023345 nbranch servicesearchattribute_req_next_handle ,zero 
+0x7107 023346 branch answer_attributelist_end_long 
+:      023347 servicesearchattribute_req_next_handle:
+0x7108 023348 arg mem_handle_list ,contr 
+0x7109 023349 lshift2 queue ,pdata 
+0x710a 023350 iadd contr ,contr 
+0x710b 023351 ifetch 4 ,contr 
+0x710c 023352 iforce temp 
+0x710d 023353 call search_handle 
+0x710e 023354 copy contr ,timeup 
+0x710f 023355 call sdp_get_data 
+0x7110 023356 add pdata ,3 ,loopcnt 
+0x7111 023357 fetch 2 ,mem_sdp_attribute_maxbyte 
+0x7112 023358 copy pdata ,rega 
+0x7113 023359 fetch 2 ,mem_sdp_continue_byte 
+0x7114 023360 copy pdata ,regb 
+0x7115 023361 copy timeup ,contr 
+0x7116 023362 branch servicesearchattribute_req_attributelist_loop 
+:      023363 answer_attributelist_with_ctn_bytes:
+0x7117 023364 arg 0 ,queue 
+0x7118 023365 arg 0 ,regb 
+:      023366 answer_attributelist_calc_attribute_length:
+0x7119 023367 arg mem_handle_list ,contr 
+0x711a 023368 lshift2 queue ,pdata 
+0x711b 023369 iadd contr ,contr 
+0x711c 023370 ifetch 4 ,contr 
+0x711d 023371 iforce temp 
+0x711e 023372 call search_handle 
+0x711f 023373 call sdp_get_data 
+0x7120 023374 add pdata ,3 ,pdata 
+0x7121 023375 iadd regb ,regb 
+0x7122 023376 increase 1 ,queue 
+0x7123 023377 fetch 1 ,mem_handle_humber 
+0x7124 023378 isub queue ,null 
+0x7125 023379 nbranch answer_attributelist_calc_attribute_length ,zero 
+0x7126 023381 copy timeup ,contw 
+0x7127 023382 force 2 ,pdata 
+0x7128 023383 istore 1 ,contw 
+0x7129 023384 fetch 2 ,mem_sdp_continue_byte 
+0x712a 023385 byteswap pdata ,pdata 
+0x712b 023386 istore 2 ,contw 
+0x712c 023387 increase -3 ,contw 
+0x712d 023388 fetcht 2 ,mem_sdp_tx_payload_ptr 
+0x712e 023389 add temp ,10 ,pdata 
+0x712f 023390 isub contw ,pdata 
+0x7130 023391 sub pdata ,0 ,pdata 
+0x7131 023392 iforce rega 
+0x7132 023394 deposit regb 
+0x7133 023395 add temp ,9 ,regb 
+0x7134 023396 istore 1 ,regb 
+0x7135 023397 rshift8 pdata ,pdata 
+0x7136 023398 add temp ,8 ,regb 
+0x7137 023399 istore 1 ,regb 
+0x7138 023400 increase 3 ,rega 
+0x7139 023401 deposit rega 
+0x713a 023402 add temp ,6 ,regb 
+0x713b 023403 istore 1 ,regb 
+0x713c 023404 rshift8 pdata ,pdata 
+0x713d 023405 add temp ,5 ,regb 
+0x713e 023406 istore 1 ,regb 
+0x713f 023407 increase 5 ,rega 
+0x7140 023408 deposit rega 
+0x7141 023409 add temp ,4 ,regb 
+0x7142 023410 istore 1 ,regb 
+0x7143 023411 rshift8 pdata ,pdata 
+0x7144 023412 add temp ,3 ,regb 
+0x7145 023413 istore 1 ,regb 
+0x7146 023414 increase 5 ,rega 
+0x7147 023415 deposit rega 
+0x7148 023416 store 2 ,mem_sdp_tx_pkt_length 
+0x7149 023417 setarg 7 
+0x714a 023418 istore 1 ,temp 
+0x714b 023419 setarg 0x36 
+0x714c 023420 add temp ,7 ,regb 
+0x714d 023421 istore 1 ,regb 
+0x714e 023422 add temp ,1 ,regb 
+0x714f 023423 fetch 2 ,mem_sdp_transactionid 
+0x7150 023424 istore 2 ,regb 
+0x7151 023425 rtn 
+:      023426 answer_attributelist_with_ctn_end:
+0x7152 023427 copy timeup ,contw 
+0x7153 023428 force 0 ,pdata 
+0x7154 023429 istore 1 ,contw 
+0x7155 023430 increase -1 ,contw 
+0x7156 023431 fetcht 2 ,mem_sdp_tx_payload_ptr 
+0x7157 023432 add temp ,7 ,pdata 
+0x7158 023433 isub contw ,pdata 
+0x7159 023434 sub pdata ,0 ,pdata 
+0x715a 023435 iforce rega 
+0x715b 023437 deposit rega 
+0x715c 023438 add temp ,6 ,regb 
+0x715d 023439 istore 1 ,regb 
+0x715e 023440 rshift8 pdata ,pdata 
+0x715f 023441 add temp ,5 ,regb 
+0x7160 023442 istore 1 ,regb 
+0x7161 023443 increase 3 ,rega 
+0x7162 023444 deposit rega 
+0x7163 023445 add temp ,4 ,regb 
+0x7164 023446 istore 1 ,regb 
+0x7165 023447 rshift8 pdata ,pdata 
+0x7166 023448 add temp ,3 ,regb 
+0x7167 023449 istore 1 ,regb 
+0x7168 023450 increase 5 ,rega 
+0x7169 023451 deposit rega 
+0x716a 023452 store 2 ,mem_sdp_tx_pkt_length 
+0x716b 023454 setarg 7 
+0x716c 023455 istore 1 ,temp 
+0x716d 023457 fetch 2 ,mem_sdp_transactionid 
+0x716e 023458 add temp ,1 ,regb 
+0x716f 023459 istore 2 ,regb 
+0x7170 023460 rtn 
+:      023462 answer_attributelist_end_long:
+0x7171 023463 force 0 ,pdata 
+0x7172 023464 istore 1 ,contw 
+0x7173 023465 increase -1 ,contw 
+0x7174 023466 fetcht 2 ,mem_sdp_tx_payload_ptr 
+0x7175 023467 add temp ,10 ,pdata 
+0x7176 023468 isub contw ,pdata 
+0x7177 023469 sub pdata ,0 ,pdata 
+0x7178 023470 iforce rega 
+0x7179 023472 deposit rega 
+0x717a 023473 add temp ,9 ,regb 
+0x717b 023474 istore 1 ,regb 
+0x717c 023475 rshift8 pdata ,pdata 
+0x717d 023476 add temp ,8 ,regb 
+0x717e 023477 istore 1 ,regb 
+0x717f 023479 increase 3 ,rega 
+0x7180 023480 deposit rega 
+0x7181 023481 add temp ,6 ,regb 
+0x7182 023482 istore 1 ,regb 
+0x7183 023483 rshift8 pdata ,pdata 
+0x7184 023484 add temp ,5 ,regb 
+0x7185 023485 istore 1 ,regb 
+0x7186 023486 increase 3 ,rega 
+0x7187 023487 deposit rega 
+0x7188 023488 add temp ,4 ,regb 
+0x7189 023489 istore 1 ,regb 
+0x718a 023490 rshift8 pdata ,pdata 
+0x718b 023491 add temp ,3 ,regb 
+0x718c 023492 istore 1 ,regb 
+0x718d 023493 increase 5 ,rega 
+0x718e 023494 deposit rega 
+0x718f 023495 store 2 ,mem_sdp_tx_pkt_length 
+0x7190 023496 setarg 0x36 
+0x7191 023497 add temp ,7 ,regb 
+0x7192 023498 istore 1 ,regb 
+0x7193 023499 setarg 7 
+0x7194 023500 istore 1 ,temp 
+0x7195 023501 fetch 2 ,mem_sdp_transactionid 
+0x7196 023502 add temp ,1 ,regb 
+0x7197 023503 istore 2 ,regb 
+0x7198 023504 rtn 
+:      023505 sdp_data_len_obs:
+0x7199 023506 copy contr ,timeup 
+0x719a 023507 ifetch 1 ,contr 
+0x719b 023508 and pdata ,0x07 ,loopcnt 
+0x719c 023509 rshift3 pdata ,pdata 
+0x719d 023510 beq 6 ,sdp_data_len_6_obs 
+0x719e 023511 beq 1 ,sdp_data_len_1 
+0x719f 023512 beq 4 ,sdp_data_len_6 
+0x71a0 023513 beq 5 ,sdp_data_len_5 
+0x71a1 023514 branch sdp_data_len_rtn 
+:      023515 sdp_data_len_6_obs:
+0x71a2 023516 call sdp_get_data_6_obs 
+0x71a3 023517 branch sdp_data_len_rtn 
+:      023518 sdp_get_data_6_obs:
+0x71a4 023519 deposit loopcnt 
+0x71a5 023520 beq 5 ,sdp_get_data_6_8bit_obs 
+0x71a6 023521 beq 6 ,sdp_get_data_6_16bit_obs 
+0x71a7 023522 force 3 ,loopcnt 
+0x71a8 023523 branch sdp_get_data_1 
+:      023524 sdp_get_data_6_8bit_obs:
+0x71a9 023525 ifetch 1 ,contr 
+0x71aa 023526 increase 2 ,pdata 
+0x71ab 023527 rtn 
+:      023528 sdp_get_data_6_16bit_obs:
+0x71ac 023529 ifetch 2 ,contr 
+0x71ad 023530 byteswap pdata ,pdata 
+0x71ae 023531 increase 3 ,pdata 
+0x71af 023532 rtn 
+:      023534 sdp_send_spp_request:
+0x71b0 023535 call l2cap_get_sdp_tx_payload 
+0x71b1 023536 copy pdata ,contw 
+0x71b2 023537 setarg 6 
+0x71b3 023538 istore 1 ,contw 
+0x71b4 023539 setarg sdp_tid_spp 
+0x71b5 023540 istore 2 ,contw 
+0x71b6 023541 setarg 0x0f00 
+0x71b7 023542 istore 2 ,contw 
+0x71b8 023543 setarg 0x1a0535 
+0x71b9 023544 istore 3 ,contw 
+0x71ba 023545 setarg 0x0111 
+0x71bb 023546 lshift16 pdata ,pdata 
+0x71bc 023547 istore 4 ,contw 
+0x71bd 023548 setarg 0x2600 
+0x71be 023549 istore 2 ,contw 
+0x71bf 023550 setarg 0x0335 
+0x71c0 023551 istore 2 ,contw 
+0x71c1 023552 setarg 0x0009 
+0x71c2 023553 istore 2 ,contw 
+0x71c3 023554 setarg 0x0004 
+0x71c4 023555 istore 2 ,contw 
+0x71c5 023556 jam 0x14 ,mem_sdp_tx_pkt_length 
+0x71c6 023557 rtn 
+:      023567 servicesearchattribute_res:
+0x71c7 023568 copy contr ,temp 
+0x71c8 023569 fetch 2 ,mem_sdp_transactionid 
+0x71c9 023570 beq sdp_tid_spp ,servicesearchattribute_res_spp 
+0x71ca 023573 branch srchfail 
+:      023575 servicesearchattribute_res_spp:
+0x71cb 023576 copy temp ,contr 
+0x71cc 023577 increase -3 ,timeup 
+0x71cd 023578 copy timeup ,pdata 
+0x71ce 023579 beq 2 ,srchfail 
+0x71cf 023580 call find_rfcomm_channel_number 
+0x71d0 023581 rtn user 
+0x71d1 023582 store 1 ,mem_remote_spp_channel 
+0x71d2 023583 jam recieve_ss_reasult_hf ,mem_message_to_uppersm 
+0x71d3 023584 rtn 
+:      023586 srchfail:
+0x71d4 023587 rtn 
+:      023593 find_rfcomm_channel_number:
+0x71d5 023594 enable user 
+0x71d6 023595 copy pdata ,loopcnt 
+0x71d7 023596 arg 0x0400 ,temp 
+:      023597 find_rfcomm_channel_number_loop:
+0x71d8 023598 ifetch 2 ,contr 
+0x71d9 023599 isub temp ,null 
+0x71da 023600 branch find_rfcomm_channel_number_find_adl ,zero 
+0x71db 023601 increase -1 ,contr 
+0x71dc 023602 loop find_rfcomm_channel_number_loop 
+0x71dd 023603 rtn 
+:      023604 find_rfcomm_channel_number_find_adl:
+0x71de 023605 arg 0x0300 ,temp 
+:      023606 find_rfcomm_channel_number_loop2:
+0x71df 023607 ifetch 2 ,contr 
+0x71e0 023608 isub temp ,null 
+0x71e1 023609 branch find_rfcomm_channel_number_find_rfcomm ,zero 
+0x71e2 023610 increase -1 ,contr 
+0x71e3 023611 loop find_rfcomm_channel_number_loop2 
+0x71e4 023612 rtn 
+:      023613 find_rfcomm_channel_number_find_rfcomm:
+0x71e5 023614 ifetch 1 ,contr 
+0x71e6 023615 ifetch 1 ,contr 
+0x71e7 023616 disable user 
+0x71e8 023617 rtn 
+:      023628 attribute_reading:
+0x71e9 023629 call dataelementtype6 
+0x71ea 023630 branch rdnortn ,zero 
+0x71eb 023631 force 0 ,regb 
+0x71ec 023632 ifetch 1 ,contr 
+0x71ed 023633 increase -1 ,rega 
+0x71ee 023634 increase -1 ,timeup 
+0x71ef 023635 compare 0x18 ,pdata ,0xf8 
+0x71f0 023636 nbranch rduuid3 ,true 
+0x71f1 023637 compare 0x04 ,pdata ,0x07 
+0x71f2 023638 nbranch is032 ,true 
+0x71f3 023639 force 1 ,regb 
+:      023640 skp2bytes:
+0x71f4 023641 increase 2 ,contr 
+0x71f5 023642 increase -2 ,rega 
+0x71f6 023643 increase -2 ,timeup 
+0x71f7 023644 branch rduuid1 
+:      023645 is032:
+0x71f8 023646 compare 0x02 ,pdata ,0x07 
+0x71f9 023647 nbranch is016 ,true 
+0x71fa 023648 branch skp2bytes 
+:      023649 is016:
+0x71fb 023650 compare 0x01 ,pdata ,0x07 
+0x71fc 023651 nbranch rduuid3 ,true 
+:      023652 rduuid1:
+0x71fd 023653 ifetch 1 ,contr 
+0x71fe 023654 increase -1 ,rega 
+0x71ff 023655 increase -1 ,timeup 
+0x7200 023656 bne 0x01 ,rduuid2 
+0x7201 023657 ifetch 1 ,contr 
+0x7202 023658 increase -1 ,rega 
+0x7203 023659 increase -1 ,timeup 
+0x7204 023660 bne 0x00 ,rduuid3 
+0x7205 023661 jam 0xff ,mem_sdp_lacap_found 
+0x7206 023662 branch rduuid3 
+:      023663 rduuid2:
+0x7207 023664 bne 0x00 ,rduuid3 
+0x7208 023665 ifetch 1 ,contr 
+0x7209 023666 increase -1 ,rega 
+0x720a 023667 increase -1 ,timeup 
+0x720b 023668 bne 0x03 ,rduuid3 
+0x720c 023669 copy regb ,null 
+0x720d 023670 branch not16by ,zero 
+0x720e 023671 increase -12 ,contr 
+0x720f 023672 increase -12 ,timeup 
+:      023673 not16by:
+0x7210 023674 force 0xff ,pdata 
+0x7211 023675 store 1 ,mem_sdp_rfcomm_found 
+0x7212 023676 ifetch 1 ,contr 
+0x7213 023677 increase -1 ,rega 
+0x7214 023678 increase -1 ,timeup 
+0x7215 023679 compare 0x08 ,pdata ,0xf8 
+0x7216 023680 nbranch rduuid3 ,true 
+0x7217 023681 compare 0x00 ,pdata ,0x07 
+0x7218 023682 branch unsign1 ,true 
+0x7219 023683 compare 0x01 ,pdata ,0x07 
+0x721a 023684 branch unsign2 ,true 
+0x721b 023685 compare 0x02 ,pdata ,0x07 
+0x721c 023686 branch unsign4 ,true 
+0x721d 023687 compare 0x03 ,pdata ,0x07 
+0x721e 023688 branch unsign8 ,true 
+0x721f 023689 compare 0x04 ,pdata ,0x07 
+0x7220 023690 nbranch rduuid3 ,true 
+0x7221 023691 increase 8 ,contr 
+0x7222 023692 increase -8 ,rega 
+0x7223 023693 increase -8 ,timeup 
+:      023694 unsign8:
+0x7224 023695 increase 4 ,contr 
+0x7225 023696 increase -4 ,rega 
+0x7226 023697 increase -4 ,timeup 
+:      023698 unsign4:
+0x7227 023699 increase 2 ,contr 
+0x7228 023700 increase -2 ,rega 
+0x7229 023701 increase -2 ,timeup 
+:      023702 unsign2:
+0x722a 023703 increase 1 ,contr 
+0x722b 023704 increase -1 ,rega 
+0x722c 023705 increase -1 ,timeup 
+:      023706 unsign1:
+0x722d 023707 ifetch 1 ,contr 
+0x722e 023708 increase -1 ,rega 
+0x722f 023709 increase -1 ,timeup 
+:      023710 rduuid3:
+0x7230 023711 increase -1 ,timeup 
+0x7231 023712 increase -1 ,rega 
+0x7232 023713 branch rduuid3 ,positive 
+0x7233 023714 increase 1 ,timeup 
+0x7234 023715 force 0x01 ,pdata 
+0x7235 023716 rtn ,
+:      023717 rdnortn:
+0x7236 023718 force 0x00 ,pdata 
+0x7237 023719 rtn ,
+:      023721 sdp_invalid_service_record_handle:
+0x7238 023722 setarg 0x0200 
+0x7239 023723 store 2 ,mem_sdp_error_code 
+0x723a 023724 branch sdp_error_rsp 
+:      023725 sdp_invalid_pdu_size:
+0x723b 023726 setarg 0x0400 
+0x723c 023727 store 2 ,mem_sdp_error_code 
+0x723d 023728 branch sdp_error_rsp 
+:      023729 sdp_insufficient_resource:
+0x723e 023730 setarg 0x0600 
+0x723f 023731 store 2 ,mem_sdp_error_code 
+0x7240 023732 branch sdp_error_rsp 
+:      023733 sdp_invalid_reqest_syntax:
+0x7241 023734 setarg 0x0300 
+0x7242 023735 store 2 ,mem_sdp_error_code 
+:      023736 sdp_error_rsp:
+0x7243 023737 call l2cap_get_sdp_tx_payload 
+0x7244 023738 istore 1 ,contw 
+0x7245 023739 fetch 2 ,mem_sdp_transactionid 
+0x7246 023740 istore 2 ,contw 
+0x7247 023741 setarg 0x0200 
+0x7248 023742 istore 2 ,contw 
+0x7249 023743 fetch 2 ,mem_sdp_error_code 
+0x724a 023744 istore 2 ,contw 
+0x724b 023745 jam 7 ,mem_sdp_tx_pkt_length 
+0x724c 023746 rtn 
+:      023748 ask_serviceclassid:
+0x724d 023749 force 0 ,temp 
+0x724e 023750 arg mem_uuid_search_pat ,contw 
+0x724f 023751 call dataelementtype6 
+0x7250 023752 branch asksrv_error ,zero 
+:      023753 classidloop:
+0x7251 023754 ifetch 1 ,contr 
+0x7252 023755 increase -1 ,rega 
+0x7253 023756 increase -1 ,timeup 
+0x7254 023757 compare 0x18 ,pdata ,0xf8 
+0x7255 023758 nbranch asksrv_error ,true 
+0x7256 023759 compare 0x04 ,pdata ,0x07 
+0x7257 023760 nbranch cmp032 ,true 
+0x7258 023761 force 1 ,temp 
+:      023762 skip2bytes:
+0x7259 023763 ifetch 1 ,contr 
+0x725a 023764 increase -1 ,rega 
+0x725b 023765 increase -1 ,timeup 
+0x725c 023766 bne 0x00 ,frstbwrong 
+0x725d 023767 ifetch 1 ,contr 
+0x725e 023768 increase -1 ,rega 
+0x725f 023769 increase -1 ,timeup 
+0x7260 023770 beq 0x00 ,cmpuuid 
+0x7261 023771 branch scndbwrong 
+:      023772 frstbwrong:
+0x7262 023773 increase 1 ,contr 
+0x7263 023774 increase -1 ,rega 
+0x7264 023775 increase -1 ,timeup 
+:      023776 scndbwrong:
+0x7265 023777 increase 2 ,contr 
+0x7266 023778 increase -2 ,rega 
+0x7267 023779 increase -2 ,timeup 
+0x7268 023780 compare 0x00 ,temp ,0xff 
+0x7269 023781 branch loopornot ,true 
+0x726a 023782 increase 12 ,contr 
+0x726b 023783 increase -12 ,rega 
+0x726c 023784 increase -12 ,timeup 
+0x726d 023785 branch loopornot 
+:      023786 cmp032:
+0x726e 023787 compare 0x02 ,pdata ,0x07 
+0x726f 023788 nbranch cmp016 ,true 
+0x7270 023789 branch skip2bytes 
+:      023790 cmp016:
+0x7271 023791 compare 0x01 ,pdata ,0x07 
+0x7272 023792 nbranch asksrv_error ,true 
+:      023793 cmpuuid:
+0x7273 023794 ifetch 2 ,contr 
+0x7274 023795 increase -2 ,rega 
+0x7275 023796 increase -2 ,timeup 
+0x7276 023797 istore 2 ,contw 
+:      023798 uuidsize:
+0x7277 023799 compare 0x00 ,temp ,0xff 
+0x7278 023800 branch loopornot ,true 
+0x7279 023801 copy contr ,temp 
+0x727a 023802 ifetch 1 ,contr 
+0x727b 023803 bne 0x00 ,wrong12b 
+0x727c 023804 ifetch 1 ,contr 
+0x727d 023805 bne 0x00 ,wrong12b 
+0x727e 023806 ifetch 1 ,contr 
+0x727f 023807 bne 0x10 ,wrong12b 
+0x7280 023808 ifetch 1 ,contr 
+0x7281 023809 bne 0x00 ,wrong12b 
+0x7282 023810 ifetch 1 ,contr 
+0x7283 023811 bne 0x80 ,wrong12b 
+0x7284 023812 ifetch 1 ,contr 
+0x7285 023813 bne 0x00 ,wrong12b 
+0x7286 023814 ifetch 1 ,contr 
+0x7287 023815 bne 0x00 ,wrong12b 
+0x7288 023816 ifetch 1 ,contr 
+0x7289 023817 bne 0x80 ,wrong12b 
+0x728a 023818 ifetch 1 ,contr 
+0x728b 023819 bne 0x5f ,wrong12b 
+0x728c 023820 ifetch 1 ,contr 
+0x728d 023821 bne 0x9b ,wrong12b 
+0x728e 023822 ifetch 1 ,contr 
+0x728f 023823 bne 0x34 ,wrong12b 
+0x7290 023824 ifetch 1 ,contr 
+0x7291 023825 beq 0xfb ,chck12dn 
+:      023826 wrong12b:
+0x7292 023827 copy temp ,contr 
+:      023828 wrong12b1:
+0x7293 023829 increase 12 ,contr 
+0x7294 023830 force 0x00 ,queue 
+0x7295 023831 force 0x00 ,temp 
+0x7296 023832 branch chck12dn 
+:      023833 noclass:
+0x7297 023834 ifetch 1 ,contr 
+0x7298 023835 increase -1 ,rega 
+0x7299 023836 increase -1 ,timeup 
+0x729a 023837 branch uuidsize 
+:      023838 chck12dn:
+0x729b 023839 increase -12 ,timeup 
+0x729c 023840 increase -12 ,rega 
+:      023841 loopornot:
+0x729d 023842 compare 0x00 ,rega ,0xff 
+0x729e 023843 nbranch classidloop ,true 
+0x729f 023844 force 0 ,pdata 
+0x72a0 023845 istore 2 ,contw 
+0x72a1 023846 rtn ,
+:      023847 asksrv_error:
+0x72a2 023848 arg 0xff ,temp 
+0x72a3 023849 rtn 
+:      023859 dataelementtype6:
+0x72a4 023860 ifetch 1 ,contr 
+0x72a5 023861 increase -1 ,timeup 
+0x72a6 023862 compare 0x30 ,pdata ,0xf8 
+0x72a7 023863 nbranch dsize_error ,true 
+0x72a8 023864 compare 0x07 ,pdata ,0x07 
+0x72a9 023865 branch dsize32 ,true 
+0x72aa 023866 compare 0x06 ,pdata ,0x07 
+0x72ab 023867 branch dsize16 ,true 
+0x72ac 023868 compare 0x05 ,pdata ,0x07 
+0x72ad 023869 nbranch dsize_error ,true 
+0x72ae 023870 ifetch 1 ,contr 
+0x72af 023871 copy pdata ,rega 
+0x72b0 023872 increase -1 ,timeup 
+0x72b1 023873 branch dsize 
+:      023874 dsize32:
+0x72b2 023875 increase 2 ,contr 
+0x72b3 023876 increase -2 ,timeup 
+:      023877 dsize16:
+0x72b4 023878 ifetch 2 ,contr 
+0x72b5 023879 byteswap pdata ,rega 
+0x72b6 023880 increase -2 ,timeup 
+:      023881 dsize:
+0x72b7 023882 force 0x01 ,pdata 
+0x72b8 023883 rtn 
+:      023884 dsize_error:
+0x72b9 023885 force 0x00 ,pdata 
+0x72ba 023886 rtn 
+:      023896 empth_sa_rsp:
+0x72bb 023897 setarg 0x03 
+0x72bc 023898 store 1 ,mem_sdp_pduid 
+0x72bd 023899 branch empty_response 
+:      023900 empty_ssa_rsp:
+0x72be 023901 setarg 0x07 
+0x72bf 023902 store 1 ,mem_sdp_pduid 
+:      023903 empty_response:
+0x72c0 023904 call l2cap_get_sdp_tx_payload 
+0x72c1 023905 fetch 1 ,mem_sdp_pduid 
+0x72c2 023906 istore 1 ,contw 
+0x72c3 023907 copy pdata ,regb 
+0x72c4 023908 fetch 2 ,mem_sdp_transactionid 
+0x72c5 023909 istore 2 ,contw 
+0x72c6 023911 setarg 0x0500 
+0x72c7 023912 istore 2 ,contw 
+0x72c8 023913 compare 0x05 ,regb ,0xff 
+0x72c9 023914 branch fullsearch ,true 
+0x72ca 023915 compare 0x07 ,regb ,0xff 
+0x72cb 023916 branch fullsearch ,true 
+0x72cc 023917 setarg 0x000000 
+0x72cd 023918 istore 3 ,contw 
+0x72ce 023919 istore 2 ,contw 
+0x72cf 023920 branch outempty 
+:      023922 fullsearch:
+0x72d0 023929 setarg 0x350200 
+0x72d1 023930 istore 3 ,contw 
+0x72d2 023935 setarg 0 
+0x72d3 023936 istore 2 ,contw 
+:      023937 outempty:
+0x72d4 023938 jam 10 ,mem_sdp_tx_pkt_length 
+0x72d5 023939 rtn 
+:      023941 sdp_data_len:
+0x72d6 023942 copy contr ,timeup 
+0x72d7 023943 ifetch 1 ,contr 
+0x72d8 023944 and pdata ,0x7 ,loopcnt 
+0x72d9 023945 rshift3 pdata ,pdata 
+0x72da 023946 beq 6 ,sdp_data_len_6 
+0x72db 023947 beq 1 ,sdp_data_len_1 
+0x72dc 023948 beq 4 ,sdp_data_len_6 
+0x72dd 023949 beq 5 ,sdp_data_len_5 
+:      023950 sdp_data_len_rtn:
+0x72de 023951 copy timeup ,contr 
+0x72df 023952 rtn 
+:      023953 sdp_data_len_1:
+0x72e0 023954 call sdp_data_size 
+0x72e1 023955 increase 1 ,pdata 
+0x72e2 023956 branch sdp_data_len_rtn 
+:      023957 sdp_data_len_5:
+0x72e3 023958 force 2 ,pdata 
+0x72e4 023959 branch sdp_data_len_rtn 
+:      023960 sdp_data_len_6:
+0x72e5 023961 call sdp_get_data_6 
+0x72e6 023962 increase 2 ,pdata 
+0x72e7 023963 branch sdp_data_len_rtn 
+:      023965 sdp_get_data:
+0x72e8 023966 ifetch 1 ,contr 
+0x72e9 023967 and pdata ,0x7 ,loopcnt 
+0x72ea 023968 rshift3 pdata ,pdata 
+0x72eb 023969 beq 6 ,sdp_get_data_6 
+0x72ec 023970 beq 1 ,sdp_get_data_1 
+0x72ed 023971 beq 5 ,sdp_get_data_6_8bit 
+0x72ee 023972 rtn 
+:      023973 sdp_get_data_1:
+0x72ef 023974 call sdp_data_size 
+0x72f0 023975 iforce loopcnt 
+0x72f1 023976 force 0 ,temp 
+:      023977 sdp_get_data_1_loop:
+0x72f2 023978 lshift8 temp ,temp 
+0x72f3 023979 ifetch 1 ,contr 
+0x72f4 023980 ior temp ,temp 
+0x72f5 023981 loop sdp_get_data_1_loop 
+0x72f6 023982 rtn 
+:      023983 sdp_get_data_6:
+0x72f7 023984 deposit loopcnt 
+0x72f8 023985 beq 5 ,sdp_get_data_6_8bit 
+0x72f9 023986 beq 6 ,sdp_get_data_6_16bit 
+0x72fa 023987 force 3 ,loopcnt 
+0x72fb 023988 branch sdp_get_data_1 
+:      023989 sdp_get_data_6_8bit:
+0x72fc 023990 ifetch 1 ,contr 
+0x72fd 023991 rtn 
+:      023992 sdp_get_data_6_16bit:
+0x72fe 023993 ifetch 2 ,contr 
+0x72ff 023994 byteswap pdata ,pdata 
+0x7300 023995 rtn 
+:      023998 sdp_data_size:
+0x7301 023999 force 1 ,pdata 
+0x7302 024000 copy loopcnt ,null 
+0x7303 024001 rtn zero 
+:      024002 sdp_data_size_loop:
+0x7304 024003 lshift pdata ,pdata 
+0x7305 024004 loop sdp_data_size_loop 
+0x7306 024005 rtn 
+:      024010 search_uuid:
+0x7307 024011 iforce regc 
+0x7308 024012 set1 mark_ext_patch ,mark 
+0x7309 024013 bpatch patch3d_1 ,mem_patch3d 
+0x730a 024014 force 0 ,queue 
+0x730b 024015 fetch 2 ,memui_uuid_table 
+0x730c 024016 iforce contr 
+0x730d 024017 arg mem_handle_list ,contw 
+:      024018 search_uuid_next:
+0x730e 024019 disable user 
+0x730f 024020 ifetch 1 ,contr 
+0x7310 024021 rtn blank 
+0x7311 024022 iforce loopcnt 
+:      024023 search_uuid_loop:
+0x7312 024024 ifetch 2 ,contr 
+0x7313 024025 isub regc ,null 
+0x7314 024026 nbranch search_uuid_not_found ,zero 
+0x7315 024027 enable user 
+:      024028 search_uuid_not_found:
+0x7316 024029 loop search_uuid_loop 
+0x7317 024030 ifetch 4 ,contr 
+0x7318 024031 nbranch search_uuid_nomatch ,user 
+0x7319 024032 istore 4 ,contw 
+0x731a 024033 increase 1 ,queue 
+:      024034 search_uuid_nomatch:
+0x731b 024035 call sdp_get_data 
+0x731c 024036 iadd contr ,contr 
+0x731d 024037 branch search_uuid_next 
+:      024040 search_handle:
+0x731e 024041 fetch 2 ,memui_uuid_table 
+0x731f 024042 iforce contr 
+:      024043 search_handle_loop:
+0x7320 024044 ifetch 1 ,contr 
+0x7321 024045 rtn blank 
+0x7322 024046 lshift pdata ,pdata 
+0x7323 024047 iadd contr ,contr 
+0x7324 024048 ifetch 4 ,contr 
+0x7325 024049 isub temp ,null 
+0x7326 024050 rtn zero 
+0x7327 024051 call sdp_get_data 
+0x7328 024052 iadd contr ,contr 
+0x7329 024053 branch search_handle_loop 
+:      024060 search_attrib:
+0x732a 024061 set1 mark_ext_patch ,mark 
+0x732b 024062 bpatch patch3d_2 ,mem_patch3d 
+0x732c 024063 fetch 2 ,memui_uuid_table 
+0x732d 024064 iforce contr 
+:      024065 search_attrib_next:
+0x732e 024066 ifetch 1 ,contr 
+0x732f 024067 branch search_attrib_end ,blank 
+0x7330 024068 iforce loopcnt 
+:      024069 search_attrib_loop:
+0x7331 024070 ifetch 2 ,contr 
+0x7332 024071 isub regc ,null 
+0x7333 024072 branch search_attrib_found_uuid ,zero 
+0x7334 024073 loop search_attrib_loop 
+0x7335 024074 increase 4 ,contr 
+0x7336 024075 call sdp_get_data 
+0x7337 024076 iadd contr ,contr 
+0x7338 024077 branch search_attrib_next 
+:      024078 search_attrib_found_uuid:
+0x7339 024079 increase -1 ,loopcnt 
+0x733a 024080 lshift loopcnt ,pdata 
+0x733b 024081 iadd contr ,contr 
+0x733c 024082 increase 4 ,contr 
+0x733d 024083 call sdp_get_data 
+0x733e 024084 iadd contr ,temp 
+:      024085 search_attrib_loop_attribs:
+0x733f 024086 increase 1 ,contr 
+0x7340 024087 ifetch 2 ,contr 
+0x7341 024088 isub regb ,timeup 
+0x7342 024090 setflag zero ,0 ,pdata 
+0x7343 024091 copy timeup ,timeup 
+0x7344 024092 rtn zero 
+0x7345 024093 call sdp_data_len 
+0x7346 024094 iadd contr ,contr 
+0x7347 024095 deposit temp 
+0x7348 024096 isub contr ,null 
+0x7349 024097 branch search_attrib_end ,zero 
+0x734a 024098 branch search_attrib_loop_attribs 
+:      024099 search_attrib_end:
+0x734b 024100 force 0 ,contr 
+0x734c 024101 force 0 ,pdata 
+0x734d 024102 rtn 
+:      024108 search_handle_attrib:
+0x734e 024109 set1 mark_ext_patch ,mark 
+0x734f 024110 bpatch patch3d_3 ,mem_patch3d 
+0x7350 024111 fetch 2 ,memui_uuid_table 
+0x7351 024112 iforce contr 
+:      024113 search_handle_attrib_next:
+0x7352 024114 ifetch 1 ,contr 
+0x7353 024115 branch search_handle_attrib_end ,blank 
+0x7354 024116 lshift pdata ,pdata 
+0x7355 024117 iadd contr ,contr 
+0x7356 024118 ifetch 4 ,contr 
+0x7357 024119 isub temp ,null 
+0x7358 024120 branch search_handl_attrib_found_handle ,zero 
+0x7359 024121 call sdp_get_data 
+0x735a 024122 iadd contr ,contr 
+0x735b 024123 branch search_handle_attrib_next 
+:      024124 search_handl_attrib_found_handle:
+0x735c 024125 call sdp_get_data 
+0x735d 024126 iadd contr ,temp 
+:      024127 search_handle_attrib_loop_attribs:
+0x735e 024128 increase 1 ,contr 
+0x735f 024129 ifetch 2 ,contr 
+0x7360 024130 isub regb ,null 
+0x7361 024131 rtn zero 
+0x7362 024132 call sdp_data_len 
+0x7363 024133 iadd contr ,contr 
+0x7364 024134 deposit temp 
+0x7365 024135 isub contr ,null 
+0x7366 024136 branch search_handle_attrib_end ,zero 
+0x7367 024137 branch search_handle_attrib_loop_attribs 
+:      024138 search_handle_attrib_end:
+0x7368 024139 force 0 ,contr 
+0x7369 024140 rtn 
+:      024143 generate_kinit:
+0x736a 024144 call function_e22 
+0x736b 024145 arg mem_input_store ,contr 
+0x736c 024146 arg mem_kinit ,contw 
+0x736d 024147 branch memcpy16 
+:      024150 function_e21:
+0x736e 024151 disable user 
+0x736f 024152 call function_expand 
+0x7370 024153 arg mem_random_number ,contr 
+0x7371 024154 arg mem_x ,contw 
+0x7372 024155 force 15 ,loopcnt 
+0x7373 024156 call memcpy 
+0x7374 024157 ifetch 1 ,contr 
+0x7375 024158 xor_into 6 ,pdata 
+0x7376 024159 istore 1 ,contw 
+0x7377 024160 setarg mem_y 
+0x7378 024161 store 2 ,memp_ar_input 
+0x7379 024162 setarg mem_x 
+0x737a 024163 store 2 ,memp_ar_key 
+0x737b 024164 set1 mark_ar2 ,mark 
+0x737c 024165 branch function_ar 
+:      024169 function_e22:
+0x737d 024170 fetcht 1 ,mem_pin_length 
+0x737e 024171 force 16 ,regb 
+0x737f 024172 add temp ,6 ,regc 
+0x7380 024173 sub regc ,16 ,null 
+0x7381 024174 branch function_e22_pin_init ,positive 
+0x7382 024175 force 16 ,regc 
+:      024176 function_e22_pin_init:
+0x7383 024177 arg mem_x ,contw 
+:      024178 function_e22_genx_pin:
+0x7384 024179 arg mem_pin ,contr 
+0x7385 024180 copy temp ,loopcnt 
+0x7386 024181 disable user 
+:      024182 function_e22_genx_loop:
+0x7387 024183 ifetch 1 ,contr 
+0x7388 024184 istore 1 ,contw 
+0x7389 024185 increase -1 ,regb 
+0x738a 024186 branch function_e22_genx_end ,zero 
+0x738b 024187 loop function_e22_genx_loop 
+0x738c 024188 branch function_e22_genx_pin ,user 
+0x738d 024189 enable user 
+0x738e 024190 force 6 ,loopcnt 
+0x738f 024191 copy rega ,contr 
+0x7390 024192 branch function_e22_genx_loop 
+:      024193 function_e22_genx_end:
+0x7391 024194 arg mem_random_number ,contr 
+0x7392 024195 arg mem_y ,contw 
+0x7393 024196 call memcpy16 
+0x7394 024197 fetch 1 ,mem_y15 
+0x7395 024198 ixor regc ,pdata 
+0x7396 024199 store 1 ,mem_y15 
+0x7397 024200 setarg mem_y 
+0x7398 024201 store 2 ,memp_ar_input 
+0x7399 024202 setarg mem_x 
+0x739a 024203 store 2 ,memp_ar_key 
+0x739b 024204 set1 mark_ar2 ,mark 
+0x739c 024205 branch function_ar 
+:      024210 function_e1:
+0x739d 024211 disable user 
+0x739e 024212 call function_expand 
+0x739f 024213 branch function_hash 
+:      024215 function_e3:
+0x73a0 024216 arg mem_aco ,rega 
+0x73a1 024217 enable user 
+0x73a2 024218 call function_expand 
+0x73a3 024219 call function_hash 
+0x73a4 024220 arg mem_input_store ,contr 
+0x73a5 024221 arg mem_kc ,contw 
+0x73a6 024222 branch memcpy16 
+:      024225 function_hash:
+0x73a7 024226 setarg mem_random_number 
+0x73a8 024227 store 2 ,memp_ar_input 
+0x73a9 024228 setarg mem_link_key 
+0x73aa 024229 store 2 ,memp_ar_key 
+0x73ab 024230 set0 mark_ar2 ,mark 
+0x73ac 024231 call function_ar 
+0x73ad 024232 arg mem_input_store ,rega 
+0x73ae 024233 arg mem_random_number ,regb 
+0x73af 024234 arg mem_x ,contw 
+0x73b0 024235 call xor16 
+0x73b1 024236 arg mem_x ,rega 
+0x73b2 024237 arg mem_y ,regb 
+0x73b3 024238 copy regb ,contw 
+0x73b4 024239 enable user 
+0x73b5 024240 call add16 
+0x73b6 024241 call key_offset 
+0x73b7 024242 setarg mem_y 
+0x73b8 024243 store 2 ,memp_ar_input 
+0x73b9 024244 setarg mem_x 
+0x73ba 024245 store 2 ,memp_ar_key 
+0x73bb 024246 set1 mark_ar2 ,mark 
+0x73bc 024247 branch function_ar 
+:      024251 function_ar:
+0x73bd 024252 jam 0 ,mem_ar_hround 
+0x73be 024253 fetch 2 ,memp_ar_key 
+0x73bf 024254 iforce contr 
+0x73c0 024255 arg mem_key_store ,contw 
+0x73c1 024256 call memcpy16 
+0x73c2 024257 fetch 2 ,memp_ar_input 
+0x73c3 024258 iforce contr 
+0x73c4 024259 arg mem_input_store ,contw 
+0x73c5 024260 call memcpy16 
+:      024262 function_ar_loop:
+0x73c6 024263 call key_scheduling 
+0x73c7 024264 disable user 
+0x73c8 024265 bmark0 mark_ar2 ,function_ar_original 
+0x73c9 024266 fetch 1 ,mem_ar_hround 
+0x73ca 024267 bne 4 ,function_ar_original 
+0x73cb 024268 fetch 2 ,memp_ar_input 
+0x73cc 024269 iforce regb 
+0x73cd 024270 call xor_mod32_ar2 
+:      024271 function_ar_original:
+0x73ce 024272 call xor_mod32 
+0x73cf 024273 call el_boxes 
+0x73d0 024274 fetch 1 ,mem_ar_hround 
+0x73d1 024275 increase 1 ,pdata 
+0x73d2 024276 store 1 ,mem_ar_hround 
+0x73d3 024278 call key_scheduling 
+0x73d4 024279 enable user 
+0x73d5 024280 call xor_mod32 
+0x73d6 024281 call pht 
+0x73d7 024282 call permute 
+0x73d8 024283 call pht 
+0x73d9 024284 call permute 
+0x73da 024285 call pht 
+0x73db 024286 call permute 
+0x73dc 024287 call pht 
+0x73dd 024288 fetch 1 ,mem_ar_hround 
+0x73de 024289 increase 1 ,pdata 
+0x73df 024290 store 1 ,mem_ar_hround 
+0x73e0 024291 bne 16 ,function_ar_loop 
+0x73e1 024292 call key_scheduling 
+0x73e2 024293 disable user 
+0x73e3 024294 branch xor_mod32 
+:      024298 key_scheduling:
+0x73e4 024299 fetch 1 ,mem_ar_hround 
+0x73e5 024300 arg mem_key_store ,contr 
+0x73e6 024301 branch key_sched_zero ,blank 
+0x73e7 024302 iforce regb 
+0x73e8 024303 force 17 ,loopcnt 
+0x73e9 024304 copy contr ,contw 
+:      024305 key_rotateloop:
+0x73ea 024306 ifetch 1 ,contr 
+0x73eb 024307 lshift3 pdata ,temp 
+0x73ec 024308 rshift2 pdata ,pdata 
+0x73ed 024309 rshift3 pdata ,pdata 
+0x73ee 024310 ior temp ,pdata 
+0x73ef 024311 istore 1 ,contw 
+0x73f0 024312 loop key_rotateloop 
+0x73f1 024313 setarg mem_key_store 
+0x73f2 024314 iadd regb ,contr 
+0x73f3 024315 force 16 ,loopcnt 
+0x73f4 024316 arg mem_round_key ,contw 
+:      024317 key_select_octet_loop:
+0x73f5 024318 ifetch 1 ,contr 
+0x73f6 024319 istore 1 ,contw 
+0x73f7 024320 compare mem_key_store_end ,contr ,0xff 
+0x73f8 024321 nbranch key_select_octet_nwrap ,true 
+0x73f9 024322 increase -17 ,contr 
+:      024323 key_select_octet_nwrap:
+0x73fa 024324 loop key_select_octet_loop 
+0x73fb 024325 force 0 ,rega 
+0x73fc 024326 add regb ,-1 ,regc 
+0x73fd 024327 lshift2 regc ,regc 
+0x73fe 024328 lshift2 regc ,regc 
+0x73ff 024329 call enable_authrom 
+0x7400 024330 setarg mem_b_box 
+0x7401 024331 iadd regc ,regc 
+0x7402 024332 arg mem_round_key ,contw 
+0x7403 024333 force 16 ,loopcnt 
+:      024334 bias_round_key_loop:
+0x7404 024335 ifetcht 1 ,regc 
+0x7405 024336 ifetch 1 ,contw 
+0x7406 024337 iadd temp ,pdata 
+0x7407 024338 istore 1 ,contw 
+0x7408 024339 increase 1 ,regc 
+0x7409 024340 loop bias_round_key_loop 
+0x740a 024341 branch disable_authrom 
+:      024343 key_sched_zero:
+0x740b 024344 force 16 ,loopcnt 
+0x740c 024345 force 0 ,temp 
+:      024346 create_byte_16_loop:
+0x740d 024347 ifetch 1 ,contr 
+0x740e 024348 ixor temp ,temp 
+0x740f 024349 loop create_byte_16_loop 
+0x7410 024350 deposit temp 
+0x7411 024351 istore 1 ,contr 
+0x7412 024352 arg mem_key_store ,contr 
+0x7413 024353 arg mem_round_key ,contw 
+0x7414 024354 branch memcpy16 
+:      024356 xor_mod32:
+0x7415 024357 arg mem_round_key ,regb 
+:      024358 xor_mod32_ar2:
+0x7416 024359 force 16 ,loopcnt 
+0x7417 024360 arg mem_input_store ,rega 
+0x7418 024361 copy rega ,contw 
+:      024362 xor_mod32_loop:
+0x7419 024363 ifetcht 1 ,rega 
+0x741a 024364 ifetch 1 ,regb 
+0x741b 024365 ixor temp ,alarm 
+0x741c 024366 and loopcnt ,3 ,regc 
+0x741d 024367 nbranch xor_mod32_invert ,user 
+0x741e 024368 xor_into 3 ,regc 
+:      024369 xor_mod32_invert:
+0x741f 024370 sub regc ,1 ,regc 
+0x7420 024371 branch xor_even ,positive 
+0x7421 024372 iadd temp ,alarm 
+:      024373 xor_even:
+0x7422 024374 deposit alarm 
+0x7423 024375 istore 1 ,contw 
+0x7424 024376 increase 1 ,rega 
+0x7425 024377 increase 1 ,regb 
+0x7426 024378 loop xor_mod32_loop 
+0x7427 024379 rtn 
+:      024381 el_boxes:
+0x7428 024382 call enable_authrom 
+0x7429 024383 force 16 ,loopcnt 
+0x742a 024384 arg mem_input_store ,rega 
+:      024385 el_box_loop:
+0x742b 024386 ifetch 1 ,rega 
+0x742c 024387 arg mem_e_box ,contr 
+0x742d 024388 and loopcnt ,3 ,regc 
+0x742e 024389 sub regc ,1 ,null 
+0x742f 024390 branch e_boxes ,positive 
+0x7430 024391 arg mem_l_box ,contr 
+:      024392 e_boxes:
+0x7431 024393 iadd contr ,contr 
+0x7432 024394 ifetch 1 ,contr 
+0x7433 024395 istore 1 ,rega 
+0x7434 024396 increase 1 ,rega 
+0x7435 024397 loop el_box_loop 
+0x7436 024398 branch disable_authrom 
+:      024400 pht:
+0x7437 024401 force 8 ,loopcnt 
+0x7438 024402 arg mem_input_store ,contr 
+0x7439 024403 copy contr ,contw 
+:      024404 pht_loop:
+0x743a 024405 ifetch 1 ,contr 
+0x743b 024406 iforce rega 
+0x743c 024407 ifetch 1 ,contr 
+0x743d 024408 iforce regb 
+0x743e 024409 lshift rega ,pdata 
+0x743f 024410 iadd regb ,pdata 
+0x7440 024411 istore 1 ,contw 
+0x7441 024412 deposit rega 
+0x7442 024413 iadd regb ,pdata 
+0x7443 024414 istore 1 ,contw 
+0x7444 024415 loop pht_loop 
+0x7445 024416 rtn 
+:      024419 permute:
+0x7446 024420 setarg 0x8ae42c 
+0x7447 024421 iforce temp 
+0x7448 024422 force 7 ,loopcnt 
+0x7449 024423 call permute_exchange 
+0x744a 024424 setarg 0xd751b 
+0x744b 024425 iforce temp 
+0x744c 024426 force 5 ,loopcnt 
+0x744d 024427 call permute_exchange 
+0x744e 024428 fetch 1 ,mem_input_store + 15 
+0x744f 024429 iforce rega 
+0x7450 024430 fetch 1 ,mem_input_store + 3 
+0x7451 024431 store 1 ,mem_input_store + 15 
+0x7452 024432 deposit rega 
+0x7453 024433 store 1 ,mem_input_store + 3 
+0x7454 024434 rtn 
+:      024436 permute_exchange:
+0x7455 024437 and temp ,0xf ,regb 
+:      024438 permute_loop:
+0x7456 024439 and temp ,0xf ,pdata 
+0x7457 024440 arg mem_input_store ,contw 
+0x7458 024441 iadd contw ,contw 
+0x7459 024442 ifetch 1 ,contw 
+0x745a 024443 iforce regc 
+0x745b 024444 deposit rega 
+0x745c 024445 istore 1 ,contw 
+0x745d 024446 copy regc ,rega 
+0x745e 024447 rshift4 temp ,temp 
+0x745f 024448 loop permute_loop 
+0x7460 024449 setarg mem_input_store 
+0x7461 024450 iadd regb ,contw 
+0x7462 024451 deposit rega 
+0x7463 024452 istore 1 ,contw 
+0x7464 024453 rtn 
+:      024455 add16:
+0x7465 024456 enable user 
+0x7466 024457 branch xor_add16 
+:      024459 xor16:
+0x7467 024460 disable user 
+:      024461 xor_add16:
+0x7468 024462 force 16 ,loopcnt 
+:      024463 xoradd_loop:
+0x7469 024464 ifetcht 1 ,rega 
+0x746a 024465 ifetch 1 ,regb 
+0x746b 024466 branch xoradd_add ,user 
+0x746c 024467 ixor temp ,pdata 
+0x746d 024468 branch xoradd_store 
+:      024469 xoradd_add:
+0x746e 024470 iadd temp ,pdata 
+:      024471 xoradd_store:
+0x746f 024472 istore 1 ,contw 
+0x7470 024473 increase 1 ,rega 
+0x7471 024474 increase 1 ,regb 
+0x7472 024475 loop xoradd_loop 
+0x7473 024476 rtn 
+:      024479 function_expand:
+0x7474 024480 arg mem_y ,contw 
+0x7475 024481 ifetch 6 ,rega 
+0x7476 024482 istore 6 ,contw 
+0x7477 024483 branch expand_12 ,user 
+0x7478 024484 ifetch 6 ,rega 
+0x7479 024485 branch expand_cont 
+:      024486 expand_12:
+0x747a 024487 ifetch 6 ,contr 
+:      024488 expand_cont:
+0x747b 024489 istore 6 ,contw 
+0x747c 024490 ifetch 4 ,rega 
+0x747d 024491 istore 4 ,contw 
+0x747e 024492 rtn 
+:      024494 key_offset:
+0x747f 024495 arg mem_link_key ,contr 
+0x7480 024496 arg mem_x ,contw 
+0x7481 024497 arg 0 ,temp 
+0x7482 024498 setarg 0x8395a7 
+0x7483 024499 call concatenate_temp24 
+0x7484 024500 setarg 0xb3c1df 
+0x7485 024501 call concatenate_temp24 
+0x7486 024502 setarg 0xe5e9 
+0x7487 024503 call concatenate_temp16 
+0x7488 024504 copy temp ,regab 
+0x7489 024505 disable user 
+0x748a 024506 call key_addxor 
+0x748b 024507 copy regab ,temp 
+0x748c 024508 enable user 
+0x748d 024509 branch key_addxor 
+:      024511 key_addxor:
+0x748e 024512 force 8 ,loopcnt 
+:      024513 key_addxor_loop:
+0x748f 024514 ifetch 1 ,contr 
+0x7490 024515 compare 1 ,loopcnt ,1 
+0x7491 024516 branch key_high ,user 
+0x7492 024517 branch key_xor ,true 
+:      024518 key_add:
+0x7493 024519 iadd temp ,pdata 
+0x7494 024520 branch key_store 
+:      024521 key_high:
+0x7495 024522 branch key_add ,true 
+:      024523 key_xor:
+0x7496 024524 ixor temp ,pdata 
+:      024525 key_store:
+0x7497 024526 istore 1 ,contw 
+0x7498 024527 rshift8 temp ,temp 
+0x7499 024528 loop key_addxor_loop 
+0x749a 024529 rtn 
+:      024531 copy_aco:
+0x749b 024532 fetch 6 ,mem_input_store + 4 
+0x749c 024533 store 6 ,mem_aco 
+0x749d 024534 ifetch 6 ,contr 
+0x749e 024535 istore 6 ,contw 
+0x749f 024536 rtn 
+:      024538 concatenate_temp24:
+0x74a0 024539 lshift8 temp ,temp 
+:      024540 concatenate_temp16:
+0x74a1 024541 lshift16 temp ,temp 
+0x74a2 024542 ior temp ,temp 
+0x74a3 024543 rtn 
+:      024546 loop1:
+0x74a4 024547 branch loop1 
+:      024551 generate_stk:
+0x74a5 024552 call function_s1 
+0x74a6 024553 arg mem_le_ltk ,contw 
+0x74a7 024554 branch store_aes_result 
+:      024557 authenticate_rconfirm:
+0x74a8 024558 arg mem_le_srand ,contw 
+0x74a9 024559 branch authenticate_mconfirm ,master 
+0x74aa 024560 arg mem_le_mrand ,contw 
+:      024561 authenticate_mconfirm:
+0x74ab 024562 copy contr ,rega 
+0x74ac 024563 call memcpy16 
+0x74ad 024564 call function_c1 
+0x74ae 024565 arg mem_le_rconfirm ,contr 
+0x74af 024566 branch compare_res 
+:      024568 generate_confirm:
+0x74b0 024569 arg mem_le_mrand ,rega 
+0x74b1 024570 branch generate_mrand ,master 
+0x74b2 024571 arg mem_le_srand ,rega 
+:      024572 generate_mrand:
+0x74b3 024573 copy rega ,contw 
+0x74b4 024574 call generate_random 
+0x74b5 024575 branch function_c1 
+:      024577 generate_sk:
+0x74b6 024578 arg mem_le_skdm ,contr 
+0x74b7 024579 call load_data128 
+0x74b8 024580 arg mem_le_ltk ,contr 
+0x74b9 024581 call load_regext 
+0x74ba 024582 force 0x38 ,aes_ctrl 
+0x74bb 024583 force 0x0 ,aes_ctrl 
+0x74bc 024584 call wait_aes 
+0x74bd 024585 arg mem_le_sk ,contw 
+0x74be 024586 branch store_aes_result 
+:      024589 first_block_counter:
+0x74bf 024590 force 0x49 ,pdata 
+0x74c0 024591 branch first_block 
+:      024592 first_block_data:
+0x74c1 024593 force 1 ,pdata 
+:      024594 first_block:
+0x74c2 024595 force regidx_data ,regext_index 
+0x74c3 024596 lshift8 temp ,regext 
+0x74c4 024597 ior regext ,regext 
+0x74c5 024598 increase 1 ,regext_index 
+0x74c6 024599 rshift8 temp ,regext 
+0x74c7 024600 rshift16 regext ,regext 
+0x74c8 024601 fetch 2 ,mem_le_ivm 
+0x74c9 024602 lshift16 ,pdata ,pdata 
+0x74ca 024603 ior regext ,regext 
+0x74cb 024604 increase 1 ,regext_index 
+0x74cc 024605 ifetch 4 ,contr 
+0x74cd 024606 iforce regext 
+0x74ce 024607 increase 1 ,regext_index 
+0x74cf 024608 ifetch 2 ,contr 
+0x74d0 024609 byteswap rega ,regext 
+0x74d1 024610 lshift16 regext ,regext 
+0x74d2 024611 ior regext ,regext 
+0x74d3 024612 increase 1 ,regext_index 
+0x74d4 024613 rtn 
+:      024617 generate_mic:
+0x74d5 024618 add regc ,1 ,contr 
+0x74d6 024619 ifetch 1 ,contr 
+0x74d7 024620 iforce rega 
+0x74d8 024621 call first_block_counter 
+0x74d9 024622 call do_aes_ocb 
+0x74da 024624 force regidx_data ,regext_index 
+0x74db 024625 ifetch 1 ,regc 
+0x74dc 024626 and_into 0x3 ,pdata 
+0x74dd 024627 lshift16 pdata ,regext 
+0x74de 024628 set1 8 ,regext 
+0x74df 024629 call clear_hidata 
+0x74e0 024630 call do_aes_cbc 
+0x74e1 024632 copy rega ,loopcnt 
+0x74e2 024633 add regc ,2 ,contr 
+0x74e3 024634 call padding_data 
+:      024635 generate_mic_loop:
+0x74e4 024636 call aes_load_data 
+0x74e5 024637 call do_aes_cbc 
+0x74e6 024638 deposit loopcnt 
+0x74e7 024639 branch generate_mic_end ,blank 
+0x74e8 024640 branch generate_mic_loop 
+:      024641 generate_mic_end:
+0x74e9 024642 force regidx_result ,regext_index 
+0x74ea 024643 deposit regext 
+0x74eb 024644 store 4 ,mem_le_mic 
+0x74ec 024645 rtn 
+:      024647 aes_crypt_data:
+0x74ed 024648 increase 1 ,rega 
+0x74ee 024649 call first_block_data 
+0x74ef 024650 copy regc ,contr 
+0x74f0 024651 call aes_load_xor 
+0x74f1 024652 call do_aes_ctr 
+0x74f2 024653 call store_enc_data 
+0x74f3 024654 increase 16 ,regc 
+0x74f4 024655 increase -16 ,regb 
+0x74f5 024656 branch aes_crypt_data ,positive 
+0x74f6 024657 rtn 
+:      024659 le_encrypt:
+0x74f7 024660 arg mem_le_txheader ,regc 
+0x74f8 024661 fetcht 5 ,mem_le_pcnt_tx 
+0x74f9 024662 call generate_mic 
+0x74fa 024663 force regidx_xor ,regext_index 
+0x74fb 024664 iforce regext 
+0x74fc 024665 force 0 ,rega 
+0x74fd 024666 call first_block_data 
+0x74fe 024667 call do_aes_ctr 
+0x74ff 024668 arg mem_le_txpayload ,regc 
+0x7500 024669 fetch 1 ,mem_le_txlen 
+0x7501 024670 add pdata ,-1 ,regb 
+0x7502 024671 iadd regc ,contw 
+0x7503 024672 force regidx_result ,regext_index 
+0x7504 024673 deposit regext 
+0x7505 024674 istore 4 ,contw 
+0x7506 024675 call aes_crypt_data 
+0x7507 024676 fetch 1 ,mem_le_txlen 
+0x7508 024677 increase 4 ,pdata 
+0x7509 024678 store 1 ,mem_le_txlen 
+0x750a 024679 fetcht 5 ,mem_le_pcnt_tx 
+0x750b 024680 increase 1 ,temp 
+0x750c 024681 storet 5 ,mem_le_pcnt_tx 
+0x750d 024682 rtn 
+:      024684 le_decrypt:
+0x750e 024685 fetch 1 ,mem_le_rxbuf + 1 
+0x750f 024686 sub pdata ,20 ,null 
+0x7510 024687 branch le_dec_cont ,positive 
+:      024688 le_dec_cont:
+0x7511 024689 arg mem_le_rxbuf + 2 ,regc 
+0x7512 024690 add pdata ,-1 ,regb 
+0x7513 024691 increase -4 ,pdata 
+0x7514 024692 store 1 ,mem_le_rxbuf + 1 
+0x7515 024693 iadd regc ,contr 
+0x7516 024694 ifetch 4 ,contr 
+0x7517 024695 force regidx_xor ,regext_index 
+0x7518 024696 iforce regext 
+0x7519 024697 force 0 ,rega 
+0x751a 024698 fetcht 5 ,mem_le_pcnt_rx 
+0x751b 024699 call first_block_data 
+0x751c 024700 call do_aes_ctr 
+0x751d 024701 force regidx_result ,regext_index 
+0x751e 024702 deposit regext 
+0x751f 024703 store 4 ,mem_le_peer_mic 
+0x7520 024704 call aes_crypt_data 
+0x7521 024705 arg mem_le_rxbuf ,regc 
+0x7522 024706 call generate_mic 
+0x7523 024707 fetcht 4 ,mem_le_peer_mic 
+0x7524 024708 isub temp ,pdata 
+0x7525 024709 nrtn blank 
+0x7526 024710 fetch 4 ,mem_le_last_mic 
+0x7527 024711 isub temp ,pdata 
+0x7528 024712 rtn blank 
+0x7529 024713 storet 4 ,mem_le_last_mic 
+0x752a 024714 fetch 5 ,mem_le_pcnt_rx 
+0x752b 024715 increase 1 ,pdata 
+0x752c 024716 store 5 ,mem_le_pcnt_rx 
+0x752d 024717 force 0 ,pdata 
+0x752e 024718 rtn 
+:      024720 wait_aes:
+0x752f 024721 nbranch wait_aes ,aes_ready 
+0x7530 024722 rtn 
+:      024724 do_aes_ocb:
+0x7531 024725 force 0x30 ,aes_ctrl 
+0x7532 024726 force 0x0 ,aes_ctrl 
+0x7533 024727 branch wait_aes 
+:      024729 do_aes_cbc:
+0x7534 024730 force 0x32 ,aes_ctrl 
+0x7535 024731 force 0x2 ,aes_ctrl 
+0x7536 024732 branch wait_aes 
+:      024734 do_aes_ctr:
+0x7537 024735 force 0x34 ,aes_ctrl 
+0x7538 024736 force 0x4 ,aes_ctrl 
+0x7539 024737 branch wait_aes 
+:      024739 do_aes_cfb:
+0x753a 024740 force 0x36 ,aes_ctrl 
+0x753b 024741 force 0x6 ,aes_ctrl 
+0x753c 024742 branch wait_aes 
+:      024744 aes_init:
+0x753d 024745 force 1 ,aes_ctrl 
+0x753e 024746 force 0 ,aes_ctrl 
+0x753f 024747 rtn 
+:      024748 function_s1:
+0x7540 024749 force regidx_data ,regext_index 
+0x7541 024750 fetch 4 ,mem_le_mrand 
+0x7542 024751 iforce regext 
+0x7543 024752 increase 1 ,regext_index 
+0x7544 024753 ifetch 4 ,contr 
+0x7545 024754 iforce regext 
+0x7546 024755 increase 1 ,regext_index 
+0x7547 024756 fetch 4 ,mem_le_srand 
+0x7548 024757 iforce regext 
+0x7549 024758 increase 1 ,regext_index 
+0x754a 024759 ifetch 4 ,contr 
+0x754b 024760 iforce regext 
+0x754c 024761 increase 1 ,regext_index 
+0x754d 024762 call aes_clear 
+0x754e 024763 force 0x38 ,aes_ctrl 
+0x754f 024764 force 0x8 ,aes_ctrl 
+0x7550 024765 branch wait_aes 
+:      024768 function_c1:
+0x7551 024769 fetch 6 ,mem_le_lap 
+0x7552 024770 fetcht 6 ,mem_le_plap 
+0x7553 024771 branch function_c1_master ,master 
+0x7554 024772 fetch 6 ,mem_le_plap 
+0x7555 024773 fetcht 6 ,mem_le_lap 
+:      024774 function_c1_master:
+0x7556 024775 force regidx_xor ,regext_index 
+0x7557 024776 copy temp ,regext 
+0x7558 024777 increase 1 ,regext_index 
+0x7559 024778 rshift32 temp ,regext 
+0x755a 024779 lshift16 pdata ,pdata 
+0x755b 024780 ior regext ,regext 
+0x755c 024781 increase 1 ,regext_index 
+0x755d 024782 rshift32 pdata ,regext 
+0x755e 024783 increase 1 ,regext_index 
+0x755f 024784 force 0 ,regext 
+0x7560 024785 force 0 ,pdata 
+0x7561 024786 fetch 1 ,mem_le_conn_peer_addr_type 
+0x7562 024787 fetcht 1 ,mem_le_adv_own_addr_type 
+0x7563 024788 nbranch function_c1_irat ,master 
+0x7564 024790 fetch 1 ,mem_le_conn_own_addr_type 
+0x7565 024791 fetcht 1 ,mem_le_conn_peer_addr_type 
+:      024792 function_c1_irat:
+0x7566 024793 store 1 ,mem_le_iat 
+0x7567 024794 storet 1 ,mem_le_rat 
+0x7568 024795 force regidx_data ,regext_index 
+0x7569 024796 arg mem_le_iat ,regb 
+0x756a 024797 force 4 ,loopcnt 
+:      024798 function_c1_loop1:
+0x756b 024799 ifetch 4 ,rega 
+0x756c 024800 ifetcht 4 ,regb 
+0x756d 024801 ixor temp ,regext 
+0x756e 024802 increase 1 ,regext_index 
+0x756f 024803 increase 4 ,rega 
+0x7570 024804 increase 4 ,regb 
+0x7571 024805 loop function_c1_loop1 
+0x7572 024806 call aes_clear 
+0x7573 024807 force 0x38 ,aes_ctrl 
+0x7574 024808 force 0xc ,aes_ctrl 
+0x7575 024809 call wait_aes 
+0x7576 024811 call aes_clear_data 
+0x7577 024812 force 0x3a ,aes_ctrl 
+0x7578 024813 force 0x8 ,aes_ctrl 
+0x7579 024814 branch wait_aes 
+:      024816 padding_data:
+0x757a 024817 compare 0 ,loopcnt ,3 
+0x757b 024818 rtn true 
+0x757c 024819 deposit contr 
+0x757d 024820 iadd loopcnt ,contw 
+0x757e 024821 force 0 ,pdata 
+:      024822 padding_loop:
+0x757f 024823 istore 1 ,contw 
+0x7580 024824 increase 1 ,loopcnt 
+0x7581 024825 compare 0 ,loopcnt ,3 
+0x7582 024826 rtn true 
+0x7583 024827 branch padding_loop 
+:      024829 aes_load_data:
+0x7584 024830 force regidx_data ,regext_index 
+:      024831 load_data_loop:
+0x7585 024832 deposit loopcnt 
+0x7586 024833 branch load_data_padding ,blank 
+0x7587 024834 ifetch 4 ,contr 
+0x7588 024835 increase -4 ,loopcnt 
+:      024836 load_data_padding:
+0x7589 024837 iforce regext 
+0x758a 024838 increase 1 ,regext_index 
+0x758b 024839 compare regidx_key ,regext_index ,0xf 
+0x758c 024840 rtn true 
+0x758d 024841 branch load_data_loop 
+:      024843 aes_load_xor:
+0x758e 024844 force regidx_xor ,regext_index 
+0x758f 024845 branch load_regext 
+:      024846 load_key:
+0x7590 024847 force regidx_key ,regext_index 
+0x7591 024848 branch load_regext 
+:      024849 load_data128:
+0x7592 024850 force regidx_data ,regext_index 
+:      024851 load_regext:
+0x7593 024852 force 4 ,loopcnt 
+:      024853 load_regext_loop:
+0x7594 024854 ifetch 4 ,contr 
+0x7595 024855 iforce regext 
+0x7596 024856 increase 1 ,regext_index 
+0x7597 024857 loop load_regext_loop 
+0x7598 024858 rtn 
+:      024860 load_sk:
+0x7599 024861 arg mem_le_sk ,contr 
+0x759a 024862 branch load_key 
+:      024864 clear_hidata:
+0x759b 024865 force 4 ,loopcnt 
+0x759c 024866 branch clear_data_rest 
+:      024868 aes_clear_data:
+0x759d 024869 force regidx_data ,regext_index 
+:      024870 aes_clear:
+0x759e 024871 force 4 ,loopcnt 
+:      024872 clear_loop:
+0x759f 024873 force 0 ,regext 
+:      024874 clear_data_rest:
+0x75a0 024875 increase 1 ,regext_index 
+0x75a1 024876 loop clear_loop 
+0x75a2 024877 rtn 
+:      024879 store_aes_result:
+0x75a3 024880 force regidx_result ,regext_index 
+0x75a4 024881 force 4 ,loopcnt 
+:      024882 send_aes_result_loop:
+0x75a5 024883 deposit regext 
+0x75a6 024884 istore 4 ,contw 
+0x75a7 024885 increase 1 ,regext_index 
+0x75a8 024886 loop send_aes_result_loop 
+0x75a9 024887 rtn 
+:      024889 store_enc_data:
+0x75aa 024890 force regidx_result ,regext_index 
+0x75ab 024891 copy regc ,contw 
+0x75ac 024892 add regb ,1 ,loopcnt 
+0x75ad 024893 sub loopcnt ,15 ,null 
+0x75ae 024894 branch store_enc_loop ,positive 
+0x75af 024895 force 16 ,loopcnt 
+:      024896 store_enc_loop:
+0x75b0 024897 deposit regext 
+0x75b1 024898 sub loopcnt ,3 ,null 
+0x75b2 024899 branch store_enc_byte ,positive 
+0x75b3 024900 istore 4 ,contw 
+0x75b4 024901 increase -4 ,loopcnt 
+0x75b5 024902 rtn zero 
+0x75b6 024903 increase 1 ,regext_index 
+0x75b7 024904 branch store_enc_loop 
+:      024905 store_enc_byte:
+0x75b8 024906 istore 1 ,contw 
+0x75b9 024907 rshift8 pdata ,pdata 
+0x75ba 024908 loop store_enc_byte 
+0x75bb 024909 rtn 
+:      024912 compare_res:
+0x75bc 024913 force regidx_result ,regext_index 
+0x75bd 024914 force 4 ,loopcnt 
+:      024915 compare_res_loop:
+0x75be 024916 ifetch 4 ,contr 
+0x75bf 024917 isub regext ,null 
+0x75c0 024918 nrtn zero 
+0x75c1 024919 increase 1 ,regext_index 
+0x75c2 024920 loop compare_res_loop 
+0x75c3 024921 force 0 ,null 
+0x75c4 024922 rtn 
+:      024924 enable_authrom:
+0x75c5 024925 hfetch 1 ,core_clkoff 
+0x75c6 024926 set0 clock_off_auth_rom ,pdata 
+0x75c7 024927 hstore 1 ,core_clkoff 
+0x75c8 024928 rtn 
+:      024930 disable_authrom:
+0x75c9 024931 hfetch 1 ,core_clkoff 
+0x75ca 024932 set1 clock_off_auth_rom ,pdata 
+0x75cb 024933 hstore 1 ,core_clkoff 
+0x75cc 024934 rtn 
+:      024936 init_memp:
+0x75cd 024937 arg mem_p ,contw 
+0x75ce 024938 setsect 0 ,0x3ffff 
+0x75cf 024939 setsect 1 ,0x3ffff 
+0x75d0 024940 setsect 2 ,0x3ffff 
+0x75d1 024941 setsect 3 ,0x3fbff 
+0x75d2 024942 istore 9 ,contw 
+0x75d3 024943 setsect 0 ,0x3ffff 
+0x75d4 024944 setsect 1 ,0x3ffff 
+0x75d5 024945 setsect 2 ,0x3ffff 
+0x75d6 024946 setsect 3 ,0x3ffff 
+0x75d7 024947 istore 9 ,contw 
+0x75d8 024948 setsect 0 ,0x3ffff 
+0x75d9 024949 setsect 1 ,0x3ffff 
+0x75da 024950 setsect 2 ,0x3cfff 
+0x75db 024951 setsect 3 ,0x3ffff 
+0x75dc 024952 istore 9 ,contw 
+0x75dd 024953 setsect 0 ,0x3ffff 
+0x75de 024954 setsect 1 ,0x3ffff 
+0x75df 024955 setsect 2 ,0x3ffef 
+0x75e0 024956 setsect 3 ,0x3ffff 
+0x75e1 024957 istore 9 ,contw 
+0x75e2 024958 setsect 0 ,0x3ffff 
+0x75e3 024959 setsect 1 ,0x3ffff 
+0x75e4 024960 setsect 2 ,0x3ffff 
+0x75e5 024961 setsect 3 ,0x3ffff 
+0x75e6 024962 istore 9 ,contw 
+0x75e7 024963 setsect 0 ,0x3ffff 
+0x75e8 024964 setsect 1 ,0x26c7f 
+0x75e9 024965 setsect 2 ,0x146b 
+0x75ea 024966 setsect 3 ,0x37bb3 
+0x75eb 024967 istore 9 ,contw 
+0x75ec 024968 setsect 0 ,0x1feb8 
+0x75ed 024969 setsect 1 ,0x10c12 
+0x75ee 024970 setsect 2 ,0x2b722 
+0x75ef 024971 setsect 3 ,0x29fa6 
+0x75f0 024972 istore 9 ,contw 
+0x75f1 024973 setsect 0 ,0xe70f 
+0x75f2 024974 setsect 1 ,0x16720 
+0x75f3 024975 setsect 2 ,0x519e 
+0x75f4 024976 setsect 3 ,0x19084 
+0x75f5 024977 istore 9 ,contw 
+0x75f6 024978 setsect 0 ,0x31012 
+0x75f7 024979 setsect 1 ,0x360bf 
+0x75f8 024980 setsect 2 ,0x3f0af 
+0x75f9 024981 setsect 3 ,0x3d3 
+0x75fa 024982 istore 9 ,contw 
+0x75fb 024983 setsect 0 ,0x3a188 
+0x75fc 024984 setsect 1 ,0x3ad0 
+0x75fd 024985 setsect 2 ,0x3cbf2 
+0x75fe 024986 setsect 3 ,0x243d9 
+0x75ff 024987 istore 9 ,contw 
+0x7600 024988 setsect 0 ,0x2b030 
+0x7601 024989 setsect 1 ,0x36a03 
+0x7602 024990 setsect 2 ,0x11188 
+0x7603 024991 setsect 3 ,0x1e520 
+0x7604 024992 istore 9 ,contw 
+0x7605 024993 setsect 0 ,0x3a11e 
+0x7606 024994 setsect 1 ,0xfe5d 
+0x7607 024995 setsect 2 ,0xdd57 
+0x7608 024996 setsect 3 ,0x1ac93 
+0x7609 024997 istore 9 ,contw 
+0x760a 024998 setsect 0 ,0x11ed 
+0x760b 024999 setsect 1 ,0x218c4 
+0x760c 025000 setsect 2 ,0x8da7 
+0x760d 025001 setsect 3 ,0x257ff 
+0x760e 025002 istore 9 ,contw 
+0x760f 025003 setsect 0 ,0x3192b 
+0x7610 025004 setsect 1 ,0x34641 
+0x7611 025005 setsect 2 ,0x1be0c 
+0x7612 025006 setsect 3 ,0x366ad 
+0x7613 025007 istore 9 ,contw 
+0x7614 025008 setsect 0 ,0x1f83 
+0x7615 025009 setsect 1 ,0x15a23 
+0x7616 025010 setsect 2 ,0x3f9b0 
+0x7617 025011 setsect 3 ,0x3949 
+0x7618 025012 istore 9 ,contw 
+0x7619 025013 setsect 0 ,0x13a51 
+0x761a 025014 setsect 1 ,0x153fd 
+0x761b 025015 setsect 2 ,0x3372a 
+0x761c 025016 setsect 3 ,0xf1bb 
+0x761d 025017 istore 9 ,contw 
+0x761e 025018 setsect 0 ,0x3ae85 
+0x761f 025019 setsect 1 ,0x1eed9 
+0x7620 025020 setsect 2 ,0x9e66 
+0x7621 025021 setsect 3 ,0x1a8 
+0x7622 025022 istore 8 ,contw 
+0x7623 025023 rtn 
+:      025027 shutter_init:
+0x7624 025028 setarg shutter_send_process 
+0x7625 025029 store 2 ,mem_cb_bt_process 
+0x7626 025030 setarg shutter_process_idle 
+0x7627 025031 store 2 ,mem_cb_idle_process 
+0x7628 025032 setarg shutter_process_bb_event 
+0x7629 025033 store 2 ,mem_cb_bb_event_process 
+0x762a 025034 setarg shutter_process_lpm_before 
+0x762b 025035 store 2 ,mem_cb_before_lpm 
+0x762c 025036 setarg shutter_discovery_timeout_sleep 
+0x762d 025037 store 2 ,mem_cb_discovry_timeout 
+0x762e 025038 set1 mark_ext_patch ,mark 
+0x762f 025039 bpatch patch3f_1 ,mem_patch3f 
+0x7630 025040 rtn wake 
+0x7631 025042 hjam 0x00 ,core_gpio_sel1 
+0x7632 025043 call shutter_key_and_wake_gpio_setup 
+0x7633 025045 setarg shutter_before_hibernate 
+0x7634 025046 store 2 ,mem_cb_before_hibernate 
+0x7635 025048 jam flag_shutter_1key_send_null ,mem_shutter_1key_send_sm 
+0x7636 025049 jam 0 ,mem_shutter_key 
+0x7637 025050 jam flag_shutter_default ,mem_shutter_flag 
+0x7638 025051 setarg 0 
+0x7639 025052 store 4 ,mem_shutter_send_data 
+0x763a 025053 call app_check_reconn_target 
+0x763b 025054 branch app_bt_start_discovery_short ,blank 
+0x763c 025055 call app_led_on 
+0x763d 025056 call app_bt_stop_discovery 
+0x763e 025057 branch app_bt_start_reconnect 
+:      025059 shutter_key_and_wake_gpio_setup:
+0x763f 025060 fetcht 1 ,mem_shutter_iphonekey_gpio 
+0x7640 025061 call gpio_config_input 
+0x7641 025062 fetcht 1 ,mem_shutter_androidkey_gpio 
+0x7642 025063 branch gpio_config_input 
+:      025065 shutter_cancel_key_shake:
+0x7643 025066 set1 mark_ext_patch ,mark 
+0x7644 025067 bpatch patch3f_2 ,mem_patch3f 
+0x7645 025068 fetcht 4 ,mem_shutter_clkn_bt_last 
+0x7646 025069 deposit clkn_bt 
+0x7647 025070 store 4 ,mem_shutter_clkn_bt_last 
+0x7648 025071 isub temp ,pdata 
+0x7649 025072 nrtn positive 
+0x764a 025073 sub pdata ,200 ,pdata 
+0x764b 025074 rtn 
+:      025076 shutter_send_process:
+0x764c 025077 fetch 1 ,mem_hid_interrupt_state 
+0x764d 025078 rtnne 0x3f 
+:      025079 shutter_scan_key_start:
+0x764e 025080 set1 mark_ext_patch ,mark 
+0x764f 025081 bpatch patch3f_3 ,mem_patch3f 
+0x7650 025082 fetch 1 ,mem_device_option 
+0x7651 025083 rtnne dvc_op_shutter 
+0x7652 025084 disable user 
+0x7653 025085 call shutter_scan_key 
+0x7654 025086 nrtn user 
+0x7655 025087 disable user 
+0x7656 025088 fetch 1 ,mem_scan_mode 
+0x7657 025089 beq 0x03 ,shutter_reconnect_scan_2 
+0x7658 025091 fetch 1 ,mem_shutter_flag 
+0x7659 025092 beq flag_shutter_iphonekey_send ,shutter_iphonekey_release 
+0x765a 025093 beq flag_shutter_androidkey_send ,shutter_androidkey_release 
+0x765b 025094 call shutter_cancel_key_shake 
+0x765c 025095 branch shutter_send_process_end ,positive 
+0x765d 025097 fetch 1 ,mem_shutter_key 
+0x765e 025098 bbit1 flag_shutter_iphonekey_press ,shutter_iphonekey_press 
+0x765f 025099 bbit1 flag_shutter_androidkey_press ,shutter_androidkey_press 
+:      025101 shutter_send_process_end:
+0x7660 025102 jam 0 ,mem_shutter_key 
+0x7661 025103 jam flag_shutter_default ,mem_shutter_flag 
+0x7662 025104 rtn 
+:      025107 shutter_iphonekey_release:
+0x7663 025108 jam flag_shutter_default ,mem_shutter_flag 
+0x7664 025109 call ui_led_blink_stop 
+0x7665 025110 fetch 1 ,mem_shutter_key_number 
+0x7666 025111 beq flag_shutter_1key ,shutter_1key_iphonekey_release 
+:      025112 shutter_2key_iphonekey_release:
+:      025113 shutter_iphonekey_release_package:
+0x7667 025114 jam 0x05 ,mem_shutter_send_length 
+0x7668 025115 jam 0x03 ,mem_shutter_send_data 
+0x7669 025116 branch shutter_send_keydata 
+:      025117 shutter_1key_iphonekey_release:
+0x766a 025118 jam flag_shutter_1key_send_null ,mem_shutter_1key_send_sm 
+0x766b 025119 branch shutter_1key_send_step1 
+:      025121 shutter_1key_send_step1:
+0x766c 025122 jam flag_shutter_1key_send_step2 ,mem_shutter_1key_send_sm 
+0x766d 025123 branch shutter_androidkey_press_package 
+:      025124 shutter_1key_send_step2:
+0x766e 025125 jam flag_shutter_1key_send_step3 ,mem_shutter_1key_send_sm 
+0x766f 025126 branch shutter_androidkey_release_package 
+:      025127 shutter_1key_send_step3:
+0x7670 025128 jam flag_shutter_1key_send_step4 ,mem_shutter_1key_send_sm 
+0x7671 025129 branch shutter_iphonekey_press_package 
+:      025130 shutter_1key_send_step4:
+0x7672 025131 jam flag_shutter_1key_send_null ,mem_shutter_1key_send_sm 
+0x7673 025132 branch shutter_iphonekey_release_package 
+:      025134 shutter_iphonekey_press:
+0x7674 025135 jam flag_shutter_iphonekey_send ,mem_shutter_flag 
+0x7675 025136 call ui_led_on 
+0x7676 025137 fetch 1 ,mem_shutter_key_number 
+0x7677 025138 beq flag_shutter_1key ,shutter_1key_iphonekey_press 
+:      025139 shutter_2key_iphonekey_press:
+:      025140 shutter_iphonekey_press_package:
+0x7678 025141 jam 0x05 ,mem_shutter_send_length 
+0x7679 025142 setarg 0x20003 
+0x767a 025143 store 3 ,mem_shutter_send_data 
+0x767b 025144 branch shutter_send_keydata 
+:      025145 shutter_1key_iphonekey_press:
+0x767c 025146 rtn 
+:      025148 shutter_androidkey_release:
+0x767d 025149 jam flag_shutter_default ,mem_shutter_flag 
+0x767e 025150 call ui_led_blink_stop 
+:      025151 shutter_androidkey_release_package:
+0x767f 025152 jam 0x0a ,mem_shutter_send_length 
+0x7680 025153 jam 0x01 ,mem_shutter_send_data 
+0x7681 025154 branch shutter_send_keydata 
+:      025155 shutter_androidkey_press:
+0x7682 025156 jam flag_shutter_androidkey_send ,mem_shutter_flag 
+0x7683 025157 call ui_led_on 
+:      025158 shutter_androidkey_press_package:
+0x7684 025159 jam 0x0a ,mem_shutter_send_length 
+0x7685 025160 jam 0x01 ,mem_shutter_send_data 
+0x7686 025161 setarg 0x280000 
+0x7687 025162 store 3 ,mem_shutter_send_data + 1 
+:      025164 shutter_send_keydata:
+0x7688 025165 set1 mark_ext_patch ,mark 
+0x7689 025166 bpatch patch3f_4 ,mem_patch3f 
+0x768a 025167 fetch 1 ,mem_shutter_send_length 
+0x768b 025168 copy pdata ,rega 
+0x768c 025169 call hid_malloc_tx_buff 
+0x768d 025170 fetch 2 ,mem_hid_int_remote_cid 
+0x768e 025171 istore 2 ,contw 
+0x768f 025172 setarg 0xa1 
+0x7690 025173 istore 1 ,contw 
+0x7691 025174 fetcht 4 ,mem_shutter_send_data 
+0x7692 025175 istoret 8 ,contw 
+0x7693 025176 setarg 0 
+0x7694 025177 istore 1 ,contw 
+0x7695 025178 store 4 ,mem_shutter_send_data 
+0x7696 025180 fetch 1 ,mem_shutter_1key_send_sm 
+0x7697 025181 beq flag_shutter_1key_send_step2 ,shutter_1key_send_step2 
+0x7698 025182 beq flag_shutter_1key_send_step3 ,shutter_1key_send_step3 
+0x7699 025183 beq flag_shutter_1key_send_step4 ,shutter_1key_send_step4 
+0x769a 025184 rtn 
+:      025186 shutter_scan_key:
+0x769b 025187 fetcht 1 ,mem_shutter_iphonekey_gpio 
+0x769c 025188 call gpio_get_bit 
+0x769d 025189 setarg 0 
+0x769e 025190 setflag true ,flag_shutter_iphonekey_press ,pdata 
+0x769f 025191 store 1 ,mem_shutter_key_temp 
+0x76a0 025192 fetcht 1 ,mem_shutter_androidkey_gpio 
+0x76a1 025193 call gpio_get_bit 
+0x76a2 025194 setarg 0 
+0x76a3 025195 setflag true ,flag_shutter_androidkey_press ,pdata 
+0x76a4 025196 fetcht 1 ,mem_shutter_key_temp 
+0x76a5 025197 ior temp ,pdata 
+0x76a6 025198 fetcht 1 ,mem_shutter_key 
+0x76a7 025199 store 1 ,mem_shutter_key 
+0x76a8 025200 ixor temp ,null 
+0x76a9 025201 rtn zero 
+0x76aa 025202 enable user 
+0x76ab 025203 rtn 
+:      025205 shutter_process_bb_event:
+0x76ac 025206 copy regc ,pdata 
+0x76ad 025207 beq bt_evt_setup_complete ,shutter_bb_event_setup_complete 
+0x76ae 025208 beq bt_evt_hid_connected ,shutter_bb_event_hid_connected 
+0x76af 025209 beq bt_evt_hid_disconnected ,shutter_bb_event_hid_disconn 
+0x76b0 025210 beq bt_evt_virtual_cable_unplug ,shutter_bb_event_unplug 
+0x76b1 025211 beq bt_evt_bb_disconnected ,shutter_bb_event_bb_disconn 
+0x76b2 025212 beq bt_evt_reconn_failed ,shutter_bb_event_reconn_failed 
+0x76b3 025213 beq bt_evt_reconn_page_timeout ,shutter_bb_event_reconn_failed 
+0x76b4 025214 beq bt_evt_bb_connected ,shutter_process_bb_conn 
+0x76b5 025215 beq bt_evt_hid_handshake ,shutter_event_hid_handshake 
+0x76b6 025216 beq bt_evt_remote_unsniff ,app_start_auto_sniff 
+0x76b7 025217 and pdata ,0x0f ,temp 
+0x76b8 025218 and_into bt_evt_timer_mask ,pdata 
+0x76b9 025219 beq bt_evt_timer_init ,shutter_bb_event_timer 
+0x76ba 025220 rtn 
+:      025222 shutter_hid_handshake_timer:
+0x76bb 025223 fetch 1 ,mem_hid_handshake_timer_count 
+0x76bc 025224 rtn blank 
+0x76bd 025225 increase -1 ,pdata 
+0x76be 025226 store 1 ,mem_hid_handshake_timer_count 
+0x76bf 025227 nrtn blank 
+:      025228 shutter_event_hid_handshake:
+0x76c0 025229 jam app_handshake_done ,mem_app_handshake_flag 
+0x76c1 025230 call app_lpm_mult_enable 
+0x76c2 025231 call app_bt_store_reconn_info 
+0x76c3 025232 call app_bt_stop_discovery 
+0x76c4 025233 call app_led_off 
+0x76c5 025234 branch app_bt_enter_sniff 
+:      025237 shutter_process_bb_conn:
+0x76c6 025238 jam 0 ,mem_shutter_hid_disconn_count 
+0x76c7 025239 jam 0 ,mem_shutter_cable_unplug_conut 
+0x76c8 025240 rtn 
+:      025242 shutter_bb_event_bb_disconn:
+0x76c9 025243 set1 mark_ext_patch ,mark 
+0x76ca 025244 bpatch patch3f_5 ,mem_patch3f 
+0x76cb 025245 jam 0 ,mem_unsniff2sniff_timer_count 
+0x76cc 025246 jam 0 ,mem_shutter_cable_unplug_conut 
+0x76cd 025247 jam 0 ,mem_shutter_hid_disconn_count 
+0x76ce 025248 fetch app_disc_rsn_size ,mem_app_disconn_reason 
+0x76cf 025249 bbit0 app_disc_after_sniff ,shutter_check_pairing 
+:      025250 shutter_bb_event_reconn_failed:
+0x76d0 025252 fetch 2 ,mem_discovery_timeout 
+0x76d1 025253 store 2 ,mem_discovery_timeout_timer_count 
+:      025254 shutter_discovery_on_not_renew_timer:
+0x76d2 025255 call app_disconn_reason_clear 
+0x76d3 025256 branch app_bt_start_discovery_led_blink 
+:      025258 shutter_check_pairing:
+0x76d4 025259 bbit0 app_disc_after_pairing ,shutter_check_reconn 
+0x76d5 025260 branch shutter_bb_event_reconn_failed 
+:      025262 shutter_check_reconn:
+0x76d6 025263 bbit0 app_disc_after_reconn ,shutter_discovery_on_not_renew_timer 
+0x76d7 025264 branch shutter_bb_event_reconn_failed 
+:      025267 shutter_bb_event_setup_complete:
+0x76d8 025268 call app_bt_stop_discovery 
+0x76d9 025269 branch app_led_stop_blink 
+:      025271 shutter_bb_event_hid_connected:
+0x76da 025272 setarg hid_handshake_timeout 
+0x76db 025273 store 1 ,mem_hid_handshake_timer_count 
+0x76dc 025274 rtn 
+:      025276 shutter_bb_event_hid_disconn:
+0x76dd 025277 jam 0 ,mem_shutter_cable_unplug_conut 
+0x76de 025278 setarg flag_shutter_hid_disconn_timeout 
+0x76df 025279 store 1 ,mem_shutter_hid_disconn_count 
+0x76e0 025280 rtn 
+:      025282 shutter_bb_event_unplug:
+0x76e1 025283 setarg flag_shutter_cable_unplug_timeout 
+0x76e2 025284 store 1 ,mem_shutter_cable_unplug_conut 
+0x76e3 025285 rtn 
+:      025287 shutter_bb_event_timer:
+0x76e4 025288 set1 mark_ext_patch ,mark 
+0x76e5 025289 bpatch patch3f_6 ,mem_patch3f 
+0x76e6 025290 storet 1 ,mem_app_evt_timer_count 
+:      025291 shutter_bb_event_100ms_loop:
+0x76e7 025292 fetch 1 ,mem_app_evt_timer_count 
+0x76e8 025293 rtn blank 
+0x76e9 025294 increase -1 ,pdata 
+0x76ea 025295 store 1 ,mem_app_evt_timer_count 
+0x76eb 025296 call shutter_check_unplug_timer 
+0x76ec 025297 call shutter_hid_handshake_timer 
+0x76ed 025298 call shutter_check_hid_disconn_timer 
+0x76ee 025299 branch shutter_bb_event_100ms_loop 
+:      025301 shutter_check_unplug_timer:
+0x76ef 025302 fetch 1 ,mem_shutter_cable_unplug_conut 
+0x76f0 025303 rtn blank 
+0x76f1 025304 fetch 1 ,mem_shutter_cable_unplug_conut 
+0x76f2 025305 increase -1 ,pdata 
+0x76f3 025306 store 1 ,mem_shutter_cable_unplug_conut 
+0x76f4 025307 nrtn blank 
+0x76f5 025308 fetch 1 ,mem_control_tasks 
+0x76f6 025309 set1 l2cap_disconnect_interrupt ,pdata 
+0x76f7 025310 set1 l2cap_disconnect_control ,pdata 
+0x76f8 025311 store 1 ,mem_control_tasks 
+0x76f9 025312 rtn 
+:      025314 shutter_check_hid_disconn_timer:
+0x76fa 025315 fetch 1 ,mem_shutter_hid_disconn_count 
+0x76fb 025316 rtn blank 
+0x76fc 025317 fetch 1 ,mem_shutter_hid_disconn_count 
+0x76fd 025318 increase -1 ,pdata 
+0x76fe 025319 store 1 ,mem_shutter_hid_disconn_count 
+0x76ff 025320 nrtn blank 
+0x7700 025321 branch app_bt_disconnect 
+:      025323 shutter_reconnect_scan:
+0x7701 025324 set1 mark_ext_patch ,mark 
+0x7702 025325 bpatch patch3f_7 ,mem_patch3f 
+0x7703 025326 fetch 1 ,mem_scan_mode 
+0x7704 025327 rtnne 0x03 
+0x7705 025328 branch shutter_scan_key_start 
+:      025329 shutter_reconnect_scan_2:
+0x7706 025330 call shutter_cancel_key_shake 
+0x7707 025331 rtn positive 
+0x7708 025332 fetch 1 ,mem_shutter_key 
+0x7709 025333 rtn blank 
+0x770a 025334 call app_check_reconn_target 
+0x770b 025335 branch app_bt_start_discovery_short ,blank 
+0x770c 025336 call app_led_on 
+0x770d 025337 call app_bt_stop_discovery 
+0x770e 025338 branch app_bt_start_reconnect 
+:      025341 shutter_process_idle:
+0x770f 025342 branch shutter_reconnect_scan 
+:      025345 shutter_process_lpm_before:
+0x7710 025346 fetcht 1 ,mem_shutter_iphonekey_gpio 
+0x7711 025347 call gpio_set_wake_by_current_state 
+0x7712 025348 fetch 1 ,mem_shutter_key_number 
+0x7713 025349 bne flag_shutter_1key ,shutter_process_lpm_before_key2 
+0x7714 025350 rtn 
+:      025351 shutter_process_lpm_before_key2:
+0x7715 025352 fetcht 1 ,mem_shutter_androidkey_gpio 
+0x7716 025353 branch gpio_set_wake_by_current_state 
+:      025355 shutter_before_hibernate:
+0x7717 025356 branch shutter_key_and_wake_gpio_setup 
+:      025359 shutter_discovery_timeout_sleep:
+0x7718 025360 branch app_enter_hibernate 
+:      025364 sp_initialize:
+0x7719 025365 set1 mark_ext_patch ,mark 
+0x771a 025366 bpatch patch3e_2 ,mem_patch3e 
+0x771b 025367 fetch 1 ,mem_ssp_enable 
+0x771c 025368 branch ssp_disable ,blank 
+0x771d 025369 call ssp_enable 
+0x771e 025370 setarg 0 
+0x771f 025371 store 8 ,mem_sp_state_start 
+0x7720 025372 store 4 ,mem_sp_flag_start 
+0x7721 025374 arg mem_sp_iocap_remote ,contw 
+0x7722 025375 istore 7 ,contw 
+0x7723 025376 jam default_statemachine ,mem_sp_localsm 
+0x7724 025377 branch sp_pubkey_calc 
+:      025379 sp_generate_local_key:
+0x7725 025380 jam sp_flag_commit ,mem_sp_flag 
+0x7726 025381 branch sp_generate_local_key0 
+:      025382 sp_master_generate_local_key:
+0x7727 025383 fetch 1 ,mem_sp_local_key_invalid 
+0x7728 025384 beq sp_key_valid ,sp_dhkey_calc 
+0x7729 025385 branch assert 
+:      025386 sp_generate_local_key0:
+0x772a 025387 fetch 1 ,mem_sp_local_key_invalid 
+0x772b 025388 beq sp_key_valid ,sp_start_send_pubkey 
+0x772c 025389 branch sp_pubkey_calc 
+:      025391 sp_start_send_pubkey:
+0x772d 025392 call sp_dhkey_calc 
+0x772e 025393 fetch 1 ,mem_master_sp_state 
+0x772f 025394 nrtn blank 
+0x7730 025395 jam sp_stat_key_send ,mem_sp_state 
+0x7731 025396 rtn 
+:      025398 sp_calculate_commitment:
+0x7732 025399 fetch 1 ,mem_sp_calc 
+0x7733 025400 bne sp_calc_standby ,sp_calculate_commitment_wait_dhkey_calc 
+0x7734 025401 call sp_local_random_key_generator 
+0x7735 025402 arg mem_sp_prarm_stack ,contw 
+0x7736 025403 setarg mem_sp_random_local_end 
+0x7737 025404 istore 2 ,contw 
+0x7738 025405 setarg mem_sp_pubkey_local_x_end 
+0x7739 025406 istore 2 ,contw 
+0x773a 025407 setarg mem_sp_pubkey_remote_x_end 
+0x773b 025408 istore 2 ,contw 
+0x773c 025409 branch sp_calculate_commitment0 
+:      025410 master_sp_calculate_commitment:
+0x773d 025411 arg mem_sp_prarm_stack ,contw 
+0x773e 025412 setarg mem_sp_random_remote_end 
+0x773f 025413 istore 2 ,contw 
+0x7740 025414 setarg mem_sp_pubkey_remote_x_end 
+0x7741 025415 istore 2 ,contw 
+0x7742 025416 setarg mem_sp_pubkey_local_x_end 
+0x7743 025417 istore 2 ,contw 
+:      025418 sp_calculate_commitment0:
+0x7744 025419 call function_f1 
+0x7745 025420 fetch 1 ,mem_master_sp_state 
+0x7746 025421 beq sp_stat_commit_calc ,master_sp_calculate_commitment0 
+0x7747 025422 jam sp_flag_commit ,mem_sp_flag 
+0x7748 025423 jam sp_stat_commit_send ,mem_sp_state 
+0x7749 025424 rtn 
+:      025425 master_sp_calculate_commitment0:
+0x774a 025426 jam sp_stat_commitment_compare ,mem_master_sp_state 
+0x774b 025427 call sp_master_generate_local_key 
+0x774c 025428 branch master_set_mem_master_sp_flag 
+:      025430 sp_local_random_key_generator:
+0x774d 025431 arg mem_sp_random_local ,contw 
+0x774e 025432 force 8 ,queue 
+0x774f 025433 branch random_generator 
+:      025435 sp_calculate_commitment_wait_dhkey_calc:
+0x7750 025436 jam sp_flag_commit ,mem_sp_flag 
+0x7751 025437 rtn 
+:      025439 sp_confirm_check:
+0x7752 025441 arg mem_addr_value ,contw 
+0x7753 025442 fetch 6 ,mem_lap 
+0x7754 025443 istore 6 ,contw 
+0x7755 025444 fetch 6 ,mem_plap 
+0x7756 025445 istore 6 ,contw 
+0x7757 025446 fetch 3 ,mem_sp_iocap_remote 
+0x7758 025447 istore 3 ,contw 
+0x7759 025449 call function_f3a 
+0x775a 025451 arg mem_sp_calc_result_high ,rega 
+0x775b 025452 arg mem_sp_check_result ,regb 
+0x775c 025453 force 4 ,queue 
+0x775d 025454 call compare4 
+0x775e 025455 nbranch sp_confirm_check_failed ,true 
+:      025457 sp_confirm_check_success:
+0x775f 025458 fetch 1 ,mem_master_sp_state 
+0x7760 025459 beq sp_stat_confirm_check ,sp_confirm_check_success_master 
+0x7761 025460 jam sp_stat_confirm_calc ,mem_sp_state 
+0x7762 025461 jam sp_flag_commit ,mem_sp_flag 
+0x7763 025462 jam lmp_accepted ,mem_lmo_opcode2 
+0x7764 025463 rtn 
+:      025464 sp_confirm_check_success_master:
+0x7765 025465 jam lmp_accepted ,mem_lmo_opcode2 
+0x7766 025466 jam sp_state_end ,mem_master_sp_state 
+0x7767 025467 branch master_set_mem_master_sp_flag 
+:      025470 sp_confirm_check_failed:
+0x7768 025471 fetch 1 ,mem_master_sp_state 
+0x7769 025472 beq sp_stat_confirm_check ,sp_confirm_check_failed_master 
+0x776a 025473 jam sp_stat_null ,mem_sp_state 
+0x776b 025474 jam lmp_not_accepted ,mem_lmo_opcode2 
+0x776c 025476 jam authentication_failure_error ,mem_lmo_reason2 
+0x776d 025477 rtn 
+:      025478 sp_confirm_check_failed_master:
+0x776e 025479 jam lmp_not_accepted ,mem_lmo_opcode2 
+0x776f 025480 jam sp_stat_null ,mem_master_sp_state 
+0x7770 025481 rtn 
+:      025483 sp_confirm_calc:
+0x7771 025484 fetch 1 ,mem_sp_dh_ready 
+0x7772 025485 beq sp_flag_commit ,sp_confirm_calc_ready 
+0x7773 025486 jam sp_stat_confirm_calc ,mem_master_sp_state 
+0x7774 025487 branch master_set_mem_master_sp_flag 
+:      025488 sp_confirm_calc_ready:
+0x7775 025489 arg mem_addr_value ,contw 
+0x7776 025490 fetch 6 ,mem_plap 
+0x7777 025491 istore 6 ,contw 
+0x7778 025492 fetch 6 ,mem_lap 
+0x7779 025493 istore 6 ,contw 
+0x777a 025494 fetch 3 ,mem_sp_iocap_local 
+0x777b 025495 istore 3 ,contw 
+0x777c 025497 call function_f3b 
+0x777d 025498 fetch 1 ,mem_master_sp_state 
+0x777e 025499 beq sp_stat_confirm_calc ,sp_confirm_calc_master 
+0x777f 025500 jam sp_stat_confirm_send ,mem_sp_state 
+0x7780 025501 jam sp_flag_commit ,mem_sp_flag 
+0x7781 025502 rtn 
+:      025503 sp_confirm_calc_master:
+0x7782 025504 jam sp_stat_confirm_send ,mem_master_sp_state 
+0x7783 025505 jam sp_flag_commit ,mem_master_sp_flag 
+0x7784 025506 rtn 
+:      025508 sp_master_key_prarm_push:
+0x7785 025509 arg mem_sp_prarm_stack ,contw 
+0x7786 025510 fetch 6 ,mem_plap 
+0x7787 025511 istore 6 ,contw 
+0x7788 025512 fetch 6 ,mem_lap 
+0x7789 025513 istore 6 ,contw 
+0x778a 025514 setarg mem_sp_random_local_end 
+0x778b 025515 istore 2 ,contw 
+0x778c 025516 setarg mem_sp_random_remote_end 
+0x778d 025517 istore 2 ,contw 
+0x778e 025518 branch sp_link_key_calc 
+:      025519 sp_link_key_prarm_push:
+0x778f 025520 jam sp_stat_done ,mem_sp_state 
+0x7790 025521 arg mem_sp_prarm_stack ,contw 
+0x7791 025522 fetch 6 ,mem_lap 
+0x7792 025523 istore 6 ,contw 
+0x7793 025524 fetch 6 ,mem_plap 
+0x7794 025525 istore 6 ,contw 
+0x7795 025526 setarg mem_sp_random_remote_end 
+0x7796 025527 istore 2 ,contw 
+0x7797 025528 setarg mem_sp_random_local_end 
+0x7798 025529 istore 2 ,contw 
+:      025530 sp_link_key_calc:
+0x7799 025532 arg mem_addr_value ,contw 
+0x779a 025533 fetch 6 ,mem_sp_prarm_stack 
+0x779b 025534 istore 6 ,contw 
+0x779c 025535 fetch 6 ,mem_sp_prarm_stack + 6 
+0x779d 025536 istore 6 ,contw 
+0x779e 025538 call function_f2 
+0x779f 025541 jam 1 ,mem_link_key_exists 
+0x77a0 025542 arg mem_link_key ,contw 
+0x77a1 025543 arg mem_sp_calc_result_high ,contr 
+0x77a2 025544 call memcpy16 
+0x77a3 025545 branch generate_linkkey_continue 
+:      025548 sp_pubkey_calc:
+0x77a4 025549 set1 mark_ext_patch ,mark 
+0x77a5 025550 bpatch patch3e_3 ,mem_patch3e 
+0x77a6 025551 fetch 1 ,mem_sp_local_key_invalid 
+0x77a7 025552 rtnne sp_key_invalid 
+0x77a8 025553 fetch 1 ,mem_sp_calc 
+0x77a9 025554 rtnne sp_calc_standby 
+0x77aa 025555 arg mem_sp_private_key ,contw 
+0x77ab 025556 force 11 ,queue 
+0x77ac 025557 call random_generator 
+0x77ad 025558 random pdata 
+0x77ae 025559 rshift pdata ,pdata 
+0x77af 025560 istore 2 ,contw 
+0x77b0 025562 arg mem_k ,contw 
+0x77b1 025563 arg mem_sp_private_key ,contr 
+0x77b2 025564 call memcpy24 
+0x77b3 025566 arg mem_ax ,contw 
+0x77b4 025567 arg mem_gx ,contr 
+0x77b5 025568 call memcpy48 
+0x77b6 025570 arg mem_az ,contw 
+0x77b7 025571 call bn_zero 
+0x77b8 025572 jam 1 ,mem_az 
+0x77b9 025574 call eckp_calc_init 
+0x77ba 025575 jam sp_calc_pubkey ,mem_sp_calc 
+0x77bb 025576 rtn 
+:      025578 sp_pubkey_generated:
+0x77bc 025579 arg mem_sp_pubkey_local ,contw 
+0x77bd 025580 arg mem_bx ,contr 
+0x77be 025581 call memcpy48 
+0x77bf 025582 jam sp_key_valid ,mem_sp_local_key_invalid 
+0x77c0 025583 jam sp_calc_standby ,mem_sp_calc 
+0x77c1 025584 rtn 
+:      025586 sp_dhkey_calc:
+0x77c2 025587 set1 mark_ext_patch ,mark 
+0x77c3 025588 bpatch patch3e_4 ,mem_patch3e 
+0x77c4 025589 fetch 1 ,mem_sp_dhkey_invalid 
+0x77c5 025590 rtnne sp_key_invalid 
+0x77c6 025591 fetch 1 ,mem_sp_calc 
+0x77c7 025592 rtnne sp_calc_standby 
+0x77c8 025594 arg mem_k ,contw 
+0x77c9 025595 arg mem_sp_private_key ,contr 
+0x77ca 025596 call memcpy24 
+0x77cb 025598 arg mem_ax ,contw 
+0x77cc 025599 arg mem_sp_pubkey_remote ,contr 
+0x77cd 025600 call memcpy48 
+0x77ce 025602 arg mem_az ,contw 
+0x77cf 025603 call bn_zero 
+0x77d0 025604 jam 1 ,mem_az 
+0x77d1 025606 call eckp_calc_init 
+0x77d2 025607 jam sp_calc_dhkey ,mem_sp_calc 
+0x77d3 025608 rtn 
+:      025610 sp_dhkey_generated:
+0x77d4 025611 jam sp_flag_commit ,mem_sp_dh_ready 
+0x77d5 025612 arg mem_sp_dhkey ,contw 
+0x77d6 025613 arg mem_bx ,contr 
+0x77d7 025614 call memcpy24 
+0x77d8 025615 jam sp_key_valid ,mem_sp_dhkey_invalid 
+0x77d9 025616 jam sp_calc_standby ,mem_sp_calc 
+0x77da 025617 rtn 
+:      025619 random_generator:
+0x77db 025620 increase -1 ,queue 
+0x77dc 025621 nrtn positive 
+0x77dd 025622 random pdata 
+0x77de 025623 istore 2 ,contw 
+0x77df 025624 branch random_generator 
+:      025625 compare4:
+0x77e0 025626 increase -1 ,queue 
+0x77e1 025627 nbranch compare4_success ,positive 
+0x77e2 025628 ifetch 4 ,rega 
+0x77e3 025629 copy pdata ,temp 
+0x77e4 025630 ifetch 4 ,regb 
+0x77e5 025631 iflip temp ,pdata 
+0x77e6 025632 nbranch compare4_failed ,zero 
+0x77e7 025633 increase 4 ,rega 
+0x77e8 025634 increase 4 ,regb 
+0x77e9 025635 branch compare4 
+:      025636 compare4_failed:
+0x77ea 025637 disable true 
+0x77eb 025638 rtn 
+:      025639 compare4_success:
+0x77ec 025640 enable true 
+0x77ed 025641 rtn 
+:      025648 simple_pairing_sequence:
+0x77ee 025649 set1 mark_ext_patch ,mark 
+0x77ef 025650 bpatch patch3e_5 ,mem_patch3e 
+0x77f0 025651 fetch 1 ,mem_sp_flag 
+0x77f1 025652 rtn blank 
+0x77f2 025653 jam sp_flag_standby ,mem_sp_flag 
+0x77f3 025654 fetch 1 ,mem_sp_state 
+0x77f4 025655 beq sp_stat_key_send ,sp_send_lmp_encapsulated_header 
+0x77f5 025656 beq sp_stat_commit_send ,sp_send_lmp_simple_pairing_comfirm 
+0x77f6 025657 beq sp_stat_random_send ,sp_send_lmp_simple_pairing_number 
+0x77f7 025658 beq sp_stat_confirm_send ,sp_send_lmp_dhkey_check 
+0x77f8 025659 beq sp_stat_key_generate ,sp_generate_local_key 
+0x77f9 025660 beq sp_stat_commit_calc ,sp_calculate_commitment 
+0x77fa 025661 beq sp_stat_confirm_check ,sp_confirm_check 
+0x77fb 025662 beq sp_stat_confirm_calc ,sp_confirm_calc 
+0x77fc 025663 beq sp_stat_link_key_calc ,sp_link_key_prarm_push 
+0x77fd 025665 rtn 
+:      025667 master_simple_paring_sequence:
+0x77fe 025668 set1 mark_ext_patch ,mark 
+0x77ff 025669 bpatch patch3e_6 ,mem_patch3e 
+0x7800 025670 fetch 1 ,mem_master_sp_flag 
+0x7801 025671 rtn blank 
+0x7802 025672 jam sp_flag_standby ,mem_master_sp_flag 
+0x7803 025673 fetch 1 ,mem_master_sp_state 
+0x7804 025674 beq sp_master_stat_start_skip ,sp_master_send_io_cap_get 
+0x7805 025675 beq sp_master_stat_start_done ,sp_master_send_io_cap_send 
+0x7806 025676 beq sp_stat_key_send ,sp_master_send_lmp_encapsulated_header 
+0x7807 025677 beq sp_stat_commit_calc ,master_sp_calculate_commitment 
+0x7808 025678 beq sp_stat_commitment_compare ,sp_master_commitment_compare 
+0x7809 025679 beq sp_stat_random_send ,sp_master_send_lmp_simple_pairing_number 
+0x780a 025680 beq sp_stat_confirm_calc ,sp_confirm_calc 
+0x780b 025681 beq sp_stat_confirm_send ,master_sp_send_lmp_dhkey_check 
+0x780c 025682 beq sp_stat_confirm_check ,sp_confirm_check 
+0x780d 025683 beq sp_state_end ,master_sp_sm_end 
+0x780e 025684 rtn 
+:      025686 master_set_mem_master_sp_flag:
+0x780f 025687 jam sp_flag_commit ,mem_master_sp_flag 
+0x7810 025688 rtn 
+:      025690 master_clear_mem_master_sp_flag:
+0x7811 025691 jam sp_flag_standby ,mem_master_sp_flag 
+0x7812 025692 rtn 
+:      025693 sp_calc_sequence:
+0x7813 025694 set1 mark_ext_patch ,mark 
+0x7814 025695 bpatch patch3e_7 ,mem_patch3e 
+0x7815 025696 fetch 1 ,mem_sp_calc 
+0x7816 025697 rtn blank 
+0x7817 025698 increase 0x80 ,pdata 
+0x7818 025699 store 1 ,mem_sp_calc 
+0x7819 025700 rtnbit1 7 
+0x781a 025701 fetch 1 ,mem_ec_loopc 
+0x781b 025702 branch sp_calc_sequence_done ,blank 
+0x781c 025703 branch eckp_calc 
+:      025705 sp_calc_sequence_done:
+0x781d 025706 call ecunmapz 
+0x781e 025707 fetch 1 ,mem_sp_calc 
+0x781f 025708 beq sp_calc_pubkey ,sp_pubkey_generated 
+0x7820 025709 beq sp_calc_dhkey ,sp_dhkey_generated 
+0x7821 025710 rtn 
+:      025713 bn_testbit:
+0x7822 025714 and pdata ,7 ,queue 
+0x7823 025715 rshift3 pdata ,pdata 
+0x7824 025716 iadd contr ,contr 
+0x7825 025717 ifetch 1 ,contr 
+0x7826 025718 qisolate0 pdata 
+0x7827 025719 rtn 
+:      025722 ec_copy:
+0x7828 025723 call memcpy24 
+0x7829 025724 call memcpy24 
+0x782a 025725 branch memcpy24 
+:      025728 bn_eq_zero:
+0x782b 025729 ifetch 8 ,contr 
+0x782c 025730 nrtn blank 
+0x782d 025731 ifetch 8 ,contr 
+0x782e 025732 nrtn blank 
+0x782f 025733 ifetch 8 ,contr 
+0x7830 025734 rtn 
+:      025738 bn_eq:
+0x7831 025739 force 6 ,loopcnt 
+:      025740 bn_eq_0:
+0x7832 025741 ifetch 4 ,rega 
+0x7833 025742 iforce temp 
+0x7834 025743 ifetch 4 ,regb 
+0x7835 025744 isub temp ,null 
+0x7836 025745 nrtn zero 
+0x7837 025746 increase 4 ,rega 
+0x7838 025747 increase 4 ,regb 
+0x7839 025748 loop bn_eq_0 
+0x783a 025749 rtn 
+:      025752 bn_bigeq:
+0x783b 025753 force 6 ,loopcnt 
+0x783c 025754 increase 20 ,rega 
+0x783d 025755 increase 20 ,regb 
+:      025756 bn_bigeq_0:
+0x783e 025757 ifetch 4 ,regb 
+0x783f 025758 iforce temp 
+0x7840 025759 ifetch 4 ,rega 
+0x7841 025760 isub temp ,pdata 
+0x7842 025761 nrtn positive 
+0x7843 025762 nrtn blank 
+0x7844 025763 increase -4 ,rega 
+0x7845 025764 increase -4 ,regb 
+0x7846 025765 loop bn_bigeq_0 
+0x7847 025766 rtn 
+:      025768 bn_add:
+0x7848 025769 force 6 ,loopcnt 
+0x7849 025770 force 0 ,regc 
+:      025771 bn_add_0:
+0x784a 025772 ifetch 4 ,rega 
+0x784b 025773 iforce temp 
+0x784c 025774 ifetch 4 ,regb 
+0x784d 025775 iadd temp ,pdata 
+0x784e 025776 iadd regc ,pdata 
+0x784f 025777 istore 4 ,contw 
+0x7850 025778 isolate1 32 ,pdata 
+0x7851 025779 setflag true ,0 ,regc 
+0x7852 025780 increase 4 ,rega 
+0x7853 025781 increase 4 ,regb 
+0x7854 025782 loop bn_add_0 
+0x7855 025783 rtn 
+:      025785 bn_sub:
+0x7856 025786 force 6 ,loopcnt 
+0x7857 025787 force 0 ,regc 
+:      025788 bn_sub_0:
+0x7858 025789 ifetch 4 ,regb 
+0x7859 025790 iforce temp 
+0x785a 025791 ifetch 4 ,rega 
+0x785b 025792 isub temp ,pdata 
+0x785c 025793 isub regc ,pdata 
+0x785d 025794 istore 4 ,contw 
+0x785e 025795 isolate1 32 ,pdata 
+0x785f 025796 setflag true ,0 ,regc 
+0x7860 025797 increase 4 ,rega 
+0x7861 025798 increase 4 ,regb 
+0x7862 025799 loop bn_sub_0 
+0x7863 025800 rtn 
+:      025802 bn_rshift6:
+0x7864 025803 force 6 ,loopcnt 
+0x7865 025804 increase 20 ,rega 
+:      025805 bn_rshift:
+0x7866 025806 force 0 ,regc 
+:      025807 bn_rshift_0:
+0x7867 025808 ifetch 4 ,rega 
+0x7868 025809 isolate1 0 ,pdata 
+0x7869 025810 setflag true ,1 ,regc 
+0x786a 025811 rshift pdata ,pdata 
+0x786b 025812 isolate1 0 ,regc 
+0x786c 025813 setflag true ,31 ,pdata 
+0x786d 025814 istore 4 ,rega 
+0x786e 025815 increase -4 ,rega 
+0x786f 025816 rshift regc ,regc 
+0x7870 025817 loop bn_rshift_0 
+0x7871 025818 rtn 
+:      025820 bn_lshift:
+0x7872 025821 force 6 ,loopcnt 
+0x7873 025822 force 0 ,regc 
+:      025823 bn_lshift_0:
+0x7874 025824 ifetch 4 ,rega 
+0x7875 025825 isolate1 31 ,pdata 
+0x7876 025826 setflag true ,1 ,regc 
+0x7877 025827 lshift pdata ,pdata 
+0x7878 025828 isolate1 0 ,regc 
+0x7879 025829 setflag true ,0 ,pdata 
+0x787a 025830 istore 4 ,rega 
+0x787b 025831 increase 4 ,rega 
+0x787c 025832 rshift regc ,regc 
+0x787d 025833 loop bn_lshift_0 
+0x787e 025834 rtn 
+:      025836 bn_lshiftmod:
+0x787f 025837 call bn_lshift 
+:      025838 bn_lshiftmod_ismod:
+0x7880 025839 isolate1 0 ,regc 
+0x7881 025840 branch bn_lshiftmod_0 ,true 
+0x7882 025841 arg mem_p ,regb 
+0x7883 025842 copy rega ,regc 
+0x7884 025843 increase -24 ,rega 
+0x7885 025844 call bn_bigeq 
+0x7886 025845 nrtn positive 
+0x7887 025846 copy regc ,rega 
+:      025847 bn_lshiftmod_0:
+0x7888 025848 increase -24 ,rega 
+0x7889 025849 arg mem_p ,regb 
+0x788a 025850 copy rega ,contw 
+0x788b 025851 branch bn_sub 
+:      025854 bn_addmod:
+0x788c 025855 call bn_add 
+0x788d 025856 copy contw ,rega 
+0x788e 025857 branch bn_lshiftmod_ismod 
+:      025859 bn_submod:
+0x788f 025860 call bn_sub 
+0x7890 025861 isolate0 0 ,regc 
+0x7891 025862 rtn true 
+0x7892 025863 arg mem_p ,regb 
+0x7893 025864 add contw ,-24 ,rega 
+0x7894 025865 copy rega ,contw 
+0x7895 025866 branch bn_add 
+:      025869 bn_p192mod:
+0x7896 025870 copy contw ,timeup 
+0x7897 025871 copy rega ,alarm 
+0x7898 025872 arg mem_tmp2 ,regb 
+0x7899 025873 copy regb ,contw 
+0x789a 025874 add rega ,24 ,contr 
+0x789b 025875 ifetch 8 ,contr 
+0x789c 025876 istore 8 ,contw 
+0x789d 025877 istore 8 ,contw 
+0x789e 025878 force 0 ,pdata 
+0x789f 025879 istore 8 ,contw 
+0x78a0 025880 copy timeup ,contw 
+0x78a1 025881 call bn_addmod 
+0x78a2 025882 arg mem_tmp2 ,regb 
+0x78a3 025883 copy regb ,contw 
+0x78a4 025884 force 0 ,pdata 
+0x78a5 025885 istore 8 ,contw 
+0x78a6 025886 add alarm ,32 ,contr 
+0x78a7 025887 ifetch 8 ,contr 
+0x78a8 025888 istore 8 ,contw 
+0x78a9 025889 istore 8 ,contw 
+0x78aa 025890 copy timeup ,rega 
+0x78ab 025891 copy rega ,contw 
+0x78ac 025892 call bn_addmod 
+0x78ad 025893 arg mem_tmp2 ,regb 
+0x78ae 025894 copy regb ,contw 
+0x78af 025895 add alarm ,40 ,contr 
+0x78b0 025896 ifetch 8 ,contr 
+0x78b1 025897 istore 8 ,contw 
+0x78b2 025898 istore 8 ,contw 
+0x78b3 025899 istore 8 ,contw 
+0x78b4 025900 copy timeup ,rega 
+0x78b5 025901 copy rega ,contw 
+0x78b6 025902 branch bn_addmod 
+:      025905 bn_load:
+0x78b7 025906 force 6 ,loopcnt 
+:      025907 bn_load_0:
+0x78b8 025908 ifetch 4 ,contr 
+0x78b9 025909 iforce regext 
+0x78ba 025910 increase 1 ,regext_index 
+0x78bb 025911 loop bn_load_0 
+0x78bc 025912 rtn 
+:      025916 bn_mulmod:
+0x78bd 025917 copy contw ,timeup 
+0x78be 025918 arg mem_tmp1 ,contw 
+0x78bf 025919 call bn_zero 
+0x78c0 025920 arg mem_tmp1 ,contw 
+0x78c1 025921 copy rega ,contr 
+0x78c2 025922 force 0 ,regext_index 
+0x78c3 025923 call bn_load 
+0x78c4 025924 copy regb ,contr 
+0x78c5 025925 call bn_load 
+0x78c6 025926 force 0 ,regb 
+:      025927 bn_mulmod_1:
+0x78c7 025928 force 0 ,temp 
+0x78c8 025929 force 6 ,regc 
+:      025930 bn_mulmod_0:
+0x78c9 025931 ifetch 4 ,contw 
+0x78ca 025932 iforce rega 
+0x78cb 025933 copy regb ,regext_index 
+0x78cc 025934 deposit regext 
+0x78cd 025935 copy regc ,regext_index 
+0x78ce 025936 imul32 regext ,pdata 
+0x78cf 025937 iadd rega ,pdata 
+0x78d0 025938 iadd temp ,pdata 
+0x78d1 025939 istore 4 ,contw 
+0x78d2 025940 rshift32 pdata ,temp 
+0x78d3 025941 increase 1 ,regc 
+0x78d4 025942 compare 12 ,regc ,0xff 
+0x78d5 025943 nbranch bn_mulmod_0 ,true 
+0x78d6 025944 deposit temp 
+0x78d7 025945 istore 4 ,contw 
+0x78d8 025946 increase -24 ,contw 
+0x78d9 025947 increase 1 ,regb 
+0x78da 025948 compare 6 ,regb ,0xff 
+0x78db 025949 nbranch bn_mulmod_1 ,true 
+0x78dc 025950 arg mem_tmp1 ,rega 
+0x78dd 025951 copy timeup ,contw 
+0x78de 025952 branch bn_p192mod 
+:      025955 bn_sqrmod:
+0x78df 025956 copy rega ,regb 
+0x78e0 025957 branch bn_mulmod 
+:      025959 bn_rshifteven:
+0x78e1 025960 copy rega ,alarm 
+:      025961 bn_rshifteven_1:
+0x78e2 025962 copy alarm ,rega 
+0x78e3 025963 ifetch 1 ,rega 
+0x78e4 025964 isolate1 0 ,pdata 
+0x78e5 025965 rtn true 
+0x78e6 025966 call bn_rshift6 
+0x78e7 025967 ifetch 1 ,regb 
+0x78e8 025968 isolate0 0 ,pdata 
+0x78e9 025969 branch bn_rshifteven_0 ,true 
+0x78ea 025970 arg mem_p ,rega 
+0x78eb 025971 copy regb ,contw 
+0x78ec 025972 call bn_add 
+0x78ed 025973 ifetch 1 ,regb 
+0x78ee 025974 iadd regc ,pdata 
+0x78ef 025975 istore 1 ,regb 
+0x78f0 025976 increase -24 ,regb 
+:      025977 bn_rshifteven_0:
+0x78f1 025978 add regb ,24 ,rega 
+0x78f2 025979 force 7 ,loopcnt 
+0x78f3 025980 call bn_rshift 
+0x78f4 025981 branch bn_rshifteven_1 
+:      025984 bn_invmod:
+0x78f5 025985 copy contw ,timeup 
+0x78f6 025986 arg mem_tmp0 ,contw 
+0x78f7 025987 call bn_zero 
+0x78f8 025988 force 0 ,pdata 
+0x78f9 025989 store 4 ,mem_tmp5 
+0x78fa 025990 store 4 ,mem_t2 
+0x78fb 025991 jam 1 ,mem_tmp0 
+0x78fc 025992 arg mem_tmp1 ,contw 
+0x78fd 025993 call bn_zero 
+0x78fe 025994 arg mem_p ,contr 
+0x78ff 025995 arg mem_tmp2 ,contw 
+0x7900 025996 call memcpy24 
+0x7901 025997 copy rega ,contr 
+0x7902 025998 arg mem_tmp3 ,contw 
+0x7903 025999 call memcpy24 
+:      026000 bn_invmod_2:
+0x7904 026001 arg mem_tmp3 ,contr 
+0x7905 026002 call bn_eq_zero 
+0x7906 026003 branch bn_invmod_0 ,blank 
+0x7907 026004 arg mem_tmp3 ,rega 
+0x7908 026005 arg mem_tmp0 ,regb 
+0x7909 026006 call bn_rshifteven 
+0x790a 026008 arg mem_tmp2 ,rega 
+0x790b 026009 arg mem_tmp1 ,regb 
+0x790c 026010 call bn_rshifteven 
+0x790d 026011 arg mem_tmp3 ,rega 
+0x790e 026012 arg mem_tmp2 ,regb 
+0x790f 026013 call bn_bigeq 
+0x7910 026014 branch bn_invmod_1 ,positive 
+0x7911 026015 arg mem_tmp2 ,rega 
+0x7912 026016 arg mem_tmp3 ,regb 
+0x7913 026017 copy rega ,contw 
+0x7914 026018 call bn_sub 
+0x7915 026019 arg mem_tmp0 ,rega 
+0x7916 026020 arg mem_tmp1 ,regb 
+0x7917 026021 copy regb ,contw 
+0x7918 026022 call bn_add 
+0x7919 026023 ifetch 1 ,rega 
+0x791a 026024 iadd regc ,regc 
+0x791b 026025 ifetch 1 ,regb 
+0x791c 026026 iadd regc ,pdata 
+0x791d 026027 istore 1 ,regb 
+0x791e 026028 branch bn_invmod_2 
+:      026029 bn_invmod_1:
+0x791f 026030 arg mem_tmp3 ,rega 
+0x7920 026031 arg mem_tmp2 ,regb 
+0x7921 026032 copy rega ,contw 
+0x7922 026033 call bn_sub 
+0x7923 026034 arg mem_tmp1 ,rega 
+0x7924 026035 arg mem_tmp0 ,regb 
+0x7925 026036 copy regb ,contw 
+0x7926 026037 call bn_add 
+0x7927 026038 ifetch 1 ,rega 
+0x7928 026039 iadd regc ,regc 
+0x7929 026040 ifetch 1 ,regb 
+0x792a 026041 iadd regc ,pdata 
+0x792b 026042 istore 1 ,regb 
+0x792c 026043 branch bn_invmod_2 
+:      026044 bn_invmod_0:
+0x792d 026045 arg mem_tmp0 ,contw 
+0x792e 026046 call bn_zero 
+0x792f 026047 fetch 1 ,mem_tmp5 
+0x7930 026048 store 1 ,mem_tmp0 
+0x7931 026049 store 1 ,mem_tmp0a 
+0x7932 026050 arg mem_tmp0 ,rega 
+0x7933 026051 arg mem_tmp1 ,regb 
+0x7934 026052 copy regb ,contw 
+0x7935 026053 call bn_addmod 
+0x7936 026054 arg mem_p ,rega 
+0x7937 026055 arg mem_tmp1 ,regb 
+0x7938 026056 copy timeup ,contw 
+0x7939 026057 branch bn_submod 
+:      026062 ecdbl:
+0x793a 026063 arg mem_cz ,rega 
+0x793b 026064 arg mem_t2 ,contw 
+0x793c 026065 call bn_sqrmod 
+0x793d 026066 arg mem_t2 ,rega 
+0x793e 026067 arg mem_t3 ,contw 
+0x793f 026068 call bn_sqrmod 
+0x7940 026069 arg mem_a ,rega 
+0x7941 026070 arg mem_t3 ,regb 
+0x7942 026071 arg mem_t3 ,contw 
+0x7943 026072 call bn_mulmod 
+0x7944 026073 arg mem_cx ,rega 
+0x7945 026074 arg mem_t2 ,contw 
+0x7946 026075 call bn_sqrmod 
+0x7947 026076 arg mem_t2 ,contr 
+0x7948 026077 arg mem_t1 ,contw 
+0x7949 026078 call memcpy24 
+0x794a 026079 arg mem_t1 ,rega 
+0x794b 026080 call bn_lshiftmod 
+0x794c 026081 arg mem_t2 ,rega 
+0x794d 026082 arg mem_t1 ,regb 
+0x794e 026083 arg mem_t2 ,contw 
+0x794f 026084 call bn_addmod 
+0x7950 026085 arg mem_t2 ,rega 
+0x7951 026086 arg mem_t3 ,regb 
+0x7952 026087 arg mem_t2 ,contw 
+0x7953 026088 call bn_addmod 
+0x7954 026089 arg mem_cx ,contr 
+0x7955 026090 arg mem_t1 ,contw 
+0x7956 026091 call memcpy24 
+0x7957 026092 arg mem_cy ,rega 
+0x7958 026093 arg mem_t3 ,contw 
+0x7959 026094 call bn_sqrmod 
+0x795a 026095 arg mem_t1 ,rega 
+0x795b 026096 call bn_lshiftmod 
+0x795c 026097 arg mem_t1 ,rega 
+0x795d 026098 call bn_lshiftmod 
+0x795e 026099 arg mem_t1 ,rega 
+0x795f 026100 arg mem_t3 ,regb 
+0x7960 026101 arg mem_t1 ,contw 
+0x7961 026102 call bn_mulmod 
+0x7962 026103 arg mem_t3 ,rega 
+0x7963 026104 arg mem_t0 ,contw 
+0x7964 026105 call bn_sqrmod 
+0x7965 026106 arg mem_t0 ,rega 
+0x7966 026107 call bn_lshiftmod 
+0x7967 026108 arg mem_t0 ,rega 
+0x7968 026109 call bn_lshiftmod 
+0x7969 026110 arg mem_t0 ,rega 
+0x796a 026111 call bn_lshiftmod 
+0x796b 026112 arg mem_cy ,contr 
+0x796c 026113 arg mem_t3 ,contw 
+0x796d 026114 call memcpy24 
+0x796e 026115 arg mem_t3 ,rega 
+0x796f 026116 call bn_lshiftmod 
+0x7970 026117 arg mem_t3 ,rega 
+0x7971 026118 arg mem_cz ,regb 
+0x7972 026119 arg mem_cz ,contw 
+0x7973 026120 call bn_mulmod 
+0x7974 026121 arg mem_t2 ,rega 
+0x7975 026122 arg mem_t3 ,contw 
+0x7976 026123 call bn_sqrmod 
+0x7977 026124 arg mem_t3 ,rega 
+0x7978 026125 arg mem_t1 ,regb 
+0x7979 026126 arg mem_t3 ,contw 
+0x797a 026127 call bn_submod 
+0x797b 026128 arg mem_t3 ,rega 
+0x797c 026129 arg mem_t1 ,regb 
+0x797d 026130 arg mem_cx ,contw 
+0x797e 026131 call bn_submod 
+0x797f 026132 arg mem_t1 ,rega 
+0x7980 026133 arg mem_cx ,regb 
+0x7981 026134 arg mem_t3 ,contw 
+0x7982 026135 call bn_submod 
+0x7983 026136 arg mem_t3 ,rega 
+0x7984 026137 arg mem_t2 ,regb 
+0x7985 026138 arg mem_t3 ,contw 
+0x7986 026139 call bn_mulmod 
+0x7987 026140 arg mem_t3 ,rega 
+0x7988 026141 arg mem_t0 ,regb 
+0x7989 026142 arg mem_cy ,contw 
+0x798a 026143 branch bn_submod 
+:      026147 ecadd:
+0x798b 026148 arg mem_az ,rega 
+0x798c 026149 arg mem_t7 ,contw 
+0x798d 026150 call bn_sqrmod 
+0x798e 026151 arg mem_cx ,rega 
+0x798f 026152 arg mem_t7 ,regb 
+0x7990 026153 arg mem_t0 ,contw 
+0x7991 026154 call bn_mulmod 
+0x7992 026155 arg mem_az ,rega 
+0x7993 026156 arg mem_t7 ,regb 
+0x7994 026157 arg mem_t7 ,contw 
+0x7995 026158 call bn_mulmod 
+0x7996 026159 arg mem_cy ,rega 
+0x7997 026160 arg mem_t7 ,regb 
+0x7998 026161 arg mem_t1 ,contw 
+0x7999 026162 call bn_mulmod 
+0x799a 026163 arg mem_cz ,rega 
+0x799b 026164 arg mem_t7 ,contw 
+0x799c 026165 call bn_sqrmod 
+0x799d 026166 arg mem_ax ,rega 
+0x799e 026167 arg mem_t7 ,regb 
+0x799f 026168 arg mem_t2 ,contw 
+0x79a0 026169 call bn_mulmod 
+0x79a1 026170 arg mem_cz ,rega 
+0x79a2 026171 arg mem_t7 ,regb 
+0x79a3 026172 arg mem_t7 ,contw 
+0x79a4 026173 call bn_mulmod 
+0x79a5 026174 arg mem_ay ,rega 
+0x79a6 026175 arg mem_t7 ,regb 
+0x79a7 026176 arg mem_t3 ,contw 
+0x79a8 026177 call bn_mulmod 
+0x79a9 026178 arg mem_t0 ,rega 
+0x79aa 026179 arg mem_t2 ,regb 
+0x79ab 026180 arg mem_t7 ,contw 
+0x79ac 026181 call bn_submod 
+0x79ad 026182 arg mem_t0 ,rega 
+0x79ae 026183 arg mem_t2 ,regb 
+0x79af 026184 arg mem_t0 ,contw 
+0x79b0 026185 call bn_addmod 
+0x79b1 026186 arg mem_t1 ,rega 
+0x79b2 026187 arg mem_t3 ,regb 
+0x79b3 026188 arg mem_t2 ,contw 
+0x79b4 026189 call bn_submod 
+0x79b5 026190 arg mem_t1 ,rega 
+0x79b6 026191 arg mem_t3 ,regb 
+0x79b7 026192 arg mem_t1 ,contw 
+0x79b8 026193 call bn_addmod 
+0x79b9 026194 arg mem_t1 ,rega 
+0x79ba 026195 arg mem_t7 ,regb 
+0x79bb 026196 arg mem_t1 ,contw 
+0x79bc 026197 call bn_mulmod 
+0x79bd 026198 arg mem_cz ,rega 
+0x79be 026199 arg mem_az ,regb 
+0x79bf 026200 arg mem_t3 ,contw 
+0x79c0 026201 call bn_mulmod 
+0x79c1 026202 arg mem_t3 ,rega 
+0x79c2 026203 arg mem_t7 ,regb 
+0x79c3 026204 arg mem_cz ,contw 
+0x79c4 026205 call bn_mulmod 
+0x79c5 026206 arg mem_t7 ,rega 
+0x79c6 026207 arg mem_t7 ,contw 
+0x79c7 026208 call bn_sqrmod 
+0x79c8 026209 arg mem_t7 ,rega 
+0x79c9 026210 arg mem_t0 ,regb 
+0x79ca 026211 arg mem_t3 ,contw 
+0x79cb 026212 call bn_mulmod 
+0x79cc 026213 arg mem_t7 ,rega 
+0x79cd 026214 arg mem_t1 ,regb 
+0x79ce 026215 arg mem_t1 ,contw 
+0x79cf 026216 call bn_mulmod 
+0x79d0 026217 arg mem_t2 ,rega 
+0x79d1 026218 arg mem_cx ,contw 
+0x79d2 026219 call bn_sqrmod 
+0x79d3 026220 arg mem_cx ,rega 
+0x79d4 026221 arg mem_t3 ,regb 
+0x79d5 026222 arg mem_cx ,contw 
+0x79d6 026223 call bn_submod 
+0x79d7 026224 arg mem_cx ,contr 
+0x79d8 026225 arg mem_t7 ,contw 
+0x79d9 026226 call memcpy24 
+0x79da 026227 arg mem_t7 ,rega 
+0x79db 026228 call bn_lshiftmod 
+0x79dc 026229 arg mem_t3 ,rega 
+0x79dd 026230 arg mem_t7 ,regb 
+0x79de 026231 arg mem_t3 ,contw 
+0x79df 026232 call bn_submod 
+0x79e0 026233 arg mem_t3 ,rega 
+0x79e1 026234 arg mem_t2 ,regb 
+0x79e2 026235 arg mem_t2 ,contw 
+0x79e3 026236 call bn_mulmod 
+0x79e4 026237 arg mem_t2 ,rega 
+0x79e5 026238 arg mem_t1 ,regb 
+0x79e6 026239 arg mem_cy ,contw 
+0x79e7 026240 call bn_submod 
+0x79e8 026241 arg mem_cy ,rega 
+0x79e9 026242 arg mem_p ,regb 
+0x79ea 026243 arg mem_cy ,contw 
+0x79eb 026244 force 0 ,regc 
+0x79ec 026245 fetch 1 ,mem_cy 
+0x79ed 026246 isolate1 0 ,pdata 
+0x79ee 026247 call bn_add ,true 
+0x79ef 026248 copy regc ,alarm 
+0x79f0 026249 arg mem_cy ,rega 
+0x79f1 026250 call bn_rshift6 
+0x79f2 026251 fetch 1 ,mem_cy5 
+0x79f3 026252 isolate1 0 ,alarm 
+0x79f4 026253 setflag true ,7 ,pdata 
+0x79f5 026254 store 1 ,mem_cy5 
+0x79f6 026255 rtn 
+:      026258 eckp:
+0x79f7 026259 jam 192 ,mem_ec_loopc 
+0x79f8 026260 jam 1 ,mem_ec_infinite 
+:      026261 eckp_0:
+0x79f9 026262 fetch 1 ,mem_ec_loopc 
+0x79fa 026263 increase -1 ,pdata 
+0x79fb 026264 nrtn positive 
+0x79fc 026265 store 1 ,mem_ec_loopc 
+0x79fd 026266 fetch 1 ,mem_ec_infinite 
+0x79fe 026267 call ecdbl ,blank 
+0x79ff 026268 fetch 1 ,mem_ec_loopc 
+0x7a00 026269 arg mem_k ,contr 
+0x7a01 026270 call bn_testbit 
+0x7a02 026271 branch eckp_0 ,true 
+0x7a03 026272 fetch 1 ,mem_ec_infinite 
+0x7a04 026273 nbranch eckp_1 ,blank 
+0x7a05 026274 call ecadd 
+0x7a06 026275 branch eckp_0 
+:      026276 eckp_1:
+0x7a07 026277 jam 0 ,mem_ec_infinite 
+0x7a08 026278 arg mem_ax ,contr 
+0x7a09 026279 arg mem_cx ,contw 
+0x7a0a 026280 call ec_copy 
+0x7a0b 026281 branch eckp_0 
+:      026284 ecunmapz:
+0x7a0c 026285 arg mem_cz ,rega 
+0x7a0d 026286 arg mem_t3 ,contw 
+0x7a0e 026287 call bn_invmod 
+0x7a0f 026288 arg mem_t3 ,rega 
+0x7a10 026289 arg mem_t1 ,contw 
+0x7a11 026290 call bn_sqrmod 
+0x7a12 026291 arg mem_cx ,rega 
+0x7a13 026292 arg mem_t1 ,regb 
+0x7a14 026293 arg mem_bx ,contw 
+0x7a15 026294 call bn_mulmod 
+0x7a16 026295 arg mem_t3 ,rega 
+0x7a17 026296 arg mem_t1 ,regb 
+0x7a18 026297 arg mem_t2 ,contw 
+0x7a19 026298 call bn_mulmod 
+0x7a1a 026299 arg mem_cy ,rega 
+0x7a1b 026300 arg mem_t2 ,regb 
+0x7a1c 026301 arg mem_by ,contw 
+0x7a1d 026302 branch bn_mulmod 
+:      026305 sha_endian_swap:
+0x7a1e 026306 force 16 ,loopcnt 
+:      026307 sha_endian_swap2:
+0x7a1f 026308 ifetch 4 ,contr 
+0x7a20 026309 force 4 ,rega 
+0x7a21 026310 increase 3 ,contw 
+:      026311 sha_endian_loop:
+0x7a22 026312 istore 1 ,contw 
+0x7a23 026313 rshift8 pdata ,pdata 
+0x7a24 026314 increase -2 ,contw 
+0x7a25 026315 increase -1 ,rega 
+0x7a26 026316 nbranch sha_endian_loop ,zero 
+0x7a27 026317 increase 5 ,contw 
+0x7a28 026318 loop sha_endian_swap2 
+0x7a29 026319 rtn 
+:      026322 sha_getw:
+0x7a2a 026323 lshift2 queue ,pdata 
+0x7a2b 026324 iadd timeup ,contr 
+0x7a2c 026325 ifetch 4 ,contr 
+0x7a2d 026326 rtn 
+:      026328 sha_r:
+0x7a2e 026329 force 16 ,alarm 
+0x7a2f 026330 arg memdat ,timeup 
+:      026331 sha_r_loop:
+0x7a30 026332 add alarm ,-7 ,queue 
+0x7a31 026333 call sha_getw 
+0x7a32 026334 iforce temp 
+0x7a33 026335 add alarm ,-16 ,queue 
+0x7a34 026336 call sha_getw 
+0x7a35 026337 iadd temp ,temp 
+0x7a36 026338 add alarm ,-2 ,queue 
+0x7a37 026339 call sha_getw 
+0x7a38 026340 shasx pdata ,1 ,pdata 
+0x7a39 026341 iadd temp ,temp 
+0x7a3a 026342 add alarm ,-15 ,queue 
+0x7a3b 026343 call sha_getw 
+0x7a3c 026344 shasx pdata ,0 ,pdata 
+0x7a3d 026345 iadd temp ,temp 
+0x7a3e 026346 lshift2 alarm ,pdata 
+0x7a3f 026347 iadd timeup ,contw 
+0x7a40 026348 istoret 4 ,contw 
+0x7a41 026349 increase 1 ,alarm 
+0x7a42 026350 compare 64 ,alarm ,0xff 
+0x7a43 026351 nbranch sha_r_loop ,true 
+0x7a44 026352 rtn 
+:      026355 sha_init:
+0x7a45 026356 arg memh0 ,contr 
+0x7a46 026357 force 7 ,regext_index 
+:      026358 sha_init_0:
+0x7a47 026359 ifetch 4 ,contr 
+0x7a48 026360 iforce regext 
+0x7a49 026361 increase -1 ,regext_index 
+0x7a4a 026362 branch sha_init_0 ,positive 
+0x7a4b 026363 rtn 
+:      026365 sha:
+0x7a4c 026366 set1 mark_ext_patch ,mark 
+0x7a4d 026367 bpatch patch3f_0 ,mem_patch3f 
+0x7a4e 026368 call sha_r 
+0x7a4f 026369 arg memahbak ,contw 
+0x7a50 026370 force 0 ,regext_index 
+:      026371 sha_0:
+0x7a51 026372 deposit regext 
+0x7a52 026373 istore 4 ,contw 
+0x7a53 026374 increase 1 ,regext_index 
+0x7a54 026375 compare 8 ,regext_index ,0xff 
+0x7a55 026376 nbranch sha_0 ,true 
+0x7a56 026377 call enable_authrom 
+0x7a57 026378 arg memk ,timeup 
+0x7a58 026379 arg memdat ,alarm 
+0x7a59 026380 force 64 ,loopcnt 
+:      026381 sha_loop:
+0x7a5a 026382 ifetcht 4 ,alarm 
+0x7a5b 026383 ifetch 4 ,timeup 
+0x7a5c 026384 increase 4 ,timeup 
+0x7a5d 026385 increase 4 ,alarm 
+0x7a5e 026386 iadd temp ,pdata 
+0x7a5f 026387 force 7 ,regext_index 
+0x7a60 026388 iadd regext ,temp 
+0x7a61 026389 force 4 ,regext_index 
+0x7a62 026390 shasx regext ,3 ,pdata 
+0x7a63 026391 iadd temp ,temp 
+0x7a64 026392 force 5 ,regext_index 
+0x7a65 026393 deposit regext 
+0x7a66 026394 force 6 ,regext_index 
+0x7a67 026395 ixor regext ,pdata 
+0x7a68 026396 force 4 ,regext_index 
+0x7a69 026397 iand regext ,pdata 
+0x7a6a 026398 force 6 ,regext_index 
+0x7a6b 026399 ixor regext ,pdata 
+0x7a6c 026400 iadd temp ,temp 
+0x7a6d 026401 force 7 ,regext_index 
+0x7a6e 026402 copy temp ,regext 
+0x7a6f 026403 force 3 ,regext_index 
+0x7a70 026404 deposit regext 
+0x7a71 026405 iadd temp ,regext 
+0x7a72 026406 force 0 ,regext_index 
+0x7a73 026407 deposit regext 
+0x7a74 026408 force 1 ,regext_index 
+0x7a75 026409 iand regext ,temp 
+0x7a76 026410 ior regext ,pdata 
+0x7a77 026411 force 2 ,regext_index 
+0x7a78 026412 iand regext ,pdata 
+0x7a79 026413 ior temp ,temp 
+0x7a7a 026414 force 0 ,regext_index 
+0x7a7b 026415 shasx regext ,2 ,pdata 
+0x7a7c 026416 iadd temp ,pdata 
+0x7a7d 026417 force 7 ,regext_index 
+0x7a7e 026418 iadd regext ,regext 
+0x7a7f 026419 regexrot 
+0x7a80 026420 loop sha_loop 
+0x7a81 026421 arg memahbak ,contr 
+0x7a82 026422 force 0 ,regext_index 
+:      026423 sha_1:
+0x7a83 026424 ifetch 4 ,contr 
+0x7a84 026425 iadd regext ,regext 
+0x7a85 026426 increase 1 ,regext_index 
+0x7a86 026427 compare 8 ,regext_index ,0xff 
+0x7a87 026428 nbranch sha_1 ,true 
+0x7a88 026429 branch disable_authrom 
+:      026432 sha_result:
+0x7a89 026433 arg memresult ,contw 
+0x7a8a 026434 force 7 ,regext_index 
+:      026435 sha_regext_save:
+0x7a8b 026436 deposit regext 
+0x7a8c 026437 istore 4 ,contw 
+0x7a8d 026438 increase -1 ,regext_index 
+0x7a8e 026439 branch sha_regext_save ,positive 
+0x7a8f 026440 rtn 
+:      026442 pad_xor:
+0x7a90 026444 arg memdat ,contw 
+0x7a91 026445 increase -4 ,contr 
+0x7a92 026446 sub loopcnt ,16 ,rega 
+:      026447 pad_xor_0:
+0x7a93 026448 ifetch 4 ,contr 
+0x7a94 026449 ixor temp ,pdata 
+0x7a95 026450 istore 4 ,contw 
+0x7a96 026451 increase -8 ,contr 
+0x7a97 026452 loop pad_xor_0 
+0x7a98 026453 copy rega ,loopcnt 
+0x7a99 026454 deposit temp 
+:      026455 pad_xor_1:
+0x7a9a 026456 istore 4 ,contw 
+0x7a9b 026457 loop pad_xor_1 
+0x7a9c 026458 rtn 
+:      026460 g_noninit:
+0x7a9d 026461 arg mem_sp_pubkey_remote_x_end ,contr 
+0x7a9e 026462 arg memdat ,contw 
+0x7a9f 026463 force 6 ,loopcnt 
+0x7aa0 026464 call memcpy_dword_swap 
+0x7aa1 026465 arg mem_sp_pubkey_local_x_end ,contr 
+0x7aa2 026466 force 6 ,loopcnt 
+0x7aa3 026467 call memcpy_dword_swap 
+0x7aa4 026468 arg mem_sp_random_remote_end ,contr 
+0x7aa5 026469 call memcpy_dword_swap4 
+0x7aa6 026470 call sha_init 
+0x7aa7 026471 call sha 
+0x7aa8 026472 arg mem_sp_random_local_end ,contr 
+0x7aa9 026473 arg memdat ,contw 
+0x7aaa 026474 branch g_common 
+:      026476 g_init:
+0x7aab 026477 arg mem_sp_pubkey_local_x_end ,contr 
+0x7aac 026478 arg memdat ,contw 
+0x7aad 026479 force 6 ,loopcnt 
+0x7aae 026480 call memcpy_dword_swap 
+0x7aaf 026481 arg mem_sp_pubkey_remote_x_end ,contr 
+0x7ab0 026482 force 6 ,loopcnt 
+0x7ab1 026483 call memcpy_dword_swap 
+0x7ab2 026484 arg mem_sp_random_local_end ,contr 
+0x7ab3 026485 call memcpy_dword_swap4 
+0x7ab4 026486 call sha_init 
+0x7ab5 026487 call sha 
+0x7ab6 026488 arg mem_sp_random_remote_end ,contr 
+0x7ab7 026489 arg memdat ,contw 
+:      026490 g_common:
+0x7ab8 026491 call memcpy_dword_swap4 
+0x7ab9 026492 setarg 0x800000 
+0x7aba 026493 lshift8 pdata ,pdata 
+0x7abb 026494 istore 4 ,contw 
+0x7abc 026495 force 5 ,loopcnt 
+0x7abd 026496 call memset0 
+0x7abe 026497 setarg 640 
+0x7abf 026498 istore 4 ,contw 
+0x7ac0 026499 call sha 
+0x7ac1 026501 fetch 4 ,memresult 
+0x7ac2 026503 arg 1000 ,rega 
+0x7ac3 026504 idiv rega 
+0x7ac4 026505 call wait_div_end 
+0x7ac5 026506 remainder pdata 
+0x7ac6 026507 store 4 ,mem_sp_gkey 
+0x7ac7 026508 quotient pdata 
+0x7ac8 026509 arg 1000 ,rega 
+0x7ac9 026510 idiv rega 
+0x7aca 026511 call wait_div_end 
+0x7acb 026512 remainder pdata 
+0x7acc 026513 arg 1000 ,rega 
+0x7acd 026514 imul32 rega ,pdata 
+0x7ace 026515 fetcht 4 ,mem_sp_gkey 
+0x7acf 026516 iadd temp ,pdata 
+0x7ad0 026517 store 4 ,mem_sp_gkey 
+0x7ad1 026518 rtn 
+:      026520 function_f1:
+0x7ad2 026521 setarg 0x363636 
+0x7ad3 026522 lshift8 pdata ,temp 
+0x7ad4 026523 or_into 0x36 ,temp 
+0x7ad5 026524 fetch 2 ,mem_sp_prarm_stack 
+0x7ad6 026525 copy pdata ,contr 
+0x7ad7 026526 force 4 ,loopcnt 
+0x7ad8 026527 call pad_xor 
+0x7ad9 026528 call sha_init 
+0x7ada 026529 call sha 
+0x7adb 026530 fetch 2 ,mem_sp_prarm_stack + 2 
+0x7adc 026531 copy pdata ,contr 
+0x7add 026532 arg memdat ,contw 
+0x7ade 026533 force 6 ,loopcnt 
+0x7adf 026534 call memcpy_dword_swap 
+0x7ae0 026535 fetch 2 ,mem_sp_prarm_stack + 4 
+0x7ae1 026536 copy pdata ,contr 
+0x7ae2 026537 force 6 ,loopcnt 
+0x7ae3 026538 call memcpy_dword_swap 
+0x7ae4 026539 setarg 0x800000 
+0x7ae5 026540 istore 3 ,contw 
+0x7ae6 026541 force 0 ,pdata 
+0x7ae7 026542 istore 1 ,contw 
+0x7ae8 026543 force 0 ,pdata 
+0x7ae9 026544 istore 8 ,contw 
+0x7aea 026545 setarg 0x0388 
+0x7aeb 026546 istore 4 ,contw 
+0x7aec 026547 call sha 
+0x7aed 026548 call sha_result 
+0x7aee 026549 arg memresult ,contr 
+0x7aef 026550 arg memahsave ,contw 
+0x7af0 026551 call memcpy32 
+0x7af1 026553 setarg 0x5c5c5c 
+0x7af2 026554 lshift8 pdata ,temp 
+0x7af3 026555 or_into 0x5c ,temp 
+0x7af4 026556 fetch 2 ,mem_sp_prarm_stack 
+0x7af5 026557 copy pdata ,contr 
+0x7af6 026558 force 4 ,loopcnt 
+0x7af7 026559 call pad_xor 
+0x7af8 026560 call sha_init 
+0x7af9 026561 call sha 
+0x7afa 026562 arg memahsave_end ,contr 
+0x7afb 026563 arg memdat ,contw 
+0x7afc 026564 force 8 ,loopcnt 
+0x7afd 026565 call memcpy_dword_swap 
+0x7afe 026566 setarg 0x800000 
+0x7aff 026567 lshift8 pdata ,pdata 
+0x7b00 026568 istore 4 ,contw 
+0x7b01 026569 call bn_zero 
+0x7b02 026570 setarg 0x0300 
+0x7b03 026571 istore 4 ,contw 
+0x7b04 026572 call sha 
+0x7b05 026573 branch sha_result 
+:      026576 function_f2:
+0x7b06 026577 setarg 0x363636 
+0x7b07 026578 lshift8 pdata ,temp 
+0x7b08 026579 or_into 0x36 ,temp 
+0x7b09 026580 arg mem_sp_dhkey_end ,contr 
+0x7b0a 026581 force 6 ,loopcnt 
+0x7b0b 026582 call pad_xor 
+0x7b0c 026583 call sha_init 
+0x7b0d 026584 call sha 
+0x7b0e 026585 fetch 2 ,mem_sp_prarm_stack + 12 
+0x7b0f 026586 copy pdata ,contr 
+0x7b10 026587 arg memdat ,contw 
+0x7b11 026588 call memcpy_dword_swap4 
+0x7b12 026589 fetch 2 ,mem_sp_prarm_stack + 14 
+0x7b13 026590 copy pdata ,contr 
+0x7b14 026591 call memcpy_dword_swap4 
+0x7b15 026593 setarg 0x62746c 
+0x7b16 026594 lshift8 pdata ,pdata 
+0x7b17 026595 or_into 0x6b ,pdata 
+0x7b18 026596 istore 4 ,contw 
+0x7b19 026597 arg mem_addr_value_end ,contr 
+0x7b1a 026598 force 3 ,loopcnt 
+0x7b1b 026599 call memcpy_dword_swap 
+0x7b1c 026601 setarg 0x800000 
+0x7b1d 026602 lshift8 pdata ,pdata 
+0x7b1e 026603 istore 4 ,contw 
+0x7b1f 026604 force 0 ,pdata 
+0x7b20 026605 istore 8 ,contw 
+0x7b21 026606 setarg 0x0380 
+0x7b22 026607 istore 4 ,contw 
+0x7b23 026608 call sha 
+0x7b24 026610 call sha_result 
+0x7b25 026611 arg memresult ,contr 
+0x7b26 026612 arg memahsave ,contw 
+0x7b27 026613 call memcpy32 
+0x7b28 026615 setarg 0x5c5c5c 
+0x7b29 026616 lshift8 pdata ,temp 
+0x7b2a 026617 or_into 0x5c ,temp 
+0x7b2b 026618 arg mem_sp_dhkey_end ,contr 
+0x7b2c 026619 force 6 ,loopcnt 
+0x7b2d 026620 call pad_xor 
+0x7b2e 026621 call sha_init 
+0x7b2f 026622 call sha 
+0x7b30 026623 arg memahsave_end ,contr 
+0x7b31 026624 arg memdat ,contw 
+0x7b32 026625 force 8 ,loopcnt 
+0x7b33 026626 call memcpy_dword_swap 
+0x7b34 026627 setarg 0x800000 
+0x7b35 026628 lshift8 pdata ,pdata 
+0x7b36 026629 istore 4 ,contw 
+0x7b37 026630 call bn_zero 
+0x7b38 026631 setarg 0x0300 
+0x7b39 026632 istore 4 ,contw 
+0x7b3a 026633 call sha 
+0x7b3b 026634 branch sha_result 
+:      026637 function_f3a:
+0x7b3c 026638 setarg 0x363636 
+0x7b3d 026639 lshift8 pdata ,temp 
+0x7b3e 026640 or_into 0x36 ,temp 
+0x7b3f 026641 arg mem_sp_dhkey_end ,contr 
+0x7b40 026642 force 6 ,loopcnt 
+0x7b41 026643 call pad_xor 
+0x7b42 026644 call sha_init 
+0x7b43 026645 call sha 
+0x7b44 026646 arg mem_sp_random_remote_end ,contr 
+0x7b45 026647 arg memdat ,contw 
+0x7b46 026648 call memcpy_dword_swap4 
+0x7b47 026649 arg mem_sp_random_local_end ,contr 
+0x7b48 026650 call memcpy_dword_swap4 
+0x7b49 026651 branch function_f3b_common 
+:      026653 function_f3b:
+0x7b4a 026654 setarg 0x363636 
+0x7b4b 026655 lshift8 pdata ,temp 
+0x7b4c 026656 or_into 0x36 ,temp 
+0x7b4d 026657 arg mem_sp_dhkey_end ,contr 
+0x7b4e 026658 force 6 ,loopcnt 
+0x7b4f 026659 call pad_xor 
+0x7b50 026660 call sha_init 
+0x7b51 026661 call sha 
+0x7b52 026663 arg mem_sp_random_local_end ,contr 
+0x7b53 026664 arg memdat ,contw 
+0x7b54 026665 call memcpy_dword_swap4 
+0x7b55 026666 arg mem_sp_random_remote_end ,contr 
+0x7b56 026667 call memcpy_dword_swap4 
+:      026668 function_f3b_common:
+0x7b57 026669 setarg 0x0 
+0x7b58 026670 istore 8 ,contw 
+0x7b59 026671 istore 8 ,contw 
+0x7b5a 026673 copy contw ,temp 
+0x7b5b 026674 jam 0x80 ,mem_addr_padding 
+0x7b5c 026675 copy temp ,contw 
+0x7b5d 026676 arg mem_addr_iocap_end ,contr 
+0x7b5e 026677 call memcpy_dword_swap4 
+0x7b5f 026679 call sha 
+0x7b60 026681 arg memdat ,contw 
+0x7b61 026682 force 7 ,loopcnt 
+0x7b62 026683 call memset0 
+0x7b63 026684 istore 4 ,contw 
+0x7b64 026685 setarg 0x03F8 
+0x7b65 026686 istore 4 ,contw 
+0x7b66 026687 call sha 
+0x7b67 026688 call sha_result 
+0x7b68 026690 arg memresult ,contr 
+0x7b69 026691 arg memahsave ,contw 
+0x7b6a 026692 call memcpy32 
+0x7b6b 026694 setarg 0x5c5c5c 
+0x7b6c 026695 lshift8 pdata ,temp 
+0x7b6d 026696 or_into 0x5c ,temp 
+0x7b6e 026697 arg mem_sp_dhkey_end ,contr 
+0x7b6f 026698 force 6 ,loopcnt 
+0x7b70 026699 call pad_xor 
+0x7b71 026700 call sha_init 
+0x7b72 026701 call sha 
+0x7b73 026702 arg memahsave_end ,contr 
+0x7b74 026703 arg memdat ,contw 
+0x7b75 026704 force 8 ,loopcnt 
+0x7b76 026705 call memcpy_dword_swap 
+0x7b77 026706 setarg 0x800000 
+0x7b78 026707 lshift8 pdata ,pdata 
+0x7b79 026708 istore 4 ,contw 
+0x7b7a 026709 call bn_zero 
+0x7b7b 026710 setarg 0x0300 
+0x7b7c 026711 istore 4 ,contw 
+0x7b7d 026712 call sha 
+0x7b7e 026713 branch sha_result 
+:      026720 eckp_calc_init:
+0x7b7f 026721 jam 192 ,mem_ec_loopc 
+:      026722 eckp_calc_init_1:
+0x7b80 026723 fetch 1 ,mem_ec_loopc 
+0x7b81 026724 rtn blank 
+0x7b82 026725 increase -1 ,pdata 
+0x7b83 026726 store 1 ,mem_ec_loopc 
+0x7b84 026727 arg mem_k ,contr 
+0x7b85 026728 call bn_testbit 
+0x7b86 026729 branch eckp_calc_init_1 ,true 
+0x7b87 026730 arg mem_ax ,contr 
+0x7b88 026731 arg mem_cx ,contw 
+0x7b89 026732 branch ec_copy 
+:      026734 eckp_calc:
+0x7b8a 026735 call ecdbl 
+0x7b8b 026736 fetch 1 ,mem_ec_loopc 
+0x7b8c 026737 increase -1 ,pdata 
+0x7b8d 026738 store 1 ,mem_ec_loopc 
+0x7b8e 026739 arg mem_k ,contr 
+0x7b8f 026740 call bn_testbit 
+0x7b90 026741 rtn true 
+0x7b91 026742 branch ecadd 
+:      026744 eckp_cp_1:
+0x7b92 026745 jam 0 ,mem_ec_infinite 
+0x7b93 026746 arg mem_ax ,contr 
+0x7b94 026747 arg mem_cx ,contw 
+0x7b95 026748 branch ec_copy 
+:      026750 memcpy_dword_swap4:
+0x7b96 026751 force 4 ,loopcnt 
+:      026752 memcpy_dword_swap:
+0x7b97 026753 increase -4 ,contr 
+:      026754 memcpy_dword_swap_loop:
+0x7b98 026755 ifetch 4 ,contr 
+0x7b99 026756 istore 4 ,contw 
+0x7b9a 026757 increase -8 ,contr 
+0x7b9b 026758 loop memcpy_dword_swap_loop 
+0x7b9c 026759 rtn 
+:      026762 ui_init:
+0x7b9d 026763 rtn wake 
+0x7b9e 026764 call ui_button_init 
+0x7b9f 026765 call ui_timer_init 
+0x7ba0 026766 branch ui_led_init 
+:      026768 ui_dispatch:
+0x7ba1 026769 fetch 1 ,mem_device_option 
+0x7ba2 026770 rtneq dvc_op_hci 
+0x7ba3 026771 call ui_led_blink_polling 
+0x7ba4 026773 branch ui_timer_check 
+:      026775 ui_button_init:
+0x7ba5 026776 fetch 1 ,mem_ui_button_gpio 
+0x7ba6 026777 rtneq ui_button_gpio_disable 
+0x7ba7 026778 iforce temp 
+0x7ba8 026779 call gpio_config_output 
+0x7ba9 026780 fetcht 1 ,mem_ui_button_gpio 
+0x7baa 026781 call gpio_out_inactive 
+0x7bab 026782 nop 100 
+0x7bac 026783 fetcht 1 ,mem_ui_button_gpio 
+0x7bad 026784 call gpio_config_input 
+0x7bae 026785 branch ui_button_polling 
+:      026787 ui_button_disable:
+0x7baf 026788 jam ui_button_gpio_disable ,mem_ui_button_gpio 
+0x7bb0 026789 rtn 
+:      026791 ui_button_polling:
+0x7bb1 026792 set1 mark_ext_patch ,mark 
+0x7bb2 026793 bpatch patch30_5 ,mem_patch30 
+0x7bb3 026794 fetch 1 ,mem_ui_button_gpio 
+0x7bb4 026795 rtneq ui_button_gpio_disable 
+0x7bb5 026796 copy pdata ,temp 
+0x7bb6 026797 call gpio_get_bit 
+0x7bb7 026798 nbranch ui_button_up ,true 
+:      026800 ui_button_down:
+0x7bb8 026801 call ui_button_check_long_press 
+0x7bb9 026802 fetch 2 ,mem_ui_state_map 
+0x7bba 026803 set1 ui_state_btn_down 
+0x7bbb 026804 store 2 ,mem_ui_state_map 
+0x7bbc 026805 fetch 1 ,mem_ui_button_last_state 
+0x7bbd 026806 rtneq ui_button_state_down 
+0x7bbe 026807 jam ui_button_state_down ,mem_ui_button_last_state 
+0x7bbf 026809 fetch 1 ,mem_ui_button_timeout 
+0x7bc0 026810 store 1 ,mem_ui_button_timer 
+0x7bc1 026811 call lpm_button_get_wake_lock 
+0x7bc2 026812 jam bt_evt_button_down ,mem_fifo_temp 
+0x7bc3 026813 branch ui_ipc_send_event 
+:      026814 ui_button_up:
+0x7bc4 026815 fetch 2 ,mem_ui_state_map 
+0x7bc5 026816 set0 ui_state_btn_down 
+0x7bc6 026817 store 2 ,mem_ui_state_map 
+0x7bc7 026818 fetch 1 ,mem_ui_button_last_state 
+0x7bc8 026819 rtneq ui_button_state_up 
+0x7bc9 026820 jam ui_button_state_up ,mem_ui_button_last_state 
+0x7bca 026822 jam 0 ,mem_ui_button_timer 
+0x7bcb 026823 call lpm_button_clean_wake_lock 
+0x7bcc 026824 jam bt_evt_button_up ,mem_fifo_temp 
+0x7bcd 026825 branch ui_ipc_send_event 
+:      026827 ui_button_check_long_press:
+0x7bce 026828 fetch 1 ,mem_ui_button_timer 
+0x7bcf 026829 rtn blank 
+0x7bd0 026830 increase -1 ,pdata 
+0x7bd1 026831 store 1 ,mem_ui_button_timer 
+0x7bd2 026832 nrtn blank 
+0x7bd3 026834 jam bt_evt_button_long_pressed ,mem_fifo_temp 
+0x7bd4 026835 branch ui_ipc_send_event 
+:      026837 lpm_button_get_wake_lock:
+0x7bd5 026838 arg wake_lock_button ,queue 
+0x7bd6 026839 branch lpm_get_wake_lock 
+:      026841 lpm_button_clean_wake_lock:
+0x7bd7 026842 arg wake_lock_button ,queue 
+0x7bd8 026843 branch lpm_put_wake_lock 
+:      026845 ui_led_init:
+0x7bd9 026846 fetch 1 ,mem_led_gpio 
+0x7bda 026847 rtneq ui_button_gpio_disable 
+0x7bdb 026848 iforce temp 
+0x7bdc 026849 call gpio_config_output 
+0x7bdd 026850 branch ui_led_off 
+:      026852 ui_led_blink_stop:
+0x7bde 026853 fetch 2 ,mem_ui_state_map 
+0x7bdf 026854 set0 ui_state_led_blink 
+0x7be0 026855 store 2 ,mem_ui_state_map 
+0x7be1 026856 jam ui_led_stop ,mem_led_switch 
+:      026857 ui_led_off:
+0x7be2 026858 fetch 2 ,mem_ui_state_map 
+0x7be3 026859 set0 ui_state_led_on 
+0x7be4 026860 store 2 ,mem_ui_state_map 
+0x7be5 026861 fetcht 1 ,mem_led_gpio 
+0x7be6 026862 branch gpio_out_inactive 
+:      026864 ui_led_on:
+0x7be7 026865 fetch 2 ,mem_ui_state_map 
+0x7be8 026866 set1 ui_state_led_on 
+0x7be9 026867 store 2 ,mem_ui_state_map 
+0x7bea 026868 jam ui_led_stop ,mem_led_switch 
+0x7beb 026869 fetcht 1 ,mem_led_gpio 
+0x7bec 026870 branch gpio_out_active 
+:      026872 ui_led_blink_start:
+0x7bed 026873 fetch 2 ,mem_ui_state_map 
+0x7bee 026874 set1 ui_state_led_blink 
+0x7bef 026875 store 2 ,mem_ui_state_map 
+0x7bf0 026876 jam ui_led_start ,mem_led_switch 
+0x7bf1 026877 rtn 
+:      026879 ui_led_blink_polling:
+0x7bf2 026880 set1 mark_ext_patch ,mark 
+0x7bf3 026881 bpatch patch30_6 ,mem_patch30 
+0x7bf4 026882 fetch 1 ,mem_led_switch 
+0x7bf5 026883 rtneq ui_led_stop 
+0x7bf6 026884 arg ui_led_blink ,queue 
+0x7bf7 026885 call timer_check 
+0x7bf8 026886 nrtn blank 
+0x7bf9 026887 fetch 1 ,mem_led_switch 
+0x7bfa 026888 beq ui_led_dark_time ,ui_led_blink_polling_dark 
+0x7bfb 026889 call ui_led_on 
+0x7bfc 026890 jam ui_led_dark_time ,mem_led_switch 
+0x7bfd 026891 fetch 2 ,mem_led_light_time 
+0x7bfe 026892 branch ui_led_blink_timer_start 
+:      026893 ui_led_blink_polling_dark:
+0x7bff 026894 call ui_led_off 
+0x7c00 026895 jam ui_led_light_time ,mem_led_switch 
+0x7c01 026896 fetch 2 ,mem_led_dark_time 
+:      026897 ui_led_blink_timer_start:
+0x7c02 026898 arg ui_led_blink ,queue 
+0x7c03 026899 branch timer_init 
+:      026902 ui_timer_check:
+0x7c04 026903 set1 mark_ext_patch ,mark 
+0x7c05 026904 bpatch patch30_7 ,mem_patch30 
+0x7c06 026905 arg 0 ,rega 
+0x7c07 026906 fetcht 4 ,mem_ui_timer_last_btclk 
+0x7c08 026907 copy clkn_bt ,regb 
+:      026909 ui_timer_check_loop:
+0x7c09 026910 copy regb ,pdata 
+0x7c0a 026911 increase 160 ,temp 
+0x7c0b 026912 increase 160 ,temp 
+0x7c0c 026913 isub temp ,null 
+0x7c0d 026914 nbranch ui_timer_check_end ,positive 
+0x7c0e 026915 increase 1 ,rega 
+0x7c0f 026916 and rega ,0x0f ,pdata 
+0x7c10 026917 nbranch ui_timer_check_loop ,blank 
+0x7c11 026918 arg 0 ,rega 
+0x7c12 026919 call ui_timer_check_send_evt 
+:      026920 ui_timer_init:
+0x7c13 026921 copy clkn_bt ,pdata 
+0x7c14 026922 store 4 ,mem_ui_timer_last_btclk 
+0x7c15 026923 rtn 
+:      026924 ui_timer_check_end:
+0x7c16 026925 set1 mark_ext_patch ,mark 
+0x7c17 026926 bpatch patch31_0 ,mem_patch31 
+0x7c18 026927 copy rega ,pdata 
+0x7c19 026928 rtn blank 
+0x7c1a 026929 increase -160 ,temp 
+0x7c1b 026930 increase -160 ,temp 
+0x7c1c 026931 storet 4 ,mem_ui_timer_last_btclk 
+:      026932 ui_timer_check_send_evt:
+0x7c1d 026933 increase bt_evt_timer_init ,pdata 
+0x7c1e 026934 store 1 ,mem_fifo_temp 
+0x7c1f 026935 branch ui_ipc_send_event 
+:      026941 ui_ipc_get_lock:
+0x7c20 026942 jam 1 ,mem_ipc_lock_bt 
+:      026943 ui_ipc_get_lock_wait:
+0x7c21 026944 fetch 1 ,mem_ipc_lock_c51 
+0x7c22 026945 nbranch ui_ipc_get_lock_wait ,blank 
+0x7c23 026946 rtn 
+:      026948 ui_ipc_put_lock:
+0x7c24 026949 jam 0 ,mem_ipc_lock_bt 
+0x7c25 026950 rtn 
+:      026952 ui_ipc_fifo_out:
+0x7c26 026953 branch fifo_out 
+:      026957 ui_ipc_send_event:
+0x7c27 026958 set1 mark_ext_patch ,mark 
+0x7c28 026959 bpatch patch31_1 ,mem_patch31 
+0x7c29 026960 fetch 1 ,mem_device_option 
+0x7c2a 026961 rtneq dvc_op_hci 
+0x7c2b 026962 call ui_ipc_get_lock 
+0x7c2c 026963 copy rega ,pdata 
+0x7c2d 026964 store 4 ,mem_ipc_rega_temp 
+0x7c2e 026965 arg mem_ipc_fifo_bt2c51 ,rega 
+0x7c2f 026966 call fifo_in 
+0x7c30 026967 fetch 4 ,mem_ipc_rega_temp 
+0x7c31 026968 copy pdata ,rega 
+0x7c32 026969 branch ui_ipc_put_lock 
+:      026971 ui_ipc_send_cmd:
+0x7c33 026972 set1 mark_ext_patch ,mark 
+0x7c34 026973 bpatch patch31_2 ,mem_patch31 
+0x7c35 026974 fetch 1 ,mem_device_option 
+0x7c36 026975 rtneq dvc_op_hci 
+0x7c37 026976 call ui_ipc_get_lock 
+0x7c38 026977 copy rega ,pdata 
+0x7c39 026978 store 4 ,mem_ipc_rega_temp 
+0x7c3a 026979 arg mem_ipc_fifo_c512bt ,rega 
+0x7c3b 026980 call fifo_in 
+0x7c3c 026981 fetch 4 ,mem_ipc_rega_temp 
+0x7c3d 026982 copy pdata ,rega 
+0x7c3e 026983 branch ui_ipc_put_lock 
+:      026985 ui_ipc_clean_all_fifo:
+0x7c3f 026986 set1 mark_ext_patch ,mark 
+0x7c40 026987 bpatch patch31_3 ,mem_patch31 
+0x7c41 026988 setarg 0 
+0x7c42 026989 store util_fifo_len ,mem_ipc_fifo_c512bt 
+0x7c43 026990 store util_fifo_len ,mem_ipc_fifo_bt2c51 
+0x7c44 026991 rtn 
+:      026993 check_51cmd:
+0x7c45 026994 set1 mark_ext_patch ,mark 
+0x7c46 026995 bpatch patch31_4 ,mem_patch31 
+0x7c47 026996 fetch 1 ,mem_hci_cmd 
+0x7c48 026997 nrtn blank 
+0x7c49 026998 arg mem_ipc_fifo_c512bt ,rega 
+0x7c4a 026999 call fifo_is_empty 
+0x7c4b 027000 rtn blank 
+0x7c4c 027001 jam ipc_continue_process ,mem_ipc_skip_continue_proc 
+0x7c4d 027002 call check_51cmd_once 
+0x7c4e 027003 fetch 1 ,mem_ipc_skip_continue_proc 
+0x7c4f 027004 branch check_51cmd ,blank 
+0x7c50 027005 rtn 
+:      027007 check_51cmd_once:
+0x7c51 027008 set1 mark_ext_patch ,mark 
+0x7c52 027009 bpatch patch31_5 ,mem_patch31 
+0x7c53 027010 call ui_ipc_get_lock 
+0x7c54 027011 arg mem_ipc_fifo_c512bt ,rega 
+0x7c55 027012 call fifo_out 
+0x7c56 027013 copy pdata ,temp 
+0x7c57 027014 call ui_ipc_put_lock 
+0x7c58 027015 copy temp ,pdata 
+0x7c59 027016 rtn blank 
+0x7c5a 027017 beq bt_cmd_start_discovery ,check_51cmd_start_discovery 
+0x7c5b 027018 beq bt_cmd_stop_discovery ,check_51cmd_stop_discovery 
+0x7c5c 027019 beq bt_cmd_reconnect ,check_51cmd_reconnect 
+0x7c5d 027020 beq bt_cmd_enter_sniff_subrating ,check_51cmd_enter_sniff_subrating 
+0x7c5e 027021 beq bt_cmd_exit_sniff_subrating ,check_51cmd_exit_sniff_subrating 
+0x7c5f 027022 beq bt_cmd_sniff_test ,check_51cmd_sniff_test 
+0x7c60 027023 beq bt_cmd_start_inquiry ,check_51cmd_inq 
+0x7c61 027024 beq bt_cmd_stop_inquiry ,check_51cmd_stop_inq 
+0x7c62 027025 beq bt_cmd_start_adv ,check_51cmd_adv 
+0x7c63 027026 beq bt_cmd_stop_adv ,check_51cmd_stop_adv 
+0x7c64 027027 beq bt_cmd_start_direct_adv ,check_51cmd_direct_adv 
+0x7c65 027028 beq bt_cmd_stop_direct_adv ,check_51cmd_stop_direct_adv 
+0x7c66 027029 beq bt_cmd_le_update_conn ,check_51cmd_le_update_conn 
+0x7c67 027030 beq bt_cmd_led_blink ,ui_led_blink_start 
+0x7c68 027031 beq bt_cmd_led_on ,ui_led_on 
+0x7c69 027032 beq bt_cmd_led_off ,ui_led_blink_stop 
+0x7c6a 027033 beq bt_cmd_le_start_conn ,check_51cmd_le_start_con 
+0x7c6b 027034 beq bt_cmd_le_start_scan ,check_51cmd_start_scan 
+0x7c6c 027035 beq bt_cmd_le_stop_scan ,check_51cmd_stop_scan 
+0x7c6d 027036 beq bt_cmd_enter_hibernate ,check_51cmd_hibernate 
+0x7c6e 027037 beq bt_cmd_le_smp_security_request ,check_51cmd_le_smp_sec_req 
+0x7c6f 027038 beq bt_cmd_le_start_write ,check_51cmd_le_start_write 
+0x7c70 027039 beq bt_cmd_bb_reconn_cancel ,check_51cmd_bb_reconn_cancel 
+0x7c71 027041 store 1 ,mem_fifo_temp 
+0x7c72 027042 set1 mark_ext_patch ,mark 
+0x7c73 027043 bpatch patch31_6 ,mem_patch31 
+0x7c74 027044 fetch 1 ,mem_lmo_opcode2 
+0x7c75 027045 branch check_51cmd_once_continue ,blank 
+0x7c76 027046 call lmo_fifo_process 
+0x7c77 027047 fetch 1 ,mem_lmo_opcode2 
+0x7c78 027048 nbranch check_51cmd_restore ,blank 
+:      027049 check_51cmd_once_continue:
+0x7c79 027050 fetch 1 ,mem_fifo_temp 
+0x7c7a 027051 bmark0 mark_context ,check_51cmd_check_idle 
+:      027052 check_51cmd_once_continue0:
+0x7c7b 027053 beq bt_cmd_enter_sniff ,cmd_in_sniff 
+0x7c7c 027054 beq bt_cmd_exit_sniff ,cmd_exit_sniff 
+0x7c7d 027055 beq bt_cmd_set_pin_code ,check_51cmd_pincode 
+0x7c7e 027056 beq bt_cmd_disconnect ,check_51cmd_disconnect 
+0x7c7f 027057 beq bt_cmd_le_disconnect ,check_51cmd_le_disconnect 
+0x7c80 027058 beq bt_cmd_role_switch ,check_51cmd_role_switch 
+0x7c81 027059 beq bt_cmd_store_reconn_info_le ,eeprom_store_le_reconn_info 
+0x7c82 027060 beq bt_cmd_store_reconn_info_bt ,eeprom_store_bd_reconn_info 
+0x7c83 027061 beq bt_cmd_le_update_conn ,bt_cmd_le_update_conn_1 
+0x7c84 027062 rtn 
+:      027065 bt_cmd_le_update_conn_1:
+0x7c85 027066 jam xt_ll_connection_param_req ,mem_fifo_temp 
+0x7c86 027067 branch le_xtype_fifo_in 
+:      027068 check_51cmd_check_idle:
+0x7c87 027069 store 1 ,mem_fifo_temp 
+0x7c88 027070 call context_check_idle 
+0x7c89 027071 branch check_51cmd_restore ,zero 
+0x7c8a 027072 call context_search_plap 
+0x7c8b 027073 nrtn zero 
+:      027074 check_51cmd_restore:
+0x7c8c 027075 jam ipc_skip_continue_process ,mem_ipc_skip_continue_proc 
+0x7c8d 027076 branch ui_ipc_send_cmd 
+:      027079 check_51cmd_role_switch:
+0x7c8e 027080 jam lmp_slot_offset ,mem_lmo_opcode2 
+0x7c8f 027081 set1 mark_switch_initiated ,mark 
+0x7c90 027082 nrtn master 
+0x7c91 027083 jam switch_flag_init ,mem_switch_flag 
+0x7c92 027084 jam lmp_switch_req ,mem_lmo_opcode2 
+0x7c93 027085 fetch 1 ,mem_connection_options 
+0x7c94 027086 set0 connection_switch ,pdata 
+0x7c95 027087 store 1 ,mem_connection_options 
+0x7c96 027088 rtn 
+:      027090 check_51cmd_start_discovery:
+0x7c97 027091 fetch 2 ,mem_ui_state_map 
+0x7c98 027092 set1 ui_state_bt_discovery 
+0x7c99 027093 store 2 ,mem_ui_state_map 
+0x7c9a 027094 jam 3 ,mem_scan_mode 
+0x7c9b 027095 rtn 
+:      027097 check_51cmd_stop_discovery:
+0x7c9c 027098 jam 0 ,mem_hid_handshake_timer_count 
+0x7c9d 027099 jam 0 ,mem_scan_mode 
+0x7c9e 027100 fetch 2 ,mem_ui_state_map 
+0x7c9f 027101 set0 ui_state_bt_discovery 
+0x7ca0 027102 store 2 ,mem_ui_state_map 
+0x7ca1 027103 rtn 
+:      027105 check_51cmd_reconnect:
+0x7ca2 027106 jam hci_cmd_create_conn ,mem_hci_cmd 
+0x7ca3 027107 rtn 
+:      027109 check_51cmd_disconnect:
+0x7ca4 027110 jam lmp_detach ,mem_lmo_opcode2 
+0x7ca5 027111 jam other_end_terminated ,mem_disconn_reason_send 
+0x7ca6 027112 rtn 
+:      027115 check_51cmd_enter_sniff_subrating:
+0x7ca7 027116 rtn 
+:      027118 check_51cmd_exit_sniff_subrating:
+0x7ca8 027119 rtn 
+:      027121 check_51cmd_sniff_test:
+0x7ca9 027122 rtn 
+:      027124 check_51cmd_pincode:
+0x7caa 027125 jam pincode_state_pincode_ready ,mem_pincode_state 
+0x7cab 027126 branch cmd_pair 
+:      027128 check_51cmd_inq:
+0x7cac 027129 rtn 
+:      027130 check_51cmd_stop_inq:
+0x7cad 027131 rtn 
+:      027132 check_51cmd_adv:
+0x7cae 027133 jam on ,mem_le_adv_enable 
+0x7caf 027134 jam adv_ind ,mem_le_adv_type 
+0x7cb0 027135 rtn 
+:      027136 check_51cmd_stop_adv:
+0x7cb1 027137 jam off ,mem_le_adv_enable 
+0x7cb2 027138 rtn 
+:      027139 check_51cmd_direct_adv:
+0x7cb3 027140 jam on ,mem_le_adv_enable 
+0x7cb4 027141 jam adv_direct_ind ,mem_le_adv_type 
+0x7cb5 027142 rtn 
+:      027143 check_51cmd_stop_direct_adv:
+0x7cb6 027144 jam off ,mem_le_adv_enable 
+0x7cb7 027145 rtn 
+:      027146 check_51cmd_le_disconnect:
+0x7cb8 027147 setarg 1 
+0x7cb9 027148 store 2 ,mem_le_superto 
+0x7cba 027149 rtn 
+:      027150 check_51cmd_le_update_conn:
+0x7cbb 027151 rtn 
+:      027152 check_51cmd_le_start_con:
+0x7cbc 027153 jam on ,mem_le_scan_enable 
+0x7cbd 027154 jam hci_cmd_le_create_conn ,mem_hci_cmd 
+0x7cbe 027155 fetch 6 ,mem_app_peer_addr 
+0x7cbf 027156 store 6 ,mem_le_conn_peer_addr 
+0x7cc0 027157 rtn 
+:      027158 check_51cmd_start_scan:
+0x7cc1 027159 jam on ,mem_le_scan_enable 
+0x7cc2 027160 rtn 
+:      027161 check_51cmd_stop_scan:
+0x7cc3 027162 jam off ,mem_le_scan_enable 
+0x7cc4 027163 jam 0 ,mem_hci_cmd 
+0x7cc5 027164 rtn 
+:      027165 check_51cmd_le_smp_sec_req:
+0x7cc6 027166 jam xt_smp_security_request ,mem_fifo_temp 
+0x7cc7 027167 branch le_xtype_fifo_in 
+:      027168 check_51cmd_hibernate:
+0x7cc8 027169 set1 mark_ext_patch ,mark 
+0x7cc9 027170 bpatch patch31_7 ,mem_patch31 
+0x7cca 027171 fetch 2 ,mem_cb_before_hibernate 
+0x7ccb 027172 call callback_func 
+0x7ccc 027173 fetch 1 ,mem_ui_button_gpio 
+0x7ccd 027174 beq ui_button_gpio_disable ,check_51cmd_hibernate_btn_disabled 
+0x7cce 027175 copy pdata ,temp 
+0x7ccf 027176 call gpio_config_input 
+:      027177 check_51cmd_hibernate_btn_disabled:
+0x7cd0 027178 call ui_led_off 
+0x7cd1 027179 call ui_ipc_clean_all_fifo 
+0x7cd2 027180 branch lpm_hibernate 
+:      027182 check_51cmd_le_start_write:
+0x7cd3 027183 jam 1 ,mem_le_switch_send_data 
+0x7cd4 027184 rtn 
+:      027186 check_51cmd_bb_reconn_cancel:
+0x7cd5 027187 force page_length_timer ,queue 
+0x7cd6 027188 branch timer_stop 
+:      027190 ui_check_paring_button:
+0x7cd7 027191 fetch 1 ,mem_ui_state_map 
+0x7cd8 027192 rtnbit0 ui_state_btn_down 
+0x7cd9 027193 rtnbit0 ui_state_bt_reconnect 
+0x7cda 027194 branch check_51cmd_bb_reconn_cancel 
+:      027198 usb_isr:
+0x7cdb 027199 set1 mark_ext_patch ,mark 
+0x7cdc 027200 bpatch patch3a_5 ,mem_patch3a 
+0x7cdd 027201 call usb_tx_test 
+0x7cde 027202 hfetch 1 ,core_usb_status 
+0x7cdf 027203 store 1 ,mem_usb_status 
+0x7ce0 027204 hfetch 1 ,core_usb_fifo_empty 
+0x7ce1 027205 store 1 ,mem_usb_fifo_empty 
+0x7ce2 027206 hjam 0xe0 ,core_usb_status 
+0x7ce3 027207 fetch 1 ,mem_usb_fifo_empty 
+0x7ce4 027208 compare 0x1 ,pdata ,0x1 
+0x7ce5 027209 call usb0_fifo_empty ,true 
+0x7ce6 027210 set1 mark_ext_patch ,mark 
+0x7ce7 027211 bpatch patch3a_6 ,mem_patch3a 
+0x7ce8 027212 fetch 1 ,mem_usb_status 
+0x7ce9 027213 compare 0x1 ,pdata ,0x1 
+0x7cea 027214 call usb_status1 ,true 
+0x7ceb 027215 fetch 1 ,mem_usb_state 
+0x7cec 027216 bne usb_connected ,usb_tx 
+0x7ced 027217 fetch 2 ,mem_usb_idle_cnt 
+0x7cee 027218 increase 1 ,pdata 
+0x7cef 027219 store 2 ,mem_usb_idle_cnt 
+0x7cf0 027220 fetcht 2 ,mem_usb_idle_timeout 
+0x7cf1 027221 isub temp ,null 
+0x7cf2 027222 branch usb_init ,positive 
+0x7cf3 027223 fetch 1 ,mem_usb_status 
+0x7cf4 027224 bbit0 usb_status_nak ,usb_tx 
+0x7cf5 027225 setarg 0 
+0x7cf6 027226 store 2 ,mem_usb_idle_cnt 
+0x7cf7 027227 branch usb_tx 
+:      027230 usb_status1:
+0x7cf8 027231 set1 mark_ext_patch ,mark 
+0x7cf9 027232 bpatch patch3a_7 ,mem_patch3a 
+0x7cfa 027233 hjam 0x11 ,core_usb_status 
+0x7cfb 027234 hfetch 1 ,core_usb_ep_len 
+0x7cfc 027235 store 1 ,mem_usb_read_len 
+0x7cfd 027236 copy pdata ,loopcnt 
+0x7cfe 027237 branch usb_rx_no_data ,blank 
+0x7cff 027238 arg mem_usb_setup ,contw 
+0x7d00 027239 call usb_rx_read 
+0x7d01 027240 fetch 1 ,mem_usb_read_len 
+0x7d02 027241 sub pdata ,7 ,null 
+0x7d03 027242 rtn positive 
+:      027243 usb_class_type:
+0x7d04 027244 set1 mark_ext_patch ,mark 
+0x7d05 027245 bpatch patch3b_0 ,mem_patch3b 
+0x7d06 027246 fetch 1 ,mem_usb_setup_bmrequesttype 
+0x7d07 027247 beq hci_class_request_type ,usb_hci_class_req_type 
+0x7d08 027248 beq hid_class_request_type ,usb_hid_class_req_type 
+0x7d09 027249 beq zero_class_request_type ,usb_zero_class_req_type 
+0x7d0a 027250 fetch 1 ,mem_usb_setup_brequest 
+0x7d0b 027251 beq set_address ,usb0_request_set_address 
+0x7d0c 027252 beq get_descriptor ,usb0_request_get_descriptor 
+0x7d0d 027253 beq set_configuration ,usb0_request_set_configuration 
+0x7d0e 027254 beq set_interface ,usb0_request_set_interface 
+0x7d0f 027255 branch usb0_force_stall 
+:      027257 usb_zero_class_req_type:
+0x7d10 027258 fetch 1 ,mem_usb_setup_brequest 
+0x7d11 027259 beq clear_feature ,usb0_request_clear_feature 
+0x7d12 027260 beq set_feature ,usb0_request_set_feature 
+0x7d13 027261 beq set_configuration ,usb0_reply_zerolen 
+0x7d14 027262 beq set_address ,usb0_request_set_address 
+0x7d15 027263 branch usb0_force_stall 
+:      027264 usb_hci_class_req_type:
+0x7d16 027265 call usb0_reply_zerolen 
+0x7d17 027266 rtn 
+:      027268 usb_rx_no_data:
+0x7d18 027269 fetch 1 ,mem_usb_status 
+0x7d19 027270 bbit1 usb_status_setup ,usb_class_type 
+0x7d1a 027271 rtn 
+:      027272 usb_set_protocol_req:
+0x7d1b 027273 fetch 1 ,mem_usb_set_protocol_count 
+0x7d1c 027274 increase 1 ,pdata 
+0x7d1d 027275 store 1 ,mem_usb_set_protocol_count 
+0x7d1e 027276 compare 2 ,pdata ,0xff 
+0x7d1f 027277 nbranch usb0_reply_zerolen ,true 
+0x7d20 027278 jam 1 ,mem_usb_desc 
+0x7d21 027279 branch usb0_reply_zerolen 
+:      027280 usb_hid_class_req_type:
+0x7d22 027281 fetch 1 ,mem_usb_setup_brequest 
+0x7d23 027282 beq set_idle ,usb_set_idle 
+0x7d24 027283 beq set_report ,usb_set_report 
+0x7d25 027284 beq set_protocol ,usb_set_protocol_req 
+0x7d26 027285 branch usb0_force_stall 
+:      027286 usb_set_idle:
+0x7d27 027287 fetch 1 ,mem_usb_state 
+0x7d28 027288 beq usb_setidle_1 ,usb_set_idle_connected 
+0x7d29 027289 bne usb_resume ,usb0_reply_zerolen 
+0x7d2a 027290 jam usb_setidle_1 ,mem_usb_state 
+0x7d2b 027291 branch usb0_reply_zerolen 
+:      027292 usb_set_idle_connected:
+0x7d2c 027293 jam usb_connected ,mem_usb_state 
+0x7d2d 027294 branch usb0_reply_zerolen 
+:      027296 usb_set_report:
+0x7d2e 027297 jam 1 ,mem_usb_desc 
+0x7d2f 027298 arg mem_usb_desc ,rega 
+0x7d30 027299 arg 1 ,regb 
+0x7d31 027300 branch usb0_respond 
+:      027301 usb0_force_stall:
+0x7d32 027302 hjam 1 ,core_usb_stall 
+0x7d33 027303 rtn 
+:      027304 usb0_reply_zerolen:
+0x7d34 027305 hjam 0x40 ,core_usb_clear 
+0x7d35 027306 rtn 
+:      027308 usb_rx_read:
+0x7d36 027309 hfetch 1 ,core_usb_ep 
+0x7d37 027310 istore 1 ,contw 
+0x7d38 027311 loop usb_rx_read 
+0x7d39 027312 rtn 
+:      027314 usb0_fifo_empty:
+0x7d3a 027315 hjam 0x1 ,core_usb_fifo_empty 
+0x7d3b 027316 call usb0_tx 
+0x7d3c 027317 rtn 
+:      027319 usb0_request_get_descriptor:
+0x7d3d 027320 set1 mark_ext_patch ,mark 
+0x7d3e 027321 bpatch patch3b_1 ,mem_patch3b 
+0x7d3f 027322 set0 mark_isstr ,mark 
+0x7d40 027323 fetch 1 ,mem_usb_setup_bvalueh 
+0x7d41 027324 beq dsc_device ,dsc_device_info 
+0x7d42 027325 beq dsc_config ,dsc_config_info 
+0x7d43 027326 beq dsc_string ,dsc_string_info 
+0x7d44 027327 beq dsc_hid ,dsc_hid_info 
+0x7d45 027328 beq dsc_hid_report ,dsc_hid_report_info 
+0x7d46 027329 rtn 
+:      027331 dsc_device_info:
+0x7d47 027332 arg mem_devicedesc ,rega 
+0x7d48 027333 branch usb0_respond_length 
+:      027334 dsc_config_info:
+0x7d49 027335 arg mem_confdesc ,rega 
+0x7d4a 027336 branch usb0_respond_length 
+:      027337 dsc_string_info:
+0x7d4b 027338 fetch 1 ,mem_usb_setup_bvalue 
+0x7d4c 027339 and_into 3 ,pdata 
+0x7d4d 027340 arg mem_string0 ,rega 
+0x7d4e 027341 beq 0 ,usb0_respond_length 
+0x7d4f 027342 set1 mark_isstr ,mark 
+0x7d50 027343 arg mem_string1 ,rega 
+0x7d51 027344 beq 1 ,usb0_respond_length 
+0x7d52 027345 arg mem_string2 ,rega 
+0x7d53 027346 beq 2 ,usb0_respond_length 
+0x7d54 027347 arg mem_string3 ,rega 
+0x7d55 027348 beq 3 ,usb0_respond_length 
+0x7d56 027349 branch assert 
+:      027350 dsc_hid_info:
+0x7d57 027351 arg mem_confdesc + 18 ,rega 
+0x7d58 027352 fetch 1 ,mem_confdesc + 18 
+0x7d59 027353 copy pdata ,regb 
+0x7d5a 027354 branch usb0_respond 
+:      027355 dsc_hid_report_info:
+0x7d5b 027356 fetch 2 ,mem_usb_setup_windex 
+0x7d5c 027357 beq 1 ,dsc_hid_report_info0 
+0x7d5d 027358 arg mem_hidreportdesc_kb ,rega 
+0x7d5e 027359 branch usb0_respond_length 
+:      027360 dsc_hid_report_info0:
+0x7d5f 027361 jam usb_got_report_req ,mem_usb_state 
+0x7d60 027362 arg mem_hidreportdesc_m ,rega 
+0x7d61 027363 branch usb0_respond_length 
+:      027365 usb0_respond_length:
+0x7d62 027366 ifetch 1 ,rega 
+0x7d63 027367 iforce regb 
+0x7d64 027368 increase 1 ,rega 
+:      027371 usb0_respond:
+0x7d65 027372 set1 mark_ext_patch ,mark 
+0x7d66 027373 bpatch patch3b_2 ,mem_patch3b 
+0x7d67 027374 bmark0 mark_isstr ,usb0_respond0 
+0x7d68 027375 add regb ,1 ,pdata 
+0x7d69 027376 lshift pdata ,pdata 
+0x7d6a 027377 hstore 1 ,core_usb_dfifo0 
+0x7d6b 027378 hjam 3 ,core_usb_dfifo0 
+0x7d6c 027379 fetch 1 ,mem_usb_setup_blength 
+0x7d6d 027380 increase -2 ,pdata 
+0x7d6e 027381 rshift pdata ,pdata 
+0x7d6f 027382 store 1 ,mem_usb_setup_blength 
+0x7d70 027383 beq 0 ,usb_no_respond_data 
+:      027384 usb0_respond0:
+0x7d71 027385 fetch 1 ,mem_usb_setup_blength 
+0x7d72 027386 isub regb ,null 
+0x7d73 027387 branch usb0_respond1 ,positive 
+0x7d74 027388 copy pdata ,regb 
+:      027389 usb0_respond1:
+0x7d75 027390 copy rega ,pdata 
+0x7d76 027391 store 2 ,mem_bufptr 
+0x7d77 027392 copy regb ,pdata 
+0x7d78 027393 store 1 ,mem_remain 
+0x7d79 027394 branch usb0_tx 
+:      027396 usb_no_respond_data:
+0x7d7a 027397 arg 0 ,queue 
+0x7d7b 027398 branch usb_trig 
+:      027402 usb0_tx:
+0x7d7c 027403 set1 mark_ext_patch ,mark 
+0x7d7d 027404 bpatch patch3b_3 ,mem_patch3b 
+0x7d7e 027405 fetch 1 ,mem_remain 
+0x7d7f 027406 rtn blank 
+0x7d80 027407 copy pdata ,loopcnt 
+0x7d81 027408 sub pdata ,ep0_packet_size ,null 
+0x7d82 027409 branch usb0_tx_info ,positive 
+0x7d83 027410 arg ep0_packet_size ,loopcnt 
+:      027411 usb0_tx_info:
+0x7d84 027412 fetch 1 ,mem_remain 
+0x7d85 027413 isub loopcnt ,pdata 
+0x7d86 027414 store 1 ,mem_remain 
+0x7d87 027415 fetch 2 ,mem_bufptr 
+0x7d88 027416 copy pdata ,contr 
+:      027417 usb0_tx0:
+0x7d89 027418 ifetch 1 ,contr 
+0x7d8a 027419 hstore 1 ,core_usb_dfifo0 
+0x7d8b 027420 bmark0 mark_isstr ,usb0_tx1 
+0x7d8c 027421 hjam 0 ,core_usb_dfifo0 
+:      027422 usb0_tx1:
+0x7d8d 027423 loop usb0_tx0 
+0x7d8e 027424 copy contr ,pdata 
+0x7d8f 027425 store 2 ,mem_bufptr 
+0x7d90 027426 arg 0 ,queue 
+0x7d91 027427 call usb_trig 
+0x7d92 027428 fetch 1 ,mem_remain 
+0x7d93 027429 nrtn blank 
+0x7d94 027430 fetch 1 ,mem_usb_state 
+0x7d95 027431 rtnne usb_got_report_req 
+0x7d96 027432 jam usb_connected ,mem_usb_state 
+0x7d97 027433 rtn 
+:      027436 usb0_request_set_configuration:
+0x7d98 027437 fetch 1 ,mem_usb_setup_bvalue 
+0x7d99 027438 sub pdata ,1 ,null 
+0x7d9a 027439 nbranch usb0_force_stall ,positive 
+:      027440 usb0_request_set_address:
+0x7d9b 027441 fetch 1 ,mem_usb_setup_bmrequesttype 
+0x7d9c 027442 bne in_device ,usb0_force_stall 
+0x7d9d 027443 fetch 2 ,mem_usb_setup_windex 
+0x7d9e 027444 bne 0 ,usb0_force_stall 
+0x7d9f 027445 fetch 1 ,mem_usb_setup_blength 
+0x7da0 027446 bne 0 ,usb0_force_stall 
+0x7da1 027447 branch usb0_reply_zerolen 
+:      027449 usb0_request_set_interface:
+0x7da2 027450 fetch 1 ,mem_usb_setup_bmrequesttype 
+0x7da3 027451 bne in_interface ,usb0_force_stall 
+0x7da4 027452 fetch 1 ,mem_usb_setup_bvalue 
+0x7da5 027453 bne 0 ,usb0_force_stall 
+0x7da6 027454 fetch 1 ,mem_usb_setup_bvalueh 
+0x7da7 027455 bne 0 ,usb0_force_stall 
+0x7da8 027456 fetch 1 ,mem_usb_setup_blength 
+0x7da9 027457 bne 0 ,usb0_force_stall 
+0x7daa 027458 branch usb0_reply_zerolen 
+:      027460 usb0_request_set_feature:
+0x7dab 027461 fetch 1 ,mem_usb_setup_bvalue 
+0x7dac 027462 bne 1 ,usb0_force_stall 
+0x7dad 027463 jam usb_sleep ,mem_usb_state 
+0x7dae 027464 branch usb0_reply_zerolen 
+:      027466 usb0_request_clear_feature:
+0x7daf 027467 fetch 1 ,mem_usb_setup_bvalue 
+0x7db0 027468 bne 1 ,usb0_force_stall 
+0x7db1 027469 branch usb0_reply_zerolen 
+:      027471 usb_init:
+0x7db2 027472 set1 mark_ext_patch ,mark 
+0x7db3 027473 bpatch patch3b_4 ,mem_patch3b 
+0x7db4 027474 hjam 0x00 ,core_usb_config 
+0x7db5 027475 nop 10000 
+0x7db6 027476 hjam 0xc0 ,core_usb_trig 
+0x7db7 027477 hfetch 2 ,core_clkoff 
+0x7db8 027478 set0 clock_off_usb ,pdata 
+0x7db9 027479 hstore 2 ,core_clkoff 
+0x7dba 027480 hjam 0x3c ,core_usb_config 
+0x7dbb 027481 hjam 0xff ,core_usb_status 
+0x7dbc 027482 hjam 0xff ,core_usb_fifo_empty 
+0x7dbd 027483 jam 0 ,mem_mcmd 
+0x7dbe 027484 jam 0 ,mem_usb_state 
+0x7dbf 027485 setarg 0 
+0x7dc0 027486 store 2 ,mem_usb_idle_cnt 
+0x7dc1 027487 rtn 
+:      027490 usb_tx:
+0x7dc2 027491 set1 mark_ext_patch ,mark 
+0x7dc3 027492 bpatch patch3b_5 ,mem_patch3b 
+0x7dc4 027493 fetch 1 ,mem_mcmd 
+0x7dc5 027494 rtn blank 
+0x7dc6 027495 fetch 1 ,mem_usb_state 
+0x7dc7 027496 beq usb_sleep ,usb_wakeup 
+0x7dc8 027497 rtnne usb_connected 
+0x7dc9 027498 fetch 1 ,mem_mcmd 
+0x7dca 027499 jam 0 ,mem_mcmd 
+0x7dcb 027500 arg 6 ,loopcnt 
+0x7dcc 027501 arg mem_mouse_data ,contr 
+0x7dcd 027502 beq send_kb_data_cmd ,usb_tx_ep1 
+0x7dce 027503 beq send_mouse_data_cmd ,usb_tx_ep2 
+0x7dcf 027504 branch assert 
+:      027506 usb_tx_ep1:
+0x7dd0 027507 arg core_usb_dfifo1 ,rega 
+0x7dd1 027508 arg 1 ,queue 
+:      027509 usb_tx_loop:
+0x7dd2 027510 ifetch 1 ,contr 
+0x7dd3 027511 istore 1 ,rega 
+0x7dd4 027512 loop usb_tx_loop 
+:      027513 usb_trig:
+0x7dd5 027514 set1 mark_ext_patch ,mark 
+0x7dd6 027515 bpatch patch3b_6 ,mem_patch3b 
+0x7dd7 027516 disable swfine 
+0x7dd8 027517 fetch 2 ,mem_usb_trig_timeout 
+0x7dd9 027518 iforce stop_watch 
+0x7dda 027519 hjam 0x40 ,core_usb_status 
+:      027520 usb_trig_waitnak_loop:
+0x7ddb 027521 hfetch 1 ,core_usb_status 
+0x7ddc 027522 branch usb_init ,timeout 
+0x7ddd 027523 bbit0 usb_status_nak ,usb_trig_waitnak_loop 
+0x7dde 027524 fetch 2 ,mem_usb_trig_timeout 
+0x7ddf 027525 iforce stop_watch 
+0x7de0 027526 arg 0 ,temp 
+0x7de1 027527 qset1 temp 
+0x7de2 027528 hstoret 1 ,core_usb_fifo_empty 
+:      027529 usb_trig_loop:
+0x7de3 027530 branch usb_init ,timeout 
+0x7de4 027531 hstoret 1 ,core_usb_trig 
+0x7de5 027532 hfetch 1 ,core_usb_fifo_empty 
+0x7de6 027533 qisolate0 pdata 
+0x7de7 027534 branch usb_trig_loop ,true 
+0x7de8 027535 rtn 
+:      027538 usb_tx_ep2:
+0x7de9 027539 arg 2 ,queue 
+0x7dea 027540 arg core_usb_dfifo2 ,rega 
+0x7deb 027541 branch usb_tx_loop 
+:      027544 usb_wakeup:
+0x7dec 027545 set1 mark_ext_patch ,mark 
+0x7ded 027546 bpatch patch3b_7 ,mem_patch3b 
+0x7dee 027547 hjam 0xfc ,core_usb_config 
+0x7def 027548 nop 10000 
+0x7df0 027549 hjam 0x3c ,core_usb_config 
+0x7df1 027550 jam usb_resume ,mem_usb_state 
+0x7df2 027551 rtn 
+:      027553 usb_tx_test:
+0x7df3 027554 fetch 1 ,mem_mcmd 
+0x7df4 027555 nrtn blank 
+0x7df5 027556 fetch 2 ,mem_usb_cnt 
+0x7df6 027557 rtn blank 
+0x7df7 027558 increase -1 ,pdata 
+0x7df8 027559 store 2 ,mem_usb_cnt 
+0x7df9 027560 jam send_mouse_data_cmd ,mem_mcmd 
+0x7dfa 027561 rtn 
+:      027564 right_shift_n:
+0x7dfb 027565 sub loopcnt ,0 ,null 
+0x7dfc 027566 rtn zero 
+:      027567 right_shift_n_loop:
+0x7dfd 027568 rshift pdata ,pdata 
+0x7dfe 027569 loop right_shift_n_loop 
+0x7dff 027570 rtn 
+:      027572 push_stack:
+0x7e00 027573 deposit contw 
+0x7e01 027574 store 2 ,mem_contw 
+0x7e02 027575 storet 8 ,mem_temp 
+0x7e03 027576 deposit timeup 
+0x7e04 027577 store 4 ,mem_timeup 
+0x7e05 027578 deposit rega 
+0x7e06 027579 store 4 ,mem_rega 
+0x7e07 027580 deposit regb 
+0x7e08 027581 store 4 ,mem_regb 
+0x7e09 027582 deposit regc 
+0x7e0a 027583 store 3 ,mem_regc 
+0x7e0b 027584 deposit contr 
+0x7e0c 027585 store 2 ,mem_contr 
+0x7e0d 027586 rtn 
+:      027587 pop_stack:
+0x7e0e 027588 fetcht 8 ,mem_temp 
+0x7e0f 027589 fetch 4 ,mem_timeup 
+0x7e10 027590 iforce timeup 
+0x7e11 027591 fetch 4 ,mem_rega 
+0x7e12 027592 iforce rega 
+0x7e13 027593 fetch 4 ,mem_regb 
+0x7e14 027594 iforce regb 
+0x7e15 027595 fetch 3 ,mem_regc 
+0x7e16 027596 iforce regc 
+0x7e17 027597 fetch 2 ,mem_contw 
+0x7e18 027598 iforce contw 
+0x7e19 027599 fetch 2 ,mem_contr 
+0x7e1a 027600 iforce contr 
+0x7e1b 027601 rtn 
+:      027607 save_cont_pointers:
+0x7e1c 027608 copy contw ,pdata 
+0x7e1d 027609 store 2 ,mem_hold_contw 
+0x7e1e 027610 copy contr ,pdata 
+0x7e1f 027611 store 2 ,mem_hold_contr 
+0x7e20 027612 rtn 
+:      027613 load_cont_pointers:
+0x7e21 027614 fetch 2 ,mem_hold_contw 
+0x7e22 027615 copy pdata ,contw 
+0x7e23 027616 fetch 2 ,mem_hold_contr 
+0x7e24 027617 copy pdata ,contr 
+0x7e25 027618 rtn 
+:      027622 delay_10ms:
+0x7e26 027623 copy clkn_bt ,pdata 
+0x7e27 027624 increase 16 ,pdata 
+0x7e28 027625 increase 16 ,pdata 
+:      027626 delay_ms_wait:
+0x7e29 027627 copy clkn_bt ,temp 
+0x7e2a 027628 isub temp ,null 
+0x7e2b 027629 branch delay_ms_wait ,positive 
+0x7e2c 027630 rtn 
+:      027632 memcpy48:
+0x7e2d 027633 ifetch 8 ,contr 
+0x7e2e 027634 istore 8 ,contw 
+0x7e2f 027635 ifetch 8 ,contr 
+0x7e30 027636 istore 8 ,contw 
+:      027637 memcpy32:
+0x7e31 027638 ifetch 8 ,contr 
+0x7e32 027639 istore 8 ,contw 
+:      027640 memcpy24:
+0x7e33 027641 ifetch 8 ,contr 
+0x7e34 027642 istore 8 ,contw 
+:      027643 memcpy16:
+0x7e35 027644 ifetch 8 ,contr 
+0x7e36 027645 istore 8 ,contw 
+0x7e37 027646 ifetch 8 ,contr 
+0x7e38 027647 istore 8 ,contw 
+0x7e39 027648 rtn 
+:      027650 bn_zero:
+0x7e3a 027651 force 3 ,loopcnt 
+:      027652 memset0:
+0x7e3b 027653 force 0 ,pdata 
+:      027654 memset8:
+0x7e3c 027655 istore 8 ,contw 
+0x7e3d 027656 loop memset8 
+0x7e3e 027657 rtn 
+:      027660 clear_mem:
+0x7e3f 027661 deposit loopcnt 
+0x7e40 027662 rtn blank 
+0x7e41 027663 setarg 0 
+:      027664 clear_mem_loop:
+0x7e42 027665 istore 1 ,contw 
+0x7e43 027666 loop clear_mem_loop 
+0x7e44 027667 rtn 
+:      027671 memcpy:
+0x7e45 027672 deposit loopcnt 
+0x7e46 027673 rtn blank 
+:      027674 memcpy_loop:
+0x7e47 027675 ifetch 1 ,contr 
+0x7e48 027676 istore 1 ,contw 
+0x7e49 027677 loop memcpy_loop 
+0x7e4a 027678 rtn 
+:      027680 timer_stop:
+0x7e4b 027681 setarg 0 
+:      027682 timer_init:
+0x7e4c 027683 arg mem_timers ,contw 
+0x7e4d 027684 iforce temp 
+0x7e4e 027685 lshift queue ,pdata 
+0x7e4f 027686 iadd contw ,contw 
+0x7e50 027687 istoret 2 ,contw 
+0x7e51 027688 rtn 
+:      027690 timer_reinit:
+0x7e52 027691 arg 0 ,queue 
+:      027692 timer_check:
+0x7e53 027693 set1 mark_ext_patch ,mark 
+0x7e54 027694 bpatch patch37_4 ,mem_patch37 
+0x7e55 027695 fetcht 4 ,mem_last_clkn 
+0x7e56 027696 rshift clkn_bt ,pdata 
+0x7e57 027697 store 4 ,mem_last_clkn 
+0x7e58 027698 isub temp ,timeup 
+0x7e59 027699 copy timeup ,temp 
+0x7e5a 027700 arg mem_timers ,contr 
+0x7e5b 027701 copy contr ,contw 
+0x7e5c 027702 arg 16 ,loopcnt 
+:      027703 timer_loop:
+0x7e5d 027704 ifetch 2 ,contr 
+0x7e5e 027705 isub temp ,pdata 
+0x7e5f 027706 branch timer_counting ,positive 
+0x7e60 027707 force 0 ,pdata 
+:      027708 timer_counting:
+0x7e61 027709 istore 2 ,contw 
+0x7e62 027710 loop timer_loop 
+0x7e63 027711 arg mem_timers ,contr 
+0x7e64 027712 lshift queue ,pdata 
+0x7e65 027713 iadd contr ,contr 
+0x7e66 027714 ifetch 2 ,contr 
+0x7e67 027715 rtn 
+:      027718 lshift8_queue:
+0x7e68 027719 increase 1 ,queue 
+:      027720 lshift8_queue_loop:
+0x7e69 027721 increase -1 ,queue 
+0x7e6a 027722 rtn zero 
+0x7e6b 027723 lshift8 pdata ,pdata 
+0x7e6c 027724 branch lshift8_queue_loop 
+:      027728 clk_add:
+0x7e6d 027729 iadd temp ,temp 
+0x7e6e 027730 copy temp ,loopcnt 
+0x7e6f 027731 setarg 3750 
+0x7e70 027732 isub loopcnt ,pdata 
+0x7e71 027733 rtn positive 
+0x7e72 027734 sub pdata ,0 ,pdata 
+0x7e73 027735 rshift16 temp ,temp 
+0x7e74 027736 increase 1 ,temp 
+0x7e75 027737 lshift16 temp ,temp 
+0x7e76 027738 ior temp ,temp 
+0x7e77 027739 rtn 
+:      027741 clk_diff_rt:
+0x7e78 027742 call clk_diff 
+0x7e79 027743 branch clk2rt 
+:      027746 clk_diff:
+0x7e7a 027747 disable user 
+0x7e7b 027748 isub temp ,pdata 
+0x7e7c 027749 branch clk_diff_pos ,positive 
+0x7e7d 027750 enable user 
+0x7e7e 027751 sub pdata ,0 ,pdata 
+:      027752 clk_diff_pos:
+0x7e7f 027753 rtnbit0 15 
+0x7e80 027754 arg -61786 ,temp 
+0x7e81 027755 iadd temp ,pdata 
+0x7e82 027756 set0 64 ,pdata 
+0x7e83 027757 rtn 
+:      027759 clk2rt:
+0x7e84 027760 iforce contr 
+0x7e85 027761 rshift16 pdata ,pdata 
+0x7e86 027762 arg 3750 ,temp 
+0x7e87 027763 imul32 temp ,pdata 
+0x7e88 027764 iadd contr ,pdata 
+0x7e89 027765 rtn 
+:      027768 clk2lpo:
+0x7e8a 027769 lshift8 pdata ,pdata 
+0x7e8b 027770 lshift4 pdata ,pdata 
+0x7e8c 027771 fetcht 3 ,mem_clks_per_lpo 
+0x7e8d 027772 idiv temp 
+0x7e8e 027773 call wait_div_end 
+0x7e8f 027774 quotient temp 
+0x7e90 027775 rtn 
+:      027778 clk2bt:
+0x7e91 027779 arg 3750 ,temp 
+0x7e92 027780 idiv temp 
+0x7e93 027781 call wait_div_end 
+0x7e94 027782 quotient pdata 
+0x7e95 027783 lshift16 pdata ,pdata 
+0x7e96 027784 remainder temp 
+0x7e97 027785 ior temp ,temp 
+0x7e98 027786 rtn 
+:      027789 mem3_hex2string_to_uart:
+0x7e99 027790 arg 3 ,loopcnt 
+0x7e9a 027791 branch hex2string_to_uart0 
+:      027792 mem2_hex2string_to_uart:
+0x7e9b 027793 arg 2 ,loopcnt 
+0x7e9c 027794 branch hex2string_to_uart0 
+:      027798 adss_hex2string_to_uart:
+0x7e9d 027799 arg 6 ,loopcnt 
+:      027800 hex2string_to_uart0:
+0x7e9e 027801 ifetch 1 ,rega 
+0x7e9f 027802 copy pdata ,temp 
+0x7ea0 027803 rshift4 pdata ,pdata 
+0x7ea1 027804 call dialog2uchar 
+0x7ea2 027805 istore 1 ,contwu 
+0x7ea3 027806 copy temp ,pdata 
+0x7ea4 027807 and pdata ,0xf ,pdata 
+0x7ea5 027808 call dialog2uchar 
+0x7ea6 027809 istore 1 ,contwu 
+0x7ea7 027810 increase 1 ,rega 
+0x7ea8 027811 loop hex2string_to_uart0 
+0x7ea9 027812 rtn 
+:      027813 dialog2uchar:
+0x7eaa 027814 sub pdata ,9 ,null 
+0x7eab 027815 branch dialog2uchar0to9 ,positive 
+0x7eac 027816 increase 87 ,pdata 
+0x7ead 027817 rtn 
+:      027818 dialog2uchar0to9:
+0x7eae 027819 add pdata ,0x30 ,pdata 
+0x7eaf 027820 rtn 
+:      027826 string2dec_from_uart:
+0x7eb0 027827 arg 0 ,temp 
+:      027828 string2dec_from_uart_done:
+0x7eb1 027829 copy temp ,regc 
+0x7eb2 027830 ifetch 1 ,contru 
+0x7eb3 027831 sub pdata ,at_comma ,null 
+0x7eb4 027832 rtn zero 
+0x7eb5 027833 call uchar2dialog 
+0x7eb6 027834 copy regc ,temp 
+0x7eb7 027835 call swap 
+0x7eb8 027836 arg 10 ,regb 
+0x7eb9 027837 imul32 regb ,pdata 
+0x7eba 027838 iadd temp ,pdata 
+0x7ebb 027839 copy pdata ,temp 
+0x7ebc 027840 branch string2dec_from_uart_done 
+:      027843 mem2_string2hex_from_uart:
+0x7ebd 027844 arg 2 ,loopcnt 
+0x7ebe 027845 branch string2hex_from_uart 
+:      027846 adss_string2hex_from_uart:
+0x7ebf 027847 arg 6 ,loopcnt 
+:      027851 string2hex_from_uart:
+0x7ec0 027852 ifetch 1 ,contru 
+0x7ec1 027853 call uchar2dialog 
+0x7ec2 027854 lshift4 pdata ,regc 
+0x7ec3 027855 ifetch 1 ,contru 
+0x7ec4 027856 call uchar2dialog 
+0x7ec5 027857 iadd regc ,pdata 
+0x7ec6 027858 istore 1 ,contw 
+0x7ec7 027859 loop string2hex_from_uart 
+0x7ec8 027860 rtn 
+:      027862 uchar2dialog:
+0x7ec9 027863 arg 0x3a ,temp 
+0x7eca 027864 isub temp ,null 
+0x7ecb 027865 nbranch uchar2dialog_number ,positive 
+0x7ecc 027866 arg 0x61 ,temp 
+0x7ecd 027867 isub temp ,null 
+0x7ece 027868 branch uchar2dialog_a2f ,positive 
+0x7ecf 027869 arg 0x37 ,temp 
+0x7ed0 027870 isub temp ,pdata 
+0x7ed1 027871 rtn 
+:      027872 uchar2dialog_number:
+0x7ed2 027873 arg 0x30 ,temp 
+0x7ed3 027874 isub temp ,pdata 
+0x7ed4 027875 rtn 
+:      027876 uchar2dialog_a2f:
+0x7ed5 027877 arg 0x57 ,temp 
+0x7ed6 027878 isub temp ,pdata 
+0x7ed7 027879 rtn 
+:      027881 pn9:
+0x7ed8 027882 copy temp ,alarm 
+0x7ed9 027883 setarg 0x1ff 
+0x7eda 027884 force 0 ,regb 
+:      027885 pn9_loop:
+0x7edb 027886 rshift3 pdata ,rega 
+0x7edc 027887 rshift rega ,rega 
+0x7edd 027888 ixor rega ,rega 
+0x7ede 027889 isolate1 0 ,rega 
+0x7edf 027890 setflag true ,9 ,pdata 
+0x7ee0 027891 rshift temp ,temp 
+0x7ee1 027892 isolate1 0 ,pdata 
+0x7ee2 027893 setflag true ,7 ,temp 
+0x7ee3 027894 rshift pdata ,pdata 
+0x7ee4 027895 increase 1 ,regb 
+0x7ee5 027896 compare 0 ,regb ,0x7 
+0x7ee6 027897 nbranch pn9_loop ,true 
+0x7ee7 027898 istoret 1 ,contw 
+0x7ee8 027899 loop pn9_loop 
+0x7ee9 027900 copy alarm ,temp 
+0x7eea 027901 rtn 
+:      027903 bcd_byte:
+0x7eeb 027904 div pdata ,10 
+0x7eec 027905 call wait_div_end 
+0x7eed 027906 quotient pdata 
+0x7eee 027907 lshift2 pdata ,rega 
+0x7eef 027908 lshift2 rega ,rega 
+0x7ef0 027909 remainder pdata 
+0x7ef1 027910 ior rega ,pdata 
+0x7ef2 027911 rtn 
+:      027913 bcd_pack:
+0x7ef3 027914 isolate1 0 ,rega 
+0x7ef4 027915 branch bcd_pack_hi ,true 
+0x7ef5 027916 iforce regb 
+0x7ef6 027917 rtn 
+:      027918 bcd_pack_hi:
+0x7ef7 027919 lshift2 pdata ,pdata 
+0x7ef8 027920 lshift2 pdata ,pdata 
+0x7ef9 027921 ior regb ,pdata 
+0x7efa 027922 istore 1 ,contw 
+0x7efb 027923 increase -2 ,contw 
+0x7efc 027924 rtn 
+:      027926 wait_div_end:
+0x7efd 027927 rtn modone 
+0x7efe 027928 branch wait_div_end 
+:      027931 bcd2:
+0x7eff 027932 store 8 ,mem_pdatatemp 
+0x7f00 027933 force 0x20 ,pdata 
+0x7f01 027934 force 8 ,loopcnt 
+0x7f02 027935 arg mem_bcd ,contw 
+:      027936 lpo_clear:
+0x7f03 027937 istore 1 ,contw 
+0x7f04 027938 loop lpo_clear 
+0x7f05 027939 arg mem_bcd ,contw 
+0x7f06 027940 increase 7 ,contw 
+0x7f07 027941 fetch 8 ,mem_pdatatemp 
+:      027942 bcd_loop:
+0x7f08 027943 div pdata ,10 
+0x7f09 027944 call wait_div_end 
+0x7f0a 027945 remainder pdata 
+0x7f0b 027946 or_into 0x30 ,pdata 
+0x7f0c 027947 istore 1 ,contw 
+0x7f0d 027948 increase -2 ,contw 
+0x7f0e 027949 quotient pdata 
+0x7f0f 027950 rtn blank 
+0x7f10 027951 branch bcd_loop 
+:      027956 bcd:
+0x7f11 027957 store 8 ,mem_pdatatemp 
+0x7f12 027958 force 0 ,pdata 
+0x7f13 027959 store 8 ,mem_bcd 
+0x7f14 027960 arg mem_bcd ,contw 
+0x7f15 027961 increase 7 ,contw 
+0x7f16 027962 fetch 8 ,mem_pdatatemp 
+0x7f17 027963 force 0 ,rega 
+:      027964 bcd_pack_loop:
+0x7f18 027965 div pdata ,10 
+0x7f19 027966 call wait_div_end 
+0x7f1a 027967 remainder pdata 
+0x7f1b 027968 call bcd_pack 
+0x7f1c 027969 increase 1 ,rega 
+0x7f1d 027970 quotient pdata 
+0x7f1e 027971 sub pdata ,9 ,null 
+0x7f1f 027972 nbranch bcd_pack_loop ,positive 
+0x7f20 027973 call bcd_pack 
+0x7f21 027974 isolate1 0 ,rega 
+0x7f22 027975 rtn true 
+0x7f23 027976 istore 1 ,contw 
+0x7f24 027977 rtn 
+:      027985 string_compare:
+0x7f25 027986 ifetch 1 ,rega 
+0x7f26 027987 ifetcht 1 ,regb 
+0x7f27 027988 isub temp ,null 
+0x7f28 027989 nrtn zero 
+0x7f29 027990 increase 1 ,rega 
+0x7f2a 027991 increase 1 ,regb 
+0x7f2b 027992 loop string_compare 
+0x7f2c 027993 force 0 ,null 
+0x7f2d 027994 rtn 
+:      027997 ceiling:
+0x7f2e 027998 isub temp ,null 
+0x7f2f 027999 nrtn positive 
+0x7f30 028000 deposit temp 
+0x7f31 028001 rtn 
+:      028003 swap:
+0x7f32 028004 iadd temp ,pdata 
+0x7f33 028005 isub temp ,temp 
+0x7f34 028006 isub temp ,pdata 
+0x7f35 028007 rtn 
+:      028009 clean_mem:
+0x7f36 028010 arg 0x200 ,loopcnt 
+0x7f37 028011 arg 0x4000 ,contw 
+0x7f38 028012 branch memset0 
+:      028014 slave_savelist:
+0x7f39 028015 fetch 5 ,mem_sync_clke 
+0x7f3a 028016 store 5 ,mem_pdatatemp 
+0x7f3b 028017 fetch 2 ,mem_clks_per_lpo 
+0x7f3c 028018 istore 2 ,contw 
+0x7f3d 028019 setarg 0 
+0x7f3e 028020 setflag match ,7 ,pdata 
+0x7f3f 028021 setflag wake ,6 ,pdata 
+0x7f40 028022 setflag sync ,5 ,pdata 
+0x7f41 028023 setflag attempt ,4 ,pdata 
+0x7f42 028024 istore 1 ,contw 
+0x7f43 028025 branch savelist_2 
+:      028028 le_savelist:
+0x7f44 028029 fetch 5 ,mem_sync_clke 
+0x7f45 028030 store 5 ,mem_pdatatemp 
+0x7f46 028031 fetch 1 ,mem_le_ch_mapped 
+0x7f47 028032 istore 1 ,contw 
+0x7f48 028033 fetch 2 ,mem_le_event_count 
+0x7f49 028034 arg 0x0fff ,contr 
+0x7f4a 028035 iand contr ,pdata 
+0x7f4b 028036 setflag match ,15 ,pdata 
+0x7f4c 028037 setflag wake ,14 ,pdata 
+0x7f4d 028038 setflag sync ,13 ,pdata 
+0x7f4e 028039 setflag attempt ,12 ,pdata 
+0x7f4f 028040 istore 2 ,contw 
+0x7f50 028041 branch savelist_2 
+:      028042 savelist:
+0x7f51 028043 store 8 ,mem_pdatatemp 
+:      028044 savelist_2:
+0x7f52 028045 fetch 1 ,mem_seqi 
+0x7f53 028046 rtneq 0x7f 
+0x7f54 028047 and_into 0x7f ,pdata 
+0x7f55 028048 lshift3 pdata ,pdata 
+0x7f56 028049 arg mem_savelist ,contw 
+0x7f57 028050 iadd contw ,contw 
+0x7f58 028051 fetch 8 ,mem_pdatatemp 
+0x7f59 028052 istore 8 ,contw 
+0x7f5a 028053 fetch 1 ,mem_seqi 
+0x7f5b 028054 isolate1 7 ,pdata 
+0x7f5c 028055 increase 1 ,pdata 
+0x7f5d 028056 and_into 0x7f ,pdata 
+0x7f5e 028057 setflag true ,7 ,pdata 
+0x7f5f 028058 store 1 ,mem_seqi 
+0x7f60 028059 fetch 8 ,mem_pdatatemp 
+0x7f61 028060 rtn 
+:      028062 dirty_mem:
+0x7f62 028063 arg 0x800 ,loopcnt 
+0x7f63 028064 arg 0 ,contw 
+0x7f64 028065 setarg 0x01010101 
+0x7f65 028066 branch memset8 
+:      028069 callback_func:
+0x7f66 028070 rtn blank 
+0x7f67 028071 copy pdata ,pc 
+:      028074 wait_uarttx:
+0x7f68 028075 hfetch 2 ,core_uart_txitems 
+0x7f69 028076 nbranch wait_uarttx ,blank 
+0x7f6a 028077 rtn 
+:      028079 get_uart_rrptr:
+0x7f6b 028080 hfetch 2 ,core_uart_rrptr 
+0x7f6c 028081 copy pdata ,contru 
+0x7f6d 028082 rtn 
+:      028084 get_uart_twptr:
+0x7f6e 028085 hfetch 2 ,core_uart_twptr 
+0x7f6f 028086 copy pdata ,contwu 
+0x7f70 028087 rtn 
+:      028089 send_mem_to_uart:
+0x7f71 028090 copy contr ,rega 
+0x7f72 028091 call get_uart_twptr 
+0x7f73 028092 copy rega ,contr 
+:      028093 send_mem_to_uart0:
+0x7f74 028094 call uart_copy_tx_bytes 
+0x7f75 028095 call uartd_send 
+0x7f76 028096 branch wait_uarttx 
+:      028098 ice_break:
+0x7f77 028099 hjam 0x1 ,core_ice_ctrl 
+0x7f78 028100 rtn 
+:      028102 ice_setbp:
+0x7f79 028103 hstore 2 ,core_ice_break0 
+0x7f7a 028104 hfetch 1 ,core_ice_ctrl 
+0x7f7b 028105 set1 4 ,pdata 
+0x7f7c 028106 hstore 1 ,core_ice_ctrl 
+0x7f7d 028107 rtn 
+:      028108 ice_setbp2:
+0x7f7e 028109 hstore 2 ,core_ice_break1 
+0x7f7f 028110 hfetch 1 ,core_ice_ctrl 
+0x7f80 028111 set1 6 ,pdata 
+0x7f81 028112 hstore 1 ,core_ice_ctrl 
+0x7f82 028113 rtn 
+:      028115 ice_set_write_bp:
+0x7f83 028116 hstore 2 ,core_ice_break0 
+0x7f84 028117 hjam 0x30 ,core_ice_ctrl 
+0x7f85 028118 rtn 
+:      028120 test_no_white:
+0x7f86 028121 hfetch 1 ,core_config 
+0x7f87 028122 set1 whiteoff_bit ,pdata 
+0x7f88 028123 hstore 1 ,core_config 
+0x7f89 028124 rtn 
+:      028126 test_enable_white:
+0x7f8a 028127 hfetch 1 ,core_config 
+0x7f8b 028128 set0 whiteoff_bit ,pdata 
+0x7f8c 028129 hstore 1 ,core_config 
+0x7f8d 028130 rtn 
+:      028132 check_uart_tx_buff:
+0x7f8e 028133 hfetch 2 ,core_uart_txitems 
+0x7f8f 028134 arg uart_air_control_threshold ,temp 
+:      028135 pdata_sub_temp:
+0x7f90 028136 isub temp ,null 
+0x7f91 028137 rtn 
+:      028143 fifo_in:
+0x7f92 028144 set1 mark_ext_patch ,mark 
+0x7f93 028145 bpatch patch37_5 ,mem_patch37 
+0x7f94 028146 ifetcht util_fifo_len ,rega 
+0x7f95 028147 and temp ,0xff ,pdata 
+0x7f96 028148 nbranch fifo_in_push ,blank 
+0x7f97 028149 rshift8 temp ,pdata 
+0x7f98 028150 istore util_fifo_len ,rega 
+:      028151 fifo_in_push:
+0x7f99 028152 increase util_fifo_len + util_fifo_offset ,rega 
+0x7f9a 028153 ifetch 1 ,rega 
+0x7f9b 028154 nbranch assert ,blank 
+0x7f9c 028155 fetch 1 ,mem_fifo_temp 
+0x7f9d 028156 istore 1 ,rega 
+0x7f9e 028157 rtn 
+:      028162 fifo_out:
+0x7f9f 028163 set1 mark_ext_patch ,mark 
+0x7fa0 028164 bpatch patch37_6 ,mem_patch37 
+0x7fa1 028165 arg util_fifo_len ,loopcnt 
+0x7fa2 028166 ifetch util_fifo_len ,rega 
+0x7fa3 028167 rtn blank 
+:      028168 fifo_out_loop:
+0x7fa4 028169 ifetch 1 ,rega 
+0x7fa5 028170 nbranch fifo_out_end ,blank 
+0x7fa6 028171 increase 1 ,rega 
+0x7fa7 028172 loop fifo_out_loop 
+0x7fa8 028173 branch assert 
+:      028174 fifo_out_end:
+0x7fa9 028175 arg 0 ,temp 
+0x7faa 028176 istoret 1 ,rega 
+0x7fab 028177 rtn 
+:      028182 fifo_is_empty:
+0x7fac 028183 ifetch util_fifo_len ,rega 
+0x7fad 028184 rtn 
+:      028189 fifo_is_full:
+0x7fae 028190 ifetch 1 ,rega 
+0x7faf 028191 rtn 
+:      028194 fifo_is_near_full:
+0x7fb0 028195 ifetch 2 ,rega 
+0x7fb1 028196 rtn 
+:      028200 fifo_content_count:
+0x7fb2 028201 arg 0 ,temp 
+:      028202 fifo_content_count_loop:
+0x7fb3 028203 fetch 1 ,contr 
+0x7fb4 028204 loop fifo_content_count_loop ,blank 
+0x7fb5 028205 increase 1 ,temp 
+0x7fb6 028206 loop fifo_content_count_loop 
+0x7fb7 028207 copy temp ,pdata 
+0x7fb8 028208 rtn 
+:      028210 not_greater_than:
+0x7fb9 028211 isub temp ,null 
+0x7fba 028212 nrtn positive 
+0x7fbb 028213 copy temp ,pdata 
+0x7fbc 028214 rtn 
Index: output/bt_program23.meta
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/output/bt_program23.meta	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/output/bt_program23.meta	(working copy)
@@ -0,0 +1,28216 @@
+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 RR_DEBUG
+//define TB_WHEEL
+define HID
+//define BLE
+//define P24G
+//define RFCOMM0
+define WAKE_DEV
+
+	bmark1 mark_ext_patch,patch_ext
+	beq patch00_0,p_soft_reset
+	beq patch15_4,p_soft_reset_1
+	beq patch00_3,p_main_loop
+	beq patch00_5,p_main_loop_end
+	beq patch01_2,p_idle_page_mode_r0
+	beq patch04_7,p_role_switch_check
+	beq patch05_0,p_role_switch_prepare0_0
+	beq patch05_3,p_roles_replyto_fhs
+	beq patch08_2,p_slave_loop
+	beq patch08_3,p_slave_notmatch
+	beq patch0a_0,p_prepare_tx_not_sco
+	beq patch0a_4,p_tx_l2cap_type
+	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 patch20_7,p_iicd_write_eep
+  	beq patch23_0,p_l2cap_rx_multiplexing
+  	beq patch23_3,p_l2cap_process_one_signal
+	beq patch24_3,p_ml2cap_call_proc_signal
+	beq patch24_4,p_l2cap_malloc
+	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_6,p_check_51cmd_once_continue
+	beq patch31_7,p_check_enter_hibernate
+
+	beq patch33_4,p_hid_rx_process
+
+	beq patch33_7,p_scheduler_process_sdp_succ
+	beq patch39_5,p_mouse_init
+	beq patch39_7,p_app_process_bb_event
+
+	beq patch3a_0,p_mouse_bb_event_timer
+	beq patch3c_2,p_parse_lmp
+	beq patch3c_3,p_send_lmp
+	beq patch3c_6,p_process_conn_sm	
+
+
+	branch assert
+
+
+p_main_loop:	
+	//hfetch 1,core_config
+	//set1 3,pdata/* watchdog on */
+	//hstore 1,core_config	
+	//hjam 0xff,0x8004
+	call p_ipc_timer_check
+	call p_ipc_rx
+	//jam ON,mem_le_adv_enable
+	branch main_loop+2
+p_soft_reset: 
+	hfetch 1,0x813b
+	store 1,mem_wakup_from_power_flag
+	hjam lock_otp,core_misc_ctrl
+	branch soft_reset+2
+	
+
+p_set_iv:
+	force regidx_xor,regext_index
+	arg 0,regext
+	arg 3,loopcnt
+p_set_iv_loop:
+	increase 1,regext_index
+	arg 0,regext
+	loop p_set_iv_loop
+	rtn
+p_clear_load_key:
+	force regidx_key,regext_index
+	force 4,loopcnt
+p_load_regext_loop:
+	setarg 0
+	iforce regext
+	increase 1,regext_index
+	loop p_load_regext_loop
+	rtn
+p_aes_init:
+	call aes_clear_data
+	call aes_init
+	call p_clear_load_key
+	branch p_set_iv
+p_soft_reset_1:
+	hjam 0x84,rf_clkpll_bias
+	call p_aes_init
+	hfetch 1,0x8085
+	set1 5,pdata
+	hstore 1,0x8085
+	setarg 0xee21
+	hstore 2,core_clkoff			// disable unused peripherals
+	hfetch 1,core_lpm_ldocnt
+	hjam 0x25,core_clkoff			// disable debug uart
+	hjam 5,core_docd_ctrl
+	call clean_mem
+	setarg 0x20
+	store 2,mem_otp_ucode_flag
+	call loadcode_lpm+6
+	fetch 1,0x4015
+	set0 4,pdata
+	store 1,0x4015
+	branch soft_reset
+	
+	
+p_process_conn_sm:
+	fetch 1,mem_lmo_opcode2
+	branch p_process_conn_sm_continue,blank
+	call lmo_fifo_process
+	fetch 1,mem_lmo_opcode2
+	nrtn blank
+p_process_conn_sm_continue:
+	fetch 1,mem_conn_sm
+	rtn blank
+	beq CONN_SM_AUTH_PAIR, p_host_create_conn_auth_pair
+	beq CONN_SM_WAIT_SWITCH_AFTER_HOST_CONNECTION, p_host_creat_conn_wait_switch
+	branch process_conn_sm_continue + 2
+
+p_host_creat_conn_wait_switch:
+	fetch 1,mem_switch_flag
+	rtneq SWITCH_FLAG_INIT
+	beq SWITCH_FLAG_ACCEPT,p_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
+p_host_create_conn_switch_accept:
+	rtn master
+	branch p_host_create_conn_auth_pair
+
+p_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,p_host_create_conn_auth_pair_true
+p_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 800,temp
+	iadd temp,temp
+	copy clkn_bt,pdata
+	isub temp,null
+	nrtn positive
+	branch host_create_conn_auth
+	
+p_app_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 p_app_event_normal_process
+	branch app_process_bb_event_priority
+p_app_event_normal_process:
+	rtneq BT_EVT_LINKKEY_GENERATE
+	beq BT_EVT_HID_CONNECTED,mouse_bt_hid_connected
+	beq BT_EVT_BB_DISCONNECTED,p_app_bb_event_bb_disconn
+	branch app_event_normal_process
+
+p_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 p_app_discard_event,true
+	branch app_bb_event_bb_reconn_disconn
+
+p_app_discard_event:
+	fetch 1,mem_pincode_state
+	rtneq pincode_state_pincode_ready
+	branch app_discard_event
+
+
+
+p_l2cap_rx_multiplexing:
+	fetch 2, mem_l2cap_rx_pkt_length
+	branch l2cap_rx_reset_state,blank
+	fetch 1,mem_l2cap_rx_cid
+	beq L2CAP_signal_channel,p_l2cap_call_proc_signal
+	branch l2cap_rx_multiplexing0
+p_l2cap_call_proc_signal:
+	call l2cap_malloc_is_fifo_full
+	nrtn blank
+	branch l2cap_call_proc_signal0
+
+p_ipc_rx:
+	fetch 1,mem_ssp_enable
+	branch p_ipc_rx0,blank
+	fetch 1,mem_sp_local_key_invalid	// simple pairing is not ready
+	rtn blank
+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
+	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
+	beq IPC_TYPE_HID,p_ipc_rx_hid
+	branch assert
+
+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_hid:
+	call p_ipc_rx_byte
+	copy pdata,rega
+	copy contr,pdata
+	store 2,mem_contr
+	increase 1,rega
+	call hid_malloc_tx_buff
+	add contw,-2,regb
+	fetch 2,mem_hid_int_remote_cid
+	istore 2,contw
+	setarg 0xa1
+	istore 1,contw
+	add rega,-1,loopcnt
+	fetch 2,mem_contr
+	copy pdata,contr
+//	branch p_ipc_copy
+	call p_ipc_copy
+	copy regb,contr
+	ifetch 2,contr
+	store 2,mem_kb_last_data
+	add pdata,2,loopcnt
+	call memcpy
+	jam 50,mem_kb_wake_timer
+	rtn
+
+
+p_l2cap_malloc:
+	arg 0,regb
+	call l2cap_malloc_is_fifo_full
+	nrtn blank//assert when fifo full
+	branch l2cap_malloc+5
+	
+//3200 == 1s
+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
+	bbit1 ADC_CONFIG_GPIO,p_adc_check_gpio
+	rtn
+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
+	branch p_read_adc
+p_adc_check_gpio:
+	hjam 0x8f,rf_adc_mode
+	fetch 1,mem_adc_channel
+	hstore 1,rf_adc_ch
+	branch p_read_adc
+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 0x74,rfen_adc
+	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_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
+	
+p_ui_timer_timeout:
+	setarg 0x10
+	arg 3,queue
+	call lshift8_queue
+	iadd regb,regb
+	rtn
+p_ui_timer_check:
+	arg 0,rega
+	fetcht 4,mem_ui_timer_last_btclk
+	copy clkn_bt,regb
+	copy regb,pdata
+	isub temp,null
+	ncall p_ui_timer_timeout,positive
+	branch ui_timer_check_loop
+
+
+p_mouse_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_mouse_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_mouse_check_hid_handshake_timer
+	call p_mouse_long_sleep_timer
+	call p_kb_led_cap_delay_timer
+	call p_kb_wake_remote_dev
+	branch p_mouse_bb_event_100ms_loop
+p_kb_wake_remote_dev:
+	fetch 1,mem_kb_wake_timer
+	rtn blank
+	increase -1,pdata
+	store 1,mem_kb_wake_timer
+	rtnne 1
+	jam 50,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
+p_tx_wake_kb_packet:
+	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
+	
+p_kb_led_cap_delay_timer:	
+	fetch 1,mem_led_cap_delay_timer
+	rtn blank
+	increase -1,pdata
+	store 1,mem_led_cap_delay_timer
+	branch app_lpm_mult_enable,blank
+	branch app_lpm_mult_disable
+
+p_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
+	call app_evt_hid_handshake
+	branch hid_handshake_event
+p_mouse_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
+	call p_c51_ext_evt
+	copy regc,pdata
+	rtn blank
+	store 1,mem_ipc_tx_evt
+	branch p_ipc_tx_evt
+p_c51_ext_evt:
+	copy regc,pdata
+	beq BT_EVT_ENTER_SNIFF,p_kb_wake_enbale
+	beq BT_EVT_BB_DISCONNECTED,p_bk_wake_disable
+	rtn
+p_kb_wake_enbale:
+	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
+	
+
+/*
+****************************************************************************************************
+* All Timer End
+****************************************************************************************************
+*/
+
+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_iicd_write_eep:
+	branch assert	
+p_iicd_read_eep:
+	branch assert
+p_main_loop_end:
+	call inquiry_scan_dispatch
+	call page_scan_dispatch
+	call connection_dispatch 
+	branch main_loop+15
+
+//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_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_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_initialize_radio_cont:
+	call p_switchto_dpllclk
+	branch initialize_radio_cont + 4
+p_lpm_dispatch:
+	rtnmark1 mark_24g
+	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_lpm_dispatch_next:
+	call p_check_ipc_2bt
+	nrtn user
+	call p_check_ipc_2c51
+	nrtn user
+	jam 1,mem_c51_lmp_lock
+	jam SYC_TASK_LPM,mem_c51_flag
+	call p_c51_wait
+	fetch 1,mem_c51_lmp_lock
+	nrtn blank
+	call p_check_ipc_2bt
+	nrtn user
+	branch lpm_dispatch1
+p_slave_loop:
+	call check_bt_disabled
+	call scheduler_process
+	call slave_conn_recv_packet	/* go listen for a packet */
+	branch slave_loop+6
+
+p_send_lmp:
+	disable user
+	call lmo_fifo_process
+	fetch 1,mem_lmp_to_send
+	rtn blank
+	bbit1 7,send_lmp_escape
+	beq LMP_NAME_RES,p_send_lmp_name_res
+	beq LMP_DETACH,p_send_lmp_detach
+	branch send_lmp+7
+p_send_lmp_name_res:
+	force 17,pdata
+	call msg_send_lmp
+	fetch 1,mem_lmi_opcode /* loading name offset */
+	copy pdata,temp
+	beq 0x00,p_send_lmp_name_res_offset_ok
+	beq 0x0e,p_send_lmp_name_res_offset_ok
+	beq 0x1c,p_send_lmp_name_res_offset_ok
+	rtn
+p_send_lmp_name_res_offset_ok:
+	istore 1,contw /* writing name offset */
+	fetch 1,mem_local_name_length
+	istore 1,contw /* writing name length */
+	setarg 14
+	branch send_lmp_name_res_offset_ok+3
+
+p_send_lmp_detach:
+	call send_lmp_detach
+	jam 100,mem_conn_timer
+	rtn
+
+	
+p_parse_lmp:
+	fetch 1,mem_lmi_opcode2
+	beq LMP_ACCEPTED,p_parse_lmp_accepted
+	beq LMP_NOT_ACCEPTED,parse_lmp_not_accepted
+	beq LMP_DETACH,p_parse_lmp_detach
+//	beq LMP_SNIFF_REQ,p_parse_lmp_sniff
+	branch parse_lmp+26
+p_parse_lmp_sniff:
+	fetch 1,mem_state
+	bbit1 state_insniff,lmp_reject_sniff
+	fetch 2,mem_rxbuf+4 /* tsniff */
+	lshift pdata,pdata
+	sub pdata,0xf,null
+	nbranch lmp_reject_sniff,positive
+	branch parse_lmp_sniff_req + 2
+p_parse_lmp_accepted:
+	fetch 1,mem_rxbuf+1
+	store 1,mem_lmi_accepted_opcode
+	beq LMP_UNSNIFF_REQ,p_parse_lmp_accepted_unsniff_req
+	beq LMP_SWITCH_REQ,p_parse_lmp_accepted_switch
+	beq LMP_HOST_CONNECTION_REQ,p_parse_lmp_accepted_hostconn//ok
+	branch parse_lmp_accepted + 2	
+p_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
+	branch parse_lmp_accepted_hostconn_ctn
+p_parse_lmp_accepted_unsniff_req:
+	call app_bt_enter_sniff
+	branch parse_lmp_accepted_unsniff_req
+p_parse_lmp_detach:
+	fetch 1,mem_rxbuf + 1
+	store 1,mem_disconn_reason_send
+	branch parse_lmp_detach
+
+	
+p_slave_notmatch:
+	call lpm_set_mult
+	call supervision_update
+	branch slave_disconnect,positive
+	call check_disconnect_timeout
+	nbranch slave_disconnect,user
+	call check_attempt
+	nbranch p_slave_loop + 1,blank
+	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
+p_24g_txon:
+	setarg param_pll_setup
+	call sleep
+p_txon:
+	call p_txon_set_rf_param
+	fetch 1,mem_24g_pairing_sm
+	arg mem_le_att_list+468,contw
+	nbranch p_txpower_0dbm,blank
+	branch p_txpower_5dbm
+p_txon_set_rf_param:
+	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
+	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
+
+p_txpower_5dbm:
+	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
+	
+	//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
+	//hjam 0xc0, 0x956
+	//fetch 1,mem_24g_pairing_flag
+	//nbranch shutdown_radio+2,blank
+	//hjam 0xe0, 0x956   //hjam 0xce, 0x956 only for yc1021C1_#7, BQB, -2.9dBm. changed for ramp_up/down
+	branch shutdown_radio+2
+
+
+p_mouse_init:
+	jam 0,mem_c51_flag
+	jam 6,mem_connection_options
+	call app_lpm_mult_enable
+	setarg p_mouse_send_process
+	store 2,mem_cb_bt_process
+	setarg p_mouse_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_mouse_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:
+	//fetch 1,mem_wakup_from_power_flag
+	//bbit1 2,p_device_init_init_hibwake
+	jam BT_EVT_RESET,mem_ipc_tx_evt
+p_device_init_common:
+	call p_ipc_tx_evt
+	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
+	setarg 0
+	store 2,mem_ipc_bt_timer
+	store 2,mem_ipc_c51_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
+	bbit1 ADC_CONFIG_GPIO,p_calc_adc_check_gpio
+	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_calc_adc_check_gpio:
+	fetcht 2,mem_temp
+	fetch 2,mem_temp + 6
+	copy temp,regb
+	copy pdata,rega
+	isub temp,regc
+	copy regb, pdata
+	isub regc,pdata
+	byteswap pdata,pdata
+	store 2,mem_adc_0v
+	lshift2 regc,pdata
+	iadd rega,pdata
+	byteswap pdata,pdata
+	store 2,mem_adc_3v
+	rtn
+
+
+
+ ifdef P24G
+p_24g_process:
+	rtnmark0 mark_24g
+	set1 mark_24g_conext,mark
+	fetch 4,mem_24g_tx_btclk	
+	fetcht 1,mem_24g_interval
+	iadd temp,temp	
+	copy clkn_bt,pdata	
+	isub temp,null
+	nbranch p_exit_24g_dispatch,positive
+	store 4,mem_24g_tx_btclk
+	call p_mouse_prepare_data
+	branch p_24g_lpm_long_sleep,user
+	call p_24g_tx_data
+p_exit_24g_dispatch:
+p_exit_24g_context:
+	set0 mark_24g_conext,mark
+	rtn
+
+p_24g_send_pairing_mode:
+	fetch 1,mem_24g_pairing_sm
+	rtneq P24G_SM_PAIRING_WAIT_ADDR
+	beq P24G_SM_PAIRING_WAIT_SUCC,p_24g_pairing_complete
+	beq P24G_SM_PAIRING_REQUEST,p_24g_send_pairing_request
+	beq P24G_SM_PAIRING_COMPLETE,p_24g_send_pairing_complete
+	branch assert
+	
+p_24g_send_pairing_request:
+	jam P24G_PAIRING_REQ_HEAD,mem_24g_txdata
+	jam P24G_SM_PAIRING_WAIT_ADDR,mem_24g_pairing_sm
+	branch p_mouse_enable_tx_retry
+p_24g_send_pairing_complete:
+	jam P24G_SM_PAIRING_WAIT_SUCC,mem_24g_pairing_sm
+	jam P24G_PAIRING_COMPLETE_HEAD,mem_24g_txdata
+	branch p_mouse_enable_tx_retry
+
+p_24g_lpm_long_sleep:
+	fetch 1,mem_24g_enter_lpm_timer
+	nrtn blank
+ 	call p_check_ipc_2bt
+	nrtn user
+	call p_check_ipc_2c51
+	nrtn user
+	jam SYC_TASK_LPM,mem_c51_flag
+	call p_c51_wait
+	fetch 1,mem_c51_lmp_lock
+	nrtn blank
+	call p_check_ipc_2bt
+	nrtn user
+	call lpo_calibration
+	fetch 3,mem_clks_per_lpo
+	rtn blank
+ 	fetch 8,mem_24g_enter_hibernate
+	call clk2lpo
+	storet 4,mem_sleep_counter
+  	branch lpm_sleep
+
+
+
+p_mouse_prepare_data:
+	fetch 1,mem_24g_ensure
+	beq	ENSURE_ON_24G,disable_usr
+	fetch 1,mem_24g_pairing_sm
+	bne P24G_SM_PAIRING_SUCC,p_24g_send_pairing_mode
+	call p_ipc_rx
+	rtn user
+	fetch 1,mem_ipc_rx_type
+	bne IPC_TYPE_24G,enable_usr
+p_mouse_enable_tx_retry:
+	jam ENSURE_ON_24G,mem_24g_ensure
+	rtn
+
+
+p_24g_tx_data:
+	jam 10,mem_24g_enter_lpm_timer
+	jam 0,mem_24g_retry
+	jam dlen_24g,mem_24g_datalen
+	call p_24g_prepare_tx
+	call crc_tx
+p_24g_tx_data_loop:
+	call p_24g_set_freq_tx
+	arg plen_24g,loopcnt
+	call p_24g_tx
+	enable swfine
+	arg 10000,stop_watch					// sync time:4537
+	arg 12,loopcnt							//change rx count
+	call p_24g_rx
+	call shutdown_radio
+	nbranch p_24g_tx_data_retry,sync
+	call crc_rx_ack
+	branch p_24g_tx_success,blank		//transmit success
+p_24g_tx_data_retry:
+	setarg 2000
+	call sleep
+	//branch p_24g_tx_data_loop
+	fetch 1,mem_24g_retry
+	increase 1,pdata
+	store 1,mem_24g_retry
+	bne retry_24g,p_24g_tx_data_loop
+	fetch 1,mem_24g_txfail_cnt
+	increase 1,pdata
+	store 1,mem_24g_txfail_cnt
+	beq 0x20,p_24g_tx_abandon
+	fetch 2,mem_24g_rxfail_cnt
+	increase 1,pdata
+	store 2,mem_24g_rxfail_cnt
+	beq 0xff,p_24g_tx_attempt_fail
+	call p_24g_ch
+	branch p_24g_min_interval
+p_24g_tx_success:
+	setarg 0
+	store 2,mem_24g_rxfail_cnt
+	fetch 1,mem_24g_pairing_sm
+	bne P24G_SM_PAIRING_SUCC,p_24g_rx_pairing_mode
+	fetch 1,mem_24g_pid
+	increase 1,pdata
+	store 1,mem_24g_pid
+p_24g_tx_abandon:
+	setarg 0
+	store 1,mem_24g_txfail_cnt
+	jam ENSURE_OFF_24G,mem_24g_ensure
+	branch p_24g_max_interval
+p_24g_tx_attempt_fail:
+	setarg 0
+	store 2,mem_24g_rxfail_cnt
+	jam BT_EVT_24G_ATTEMPT_FAIL,mem_ipc_tx_evt
+	branch p_ipc_tx_evt
+
+p_24g_rx_pairing_mode:
+	fetch 1,mem_24g_pairing_sm
+	beq P24G_SM_PAIRING_COMPLETE,p_24g_pairing_complete
+	bne P24G_SM_PAIRING_WAIT_ADDR,assert
+	jam P24G_SM_PAIRING_COMPLETE,mem_24g_pairing_sm
+	call p_24g_rx_parse_dongle_addr
+	jam BT_EVT_24G_PAIRING_COMPLETE,mem_ipc_tx_evt
+	call p_ipc_tx_evt
+	branch p_24g_tx_abandon
+p_24g_pairing_complete:
+	jam P24G_SM_PAIRING_SUCC,mem_24g_pairing_sm
+	fetch 4,mem_24g_addr_copy
+	store 4,mem_24g_addr
+	rtn
+	
+p_24g_rx_parse_dongle_addr:
+	fetch 5,mem_24g_rxbuf+5
+	rshift2 pdata,pdata
+	store 4,mem_temp
+	copy pdata,temp
+	arg 3,rega
+	arg 4,loopcnt
+p_24g_rx_parse_dongle_addr_loop:
+	copy temp,pdata
+	reverse pdata,pdata
+	copy pdata,regb
+	setarg mem_timeup
+	iadd rega,contw
+	copy regb,pdata
+	istore 1,contw
+	increase -1,rega
+	copy temp,pdata
+	rshift8 pdata,pdata
+	copy pdata,temp
+	loop p_24g_rx_parse_dongle_addr_loop
+	fetch 4,mem_timeup	//update mouse 24g address
+	store 4,mem_24g_addr_copy
+	rtn
+
+	
+p_24g_max_interval:
+	fetch 1,mem_24g_interval_max
+	branch p_24g_updata_interval
+p_24g_min_interval:
+	fetch 1,mem_24g_interval_min
+p_24g_updata_interval:
+	store 1,mem_24g_interval
+	rtn
+
+p_24g_ch:
+	fetch 1,mem_24g_pairing_sm
+	bne P24G_SM_PAIRING_SUCC,p_24g_pairing_ch
+	fetcht 1,mem_24g_current_ch_number
+	call p_24g_ch_calc
+	increase 1,temp
+	and_into 3,temp //map size =4
+	storet 1,mem_24g_current_ch_number
+	rtn
+p_24g_pairing_ch:
+	jam 78,mem_24g_ch
+	rtn
+p_24g_ch_calc:
+	fetch 1,mem_24g_addr+3
+	reverse pdata,pdata
+	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_24g_set_freq_tx:
+	call set_sync_on
+	fetcht 1,mem_24g_ch
+	branch p_set_freq_tx
+
+	// loopcnt is total packet length include address and crc
+p_24g_tx:
+	set1 TXGFSK,radio_ctrl
+	disable decode_fec0
+	enable encode_fec0
+	enable is_tx
+	disable is_rx
+	disable enable_white
+	call p_le_enable
+	deposit clkn
+	set1 56,pdata
+	//call savelist
+	setarg acc_24g
+	inject mod,24
+	arg mem_24g_addr,rega
+	arg mem_24g_scremble,regb
+p_24g_tx_loop:
+	ifetch 1,rega
+	ifetcht 1,regb
+	ixor temp,pdata
+	inject mod,8
+	increase 1,rega
+	increase 1,regb
+	loop p_24g_tx_loop
+	until null,tx_clear
+	nop 100         
+	rtn
+
+	
+	// loopcnt is total packet length include crc
+p_24g_rx:
+	force 0,radio_ctrl
+	fetcht 1,mem_24g_ch
+	call p_set_freq_rx
+	call rf_rx_enable
+	disable encode_fec0
+	enable decode_fec0
+	enable is_rx
+	disable is_tx
+	disable enable_white
+	call p_le_enable
+	fetcht 1,mem_24g_addr
+	storet 1,mem_24g_rxbuf
+	xor_into 0xc7,temp
+	lshift16 temp,temp
+	lshift8 temp,temp
+	setarg acc_24g
+	ior temp,access
+	correlate null,timeout
+	deposit stop_watch
+	setflag sync,63,pdata
+//	call savelist
+	increase -1,loopcnt
+//	nbranch p_tst,sync
+	arg mem_24g_scremble+1,contr
+	arg mem_24g_rxbuf+1,contw
+p_24g_rx_loop:
+	parse demod,bucket,8
+	rshift3 pwindow,pdata
+	ifetcht 1,contr
+	ixor temp,pdata
+	istore 1,contw
+	loop p_24g_rx_loop
+	rtn
+
+crc_rx_ack:
+	fetch 1,mem_24g_pairing_sm
+	beq P24G_SM_PAIRING_SUCC,crc_rx_ack_nodata
+crc_rx_ack_4byte:
+	arg mem_24g_rxbuf,contr
+	setarg crc_ack_4byte
+	arg 90,loopcnt
+	branch gencrc
+crc_rx_ack_nodata:
+	arg mem_24g_rxbuf,contr
+	setarg crc_ack
+	arg blen_rxack_24g,loopcnt
+	branch gencrc
+
+crc_tx_ack:
+	arg mem_24g_addr,contr
+	setarg crc_ack
+	arg blen_txack_24g,loopcnt
+	call gencrc
+	branch p_24g_store_crc
+
+crc_tx:
+	arg mem_24g_addr,contr
+	setarg crc_data_6byte
+	arg blen_tx_24g,loopcnt
+	call gencrc
+	branch p_24g_store_crc
+	
+crc_rx:
+	arg mem_24g_rxbuf,contr
+	setarg crc_data_6byte
+	arg blen_rx_24g,loopcnt
+gencrc:
+	arg 0x1021,contw
+	arg 0,rega
+crc_loop:
+	and rega,7,null
+	nbranch crc_nofetch,zero
+	ifetcht 1,contr
+crc_nofetch:
+	bbit1 15,crc_b15
+	isolate0 0,temp
+crc_shift:
+	lshift pdata,pdata
+	branch crc_noxor,true
+	ixor contw,pdata
+crc_noxor:
+	rshift temp,temp
+	increase 1,rega
+	loop crc_loop
+	reverse pdata,temp
+	lshift8 temp,temp
+	rshift8 pdata,pdata
+	reverse pdata,pdata
+	ior temp,pdata
+	store 2,mem_24g_crc
+	rtn
+crc_b15:
+	isolate1 0,temp
+	branch crc_shift
+
+p_24g_prepare_tx:
+	fetch 1,mem_24g_pid
+	and_into 3,pdata
+	reverse pdata,pdata
+	lshift pdata,pdata
+	fetcht 1,mem_24g_datalen
+	add temp,1,loopcnt
+	reverse temp,temp
+	rshift temp,temp
+	ior temp,pdata
+	store 1,mem_24g_len
+	arg mem_24g_txdata,contr
+p_24g_ptx_loop:
+	rshift8 pdata,temp
+	ifetch 1,contr
+	lshift2 pdata,pdata
+	ior temp,pdata
+	istore 1,contw
+	loop p_24g_ptx_loop
+	rtn
+
+
+	// pdata:crc
+p_24g_store_crc:
+	lshift2 pdata,temp
+	fetch 1,mem_24g_datalen
+	arg mem_24g_len+1,contw
+	iadd contw,contw
+	ifetch 1,contw
+	and_into 3,pdata
+	ior temp,pdata
+	istore 3,contw
+	rtn
+
+p_24g_init:
+	set1 mark_24g,mark
+	setsect 0,0x28dc7
+	setsect 1,0x55f4
+	setsect 2,0x273da
+	setsect 3,0x2c19a
+	store 9,mem_24g_scremble
+	setsect 0,0x13175
+	setsect 1,0x19204
+	setsect 2,0x38779
+	setsect 3,0x3
+	istore 7,contw
+	jam 0,mem_24g_pid
+	jam 50,mem_24g_sifs
+	setarg 0
+	store 9,mem_24g_txcnt
+	istore 3,contw
+	store 6,mem_24g_txdata
+	jam 0,mem_24g_current_ch_number
+	branch p_24g_ch_calc
+
+p_24g_uninit:
+	set0 mark_24g,mark
+	branch  p_le_disable
+ endif	
+p_mouse_send_process:
+	call l2cap_malloc_is_fifo_nearly_full
+	nrtn blank
+p_mouse_send_data:
+	branch p_ipc_rx
+
+
+p_mouse_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_mouse_bt_lpm_before:
+	rtn
+
+
+p_lpm_dispatch_unconn:
+	call p_check_ipc_2bt
+	nrtn user
+	call p_check_ipc_2c51
+	nrtn user
+	jam 1,mem_c51_lmp_lock
+	jam SYC_TASK_LPM,mem_c51_flag
+	call p_c51_wait
+	fetch 1,mem_c51_lmp_lock
+	nrtn blank
+	call p_check_ipc_2bt
+	nrtn user
+	branch lpm_dispatch_unconn + 2
+
+
+p_mouse_priority_bb_event:	
+	copy regc,pdata
+	rtn
+
+p_mouse_start_reconnect:
+	setarg 0
+	store APP_DISC_RSN_SIZE,mem_app_disconn_reason
+	store 2,mem_ui_state_map
+	store 1,mem_app_handshake_flag
+	branch app_lpm_mult_disable
+
+p_le_enable:
+	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_c51_wait:
+	fetch 1,mem_c51_flag
+	nop 10
+	bne 0,p_c51_wait
+	rtn
+
+p_mouse_idle:
+	rtn
+
+p_check_enter_hibernate:
+	jam SYC_TASK_HIBERNATE,mem_c51_flag
+	call p_c51_wait
+p_enter_hibernate_continue:
+	jam 0x5a,mem_hibernate_flag
+	call lpm_write_gpio_wakeup
+	hfetch 4,core_lpm_ctrl
+	set0 15,pdata						/* lowest lpo */
+	hstore 4,core_lpm_reg
+	call lpm_write_ctrl
+	arg param_hibernate_clks,temp
+	branch lpm_sleep
+ 
+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_DISCOVERY,p_check_51cmd_start_discovery
+	beq BT_CMD_RECONNECT,p_check_51cmd_reconnect
+	branch check_51cmd_once+9
+
+p_check_51cmd_once_continue:
+	fetch 1,mem_lmo_opcode2
+	branch p_check_51cmd_once_continue0,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
+p_check_51cmd_once_continue0:
+	fetch 1,mem_fifo_temp
+	bmark0 mark_context,check_51cmd_check_idle
+	beq BT_CMD_DISCONNECT,p_check_51cmd_disconnect
+	beq BT_CMD_UPDATE_SUPERVISION_TO,p_check_51cmd_update_supervision_to
+	branch check_51cmd_once_continue0
+p_check_51cmd_disconnect:
+	fetch 2,mem_ui_state_map
+	bbit0 UI_STATE_BT_HID_HANDSHAKE,p_check_51cmd_quick_disconnect
+	branch check_51cmd_disconnect
+p_check_51cmd_quick_disconnect:
+	setarg 0
+	store 4,mem_supervision_to
+	rtn
+p_check_51cmd_update_supervision_to:
+	jam LMP_SUPERVISION_TIMEOUT,mem_lmo_opcode2
+	fetch 2,mem_new_supervision_to
+	store 2,mem_supervision_to
+	rtn
+
+p_check_51cmd_start_discovery:
+	call app_clear_reconnect_flag
+	jam 6,mem_connection_options
+	branch check_51cmd_start_discovery
+p_check_51cmd_reconnect:
+	jam 6,mem_connection_options
+	fetch 1,mem_ssp_enable
+	beq 0,p_check_51cmd_reconnect_common
+	jam 0x17,mem_connection_options
+p_check_51cmd_reconnect_common:
+	jam 1,mem_link_key_exists
+	branch check_51cmd_reconnect
+
+p_prepare_tx_not_sco:
+	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
+	fetch 1,mem_last_type
+	beq type_lmp,prepare_tx_retransmit+7
+	fetch 2,mem_last_txlen
+	sub pdata,20,null
+	nbranch prepare_tx_retransmit+7,positive 
+	store 2,mem_tx_len
+	fetch 1,mem_last_txlch
+	store 1,mem_tx_lch
+	setarg mem_last_txdata
+	store 2,mem_txptr
+	branch prepare_tx_retransmit+7	
+
+p_tx_l2cap_type:
+	fetch 2,mem_tx_len
+	store 2,mem_last_txlen
+	sub pdata,20,null
+	nbranch tx_l2cap_type + 2,positive 
+	iforce loopcnt
+	fetch 1,mem_tx_lch
+	store 1,mem_last_txlch
+	fetch 2,mem_txptr
+	iforce contr
+	arg mem_last_txdata,contw
+	call memcpy
+	branch tx_l2cap_type + 2
+
+p_lpm_sleep:
+	call xtal_fast_wake
+	branch lpm_sleep+2
+
+p_parse_lmp_accepted_switch:
+	jam BT_EVT_SWITCH_ACCEPT,mem_fifo_temp
+	call ui_ipc_send_event
+	branch p_role_switch_prepare0
+//branch role_switch_prepare0
+p_role_switch_prepare0_0:
+//	set0 mark_ext_patch,mark
+//	bpatch patch05_0,mem_patch05
+	storet 4,mem_sniff_anchor
+p_role_switch_prepare0:
+	jam SWITCH_FLAG_ACCEPT,mem_switch_flag
+	setarg 0xffff
+	store 2,mem_tsniff
+	jam 1,mem_sniff_attempt
+	rtn
+p_roles_replyto_fhs:
+	call rf_setup_time_slave_slot
+	call p_master_send_packet
+	branch roles_replyto_fhs + 4
+p_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	/* get ready for that id packet */
+	call start_tx_native
+	call send_access_word
+	branch end_of_packet
+p_role_switch_check:
+	disable user
+	fetch 2,mem_tsniff
+	arg 0xffff,temp
+	isub temp,null
+	nrtn zero
+	fetch 4,mem_sniff_anchor
+	branch p_role_switch_clkn,clknt
+	isub clke_bt,pdata
+	branch p_role_switch_clke
+p_role_switch_clkn:
+	isub clkn_bt,pdata
+p_role_switch_clke:
+	sub pdata,4,null
+	nrtn positive
+	force 0,pdata
+	store 2,mem_tsniff
+	enable user
+	rtn
+
+
+
+p_idle_page_mode_r0:
+	storet 8,mem_temp
+	call timer_check
+	fetcht 8,mem_temp
+	branch idle_page_mode_r0+13
+
+p_scheduler_process_sdp_succ:
+	call l2cap_malloc_is_fifo_full
+	nrtn blank
+	//for conn to MTK 
+	call p_l2cap_call_proc_sigal_pending
+	branch scheduler_process1
+
+p_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
+	jam 0,mem_l2cap_pending_item
+	copy rega,pdata
+	beq L2CAP_SDP_channel,l2cap_sdp_conn_succ
+	rtn
+
+p_l2cap_process_one_signal:
+	ifetch 1,contr
+	beq signal_info_req,p_l2cap_proc_signal_info_req
+	branch l2cap_process_one_signal+3
+p_l2cap_proc_signal_info_req:
+	ifetch 1,contr //IDs
+	copy pdata,queue
+	ifetch 2,contr //length
+	copy pdata,rega
+	copy regc,pdata
+	isub rega,regc
+	setarg signal_info_rsp
+	istore 1,contw
+	copy queue,pdata
+	istore 1, contw
+	ifetch 2,contr 
+p_l2cap_proc_signal_info_req_reply:
+	beq L2CAP_SIG_EXT_FEATRUE,p_l2cap_proc_signal_info_req_ext
+	beq L2CAP_SIG_FIX_FEATRUE,p_l2cap_proc_signal_info_req_fix
+	branch assert
+p_l2cap_proc_signal_info_req_ext:
+	setarg 0x020008
+	istore 6, contw
+	setarg 0x0200
+	istore 4, contw
+	force 12,pdata
+	iadd regb,regb
+	branch l2cap_process_one_signal_rtn
+p_l2cap_proc_signal_info_req_fix:
+	setarg 0x3000c
+	istore 6, contw
+	setarg 0x0006
+	istore 8, contw
+	force 16,pdata
+	iadd regb,regb
+	branch l2cap_process_one_signal_rtn
+	
+p_ml2cap_call_proc_signal:
+	call l2cap_malloc_signal_channel
+	force 0,regb
+	call l2cap_get_signal_tx_payload
+	copy pdata,contw
+	fetch 2,mem_l2cap_rx_pkt_length
+	copy pdata,regc
+	fetch 2,mem_l2cap_payload_ptr
+	iforce contr
+p_ml2cap_proc_one_comm_loop:
+	call p_ml2cap_proc_one_comm
+	branch ml2cap_proc_one_comm_loop+1
+p_ml2cap_proc_one_comm:
+	ifetch 1,contr
+	beq signal_info_req,p_ml2cap_proc_signal_info_req
+	branch ml2cap_proc_one_comm+1
+p_ml2cap_proc_signal_info_req:
+	ifetch 1,contr //IDs
+	copy pdata,queue
+	ifetch 2,contr //length
+	copy pdata,rega
+	ifetch 2,contr
+	store 2,mem_temp
+	copy regc,pdata
+	isub rega,regc 
+	call l2cap_get_signal_tx_payload
+	setarg signal_info_rsp
+	istore 1,contw
+	copy queue,pdata
+	istore 1,contw 
+	fetch 2,mem_temp
+	branch p_l2cap_proc_signal_info_req_reply
+
+p_hid_rx_process:
+	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,p_hid_rx_process_data
+	beq HID_TYPE_SET_REPORT,p_hid_rx_process_set_report
+	beq HID_TYPE_CONTROL,hid_rx_process_hid_control
+	beq HID_TYPE_GET_REPORT,hid_rx_process_handshake
+	rtn
+p_hid_rx_process_set_report:
+	call p_hid_rx_process_data
+	branch hid_rx_process_set_report
+p_hid_rx_process_data:
+	setarg IPC_TYPE_HID
+	store 1,mem_24g_rxbuf
+	setarg 2
+	istore 1,contw
+	copy pdata,loopcnt
+	call memcpy
+	
+	arg 4,loopcnt //2+2
+	arg mem_24g_rxbuf,contr
+	call p_ipc_tx_cpy
+	jam 2,mem_led_cap_delay_timer
+	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
+	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
+dsize:
+	force 0x01,pdata
+	rtn
+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: output/bt_program23.rom
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/output/bt_program23.rom	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/output/bt_program23.rom	(working copy)
@@ -0,0 +1,32701 @@
+11000101000100101000000000011000
+11000000000000000000000000101111
+11000000010101100000000001000101
+11000000000000011000000000101100
+11000000000000101000000110000001
+11000000000001010000001101010000
+11000000000100111000001101000000
+11000000000101000000001100101111
+11000000000101011000001100110101
+11000000001000010000000111000101
+11000000001000011000000111111110
+11000000001010000000001100001111
+11000000001010100000001100011110
+11000000010010000000001001000000
+11000000010010010000001000000110
+11000000010010100000001000001100
+11000000010010101000000110100111
+11000000010110000000001100101010
+11000000010110001000000101110111
+11000000010110010000000110101001
+11000000010110011000000110111001
+11000000010110110000001011000000
+11000000010111001000000110001101
+00100000001000000011101111110001
+11000000000000111000000101111111
+11000000000011000000000010001101
+11000000000011011000001101100001
+11000000000100011000001110000000
+11000000000100100000000011001100
+11000000000111110000001011010011
+11000000000111111000001011010110
+11000000010000111000000100101001
+11000000010001101000001011101000
+11000000010001110000001011110010
+11000000010001111000001011011110
+11000000010011100000001110011100
+11000000010011111000001101010100
+11000000011001101000001001000011
+11000000011001111000000001111010
+11000000011010000000000100110000
+11000000011100010000000111100001
+11000000011100011000000111001001
+11000000011100110000000001010111
+00100000001000000011101111110001
+00100000010000000000000011010000
+00100000010000000000000010010101
+00100000001000000011000000010101
+01101000000100001000000100111011
+01100000000000001000101110000000
+01110000100000000000011000001000
+00100000001000000011000000000011
+00011000000000000111000000001000
+11011101111000000000000000000000
+11011111001000000000000000000011
+00011111000000001111000000000001
+11011101111000000000000000000000
+11000010000000000000000000110110
+00100000011000000000000000000000
+00011000000000000111000000000100
+00011000000000000111001000000100
+01011000000000000000000000000000
+10011000000000000101111000000000
+00011111000000001111000000000001
+11000010000000000000000000111100
+00100000011000000000000000000000
+00100000010000000111010110011101
+00100000010000000111010100111101
+00100000010000000000000000111010
+00100000001000000000000000110011
+01110000100010010110011110000100
+00100000010000000000000001000001
+01101000000100001000000010000101
+01111001001000000111111000000101
+01100000000100001000000010000101
+01011000000000001110111000100001
+01100000000100010000000001010000
+01101000000100001000000100111110
+01110000100000000101000000100101
+01110000100000101000000000000101
+00100000010000000111111100110110
+01011000000000000000000000100000
+01100000000000010000001000100001
+00100000010000000110011100101110
+01101000000000001100000000010101
+01111001001111111111111000000100
+01100000000000001100000000010101
+00100000001000000011000000000001
+01101000000000001000000001111100
+00100000001110100000000001011100
+00100000010000000110000111011001
+01101000000000001000000001111100
+00100100011110100000000000000000
+01101000000000001000000001010101
+00100000011110100000000000000000
+11000000000000110000000001101011
+11000000000010000000000001100001
+00100000001000000110001000111110
+01101000000000001100011101001000
+11000001000000000000000000000000
+11000000000000001000000001101001
+11011000111000000000000000001010
+00100000010000000111111001010011
+00100100011110100000000000000000
+01110000010001110100100000000000
+00100000001000000110001010011011
+00100000011101001000000000000000
+00100000001000000000000001101011
+01101000000000001000000101110111
+11000010100000010110001010011011
+11000010100000000000000001101110
+01101000000000001100001001011110
+00100000001110100110001011000111
+01101000000000001000010001001101
+11000100000000011000000000000000
+11000100000000010000000000000000
+01101000000000100000010001100101
+11011000010000000000001100100000
+10011000010000001000010000000000
+00011100010000100111111000000000
+10011000010001100111110000000000
+00100100011000010000000000000000
+00100000001000000110001001100111
+11011010001000000100011111011111
+00100000010000000111111110011111
+00100000011110100000000000000000
+00011111111000100010011000000000
+00100000010000000000000010000000
+00100000001000000011111010100101
+11000001000011000000000000000000
+11000000000000110110011000010100
+11000000000000010000000010000100
+00100000001000000011111001111101
+01110000010000101001110100000000
+01101000000000010100011111110100
+11000010100000111011111100001000
+00101111111011000000000000000001
+00100000010000001000000010001010
+00100000001000000011111100001000
+01101000000000001000010001010000
+11000001000000010000000000000000
+00100000001000000011111001111011
+01101000000000010000001011001101
+00100000001110100100110111111100
+01101000000000001000001011001111
+11000000000000001000000010010010
+00100000001000000100110110111011
+00100000010000000101001001111010
+00100100011110100000000000000000
+00100000001000000100110111000011
+01101000000000001100011111011100
+00100000001110100000000010011001
+01101000000000001100011110010011
+00100000011110100000000000000000
+00100000010000000000000110001000
+00100000011101000000000000000000
+00011111111100001111111000000000
+00011111111000100000110000000000
+00100000010000000000000100001000
+01100000000000001100110011100110
+11000000000000001000000010101100
+00011111111000100000010000000000
+00011000110000100010001000000000
+01101000000000001100000001000000
+11000011000000000000000010101001
+00011010001000100000110000000000
+11000110100001001000000000000000
+00011000010000100111111000000000
+11000000000000011000000010110110
+00100000001000000011101111110001
+00011010001000100000110000000000
+11011000101000000000000011111000
+00100000001000000000000100000000
+00100000010000000000000100001000
+00100000010000000000000100001000
+01100000000000001000101101111101
+00100000010000000000000010110001
+00100000001000000111110000110011
+00100000010000000000000100001011
+00011000110000100000010000000000
+00011000010100001000010000000000
+01100000000010010100101110101101
+00100000011000000000000000000000
+00100000010000000000000100001000
+00011111111000100010001000000000
+00011000110000100111111000000000
+01100000000000010000001010110111
+00011010001000001010001000000001
+00100000010000000100101100101100
+00011000101000001010010111111110
+01101000000000010100001010110111
+11100000101000010000000000000000
+01011000000000000000000010100001
+11100000101000001000000000000000
+00011010001000001111001111111111
+01101000000000010000001010110111
+00011111111000100000110000000000
+00100000010000000000000100000010
+00011010010000100000110000000000
+11101000110000010000000000000000
+01100000000000010100111001011111
+00011111111000001111001000000010
+00100000010000000111111001000101
+01110000010011100101111000110010
+00100000011000000000000000000000
+11011010010000000000000000000000
+00100000010000000101001001111010
+00100100011110100000000000000000
+00100000001000000101001001001101
+01101000000010100100110110001010
+00011100010000100111111000000000
+10011000010001100111111000000000
+11011000010000000000011001000000
+10011000010001101111110000000000
+00100000010000000111111011111101
+00011000000001111111111000000000
+00100000011110100000000000000000
+00011100010000100000010000000000
+01100000000010100100110110001010
+01101000000010010100110011100100
+00011000010100001000010000000000
+10011000010000001111111000000000
+00011111111100001111111000000000
+01100000000000010100110011100100
+00011111111100001111111000000000
+00011111111000010111111000000011
+11000001100000000000000000000000
+01101000000000001100110110100000
+11000010100000000000000011100111
+11000010100000001000000011101001
+11000010100000010000000011101011
+00100000011000000000000000000000
+01110000100010010111000110111111
+00100000001000000000000011101111
+01110000100010010111000110101111
+00100000001000000000000011101111
+01110000100010010111000110001111
+01101000000000001100110110100001
+01100000000100001000100101110011
+00100000001000000000000011101111
+01101000000100001000000001010011
+01111001001000000111111000000111
+01100000000100001000000001010011
+01101000000100001000100101110011
+00011111111000011111111000110000
+01100000000100001000100101110011
+01110000100010010000011001110100
+01110000100010010000011001111100
+01110000100010010111001010101010
+00100000000000000001001110001000
+01101000000110010000000101010000
+01101000000100001000000001010011
+01111001001111111111111000000111
+01100000000100001000000001010011
+00011000010100001000010000000000
+01100000000010010100110110100110
+00100000011000000000000000000000
+00100000010000000000000100001000
+00011111111000100111001000000000
+00100000010000000000000100000100
+00100000001000000000000010110001
+00100000010000000000000100001000
+11100000101000001000000000000000
+11000010000000000000000100000100
+00100000011000000000000000000000
+00100000010000000000000100001011
+11101000110000001000000000000000
+00100000011000000000000000000000
+01011000000000000100101110101101
+10011000110001100111110000000000
+00100100011000101000000000000000
+11011000110000000100101011100101
+00100000011000000000000000000000
+11011111001000000000000000000011
+11011000110000000100110011100001
+00011000110000100010001000000000
+01101000000000010100110001111011
+00011111111100001111111000000000
+00011111111000100000101000000000
+00011010001000100000110000000000
+11101000110000001000000000000000
+11100000101000001000000000000000
+00100000010000000000000100011111
+11000010000000000000000100010111
+00011000101000100111111000000000
+00011111111100001111111000000000
+01100000000000010100110001111011
+00100000011000000000000000000000
+01011000000000000100110001111001
+10011000101001100111110000000000
+00100100011000101000000000000000
+11011000101000000100101110110001
+00100000011000000000000000000000
+01011000000000000000000000010000
+11011000111000000000000000000011
+00100000010000000111111001101000
+10011010010000001010010000000000
+00100000011000000000000000000000
+11011010001000000000000000000000
+01101000000010100100011111101100
+00011100010000100010010000000000
+00011010010000100111111000000000
+10011000010001100111110000000000
+00100100010000010000000100100100
+00100000001000000111110000001001
+01100000000010001000001001011001
+01101000000000001100110110011110
+00011111111000001111111000000001
+01100000000000001100110110011110
+01101000000000001000001001011001
+00100000011110100000000000000000
+00011111111000001111111111111111
+01100000000000001000001001011001
+00100000010000000000000101010101
+00100000010000000000000101011100
+00100000010000000000000101001111
+00100000010000000000000100111101
+00100000001000000000000100110100
+01101000000000001100111001011110
+00100000011110100000000000000000
+00011111111000001111111111111111
+01100000000000001100111001011110
+11000001100000001000000000000000
+01110000010011100101111000110010
+01101000000000010100011111110100
+11000100000000101000000000000000
+01101000000000010100111001011111
+00100000011110100000000000000000
+00100000010000000101001001111110
+00100100011110100000000000000000
+01101000000000010100111001011111
+00011111111000100010001000000000
+00100000010000000100101100101100
+00011010001000001111001000000010
+11011000110000000100111001100001
+00100000001000000111111001000101
+01101000000000001100110110000111
+00100000011110100000000000000000
+00011111111000001111111111111111
+01100000000000001100110110000111
+00100000001110100011111110100100
+00100000001000000011111110100110
+01101000000000001100011111110010
+00100000011110100000000000000000
+00011111111000001111111111111111
+01100000000000001100011111110010
+00100100011110100000000000000000
+00100000010000000011111010111101
+00100000001000000100101100100010
+01101000000000001100110110000110
+00100000011110100000000000000000
+00011111111000001111111111111111
+01100000000000001100110110000110
+00100000011000000000000000000000
+00011010011000100111111000000000
+00011111111000010111111011110000
+11000001001010000000000000000000
+00100000010000000000000101101001
+00011010011000100111111000000000
+00100000011110100000000000000000
+01100000000000001100110011100011
+00100000001000000000000100010000
+00011010011000100111111000000000
+11000000000001011000000101101101
+11000000000000010000000101110101
+00100000011000000000000000000000
+01110000010011100101111000101000
+01011000000000000000000000001010
+01100000000000010100111001011111
+01101000000000010100001010110111
+11100000101000010000000000000000
+01011000000000000000000110100001
+11100000101000010000000000000000
+00100000011000000000000000000000
+01110000010011100101111000000000
+00100000011000000000000000000000
+01110000010000010110111001111111
+00100000010000000011110011110011
+01101000000000001100111001011011
+00100000011110100000000000000000
+01110000010011100101101100000000
+00011100010000100111111000000000
+01100000000000100100110110001010
+00100000011000000000000000000000
+00100000001000000011101111110001
+00100000001000000011101111110001
+00100000010000000011001110010010
+00100000010000000011010000000111
+00100000010000000011000000100100
+00100000001000000011000000100010
+01101000000000010100110001111001
+01101000000010010100110001111011
+00100000001000000000000110001010
+01101000000000010100101110101101
+01101000000010010100101110101111
+10011000010001100111110000000000
+00100000001000101110100110110001
+00100000001000000011001000001011
+01101000000000001100001000011001
+00100100011110100000000000000000
+01110000100000000100001000000110
+01011000000000000000111100001100
+00100000010000000011110110100111
+01011000000000110000110101000000
+00100000010000000011101111110011
+00110111110110011000001000000000
+00011110001000100110000000000000
+00100000010000000011101100110110
+00100000000000000001001110001000
+00100000001000000011110110011101
+01101000000000001100001000011001
+00100100001110100000000110011111
+00100000010000000011110110010001
+00100000000000000111010100110000
+00100000000000000111010100110000
+00100000000000000111010100110000
+00100000010000000011101100001010
+01110000100000000100001000000100
+01101000000100001000100101101011
+00011111111000010111111011001111
+01100000000100001000100101101011
+00011111111000011111111000110000
+01100000000100001000100101101011
+00100000011000000000000000000000
+00100000010000000000000110011001
+00100000001000000011101010101111
+11000110000100011000000000000000
+00100000010000000011110010101011
+01101000000000011100001000010000
+00100000011110100000000000000000
+01101000000000001100000100110001
+00100000011110100000000000000000
+00100000010000000101001001111110
+00100100011110100000000000000000
+00100000010000000011110111001010
+00100100011110100000000000000000
+00100000010000000011101100110110
+01101000000000001100011111011100
+00100000001110100011110100100101
+01101000000000001100011110010011
+00100000011110100000000000000000
+00100000001000000011110100100101
+00100000010000000000000110001000
+00100100011101000000000000000000
+00100000010000000000000110000101
+00100100011101000000000000000000
+01110000000010110111111100000001
+01110000000010110111111000000001
+00100000010000000000001011011001
+01101000000000001000101101111111
+00100100011110100000000000000000
+00100000010000000000000110001000
+00100100011101000000000000000000
+00100000001000000011110100101101
+00100000010000000011111000100101
+00100000010000000110110111101100
+00100000010000000011010111010110
+00100000001000000011010010000000
+01111000010101000111110000000000
+00100000010000000110000111011001
+01101000000000001000000001001000
+00100000011110100000000000000000
+11000010100000111101111100010000
+11000000000000010000000111010001
+11000000000000111000000111011110
+00100000001000000101111011100000
+00011000000000000111111000010001
+00100000010000000110000110110101
+01101000000000001000000001001001
+00011111111000100000010000000000
+11000000000000000000000111011001
+11000000000001110000000111011001
+11000000000011100000000111011001
+00100000011000000000000000000000
+11100000101000001000000000000000
+01101000000000001100011100000010
+11100000101000001000000000000000
+01011000000000000000000000001110
+00100000001000000101111110100110
+00100000010000000110000001010101
+01110000000000000111001001100100
+00100000011000000000000000000000
+01101000000000001000000001111101
+11000000000000011000000111101101
+11000000000000100101110001100111
+11000000000000111000000111111011
+00100000001000000101101110010010
+01101000000000001000000000110000
+11000010100000001101110110110101
+01101000000000010000010011100010
+00011111111000111111111000000000
+00011111111001100111110000001111
+00100100001000010101110110110101
+00100000001000000101110110100100
+01101000000000001000010011011111
+01100000000000001000010001000101
+11000000000011000000000111111001
+11000000000010011000001100101100
+11000000000110011000000111110011
+00100000001000000101110001011000
+01101000000000001000010001001101
+01111001001000000111111000000000
+01100000000000001000010001001101
+01110000000010110111110100000001
+00100000010000000111110000100111
+00100000001000000101110010000011
+00100000010000000011111110011110
+00100000001000000101110011001100
+01101000000000001000010011011111
+01100000000000001000010001000110
+00100000001000000101110011110011
+00100000010000000011110101100001
+00100000010000000011101111100010
+00100000001000010011010010011000
+00100000010000000011001000000100
+00100100001101000011010010011000
+00100000010000000011100000010010
+00100100001110100000000111000110
+00100000011000000000000000000000
+01100000000010001000000000010111
+00011000010000001010001000000100
+00100000001000000011101010000110
+01100000000010001000000000010111
+00011000010000001010001000000000
+00100000001000000011101010110110
+00100000010000000000001000001001
+01011000000000000000010100000000
+00100000010000000011101111110011
+00100000010000000000001000010100
+01101000000000001100110110011001
+11011000101000000100011011011000
+00100100001110100000001000100000
+00100000001000000000001000100111
+01110000100010010000011000000001
+01110000100010010000000000111100
+01110000100010010000000111100000
+01110000100010010110110100010010
+00100000000000000000000000001010
+01110000100010010000001000000001
+01110000100010010000001000111101
+00100000000000000000000000001010
+01110000100010010000001110110111
+00100000000000000000000000001010
+01110000100010010000001001111101
+00100000011000000000000000000000
+01101000000000101100101010110100
+11100000101000101000000000000000
+11101000110000101000000000000000
+11100000101000101000000000000000
+01110000100010010101011011000010
+01110000100010010101010111010000
+00100000011000000000000000000000
+01101000000000101100101010111110
+11100000101000101000000000000000
+11101000110000101000000000000000
+11100000101000101000000000000000
+01110000100010010101011011011111
+00100000010000000000001000101111
+01110000100010010101010111011111
+00100000011000000000000000000000
+00100000000000000000000000000100
+01110000100010010101010111010001
+00100000000000000000000000000100
+01110000100010010101010111010010
+00100000000000000000000000000100
+01110000100010010101010111010100
+00100000000000000000000000000100
+00100000011000000000000000000000
+01110000100010010101010111010100
+00100000000000000000000000000100
+01110000100010010101010111010010
+00100000000000000000000000000100
+01110000100010010101010111010001
+00100000000000000000000000000100
+01110000100010010101010111010000
+01110000100010010101011011000000
+00100000011000000000000000000000
+00100000001100001011101001101111
+00100000010000000000001000110111
+00100000001000000011101001101111
+01110000000010110111111000000000
+01110000000000010111011100000110
+00100000010000000011111110100100
+01011000000000000000001010110110
+01100000000000010100001010001110
+01011000000000000000001010111111
+01100000000000010100001010001010
+01011000000000000000000101100001
+01100000000000010100001010010010
+01011000000000000000001011011101
+01100000000000010100001010010000
+01011000000000000000000010010101
+01100000000000010100001010001100
+01011000000000000000001010111001
+01100000000000010100001010001000
+01011000000000000100101011100101
+00011111111100001111111000000000
+01100000000000010100101110101101
+01100000000000010100101110101111
+00100000010000000011111000001011
+01011000000000000100101110110001
+00011111111100001111111000000000
+01100000000000010100110001111001
+01100000000000010100110001111011
+01101000000000001100111001011011
+11000000001011010000001001110001
+00100000001101011000001001101111
+01101000000000010100110110100010
+00011111111100001111111000000000
+01100000000000010100110110100010
+01101000000000010100110110100100
+00011111111100001111111000000000
+01100000000000010100110110100100
+00100000010000000000001001111101
+01101000000001000000001010100000
+00100100001110100000001001101011
+01101000000000010100101011010100
+00011111111100001111111000000000
+00100000001110100000001001101011
+01100000000000010100110110100100
+01110000010011001110001100101111
+00100000010000000000000100010000
+01110000100000101000000000000011
+00100000011000000000000000000000
+01110000010011001110001100110000
+00100000001000000000001001101100
+00011100111000100111111000000000
+00100000001110100000001011100000
+00100000010000000101101101100011
+00100000010000000100110110011001
+01011000000000000000000000000000
+01100000000001000100000001000000
+01100000000000010100011111110100
+01011000000000000000000000000000
+01100000000000010100110011100100
+01100000000000010100110110010011
+01110000010011001110001100110011
+00100000001000000000001001101100
+00100000010000000110100010001010
+01011000000000000000011111100010
+11011010001000000000001010100000
+11011000010000000000000000001100
+00100000010000000110100011010011
+00100000010000000110100010001101
+01101000000001000000001010100000
+00100000011110100000000000000000
+01101000000000001100110110100000
+11000010100000000000001010001010
+11000010100000001000001010011000
+11000010100000010000001010101000
+00100000011000000000000000000000
+01101000000010010000001010100100
+01101000000000010000001010101010
+00011000010000100010010000000000
+00011111111000100010001000000000
+00011111111100001111111000000000
+01100000000000010100110110100100
+00011010001000100111111000000000
+10011000010001100010011000000000
+00011010011000111010011000000000
+00011010010000100111111000000000
+10011010011001100111111000000000
+00011111111100001111111000000000
+01100000000000010100110110100010
+00100000011000000000000000000000
+01101000000010010000001010100010
+01101000000000010000001010101000
+00011000010000100010010000000000
+00011111111000100010001000000000
+10011000010001100010011000000000
+00011010011010110010011000000000
+00011010010000100111111000000000
+10011010011001100111111000000000
+00011111111100001111111000000000
+01100000000000010100110110100010
+00011010011000111010011000000000
+00011010001000100111111000000000
+10011010011001100111111000000000
+00011111111100001111111000000000
+01100000000000010100110110100100
+00100000011000000000000000000000
+01101000000010010000001010100000
+01101000000000010000001010100110
+00011000010000100010010000000000
+00011111111000100010001000000000
+10011000010001100010011000000000
+00011010010000100111111000000000
+10011010011001100111111000000000
+00011111111100001111111000000000
+01100000000000010100110110100010
+00011010011010111111111000000000
+10011010001000001111111000000000
+00011111111100001111111000000000
+01100000000000010100110110100100
+00100000011000000000000000000000
+00100000010000000101001001111100
+00100100011110100000000000000000
+00100000001000000000000010010101
+01111000001101000111110000000000
+01101000000100100000000100111000
+01111001001101000111111000011010
+01100000000100100000000001001100
+00100000010000000011110110110000
+01110000000000001010001000000001
+00100000011000000000000000000000
+00100000010000000000000110001000
+00100100011101000000000000000000
+00100000010000000000000110000101
+00100100011101000000000000000000
+01110000000010110111111100000001
+01110000000010110111111000000001
+00100000010000000000001011011001
+01101000000000001000101101111111
+00100100011110100000000000000000
+00100000010000000000000110001000
+00100100011101000000000000000000
+00100000001000000011110101001111
+00011010011000100111111000000000
+00100000011000000000000000000000
+01011000000000000000000000000000
+01100000000000010100001010100000
+01100000000000010100011111110100
+01100000000000001100001001111111
+00100000001000000011111110100110
+01110000100010010000111100110110
+01110000100010010000101101011111
+00100000001000000101001111010100
+01110000100010010000111100101110
+01110000100010010000101111111111
+00100000001000000101001111011001
+01101000000000001000101101111110
+00100000000000000000000000001010
+11000000100000000000001011011001
+00100000011000000000000000000000
+00100000011000000000000000000000
+01110000000010110111111000000011
+00100000010000000000001011011001
+01110000010011100101101101011010
+00100000010000000011110110111000
+01101000000100100000000100111000
+01111001001111111111111000001111
+01100000000100100000000001001100
+00100000010000000011110110110000
+11011000010111111111111111111111
+00100000001000000011110011011010
+00100000010000000111110000100000
+11011010001000000100011111100100
+00100000010000000111111110011111
+00011111111000100000010000000000
+00100000010000000111110000100100
+00011000010000100111111000000000
+00100000011110100000000000000000
+11000000000000001000001100000110
+11000000000000011000001100001001
+00100000001000000111110001011010
+01101000000000001000000001111100
+00100000001110100000001011110111
+00100000010000000110000111011001
+01101000000000001000000001111100
+00100100001110100111110010001100
+01101000000000001000101101111101
+11000101100001001111110010000111
+11000000000000100000001011111100
+11000000000101000000001100000010
+00100000001000000111110001111011
+01101000000000010100011111110100
+11000011000000011000001011111111
+00100000001000000111110010100100
+01011000000000000000000000000000
+01100000000000100000000001010001
+00100000011000000000000000000000
+01110000000000000111110000110111
+01101000000000010100111001011100
+01100000000000010000000001010001
+00100000011000000000000000000000
+00100000010000000011111011111111
+01110000000000010111011100000110
+00100000001000000111110010010111
+01110000000000010111011100000110
+01101000000000001100011111011100
+11000000000000000000001100001101
+01110000000000010111011100010111
+01110000010000100101111000000001
+00100000001000000111110010100010
+00100000010000000011001011011111
+00100100001000101011010101101000
+01101000000000001000000001000111
+11000011000000011011010101110001
+01101000000000001100000101100101
+11000000000010011011010101100010
+01101000000000010100101011001010
+00011111111001100111110000010100
+00100100001000010011010101100010
+01100000000000010000000010010001
+01101000000000001100101011001001
+01100000000000001000000010010000
+01011000000000000100101011001100
+01100000000000010000000101111001
+00100000001000000011010101100010
+01101000000000010000000010010001
+01100000000000010100101011001010
+00011111111001100111110000010100
+00100100001000010011010110001111
+10011000000000000111001000000000
+01101000000000001000000010010000
+01100000000000001100101011001001
+01101000000000010000000101111001
+10011000000000000000110000000000
+11011000101000000100101011001100
+00100000010000000111111001000101
+00100000001000000011010110001111
+00100000010000000011101100110110
+00100000001000000011110011011100
+01110000000010110111110100100000
+00100000010000000111110000100111
+00100000001000000000001100110000
+01100000000010100000000000110100
+01110000010001110100100000000001
+01011000000000001111111111111111
+01100000000000010000000000110010
+01110000000000000111001100000001
+00100000011000000000000000000000
+00100000010000000011101110101010
+00100000010000000000001100111000
+00100000001000000011001001100111
+00011100010000001100001000000001
+00100000010000000011101001010100
+00011000000000000100100000000011
+00100000010000000011101001000010
+00100000010000000011101110101110
+00100000010000000011101110110100
+00100000010000000011101111000101
+00100000001000000011011101011100
+01111000010101000111110000000000
+01101000000000010000000000110010
+11011000010000001111111111111111
+10011000010001100111110000000000
+00100100011000101000000000000000
+01101000000000100000000000110100
+00100000001110000000001101001001
+10011101000001100111111000000000
+00100000001000000000001101001010
+10011100010001100111111000000000
+00011111111001100111110000000100
+00100100011000010000000000000000
+00011000000000000111111000000000
+01100000000000010000000000110010
+01111000001101000111110000000000
+00100000011000000000000000000000
+01100000000011000000001010100000
+00100000010000000111111001010011
+01101000000011000000001010100000
+00100000001000000011000001111100
+00100000010000000101001001111010
+00100100011110100000000000000000
+00100000010000000000001101011000
+00100000001000000110110111111101
+01101000000000001100000100110010
+11000001000000001000000000000000
+01101000000000001100001111001101
+00100000011110100000000000000000
+00011111111000100010001000000000
+01110000010000111100110100000000
+00011010001000100111111000000000
+11000000001010000100110111011100
+00100000011000000000000000000000
+11101000110000001000000000000000
+11000000000001010000001101100100
+00100000001000000100111000010100
+11101000110000001000000000000000
+00011111111000100000111000000000
+11101000110000010000000000000000
+00011111111000100010001000000000
+00011010011000100111111000000000
+10011010001001100010011000000000
+01011000000000000000000000001011
+11100000101000001000000000000000
+00011000111000100111111000000000
+11100000101000001000000000000000
+11101000110000010000000000000000
+11000000000000010000001101110010
+11000000000000011000001101111001
+00100000001000000011101111110001
+01011000000000100000000000001000
+11100000101000110000000000000000
+01011000000000000000001000000000
+11100000101000100000000000000000
+00011000000000000111111000001100
+10011010010000001010010000000000
+00100000001000000100111000100000
+01011000000000110000000000001100
+11100000101000110000000000000000
+01011000000000000000000000000110
+11100000101001000000000000000000
+00011000000000000111111000010000
+10011010010000001010010000000000
+00100000001000000100111000100000
+00100000010000000101001011000100
+00011000000000000010010000000000
+00100000010000000101001011010000
+00011111111000100000101000000000
+01101000000000010000001011001101
+00011111111000100010011000000000
+01101000000000010000001011001011
+10011000000000000000110000000000
+00100000010000000000001110001010
+00100000001000000101000100010000
+11101000110000001000000000000000
+11000000000001010000001110001101
+00100000001000000101000100010110
+11101000110000001000000000000000
+00011111111000100000111000000000
+11101000110000010000000000000000
+00011111111000100010001000000000
+11101000110000010000000000000000
+01100000000000010000001010100000
+00011010011000100111111000000000
+10011010001001100010011000000000
+00100000010000000101001011010000
+01011000000000000000000000001011
+11100000101000001000000000000000
+00011000111000100111111000000000
+11100000101000001000000000000000
+01101000000000010000001010100000
+00100000001000000000001101101111
+01101000000000010000001011001011
+00011111111000100000110000000000
+11101000110000001000000000000000
+00011111111000010000010000001111
+00011111111100011111111000000000
+11000000000001001100101100011000
+11000000000000111100101100011000
+11000000000001010000001110101010
+11000000000000101000001110101000
+11000000000000001100101100000101
+11000000000000100100101100011000
+00100000011000000000000000000000
+00100000010000000000001110101010
+00100000001000000100101100010001
+01011000000000000000000000000011
+01100000000000001100110011111111
+01011000000000000000000000000010
+11100000101000001000000000000000
+00011111111000100111001000000000
+00100000010000000111111001000101
+11011111001000000000000000000100
+11011000110000000100110011111111
+00100000010000000000000100010010
+01110000010011011000011100000010
+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: output/eeprom.dat
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/output/eeprom.dat	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/output/eeprom.dat	(working copy)
@@ -0,0 +1,5218 @@
+00
+02
+aa
+55
+d6
+0e
+c5
+12
+80
+18
+c0
+00
+00
+2f
+c0
+56
+00
+45
+c0
+01
+80
+2c
+c0
+02
+81
+81
+c0
+05
+03
+50
+c0
+13
+83
+40
+c0
+14
+03
+2f
+c0
+15
+83
+35
+c0
+21
+01
+c5
+c0
+21
+81
+fe
+c0
+28
+03
+0f
+c0
+2a
+03
+1e
+c0
+48
+02
+40
+c0
+49
+02
+06
+c0
+4a
+02
+0c
+c0
+4a
+81
+a7
+c0
+58
+03
+2a
+c0
+58
+81
+77
+c0
+59
+01
+a9
+c0
+59
+81
+b9
+c0
+5b
+02
+c0
+c0
+5c
+81
+8d
+20
+20
+3b
+f1
+c0
+03
+81
+7f
+c0
+0c
+00
+8d
+c0
+0d
+83
+61
+c0
+11
+83
+80
+c0
+12
+00
+cc
+c0
+1f
+02
+d3
+c0
+1f
+82
+d6
+c0
+43
+81
+29
+c0
+46
+82
+e8
+c0
+47
+02
+f2
+c0
+47
+82
+de
+c0
+4e
+03
+9c
+c0
+4f
+83
+54
+c0
+66
+82
+43
+c0
+67
+80
+7a
+c0
+68
+01
+30
+c0
+71
+01
+e1
+c0
+71
+81
+c9
+c0
+73
+00
+57
+20
+20
+3b
+f1
+20
+40
+00
+d0
+20
+40
+00
+95
+20
+20
+30
+15
+68
+10
+81
+3b
+60
+00
+8b
+80
+70
+80
+06
+08
+20
+20
+30
+03
+18
+00
+70
+08
+dd
+e0
+00
+00
+df
+20
+00
+03
+1f
+00
+f0
+01
+dd
+e0
+00
+00
+c2
+00
+00
+36
+20
+60
+00
+00
+18
+00
+70
+04
+18
+00
+72
+04
+58
+00
+00
+00
+98
+00
+5e
+00
+1f
+00
+f0
+01
+c2
+00
+00
+3c
+20
+60
+00
+00
+20
+40
+75
+9d
+20
+40
+75
+3d
+20
+40
+00
+3a
+20
+20
+00
+33
+70
+89
+67
+84
+20
+40
+00
+41
+68
+10
+80
+85
+79
+20
+7e
+05
+60
+10
+80
+85
+58
+00
+ee
+21
+60
+11
+00
+50
+68
+10
+81
+3e
+70
+80
+50
+25
+70
+82
+80
+05
+20
+40
+7f
+36
+58
+00
+00
+20
+60
+01
+02
+21
+20
+40
+67
+2e
+68
+00
+c0
+15
+79
+3f
+fe
+04
+60
+00
+c0
+15
+20
+20
+30
+01
+68
+00
+80
+7c
+20
+3a
+00
+5c
+20
+40
+61
+d9
+68
+00
+80
+7c
+24
+7a
+00
+00
+68
+00
+80
+55
+20
+7a
+00
+00
+c0
+03
+00
+6b
+c0
+08
+00
+61
+20
+20
+62
+3e
+68
+00
+c7
+48
+c1
+00
+00
+00
+c0
+00
+80
+69
+d8
+e0
+00
+0a
+20
+40
+7e
+53
+24
+7a
+00
+00
+70
+47
+48
+00
+20
+20
+62
+9b
+20
+74
+80
+00
+20
+20
+00
+6b
+68
+00
+81
+77
+c2
+81
+62
+9b
+c2
+80
+00
+6e
+68
+00
+c2
+5e
+20
+3a
+62
+c7
+68
+00
+84
+4d
+c4
+01
+80
+00
+c4
+01
+00
+00
+68
+02
+04
+65
+d8
+40
+03
+20
+98
+40
+84
+00
+1c
+42
+7e
+00
+98
+46
+7c
+00
+24
+61
+00
+00
+20
+20
+62
+67
+da
+20
+47
+df
+20
+40
+7f
+9f
+20
+7a
+00
+00
+1f
+e2
+26
+00
+20
+40
+00
+80
+20
+20
+3e
+a5
+c1
+0c
+00
+00
+c0
+03
+66
+14
+c0
+01
+00
+84
+20
+20
+3e
+7d
+70
+42
+9d
+00
+68
+01
+47
+f4
+c2
+83
+bf
+08
+2f
+ec
+00
+01
+20
+40
+80
+8a
+20
+20
+3f
+08
+68
+00
+84
+50
+c1
+01
+00
+00
+20
+20
+3e
+7b
+68
+01
+02
+cd
+20
+3a
+4d
+fc
+68
+00
+82
+cf
+c0
+00
+80
+92
+20
+20
+4d
+bb
+20
+40
+52
+7a
+24
+7a
+00
+00
+20
+20
+4d
+c3
+68
+00
+c7
+dc
+20
+3a
+00
+99
+68
+00
+c7
+93
+20
+7a
+00
+00
+20
+40
+01
+88
+20
+74
+00
+00
+1f
+f0
+fe
+00
+1f
+e2
+0c
+00
+20
+40
+01
+08
+60
+00
+cc
+e6
+c0
+00
+80
+ac
+1f
+e2
+04
+00
+18
+c2
+22
+00
+68
+00
+c0
+40
+c3
+00
+00
+a9
+1a
+22
+0c
+00
+c6
+84
+80
+00
+18
+42
+7e
+00
+c0
+01
+80
+b6
+20
+20
+3b
+f1
+1a
+22
+0c
+00
+d8
+a0
+00
+f8
+20
+20
+01
+00
+20
+40
+01
+08
+20
+40
+01
+08
+60
+00
+8b
+7d
+20
+40
+00
+b1
+20
+20
+7c
+33
+20
+40
+01
+0b
+18
+c2
+04
+00
+18
+50
+84
+00
+60
+09
+4b
+ad
+20
+60
+00
+00
+20
+40
+01
+08
+1f
+e2
+22
+00
+18
+c2
+7e
+00
+60
+01
+02
+b7
+1a
+20
+a2
+01
+20
+40
+4b
+2c
+18
+a0
+a5
+fe
+68
+01
+42
+b7
+e0
+a1
+00
+00
+58
+00
+00
+a1
+e0
+a0
+80
+00
+1a
+20
+f3
+ff
+68
+01
+02
+b7
+1f
+e2
+0c
+00
+20
+40
+01
+02
+1a
+42
+0c
+00
+e8
+c1
+00
+00
+60
+01
+4e
+5f
+1f
+e0
+f2
+02
+20
+40
+7e
+45
+70
+4e
+5e
+32
+20
+60
+00
+00
+da
+40
+00
+00
+20
+40
+52
+7a
+24
+7a
+00
+00
+20
+20
+52
+4d
+68
+0a
+4d
+8a
+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
+4d
+8a
+68
+09
+4c
+e4
+18
+50
+84
+00
+98
+40
+fe
+00
+1f
+f0
+fe
+00
+60
+01
+4c
+e4
+1f
+f0
+fe
+00
+1f
+e1
+7e
+03
+c1
+80
+00
+00
+68
+00
+cd
+a0
+c2
+80
+00
+e7
+c2
+80
+80
+e9
+c2
+81
+00
+eb
+20
+60
+00
+00
+70
+89
+71
+bf
+20
+20
+00
+ef
+70
+89
+71
+af
+20
+20
+00
+ef
+70
+89
+71
+8f
+68
+00
+cd
+a1
+60
+10
+89
+73
+20
+20
+00
+ef
+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
+74
+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
+4d
+a6
+20
+60
+00
+00
+20
+40
+01
+08
+1f
+e2
+72
+00
+20
+40
+01
+04
+20
+20
+00
+b1
+20
+40
+01
+08
+e0
+a0
+80
+00
+c2
+00
+01
+04
+20
+60
+00
+00
+20
+40
+01
+0b
+e8
+c0
+80
+00
+20
+60
+00
+00
+58
+00
+4b
+ad
+98
+c6
+7c
+00
+24
+62
+80
+00
+d8
+c0
+4a
+e5
+20
+60
+00
+00
+df
+20
+00
+03
+d8
+c0
+4c
+e1
+18
+c2
+22
+00
+68
+01
+4c
+7b
+1f
+f0
+fe
+00
+1f
+e2
+0a
+00
+1a
+22
+0c
+00
+e8
+c0
+80
+00
+e0
+a0
+80
+00
+20
+40
+01
+1f
+c2
+00
+01
+17
+18
+a2
+7e
+00
+1f
+f0
+fe
+00
+60
+01
+4c
+7b
+20
+60
+00
+00
+58
+00
+4c
+79
+98
+a6
+7c
+00
+24
+62
+80
+00
+d8
+a0
+4b
+b1
+20
+60
+00
+00
+58
+00
+00
+10
+d8
+e0
+00
+03
+20
+40
+7e
+68
+9a
+40
+a4
+00
+20
+60
+00
+00
+da
+20
+00
+00
+68
+0a
+47
+ec
+1c
+42
+24
+00
+1a
+42
+7e
+00
+98
+46
+7c
+00
+24
+41
+01
+24
+20
+20
+7c
+09
+60
+08
+82
+59
+68
+00
+cd
+9e
+1f
+e0
+fe
+01
+60
+00
+cd
+9e
+68
+00
+82
+59
+20
+7a
+00
+00
+1f
+e0
+ff
+ff
+60
+00
+82
+59
+20
+40
+01
+55
+20
+40
+01
+5c
+20
+40
+01
+4f
+20
+40
+01
+3d
+20
+20
+01
+34
+68
+00
+ce
+5e
+20
+7a
+00
+00
+1f
+e0
+ff
+ff
+60
+00
+ce
+5e
+c1
+80
+80
+00
+70
+4e
+5e
+32
+68
+01
+47
+f4
+c4
+02
+80
+00
+68
+01
+4e
+5f
+20
+7a
+00
+00
+20
+40
+52
+7e
+24
+7a
+00
+00
+68
+01
+4e
+5f
+1f
+e2
+22
+00
+20
+40
+4b
+2c
+1a
+20
+f2
+02
+d8
+c0
+4e
+61
+20
+20
+7e
+45
+68
+00
+cd
+87
+20
+7a
+00
+00
+1f
+e0
+ff
+ff
+60
+00
+cd
+87
+20
+3a
+3f
+a4
+20
+20
+3f
+a6
+68
+00
+c7
+f2
+20
+7a
+00
+00
+1f
+e0
+ff
+ff
+60
+00
+c7
+f2
+24
+7a
+00
+00
+20
+40
+3e
+bd
+20
+20
+4b
+22
+68
+00
+cd
+86
+20
+7a
+00
+00
+1f
+e0
+ff
+ff
+60
+00
+cd
+86
+20
+60
+00
+00
+1a
+62
+7e
+00
+1f
+e1
+7e
+f0
+c1
+28
+00
+00
+20
+40
+01
+69
+1a
+62
+7e
+00
+20
+7a
+00
+00
+60
+00
+cc
+e3
+20
+20
+01
+10
+1a
+62
+7e
+00
+c0
+05
+81
+6d
+c0
+01
+01
+75
+20
+60
+00
+00
+70
+4e
+5e
+28
+58
+00
+00
+0a
+60
+01
+4e
+5f
+68
+01
+42
+b7
+e0
+a1
+00
+00
+58
+00
+01
+a1
+e0
+a1
+00
+00
+20
+60
+00
+00
+70
+4e
+5e
+00
+20
+60
+00
+00
+70
+41
+6e
+7f
+20
+40
+3c
+f3
+68
+00
+ce
+5b
+20
+7a
+00
+00
+70
+4e
+5b
+00
+1c
+42
+7e
+00
+60
+02
+4d
+8a
+20
+60
+00
+00
+20
+20
+3b
+f1
+20
+20
+3b
+f1
+20
+40
+33
+92
+20
+40
+34
+07
+20
+40
+30
+24
+20
+20
+30
+22
+68
+01
+4c
+79
+68
+09
+4c
+7b
+20
+20
+01
+8a
+68
+01
+4b
+ad
+68
+09
+4b
+af
+98
+46
+7c
+00
+20
+22
+e9
+b1
+20
+20
+32
+0b
+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
+68
+00
+c2
+19
+24
+3a
+01
+9f
+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
+20
+40
+01
+99
+20
+20
+3a
+af
+c6
+11
+80
+00
+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
+01
+88
+24
+74
+00
+00
+20
+40
+01
+85
+24
+74
+00
+00
+70
+0b
+7f
+01
+70
+0b
+7e
+01
+20
+40
+02
+d9
+68
+00
+8b
+7f
+24
+7a
+00
+00
+20
+40
+01
+88
+24
+74
+00
+00
+20
+20
+3d
+2d
+20
+40
+3e
+25
+20
+40
+6d
+ec
+20
+40
+35
+d6
+20
+20
+34
+80
+78
+54
+7c
+00
+20
+40
+61
+d9
+68
+00
+80
+48
+20
+7a
+00
+00
+c2
+83
+df
+10
+c0
+01
+01
+d1
+c0
+03
+81
+de
+20
+20
+5e
+e0
+18
+00
+7e
+11
+20
+40
+61
+b5
+68
+00
+80
+49
+1f
+e2
+04
+00
+c0
+00
+01
+d9
+c0
+07
+01
+d9
+c0
+0e
+01
+d9
+20
+60
+00
+00
+e0
+a0
+80
+00
+68
+00
+c7
+02
+e0
+a0
+80
+00
+58
+00
+00
+0e
+20
+20
+5f
+a6
+20
+40
+60
+55
+70
+00
+72
+64
+20
+60
+00
+00
+68
+00
+80
+7d
+c0
+01
+81
+ed
+c0
+02
+5c
+67
+c0
+03
+81
+fb
+20
+20
+5b
+92
+68
+00
+80
+30
+c2
+80
+dd
+b5
+68
+01
+04
+e2
+1f
+e3
+fe
+00
+1f
+e6
+7c
+0f
+24
+21
+5d
+b5
+20
+20
+5d
+a4
+68
+00
+84
+df
+60
+00
+84
+45
+c0
+0c
+01
+f9
+c0
+09
+83
+2c
+c0
+19
+81
+f3
+20
+20
+5c
+58
+68
+00
+84
+4d
+79
+20
+7e
+00
+60
+00
+84
+4d
+70
+0b
+7d
+01
+20
+40
+7c
+27
+20
+20
+5c
+83
+20
+40
+3f
+9e
+20
+20
+5c
+cc
+68
+00
+84
+df
+60
+00
+84
+46
+20
+20
+5c
+f3
+20
+40
+3d
+61
+20
+40
+3b
+e2
+20
+21
+34
+98
+20
+40
+32
+04
+24
+34
+34
+98
+20
+40
+38
+12
+24
+3a
+01
+c6
+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
+02
+09
+58
+00
+05
+00
+20
+40
+3b
+f3
+20
+40
+02
+14
+68
+00
+cd
+99
+d8
+a0
+46
+d8
+24
+3a
+02
+20
+20
+20
+02
+27
+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
+20
+60
+00
+00
+68
+02
+ca
+b4
+e0
+a2
+80
+00
+e8
+c2
+80
+00
+e0
+a2
+80
+00
+70
+89
+56
+c2
+70
+89
+55
+d0
+20
+60
+00
+00
+68
+02
+ca
+be
+e0
+a2
+80
+00
+e8
+c2
+80
+00
+e0
+a2
+80
+00
+70
+89
+56
+df
+20
+40
+02
+2f
+70
+89
+55
+df
+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
+02
+37
+20
+20
+3a
+6f
+70
+0b
+7e
+00
+70
+01
+77
+06
+20
+40
+3f
+a4
+58
+00
+02
+b6
+60
+01
+42
+8e
+58
+00
+02
+bf
+60
+01
+42
+8a
+58
+00
+01
+61
+60
+01
+42
+92
+58
+00
+02
+dd
+60
+01
+42
+90
+58
+00
+00
+95
+60
+01
+42
+8c
+58
+00
+02
+b9
+60
+01
+42
+88
+58
+00
+4a
+e5
+1f
+f0
+fe
+00
+60
+01
+4b
+ad
+60
+01
+4b
+af
+20
+40
+3e
+0b
+58
+00
+4b
+b1
+1f
+f0
+fe
+00
+60
+01
+4c
+79
+60
+01
+4c
+7b
+68
+00
+ce
+5b
+c0
+2d
+02
+71
+20
+35
+82
+6f
+68
+01
+4d
+a2
+1f
+f0
+fe
+00
+60
+01
+4d
+a2
+68
+01
+4d
+a4
+1f
+f0
+fe
+00
+60
+01
+4d
+a4
+20
+40
+02
+7d
+68
+04
+02
+a0
+24
+3a
+02
+6b
+68
+01
+4a
+d4
+1f
+f0
+fe
+00
+20
+3a
+02
+6b
+60
+01
+4d
+a4
+70
+4c
+e3
+2f
+20
+40
+01
+10
+70
+82
+80
+03
+20
+60
+00
+00
+70
+4c
+e3
+30
+20
+20
+02
+6c
+1c
+e2
+7e
+00
+20
+3a
+02
+e0
+20
+40
+5b
+63
+20
+40
+4d
+99
+58
+00
+00
+00
+60
+04
+40
+40
+60
+01
+47
+f4
+58
+00
+00
+00
+60
+01
+4c
+e4
+60
+01
+4d
+93
+70
+4c
+e3
+33
+20
+20
+02
+6c
+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
+cd
+a0
+c2
+80
+02
+8a
+c2
+80
+82
+98
+c2
+81
+02
+a8
+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
+4d
+a4
+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
+4d
+a2
+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
+4d
+a2
+1a
+63
+a6
+00
+1a
+22
+7e
+00
+9a
+66
+7e
+00
+1f
+f0
+fe
+00
+60
+01
+4d
+a4
+20
+60
+00
+00
+68
+09
+02
+a0
+68
+01
+02
+a6
+18
+42
+24
+00
+1f
+e2
+22
+00
+98
+46
+26
+00
+1a
+42
+7e
+00
+9a
+66
+7e
+00
+1f
+f0
+fe
+00
+60
+01
+4d
+a2
+1a
+6b
+fe
+00
+9a
+20
+fe
+00
+1f
+f0
+fe
+00
+60
+01
+4d
+a4
+20
+60
+00
+00
+20
+40
+52
+7c
+24
+7a
+00
+00
+20
+20
+00
+95
+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
+20
+40
+01
+88
+24
+74
+00
+00
+20
+40
+01
+85
+24
+74
+00
+00
+70
+0b
+7f
+01
+70
+0b
+7e
+01
+20
+40
+02
+d9
+68
+00
+8b
+7f
+24
+7a
+00
+00
+20
+40
+01
+88
+24
+74
+00
+00
+20
+20
+3d
+4f
+1a
+62
+7e
+00
+20
+60
+00
+00
+58
+00
+00
+00
+60
+01
+42
+a0
+60
+01
+47
+f4
+60
+00
+c2
+7f
+20
+20
+3f
+a6
+70
+89
+0f
+36
+70
+89
+0b
+5f
+20
+20
+53
+d4
+70
+89
+0f
+2e
+70
+89
+0b
+ff
+20
+20
+53
+d9
+68
+00
+8b
+7e
+20
+00
+00
+0a
+c0
+80
+02
+d9
+20
+60
+00
+00
+20
+60
+00
+00
+70
+0b
+7e
+03
+20
+40
+02
+d9
+70
+4e
+5b
+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
+00
+83
+06
+c0
+01
+83
+09
+20
+20
+7c
+5a
+68
+00
+80
+7c
+20
+3a
+02
+f7
+20
+40
+61
+d9
+68
+00
+80
+7c
+24
+3a
+7c
+8c
+68
+00
+8b
+7d
+c5
+84
+fc
+87
+c0
+02
+02
+fc
+c0
+14
+03
+02
+20
+20
+7c
+7b
+68
+01
+47
+f4
+c3
+01
+82
+ff
+20
+20
+7c
+a4
+58
+00
+00
+00
+60
+02
+00
+51
+20
+60
+00
+00
+70
+00
+7c
+37
+68
+01
+4e
+5c
+60
+01
+00
+51
+20
+60
+00
+00
+20
+40
+3e
+ff
+70
+01
+77
+06
+20
+20
+7c
+97
+70
+01
+77
+06
+68
+00
+c7
+dc
+c0
+00
+03
+0d
+70
+01
+77
+17
+70
+42
+5e
+01
+20
+20
+7c
+a2
+20
+40
+32
+df
+24
+22
+b5
+68
+68
+00
+80
+47
+c3
+01
+b5
+71
+68
+00
+c1
+65
+c0
+09
+b5
+62
+68
+01
+4a
+ca
+1f
+e6
+7c
+14
+24
+21
+35
+62
+60
+01
+00
+91
+68
+00
+ca
+c9
+60
+00
+80
+90
+58
+00
+4a
+cc
+60
+01
+01
+79
+20
+20
+35
+62
+68
+01
+00
+91
+60
+01
+4a
+ca
+1f
+e6
+7c
+14
+24
+21
+35
+8f
+98
+00
+72
+00
+68
+00
+80
+90
+60
+00
+ca
+c9
+68
+01
+01
+79
+98
+00
+0c
+00
+d8
+a0
+4a
+cc
+20
+40
+7e
+45
+20
+20
+35
+8f
+20
+40
+3b
+36
+20
+20
+3c
+dc
+70
+0b
+7d
+20
+20
+40
+7c
+27
+20
+20
+03
+30
+60
+0a
+00
+34
+70
+47
+48
+01
+58
+00
+ff
+ff
+60
+01
+00
+32
+70
+00
+73
+01
+20
+60
+00
+00
+20
+40
+3b
+aa
+20
+40
+03
+38
+20
+20
+32
+67
+1c
+40
+c2
+01
+20
+40
+3a
+54
+18
+00
+48
+03
+20
+40
+3a
+42
+20
+40
+3b
+ae
+20
+40
+3b
+b4
+20
+40
+3b
+c5
+20
+20
+37
+5c
+78
+54
+7c
+00
+68
+01
+00
+32
+d8
+40
+ff
+ff
+98
+46
+7c
+00
+24
+62
+80
+00
+68
+02
+00
+34
+20
+38
+03
+49
+9d
+06
+7e
+00
+20
+20
+03
+4a
+9c
+46
+7e
+00
+1f
+e6
+7c
+04
+24
+61
+00
+00
+18
+00
+7e
+00
+60
+01
+00
+32
+78
+34
+7c
+00
+20
+60
+00
+00
+60
+0c
+02
+a0
+20
+40
+7e
+53
+68
+0c
+02
+a0
+20
+20
+30
+7c
+20
+40
+52
+7a
+24
+7a
+00
+00
+20
+40
+03
+58
+20
+20
+6d
+fd
+68
+00
+c1
+32
+c1
+00
+80
+00
+68
+00
+c3
+cd
+20
+7a
+00
+00
+1f
+e2
+22
+00
+70
+43
+cd
+00
+1a
+22
+7e
+00
+c0
+28
+4d
+dc
+20
+60
+00
+00
+e8
+c0
+80
+00
+c0
+05
+03
+64
+20
+20
+4e
+14
+e8
+c0
+80
+00
+1f
+e2
+0e
+00
+e8
+c1
+00
+00
+1f
+e2
+22
+00
+1a
+62
+7e
+00
+9a
+26
+26
+00
+58
+00
+00
+0b
+e0
+a0
+80
+00
+18
+e2
+7e
+00
+e0
+a0
+80
+00
+e8
+c1
+00
+00
+c0
+01
+03
+72
+c0
+01
+83
+79
+20
+20
+3b
+f1
+58
+02
+00
+08
+e0
+a3
+00
+00
+58
+00
+02
+00
+e0
+a2
+00
+00
+18
+00
+7e
+0c
+9a
+40
+a4
+00
+20
+20
+4e
+20
+58
+03
+00
+0c
+e0
+a3
+00
+00
+58
+00
+00
+06
+e0
+a4
+00
+00
+18
+00
+7e
+10
+9a
+40
+a4
+00
+20
+20
+4e
+20
+20
+40
+52
+c4
+18
+00
+24
+00
+20
+40
+52
+d0
+1f
+e2
+0a
+00
+68
+01
+02
+cd
+1f
+e2
+26
+00
+68
+01
+02
+cb
+98
+00
+0c
+00
+20
+40
+03
+8a
+20
+20
+51
+10
+e8
+c0
+80
+00
+c0
+05
+03
+8d
+20
+20
+51
+16
+e8
+c0
+80
+00
+1f
+e2
+0e
+00
+e8
+c1
+00
+00
+1f
+e2
+22
+00
+e8
+c1
+00
+00
+60
+01
+02
+a0
+1a
+62
+7e
+00
+9a
+26
+26
+00
+20
+40
+52
+d0
+58
+00
+00
+0b
+e0
+a0
+80
+00
+18
+e2
+7e
+00
+e0
+a0
+80
+00
+68
+01
+02
+a0
+20
+20
+03
+6f
+68
+01
+02
+cb
+1f
+e2
+0c
+00
+e8
+c0
+80
+00
+1f
+e1
+04
+0f
+1f
+f1
+fe
+00
+c0
+04
+cb
+18
+c0
+03
+cb
+18
+c0
+05
+03
+aa
+c0
+02
+83
+a8
+c0
+00
+cb
+05
+c0
+02
+4b
+18
+20
+60
+00
+00
+20
+40
+03
+aa
+20
+20
+4b
+11
+58
+00
+00
+03
+60
+00
+cc
+ff
+58
+00
+00
+02
+e0
+a0
+80
+00
+1f
+e2
+72
+00
+20
+40
+7e
+45
+df
+20
+00
+04
+d8
+c0
+4c
+ff
+20
+40
+01
+12
+70
+4d
+87
+02
+20
+60
+00
+00
+ab
+48
+aa
+55
+00
+00
+aa
+55
+40
+00
+00
+40
+29
+04
+00
+00
+80
+09
+00
+00
+0c
+00
+11
+00
+00
+00
+00
+00
+00
+00
+35
+00
+00
+10
+4f
+02
+00
+00
+00
+00
+00
+00
+00
+00
+80
+00
+00
+09
+18
+00
+00
+c0
+00
+00
+00
+00
+00
+48
+00
+00
+80
+e0
+00
+90
+00
+00
+00
+00
+00
+a0
+01
+00
+4c
+00
+00
+00
+aa
+55
+03
+00
+4a
+41
+40
+25
+00
+aa
+55
+06
+00
+40
+41
+36
+08
+22
+08
+66
+22
+aa
+55
+17
+00
+02
+47
+16
+42
+6c
+75
+65
+74
+6f
+6f
+74
+68
+20
+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
+6a
+02
+2a
+48
+04
+00
+11
+01
+00
+10
+02
+11
+24
+00
+01
+00
+00
+36
+01
+aa
+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
+99
+35
+97
+08
+22
+25
+93
+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
+15
+00
+25
+01
+75
+01
+95
+16
+0a
+b1
+01
+0a
+23
+02
+0a
+ae
+01
+0a
+8a
+01
+09
+40
+09
+6f
+0a
+21
+02
+09
+b6
+09
+cd
+09
+b5
+09
+e2
+09
+ea
+09
+e9
+09
+30
+0a
+83
+01
+0a
+05
+03
+0a
+07
+03
+0a
+08
+03
+0a
+01
+03
+0a
+9e
+01
+0a
+0a
+03
+09
+70
+81
+02
+95
+01
+75
+02
+81
+03
+c0
+09
+02
+07
+35
+08
+35
+06
+09
+04
+09
+09
+01
+00
+09
+02
+0b
+09
+01
+00
+09
+02
+0c
+09
+1f
+40
+09
+02
+0d
+28
+00
+09
+02
+0e
+28
+01
+09
+02
+0f
+09
+00
+12
+09
+02
+10
+09
+00
+00
+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
+0a
+5c
+09
+02
+02
+09
+85
+02
+09
+02
+03
+09
+00
+01
+09
+02
+04
+28
+01
+09
+02
+05
+09
+00
+02
+00
+aa
+55
+86
+00
+a8
+4d
+14
+2b
+04
+29
+1d
+00
+35
+1e
+1a
+39
+16
+00
+1b
+00
+3a
+1f
+08
+3c
+07
+3d
+06
+63
+3b
+20
+15
+17
+09
+0a
+19
+05
+22
+21
+18
+1c
+0d
+0b
+10
+11
+23
+24
+0c
+30
+0e
+3f
+36
+00
+2e
+25
+12
+40
+0f
+00
+37
+00
+41
+26
+00
+00
+00
+2c
+44
+51
+4c
+00
+00
+81
+85
+00
+00
+00
+00
+00
+00
+2a
+31
+00
+28
+00
+42
+43
+13
+2f
+33
+34
+00
+38
+2d
+27
+00
+00
+80
+83
+00
+87
+00
+45
+00
+00
+00
+00
+86
+00
+7f
+3e
+00
+82
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+00
+4f
+00
+00
+00
+00
+00
+52
+00
+50
+aa
+55
+02
+00
+59
+47
+2a
+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
+31
+41
+01
+aa
+55
+02
+00
+13
+42
+40
+03
+aa
+55
+01
+00
+f7
+41
+08
+aa
+55
+02
+00
+f5
+41
+00
+02
+aa
+55
+01
+00
+33
+41
+00
+aa
+55
+01
+00
+6e
+41
+80
+aa
+55
+02
+00
+e1
+4c
+02
+01
+aa
+55
+12
+00
+46
+4e
+08
+09
+0a
+0b
+0c
+0d
+0e
+11
+12
+13
+14
+15
+16
+17
+18
+19
+1a
+1b
+aa
+55
+06
+00
+a0
+4d
+01
+30
+9f
+3e
+cd
+4d
+aa
+55
+08
+00
+16
+42
+8f
+10
+ce
+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
+5c
+4e
+00
+13
+aa
+55
+02
+00
+9b
+42
+30
+3f
+aa
+55
+01
+00
+aa
+42
+20
+aa
+55
+7f
+00
+6c
+46
+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
+6c
+46
+aa
+55
+00
+00
+d8
+46
+aa
+55
+0a
+00
+be
+4a
+55
+d0
+56
+c0
+57
+4c
+58
+6c
+59
+50
+aa
+55
+0a
+00
+b4
+4a
+55
+d0
+56
+c0
+57
+4c
+58
+6c
+59
+50
+e6
+c2
Index: output/memmap.format
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/output/memmap.format	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/output/memmap.format	(working copy)
@@ -0,0 +1,1053 @@
+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_lmp_lock
+0x0b80 mem_wakup_from_power_flag
+0x0b81 mem_lmp_bb_disconnect_reason
+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
+0x48af mem_keyboard_uuid_list
+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
+0x4ab4 mem_24g_paring_tx_power_param
+0x4abe mem_5db_tx_power_param
+0x4ac8 mem_mouse_tz
+0x4ac9 mem_last_txlch
+0x4aca mem_last_txlen
+0x4acc mem_last_txdata
+0x4ae0 mem_current_event
+0x4ae1 mem_ipc_lock_rx_data_bt
+0x4ae2 mem_ipc_lock_rx_data_c51
+0x4ae3 mem_ipc_lock_tx_data_bt
+0x4ae4 mem_ipc_lock_tx_data_c51
+0x4ae5 mem_ipc_2bt_fifo_head
+0x4bad mem_ipc_2bt_fifo_end
+0x4bad mem_ipc_2bt_read_index
+0x4baf mem_ipc_2bt_write_index
+0x4bb1 mem_ipc_2C51_fifo_head
+0x4c79 mem_ipc_2C51_fifo_end
+0x4c79 mem_ipc_2C51_read_index
+0x4c7b mem_ipc_2C51_write_index
+0x4c7d mem_c51_private_area
+0x4ce1 mem_ipc_tx_evt_buff
+0x4ce3 mem_ipc_tx_evt
+0x4ce4 mem_ipc_bt_timer
+0x4ce6 mem_ipc_rx_type
+0x4ce7 mem_rfcomm_tx_buff
+0x4ce7 mem_24g_tx_btclk
+0x4ceb mem_24g_interval
+0x4cec mem_24g_txcnt
+0x4cef mem_24g_txfail_cnt
+0x4cf0 mem_24g_attempt_cnt
+0x4cf1 mem_24g_attempt_flag
+0x4cf2 mem_24g_rxcnt
+0x4cf5 mem_24g_rxfail_cnt
+0x4cf8 mem_loss_rate
+0x4cfa mem_24g_retry
+0x4cfb mem_24g_pid
+0x4cfc mem_24g_datalen
+0x4cfd mem_24g_crc
+0x4cff mem_24g_rxbuf
+0x4d3f mem_24g_addr
+0x4d43 mem_24g_len
+0x4d45 mem_24g_txpayload
+0x4d4f mem_24g_txdata
+0x4d55 mem_24g_ch
+0x4d56 mem_24g_sifs
+0x4d57 mem_24g_state
+0x4d58 mem_24g_scremble
+0x4d68 mem_dongle_exit_flag
+0x4d69 mem_24g_current_ch_number
+0x4d6a mem_24g_ch_count_down
+0x4d6b mem_24g_ch_map1
+0x4d6f mem_24g_ch_map2
+0x4d73 mem_24g_ch_map3
+0x4d77 mem_24g_ch_map4
+0x4d7b mem_24g_interval_min
+0x4d7c mem_24g_interval_max
+0x4d7d mem_24g_ensure
+0x4d7e mem_24g_enter_hibernate
+0x4d86 mem_24g_enter_lpm_timer
+0x4d87 mem_led_cap_delay_timer
+0x4d87 mem_senser_id2
+0x4d88 mem_senser_id3
+0x4d89 mem_rpn_dlci
+0x4d8a mem_ipc_last_check_timer
+0x4d8e mem_att_send_handle
+0x4d90 mem_att_send_option
+0x4d91 mem_lell_cur_opcode
+0x4d92 mem_prepare_write_len
+0x4d93 mem_ipc_c51_timer
+0x4d93 mem_prepare_write_offest
+0x4d95 mem_le51_payload_len
+0x4d96 mem_le51_cmd
+0x4d97 mem_le51_tx_length
+0x4d98 mem_le51_txbuff_inuse
+0x4d99 mem_24g_pairing_sm
+0x4d9a mem_24g_addr_copy
+0x4d9e mem_ipc_bt_100ms_timer
+0x4d9f mem_ipc_c51_100ms_timer
+0x4da0 mem_adc_config_flag
+0x4da1 mem_adc_channel
+0x4da2 mem_adc_0v
+0x4da4 mem_adc_3v
+0x4da6 mem_adc_current_value
+0x4da8 mem_kb_map_c51
+0x4e46 mem_kb_ks_col
+0x4e5b mem_hibernate_flag
+0x4e5c mem_new_supervision_to
+0x4e5e mem_kb_wake_timer
+0x4e5f mem_kb_last_data
+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: output/otp.dat
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/output/otp.dat	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/output/otp.dat	(working copy)
@@ -0,0 +1,12 @@
+00
+02
+aa
+55
+00
+00
+aa
+55
+00
+00
+82
+78
Index: output/patch.dat
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/output/patch.dat	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/output/patch.dat	(working copy)
@@ -0,0 +1,65 @@
+mem_patch00:
+29   #mem_patch00
+04   #mem_patch01
+00   #mem_patch02
+00   #mem_patch03
+80   #mem_patch04
+09   #mem_patch05
+00   #mem_patch06
+00   #mem_patch07
+0c   #mem_patch08
+00   #mem_patch09
+11   #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
+80   #mem_patch20
+00   #mem_patch21
+00   #mem_patch22
+09   #mem_patch23
+08   #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
+48   #mem_patch2D
+00   #mem_patch2E
+00   #mem_patch2F
+80   #mem_patch30
+e0   #mem_patch31
+00   #mem_patch32
+90   #mem_patch33
+00   #mem_patch34
+00   #mem_patch35
+00   #mem_patch36
+00   #mem_patch37
+00   #mem_patch38
+a0   #mem_patch39
+01   #mem_patch3A
+00   #mem_patch3B
+4c   #mem_patch3C
+00   #mem_patch3D
+00   #mem_patch3E
+00   #mem_patch3F
Index: output/program.lis
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/output/program.lis	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/output/program.lis	(working copy)
@@ -0,0 +1,27614 @@
+              include "bt_format "
+              org 0x0000
+0000 c5128018 bmark1 mark_ext_patch ,patch_ext 
+0001 c000002f beq patch00_0 ,p_soft_reset 
+0002 c0560045 beq patch15_4 ,p_soft_reset_1 
+0003 c001802c beq patch00_3 ,p_main_loop 
+0004 c0028181 beq patch00_5 ,p_main_loop_end 
+0005 c0050350 beq patch01_2 ,p_idle_page_mode_r0 
+0006 c0138340 beq patch04_7 ,p_role_switch_check 
+0007 c014032f beq patch05_0 ,p_role_switch_prepare0_0 
+0008 c0158335 beq patch05_3 ,p_roles_replyto_fhs 
+0009 c02101c5 beq patch08_2 ,p_slave_loop 
+000a c02181fe beq patch08_3 ,p_slave_notmatch 
+000b c028030f beq patch0a_0 ,p_prepare_tx_not_sco 
+000c c02a031e beq patch0a_4 ,p_tx_l2cap_type 
+000d c0480240 beq patch12_0 ,p_shutdown_radio 
+000e c0490206 beq patch12_2 ,p_set_freq_rx 
+000f c04a020c beq patch12_4 ,p_set_freq_tx 
+0010 c04a81a7 beq patch12_5 ,p_initialize_radio_cont 
+0011 c058032a beq patch16_0 ,p_lpm_sleep 
+0012 c0588177 beq patch16_1 ,p_lpm_recover_clk 
+0013 c05901a9 beq patch16_2 ,p_lpm_dispatch 
+0014 c05981b9 beq patch16_3 ,p_lpm_dispatch_next 
+0015 c05b02c0 beq patch16_6 ,p_lpm_dispatch_unconn 
+0016 c05c818d beq patch17_1 ,p_lpm_cal_xtal_startup 
+0017 20203bf1 branch assert 
+
+patch_ext:
+0018 c003817f beq patch20_7 ,p_iicd_write_eep 
+0019 c00c008d beq patch23_0 ,p_l2cap_rx_multiplexing 
+001a c00d8361 beq patch23_3 ,p_l2cap_process_one_signal 
+001b c0118380 beq patch24_3 ,p_ml2cap_call_proc_signal 
+001c c01200cc beq patch24_4 ,p_l2cap_malloc 
+001d c01f02d3 beq patch27_6 ,p_le_enable 
+001e c01f82d6 beq patch27_7 ,p_le_disable 
+001f c0438129 beq patch30_7 ,p_ui_timer_check 
+0020 c04682e8 beq patch31_5 ,p_check_51cmd_once 
+0021 c04702f2 beq patch31_6 ,p_check_51cmd_once_continue 
+0022 c04782de beq patch31_7 ,p_check_enter_hibernate 
+0023 c04e039c beq patch33_4 ,p_hid_rx_process 
+0024 c04f8354 beq patch33_7 ,p_scheduler_process_sdp_succ 
+0025 c0668243 beq patch39_5 ,p_mouse_init 
+0026 c067807a beq patch39_7 ,p_app_process_bb_event 
+0027 c0680130 beq patch3a_0 ,p_mouse_bb_event_timer 
+0028 c07101e1 beq patch3c_2 ,p_parse_lmp 
+0029 c07181c9 beq patch3c_3 ,p_send_lmp 
+002a c0730057 beq patch3c_6 ,p_process_conn_sm 
+002b 20203bf1 branch assert 
+
+p_main_loop:
+002c 204000d0 call p_ipc_timer_check 
+002d 20400095 call p_ipc_rx 
+002e 20203015 branch main_loop + 2 
+
+p_soft_reset:
+002f 6810813b hfetch 1 ,0x813b 
+0030 60008b80 store 1 ,mem_wakup_from_power_flag 
+0031 70800608 hjam lock_otp ,core_misc_ctrl 
+0032 20203003 branch soft_reset + 2 
+
+p_set_iv:
+0033 18007008 force regidx_xor ,regext_index 
+0034 dde00000 arg 0 ,regext 
+0035 df200003 arg 3 ,loopcnt 
+
+p_set_iv_loop:
+0036 1f00f001 increase 1 ,regext_index 
+0037 dde00000 arg 0 ,regext 
+0038 c2000036 loop p_set_iv_loop 
+0039 20600000 rtn 
+
+p_clear_load_key:
+003a 18007004 force regidx_key ,regext_index 
+003b 18007204 force 4 ,loopcnt 
+
+p_load_regext_loop:
+003c 58000000 setarg 0 
+003d 98005e00 iforce regext 
+003e 1f00f001 increase 1 ,regext_index 
+003f c200003c loop p_load_regext_loop 
+0040 20600000 rtn 
+
+p_aes_init:
+0041 2040759d call aes_clear_data 
+0042 2040753d call aes_init 
+0043 2040003a call p_clear_load_key 
+0044 20200033 branch p_set_iv 
+
+p_soft_reset_1:
+0045 70896784 hjam 0x84 ,rf_clkpll_bias 
+0046 20400041 call p_aes_init 
+0047 68108085 hfetch 1 ,0x8085 
+0048 79207e05 set1 5 ,pdata 
+0049 60108085 hstore 1 ,0x8085 
+004a 5800ee21 setarg 0xee21 
+004b 60110050 hstore 2 ,core_clkoff 
+004c 6810813e hfetch 1 ,core_lpm_ldocnt 
+004d 70805025 hjam 0x25 ,core_clkoff 
+004e 70828005 hjam 5 ,core_docd_ctrl 
+004f 20407f36 call clean_mem 
+0050 58000020 setarg 0x20 
+0051 60010221 store 2 ,mem_otp_ucode_flag 
+0052 2040672e call loadcode_lpm + 6 
+0053 6800c015 fetch 1 ,0x4015 
+0054 793ffe04 set0 4 ,pdata 
+0055 6000c015 store 1 ,0x4015 
+0056 20203001 branch soft_reset 
+
+p_process_conn_sm:
+0057 6800807c fetch 1 ,mem_lmo_opcode2 
+0058 203a005c branch p_process_conn_sm_continue ,blank 
+0059 204061d9 call lmo_fifo_process 
+005a 6800807c fetch 1 ,mem_lmo_opcode2 
+005b 247a0000 nrtn blank 
+
+p_process_conn_sm_continue:
+005c 68008055 fetch 1 ,mem_conn_sm 
+005d 207a0000 rtn blank 
+005e c003006b beq conn_sm_auth_pair ,p_host_create_conn_auth_pair 
+005f c0080061 beq conn_sm_wait_switch_after_host_connection ,p_host_creat_conn_wait_switch 
+0060 2020623e branch process_conn_sm_continue + 2 
+
+p_host_creat_conn_wait_switch:
+0061 6800c748 fetch 1 ,mem_switch_flag 
+0062 c1000000 rtneq switch_flag_init 
+0063 c0008069 beq switch_flag_accept ,p_host_create_conn_switch_accept 
+0064 d8e0000a arg switch_wait_timer ,queue 
+0065 20407e53 call timer_check 
+0066 247a0000 nrtn blank 
+0067 70474800 jam switch_flag_init ,mem_switch_flag 
+0068 2020629b branch host_create_conn_switch 
+
+p_host_create_conn_switch_accept:
+0069 20748000 rtn master 
+006a 2020006b branch p_host_create_conn_auth_pair 
+
+p_host_create_conn_auth_pair:
+006b 68008177 fetch 1 ,mem_connection_options 
+006c c281629b bbit1 connection_switch ,host_create_conn_switch 
+006d c280006e bbit1 connection_auth ,p_host_create_conn_auth_pair_true 
+
+p_host_create_conn_auth_pair_true:
+006e 6800c25e fetch 1 ,mem_link_key_exists 
+006f 203a62c7 branch host_create_conn_auth_pair_nokey ,blank 
+0070 6800844d fetch 1 ,mem_lmp_conn_state 
+0071 c4018000 rtnbit0 sent_setup_complete 
+0072 c4010000 rtnbit0 received_setup_complete 
+0073 68020465 fetch 4 ,mem_aurand_send_delay_time 
+0074 d8400320 arg 800 ,temp 
+0075 98408400 iadd temp ,temp 
+0076 1c427e00 copy clkn_bt ,pdata 
+0077 98467c00 isub temp ,null 
+0078 24610000 nrtn positive 
+0079 20206267 branch host_create_conn_auth 
+
+p_app_process_bb_event:
+007a da2047df arg mem_ipc_fifo_bt2c51 ,rega 
+007b 20407f9f call fifo_out 
+007c 207a0000 rtn blank 
+007d 1fe22600 copy pdata ,regc 
+007e 20400080 call p_app_event_normal_process 
+007f 20203ea5 branch app_process_bb_event_priority 
+
+p_app_event_normal_process:
+0080 c10c0000 rtneq bt_evt_linkkey_generate 
+0081 c0036614 beq bt_evt_hid_connected ,mouse_bt_hid_connected 
+0082 c0010084 beq bt_evt_bb_disconnected ,p_app_bb_event_bb_disconn 
+0083 20203e7d branch app_event_normal_process 
+
+p_app_bb_event_bb_disconn:
+0084 70429d00 jam 0 ,mem_unsniff2sniff_timer_count 
+0085 680147f4 fetch 2 ,mem_ui_state_map 
+0086 c283bf08 bbit1 ui_state_bt_reconnect ,app_bb_event_bb_reconn_disconn 
+0087 2fec0001 isolate0 ui_state_bt_setup_complete ,pdata 
+0088 2040808a call p_app_discard_event ,true 
+0089 20203f08 branch app_bb_event_bb_reconn_disconn 
+
+p_app_discard_event:
+008a 68008450 fetch 1 ,mem_pincode_state 
+008b c1010000 rtneq pincode_state_pincode_ready 
+008c 20203e7b branch app_discard_event 
+
+p_l2cap_rx_multiplexing:
+008d 680102cd fetch 2 ,mem_l2cap_rx_pkt_length 
+008e 203a4dfc branch l2cap_rx_reset_state ,blank 
+008f 680082cf fetch 1 ,mem_l2cap_rx_cid 
+0090 c0008092 beq l2cap_signal_channel ,p_l2cap_call_proc_signal 
+0091 20204dbb branch l2cap_rx_multiplexing0 
+
+p_l2cap_call_proc_signal:
+0092 2040527a call l2cap_malloc_is_fifo_full 
+0093 247a0000 nrtn blank 
+0094 20204dc3 branch l2cap_call_proc_signal0 
+
+p_ipc_rx:
+0095 6800c7dc fetch 1 ,mem_ssp_enable 
+0096 203a0099 branch p_ipc_rx0 ,blank 
+0097 6800c793 fetch 1 ,mem_sp_local_key_invalid 
+0098 207a0000 rtn blank 
+
+p_ipc_rx0:
+0099 20400188 call p_check_ipc_2bt 
+009a 20740000 rtn user 
+009b 1ff0fe00 byteswap pdata ,pdata 
+009c 1fe20c00 copy pdata ,contr 
+009d 20400108 call p_ipc_rx_byte 
+009e 6000cce6 store 1 ,mem_ipc_rx_type 
+009f c00080ac beq ipc_type_cmd ,p_ipc_rx_cmd 
+00a0 1fe20400 copy pdata ,temp 
+00a1 18c22200 copy contr ,rega 
+00a2 6800c040 fetch 1 ,mem_context 
+00a3 c30000a9 bbit0 state_inconn ,p_ipc_abondon_rx_data 
+00a4 1a220c00 copy rega ,contr 
+00a5 c6848000 rtnmark0 mark_context 
+00a6 18427e00 copy temp ,pdata 
+00a7 c00180b6 beq ipc_type_hid ,p_ipc_rx_hid 
+00a8 20203bf1 branch assert 
+
+p_ipc_abondon_rx_data:
+00a9 1a220c00 copy rega ,contr 
+00aa d8a000f8 arg mem_tst_pktcnt_sync ,contw 
+00ab 20200100 branch p_ipc_rx_cpy 
+
+p_ipc_rx_cmd:
+00ac 20400108 call p_ipc_rx_byte 
+00ad 20400108 call p_ipc_rx_byte 
+00ae 60008b7d store 1 ,mem_fifo_temp 
+00af 204000b1 call p_ipc_next_rx 
+00b0 20207c33 branch ui_ipc_send_cmd 
+
+p_ipc_next_rx:
+00b1 2040010b call p_ipc_rx_updata_contr 
+00b2 18c20400 copy contr ,temp 
+00b3 18508400 byteswap temp ,temp 
+00b4 60094bad storet 2 ,mem_ipc_2bt_read_index 
+00b5 20600000 rtn 
+
+p_ipc_rx_hid:
+00b6 20400108 call p_ipc_rx_byte 
+00b7 1fe22200 copy pdata ,rega 
+00b8 18c27e00 copy contr ,pdata 
+00b9 600102b7 store 2 ,mem_contr 
+00ba 1a20a201 increase 1 ,rega 
+00bb 20404b2c call hid_malloc_tx_buff 
+00bc 18a0a5fe add contw ,-2 ,regb 
+00bd 680142b7 fetch 2 ,mem_hid_int_remote_cid 
+00be e0a10000 istore 2 ,contw 
+00bf 580000a1 setarg 0xa1 
+00c0 e0a08000 istore 1 ,contw 
+00c1 1a20f3ff add rega ,-1 ,loopcnt 
+00c2 680102b7 fetch 2 ,mem_contr 
+00c3 1fe20c00 copy pdata ,contr 
+00c4 20400102 call p_ipc_copy 
+00c5 1a420c00 copy regb ,contr 
+00c6 e8c10000 ifetch 2 ,contr 
+00c7 60014e5f store 2 ,mem_kb_last_data 
+00c8 1fe0f202 add pdata ,2 ,loopcnt 
+00c9 20407e45 call memcpy 
+00ca 704e5e32 jam 50 ,mem_kb_wake_timer 
+00cb 20600000 rtn 
+
+p_l2cap_malloc:
+00cc da400000 arg 0 ,regb 
+00cd 2040527a call l2cap_malloc_is_fifo_full 
+00ce 247a0000 nrtn blank 
+00cf 2020524d branch l2cap_malloc + 5 
+
+p_ipc_timer_check:
+00d0 680a4d8a fetcht 4 ,mem_ipc_last_check_timer 
+00d1 1c427e00 copy clkn_bt ,pdata 
+00d2 98467e00 isub temp ,pdata 
+00d3 d8400640 arg 1600 ,temp 
+00d4 9846fc00 idiv temp 
+00d5 20407efd call wait_div_end 
+00d6 1807fe00 quotient pdata 
+00d7 207a0000 rtn blank 
+00d8 1c420400 copy clkn_bt ,temp 
+00d9 600a4d8a storet 4 ,mem_ipc_last_check_timer 
+00da 68094ce4 fetcht 2 ,mem_ipc_bt_timer 
+00db 18508400 byteswap temp ,temp 
+00dc 9840fe00 iadd temp ,pdata 
+00dd 1ff0fe00 byteswap pdata ,pdata 
+00de 60014ce4 store 2 ,mem_ipc_bt_timer 
+00df 1ff0fe00 byteswap pdata ,pdata 
+00e0 1fe17e03 and pdata ,0x3 ,pdata 
+00e1 c1800000 rtnne 0 
+00e2 6800cda0 fetch 1 ,mem_adc_config_flag 
+00e3 c28000e7 bbit1 adc_config_vinlpm ,p_adc_check_vinlpm 
+00e4 c28080e9 bbit1 adc_config_hvin ,p_adc_check_hvin 
+00e5 c28100eb bbit1 adc_config_gpio ,p_adc_check_gpio 
+00e6 20600000 rtn 
+
+p_adc_check_vinlpm:
+00e7 708971bf hjam 0xbf ,rf_adc_mode 
+00e8 202000ef branch p_read_adc 
+
+p_adc_check_hvin:
+00e9 708971af hjam 0xaf ,rf_adc_mode 
+00ea 202000ef branch p_read_adc 
+
+p_adc_check_gpio:
+00eb 7089718f hjam 0x8f ,rf_adc_mode 
+00ec 6800cda1 fetch 1 ,mem_adc_channel 
+00ed 60108973 hstore 1 ,rf_adc_ch 
+00ee 202000ef branch p_read_adc 
+
+p_read_adc:
+00ef 68108053 hfetch 1 ,core_uart_baud + 1 
+00f0 79207e07 set1 7 ,pdata 
+00f1 60108053 hstore 1 ,core_uart_baud + 1 
+00f2 68108973 hfetch 1 ,rf_adc_ch 
+00f3 1fe1fe30 or_into 0x30 ,pdata 
+00f4 60108973 hstore 1 ,rf_adc_ch 
+00f5 70890674 hjam 0x74 ,rfen_adc 
+00f6 7089067c hjam 0x7c ,rfen_adc 
+00f7 708972aa hjam 0xaa ,rf_adc_gc 
+00f8 20001388 nop 5000 
+00f9 68190150 hfetcht 2 ,core_adc_sum 
+00fa 68108053 hfetch 1 ,core_uart_baud + 1 
+00fb 793ffe07 set0 7 ,pdata 
+00fc 60108053 hstore 1 ,core_uart_baud + 1 
+00fd 18508400 byteswap temp ,temp 
+00fe 60094da6 storet 2 ,mem_adc_current_value 
+00ff 20600000 rtn 
+
+p_ipc_rx_cpy:
+0100 20400108 call p_ipc_rx_byte 
+0101 1fe27200 copy pdata ,loopcnt 
+
+p_ipc_copy:
+0102 20400104 call p_ipc_cpy_loop 
+0103 202000b1 branch p_ipc_next_rx 
+
+p_ipc_cpy_loop:
+0104 20400108 call p_ipc_rx_byte 
+0105 e0a08000 istore 1 ,contw 
+0106 c2000104 loop p_ipc_cpy_loop 
+0107 20600000 rtn 
+
+p_ipc_rx_byte:
+0108 2040010b call p_ipc_rx_updata_contr 
+0109 e8c08000 ifetch 1 ,contr 
+010a 20600000 rtn 
+
+p_ipc_rx_updata_contr:
+010b 58004bad setarg mem_ipc_2bt_fifo_end 
+010c 98c67c00 isub contr ,null 
+010d 24628000 nrtn zero 
+010e d8c04ae5 arg mem_ipc_2bt_fifo_head ,contr 
+010f 20600000 rtn 
+
+p_ipc_tx_evt:
+0110 df200003 arg 3 ,loopcnt 
+0111 d8c04ce1 arg mem_ipc_tx_evt_buff ,contr 
+
+p_ipc_tx_cpy:
+0112 18c22200 copy contr ,rega 
+0113 68014c7b fetch 2 ,mem_ipc_2c51_write_index 
+0114 1ff0fe00 byteswap pdata ,pdata 
+0115 1fe20a00 copy pdata ,contw 
+0116 1a220c00 copy rega ,contr 
+
+p_ipc_tx_loop:
+0117 e8c08000 ifetch 1 ,contr 
+0118 e0a08000 istore 1 ,contw 
+0119 2040011f call p_ipc_tx_updata_contw 
+011a c2000117 loop p_ipc_tx_loop 
+011b 18a27e00 copy contw ,pdata 
+011c 1ff0fe00 byteswap pdata ,pdata 
+011d 60014c7b store 2 ,mem_ipc_2c51_write_index 
+011e 20600000 rtn 
+
+p_ipc_tx_updata_contw:
+011f 58004c79 setarg mem_ipc_2c51_fifo_end 
+0120 98a67c00 isub contw ,null 
+0121 24628000 nrtn zero 
+0122 d8a04bb1 arg mem_ipc_2c51_fifo_head ,contw 
+0123 20600000 rtn 
+
+p_ui_timer_timeout:
+0124 58000010 setarg 0x10 
+0125 d8e00003 arg 3 ,queue 
+0126 20407e68 call lshift8_queue 
+0127 9a40a400 iadd regb ,regb 
+0128 20600000 rtn 
+
+p_ui_timer_check:
+0129 da200000 arg 0 ,rega 
+012a 680a47ec fetcht 4 ,mem_ui_timer_last_btclk 
+012b 1c422400 copy clkn_bt ,regb 
+012c 1a427e00 copy regb ,pdata 
+012d 98467c00 isub temp ,null 
+012e 24410124 ncall p_ui_timer_timeout ,positive 
+012f 20207c09 branch ui_timer_check_loop 
+
+p_mouse_bb_event_timer:
+0130 60088259 storet 1 ,mem_app_evt_timer_count 
+0131 6800cd9e fetch 1 ,mem_ipc_bt_100ms_timer 
+0132 1fe0fe01 increase 1 ,pdata 
+0133 6000cd9e store 1 ,mem_ipc_bt_100ms_timer 
+
+p_mouse_bb_event_100ms_loop:
+0134 68008259 fetch 1 ,mem_app_evt_timer_count 
+0135 207a0000 rtn blank 
+0136 1fe0ffff increase -1 ,pdata 
+0137 60008259 store 1 ,mem_app_evt_timer_count 
+0138 20400155 call p_mouse_check_hid_handshake_timer 
+0139 2040015c call p_mouse_long_sleep_timer 
+013a 2040014f call p_kb_led_cap_delay_timer 
+013b 2040013d call p_kb_wake_remote_dev 
+013c 20200134 branch p_mouse_bb_event_100ms_loop 
+
+p_kb_wake_remote_dev:
+013d 6800ce5e fetch 1 ,mem_kb_wake_timer 
+013e 207a0000 rtn blank 
+013f 1fe0ffff increase -1 ,pdata 
+0140 6000ce5e store 1 ,mem_kb_wake_timer 
+0141 c1808000 rtnne 1 
+0142 704e5e32 jam 50 ,mem_kb_wake_timer 
+0143 680147f4 fetch 2 ,mem_ui_state_map 
+0144 c4028000 rtnbit0 ui_state_bt_sniff 
+0145 68014e5f fetch 2 ,mem_kb_last_data 
+0146 207a0000 rtn blank 
+
+p_tx_wake_kb_packet:
+0147 2040527e call l2cap_malloc_is_fifo_empty 
+0148 247a0000 nrtn blank 
+0149 68014e5f fetch 2 ,mem_kb_last_data 
+014a 1fe22200 copy pdata ,rega 
+014b 20404b2c call hid_malloc_tx_buff 
+014c 1a20f202 add rega ,2 ,loopcnt 
+014d d8c04e61 arg mem_kb_last_data + 2 ,contr 
+014e 20207e45 branch memcpy 
+
+p_kb_led_cap_delay_timer:
+014f 6800cd87 fetch 1 ,mem_led_cap_delay_timer 
+0150 207a0000 rtn blank 
+0151 1fe0ffff increase -1 ,pdata 
+0152 6000cd87 store 1 ,mem_led_cap_delay_timer 
+0153 203a3fa4 branch app_lpm_mult_enable ,blank 
+0154 20203fa6 branch app_lpm_mult_disable 
+
+p_mouse_check_hid_handshake_timer:
+0155 6800c7f2 fetch 1 ,mem_hid_handshake_timer_count 
+0156 207a0000 rtn blank 
+0157 1fe0ffff increase -1 ,pdata 
+0158 6000c7f2 store 1 ,mem_hid_handshake_timer_count 
+0159 247a0000 nrtn blank 
+015a 20403ebd call app_evt_hid_handshake 
+015b 20204b22 branch hid_handshake_event 
+
+p_mouse_long_sleep_timer:
+015c 6800cd86 fetch 1 ,mem_24g_enter_lpm_timer 
+015d 207a0000 rtn blank 
+015e 1fe0ffff increase -1 ,pdata 
+015f 6000cd86 store 1 ,mem_24g_enter_lpm_timer 
+0160 20600000 rtn 
+
+p_c51_user_event:
+0161 1a627e00 copy regc ,pdata 
+0162 1fe17ef0 and_into bt_evt_timer_mask ,pdata 
+0163 c1280000 rtneq bt_evt_timer_init 
+0164 20400169 call p_c51_ext_evt 
+0165 1a627e00 copy regc ,pdata 
+0166 207a0000 rtn blank 
+0167 6000cce3 store 1 ,mem_ipc_tx_evt 
+0168 20200110 branch p_ipc_tx_evt 
+
+p_c51_ext_evt:
+0169 1a627e00 copy regc ,pdata 
+016a c005816d beq bt_evt_enter_sniff ,p_kb_wake_enbale 
+016b c0010175 beq bt_evt_bb_disconnected ,p_bk_wake_disable 
+016c 20600000 rtn 
+
+p_kb_wake_enbale:
+016d 704e5e28 jam 40 ,mem_kb_wake_timer 
+016e 5800000a setarg 0x0a 
+016f 60014e5f store 2 ,mem_kb_last_data 
+0170 680142b7 fetch 2 ,mem_hid_int_remote_cid 
+0171 e0a10000 istore 2 ,contw 
+0172 580001a1 setarg 0x01a1 
+0173 e0a10000 istore 2 ,contw 
+0174 20600000 rtn 
+
+p_bk_wake_disable:
+0175 704e5e00 jam 0 ,mem_kb_wake_timer 
+0176 20600000 rtn 
+
+p_lpm_recover_clk:
+0177 70416e7f jam 0x7f ,mem_seqi 
+0178 20403cf3 call lpm_recover_clk + 2 
+0179 6800ce5b fetch 1 ,mem_hibernate_flag 
+017a 207a0000 rtn blank 
+017b 704e5b00 jam 0 ,mem_hibernate_flag 
+017c 1c427e00 copy clkn_bt ,pdata 
+017d 60024d8a store 4 ,mem_ipc_last_check_timer 
+017e 20600000 rtn 
+
+p_iicd_write_eep:
+017f 20203bf1 branch assert 
+
+p_iicd_read_eep:
+0180 20203bf1 branch assert 
+
+p_main_loop_end:
+0181 20403392 call inquiry_scan_dispatch 
+0182 20403407 call page_scan_dispatch 
+0183 20403024 call connection_dispatch 
+0184 20203022 branch main_loop + 15 
+
+p_check_ipc_2c51:
+0185 68014c79 fetch 2 ,mem_ipc_2c51_read_index 
+0186 68094c7b fetcht 2 ,mem_ipc_2c51_write_index 
+0187 2020018a branch p_check_ipc_common 
+
+p_check_ipc_2bt:
+0188 68014bad fetch 2 ,mem_ipc_2bt_read_index 
+0189 68094baf fetcht 2 ,mem_ipc_2bt_write_index 
+
+p_check_ipc_common:
+018a 98467c00 isub temp ,null 
+018b 2022e9b1 branch enable_usr ,zero 
+018c 2020320b branch disable_usr 
+
+p_lpm_cal_xtal_startup:
+018d 6800c219 fetch 1 ,mem_lpm_xtalcnt 
+018e 247a0000 nrtn blank 
+018f 70804206 hjam clksel_rc ,core_clksel 
+0190 58000f0c setarg 0xf0c 
+0191 20403da7 call lpm_write_config 
+0192 58030d40 setarg 200000 
+0193 20403bf3 call sleep 
+0194 37d98200 until null ,lpo_edge 
+0195 1e226000 copy lpo_time ,alarm 
+0196 20403b36 call xtal_fast_wake 
+0197 20001388 nop 5000 
+0198 20203d9d branch lpm_cal_xtal_startup + 12 
+
+p_switchto_dpllclk:
+0199 6800c219 fetch 1 ,mem_lpm_xtalcnt 
+019a 243a019f nbranch p_switchdpll_nocal ,blank 
+019b 20403d91 call lpm_cal_xtal_startup 
+019c 20007530 nop 30000 
+019d 20007530 nop 30000 
+019e 20007530 nop 30000 
+
+p_switchdpll_nocal:
+019f 20403b0a call switchto_dpllclk 
+01a0 70804204 hjam clksel_xtal ,core_clksel 
+01a1 6810896b hfetch 1 ,rf_clkpll_frac + 2 
+01a2 1fe17ecf and_into 0xcf ,pdata 
+01a3 6010896b hstore 1 ,rf_clkpll_frac + 2 
+01a4 1fe1fe30 or_into 0x30 ,pdata 
+01a5 6010896b hstore 1 ,rf_clkpll_frac + 2 
+01a6 20600000 rtn 
+
+p_initialize_radio_cont:
+01a7 20400199 call p_switchto_dpllclk 
+01a8 20203aaf branch initialize_radio_cont + 4 
+
+p_lpm_dispatch:
+01a9 c6118000 rtnmark1 mark_24g 
+01aa 20403cab call lpo_calibration 
+01ab 6801c210 fetch 3 ,mem_clks_per_lpo 
+01ac 207a0000 rtn blank 
+01ad 6800c131 fetch 1 ,mem_lpm_mode 
+01ae 207a0000 rtn blank 
+01af 2040527e call l2cap_malloc_is_fifo_empty 
+01b0 247a0000 nrtn blank 
+01b1 20403dca call lpm_check_wake_lock 
+01b2 247a0000 nrtn blank 
+01b3 20403b36 call xtal_fast_wake 
+01b4 6800c7dc fetch 1 ,mem_ssp_enable 
+01b5 203a3d25 branch lpm_dispatch0 ,blank 
+01b6 6800c793 fetch 1 ,mem_sp_local_key_invalid 
+01b7 207a0000 rtn blank 
+01b8 20203d25 branch lpm_dispatch0 
+
+p_lpm_dispatch_next:
+01b9 20400188 call p_check_ipc_2bt 
+01ba 24740000 nrtn user 
+01bb 20400185 call p_check_ipc_2c51 
+01bc 24740000 nrtn user 
+01bd 700b7f01 jam 1 ,mem_c51_lmp_lock 
+01be 700b7e01 jam syc_task_lpm ,mem_c51_flag 
+01bf 204002d9 call p_c51_wait 
+01c0 68008b7f fetch 1 ,mem_c51_lmp_lock 
+01c1 247a0000 nrtn blank 
+01c2 20400188 call p_check_ipc_2bt 
+01c3 24740000 nrtn user 
+01c4 20203d2d branch lpm_dispatch1 
+
+p_slave_loop:
+01c5 20403e25 call check_bt_disabled 
+01c6 20406dec call scheduler_process 
+01c7 204035d6 call slave_conn_recv_packet 
+01c8 20203480 branch slave_loop + 6 
+
+p_send_lmp:
+01c9 78547c00 disable user 
+01ca 204061d9 call lmo_fifo_process 
+01cb 68008048 fetch 1 ,mem_lmp_to_send 
+01cc 207a0000 rtn blank 
+01cd c283df10 bbit1 7 ,send_lmp_escape 
+01ce c00101d1 beq lmp_name_res ,p_send_lmp_name_res 
+01cf c00381de beq lmp_detach ,p_send_lmp_detach 
+01d0 20205ee0 branch send_lmp + 7 
+
+p_send_lmp_name_res:
+01d1 18007e11 force 17 ,pdata 
+01d2 204061b5 call msg_send_lmp 
+01d3 68008049 fetch 1 ,mem_lmi_opcode 
+01d4 1fe20400 copy pdata ,temp 
+01d5 c00001d9 beq 0x00 ,p_send_lmp_name_res_offset_ok 
+01d6 c00701d9 beq 0x0e ,p_send_lmp_name_res_offset_ok 
+01d7 c00e01d9 beq 0x1c ,p_send_lmp_name_res_offset_ok 
+01d8 20600000 rtn 
+
+p_send_lmp_name_res_offset_ok:
+01d9 e0a08000 istore 1 ,contw 
+01da 6800c702 fetch 1 ,mem_local_name_length 
+01db e0a08000 istore 1 ,contw 
+01dc 5800000e setarg 14 
+01dd 20205fa6 branch send_lmp_name_res_offset_ok + 3 
+
+p_send_lmp_detach:
+01de 20406055 call send_lmp_detach 
+01df 70007264 jam 100 ,mem_conn_timer 
+01e0 20600000 rtn 
+
+p_parse_lmp:
+01e1 6800807d fetch 1 ,mem_lmi_opcode2 
+01e2 c00181ed beq lmp_accepted ,p_parse_lmp_accepted 
+01e3 c0025c67 beq lmp_not_accepted ,parse_lmp_not_accepted 
+01e4 c00381fb beq lmp_detach ,p_parse_lmp_detach 
+01e5 20205b92 branch parse_lmp + 26 
+
+p_parse_lmp_sniff:
+01e6 68008030 fetch 1 ,mem_state 
+01e7 c280ddb5 bbit1 state_insniff ,lmp_reject_sniff 
+01e8 680104e2 fetch 2 ,mem_rxbuf + 4 
+01e9 1fe3fe00 lshift pdata ,pdata 
+01ea 1fe67c0f sub pdata ,0xf ,null 
+01eb 24215db5 nbranch lmp_reject_sniff ,positive 
+01ec 20205da4 branch parse_lmp_sniff_req + 2 
+
+p_parse_lmp_accepted:
+01ed 680084df fetch 1 ,mem_rxbuf + 1 
+01ee 60008445 store 1 ,mem_lmi_accepted_opcode 
+01ef c00c01f9 beq lmp_unsniff_req ,p_parse_lmp_accepted_unsniff_req 
+01f0 c009832c beq lmp_switch_req ,p_parse_lmp_accepted_switch 
+01f1 c01981f3 beq lmp_host_connection_req ,p_parse_lmp_accepted_hostconn 
+01f2 20205c58 branch parse_lmp_accepted + 2 
+
+p_parse_lmp_accepted_hostconn:
+01f3 6800844d fetch 1 ,mem_lmp_conn_state 
+01f4 79207e00 set1 received_conn_req ,pdata 
+01f5 6000844d store 1 ,mem_lmp_conn_state 
+01f6 700b7d01 jam bt_evt_bb_connected ,mem_fifo_temp 
+01f7 20407c27 call ui_ipc_send_event 
+01f8 20205c83 branch parse_lmp_accepted_hostconn_ctn 
+
+p_parse_lmp_accepted_unsniff_req:
+01f9 20403f9e call app_bt_enter_sniff 
+01fa 20205ccc branch parse_lmp_accepted_unsniff_req 
+
+p_parse_lmp_detach:
+01fb 680084df fetch 1 ,mem_rxbuf + 1 
+01fc 60008446 store 1 ,mem_disconn_reason_send 
+01fd 20205cf3 branch parse_lmp_detach 
+
+p_slave_notmatch:
+01fe 20403d61 call lpm_set_mult 
+01ff 20403be2 call supervision_update 
+0200 20213498 branch slave_disconnect ,positive 
+0201 20403204 call check_disconnect_timeout 
+0202 24343498 nbranch slave_disconnect ,user 
+0203 20403812 call check_attempt 
+0204 243a01c6 nbranch p_slave_loop + 1 ,blank 
+0205 20600000 rtn 
+
+p_set_freq_rx:
+0206 60088017 storet 1 ,mem_last_freq 
+0207 1840a204 add temp ,rx_freq_offset ,rega 
+0208 20203a86 branch set_freq_rx + 4 
+
+p_set_freq_tx_common:
+0209 60088017 storet 1 ,mem_last_freq 
+020a 1840a200 add temp ,0 ,rega 
+020b 20203ab6 branch rf_write_freq 
+
+p_set_freq_tx:
+020c 20400209 call p_set_freq_tx_common 
+
+p_24g_txon:
+020d 58000500 setarg param_pll_setup 
+020e 20403bf3 call sleep 
+
+p_txon:
+020f 20400214 call p_txon_set_rf_param 
+0210 6800cd99 fetch 1 ,mem_24g_pairing_sm 
+0211 d8a046d8 arg mem_le_att_list + 468 ,contw 
+0212 243a0220 nbranch p_txpower_0dbm ,blank 
+0213 20200227 branch p_txpower_5dbm 
+
+p_txon_set_rf_param:
+0214 70890601 hjam 0x1 ,rfen_adc 
+0215 7089003c hjam 0x3c ,rfen_rx 
+0216 708901e0 hjam 0xe0 ,rfen_tx 
+0217 70896d12 hjam 0x12 ,0x96d 
+0218 2000000a nop 10 
+0219 70890201 hjam 0x01 ,rfen_mdm 
+021a 7089023d hjam 0x3d ,rfen_mdm 
+021b 2000000a nop 10 
+021c 708903b7 hjam 0xb7 ,rfen_sn 
+021d 2000000a nop 10 
+021e 7089027d hjam 0x7d ,rfen_mdm 
+021f 20600000 rtn 
+
+p_txpower_0dbm:
+0220 6802cab4 fetch 5 ,mem_24g_paring_tx_power_param 
+0221 e0a28000 istore 5 ,contw 
+0222 e8c28000 ifetch 5 ,contr 
+0223 e0a28000 istore 5 ,contw 
+0224 708956c2 hjam 0xc2 ,0x956 
+0225 708955d0 hjam 0xd0 ,0x955 
+0226 20600000 rtn 
+
+p_txpower_5dbm:
+0227 6802cabe fetch 5 ,mem_5db_tx_power_param 
+0228 e0a28000 istore 5 ,contw 
+0229 e8c28000 ifetch 5 ,contr 
+022a e0a28000 istore 5 ,contw 
+022b 708956df hjam 0xdf ,0x956 
+022c 2040022f call p_set_tx_step_power 
+022d 708955df hjam 0xdf ,0x955 
+022e 20600000 rtn 
+
+p_set_tx_step_power:
+022f 20000004 nop 4 
+0230 708955d1 hjam 0xd1 ,0x955 
+0231 20000004 nop 4 
+0232 708955d2 hjam 0xd2 ,0x955 
+0233 20000004 nop 4 
+0234 708955d4 hjam 0xd4 ,0x955 
+0235 20000004 nop 4 
+0236 20600000 rtn 
+
+p_tx_ramp_down_common:
+0237 708955d4 hjam 0xd4 ,0x955 
+0238 20000004 nop 4 
+0239 708955d2 hjam 0xd2 ,0x955 
+023a 20000004 nop 4 
+023b 708955d1 hjam 0xd1 ,0x955 
+023c 20000004 nop 4 
+023d 708955d0 hjam 0xd0 ,0x955 
+023e 708956c0 hjam 0xc0 ,0x956 
+023f 20600000 rtn 
+
+p_shutdown_radio:
+0240 2030ba6f branch shutdown_radio + 2 ,is_rx 
+0241 20400237 call p_tx_ramp_down_common 
+0242 20203a6f branch shutdown_radio + 2 
+
+p_mouse_init:
+0243 700b7e00 jam 0 ,mem_c51_flag 
+0244 70017706 jam 6 ,mem_connection_options 
+0245 20403fa4 call app_lpm_mult_enable 
+0246 580002b6 setarg p_mouse_send_process 
+0247 6001428e store 2 ,mem_cb_bt_process 
+0248 580002bf setarg p_mouse_bt_lpm_before 
+0249 6001428a store 2 ,mem_cb_before_lpm 
+024a 58000161 setarg p_c51_user_event 
+024b 60014292 store 2 ,mem_cb_bb_event_process 
+024c 580002dd setarg p_mouse_idle 
+024d 60014290 store 2 ,mem_cb_idle_process 
+024e 58000095 setarg p_ipc_rx 
+024f 6001428c store 2 ,mem_cb_le_process 
+0250 580002b9 setarg p_mouse_before_hibernate 
+0251 60014288 store 2 ,mem_cb_before_hibernate 
+0252 58004ae5 setarg mem_ipc_2bt_fifo_head 
+0253 1ff0fe00 byteswap pdata ,pdata 
+0254 60014bad store 2 ,mem_ipc_2bt_read_index 
+0255 60014baf store 2 ,mem_ipc_2bt_write_index 
+0256 20403e0b call lpm_disable_exen_output 
+0257 58004bb1 setarg mem_ipc_2c51_fifo_head 
+0258 1ff0fe00 byteswap pdata ,pdata 
+0259 60014c79 store 2 ,mem_ipc_2c51_read_index 
+025a 60014c7b store 2 ,mem_ipc_2c51_write_index 
+025b 6800ce5b fetch 1 ,mem_hibernate_flag 
+025c c02d0271 beq 0x5a ,p_device_init_init_hibwake 
+025d 2035826f branch p_deveice_init_wake ,wake 
+025e 68014da2 fetch 2 ,mem_adc_0v 
+025f 1ff0fe00 byteswap pdata ,pdata 
+0260 60014da2 store 2 ,mem_adc_0v 
+0261 68014da4 fetch 2 ,mem_adc_3v 
+0262 1ff0fe00 byteswap pdata ,pdata 
+0263 60014da4 store 2 ,mem_adc_3v 
+0264 2040027d call p_init_adc_from_otp 
+0265 680402a0 fetch 8 ,mem_temp 
+0266 243a026b nbranch p_deveice_init_reset ,blank 
+0267 68014ad4 fetch 2 ,0x4ad4 
+0268 1ff0fe00 byteswap pdata ,pdata 
+0269 203a026b branch p_deveice_init_reset ,blank 
+026a 60014da4 store 2 ,mem_adc_3v 
+
+p_deveice_init_reset:
+026b 704ce32f jam bt_evt_reset ,mem_ipc_tx_evt 
+
+p_device_init_common:
+026c 20400110 call p_ipc_tx_evt 
+026d 70828003 hjam start_c51_core ,core_docd_ctrl 
+026e 20600000 rtn 
+
+p_deveice_init_wake:
+026f 704ce330 jam bt_evt_wakeup ,mem_ipc_tx_evt 
+0270 2020026c branch p_device_init_common 
+
+p_device_init_init_hibwake:
+0271 1ce27e00 copy auxcnt ,pdata 
+0272 203a02e0 branch p_enter_hibernate_continue ,blank 
+0273 20405b63 call init_lmp_work 
+0274 20404d99 call l2cap_init_work 
+0275 58000000 setarg 0 
+0276 60044040 store 8 ,mem_context 
+0277 600147f4 store 2 ,mem_ui_state_map 
+0278 58000000 setarg 0 
+0279 60014ce4 store 2 ,mem_ipc_bt_timer 
+027a 60014d93 store 2 ,mem_ipc_c51_timer 
+027b 704ce333 jam bt_evt_hibernate_wake ,mem_ipc_tx_evt 
+027c 2020026c branch p_device_init_common 
+
+p_init_adc_from_otp:
+027d 2040688a call otp_enable_chgpump 
+027e 580007e2 setarg 0x7e2 
+027f da2002a0 arg mem_temp ,rega 
+0280 d840000c arg 12 ,temp 
+0281 204068d3 call otpd_read_data 
+0282 2040688d call otp_disable_chgpump 
+0283 680402a0 fetch 8 ,mem_temp 
+0284 207a0000 rtn blank 
+0285 6800cda0 fetch 1 ,mem_adc_config_flag 
+0286 c280028a bbit1 adc_config_vinlpm ,p_calc_adc_base_vinlpm 
+0287 c2808298 bbit1 adc_config_hvin ,p_calc_adc_base_hvin 
+0288 c28102a8 bbit1 adc_config_gpio ,p_calc_adc_check_gpio 
+0289 20600000 rtn 
+
+p_calc_adc_base_vinlpm:
+028a 680902a4 fetcht 2 ,mem_temp + 4 
+028b 680102aa fetch 2 ,mem_temp + 10 
+028c 18422400 copy temp ,regb 
+028d 1fe22200 copy pdata ,rega 
+028e 1ff0fe00 byteswap pdata ,pdata 
+028f 60014da4 store 2 ,mem_adc_3v 
+0290 1a227e00 copy rega ,pdata 
+0291 98462600 isub temp ,regc 
+0292 1a63a600 lshift regc ,regc 
+0293 1a427e00 copy regb ,pdata 
+0294 9a667e00 isub regc ,pdata 
+0295 1ff0fe00 byteswap pdata ,pdata 
+0296 60014da2 store 2 ,mem_adc_0v 
+0297 20600000 rtn 
+
+p_calc_adc_base_hvin:
+0298 680902a2 fetcht 2 ,mem_temp + 2 
+0299 680102a8 fetch 2 ,mem_temp + 8 
+029a 18422400 copy temp ,regb 
+029b 1fe22200 copy pdata ,rega 
+029c 98462600 isub temp ,regc 
+029d 1a6b2600 rshift2 regc ,regc 
+029e 1a427e00 copy regb ,pdata 
+029f 9a667e00 isub regc ,pdata 
+02a0 1ff0fe00 byteswap pdata ,pdata 
+02a1 60014da2 store 2 ,mem_adc_0v 
+02a2 1a63a600 lshift regc ,regc 
+02a3 1a227e00 copy rega ,pdata 
+02a4 9a667e00 isub regc ,pdata 
+02a5 1ff0fe00 byteswap pdata ,pdata 
+02a6 60014da4 store 2 ,mem_adc_3v 
+02a7 20600000 rtn 
+
+p_calc_adc_check_gpio:
+02a8 680902a0 fetcht 2 ,mem_temp 
+02a9 680102a6 fetch 2 ,mem_temp + 6 
+02aa 18422400 copy temp ,regb 
+02ab 1fe22200 copy pdata ,rega 
+02ac 98462600 isub temp ,regc 
+02ad 1a427e00 copy regb ,pdata 
+02ae 9a667e00 isub regc ,pdata 
+02af 1ff0fe00 byteswap pdata ,pdata 
+02b0 60014da2 store 2 ,mem_adc_0v 
+02b1 1a6bfe00 lshift2 regc ,pdata 
+02b2 9a20fe00 iadd rega ,pdata 
+02b3 1ff0fe00 byteswap pdata ,pdata 
+02b4 60014da4 store 2 ,mem_adc_3v 
+02b5 20600000 rtn 
+
+p_mouse_send_process:
+02b6 2040527c call l2cap_malloc_is_fifo_nearly_full 
+02b7 247a0000 nrtn blank 
+
+p_mouse_send_data:
+02b8 20200095 branch p_ipc_rx 
+
+p_mouse_before_hibernate:
+02b9 78347c00 enable user 
+02ba 68120138 hfetch 4 ,0x8138 
+02bb 79347e1a setflag user ,26 ,pdata 
+02bc 6012004c hstore 4 ,core_lpm_reg 
+02bd 20403db0 call lpm_write_ctrl 
+02be 7000a201 jam 1 ,mem_lpm_current_mult 
+
+p_mouse_bt_lpm_before:
+02bf 20600000 rtn 
+
+p_lpm_dispatch_unconn:
+02c0 20400188 call p_check_ipc_2bt 
+02c1 24740000 nrtn user 
+02c2 20400185 call p_check_ipc_2c51 
+02c3 24740000 nrtn user 
+02c4 700b7f01 jam 1 ,mem_c51_lmp_lock 
+02c5 700b7e01 jam syc_task_lpm ,mem_c51_flag 
+02c6 204002d9 call p_c51_wait 
+02c7 68008b7f fetch 1 ,mem_c51_lmp_lock 
+02c8 247a0000 nrtn blank 
+02c9 20400188 call p_check_ipc_2bt 
+02ca 24740000 nrtn user 
+02cb 20203d4f branch lpm_dispatch_unconn + 2 
+
+p_mouse_priority_bb_event:
+02cc 1a627e00 copy regc ,pdata 
+02cd 20600000 rtn 
+
+p_mouse_start_reconnect:
+02ce 58000000 setarg 0 
+02cf 600142a0 store app_disc_rsn_size ,mem_app_disconn_reason 
+02d0 600147f4 store 2 ,mem_ui_state_map 
+02d1 6000c27f store 1 ,mem_app_handshake_flag 
+02d2 20203fa6 branch app_lpm_mult_disable 
+
+p_le_enable:
+02d3 70890f36 hjam 0x36 ,0x90f 
+02d4 70890b5f hjam 0x5f ,0x90b 
+02d5 202053d4 branch le_enable + 2 
+
+p_le_disable:
+02d6 70890f2e hjam 0x2e ,0x90f 
+02d7 70890bff hjam 0xff ,0x90b 
+02d8 202053d9 branch le_disable + 2 
+
+p_c51_wait:
+02d9 68008b7e fetch 1 ,mem_c51_flag 
+02da 2000000a nop 10 
+02db c08002d9 bne 0 ,p_c51_wait 
+02dc 20600000 rtn 
+
+p_mouse_idle:
+02dd 20600000 rtn 
+
+p_check_enter_hibernate:
+02de 700b7e03 jam syc_task_hibernate ,mem_c51_flag 
+02df 204002d9 call p_c51_wait 
+
+p_enter_hibernate_continue:
+02e0 704e5b5a jam 0x5a ,mem_hibernate_flag 
+02e1 20403db8 call lpm_write_gpio_wakeup 
+02e2 68120138 hfetch 4 ,core_lpm_ctrl 
+02e3 793ffe0f set0 15 ,pdata 
+02e4 6012004c hstore 4 ,core_lpm_reg 
+02e5 20403db0 call lpm_write_ctrl 
+02e6 d85fffff arg param_hibernate_clks ,temp 
+02e7 20203cda branch lpm_sleep 
+
+p_check_51cmd_once:
+02e8 20407c20 call ui_ipc_get_lock 
+02e9 da2047e4 arg mem_ipc_fifo_c512bt ,rega 
+02ea 20407f9f call fifo_out 
+02eb 1fe20400 copy pdata ,temp 
+02ec 20407c24 call ui_ipc_put_lock 
+02ed 18427e00 copy temp ,pdata 
+02ee 207a0000 rtn blank 
+02ef c0008306 beq bt_cmd_start_discovery ,p_check_51cmd_start_discovery 
+02f0 c0018309 beq bt_cmd_reconnect ,p_check_51cmd_reconnect 
+02f1 20207c5a branch check_51cmd_once + 9 
+
+p_check_51cmd_once_continue:
+02f2 6800807c fetch 1 ,mem_lmo_opcode2 
+02f3 203a02f7 branch p_check_51cmd_once_continue0 ,blank 
+02f4 204061d9 call lmo_fifo_process 
+02f5 6800807c fetch 1 ,mem_lmo_opcode2 
+02f6 243a7c8c nbranch check_51cmd_restore ,blank 
+
+p_check_51cmd_once_continue0:
+02f7 68008b7d fetch 1 ,mem_fifo_temp 
+02f8 c584fc87 bmark0 mark_context ,check_51cmd_check_idle 
+02f9 c00202fc beq bt_cmd_disconnect ,p_check_51cmd_disconnect 
+02fa c0140302 beq bt_cmd_update_supervision_to ,p_check_51cmd_update_supervision_to 
+02fb 20207c7b branch check_51cmd_once_continue0 
+
+p_check_51cmd_disconnect:
+02fc 680147f4 fetch 2 ,mem_ui_state_map 
+02fd c30182ff bbit0 ui_state_bt_hid_handshake ,p_check_51cmd_quick_disconnect 
+02fe 20207ca4 branch check_51cmd_disconnect 
+
+p_check_51cmd_quick_disconnect:
+02ff 58000000 setarg 0 
+0300 60020051 store 4 ,mem_supervision_to 
+0301 20600000 rtn 
+
+p_check_51cmd_update_supervision_to:
+0302 70007c37 jam lmp_supervision_timeout ,mem_lmo_opcode2 
+0303 68014e5c fetch 2 ,mem_new_supervision_to 
+0304 60010051 store 2 ,mem_supervision_to 
+0305 20600000 rtn 
+
+p_check_51cmd_start_discovery:
+0306 20403eff call app_clear_reconnect_flag 
+0307 70017706 jam 6 ,mem_connection_options 
+0308 20207c97 branch check_51cmd_start_discovery 
+
+p_check_51cmd_reconnect:
+0309 70017706 jam 6 ,mem_connection_options 
+030a 6800c7dc fetch 1 ,mem_ssp_enable 
+030b c000030d beq 0 ,p_check_51cmd_reconnect_common 
+030c 70017717 jam 0x17 ,mem_connection_options 
+
+p_check_51cmd_reconnect_common:
+030d 70425e01 jam 1 ,mem_link_key_exists 
+030e 20207ca2 branch check_51cmd_reconnect 
+
+p_prepare_tx_not_sco:
+030f 204032df call context_check_all_wack 
+0310 2422b568 nbranch prepare_tx_no_retransmit ,zero 
+0311 68008047 fetch 1 ,mem_arq 
+0312 c301b571 bbit0 wack ,prepare_tx_pollnull 
+0313 6800c165 fetch 1 ,mem_last_type 
+0314 c009b562 beq type_lmp ,prepare_tx_retransmit + 7 
+0315 68014aca fetch 2 ,mem_last_txlen 
+0316 1fe67c14 sub pdata ,20 ,null 
+0317 24213562 nbranch prepare_tx_retransmit + 7 ,positive 
+0318 60010091 store 2 ,mem_tx_len 
+0319 6800cac9 fetch 1 ,mem_last_txlch 
+031a 60008090 store 1 ,mem_tx_lch 
+031b 58004acc setarg mem_last_txdata 
+031c 60010179 store 2 ,mem_txptr 
+031d 20203562 branch prepare_tx_retransmit + 7 
+
+p_tx_l2cap_type:
+031e 68010091 fetch 2 ,mem_tx_len 
+031f 60014aca store 2 ,mem_last_txlen 
+0320 1fe67c14 sub pdata ,20 ,null 
+0321 2421358f nbranch tx_l2cap_type + 2 ,positive 
+0322 98007200 iforce loopcnt 
+0323 68008090 fetch 1 ,mem_tx_lch 
+0324 6000cac9 store 1 ,mem_last_txlch 
+0325 68010179 fetch 2 ,mem_txptr 
+0326 98000c00 iforce contr 
+0327 d8a04acc arg mem_last_txdata ,contw 
+0328 20407e45 call memcpy 
+0329 2020358f branch tx_l2cap_type + 2 
+
+p_lpm_sleep:
+032a 20403b36 call xtal_fast_wake 
+032b 20203cdc branch lpm_sleep + 2 
+
+p_parse_lmp_accepted_switch:
+032c 700b7d20 jam bt_evt_switch_accept ,mem_fifo_temp 
+032d 20407c27 call ui_ipc_send_event 
+032e 20200330 branch p_role_switch_prepare0 
+
+p_role_switch_prepare0_0:
+032f 600a0034 storet 4 ,mem_sniff_anchor 
+
+p_role_switch_prepare0:
+0330 70474801 jam switch_flag_accept ,mem_switch_flag 
+0331 5800ffff setarg 0xffff 
+0332 60010032 store 2 ,mem_tsniff 
+0333 70007301 jam 1 ,mem_sniff_attempt 
+0334 20600000 rtn 
+
+p_roles_replyto_fhs:
+0335 20403baa call rf_setup_time_slave_slot 
+0336 20400338 call p_master_send_packet 
+0337 20203267 branch roles_replyto_fhs + 4 
+
+p_master_send_packet:
+0338 1c40c201 add clkn_bt ,1 ,bt_clk 
+0339 20403a54 call fetch_self_bt_adr 
+033a 18004803 force 0x03 ,freq_mode 
+033b 20403a42 call tx_radio_freq 
+033c 20403bae call start_transmitter 
+033d 20403bb4 call start_tx_native 
+033e 20403bc5 call send_access_word 
+033f 2020375c branch end_of_packet 
+
+p_role_switch_check:
+0340 78547c00 disable user 
+0341 68010032 fetch 2 ,mem_tsniff 
+0342 d840ffff arg 0xffff ,temp 
+0343 98467c00 isub temp ,null 
+0344 24628000 nrtn zero 
+0345 68020034 fetch 4 ,mem_sniff_anchor 
+0346 20380349 branch p_role_switch_clkn ,clknt 
+0347 9d067e00 isub clke_bt ,pdata 
+0348 2020034a branch p_role_switch_clke 
+
+p_role_switch_clkn:
+0349 9c467e00 isub clkn_bt ,pdata 
+
+p_role_switch_clke:
+034a 1fe67c04 sub pdata ,4 ,null 
+034b 24610000 nrtn positive 
+034c 18007e00 force 0 ,pdata 
+034d 60010032 store 2 ,mem_tsniff 
+034e 78347c00 enable user 
+034f 20600000 rtn 
+
+p_idle_page_mode_r0:
+0350 600c02a0 storet 8 ,mem_temp 
+0351 20407e53 call timer_check 
+0352 680c02a0 fetcht 8 ,mem_temp 
+0353 2020307c branch idle_page_mode_r0 + 13 
+
+p_scheduler_process_sdp_succ:
+0354 2040527a call l2cap_malloc_is_fifo_full 
+0355 247a0000 nrtn blank 
+0356 20400358 call p_l2cap_call_proc_sigal_pending 
+0357 20206dfd branch scheduler_process1 
+
+p_l2cap_call_proc_sigal_pending:
+0358 6800c132 fetch 1 ,mem_device_option 
+0359 c1008000 rtneq dvc_op_hci 
+035a 6800c3cd fetch 1 ,mem_l2cap_pending_item 
+035b 207a0000 rtn blank 
+035c 1fe22200 copy pdata ,rega 
+035d 7043cd00 jam 0 ,mem_l2cap_pending_item 
+035e 1a227e00 copy rega ,pdata 
+035f c0284ddc beq l2cap_sdp_channel ,l2cap_sdp_conn_succ 
+0360 20600000 rtn 
+
+p_l2cap_process_one_signal:
+0361 e8c08000 ifetch 1 ,contr 
+0362 c0050364 beq signal_info_req ,p_l2cap_proc_signal_info_req 
+0363 20204e14 branch l2cap_process_one_signal + 3 
+
+p_l2cap_proc_signal_info_req:
+0364 e8c08000 ifetch 1 ,contr 
+0365 1fe20e00 copy pdata ,queue 
+0366 e8c10000 ifetch 2 ,contr 
+0367 1fe22200 copy pdata ,rega 
+0368 1a627e00 copy regc ,pdata 
+0369 9a262600 isub rega ,regc 
+036a 5800000b setarg signal_info_rsp 
+036b e0a08000 istore 1 ,contw 
+036c 18e27e00 copy queue ,pdata 
+036d e0a08000 istore 1 ,contw 
+036e e8c10000 ifetch 2 ,contr 
+
+p_l2cap_proc_signal_info_req_reply:
+036f c0010372 beq l2cap_sig_ext_featrue ,p_l2cap_proc_signal_info_req_ext 
+0370 c0018379 beq l2cap_sig_fix_featrue ,p_l2cap_proc_signal_info_req_fix 
+0371 20203bf1 branch assert 
+
+p_l2cap_proc_signal_info_req_ext:
+0372 58020008 setarg 0x020008 
+0373 e0a30000 istore 6 ,contw 
+0374 58000200 setarg 0x0200 
+0375 e0a20000 istore 4 ,contw 
+0376 18007e0c force 12 ,pdata 
+0377 9a40a400 iadd regb ,regb 
+0378 20204e20 branch l2cap_process_one_signal_rtn 
+
+p_l2cap_proc_signal_info_req_fix:
+0379 5803000c setarg 0x3000c 
+037a e0a30000 istore 6 ,contw 
+037b 58000006 setarg 0x0006 
+037c e0a40000 istore 8 ,contw 
+037d 18007e10 force 16 ,pdata 
+037e 9a40a400 iadd regb ,regb 
+037f 20204e20 branch l2cap_process_one_signal_rtn 
+
+p_ml2cap_call_proc_signal:
+0380 204052c4 call l2cap_malloc_signal_channel 
+0381 18002400 force 0 ,regb 
+0382 204052d0 call l2cap_get_signal_tx_payload 
+0383 1fe20a00 copy pdata ,contw 
+0384 680102cd fetch 2 ,mem_l2cap_rx_pkt_length 
+0385 1fe22600 copy pdata ,regc 
+0386 680102cb fetch 2 ,mem_l2cap_payload_ptr 
+0387 98000c00 iforce contr 
+
+p_ml2cap_proc_one_comm_loop:
+0388 2040038a call p_ml2cap_proc_one_comm 
+0389 20205110 branch ml2cap_proc_one_comm_loop + 1 
+
+p_ml2cap_proc_one_comm:
+038a e8c08000 ifetch 1 ,contr 
+038b c005038d beq signal_info_req ,p_ml2cap_proc_signal_info_req 
+038c 20205116 branch ml2cap_proc_one_comm + 1 
+
+p_ml2cap_proc_signal_info_req:
+038d e8c08000 ifetch 1 ,contr 
+038e 1fe20e00 copy pdata ,queue 
+038f e8c10000 ifetch 2 ,contr 
+0390 1fe22200 copy pdata ,rega 
+0391 e8c10000 ifetch 2 ,contr 
+0392 600102a0 store 2 ,mem_temp 
+0393 1a627e00 copy regc ,pdata 
+0394 9a262600 isub rega ,regc 
+0395 204052d0 call l2cap_get_signal_tx_payload 
+0396 5800000b setarg signal_info_rsp 
+0397 e0a08000 istore 1 ,contw 
+0398 18e27e00 copy queue ,pdata 
+0399 e0a08000 istore 1 ,contw 
+039a 680102a0 fetch 2 ,mem_temp 
+039b 2020036f branch p_l2cap_proc_signal_info_req_reply 
+
+p_hid_rx_process:
+039c 680102cb fetch 2 ,mem_l2cap_payload_ptr 
+039d 1fe20c00 copy pdata ,contr 
+039e e8c08000 ifetch 1 ,contr 
+039f 1fe1040f and pdata ,0x0f ,temp 
+03a0 1ff1fe00 rshift4 pdata ,pdata 
+03a1 c004cb18 beq hid_type_set_idle ,hid_rx_process_handshake 
+03a2 c003cb18 beq hid_type_set_protocol ,hid_rx_process_handshake 
+03a3 c00503aa beq hid_type_data ,p_hid_rx_process_data 
+03a4 c00283a8 beq hid_type_set_report ,p_hid_rx_process_set_report 
+03a5 c000cb05 beq hid_type_control ,hid_rx_process_hid_control 
+03a6 c0024b18 beq hid_type_get_report ,hid_rx_process_handshake 
+03a7 20600000 rtn 
+
+p_hid_rx_process_set_report:
+03a8 204003aa call p_hid_rx_process_data 
+03a9 20204b11 branch hid_rx_process_set_report 
+
+p_hid_rx_process_data:
+03aa 58000003 setarg ipc_type_hid 
+03ab 6000ccff store 1 ,mem_24g_rxbuf 
+03ac 58000002 setarg 2 
+03ad e0a08000 istore 1 ,contw 
+03ae 1fe27200 copy pdata ,loopcnt 
+03af 20407e45 call memcpy 
+03b0 df200004 arg 4 ,loopcnt 
+03b1 d8c04cff arg mem_24g_rxbuf ,contr 
+03b2 20400112 call p_ipc_tx_cpy 
+03b3 704d8702 jam 2 ,mem_led_cap_delay_timer 
+03b4 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 
+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 
+
+dsize:
+72b7 18007e01 force 0x01 ,pdata 
+72b8 20600000 rtn 
+
+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 
+
Index: output/ramcode.rom
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/output/ramcode.rom	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/output/ramcode.rom	(working copy)
@@ -0,0 +1,949 @@
+c5128018
+c000002f
+c0560045
+c001802c
+c0028181
+c0050350
+c0138340
+c014032f
+c0158335
+c02101c5
+c02181fe
+c028030f
+c02a031e
+c0480240
+c0490206
+c04a020c
+c04a81a7
+c058032a
+c0588177
+c05901a9
+c05981b9
+c05b02c0
+c05c818d
+20203bf1
+c003817f
+c00c008d
+c00d8361
+c0118380
+c01200cc
+c01f02d3
+c01f82d6
+c0438129
+c04682e8
+c04702f2
+c04782de
+c04e039c
+c04f8354
+c0668243
+c067807a
+c0680130
+c07101e1
+c07181c9
+c0730057
+20203bf1
+204000d0
+20400095
+20203015
+6810813b
+60008b80
+70800608
+20203003
+18007008
+dde00000
+df200003
+1f00f001
+dde00000
+c2000036
+20600000
+18007004
+18007204
+58000000
+98005e00
+1f00f001
+c200003c
+20600000
+2040759d
+2040753d
+2040003a
+20200033
+70896784
+20400041
+68108085
+79207e05
+60108085
+5800ee21
+60110050
+6810813e
+70805025
+70828005
+20407f36
+58000020
+60010221
+2040672e
+6800c015
+793ffe04
+6000c015
+20203001
+6800807c
+203a005c
+204061d9
+6800807c
+247a0000
+68008055
+207a0000
+c003006b
+c0080061
+2020623e
+6800c748
+c1000000
+c0008069
+d8e0000a
+20407e53
+247a0000
+70474800
+2020629b
+20748000
+2020006b
+68008177
+c281629b
+c280006e
+6800c25e
+203a62c7
+6800844d
+c4018000
+c4010000
+68020465
+d8400320
+98408400
+1c427e00
+98467c00
+24610000
+20206267
+da2047df
+20407f9f
+207a0000
+1fe22600
+20400080
+20203ea5
+c10c0000
+c0036614
+c0010084
+20203e7d
+70429d00
+680147f4
+c283bf08
+2fec0001
+2040808a
+20203f08
+68008450
+c1010000
+20203e7b
+680102cd
+203a4dfc
+680082cf
+c0008092
+20204dbb
+2040527a
+247a0000
+20204dc3
+6800c7dc
+203a0099
+6800c793
+207a0000
+20400188
+20740000
+1ff0fe00
+1fe20c00
+20400108
+6000cce6
+c00080ac
+1fe20400
+18c22200
+6800c040
+c30000a9
+1a220c00
+c6848000
+18427e00
+c00180b6
+20203bf1
+1a220c00
+d8a000f8
+20200100
+20400108
+20400108
+60008b7d
+204000b1
+20207c33
+2040010b
+18c20400
+18508400
+60094bad
+20600000
+20400108
+1fe22200
+18c27e00
+600102b7
+1a20a201
+20404b2c
+18a0a5fe
+680142b7
+e0a10000
+580000a1
+e0a08000
+1a20f3ff
+680102b7
+1fe20c00
+20400102
+1a420c00
+e8c10000
+60014e5f
+1fe0f202
+20407e45
+704e5e32
+20600000
+da400000
+2040527a
+247a0000
+2020524d
+680a4d8a
+1c427e00
+98467e00
+d8400640
+9846fc00
+20407efd
+1807fe00
+207a0000
+1c420400
+600a4d8a
+68094ce4
+18508400
+9840fe00
+1ff0fe00
+60014ce4
+1ff0fe00
+1fe17e03
+c1800000
+6800cda0
+c28000e7
+c28080e9
+c28100eb
+20600000
+708971bf
+202000ef
+708971af
+202000ef
+7089718f
+6800cda1
+60108973
+202000ef
+68108053
+79207e07
+60108053
+68108973
+1fe1fe30
+60108973
+70890674
+7089067c
+708972aa
+20001388
+68190150
+68108053
+793ffe07
+60108053
+18508400
+60094da6
+20600000
+20400108
+1fe27200
+20400104
+202000b1
+20400108
+e0a08000
+c2000104
+20600000
+2040010b
+e8c08000
+20600000
+58004bad
+98c67c00
+24628000
+d8c04ae5
+20600000
+df200003
+d8c04ce1
+18c22200
+68014c7b
+1ff0fe00
+1fe20a00
+1a220c00
+e8c08000
+e0a08000
+2040011f
+c2000117
+18a27e00
+1ff0fe00
+60014c7b
+20600000
+58004c79
+98a67c00
+24628000
+d8a04bb1
+20600000
+58000010
+d8e00003
+20407e68
+9a40a400
+20600000
+da200000
+680a47ec
+1c422400
+1a427e00
+98467c00
+24410124
+20207c09
+60088259
+6800cd9e
+1fe0fe01
+6000cd9e
+68008259
+207a0000
+1fe0ffff
+60008259
+20400155
+2040015c
+2040014f
+2040013d
+20200134
+6800ce5e
+207a0000
+1fe0ffff
+6000ce5e
+c1808000
+704e5e32
+680147f4
+c4028000
+68014e5f
+207a0000
+2040527e
+247a0000
+68014e5f
+1fe22200
+20404b2c
+1a20f202
+d8c04e61
+20207e45
+6800cd87
+207a0000
+1fe0ffff
+6000cd87
+203a3fa4
+20203fa6
+6800c7f2
+207a0000
+1fe0ffff
+6000c7f2
+247a0000
+20403ebd
+20204b22
+6800cd86
+207a0000
+1fe0ffff
+6000cd86
+20600000
+1a627e00
+1fe17ef0
+c1280000
+20400169
+1a627e00
+207a0000
+6000cce3
+20200110
+1a627e00
+c005816d
+c0010175
+20600000
+704e5e28
+5800000a
+60014e5f
+680142b7
+e0a10000
+580001a1
+e0a10000
+20600000
+704e5e00
+20600000
+70416e7f
+20403cf3
+6800ce5b
+207a0000
+704e5b00
+1c427e00
+60024d8a
+20600000
+20203bf1
+20203bf1
+20403392
+20403407
+20403024
+20203022
+68014c79
+68094c7b
+2020018a
+68014bad
+68094baf
+98467c00
+2022e9b1
+2020320b
+6800c219
+247a0000
+70804206
+58000f0c
+20403da7
+58030d40
+20403bf3
+37d98200
+1e226000
+20403b36
+20001388
+20203d9d
+6800c219
+243a019f
+20403d91
+20007530
+20007530
+20007530
+20403b0a
+70804204
+6810896b
+1fe17ecf
+6010896b
+1fe1fe30
+6010896b
+20600000
+20400199
+20203aaf
+c6118000
+20403cab
+6801c210
+207a0000
+6800c131
+207a0000
+2040527e
+247a0000
+20403dca
+247a0000
+20403b36
+6800c7dc
+203a3d25
+6800c793
+207a0000
+20203d25
+20400188
+24740000
+20400185
+24740000
+700b7f01
+700b7e01
+204002d9
+68008b7f
+247a0000
+20400188
+24740000
+20203d2d
+20403e25
+20406dec
+204035d6
+20203480
+78547c00
+204061d9
+68008048
+207a0000
+c283df10
+c00101d1
+c00381de
+20205ee0
+18007e11
+204061b5
+68008049
+1fe20400
+c00001d9
+c00701d9
+c00e01d9
+20600000
+e0a08000
+6800c702
+e0a08000
+5800000e
+20205fa6
+20406055
+70007264
+20600000
+6800807d
+c00181ed
+c0025c67
+c00381fb
+20205b92
+68008030
+c280ddb5
+680104e2
+1fe3fe00
+1fe67c0f
+24215db5
+20205da4
+680084df
+60008445
+c00c01f9
+c009832c
+c01981f3
+20205c58
+6800844d
+79207e00
+6000844d
+700b7d01
+20407c27
+20205c83
+20403f9e
+20205ccc
+680084df
+60008446
+20205cf3
+20403d61
+20403be2
+20213498
+20403204
+24343498
+20403812
+243a01c6
+20600000
+60088017
+1840a204
+20203a86
+60088017
+1840a200
+20203ab6
+20400209
+58000500
+20403bf3
+20400214
+6800cd99
+d8a046d8
+243a0220
+20200227
+70890601
+7089003c
+708901e0
+70896d12
+2000000a
+70890201
+7089023d
+2000000a
+708903b7
+2000000a
+7089027d
+20600000
+6802cab4
+e0a28000
+e8c28000
+e0a28000
+708956c2
+708955d0
+20600000
+6802cabe
+e0a28000
+e8c28000
+e0a28000
+708956df
+2040022f
+708955df
+20600000
+20000004
+708955d1
+20000004
+708955d2
+20000004
+708955d4
+20000004
+20600000
+708955d4
+20000004
+708955d2
+20000004
+708955d1
+20000004
+708955d0
+708956c0
+20600000
+2030ba6f
+20400237
+20203a6f
+700b7e00
+70017706
+20403fa4
+580002b6
+6001428e
+580002bf
+6001428a
+58000161
+60014292
+580002dd
+60014290
+58000095
+6001428c
+580002b9
+60014288
+58004ae5
+1ff0fe00
+60014bad
+60014baf
+20403e0b
+58004bb1
+1ff0fe00
+60014c79
+60014c7b
+6800ce5b
+c02d0271
+2035826f
+68014da2
+1ff0fe00
+60014da2
+68014da4
+1ff0fe00
+60014da4
+2040027d
+680402a0
+243a026b
+68014ad4
+1ff0fe00
+203a026b
+60014da4
+704ce32f
+20400110
+70828003
+20600000
+704ce330
+2020026c
+1ce27e00
+203a02e0
+20405b63
+20404d99
+58000000
+60044040
+600147f4
+58000000
+60014ce4
+60014d93
+704ce333
+2020026c
+2040688a
+580007e2
+da2002a0
+d840000c
+204068d3
+2040688d
+680402a0
+207a0000
+6800cda0
+c280028a
+c2808298
+c28102a8
+20600000
+680902a4
+680102aa
+18422400
+1fe22200
+1ff0fe00
+60014da4
+1a227e00
+98462600
+1a63a600
+1a427e00
+9a667e00
+1ff0fe00
+60014da2
+20600000
+680902a2
+680102a8
+18422400
+1fe22200
+98462600
+1a6b2600
+1a427e00
+9a667e00
+1ff0fe00
+60014da2
+1a63a600
+1a227e00
+9a667e00
+1ff0fe00
+60014da4
+20600000
+680902a0
+680102a6
+18422400
+1fe22200
+98462600
+1a427e00
+9a667e00
+1ff0fe00
+60014da2
+1a6bfe00
+9a20fe00
+1ff0fe00
+60014da4
+20600000
+2040527c
+247a0000
+20200095
+78347c00
+68120138
+79347e1a
+6012004c
+20403db0
+7000a201
+20600000
+20400188
+24740000
+20400185
+24740000
+700b7f01
+700b7e01
+204002d9
+68008b7f
+247a0000
+20400188
+24740000
+20203d4f
+1a627e00
+20600000
+58000000
+600142a0
+600147f4
+6000c27f
+20203fa6
+70890f36
+70890b5f
+202053d4
+70890f2e
+70890bff
+202053d9
+68008b7e
+2000000a
+c08002d9
+20600000
+20600000
+700b7e03
+204002d9
+704e5b5a
+20403db8
+68120138
+793ffe0f
+6012004c
+20403db0
+d85fffff
+20203cda
+20407c20
+da2047e4
+20407f9f
+1fe20400
+20407c24
+18427e00
+207a0000
+c0008306
+c0018309
+20207c5a
+6800807c
+203a02f7
+204061d9
+6800807c
+243a7c8c
+68008b7d
+c584fc87
+c00202fc
+c0140302
+20207c7b
+680147f4
+c30182ff
+20207ca4
+58000000
+60020051
+20600000
+70007c37
+68014e5c
+60010051
+20600000
+20403eff
+70017706
+20207c97
+70017706
+6800c7dc
+c000030d
+70017717
+70425e01
+20207ca2
+204032df
+2422b568
+68008047
+c301b571
+6800c165
+c009b562
+68014aca
+1fe67c14
+24213562
+60010091
+6800cac9
+60008090
+58004acc
+60010179
+20203562
+68010091
+60014aca
+1fe67c14
+2421358f
+98007200
+68008090
+6000cac9
+68010179
+98000c00
+d8a04acc
+20407e45
+2020358f
+20403b36
+20203cdc
+700b7d20
+20407c27
+20200330
+600a0034
+70474801
+5800ffff
+60010032
+70007301
+20600000
+20403baa
+20400338
+20203267
+1c40c201
+20403a54
+18004803
+20403a42
+20403bae
+20403bb4
+20403bc5
+2020375c
+78547c00
+68010032
+d840ffff
+98467c00
+24628000
+68020034
+20380349
+9d067e00
+2020034a
+9c467e00
+1fe67c04
+24610000
+18007e00
+60010032
+78347c00
+20600000
+600c02a0
+20407e53
+680c02a0
+2020307c
+2040527a
+247a0000
+20400358
+20206dfd
+6800c132
+c1008000
+6800c3cd
+207a0000
+1fe22200
+7043cd00
+1a227e00
+c0284ddc
+20600000
+e8c08000
+c0050364
+20204e14
+e8c08000
+1fe20e00
+e8c10000
+1fe22200
+1a627e00
+9a262600
+5800000b
+e0a08000
+18e27e00
+e0a08000
+e8c10000
+c0010372
+c0018379
+20203bf1
+58020008
+e0a30000
+58000200
+e0a20000
+18007e0c
+9a40a400
+20204e20
+5803000c
+e0a30000
+58000006
+e0a40000
+18007e10
+9a40a400
+20204e20
+204052c4
+18002400
+204052d0
+1fe20a00
+680102cd
+1fe22600
+680102cb
+98000c00
+2040038a
+20205110
+e8c08000
+c005038d
+20205116
+e8c08000
+1fe20e00
+e8c10000
+1fe22200
+e8c10000
+600102a0
+1a627e00
+9a262600
+204052d0
+5800000b
+e0a08000
+18e27e00
+e0a08000
+680102a0
+2020036f
+680102cb
+1fe20c00
+e8c08000
+1fe1040f
+1ff1fe00
+c004cb18
+c003cb18
+c00503aa
+c00283a8
+c000cb05
+c0024b18
+20600000
+204003aa
+20204b11
+58000003
+6000ccff
+58000002
+e0a08000
+1fe27200
+20407e45
+df200004
+d8c04cff
+20400112
+704d8702
+20600000
Index: output/rf.dat
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/output/rf.dat	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/output/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
+mem_le_att_list+360:
+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:mem_le_att_list+360
+
+mem_le_att_list+468:
+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: output/romcode.rom
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/output/romcode.rom	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/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: output/sched.rom
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/output/sched.rom	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/output/sched.rom	(working copy)
@@ -0,0 +1,558 @@
+mem_patch00:
+29   #mem_patch00
+04   #mem_patch01
+00   #mem_patch02
+00   #mem_patch03
+80   #mem_patch04
+09   #mem_patch05
+00   #mem_patch06
+00   #mem_patch07
+0c   #mem_patch08
+00   #mem_patch09
+11   #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
+10   #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
+80   #mem_patch20
+00   #mem_patch21
+00   #mem_patch22
+09   #mem_patch23
+18   #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
+48   #mem_patch2D
+00   #mem_patch2E
+00   #mem_patch2F
+80   #mem_patch30
+e0   #mem_patch31
+00   #mem_patch32
+90   #mem_patch33
+00   #mem_patch34
+00   #mem_patch35
+00   #mem_patch36
+00   #mem_patch37
+00   #mem_patch38
+a0   #mem_patch39
+01   #mem_patch3A
+00   #mem_patch3B
+4c   #mem_patch3C
+00   #mem_patch3D
+00   #mem_patch3E
+00   #mem_patch3F
+
+
+mem_class: 40 25 00
+
+mem_lap:36 08 22 08 66 22    
+mem_local_name_length:
+'Bluetooth 3.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
+
+#mouse uuid
+mem_mouse_uuid_list:
+#uuids
+04 0011 0100 1002 1124
+
+#handle
+00010000
+
+#total length
+3601aa
+
+#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 3599 3597 0822 2593
+
+# 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)
+26ff00 # 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
+
+050c # Usage Page(Consumer)
+0901 # Usage(Control)
+a101 # Collection(Application)
+8502 # Report ID(2)
+1500 # Logical Minimum(0)
+2501 # Logical Maximum(1)
+7501 # Report Size(1)
+9516 # Report Count(22)
+0ab101 # Usage(433)
+0a2302 # Usage(AC Home)					#01 home
+0aae01 # Usage(virtual keyboard)                        #02
+0a8a01 # Usage(AL Email Reader)                      #03
+0940 # Usage(Menu)						#04 menu
+096f # Usage(Lignt Down)					#05
+0a2102 # Usage(AC Search) 					#06
+09b6 # Usage(Scan Previous Track) 			#07 previous music
+09cd # Usage(205)							#08 start music
+09b5 # Usage(Scan Next Track)				#09 next music
+09e2 # Usage(Mute)						#0a
+09ea # Usage(Volume Down)					#0b
+09e9 # Usage(Volume Up)					#0c
+0930 # Usage(Power)                                         #0d
+0a8301 # Usage(music)                                      #0e
+0a0503 # Usage(773)
+0a0703 # Usage(775)
+0a0803 # Usage(776)
+0a0103 # Usage(769)
+0a9e01 # Usage(AL Terminal Lock/Screensaver)	#13
+0a0a03 # Usage(778)
+#0a0b03 # Usage(779)
+0970 # Usage(Lignt Up)						#15
+8102 # Input(Data Variable Absolute)
+9501 # Report Count(1)
+7502 # Report Size(2)
+8103 # Input(Constant Variable Absolute)
+c0 # End Collection
+
+090207 3508 3506 090409 090100
+09020b 090100
+09020c 091f40
+09020d 2800
+09020e 2801
+09020f 090012
+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
+090a5c
+090202#ProductID
+098502
+090203 090001
+090204 2801
+090205 090002
+
+#attribute end
+00
+
+mem_kb_map_c51:
+14 # 00 q
+2b # 01 tab
+04 # 02 a
+29 # 03 esc
+1d # 04 z
+00
+35 # 06 `
+1e # 07 1
+1a # 08 w
+39 # 09 caps
+16 # 0a s
+00
+1b # 0c x
+00
+3a # 0e f1
+1f # 0f 2
+08 # 10 e
+3c # 11 f3
+07 # 12 d
+3d # 13 f4
+06 # 14 c
+63 # 15 .
+3b # 16 f2
+20 # 17 3
+15 # 18 r
+17 # 19 t
+09 # 1a f
+0a # 1b g
+19 # 1c v
+05 # 1d b
+22 # 1e 5
+21 # 1f 4
+18 # 20 u
+1c # 21 y
+0d # 22 j
+0b # 23 h
+10 # 24 m
+11 # 25 n
+23 # 26 6
+24 # 27 7
+0c # 28 i
+30 # 29 ]
+0e # 2a k
+3f # 2b f6
+36 # 2c ,
+00
+2e # 2e =
+25 # 2f 8
+12 # 30 o
+40 # 31  f7
+0f  # 32 l
+00 # 33
+37 # 34 .
+00 # 35
+41 # 36 f8
+26 # 37 9
+00 # 38
+00 # 39
+00 # 3a
+2c # 3b space
+44 # 3c f11
+51 # 3d down
+4c # 3e delete
+00 # 3f
+00  # 40 
+81  # 41 lshift
+85 # 42 rshift
+00
+00 # 44 
+00
+00 # 46 
+00 # 47  
+00 #48	
+2a #49 bksp
+31 #4a \
+00 # 4b 
+28 # 4c enter
+00 # 4d 
+42 # 4e  f9
+43 #4f f10
+13  #50 p
+2f  # 51 [
+33 # 52 ;
+34 #53 '
+00 #54  
+38 #55 /
+2d #56 
+27 #57 0
+00 #58
+00 # 59 
+80 # 5a  lctrl
+83 #5b lwin
+00 # 5c  
+87 #5d rwin
+00 # 5e 
+45 # 5f  f12
+00 # 60 
+00 # 61 
+00 # 62 
+00 # 63 
+86 # 64 ralt
+00 # 65 
+7f# 66 fn 
+3e # 67  f5
+00 # 68
+82 # 69 lalt
+00 # 6a  
+00 # 6b  
+00
+00  #6d  
+00
+00 # 6f  
+00
+00
+00
+00
+00 # 74  
+00 # 75 
+00 # 76
+00 # 77  
+00 # 78
+00 # 79  
+00 # 7a
+00 # 7b
+00 # 7c
+4f # 7d right
+00 
+00
+00
+00
+00
+52 #83 up
+00
+50 # 85 left      
+#Auto reconnection after power on
+
+memui_uuid_table:mem_mouse_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
+
+
+#2=mouse 4=dongle 6=ukey 7=ir
+mem_lpm_mode:01
+mem_lpm_mult:40
+mem_lpm_mult_timeout:03
+mem_lpm_overhead:08
+mem_lpm_interval:00 02
+mem_scan_mode:00
+
+mem_seqi:80
+
+
+mem_ipc_tx_evt_buff:02 01
+
+mem_kb_ks_col:
+08
+09
+0a
+0b
+0c
+0d
+0e
+11
+12
+13
+14
+15
+16
+17
+18
+19
+1a
+1b
+
+mem_adc_config_flag:01
+mem_adc_channel:30
+mem_adc_0v:9f 3e
+mem_adc_3v:cd 4d
+
+
+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
+mem_le_att_list+360:
+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:mem_le_att_list+360
+
+mem_le_att_list+468:
+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: patch/memmap.format
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/patch/memmap.format	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/patch/memmap.format	(working copy)
@@ -0,0 +1,1053 @@
+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_lmp_lock
+0x0b80 mem_wakup_from_power_flag
+0x0b81 mem_lmp_bb_disconnect_reason
+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
+0x48af mem_keyboard_uuid_list
+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
+0x4ab4 mem_24g_paring_tx_power_param
+0x4abe mem_5db_tx_power_param
+0x4ac8 mem_mouse_tz
+0x4ac9 mem_last_txlch
+0x4aca mem_last_txlen
+0x4acc mem_last_txdata
+0x4ae0 mem_current_event
+0x4ae1 mem_ipc_lock_rx_data_bt
+0x4ae2 mem_ipc_lock_rx_data_c51
+0x4ae3 mem_ipc_lock_tx_data_bt
+0x4ae4 mem_ipc_lock_tx_data_c51
+0x4ae5 mem_ipc_2bt_fifo_head
+0x4bad mem_ipc_2bt_fifo_end
+0x4bad mem_ipc_2bt_read_index
+0x4baf mem_ipc_2bt_write_index
+0x4bb1 mem_ipc_2C51_fifo_head
+0x4c79 mem_ipc_2C51_fifo_end
+0x4c79 mem_ipc_2C51_read_index
+0x4c7b mem_ipc_2C51_write_index
+0x4c7d mem_c51_private_area
+0x4ce1 mem_ipc_tx_evt_buff
+0x4ce3 mem_ipc_tx_evt
+0x4ce4 mem_ipc_bt_timer
+0x4ce6 mem_ipc_rx_type
+0x4ce7 mem_rfcomm_tx_buff
+0x4ce7 mem_24g_tx_btclk
+0x4ceb mem_24g_interval
+0x4cec mem_24g_txcnt
+0x4cef mem_24g_txfail_cnt
+0x4cf0 mem_24g_attempt_cnt
+0x4cf1 mem_24g_attempt_flag
+0x4cf2 mem_24g_rxcnt
+0x4cf5 mem_24g_rxfail_cnt
+0x4cf8 mem_loss_rate
+0x4cfa mem_24g_retry
+0x4cfb mem_24g_pid
+0x4cfc mem_24g_datalen
+0x4cfd mem_24g_crc
+0x4cff mem_24g_rxbuf
+0x4d3f mem_24g_addr
+0x4d43 mem_24g_len
+0x4d45 mem_24g_txpayload
+0x4d4f mem_24g_txdata
+0x4d55 mem_24g_ch
+0x4d56 mem_24g_sifs
+0x4d57 mem_24g_state
+0x4d58 mem_24g_scremble
+0x4d68 mem_dongle_exit_flag
+0x4d69 mem_24g_current_ch_number
+0x4d6a mem_24g_ch_count_down
+0x4d6b mem_24g_ch_map1
+0x4d6f mem_24g_ch_map2
+0x4d73 mem_24g_ch_map3
+0x4d77 mem_24g_ch_map4
+0x4d7b mem_24g_interval_min
+0x4d7c mem_24g_interval_max
+0x4d7d mem_24g_ensure
+0x4d7e mem_24g_enter_hibernate
+0x4d86 mem_24g_enter_lpm_timer
+0x4d87 mem_led_cap_delay_timer
+0x4d87 mem_senser_id2
+0x4d88 mem_senser_id3
+0x4d89 mem_rpn_dlci
+0x4d8a mem_ipc_last_check_timer
+0x4d8e mem_att_send_handle
+0x4d90 mem_att_send_option
+0x4d91 mem_lell_cur_opcode
+0x4d92 mem_prepare_write_len
+0x4d93 mem_ipc_c51_timer
+0x4d93 mem_prepare_write_offest
+0x4d95 mem_le51_payload_len
+0x4d96 mem_le51_cmd
+0x4d97 mem_le51_tx_length
+0x4d98 mem_le51_txbuff_inuse
+0x4d99 mem_24g_pairing_sm
+0x4d9a mem_24g_addr_copy
+0x4d9e mem_ipc_bt_100ms_timer
+0x4d9f mem_ipc_c51_100ms_timer
+0x4da0 mem_adc_config_flag
+0x4da1 mem_adc_channel
+0x4da2 mem_adc_0v
+0x4da4 mem_adc_3v
+0x4da6 mem_adc_current_value
+0x4da8 mem_kb_map_c51
+0x4e46 mem_kb_ks_col
+0x4e5b mem_hibernate_flag
+0x4e5c mem_new_supervision_to
+0x4e5e mem_kb_wake_timer
+0x4e5f mem_kb_last_data
+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: patch/patch.dat
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/patch/patch.dat	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/patch/patch.dat	(working copy)
@@ -0,0 +1,65 @@
+mem_patch00:
+29   #mem_patch00
+04   #mem_patch01
+00   #mem_patch02
+00   #mem_patch03
+80   #mem_patch04
+09   #mem_patch05
+00   #mem_patch06
+00   #mem_patch07
+0c   #mem_patch08
+00   #mem_patch09
+11   #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
+10   #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
+80   #mem_patch20
+00   #mem_patch21
+00   #mem_patch22
+09   #mem_patch23
+18   #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
+48   #mem_patch2D
+00   #mem_patch2E
+00   #mem_patch2F
+80   #mem_patch30
+e0   #mem_patch31
+00   #mem_patch32
+90   #mem_patch33
+00   #mem_patch34
+00   #mem_patch35
+00   #mem_patch36
+00   #mem_patch37
+00   #mem_patch38
+a0   #mem_patch39
+01   #mem_patch3A
+00   #mem_patch3B
+4c   #mem_patch3C
+00   #mem_patch3D
+00   #mem_patch3E
+00   #mem_patch3F
Index: patch/ramcode.rom
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/patch/ramcode.rom	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/patch/ramcode.rom	(working copy)
@@ -0,0 +1,949 @@
+c5128018
+c000002f
+c0560045
+c001802c
+c0028181
+c0050350
+c0138340
+c014032f
+c0158335
+c02101c5
+c02181fe
+c028030f
+c02a031e
+c0480240
+c0490206
+c04a020c
+c04a81a7
+c058032a
+c0588177
+c05901a9
+c05981b9
+c05b02c0
+c05c818d
+20203bf1
+c003817f
+c00c008d
+c00d8361
+c0118380
+c01200cc
+c01f02d3
+c01f82d6
+c0438129
+c04682e8
+c04702f2
+c04782de
+c04e039c
+c04f8354
+c0668243
+c067807a
+c0680130
+c07101e1
+c07181c9
+c0730057
+20203bf1
+204000d0
+20400095
+20203015
+6810813b
+60008b80
+70800608
+20203003
+18007008
+dde00000
+df200003
+1f00f001
+dde00000
+c2000036
+20600000
+18007004
+18007204
+58000000
+98005e00
+1f00f001
+c200003c
+20600000
+2040759d
+2040753d
+2040003a
+20200033
+70896784
+20400041
+68108085
+79207e05
+60108085
+5800ee21
+60110050
+6810813e
+70805025
+70828005
+20407f36
+58000020
+60010221
+2040672e
+6800c015
+793ffe04
+6000c015
+20203001
+6800807c
+203a005c
+204061d9
+6800807c
+247a0000
+68008055
+207a0000
+c003006b
+c0080061
+2020623e
+6800c748
+c1000000
+c0008069
+d8e0000a
+20407e53
+247a0000
+70474800
+2020629b
+20748000
+2020006b
+68008177
+c281629b
+c280006e
+6800c25e
+203a62c7
+6800844d
+c4018000
+c4010000
+68020465
+d8400320
+98408400
+1c427e00
+98467c00
+24610000
+20206267
+da2047df
+20407f9f
+207a0000
+1fe22600
+20400080
+20203ea5
+c10c0000
+c0036614
+c0010084
+20203e7d
+70429d00
+680147f4
+c283bf08
+2fec0001
+2040808a
+20203f08
+68008450
+c1010000
+20203e7b
+680102cd
+203a4dfc
+680082cf
+c0008092
+20204dbb
+2040527a
+247a0000
+20204dc3
+6800c7dc
+203a0099
+6800c793
+207a0000
+20400188
+20740000
+1ff0fe00
+1fe20c00
+20400108
+6000cce6
+c00080ac
+1fe20400
+18c22200
+6800c040
+c30000a9
+1a220c00
+c6848000
+18427e00
+c00180b6
+20203bf1
+1a220c00
+d8a000f8
+20200100
+20400108
+20400108
+60008b7d
+204000b1
+20207c33
+2040010b
+18c20400
+18508400
+60094bad
+20600000
+20400108
+1fe22200
+18c27e00
+600102b7
+1a20a201
+20404b2c
+18a0a5fe
+680142b7
+e0a10000
+580000a1
+e0a08000
+1a20f3ff
+680102b7
+1fe20c00
+20400102
+1a420c00
+e8c10000
+60014e5f
+1fe0f202
+20407e45
+704e5e32
+20600000
+da400000
+2040527a
+247a0000
+2020524d
+680a4d8a
+1c427e00
+98467e00
+d8400640
+9846fc00
+20407efd
+1807fe00
+207a0000
+1c420400
+600a4d8a
+68094ce4
+18508400
+9840fe00
+1ff0fe00
+60014ce4
+1ff0fe00
+1fe17e03
+c1800000
+6800cda0
+c28000e7
+c28080e9
+c28100eb
+20600000
+708971bf
+202000ef
+708971af
+202000ef
+7089718f
+6800cda1
+60108973
+202000ef
+68108053
+79207e07
+60108053
+68108973
+1fe1fe30
+60108973
+70890674
+7089067c
+708972aa
+20001388
+68190150
+68108053
+793ffe07
+60108053
+18508400
+60094da6
+20600000
+20400108
+1fe27200
+20400104
+202000b1
+20400108
+e0a08000
+c2000104
+20600000
+2040010b
+e8c08000
+20600000
+58004bad
+98c67c00
+24628000
+d8c04ae5
+20600000
+df200003
+d8c04ce1
+18c22200
+68014c7b
+1ff0fe00
+1fe20a00
+1a220c00
+e8c08000
+e0a08000
+2040011f
+c2000117
+18a27e00
+1ff0fe00
+60014c7b
+20600000
+58004c79
+98a67c00
+24628000
+d8a04bb1
+20600000
+58000010
+d8e00003
+20407e68
+9a40a400
+20600000
+da200000
+680a47ec
+1c422400
+1a427e00
+98467c00
+24410124
+20207c09
+60088259
+6800cd9e
+1fe0fe01
+6000cd9e
+68008259
+207a0000
+1fe0ffff
+60008259
+20400155
+2040015c
+2040014f
+2040013d
+20200134
+6800ce5e
+207a0000
+1fe0ffff
+6000ce5e
+c1808000
+704e5e32
+680147f4
+c4028000
+68014e5f
+207a0000
+2040527e
+247a0000
+68014e5f
+1fe22200
+20404b2c
+1a20f202
+d8c04e61
+20207e45
+6800cd87
+207a0000
+1fe0ffff
+6000cd87
+203a3fa4
+20203fa6
+6800c7f2
+207a0000
+1fe0ffff
+6000c7f2
+247a0000
+20403ebd
+20204b22
+6800cd86
+207a0000
+1fe0ffff
+6000cd86
+20600000
+1a627e00
+1fe17ef0
+c1280000
+20400169
+1a627e00
+207a0000
+6000cce3
+20200110
+1a627e00
+c005816d
+c0010175
+20600000
+704e5e28
+5800000a
+60014e5f
+680142b7
+e0a10000
+580001a1
+e0a10000
+20600000
+704e5e00
+20600000
+70416e7f
+20403cf3
+6800ce5b
+207a0000
+704e5b00
+1c427e00
+60024d8a
+20600000
+20203bf1
+20203bf1
+20403392
+20403407
+20403024
+20203022
+68014c79
+68094c7b
+2020018a
+68014bad
+68094baf
+98467c00
+2022e9b1
+2020320b
+6800c219
+247a0000
+70804206
+58000f0c
+20403da7
+58030d40
+20403bf3
+37d98200
+1e226000
+20403b36
+20001388
+20203d9d
+6800c219
+243a019f
+20403d91
+20007530
+20007530
+20007530
+20403b0a
+70804204
+6810896b
+1fe17ecf
+6010896b
+1fe1fe30
+6010896b
+20600000
+20400199
+20203aaf
+c6118000
+20403cab
+6801c210
+207a0000
+6800c131
+207a0000
+2040527e
+247a0000
+20403dca
+247a0000
+20403b36
+6800c7dc
+203a3d25
+6800c793
+207a0000
+20203d25
+20400188
+24740000
+20400185
+24740000
+700b7f01
+700b7e01
+204002d9
+68008b7f
+247a0000
+20400188
+24740000
+20203d2d
+20403e25
+20406dec
+204035d6
+20203480
+78547c00
+204061d9
+68008048
+207a0000
+c283df10
+c00101d1
+c00381de
+20205ee0
+18007e11
+204061b5
+68008049
+1fe20400
+c00001d9
+c00701d9
+c00e01d9
+20600000
+e0a08000
+6800c702
+e0a08000
+5800000e
+20205fa6
+20406055
+70007264
+20600000
+6800807d
+c00181ed
+c0025c67
+c00381fb
+20205b92
+68008030
+c280ddb5
+680104e2
+1fe3fe00
+1fe67c0f
+24215db5
+20205da4
+680084df
+60008445
+c00c01f9
+c009832c
+c01981f3
+20205c58
+6800844d
+79207e00
+6000844d
+700b7d01
+20407c27
+20205c83
+20403f9e
+20205ccc
+680084df
+60008446
+20205cf3
+20403d61
+20403be2
+20213498
+20403204
+24343498
+20403812
+243a01c6
+20600000
+60088017
+1840a204
+20203a86
+60088017
+1840a200
+20203ab6
+20400209
+58000500
+20403bf3
+20400214
+6800cd99
+d8a046d8
+243a0220
+20200227
+70890601
+7089003c
+708901e0
+70896d12
+2000000a
+70890201
+7089023d
+2000000a
+708903b7
+2000000a
+7089027d
+20600000
+6802cab4
+e0a28000
+e8c28000
+e0a28000
+708956c2
+708955d0
+20600000
+6802cabe
+e0a28000
+e8c28000
+e0a28000
+708956df
+2040022f
+708955df
+20600000
+20000004
+708955d1
+20000004
+708955d2
+20000004
+708955d4
+20000004
+20600000
+708955d4
+20000004
+708955d2
+20000004
+708955d1
+20000004
+708955d0
+708956c0
+20600000
+2030ba6f
+20400237
+20203a6f
+700b7e00
+70017706
+20403fa4
+580002b6
+6001428e
+580002bf
+6001428a
+58000161
+60014292
+580002dd
+60014290
+58000095
+6001428c
+580002b9
+60014288
+58004ae5
+1ff0fe00
+60014bad
+60014baf
+20403e0b
+58004bb1
+1ff0fe00
+60014c79
+60014c7b
+6800ce5b
+c02d0271
+2035826f
+68014da2
+1ff0fe00
+60014da2
+68014da4
+1ff0fe00
+60014da4
+2040027d
+680402a0
+243a026b
+68014ad4
+1ff0fe00
+203a026b
+60014da4
+704ce32f
+20400110
+70828003
+20600000
+704ce330
+2020026c
+1ce27e00
+203a02e0
+20405b63
+20404d99
+58000000
+60044040
+600147f4
+58000000
+60014ce4
+60014d93
+704ce333
+2020026c
+2040688a
+580007e2
+da2002a0
+d840000c
+204068d3
+2040688d
+680402a0
+207a0000
+6800cda0
+c280028a
+c2808298
+c28102a8
+20600000
+680902a4
+680102aa
+18422400
+1fe22200
+1ff0fe00
+60014da4
+1a227e00
+98462600
+1a63a600
+1a427e00
+9a667e00
+1ff0fe00
+60014da2
+20600000
+680902a2
+680102a8
+18422400
+1fe22200
+98462600
+1a6b2600
+1a427e00
+9a667e00
+1ff0fe00
+60014da2
+1a63a600
+1a227e00
+9a667e00
+1ff0fe00
+60014da4
+20600000
+680902a0
+680102a6
+18422400
+1fe22200
+98462600
+1a427e00
+9a667e00
+1ff0fe00
+60014da2
+1a6bfe00
+9a20fe00
+1ff0fe00
+60014da4
+20600000
+2040527c
+247a0000
+20200095
+78347c00
+68120138
+79347e1a
+6012004c
+20403db0
+7000a201
+20600000
+20400188
+24740000
+20400185
+24740000
+700b7f01
+700b7e01
+204002d9
+68008b7f
+247a0000
+20400188
+24740000
+20203d4f
+1a627e00
+20600000
+58000000
+600142a0
+600147f4
+6000c27f
+20203fa6
+70890f36
+70890b5f
+202053d4
+70890f2e
+70890bff
+202053d9
+68008b7e
+2000000a
+c08002d9
+20600000
+20600000
+700b7e03
+204002d9
+704e5b5a
+20403db8
+68120138
+793ffe0f
+6012004c
+20403db0
+d85fffff
+20203cda
+20407c20
+da2047e4
+20407f9f
+1fe20400
+20407c24
+18427e00
+207a0000
+c0008306
+c0018309
+20207c5a
+6800807c
+203a02f7
+204061d9
+6800807c
+243a7c8c
+68008b7d
+c584fc87
+c00202fc
+c0140302
+20207c7b
+680147f4
+c30182ff
+20207ca4
+58000000
+60020051
+20600000
+70007c37
+68014e5c
+60010051
+20600000
+20403eff
+70017706
+20207c97
+70017706
+6800c7dc
+c000030d
+70017717
+70425e01
+20207ca2
+204032df
+2422b568
+68008047
+c301b571
+6800c165
+c009b562
+68014aca
+1fe67c14
+24213562
+60010091
+6800cac9
+60008090
+58004acc
+60010179
+20203562
+68010091
+60014aca
+1fe67c14
+2421358f
+98007200
+68008090
+6000cac9
+68010179
+98000c00
+d8a04acc
+20407e45
+2020358f
+20403b36
+20203cdc
+700b7d20
+20407c27
+20200330
+600a0034
+70474801
+5800ffff
+60010032
+70007301
+20600000
+20403baa
+20400338
+20203267
+1c40c201
+20403a54
+18004803
+20403a42
+20403bae
+20403bb4
+20403bc5
+2020375c
+78547c00
+68010032
+d840ffff
+98467c00
+24628000
+68020034
+20380349
+9d067e00
+2020034a
+9c467e00
+1fe67c04
+24610000
+18007e00
+60010032
+78347c00
+20600000
+600c02a0
+20407e53
+680c02a0
+2020307c
+2040527a
+247a0000
+20400358
+20206dfd
+6800c132
+c1008000
+6800c3cd
+207a0000
+1fe22200
+7043cd00
+1a227e00
+c0284ddc
+20600000
+e8c08000
+c0050364
+20204e14
+e8c08000
+1fe20e00
+e8c10000
+1fe22200
+1a627e00
+9a262600
+5800000b
+e0a08000
+18e27e00
+e0a08000
+e8c10000
+c0010372
+c0018379
+20203bf1
+58020008
+e0a30000
+58000200
+e0a20000
+18007e0c
+9a40a400
+20204e20
+5803000c
+e0a30000
+58000006
+e0a40000
+18007e10
+9a40a400
+20204e20
+204052c4
+18002400
+204052d0
+1fe20a00
+680102cd
+1fe22600
+680102cb
+98000c00
+2040038a
+20205110
+e8c08000
+c005038d
+20205116
+e8c08000
+1fe20e00
+e8c10000
+1fe22200
+e8c10000
+600102a0
+1a627e00
+9a262600
+204052d0
+5800000b
+e0a08000
+18e27e00
+e0a08000
+680102a0
+2020036f
+680102cb
+1fe20c00
+e8c08000
+1fe1040f
+1ff1fe00
+c004cb18
+c003cb18
+c00503aa
+c00283a8
+c000cb05
+c0024b18
+20600000
+204003aa
+20204b11
+58000003
+6000ccff
+58000002
+e0a08000
+1fe27200
+20407e45
+df200004
+d8c04cff
+20400112
+704d8702
+20600000
Index: patch/rf.dat
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/patch/rf.dat	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/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
+mem_le_att_list+360:
+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:mem_le_att_list+360
+
+mem_le_att_list+468:
+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: patch/user.dat
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/patch/user.dat	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/patch/user.dat	(working copy)
@@ -0,0 +1,385 @@
+
+
+mem_class: 40 25 00
+
+mem_lap:36 08 22 08 66 22    
+mem_local_name_length:
+'Bluetooth 3.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
+
+#mouse uuid
+mem_mouse_uuid_list:
+#uuids
+04 0011 0100 1002 1124
+
+#handle
+00010000
+
+#total length
+3601aa
+
+#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 3599 3597 0822 2593
+
+# 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)
+26ff00 # 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
+
+050c # Usage Page(Consumer)
+0901 # Usage(Control)
+a101 # Collection(Application)
+8502 # Report ID(2)
+1500 # Logical Minimum(0)
+2501 # Logical Maximum(1)
+7501 # Report Size(1)
+9516 # Report Count(22)
+0ab101 # Usage(433)
+0a2302 # Usage(AC Home)					#01 home
+0aae01 # Usage(virtual keyboard)                        #02
+0a8a01 # Usage(AL Email Reader)                      #03
+0940 # Usage(Menu)						#04 menu
+096f # Usage(Lignt Down)					#05
+0a2102 # Usage(AC Search) 					#06
+09b6 # Usage(Scan Previous Track) 			#07 previous music
+09cd # Usage(205)							#08 start music
+09b5 # Usage(Scan Next Track)				#09 next music
+09e2 # Usage(Mute)						#0a
+09ea # Usage(Volume Down)					#0b
+09e9 # Usage(Volume Up)					#0c
+0930 # Usage(Power)                                         #0d
+0a8301 # Usage(music)                                      #0e
+0a0503 # Usage(773)
+0a0703 # Usage(775)
+0a0803 # Usage(776)
+0a0103 # Usage(769)
+0a9e01 # Usage(AL Terminal Lock/Screensaver)	#13
+0a0a03 # Usage(778)
+#0a0b03 # Usage(779)
+0970 # Usage(Lignt Up)						#15
+8102 # Input(Data Variable Absolute)
+9501 # Report Count(1)
+7502 # Report Size(2)
+8103 # Input(Constant Variable Absolute)
+c0 # End Collection
+
+090207 3508 3506 090409 090100
+09020b 090100
+09020c 091f40
+09020d 2800
+09020e 2801
+09020f 090012
+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
+090a5c
+090202#ProductID
+098502
+090203 090001
+090204 2801
+090205 090002
+
+#attribute end
+00
+
+mem_kb_map_c51:
+14 # 00 q
+2b # 01 tab
+04 # 02 a
+29 # 03 esc
+1d # 04 z
+00
+35 # 06 `
+1e # 07 1
+1a # 08 w
+39 # 09 caps
+16 # 0a s
+00
+1b # 0c x
+00
+3a # 0e f1
+1f # 0f 2
+08 # 10 e
+3c # 11 f3
+07 # 12 d
+3d # 13 f4
+06 # 14 c
+63 # 15 .
+3b # 16 f2
+20 # 17 3
+15 # 18 r
+17 # 19 t
+09 # 1a f
+0a # 1b g
+19 # 1c v
+05 # 1d b
+22 # 1e 5
+21 # 1f 4
+18 # 20 u
+1c # 21 y
+0d # 22 j
+0b # 23 h
+10 # 24 m
+11 # 25 n
+23 # 26 6
+24 # 27 7
+0c # 28 i
+30 # 29 ]
+0e # 2a k
+3f # 2b f6
+36 # 2c ,
+00
+2e # 2e =
+25 # 2f 8
+12 # 30 o
+40 # 31  f7
+0f  # 32 l
+00 # 33
+37 # 34 .
+00 # 35
+41 # 36 f8
+26 # 37 9
+00 # 38
+00 # 39
+00 # 3a
+2c # 3b space
+44 # 3c f11
+51 # 3d down
+4c # 3e delete
+00 # 3f
+00  # 40 
+81  # 41 lshift
+85 # 42 rshift
+00
+00 # 44 
+00
+00 # 46 
+00 # 47  
+00 #48	
+2a #49 bksp
+31 #4a \
+00 # 4b 
+28 # 4c enter
+00 # 4d 
+42 # 4e  f9
+43 #4f f10
+13  #50 p
+2f  # 51 [
+33 # 52 ;
+34 #53 '
+00 #54  
+38 #55 /
+2d #56 
+27 #57 0
+00 #58
+00 # 59 
+80 # 5a  lctrl
+83 #5b lwin
+00 # 5c  
+87 #5d rwin
+00 # 5e 
+45 # 5f  f12
+00 # 60 
+00 # 61 
+00 # 62 
+00 # 63 
+86 # 64 ralt
+00 # 65 
+7f# 66 fn 
+3e # 67  f5
+00 # 68
+82 # 69 lalt
+00 # 6a  
+00 # 6b  
+00
+00  #6d  
+00
+00 # 6f  
+00
+00
+00
+00
+00 # 74  
+00 # 75 
+00 # 76
+00 # 77  
+00 # 78
+00 # 79  
+00 # 7a
+00 # 7b
+00 # 7c
+4f # 7d right
+00 
+00
+00
+00
+00
+52 #83 up
+00
+50 # 85 left      
+#Auto reconnection after power on
+
+memui_uuid_table:mem_mouse_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
+
+
+#2=mouse 4=dongle 6=ukey 7=ir
+mem_lpm_mode:01
+mem_lpm_mult:40
+mem_lpm_mult_timeout:03
+mem_lpm_overhead:08
+mem_lpm_interval:00 02
+mem_scan_mode:00
+
+mem_seqi:80
+
+
+mem_ipc_tx_evt_buff:02 01
+
+mem_kb_ks_col:
+08
+09
+0a
+0b
+0c
+0d
+0e
+11
+12
+13
+14
+15
+16
+17
+18
+19
+1a
+1b
+
+mem_adc_config_flag:01
+mem_adc_channel:30
+mem_adc_0v:9f 3e
+mem_adc_3v:cd 4d
+
+
Index: program/app.prog
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/program/app.prog	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/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: program/at.prog
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/program/at.prog	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/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: program/bt.prog
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/program/bt.prog	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/program/bt.prog	(working copy)
@@ -0,0 +1,4853 @@
+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
+	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: program/dongle.prog
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/program/dongle.prog	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/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: program/hci_bcsp.prog
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/program/hci_bcsp.prog	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/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: program/hci_h4.prog
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/program/hci_h4.prog	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/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: program/hci_main.prog
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/program/hci_main.prog	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/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: program/hid.prog
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/program/hid.prog	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/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: program/ir.prog
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/program/ir.prog	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/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: program/keyboard.prog
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/program/keyboard.prog	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/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: program/l2cap.prog
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/program/l2cap.prog	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/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: program/le.prog
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/program/le.prog	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/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: program/lmp.prog
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/program/lmp.prog	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/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: program/module.prog
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/program/module.prog	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/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: program/mouse.prog
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/program/mouse.prog	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/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: program/patch.prog
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/program/patch.prog	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/program/patch.prog	(working copy)
@@ -0,0 +1,2156 @@
+
+//define RR_DEBUG
+//define TB_WHEEL
+define HID
+//define BLE
+//define P24G
+//define RFCOMM0
+define WAKE_DEV
+
+	bmark1 mark_ext_patch,patch_ext
+	beq patch00_0,p_soft_reset
+	beq patch15_4,p_soft_reset_1
+	beq patch00_3,p_main_loop
+	beq patch00_5,p_main_loop_end
+ifdef BLE
+	beq patch00_6,p_connection_incontext
+endif
+	beq patch01_2,p_idle_page_mode_r0
+	beq patch04_7,p_role_switch_check
+	beq patch05_0,p_role_switch_prepare0_0
+	beq patch05_3,p_roles_replyto_fhs
+	beq patch08_2,p_slave_loop
+	beq patch08_3,p_slave_notmatch
+	beq patch0a_0,p_prepare_tx_not_sco
+	beq patch0a_4,p_tx_l2cap_type
+	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 patch20_7,p_iicd_write_eep
+  	beq patch23_0,p_l2cap_rx_multiplexing
+  	beq patch23_3,p_l2cap_process_one_signal
+	beq patch24_3,p_ml2cap_call_proc_signal
+	beq patch24_4,p_l2cap_malloc
+	beq patch27_6,p_le_enable
+	beq patch27_7,p_le_disable
+ifdef BLE
+	beq patch29_2,p_lerx_nopayload
+	beq patch29_4,p_le_transmit
+endif
+	beq patch30_7,p_ui_timer_check
+	beq patch31_5,p_check_51cmd_once
+	beq patch31_6,p_check_51cmd_once_continue
+	beq patch31_7,p_check_enter_hibernate
+
+	beq patch33_4,p_hid_rx_process
+
+	beq patch33_7,p_scheduler_process_sdp_succ
+	beq patch39_5,p_mouse_init
+	beq patch39_7,p_app_process_bb_event
+
+	beq patch3a_0,p_mouse_bb_event_timer
+	beq patch3c_2,p_parse_lmp
+	beq patch3c_3,p_send_lmp
+	beq patch3c_6,p_process_conn_sm	
+
+ifdef RFCOMM0
+	beq patch39_2,p_spp_process_rx_data
+	beq patch39_4,p_ssp_tx_rfcomm_from_c51_common
+	beq patch38_0,p_rfcomm_rx_process
+	beq patch34_0,p_scheduler_process
+endif
+
+ifdef BLE
+	beq patch2d_7,p_le_parse_att
+	beq patch27_3,le_slave_unsync + 3
+	beq patch2c_5,p_le_prepare_att
+endif
+	branch assert
+
+
+p_main_loop:	
+	//hfetch 1,core_config
+	//set1 3,pdata/* watchdog on */
+	//hstore 1,core_config	
+	//hjam 0xff,0x8004
+	call p_ipc_timer_check
+ifdef P24G
+	call p_24g_process
+endif
+	call p_ipc_rx
+	//jam ON,mem_le_adv_enable
+	branch main_loop+2
+p_soft_reset: 
+	hfetch 1,0x813b
+	store 1,mem_wakup_from_power_flag
+	hjam lock_otp,core_misc_ctrl
+	branch soft_reset+2
+	
+
+p_set_iv:
+	force regidx_xor,regext_index
+	arg 0,regext
+	arg 3,loopcnt
+p_set_iv_loop:
+	increase 1,regext_index
+	arg 0,regext
+	loop p_set_iv_loop
+	rtn
+p_clear_load_key:
+	force regidx_key,regext_index
+	force 4,loopcnt
+p_load_regext_loop:
+	setarg 0
+	iforce regext
+	increase 1,regext_index
+	loop p_load_regext_loop
+	rtn
+p_aes_init:
+	call aes_clear_data
+	call aes_init
+	call p_clear_load_key
+	branch p_set_iv
+p_soft_reset_1:
+	hjam 0x84,rf_clkpll_bias
+	call p_aes_init
+	hfetch 1,0x8085
+	set1 5,pdata
+	hstore 1,0x8085
+	setarg 0xee21
+	hstore 2,core_clkoff			// disable unused peripherals
+	hfetch 1,core_lpm_ldocnt
+	hjam 0x25,core_clkoff			// disable debug uart
+	hjam 5,core_docd_ctrl
+	call clean_mem
+	setarg 0x20
+	store 2,mem_otp_ucode_flag
+	call loadcode_lpm+6
+	fetch 1,0x4015
+	set0 4,pdata
+	store 1,0x4015
+	branch soft_reset
+	
+	
+p_process_conn_sm:
+	fetch 1,mem_lmo_opcode2
+	branch p_process_conn_sm_continue,blank
+	call lmo_fifo_process
+	fetch 1,mem_lmo_opcode2
+	nrtn blank
+p_process_conn_sm_continue:
+	fetch 1,mem_conn_sm
+	rtn blank
+	beq CONN_SM_AUTH_PAIR, p_host_create_conn_auth_pair
+	beq CONN_SM_WAIT_SWITCH_AFTER_HOST_CONNECTION, p_host_creat_conn_wait_switch
+	branch process_conn_sm_continue + 2
+
+p_host_creat_conn_wait_switch:
+	fetch 1,mem_switch_flag
+	rtneq SWITCH_FLAG_INIT
+	beq SWITCH_FLAG_ACCEPT,p_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
+p_host_create_conn_switch_accept:
+	rtn master
+	branch p_host_create_conn_auth_pair
+
+p_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,p_host_create_conn_auth_pair_true
+p_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 800,temp
+	iadd temp,temp
+	copy clkn_bt,pdata
+	isub temp,null
+	nrtn positive
+	branch host_create_conn_auth
+	
+p_app_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 p_app_event_normal_process
+	branch app_process_bb_event_priority
+p_app_event_normal_process:
+	rtneq BT_EVT_LINKKEY_GENERATE
+	beq BT_EVT_HID_CONNECTED,mouse_bt_hid_connected
+	beq BT_EVT_BB_DISCONNECTED,p_app_bb_event_bb_disconn
+	branch app_event_normal_process
+
+p_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 p_app_discard_event,true
+	branch app_bb_event_bb_reconn_disconn
+
+p_app_discard_event:
+	fetch 1,mem_pincode_state
+	rtneq pincode_state_pincode_ready
+	branch app_discard_event
+
+
+
+p_l2cap_rx_multiplexing:
+	fetch 2, mem_l2cap_rx_pkt_length
+	branch l2cap_rx_reset_state,blank
+	fetch 1,mem_l2cap_rx_cid
+	beq L2CAP_signal_channel,p_l2cap_call_proc_signal
+	branch l2cap_rx_multiplexing0
+p_l2cap_call_proc_signal:
+	call l2cap_malloc_is_fifo_full
+	nrtn blank
+	branch l2cap_call_proc_signal0
+
+p_ipc_rx:
+	fetch 1,mem_ssp_enable
+	branch p_ipc_rx0,blank
+	fetch 1,mem_sp_local_key_invalid	// simple pairing is not ready
+	rtn blank
+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
+ifdef HID
+	beq IPC_TYPE_HID,p_ipc_rx_hid
+endif
+ifdef RFCOMM0
+	beq IPC_TYPE_SPP,p_ipc_rx_spp
+endif
+ifdef BLE
+	beq IPC_TYPE_BLE,p_ipc_rx_ble
+endif
+	branch assert
+
+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:
+	rtnmark0 mark_24g_conext
+	arg mem_24g_txdata,contw
+	branch p_ipc_rx_cpy
+endif
+
+ifdef RFCOMM0
+p_ipc_rx_spp:
+	copy contr,rega
+	call l2cap_malloc_is_fifo_full
+	nrtn blank
+	fetch 1,mem_remote_credits
+	rtn blank
+	copy rega,contr
+	call p_ipc_rx_byte
+	store 2,mem_current_packet_length
+	call p_ipc_rx_updata_contr
+	copy contr,pdata
+	store 2,mem_contr
+	branch spp_tx_rfcomm_packet
+endif
+
+ifdef HID
+p_ipc_rx_hid:
+	call p_ipc_rx_byte
+	copy pdata,rega
+	copy contr,pdata
+	store 2,mem_contr
+	increase 1,rega
+	call hid_malloc_tx_buff
+	add contw,-2,regb
+	fetch 2,mem_hid_int_remote_cid
+	istore 2,contw
+	setarg 0xa1
+	istore 1,contw
+	add rega,-1,loopcnt
+	fetch 2,mem_contr
+	copy pdata,contr
+//	branch p_ipc_copy
+	call p_ipc_copy
+	copy regb,contr
+	ifetch 2,contr
+	store 2,mem_kb_last_data
+	add pdata,2,loopcnt
+	call memcpy
+	jam 50,mem_kb_wake_timer
+	rtn
+
+
+p_l2cap_malloc:
+	arg 0,regb
+	call l2cap_malloc_is_fifo_full
+	nrtn blank//assert when fifo full
+	branch l2cap_malloc+5
+	
+endif
+ifdef BLE
+p_ipc_rx_ble:
+	copy contr,rega
+	fetch 1,mem_le51_txbuff_inuse
+	nrtn blank
+ 	jam ATTOP_HANDLE_VALUE_NOTIFICATION,mem_fifo_temp
+p_le_tx_common:
+	copy rega,contr
+	call p_ipc_rx_byte
+	copy contr,rega
+	copy pdata,loopcnt
+	increase 7,pdata
+	store 1,mem_le51_tx_length
+	arg mem_le_l2cap+1,contw
+	fetch 2,mem_att_send_handle
+	istore 2,contw
+	copy rega,contr
+	call p_ipc_copy
+	call le_xtype_fifo_in
+p_cs_tx_buff_inuse:
+	jam 1,mem_le51_txbuff_inuse
+	rtn
+	
+
+endif
+//3200 == 1s
+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
+	bbit1 ADC_CONFIG_GPIO,p_adc_check_gpio
+	rtn
+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
+	branch p_read_adc
+p_adc_check_gpio:
+	hjam 0x8f,rf_adc_mode
+	fetch 1,mem_adc_channel
+	hstore 1,rf_adc_ch
+	branch p_read_adc
+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 0x74,rfen_adc
+	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_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
+	
+p_ui_timer_timeout:
+	setarg 0x10
+	arg 3,queue
+	call lshift8_queue
+	iadd regb,regb
+	rtn
+p_ui_timer_check:
+	arg 0,rega
+	fetcht 4,mem_ui_timer_last_btclk
+	copy clkn_bt,regb
+	copy regb,pdata
+	isub temp,null
+	ncall p_ui_timer_timeout,positive
+	branch ui_timer_check_loop
+
+
+p_mouse_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_mouse_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_mouse_check_hid_handshake_timer
+	call p_mouse_long_sleep_timer
+	call p_kb_led_cap_delay_timer
+ifdef WAKE_DEV
+	call p_kb_wake_remote_dev
+endif
+	branch p_mouse_bb_event_100ms_loop
+ifdef WAKE_DEV
+p_kb_wake_remote_dev:
+	fetch 1,mem_kb_wake_timer
+	rtn blank
+	increase -1,pdata
+	store 1,mem_kb_wake_timer
+	rtnne 1
+	jam 50,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
+p_tx_wake_kb_packet:
+	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_led_cap_delay_timer:	
+	fetch 1,mem_led_cap_delay_timer
+	rtn blank
+	increase -1,pdata
+	store 1,mem_led_cap_delay_timer
+	branch app_lpm_mult_enable,blank
+	branch app_lpm_mult_disable
+
+p_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
+	call app_evt_hid_handshake
+	branch hid_handshake_event
+p_mouse_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_enbale
+	beq BT_EVT_BB_DISCONNECTED,p_bk_wake_disable
+	rtn
+p_kb_wake_enbale:
+	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_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_iicd_write_eep:
+	branch assert	
+p_iicd_read_eep:
+	branch assert
+p_main_loop_end:
+	call inquiry_scan_dispatch
+	call page_scan_dispatch
+	call connection_dispatch 
+ifdef SIMPLE_PAIRING
+	branch main_loop+15
+else
+	branch main_loop+14
+endif
+
+//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_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_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_initialize_radio_cont:
+	call p_switchto_dpllclk
+	branch initialize_radio_cont + 4
+p_lpm_dispatch:
+	rtnmark1 mark_24g
+	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_lpm_dispatch_next:
+	call p_check_ipc_2bt
+	nrtn user
+	call p_check_ipc_2c51
+	nrtn user
+	jam 1,mem_c51_lmp_lock
+	jam SYC_TASK_LPM,mem_c51_flag
+	call p_c51_wait
+	fetch 1,mem_c51_lmp_lock
+	nrtn blank
+	call p_check_ipc_2bt
+	nrtn user
+	branch lpm_dispatch1
+p_slave_loop:
+	call check_bt_disabled
+	call scheduler_process
+	call slave_conn_recv_packet	/* go listen for a packet */
+	branch slave_loop+6
+
+p_send_lmp:
+	disable user
+	call lmo_fifo_process
+	fetch 1,mem_lmp_to_send
+	rtn blank
+	bbit1 7,send_lmp_escape
+	beq LMP_NAME_RES,p_send_lmp_name_res
+	beq LMP_DETACH,p_send_lmp_detach
+	branch send_lmp+7
+p_send_lmp_name_res:
+	force 17,pdata
+	call msg_send_lmp
+	fetch 1,mem_lmi_opcode /* loading name offset */
+	copy pdata,temp
+	beq 0x00,p_send_lmp_name_res_offset_ok
+	beq 0x0e,p_send_lmp_name_res_offset_ok
+	beq 0x1c,p_send_lmp_name_res_offset_ok
+	rtn
+p_send_lmp_name_res_offset_ok:
+	istore 1,contw /* writing name offset */
+	fetch 1,mem_local_name_length
+	istore 1,contw /* writing name length */
+	setarg 14
+	branch send_lmp_name_res_offset_ok+3
+
+p_send_lmp_detach:
+	call send_lmp_detach
+	jam 100,mem_conn_timer
+	rtn
+
+	
+p_parse_lmp:
+	fetch 1,mem_lmi_opcode2
+	beq LMP_ACCEPTED,p_parse_lmp_accepted
+	beq LMP_NOT_ACCEPTED,parse_lmp_not_accepted
+	beq LMP_DETACH,p_parse_lmp_detach
+//	beq LMP_SNIFF_REQ,p_parse_lmp_sniff
+	branch parse_lmp+26
+p_parse_lmp_sniff:
+	fetch 1,mem_state
+	bbit1 state_insniff,lmp_reject_sniff
+	fetch 2,mem_rxbuf+4 /* tsniff */
+	lshift pdata,pdata
+	sub pdata,0xf,null
+	nbranch lmp_reject_sniff,positive
+	branch parse_lmp_sniff_req + 2
+p_parse_lmp_accepted:
+	fetch 1,mem_rxbuf+1
+	store 1,mem_lmi_accepted_opcode
+ifndef RFCOMM0
+	beq LMP_UNSNIFF_REQ,p_parse_lmp_accepted_unsniff_req
+endif
+	beq LMP_SWITCH_REQ,p_parse_lmp_accepted_switch
+	beq LMP_HOST_CONNECTION_REQ,p_parse_lmp_accepted_hostconn//ok
+	branch parse_lmp_accepted + 2	
+p_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
+	branch parse_lmp_accepted_hostconn_ctn
+p_parse_lmp_accepted_unsniff_req:
+	call app_bt_enter_sniff
+	branch parse_lmp_accepted_unsniff_req
+p_parse_lmp_detach:
+	fetch 1,mem_rxbuf + 1
+	store 1,mem_disconn_reason_send
+	branch parse_lmp_detach
+
+	
+p_slave_notmatch:
+	call lpm_set_mult
+	call supervision_update
+	branch slave_disconnect,positive
+	call check_disconnect_timeout
+	nbranch slave_disconnect,user
+	call check_attempt
+	nbranch p_slave_loop + 1,blank
+	rtn
+ifdef BLE
+p_connection_incontext:
+	call p_context_search_insniff
+	branch connection_incontext+3
+p_context_search_insniff:
+	arg p_context_search_sniff,regc
+	branch context_search
+	
+p_context_search_sniff:
+	bbit0 state_insniff,context_search_next
+p_context_search_sniff_loop:
+	call context_get_anchor
+	call sign_pdata_temp
+	isub temp,pdata
+	increase 1,pdata
+	branch p_context_search_sniff_miss,positive
+	branch context_search_sniff_cont+3
+p_context_search_sniff_miss:
+	iforce regb
+	add rega,coffset_tsniff,contr
+	ifetch 2,contr
+	branch context_search_meet,blank
+	call context_next_anchor
+	branch p_context_search_sniff_loop
+
+    // process 0-fffffff or fffffff-0
+sign_pdata_temp:
+	rshift16 pdata,timeup
+	rshift8 timeup,timeup
+	branch sign_pdata_temp_p0,zero
+	compare 0xf,timeup,0xf
+	nrtn true
+	rshift16 temp,timeup
+	rshift8 timeup,timeup
+	nrtn zero
+	set1 28,temp
+	rtn
+sign_pdata_temp_p0:
+	rshift16 temp,timeup
+	rshift8 timeup,timeup
+	compare 0xf,timeup,0xf
+	nrtn true
+	set1 28,pdata
+	rtn
+endif
+
+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
+p_24g_txon:
+	setarg param_pll_setup
+	call sleep
+p_txon:
+	call p_txon_set_rf_param
+	fetch 1,mem_24g_pairing_sm
+	arg mem_le_att_list+468,contw
+	nbranch p_txpower_0dbm,blank
+	branch p_txpower_5dbm
+p_txon_set_rf_param:
+	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
+	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
+
+p_txpower_5dbm:
+	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
+	
+	//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
+	//hjam 0xc0, 0x956
+	//fetch 1,mem_24g_pairing_flag
+	//nbranch shutdown_radio+2,blank
+	//hjam 0xe0, 0x956   //hjam 0xce, 0x956 only for yc1021C1_#7, BQB, -2.9dBm. changed for ramp_up/down
+	branch shutdown_radio+2
+
+
+ifdef BLE
+p_le_transmit:
+	call le_prep
+	call p_letx_setfreq
+	branch le_transmit+4
+p_letx_setfreq:
+	branch p_txon,match
+	branch letx_setfreq+1
+
+p_lerx_nopayload:
+	parse demod,bucket,24	
+	enable swfine
+	arg param_sifs,stop_watch		// start SIFS timer after last bit of crc
+	rshift32 pdata,pdata
+	rshift16 pdata,pdata
+	istore 3,contw
+	branch end_of_packet,crc_failed
+	enable match
+	fetch 1,mem_last_freq
+	add pdata,0,rega
+	call rf_write_freq				/* set frequency to tx mode freq */
+	disable decode_fec0
+	branch set_sync_on
+endif
+p_mouse_init:
+	jam 0,mem_c51_flag
+	jam 6,mem_connection_options
+	call app_lpm_mult_enable
+	setarg p_mouse_send_process
+	store 2,mem_cb_bt_process
+	setarg p_mouse_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_mouse_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:
+	//fetch 1,mem_wakup_from_power_flag
+	//bbit1 2,p_device_init_init_hibwake
+	jam BT_EVT_RESET,mem_ipc_tx_evt
+p_device_init_common:
+	call p_ipc_tx_evt
+	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
+	setarg 0
+	store 2,mem_ipc_bt_timer
+	store 2,mem_ipc_c51_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
+	bbit1 ADC_CONFIG_GPIO,p_calc_adc_check_gpio
+	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_calc_adc_check_gpio:
+	fetcht 2,mem_temp
+	fetch 2,mem_temp + 6
+	copy temp,regb
+	copy pdata,rega
+	isub temp,regc
+	copy regb, pdata
+	isub regc,pdata
+	byteswap pdata,pdata
+	store 2,mem_adc_0v
+	lshift2 regc,pdata
+	iadd rega,pdata
+	byteswap pdata,pdata
+	store 2,mem_adc_3v
+	rtn
+
+
+
+ ifdef P24G
+p_24g_process:
+	rtnmark0 mark_24g
+	set1 mark_24g_conext,mark
+	fetch 4,mem_24g_tx_btclk	
+	fetcht 1,mem_24g_interval
+	iadd temp,temp	
+	copy clkn_bt,pdata	
+	isub temp,null
+	nbranch p_exit_24g_dispatch,positive
+	store 4,mem_24g_tx_btclk
+	call p_mouse_prepare_data
+	branch p_24g_lpm_long_sleep,user
+	call p_24g_tx_data
+p_exit_24g_dispatch:
+p_exit_24g_context:
+	set0 mark_24g_conext,mark
+	rtn
+
+p_24g_send_pairing_mode:
+	fetch 1,mem_24g_pairing_sm
+	rtneq P24G_SM_PAIRING_WAIT_ADDR
+	beq P24G_SM_PAIRING_WAIT_SUCC,p_24g_pairing_complete
+	beq P24G_SM_PAIRING_REQUEST,p_24g_send_pairing_request
+	beq P24G_SM_PAIRING_COMPLETE,p_24g_send_pairing_complete
+	branch assert
+	
+p_24g_send_pairing_request:
+	jam P24G_PAIRING_REQ_HEAD,mem_24g_txdata
+	jam P24G_SM_PAIRING_WAIT_ADDR,mem_24g_pairing_sm
+	branch p_mouse_enable_tx_retry
+p_24g_send_pairing_complete:
+	jam P24G_SM_PAIRING_WAIT_SUCC,mem_24g_pairing_sm
+	jam P24G_PAIRING_COMPLETE_HEAD,mem_24g_txdata
+	branch p_mouse_enable_tx_retry
+
+p_24g_lpm_long_sleep:
+	fetch 1,mem_24g_enter_lpm_timer
+	nrtn blank
+ 	call p_check_ipc_2bt
+	nrtn user
+	call p_check_ipc_2c51
+	nrtn user
+	jam SYC_TASK_LPM,mem_c51_flag
+	call p_c51_wait
+	fetch 1,mem_c51_lmp_lock
+	nrtn blank
+	call p_check_ipc_2bt
+	nrtn user
+	call lpo_calibration
+	fetch 3,mem_clks_per_lpo
+	rtn blank
+ 	fetch 8,mem_24g_enter_hibernate
+	call clk2lpo
+	storet 4,mem_sleep_counter
+  	branch lpm_sleep
+
+
+
+p_mouse_prepare_data:
+	fetch 1,mem_24g_ensure
+	beq	ENSURE_ON_24G,disable_usr
+	fetch 1,mem_24g_pairing_sm
+	bne P24G_SM_PAIRING_SUCC,p_24g_send_pairing_mode
+	call p_ipc_rx
+	rtn user
+	fetch 1,mem_ipc_rx_type
+	bne IPC_TYPE_24G,enable_usr
+p_mouse_enable_tx_retry:
+	jam ENSURE_ON_24G,mem_24g_ensure
+	rtn
+
+
+p_24g_tx_data:
+	jam 10,mem_24g_enter_lpm_timer
+	jam 0,mem_24g_retry
+	jam dlen_24g,mem_24g_datalen
+	call p_24g_prepare_tx
+	call crc_tx
+p_24g_tx_data_loop:
+	call p_24g_set_freq_tx
+	arg plen_24g,loopcnt
+	call p_24g_tx
+	enable swfine
+	arg 10000,stop_watch					// sync time:4537
+	arg 12,loopcnt							//change rx count
+	call p_24g_rx
+	call shutdown_radio
+	nbranch p_24g_tx_data_retry,sync
+	call crc_rx_ack
+	branch p_24g_tx_success,blank		//transmit success
+p_24g_tx_data_retry:
+	setarg 2000
+	call sleep
+	//branch p_24g_tx_data_loop
+	fetch 1,mem_24g_retry
+	increase 1,pdata
+	store 1,mem_24g_retry
+	bne retry_24g,p_24g_tx_data_loop
+	fetch 1,mem_24g_txfail_cnt
+	increase 1,pdata
+	store 1,mem_24g_txfail_cnt
+	beq 0x20,p_24g_tx_abandon
+	fetch 2,mem_24g_rxfail_cnt
+	increase 1,pdata
+	store 2,mem_24g_rxfail_cnt
+	beq 0xff,p_24g_tx_attempt_fail
+	call p_24g_ch
+	branch p_24g_min_interval
+p_24g_tx_success:
+	setarg 0
+	store 2,mem_24g_rxfail_cnt
+	fetch 1,mem_24g_pairing_sm
+	bne P24G_SM_PAIRING_SUCC,p_24g_rx_pairing_mode
+	fetch 1,mem_24g_pid
+	increase 1,pdata
+	store 1,mem_24g_pid
+p_24g_tx_abandon:
+	setarg 0
+	store 1,mem_24g_txfail_cnt
+	jam ENSURE_OFF_24G,mem_24g_ensure
+	branch p_24g_max_interval
+p_24g_tx_attempt_fail:
+	setarg 0
+	store 2,mem_24g_rxfail_cnt
+	jam BT_EVT_24G_ATTEMPT_FAIL,mem_ipc_tx_evt
+	branch p_ipc_tx_evt
+
+p_24g_rx_pairing_mode:
+	fetch 1,mem_24g_pairing_sm
+	beq P24G_SM_PAIRING_COMPLETE,p_24g_pairing_complete
+	bne P24G_SM_PAIRING_WAIT_ADDR,assert
+	jam P24G_SM_PAIRING_COMPLETE,mem_24g_pairing_sm
+	call p_24g_rx_parse_dongle_addr
+	jam BT_EVT_24G_PAIRING_COMPLETE,mem_ipc_tx_evt
+	call p_ipc_tx_evt
+	branch p_24g_tx_abandon
+p_24g_pairing_complete:
+	jam P24G_SM_PAIRING_SUCC,mem_24g_pairing_sm
+	fetch 4,mem_24g_addr_copy
+	store 4,mem_24g_addr
+	rtn
+	
+p_24g_rx_parse_dongle_addr:
+	fetch 5,mem_24g_rxbuf+5
+	rshift2 pdata,pdata
+	store 4,mem_temp
+	copy pdata,temp
+	arg 3,rega
+	arg 4,loopcnt
+p_24g_rx_parse_dongle_addr_loop:
+	copy temp,pdata
+	reverse pdata,pdata
+	copy pdata,regb
+	setarg mem_timeup
+	iadd rega,contw
+	copy regb,pdata
+	istore 1,contw
+	increase -1,rega
+	copy temp,pdata
+	rshift8 pdata,pdata
+	copy pdata,temp
+	loop p_24g_rx_parse_dongle_addr_loop
+	fetch 4,mem_timeup	//update mouse 24g address
+	store 4,mem_24g_addr_copy
+	rtn
+
+	
+p_24g_max_interval:
+	fetch 1,mem_24g_interval_max
+	branch p_24g_updata_interval
+p_24g_min_interval:
+	fetch 1,mem_24g_interval_min
+p_24g_updata_interval:
+	store 1,mem_24g_interval
+	rtn
+
+p_24g_ch:
+	fetch 1,mem_24g_pairing_sm
+	bne P24G_SM_PAIRING_SUCC,p_24g_pairing_ch
+	fetcht 1,mem_24g_current_ch_number
+	call p_24g_ch_calc
+	increase 1,temp
+	and_into 3,temp //map size =4
+	storet 1,mem_24g_current_ch_number
+	rtn
+p_24g_pairing_ch:
+	jam 78,mem_24g_ch
+	rtn
+p_24g_ch_calc:
+	fetch 1,mem_24g_addr+3
+	reverse pdata,pdata
+	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_24g_set_freq_tx:
+	call set_sync_on
+	fetcht 1,mem_24g_ch
+	branch p_set_freq_tx
+
+	// loopcnt is total packet length include address and crc
+p_24g_tx:
+	set1 TXGFSK,radio_ctrl
+	disable decode_fec0
+	enable encode_fec0
+	enable is_tx
+	disable is_rx
+	disable enable_white
+	call p_le_enable
+	deposit clkn
+	set1 56,pdata
+	//call savelist
+	setarg acc_24g
+	inject mod,24
+	arg mem_24g_addr,rega
+	arg mem_24g_scremble,regb
+p_24g_tx_loop:
+	ifetch 1,rega
+	ifetcht 1,regb
+	ixor temp,pdata
+	inject mod,8
+	increase 1,rega
+	increase 1,regb
+	loop p_24g_tx_loop
+	until null,tx_clear
+	nop 100         
+	rtn
+
+	
+	// loopcnt is total packet length include crc
+p_24g_rx:
+	force 0,radio_ctrl
+	fetcht 1,mem_24g_ch
+	call p_set_freq_rx
+	call rf_rx_enable
+	disable encode_fec0
+	enable decode_fec0
+	enable is_rx
+	disable is_tx
+	disable enable_white
+	call p_le_enable
+	fetcht 1,mem_24g_addr
+	storet 1,mem_24g_rxbuf
+	xor_into 0xc7,temp
+	lshift16 temp,temp
+	lshift8 temp,temp
+	setarg acc_24g
+	ior temp,access
+	correlate null,timeout
+	deposit stop_watch
+	setflag sync,63,pdata
+//	call savelist
+	increase -1,loopcnt
+//	nbranch p_tst,sync
+	arg mem_24g_scremble+1,contr
+	arg mem_24g_rxbuf+1,contw
+p_24g_rx_loop:
+	parse demod,bucket,8
+	rshift3 pwindow,pdata
+	ifetcht 1,contr
+	ixor temp,pdata
+	istore 1,contw
+	loop p_24g_rx_loop
+	rtn
+
+crc_rx_ack:
+	fetch 1,mem_24g_pairing_sm
+	beq P24G_SM_PAIRING_SUCC,crc_rx_ack_nodata
+crc_rx_ack_4byte:
+	arg mem_24g_rxbuf,contr
+	setarg crc_ack_4byte
+	arg 90,loopcnt
+	branch gencrc
+crc_rx_ack_nodata:
+	arg mem_24g_rxbuf,contr
+	setarg crc_ack
+	arg blen_rxack_24g,loopcnt
+	branch gencrc
+
+crc_tx_ack:
+	arg mem_24g_addr,contr
+	setarg crc_ack
+	arg blen_txack_24g,loopcnt
+	call gencrc
+	branch p_24g_store_crc
+
+crc_tx:
+	arg mem_24g_addr,contr
+	setarg crc_data_6byte
+	arg blen_tx_24g,loopcnt
+	call gencrc
+	branch p_24g_store_crc
+	
+crc_rx:
+	arg mem_24g_rxbuf,contr
+	setarg crc_data_6byte
+	arg blen_rx_24g,loopcnt
+gencrc:
+	arg 0x1021,contw
+	arg 0,rega
+crc_loop:
+	and rega,7,null
+	nbranch crc_nofetch,zero
+	ifetcht 1,contr
+crc_nofetch:
+	bbit1 15,crc_b15
+	isolate0 0,temp
+crc_shift:
+	lshift pdata,pdata
+	branch crc_noxor,true
+	ixor contw,pdata
+crc_noxor:
+	rshift temp,temp
+	increase 1,rega
+	loop crc_loop
+	reverse pdata,temp
+	lshift8 temp,temp
+	rshift8 pdata,pdata
+	reverse pdata,pdata
+	ior temp,pdata
+	store 2,mem_24g_crc
+	rtn
+crc_b15:
+	isolate1 0,temp
+	branch crc_shift
+
+p_24g_prepare_tx:
+	fetch 1,mem_24g_pid
+	and_into 3,pdata
+	reverse pdata,pdata
+	lshift pdata,pdata
+	fetcht 1,mem_24g_datalen
+	add temp,1,loopcnt
+	reverse temp,temp
+	rshift temp,temp
+	ior temp,pdata
+	store 1,mem_24g_len
+	arg mem_24g_txdata,contr
+p_24g_ptx_loop:
+	rshift8 pdata,temp
+	ifetch 1,contr
+	lshift2 pdata,pdata
+	ior temp,pdata
+	istore 1,contw
+	loop p_24g_ptx_loop
+	rtn
+
+
+	// pdata:crc
+p_24g_store_crc:
+	lshift2 pdata,temp
+	fetch 1,mem_24g_datalen
+	arg mem_24g_len+1,contw
+	iadd contw,contw
+	ifetch 1,contw
+	and_into 3,pdata
+	ior temp,pdata
+	istore 3,contw
+	rtn
+
+p_24g_init:
+	set1 mark_24g,mark
+	setsect 0,0x28dc7
+	setsect 1,0x55f4
+	setsect 2,0x273da
+	setsect 3,0x2c19a
+	store 9,mem_24g_scremble
+	setsect 0,0x13175
+	setsect 1,0x19204
+	setsect 2,0x38779
+	setsect 3,0x3
+	istore 7,contw
+	jam 0,mem_24g_pid
+	jam 50,mem_24g_sifs
+	setarg 0
+	store 9,mem_24g_txcnt
+	istore 3,contw
+	store 6,mem_24g_txdata
+	jam 0,mem_24g_current_ch_number
+	branch p_24g_ch_calc
+
+p_24g_uninit:
+	set0 mark_24g,mark
+	branch  p_le_disable
+ endif	
+p_mouse_send_process:
+	call l2cap_malloc_is_fifo_nearly_full
+	nrtn blank
+p_mouse_send_data:
+	branch p_ipc_rx
+
+
+p_mouse_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_mouse_bt_lpm_before:
+	rtn
+
+
+p_lpm_dispatch_unconn:
+	call p_check_ipc_2bt
+	nrtn user
+	call p_check_ipc_2c51
+	nrtn user
+	jam 1,mem_c51_lmp_lock
+	jam SYC_TASK_LPM,mem_c51_flag
+	call p_c51_wait
+	fetch 1,mem_c51_lmp_lock
+	nrtn blank
+	call p_check_ipc_2bt
+	nrtn user
+	branch lpm_dispatch_unconn + 2
+
+
+p_mouse_priority_bb_event:	
+	copy regc,pdata
+	rtn
+
+p_mouse_start_reconnect:
+	setarg 0
+	store APP_DISC_RSN_SIZE,mem_app_disconn_reason
+	store 2,mem_ui_state_map
+	store 1,mem_app_handshake_flag
+	branch app_lpm_mult_disable
+
+p_le_enable:
+	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_c51_wait:
+	fetch 1,mem_c51_flag
+	nop 10
+	bne 0,p_c51_wait
+	rtn
+
+p_mouse_idle:
+	rtn
+
+p_check_enter_hibernate:
+	jam SYC_TASK_HIBERNATE,mem_c51_flag
+	call p_c51_wait
+p_enter_hibernate_continue:
+	jam 0x5a,mem_hibernate_flag
+	call lpm_write_gpio_wakeup
+	hfetch 4,core_lpm_ctrl
+	set0 15,pdata						/* lowest lpo */
+	hstore 4,core_lpm_reg
+	call lpm_write_ctrl
+	arg param_hibernate_clks,temp
+	branch lpm_sleep
+ 
+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_52cmd_stop24g
+	beq BT_CMD_PAIR_24G,p_check_51_cmd_pairing_24g
+endif
+	beq BT_CMD_START_DISCOVERY,p_check_51cmd_start_discovery
+	beq BT_CMD_RECONNECT,p_check_51cmd_reconnect
+	branch check_51cmd_once+9
+ifdef P24G
+p_check_51cmd_start24g:
+	fetch 4,mem_24g_addr_copy
+	store 4,mem_24g_addr
+	branch p_24g_init
+p_check_52cmd_stop24g:
+	jam P24G_SM_PAIRING_SUCC,mem_24g_pairing_sm
+	branch p_24g_uninit
+p_check_51_cmd_pairing_24g:
+	jam P24G_SM_PAIRING_REQUEST,mem_24g_pairing_sm
+	call p_24g_init
+	setarg -1
+	store 4,mem_24g_addr
+	branch p_24g_pairing_ch		//must change ch at last
+endif
+
+p_check_51cmd_once_continue:
+	fetch 1,mem_lmo_opcode2
+	branch p_check_51cmd_once_continue0,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
+p_check_51cmd_once_continue0:
+	fetch 1,mem_fifo_temp
+	bmark0 mark_context,check_51cmd_check_idle
+	beq BT_CMD_DISCONNECT,p_check_51cmd_disconnect
+	beq BT_CMD_UPDATE_SUPERVISION_TO,p_check_51cmd_update_supervision_to
+	branch check_51cmd_once_continue0
+p_check_51cmd_disconnect:
+	fetch 2,mem_ui_state_map
+	bbit0 UI_STATE_BT_HID_HANDSHAKE,p_check_51cmd_quick_disconnect
+	branch check_51cmd_disconnect
+p_check_51cmd_quick_disconnect:
+	setarg 0
+	store 4,mem_supervision_to
+	rtn
+p_check_51cmd_update_supervision_to:
+	jam LMP_SUPERVISION_TIMEOUT,mem_lmo_opcode2
+	fetch 2,mem_new_supervision_to
+	store 2,mem_supervision_to
+	rtn
+
+p_check_51cmd_start_discovery:
+	call app_clear_reconnect_flag
+	jam 6,mem_connection_options
+	branch check_51cmd_start_discovery
+p_check_51cmd_reconnect:
+	jam 6,mem_connection_options
+	fetch 1,mem_ssp_enable
+	beq 0,p_check_51cmd_reconnect_common
+	jam 0x17,mem_connection_options
+p_check_51cmd_reconnect_common:
+	jam 1,mem_link_key_exists
+	branch check_51cmd_reconnect
+
+p_prepare_tx_not_sco:
+	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
+	fetch 1,mem_last_type
+	beq type_lmp,prepare_tx_retransmit+7
+	fetch 2,mem_last_txlen
+	sub pdata,20,null
+	nbranch prepare_tx_retransmit+7,positive 
+	store 2,mem_tx_len
+	fetch 1,mem_last_txlch
+	store 1,mem_tx_lch
+	setarg mem_last_txdata
+	store 2,mem_txptr
+	branch prepare_tx_retransmit+7	
+
+p_tx_l2cap_type:
+	fetch 2,mem_tx_len
+	store 2,mem_last_txlen
+	sub pdata,20,null
+	nbranch tx_l2cap_type + 2,positive 
+	iforce loopcnt
+	fetch 1,mem_tx_lch
+	store 1,mem_last_txlch
+	fetch 2,mem_txptr
+	iforce contr
+	arg mem_last_txdata,contw
+	call memcpy
+	branch tx_l2cap_type + 2
+
+p_lpm_sleep:
+	call xtal_fast_wake
+	branch lpm_sleep+2
+
+p_parse_lmp_accepted_switch:
+	jam BT_EVT_SWITCH_ACCEPT,mem_fifo_temp
+	call ui_ipc_send_event
+	branch p_role_switch_prepare0
+//branch role_switch_prepare0
+p_role_switch_prepare0_0:
+//	set0 mark_ext_patch,mark
+//	bpatch patch05_0,mem_patch05
+	storet 4,mem_sniff_anchor
+p_role_switch_prepare0:
+	jam SWITCH_FLAG_ACCEPT,mem_switch_flag
+	setarg 0xffff
+	store 2,mem_tsniff
+	jam 1,mem_sniff_attempt
+	rtn
+p_roles_replyto_fhs:
+	call rf_setup_time_slave_slot
+	call p_master_send_packet
+	branch roles_replyto_fhs + 4
+p_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	/* get ready for that id packet */
+	call start_tx_native
+	call send_access_word
+	branch end_of_packet
+p_role_switch_check:
+	disable user
+	fetch 2,mem_tsniff
+	arg 0xffff,temp
+	isub temp,null
+	nrtn zero
+	fetch 4,mem_sniff_anchor
+	branch p_role_switch_clkn,clknt
+	isub clke_bt,pdata
+	branch p_role_switch_clke
+p_role_switch_clkn:
+	isub clkn_bt,pdata
+p_role_switch_clke:
+	sub pdata,4,null
+	nrtn positive
+	force 0,pdata
+	store 2,mem_tsniff
+	enable user
+	rtn
+
+
+
+p_idle_page_mode_r0:
+	storet 8,mem_temp
+	call timer_check
+	fetcht 8,mem_temp
+	branch idle_page_mode_r0+13
+
+p_scheduler_process_sdp_succ:
+	call l2cap_malloc_is_fifo_full
+	nrtn blank
+	//for conn to MTK 
+	call p_l2cap_call_proc_sigal_pending
+	branch scheduler_process1
+
+p_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
+	jam 0,mem_l2cap_pending_item
+	copy rega,pdata
+	beq L2CAP_SDP_channel,l2cap_sdp_conn_succ
+	rtn
+
+p_l2cap_process_one_signal:
+	ifetch 1,contr
+	beq signal_info_req,p_l2cap_proc_signal_info_req
+	branch l2cap_process_one_signal+3
+p_l2cap_proc_signal_info_req:
+	ifetch 1,contr //IDs
+	copy pdata,queue
+	ifetch 2,contr //length
+	copy pdata,rega
+	copy regc,pdata
+	isub rega,regc
+	setarg signal_info_rsp
+	istore 1,contw
+	copy queue,pdata
+	istore 1, contw
+	ifetch 2,contr 
+p_l2cap_proc_signal_info_req_reply:
+	beq L2CAP_SIG_EXT_FEATRUE,p_l2cap_proc_signal_info_req_ext
+	beq L2CAP_SIG_FIX_FEATRUE,p_l2cap_proc_signal_info_req_fix
+	branch assert
+p_l2cap_proc_signal_info_req_ext:
+	setarg 0x020008
+	istore 6, contw
+	setarg 0x0200
+	istore 4, contw
+	force 12,pdata
+	iadd regb,regb
+	branch l2cap_process_one_signal_rtn
+p_l2cap_proc_signal_info_req_fix:
+	setarg 0x3000c
+	istore 6, contw
+	setarg 0x0006
+	istore 8, contw
+	force 16,pdata
+	iadd regb,regb
+	branch l2cap_process_one_signal_rtn
+	
+p_ml2cap_call_proc_signal:
+	call l2cap_malloc_signal_channel
+	force 0,regb
+	call l2cap_get_signal_tx_payload
+	copy pdata,contw
+	fetch 2,mem_l2cap_rx_pkt_length
+	copy pdata,regc
+	fetch 2,mem_l2cap_payload_ptr
+	iforce contr
+p_ml2cap_proc_one_comm_loop:
+	call p_ml2cap_proc_one_comm
+	branch ml2cap_proc_one_comm_loop+1
+p_ml2cap_proc_one_comm:
+	ifetch 1,contr
+	beq signal_info_req,p_ml2cap_proc_signal_info_req
+	branch ml2cap_proc_one_comm+1
+p_ml2cap_proc_signal_info_req:
+	ifetch 1,contr //IDs
+	copy pdata,queue
+	ifetch 2,contr //length
+	copy pdata,rega
+	ifetch 2,contr
+	store 2,mem_temp
+	copy regc,pdata
+	isub rega,regc 
+	call l2cap_get_signal_tx_payload
+	setarg signal_info_rsp
+	istore 1,contw
+	copy queue,pdata
+	istore 1,contw 
+	fetch 2,mem_temp
+	branch p_l2cap_proc_signal_info_req_reply
+
+p_hid_rx_process:
+	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,p_hid_rx_process_data
+	beq HID_TYPE_SET_REPORT,p_hid_rx_process_set_report
+	beq HID_TYPE_CONTROL,hid_rx_process_hid_control
+	beq HID_TYPE_GET_REPORT,hid_rx_process_handshake
+	rtn
+p_hid_rx_process_set_report:
+	call p_hid_rx_process_data
+	branch hid_rx_process_set_report
+p_hid_rx_process_data:
+	setarg IPC_TYPE_HID
+	store 1,mem_24g_rxbuf
+	setarg 2
+	istore 1,contw
+	copy pdata,loopcnt
+	call memcpy
+	
+	arg 4,loopcnt //2+2
+	arg mem_24g_rxbuf,contr
+	call p_ipc_tx_cpy
+	jam 2,mem_led_cap_delay_timer
+	rtn
+
+ifdef RFCOMM0
+ //rfcomm
+p_l2cap_map_check:
+	arg 0xc0,temp
+	arg 7,loopcnt
+p_l2cap_map_check_loop:
+	fetch 1,mem_used_map
+	iand temp,pdata
+	rtn blank
+	rshift temp,temp
+	loop p_l2cap_map_check_loop
+	setarg 1
+	rtn
+ 
+p_scheduler_process:
+	call l2cap_malloc_get_full_map
+	call p_l2cap_map_check
+	nrtn blank
+	call process_upper_sm
+	call l2cap_send_config_req
+	call p_rfcomm_send_more_pkt//use this function to send msc_cmd after msc_rep sent
+	branch scheduler_process0
+
+p_rfcomm_send_more_pkt:
+	fetch 1,mem_rfcomm_send_more_pkt
+	rtn blank
+	beq MORE_PKT_MSC_CMD_SPP,p_rfcomm_send_more_pkt_msc_cmd_spp
+	branch assert
+	
+p_rfcomm_send_more_pkt_msc_cmd_spp:
+	jam 0,mem_rfcomm_send_more_pkt
+	call l2cap_malloc_rfcomm_channel
+	fetcht 1,mem_pn_dlci
+	lshift2 temp,temp
+	branch rfcomm_send_more_pkt_msc_cmd_spp0
+
+
+/********************************for rfcomm disconn************************************************/
+p_rfcomm_rx_process:
+	fetch 1,memui_reconnect_mode
+	beq NO_RECONNECTION,p_rfcomm_rx_process_remote_page
+	branch rfcomm_rx_process_reconn
+p_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,p_parse_dlci0_rp
+	branch p_parse_uih_rp
+p_parse_dlci0_rp:
+	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,p_parse_DLCI0_rp_uih
+	beq RFCOMM_FRAME_TYPE_DISCONN,p_parse_uih_rp_spp_disconn
+	rtn
+p_parse_uih_rp:
+	//fetch 1,mem_current_channel
+	//sub pdata,SPP_SLAVE_CHANNEL,null
+	branch p_parse_uih_rp_spp//,zero
+p_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,p_parse_uih_spp_uih
+	beq RFCOMM_FRAME_TYPE_UIH_CREDITS,p_parse_uih_spp_uih_credits
+	beq RFCOMM_FRAME_TYPE_DISCONN,parse_uih_rp_spp_disconn
+	rtn
+	
+p_parse_uih_spp_uih:
+	call p_check_ipc_2c51
+	nbranch p_l2cap_call_proc_spp_fail,user
+	branch parse_uih_spp_uih
+
+p_parse_uih_spp_uih_credits:
+	call p_check_ipc_2c51
+	nbranch p_l2cap_call_proc_spp_fail,user
+	branch parse_uih_spp_uih_credits
+
+p_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,p_parse_dcli0_rp_uih_pn_cmd
+	beq UIH_PARAM_NEG_RES,parse_DLCI0_rp_uih_pn_res
+	beq UIH_MODEM_STATUS_CMD,p_parse_DLCI0_rp_uih_ms_cmd
+	beq UIH_MODEM_STATUS_RES,p_parse_DLCI0_rp_uih_ms_res
+	beq UIH_PARAM_CMD_REMOVE_PORT,p_parse_DLCI0_rp_uih_cmd_port
+	branch rfcomm_rx_process_end
+
+p_parse_dcli0_rp_uih_pn_cmd:
+	call parse_DLCI0_rp_uih_pn_res_common
+//	fetch 1,mem_pn_dlci
+//	sub pdata,0x2,null
+//	ncall p_test_rfcomm,zero
+	//rshift pdata,pdata
+	//sub pdata,SPP_SLAVE_CHANNEL,null
+	branch parse_DLCI0_rp_uih_pn_cmd_spp//,zero
+	branch assert
+//p_test_rfcomm:
+//	jam 1,mem_rfcomm_debug
+//	rtn
+
+
+p_parse_DLCI0_rp_uih_ms_cmd:
+	call get_rfcomm_param_modem_status
+	branch parse_DLCI0_rp_uih_ms_cmd_spp
+
+	
+p_parse_DLCI0_rp_uih_ms_res:
+	jam BT_EVT_SPP_CONNECTED,mem_fifo_temp
+	call ui_ipc_send_event
+	call get_rfcomm_param_modem_status
+	branch parse_DLCI0_rp_uih_ms_res_spp
+
+p_parse_uih_rp_spp_disconn:
+	jam BT_EVT_SPP_DISCONNECTED,mem_fifo_temp
+	call ui_ipc_send_event
+	branch parse_uih_rp_spp_disconn
+	
+p_parse_DLCI0_rp_uih_cmd_port:
+	call get_param_payload_ptr
+	ifetch 1,contr
+	store 1,mem_rpn_dlci
+	call l2cap_malloc_rfcomm_channel
+	call l2cap_get_rfcomm_tx_buff
+	setarg 0x000e
+	istore 2,contw //l2cap len
+	fetch 2,mem_rfcomm_remote_cid
+	istore 2,contw//cid
+	fetch 1,mem_rfcomm_initiator
+	//setarg 5
+	lshift pdata,pdata
+	set1 0,pdata //ext len
+	istore 1,contw //DLCI0 address
+	setarg 0x15ef
+	istore 2,contw
+	setarg 0x1191
+	istore 2,contw
+	//fetch 1,mem_pn_dlci
+	//setarg 0x0b
+	fetch 1,mem_rpn_dlci
+	istore 1,contw //DLCI
+	setarg 0x000007
+	istore 3,contw
+	setarg 0 //max frame size
+	istore 2,contw 
+	setarg 0x01 //max retrans
+	istore 1,contw
+	setarg 0x00
+	istore 1,contw // init credits
+	call rfcomm_calculate_FCS_dlci0
+	istore 1,contw
+	rtn
+
+p_l2cap_call_proc_spp_fail:
+	jam RFCOMM_MALLOC_FAIL,mem_rfcomm_malloc_fail_flag
+	rtn
+
+p_spp_process_rx_data:
+	fetch 2, mem_current_length
+	rtn blank
+	
+
+	setarg IPC_TYPE_SPP
+	store 1,mem_rfcomm_tx_buff
+	fetch 2,mem_current_length
+	istore 1,contw
+	copy pdata,loopcnt
+	fetch 2,mem_rfcomm_uih_payload_ptr
+	copy pdata,contr
+	call memcpy
+	
+	
+	fetch 2,mem_current_length
+	increase 2,pdata
+	copy pdata,loopcnt
+	arg mem_rfcomm_tx_buff,contr
+	branch p_ipc_tx_cpy
+
+p_ssp_tx_rfcomm_from_c51_common:
+	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
+
+	fetch 2,mem_current_packet_length
+	copy pdata,loopcnt
+
+	fetch 2,mem_contr
+	copy pdata,contr
+	call p_ipc_cpy_loop
+	copy contr,rega
+	
+	fetch 1,mem_rfcomm_send_fcs
+	istore 1,contw
+	
+	copy rega,contr
+	call p_ipc_next_rx
+	
+	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_ipc_end
+endif
+
+
+ifdef BLE
+p_le_parse_att:
+	ifetch 3,contr
+	store 3,mem_le_att_opcode
+	beq ATTOP_WRITE_REQUEST,p_le_parse_att_write_request
+	beq ATTOP_WRITE_COMMAND,p_le_parse_att_write_command
+	beq ATTOP_PREPARE_WRITE_REQUEST,p_le_parse_att_prepare_write_request
+	beq ATTOP_EXECUTE_WRITE_REQUEST,p_le_parse_att_execute_write_request
+	branch le_parse_att_p
+
+p_le_prepare_att:
+	fetch 1,mem_le_l2cap
+	beq ATTOP_HANDLE_VALUE_NOTIFICATION,p_le_send_att_handle_value_notification
+	beq ATTOP_HANDLE_VALUE_INDICATION,p_le_send_att_handle_value_indication
+	branch le_prepare_att0
+	
+p_le_parse_att_write_request:
+	fetcht 2,mem_le_rxbuf+7
+
+	call le_att_get_handle_ptr
+	add contr,1,regb
+
+	increase -2,contr
+	ifetch 2,contr
+	arg ATT_Configuration,temp
+	isub temp,null
+	branch p_le_parse_write_req_configuration,zero
+
+	fetch 1,mem_le_rxbuf+1
+	increase -7,pdata
+	copy regb,contw
+	icopy loopcnt
+	icopy regb
+	arg mem_le_rxbuf+9,contr
+	call memcpy
+	jam ATTOP_WRITE_RESPONSE,mem_fifo_temp
+	call le_xtype_fifo_in
+	arg mem_le_rxbuf+9,rega
+	
+	branch p_module_le_rx
+
+p_le_parse_att_write_command:
+	fetch 1,mem_le_rxbuf+1
+	increase -7,pdata
+	copy pdata,regb
+	arg mem_le_rxbuf+9,rega
+	branch p_module_le_rx
+
+p_le_parse_write_req_configuration:
+	fetch 2,mem_le_rxbuf+7
+	increase -1,pdata
+	store 2,mem_att_send_handle
+	fetch 1,mem_le_rxbuf+9
+	store 1,mem_att_send_option
+	branch le_parse_att_write_request_fail
+
+p_le_parse_att_execute_write_request:
+	jam ATTOP_EXECUTE_WRITE_RESPONSE,mem_fifo_temp
+	branch le_xtype_fifo_in
+
+p_le_parse_att_prepare_write_request:
+	fetch 1,mem_le_rxbuf+1
+	increase -9,pdata
+	store 1,mem_prepare_write_len
+	icopy loopcnt
+	fetcht 2,mem_le_att_handle
+	call le_att_get_handle_ptr
+	branch p_le_parse_att_prepare_write_request_fail,blank
+	ifetch 1,contr
+	isub loopcnt,null
+	nbranch p_le_parse_att_prepare_write_request_fail,positive
+	copy contr,rega
+	copy loopcnt,regb
+	copy contr,contw
+	arg mem_le_rxbuf+11,contr
+	call memcpy
+	fetch 2,mem_le_rxbuf+9
+	store 2,mem_prepare_write_offest
+	call p_module_le_rx
+p_le_parse_att_prepare_write_request_fail:
+	jam ATTOP_PREPARE_WRITE_RESPONSE,mem_fifo_temp
+	branch le_xtype_fifo_in
+
+p_module_le_rx:
+	setarg IPC_TYPE_SPP
+	store 1,mem_rfcomm_tx_buff
+	copy regb,pdata
+	istore 1,contw
+	copy pdata,loopcnt
+	copy rega,contr
+	call memcpy
+	
+	increase 2,regb
+	copy regb,loopcnt
+	arg mem_rfcomm_tx_buff,contr
+	branch p_ipc_tx_cpy
+
+
+p_le_send_att_handle_value_indication:
+p_le_send_att_handle_value_notification:
+	//call ice_break
+	jam 0,mem_le51_txbuff_inuse
+	fetcht 1,mem_le51_tx_length
+	branch le_send_packet
+	
+endif
+	
Index: program/peripherals.prog
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/program/peripherals.prog	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/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: program/prcp.prog
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/program/prcp.prog	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/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: program/rfcomm.prog
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/program/rfcomm.prog	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/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: program/scheduler.prog
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/program/scheduler.prog	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/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: program/sdp.prog
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/program/sdp.prog	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/program/sdp.prog	(working copy)
@@ -0,0 +1,1313 @@
+/**********************************************************************/
+/* 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
+dsize:
+	force 0x01,pdata
+	rtn
+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: program/security.prog
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/program/security.prog	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/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: program/shutter.prog
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/program/shutter.prog	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/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: program/sim.prog
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/program/sim.prog	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/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: program/simple_pairing.prog
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/program/simple_pairing.prog	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/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: program/ui.prog
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/program/ui.prog	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/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: program/usb.prog
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/program/usb.prog	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/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: program/utility.prog
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/program/utility.prog	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/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: ramcode.rom
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/ramcode.rom	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/ramcode.rom	(working copy)
@@ -0,0 +1,913 @@
+c5128017
+c000002e
+c001802b
+c002815c
+c005032c
+c013831c
+c014030b
+c0158311
+c02101a0
+c02181d9
+c02802eb
+c02a02fa
+c048021b
+c04901e1
+c04a01e7
+c04a8182
+c0580306
+c0588152
+c0590184
+c0598194
+c05b029c
+c05c8168
+20203bf1
+c003815a
+c00c0068
+c00d833d
+c011835c
+c01200a7
+c01f02af
+c01f82b2
+c0438104
+c04682c4
+c04702ce
+c04782ba
+c04e0378
+c04f8330
+c066821e
+c0678055
+c068010b
+c07101bc
+c07181a4
+c0730032
+20203bf1
+204000ab
+20400070
+20203015
+6810813b
+60008b80
+70800608
+20203003
+6800807c
+203a0037
+204061d9
+6800807c
+247a0000
+68008055
+207a0000
+c0030046
+c008003c
+2020623e
+6800c748
+c1000000
+c0008044
+d8e0000a
+20407e53
+247a0000
+70474800
+2020629b
+20748000
+20200046
+68008177
+c281629b
+c2800049
+6800c25e
+203a62c7
+6800844d
+c4018000
+c4010000
+68020465
+d8400320
+98408400
+1c427e00
+98467c00
+24610000
+20206267
+da2047df
+20407f9f
+207a0000
+1fe22600
+2040005b
+20203ea5
+c10c0000
+c0036614
+c001005f
+20203e7d
+70429d00
+680147f4
+c283bf08
+2fec0001
+20408065
+20203f08
+68008450
+c1010000
+20203e7b
+680102cd
+203a4dfc
+680082cf
+c000806d
+20204dbb
+2040527a
+247a0000
+20204dc3
+6800c7dc
+203a0074
+6800c793
+207a0000
+20400163
+20740000
+1ff0fe00
+1fe20c00
+204000e3
+6000cce6
+c0008087
+1fe20400
+18c22200
+6800c040
+c3000084
+1a220c00
+c6848000
+18427e00
+c0018091
+20203bf1
+1a220c00
+d8a000f8
+202000db
+204000e3
+204000e3
+60008b7d
+2040008c
+20207c33
+204000e6
+18c20400
+18508400
+60094bad
+20600000
+204000e3
+1fe22200
+18c27e00
+600102b7
+1a20a201
+20404b2c
+18a0a5fe
+680142b7
+e0a10000
+580000a1
+e0a08000
+1a20f3ff
+680102b7
+1fe20c00
+204000dd
+1a420c00
+e8c10000
+60014e5f
+1fe0f202
+20407e45
+704e5e32
+20600000
+da400000
+2040527a
+247a0000
+2020524d
+680a4d8a
+1c427e00
+98467e00
+d8400640
+9846fc00
+20407efd
+1807fe00
+207a0000
+1c420400
+600a4d8a
+68094ce4
+18508400
+9840fe00
+1ff0fe00
+60014ce4
+1ff0fe00
+1fe17e03
+c1800000
+6800cda0
+c28000c2
+c28080c4
+c28100c6
+20600000
+708971bf
+202000ca
+708971af
+202000ca
+7089718f
+6800cda1
+60108973
+202000ca
+68108053
+79207e07
+60108053
+68108973
+1fe1fe30
+60108973
+70890674
+7089067c
+708972aa
+20001388
+68190150
+68108053
+793ffe07
+60108053
+18508400
+60094da6
+20600000
+204000e3
+1fe27200
+204000df
+2020008c
+204000e3
+e0a08000
+c20000df
+20600000
+204000e6
+e8c08000
+20600000
+58004bad
+98c67c00
+24628000
+d8c04ae5
+20600000
+df200003
+d8c04ce1
+18c22200
+68014c7b
+1ff0fe00
+1fe20a00
+1a220c00
+e8c08000
+e0a08000
+204000fa
+c20000f2
+18a27e00
+1ff0fe00
+60014c7b
+20600000
+58004c79
+98a67c00
+24628000
+d8a04bb1
+20600000
+58000010
+d8e00003
+20407e68
+9a40a400
+20600000
+da200000
+680a47ec
+1c422400
+1a427e00
+98467c00
+244100ff
+20207c09
+60088259
+6800cd9e
+1fe0fe01
+6000cd9e
+68008259
+207a0000
+1fe0ffff
+60008259
+20400130
+20400137
+2040012a
+20400118
+2020010f
+6800ce5e
+207a0000
+1fe0ffff
+6000ce5e
+c1808000
+704e5e32
+680147f4
+c4028000
+68014e5f
+207a0000
+2040527e
+247a0000
+68014e5f
+1fe22200
+20404b2c
+1a20f202
+d8c04e61
+20207e45
+6800cd87
+207a0000
+1fe0ffff
+6000cd87
+203a3fa4
+20203fa6
+6800c7f2
+207a0000
+1fe0ffff
+6000c7f2
+247a0000
+20403ebd
+20204b22
+6800cd86
+207a0000
+1fe0ffff
+6000cd86
+20600000
+1a627e00
+1fe17ef0
+c1280000
+20400144
+1a627e00
+207a0000
+6000cce3
+202000eb
+1a627e00
+c0058148
+c0010150
+20600000
+704e5e28
+5800000a
+60014e5f
+680142b7
+e0a10000
+580001a1
+e0a10000
+20600000
+704e5e00
+20600000
+70416e7f
+20403cf3
+6800ce5b
+207a0000
+704e5b00
+1c427e00
+60024d8a
+20600000
+20203bf1
+20203bf1
+20403392
+20403407
+20403024
+20203022
+68014c79
+68094c7b
+20200165
+68014bad
+68094baf
+98467c00
+2022e9b1
+2020320b
+6800c219
+247a0000
+70804206
+58000f0c
+20403da7
+58030d40
+20403bf3
+37d98200
+1e226000
+20403b36
+20001388
+20203d9d
+6800c219
+243a017a
+20403d91
+20007530
+20007530
+20007530
+20403b0a
+70804204
+6810896b
+1fe17ecf
+6010896b
+1fe1fe30
+6010896b
+20600000
+20400174
+20203aaf
+c6118000
+20403cab
+6801c210
+207a0000
+6800c131
+207a0000
+2040527e
+247a0000
+20403dca
+247a0000
+20403b36
+6800c7dc
+203a3d25
+6800c793
+207a0000
+20203d25
+20400163
+24740000
+20400160
+24740000
+700b7f01
+700b7e01
+204002b5
+68008b7f
+247a0000
+20400163
+24740000
+20203d2d
+20403e25
+20406dec
+204035d6
+20203480
+78547c00
+204061d9
+68008048
+207a0000
+c283df10
+c00101ac
+c00381b9
+20205ee0
+18007e11
+204061b5
+68008049
+1fe20400
+c00001b4
+c00701b4
+c00e01b4
+20600000
+e0a08000
+6800c702
+e0a08000
+5800000e
+20205fa6
+20406055
+70007264
+20600000
+6800807d
+c00181c8
+c0025c67
+c00381d6
+20205b92
+68008030
+c280ddb5
+680104e2
+1fe3fe00
+1fe67c0f
+24215db5
+20205da4
+680084df
+60008445
+c00c01d4
+c0098308
+c01981ce
+20205c58
+6800844d
+79207e00
+6000844d
+700b7d01
+20407c27
+20205c83
+20403f9e
+20205ccc
+680084df
+60008446
+20205cf3
+20403d61
+20403be2
+20213498
+20403204
+24343498
+20403812
+243a01a1
+20600000
+60088017
+1840a204
+20203a86
+60088017
+1840a200
+20203ab6
+204001e4
+58000500
+20403bf3
+204001ef
+6800cd99
+d8a046d8
+243a01fb
+20200202
+70890601
+7089003c
+708901e0
+70896d12
+2000000a
+70890201
+7089023d
+2000000a
+708903b7
+2000000a
+7089027d
+20600000
+6802cab4
+e0a28000
+e8c28000
+e0a28000
+708956c2
+708955d0
+20600000
+6802cabe
+e0a28000
+e8c28000
+e0a28000
+708956df
+2040020a
+708955df
+20600000
+20000004
+708955d1
+20000004
+708955d2
+20000004
+708955d4
+20000004
+20600000
+708955d4
+20000004
+708955d2
+20000004
+708955d1
+20000004
+708955d0
+708956c0
+20600000
+2030ba6f
+20400212
+20203a6f
+20403a9e
+700b7e00
+70017706
+20403fa4
+58000292
+6001428e
+5800029b
+6001428a
+5800013c
+60014292
+580002b9
+60014290
+58000070
+6001428c
+58000295
+60014288
+58004ae5
+1ff0fe00
+60014bad
+60014baf
+20403e0b
+58004bb1
+1ff0fe00
+60014c79
+60014c7b
+6800ce5b
+c02d024d
+2035824b
+68014da2
+1ff0fe00
+60014da2
+68014da4
+1ff0fe00
+60014da4
+20400259
+680402a0
+243a0247
+68014ad4
+1ff0fe00
+203a0247
+60014da4
+704ce32f
+204000eb
+70828003
+20600000
+704ce330
+20200248
+1ce27e00
+203a02bc
+20405b63
+20404d99
+58000000
+60044040
+600147f4
+58000000
+60014ce4
+60014d93
+704ce333
+20200248
+2040688a
+580007e2
+da2002a0
+d840000c
+204068d3
+2040688d
+680402a0
+207a0000
+6800cda0
+c2800266
+c2808274
+c2810284
+20600000
+680902a4
+680102aa
+18422400
+1fe22200
+1ff0fe00
+60014da4
+1a227e00
+98462600
+1a63a600
+1a427e00
+9a667e00
+1ff0fe00
+60014da2
+20600000
+680902a2
+680102a8
+18422400
+1fe22200
+98462600
+1a6b2600
+1a427e00
+9a667e00
+1ff0fe00
+60014da2
+1a63a600
+1a227e00
+9a667e00
+1ff0fe00
+60014da4
+20600000
+680902a0
+680102a6
+18422400
+1fe22200
+98462600
+1a427e00
+9a667e00
+1ff0fe00
+60014da2
+1a6bfe00
+9a20fe00
+1ff0fe00
+60014da4
+20600000
+2040527c
+247a0000
+20200070
+78347c00
+68120138
+79347e1a
+6012004c
+20403db0
+7000a201
+20600000
+20400163
+24740000
+20400160
+24740000
+700b7f01
+700b7e01
+204002b5
+68008b7f
+247a0000
+20400163
+24740000
+20203d4f
+1a627e00
+20600000
+58000000
+600142a0
+600147f4
+6000c27f
+20203fa6
+70890f36
+70890b5f
+202053d4
+70890f2e
+70890bff
+202053d9
+68008b7e
+2000000a
+c08002b5
+20600000
+20600000
+700b7e03
+204002b5
+704e5b5a
+20403db8
+68120138
+793ffe0f
+6012004c
+20403db0
+d85fffff
+20203cda
+20407c20
+da2047e4
+20407f9f
+1fe20400
+20407c24
+18427e00
+207a0000
+c00082e2
+c00182e5
+20207c5a
+6800807c
+203a02d3
+204061d9
+6800807c
+243a7c8c
+68008b7d
+c584fc87
+c00202d8
+c01402de
+20207c7b
+680147f4
+c30182db
+20207ca4
+58000000
+60020051
+20600000
+70007c37
+68014e5c
+60010051
+20600000
+20403eff
+70017706
+20207c97
+70017706
+6800c7dc
+c00002e9
+70017717
+70425e01
+20207ca2
+204032df
+2422b568
+68008047
+c301b571
+6800c165
+c009b562
+68014aca
+1fe67c14
+24213562
+60010091
+6800cac9
+60008090
+58004acc
+60010179
+20203562
+68010091
+60014aca
+1fe67c14
+2421358f
+98007200
+68008090
+6000cac9
+68010179
+98000c00
+d8a04acc
+20407e45
+2020358f
+20403b36
+20203cdc
+700b7d20
+20407c27
+2020030c
+600a0034
+70474801
+5800ffff
+60010032
+70007301
+20600000
+20403baa
+20400314
+20203267
+1c40c201
+20403a54
+18004803
+20403a42
+20403bae
+20403bb4
+20403bc5
+2020375c
+78547c00
+68010032
+d840ffff
+98467c00
+24628000
+68020034
+20380325
+9d067e00
+20200326
+9c467e00
+1fe67c04
+24610000
+18007e00
+60010032
+78347c00
+20600000
+600c02a0
+20407e53
+680c02a0
+2020307c
+2040527a
+247a0000
+20400334
+20206dfd
+6800c132
+c1008000
+6800c3cd
+207a0000
+1fe22200
+7043cd00
+1a227e00
+c0284ddc
+20600000
+e8c08000
+c0050340
+20204e14
+e8c08000
+1fe20e00
+e8c10000
+1fe22200
+1a627e00
+9a262600
+5800000b
+e0a08000
+18e27e00
+e0a08000
+e8c10000
+c001034e
+c0018355
+20203bf1
+58020008
+e0a30000
+58000200
+e0a20000
+18007e0c
+9a40a400
+20204e20
+5803000c
+e0a30000
+58000006
+e0a40000
+18007e10
+9a40a400
+20204e20
+204052c4
+18002400
+204052d0
+1fe20a00
+680102cd
+1fe22600
+680102cb
+98000c00
+20400366
+20205110
+e8c08000
+c0050369
+20205116
+e8c08000
+1fe20e00
+e8c10000
+1fe22200
+e8c10000
+600102a0
+1a627e00
+9a262600
+204052d0
+5800000b
+e0a08000
+18e27e00
+e0a08000
+680102a0
+2020034b
+680102cb
+1fe20c00
+e8c08000
+1fe1040f
+1ff1fe00
+c004cb18
+c003cb18
+c0050386
+c0028384
+c000cb05
+c0024b18
+20600000
+20400386
+20204b11
+58000003
+6000ccff
+58000002
+e0a08000
+1fe27200
+20407e45
+df200004
+d8c04cff
+204000ed
+704d8702
+20600000
Index: sched/patch.dat
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/sched/patch.dat	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/sched/patch.dat	(working copy)
@@ -0,0 +1,65 @@
+mem_patch00:
+29   #mem_patch00
+04   #mem_patch01
+00   #mem_patch02
+00   #mem_patch03
+80   #mem_patch04
+09   #mem_patch05
+00   #mem_patch06
+00   #mem_patch07
+0c   #mem_patch08
+00   #mem_patch09
+11   #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
+10   #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
+80   #mem_patch20
+00   #mem_patch21
+00   #mem_patch22
+09   #mem_patch23
+18   #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
+48   #mem_patch2D
+00   #mem_patch2E
+00   #mem_patch2F
+80   #mem_patch30
+e0   #mem_patch31
+00   #mem_patch32
+90   #mem_patch33
+00   #mem_patch34
+00   #mem_patch35
+00   #mem_patch36
+00   #mem_patch37
+00   #mem_patch38
+a0   #mem_patch39
+01   #mem_patch3A
+00   #mem_patch3B
+4c   #mem_patch3C
+00   #mem_patch3D
+00   #mem_patch3E
+00   #mem_patch3F
Index: sched/rf.dat
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/sched/rf.dat	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/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
+mem_le_att_list+360:
+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:mem_le_att_list+360
+
+mem_le_att_list+468:
+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: sched/user.dat
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/sched/user.dat	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/sched/user.dat	(working copy)
@@ -0,0 +1,385 @@
+
+
+mem_class: 40 25 00
+
+mem_lap:36 08 22 08 66 22    
+mem_local_name_length:
+'Bluetooth 3.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
+
+#mouse uuid
+mem_mouse_uuid_list:
+#uuids
+04 0011 0100 1002 1124
+
+#handle
+00010000
+
+#total length
+3601aa
+
+#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 3599 3597 0822 2593
+
+# 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)
+26ff00 # 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
+
+050c # Usage Page(Consumer)
+0901 # Usage(Control)
+a101 # Collection(Application)
+8502 # Report ID(2)
+1500 # Logical Minimum(0)
+2501 # Logical Maximum(1)
+7501 # Report Size(1)
+9516 # Report Count(22)
+0ab101 # Usage(433)
+0a2302 # Usage(AC Home)					#01 home
+0aae01 # Usage(virtual keyboard)                        #02
+0a8a01 # Usage(AL Email Reader)                      #03
+0940 # Usage(Menu)						#04 menu
+096f # Usage(Lignt Down)					#05
+0a2102 # Usage(AC Search) 					#06
+09b6 # Usage(Scan Previous Track) 			#07 previous music
+09cd # Usage(205)							#08 start music
+09b5 # Usage(Scan Next Track)				#09 next music
+09e2 # Usage(Mute)						#0a
+09ea # Usage(Volume Down)					#0b
+09e9 # Usage(Volume Up)					#0c
+0930 # Usage(Power)                                         #0d
+0a8301 # Usage(music)                                      #0e
+0a0503 # Usage(773)
+0a0703 # Usage(775)
+0a0803 # Usage(776)
+0a0103 # Usage(769)
+0a9e01 # Usage(AL Terminal Lock/Screensaver)	#13
+0a0a03 # Usage(778)
+#0a0b03 # Usage(779)
+0970 # Usage(Lignt Up)						#15
+8102 # Input(Data Variable Absolute)
+9501 # Report Count(1)
+7502 # Report Size(2)
+8103 # Input(Constant Variable Absolute)
+c0 # End Collection
+
+090207 3508 3506 090409 090100
+09020b 090100
+09020c 091f40
+09020d 2800
+09020e 2801
+09020f 090012
+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
+090a5c
+090202#ProductID
+098502
+090203 090001
+090204 2801
+090205 090002
+
+#attribute end
+00
+
+mem_kb_map_c51:
+14 # 00 q
+2b # 01 tab
+04 # 02 a
+29 # 03 esc
+1d # 04 z
+00
+35 # 06 `
+1e # 07 1
+1a # 08 w
+39 # 09 caps
+16 # 0a s
+00
+1b # 0c x
+00
+3a # 0e f1
+1f # 0f 2
+08 # 10 e
+3c # 11 f3
+07 # 12 d
+3d # 13 f4
+06 # 14 c
+63 # 15 .
+3b # 16 f2
+20 # 17 3
+15 # 18 r
+17 # 19 t
+09 # 1a f
+0a # 1b g
+19 # 1c v
+05 # 1d b
+22 # 1e 5
+21 # 1f 4
+18 # 20 u
+1c # 21 y
+0d # 22 j
+0b # 23 h
+10 # 24 m
+11 # 25 n
+23 # 26 6
+24 # 27 7
+0c # 28 i
+30 # 29 ]
+0e # 2a k
+3f # 2b f6
+36 # 2c ,
+00
+2e # 2e =
+25 # 2f 8
+12 # 30 o
+40 # 31  f7
+0f  # 32 l
+00 # 33
+37 # 34 .
+00 # 35
+41 # 36 f8
+26 # 37 9
+00 # 38
+00 # 39
+00 # 3a
+2c # 3b space
+44 # 3c f11
+51 # 3d down
+4c # 3e delete
+00 # 3f
+00  # 40 
+81  # 41 lshift
+85 # 42 rshift
+00
+00 # 44 
+00
+00 # 46 
+00 # 47  
+00 #48	
+2a #49 bksp
+31 #4a \
+00 # 4b 
+28 # 4c enter
+00 # 4d 
+42 # 4e  f9
+43 #4f f10
+13  #50 p
+2f  # 51 [
+33 # 52 ;
+34 #53 '
+00 #54  
+38 #55 /
+2d #56 
+27 #57 0
+00 #58
+00 # 59 
+80 # 5a  lctrl
+83 #5b lwin
+00 # 5c  
+87 #5d rwin
+00 # 5e 
+45 # 5f  f12
+00 # 60 
+00 # 61 
+00 # 62 
+00 # 63 
+86 # 64 ralt
+00 # 65 
+7f# 66 fn 
+3e # 67  f5
+00 # 68
+82 # 69 lalt
+00 # 6a  
+00 # 6b  
+00
+00  #6d  
+00
+00 # 6f  
+00
+00
+00
+00
+00 # 74  
+00 # 75 
+00 # 76
+00 # 77  
+00 # 78
+00 # 79  
+00 # 7a
+00 # 7b
+00 # 7c
+4f # 7d right
+00 
+00
+00
+00
+00
+52 #83 up
+00
+50 # 85 left      
+#Auto reconnection after power on
+
+memui_uuid_table:mem_mouse_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
+
+
+#2=mouse 4=dongle 6=ukey 7=ir
+mem_lpm_mode:01
+mem_lpm_mult:40
+mem_lpm_mult_timeout:03
+mem_lpm_overhead:08
+mem_lpm_interval:00 02
+mem_scan_mode:00
+
+mem_seqi:80
+
+
+mem_ipc_tx_evt_buff:02 01
+
+mem_kb_ks_col:
+08
+09
+0a
+0b
+0c
+0d
+0e
+11
+12
+13
+14
+15
+16
+17
+18
+19
+1a
+1b
+
+mem_adc_config_flag:01
+mem_adc_channel:30
+mem_adc_0v:9f 3e
+mem_adc_3v:cd 4d
+
+
Index: trans.pl
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/trans.pl	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/trans.pl	(working copy)
@@ -0,0 +1,9 @@
+print "merlinII :";
+for($i=0;$i<=@ARGV-1;$i++) {
+    print $ARGV [$i];
+}
+print "\nfrontline:";
+for ($i=@ARGV;$i>=0;$i--){
+	print $ARGV[$i];
+	}
+print "\n";
Index: util/bytecnt.pl
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/util/bytecnt.pl	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/util/bytecnt.pl	(working copy)
@@ -0,0 +1,12 @@
+while(<stdin>) {
+	next if(/^#/);
+	s/#.*//g;
+	if(/^\'/) {
+		s/[\r\n]//g;
+		$len += length($_) - 1;
+	} else {
+		s/\s//g;
+		$len += length($_)/2;
+	}
+}
+printf "len = %x\n", $len;
Index: util/crc16_ccitt.pl
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/util/crc16_ccitt.pl	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/util/crc16_ccitt.pl	(working copy)
@@ -0,0 +1,61 @@
+sub swap
+{
+	my($b) = @_;
+	my($i, $j);
+	for($i = 0, $j = 0;$i < 8;$i++) {
+		$j |= 1 << $i if($b & 1 << (7 - $i)); 
+	}
+	return $j;
+}
+
+@crc_tabccitt = ();
+$initd = 0;
+sub init_crcccitt_tab
+{
+	my($crc, $i, $c, $j);
+
+  for ($i=0; $i<256; $i++) {
+      $crc = 0;
+      $c   = $i << 8;
+      for ($j=0; $j<8; $j++) {
+          if ( ($crc ^ $c) & 0x8000 ) {	$crc = ( $crc << 1 ) ^ 0x1021;	}
+          else  { $crc =   $crc << 1; }
+          $c = $c << 1;
+      }
+      $crc_tabccitt[$i] = $crc & 0xffff;
+  }
+	$initd = 1;
+}
+
+sub crc16_ccitt 
+
+{
+	my($crc, $c) = @_;
+	my($tmp, $short_c);
+
+	init_crcccitt_tab() if(!$initd);
+  $short_c  = 0x00ff & $c;
+
+  $tmp = ($crc >> 8) ^ $short_c;
+  $crc = (($crc << 8) ^ $crc_tabccitt[$tmp]) & 0xffff;
+
+  return $crc;
+
+} 
+
+sub crc16_ccitt2
+{
+	my($crc, $c) = @_;
+
+  $crc  = ($crc >> 8) | ($crc << 8);
+  $crc ^= $c;
+  $crc ^= ($crc & 0xff) >> 4;
+  $crc ^= $crc << 12;
+  $crc ^= ($crc & 0xff) << 5;
+  $crc &= 0xffff;
+ return $crc;
+}
+
+init_crcccitt_tab();
+
+1;
\ No newline at end of file
Index: util/hex2mif.pl
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/util/hex2mif.pl	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/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: util/ifdef.pl
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/util/ifdef.pl	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/util/ifdef.pl	(working copy)
@@ -0,0 +1,8 @@
+open file, "bt_program23.meta"
+@prog = <file>;
+close file;
+open file, "bt_format.meta"
+@fmt = <file>;
+close file;
+
+
Index: util/memalloc.pl
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/util/memalloc.pl	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/util/memalloc.pl	(working copy)
@@ -0,0 +1,59 @@
+$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++) { 
+	$_ = $f[$i];
+	$start = 1 if(/^\s*memalloc\s*\(\s*$/);
+	$start = 2 if(/^\s*xmemalloc\s*\(\s*$/);
+	$start = 3 if(/^\s*omemalloc\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*$/) {
+			$start = 0;
+			push @omalloc,[@ostr] if(@ostr > 0);
+			@ostr = ();
+		}
+	} else {
+		$sstr .= $_;
+	}
+}
+$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;
Index: util/mergepatch.pl
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/util/mergepatch.pl	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/util/mergepatch.pl	(working copy)
@@ -0,0 +1,48 @@
+$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 =~ /$1 / ? 1 : 0) & $valid[$#valid];
+#			print $_, "\t", @valid;
+		} elsif(/^ifndef\s+(\w+)\s*/) {
+			push @valid, ($defs =~ /$1 / ? 0 : 1) & $valid[$#valid];
+#			print $_, "\t", @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];
+#			print $_, "\t", @valid;
+		} elsif(/^endif/) {
+			printf "%s\nendif without if at line %d\n", $_, $i if($#valid == 0);
+			pop @valid;
+#			print $_, "\t", @valid;
+		} elsif($valid[$#valid]) {
+			if(/^include\s+(.+)\s*/) {
+				open file2, "program/$1";
+				@f2 = <file2>;
+				close file2;
+				splice(@f, $i + 1, 0, @f2);
+			} else {
+				next if(/^\s*bpatch\s+/ && $defs !~ /ROMCODE/);
+				next if(/^\s*set[01] mark_ext_patch/ && $defs !~ /ROMCODE/);
+				print file $_;
+			}
+		}
+	}
+	close file;
+}
+
+parseif("output/bt_program23.meta");
+$fmt = 1;
+parseif("output/bt_format.meta");
+
+
Index: util/rom2mif.pl
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/util/rom2mif.pl	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/util/rom2mif.pl	(working copy)
@@ -0,0 +1,50 @@
+#!/usr/bin/perl
+#perl hex2mif.pl <filename without ext> 
+
+
+$file0 = $file1 = $ARGV[0];
+$file1 =~ s/\.rom/.mif/;
+$wid = 8;
+
+
+
+print ("opening $file0\n");
+open(ifile, "$file0") || die("cannot find $file0 file\n");
+for($l = 0;$val = <ifile>;$l++)
+{
+	if($l == 0)
+	{
+		if(substr($val, 1, 1) !~ /[0-9a-fA-F]/) { $wid = 1; }
+		elsif(substr($val, 2, 1) !~ /[0-9a-fA-F]/) { $wid = 8; }
+		elsif(substr($val, 4, 1) !~ /[0-9a-fA-F]/) { $wid = 16; }
+		else { $wid = 32;	}
+	}
+}
+printf ("width is %d\n", $wid);
+printf ("totally %d words\n", $l);
+seek(ifile, 0, 0);
+open(ofile, ">$file1");
+printf ofile ("DEPTH = %d;\n", $wid == 1 ? $l/8 : $l);
+printf ofile ("WIDTH = %d;\n", $wid == 1 ? 8 : $wid);
+print ofile ("ADDRESS_RADIX = HEX;\n");
+print ofile ("DATA_RADIX = HEX;\n");
+print ofile ("CONTENT\n");
+print ofile ("BEGIN\n");
+for($l = 0, $val1 = 0;$val = <ifile>;$l++)
+{
+	$val =~ s/\n//g;
+	$val0 = hex(substr($val, 0, $wid == 1 ? 1 : $wid/4));
+	if($wid > 1) {
+		printf ofile ("%x : %x;\n", $l, $val0);
+	} elsif($l % 8 == 0 && $l > 0) {
+		printf ofile ("%x : %x;\n", $l/8 - 1, $val1);
+		$val1 = 0;
+	}
+	$val1 |= $val0 << ($l & 7);
+}
+if($wid == 1) { printf ofile ("%x : %x;\n", $l/8 - 1, $val1); }
+print ofile ("END;\n");
+
+close(ifile);
+close(ofile);
+
Index: util/setarg.pl
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/util/setarg.pl	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/util/setarg.pl	(working copy)
@@ -0,0 +1,100 @@
+@dat = @init = ();
+
+sub setarg {
+my ($j, $k, $n);
+for($j = $k = $n = 0;$j < @dat;$j++) {
+        if($dat[$j] =~ /^mem_/ && $j > 0 || $n == 3) {
+                push @init, sprintf "\tsetarg 0x%x\n", $k;
+                push @init, sprintf "\tistore %d,contw\n", $n;
+                $n = $k = 0;
+        }
+        if($dat[$j] =~ /^mem_/) {
+               push @init, sprintf "\targ %s,contw\n", $dat[$j];
+        } else {
+                $k |= $dat[$j] << $n++*8;
+        }
+}
+push @init, sprintf "\tsetarg 0x%x\n", $k;
+push @init, sprintf "\tistore %d,contw\n", $n;
+}
+
+sub setsect {
+my($i,$j,$k,$n);
+
+if($ARGV[1] eq "c51") {
+	push @init, sprintf "ifdef C51\ndownload_pdata:\n\tforce 9,loopcnt\ndownload_pdata_loop:\n\thstore 1,core_docd_pdata\n";
+	push @init, sprintf "\trshift8 pdata,pdata\n\tloop download_pdata_loop\n\trtn\n";
+	push @init, sprintf "download_c51:\n\thjam 5,core_docd_ctrl\n\tforce 0,pdata\n\thstore 2,core_docd_paddr\n";
+}
+for($i = $j = $k = $n = 0;$i < @dat + 2;$i++) {
+	if($i == @dat && $n == 0) {
+		push @init, sprintf "\tsetarg 0x%x\n", $k;
+		if($ARGV[1] eq "c51") {
+                	push @init, sprintf "\tcall download_pdata\n";
+		} else {
+			push @init, sprintf "\tistore %d,contw\n", ($j + 7)/8;
+		}
+		last;
+	}
+	if($i == @dat) {
+		$i = $i;
+	}
+	if($j > 18 || $i == @dat + 1) {
+		push @init, sprintf "\tsetsect %d,0x%x\n", $n,$k & 0x3ffff;
+		if($n == 3 || $i == @dat + 1) {
+			if($ARGV[1] eq "c51") {
+                		push @init, sprintf "\tcall download_pdata\n";
+			} else {
+                		push @init, sprintf "\tistore %d,contw\n", ($n*18 + ($j > 18 ? 18 : $j))/8;
+			}
+			$n = -1;
+		}
+		$k >>= 18;
+		$j -= 18;
+		$n++;
+	}
+	if($i < @dat) {
+		if($dat[$i] =~ /^mem_/) {
+		       push @init, sprintf "\targ %s,contw\n", $dat[$i];
+		} else {
+			$k |= $dat[$i] << $j;
+			$j += 8;
+		}
+	}
+}
+if($ARGV[1] eq "c51") {
+	push @init, sprintf "\thjam 3,core_docd_ctrl\n\trtn\nendif\n";
+}
+}
+
+if(@ARGV == 0) {
+	printf "missing file name\n";
+	exit;
+}
+if(open file, $ARGV[0]) {
+        while(<file>) {
+                next if(/^#/);
+                s/#.*//g;
+                if(/^([a-z0-9_]+):(.*)/) {
+                        push @dat, $1;
+                        $_ = $2;
+                }
+                if(/^\'/) {
+                        s/[\'\r\n]//g;
+                        for($i = 0;$i < length($_);$i++) {
+                                push @dat, ord(substr($_, $i, 1));
+                        }
+                } else {
+                        s/\s//g;
+                        for($i = 0;$i < length($_);$i+=2) {
+                                push @dat, hex(substr($_, $i, 2));
+                        }
+                }
+        }
+        close file;
+}
+
+setsect();
+
+print @init;
+
Index: util/transform_memmap2btreg.pl
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/util/transform_memmap2btreg.pl	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/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: util/transform_name2addr.pl
===================================================================
--- /Branch/keyboard/C51SDK/btkb_checkcode_CZT/util/transform_name2addr.pl	(nonexistent)
+++ /Branch/keyboard/C51SDK/btkb_checkcode_CZT/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);
