; generated by Component: ARM Compiler 5.06 update 6 (build 750) Tool: ArmCC [4d3637]
; commandline ArmCC [--c99 --list --split_sections --debug -c --asm --interleave --gnu -o.\objects\tp_encryptcheckex.o --asm_dir=.\Listings\ --list_dir=.\Listings\ --depend=.\objects\tp_encryptcheckex.d --cpu=Cortex-M0 --apcs=interwork --diag_suppress=9931 -I..\..\src -I..\..\src\board -I..\..\src\common -I..\..\src\sdk\include -I..\..\src\app\demo -I..\..\src\sdk\include\M0 -I..\..\src\app -I..\..\src\app\module_demo -I..\..\src\app\touch -I..\..\src\app\S8 -I..\..\src\app\S9 -I..\CVWL568 -I.\RTE\_ISP_518 -IC:\Users\ASUS\AppData\Local\Arm\Packs\ARM\CMSIS\5.5.1\CMSIS\Core\Include -IC:\Users\ASUS\AppData\Local\Arm\Packs\ARM\CMSIS\5.5.1\Device\ARM\ARMCM0\Include -D__MICROLIB -D__UVISION_VERSION=528 -D_RTE_ -DARMCM0 -DISP_568 --omf_browse=.\objects\tp_encryptcheckex.crf ..\..\src\app\demo\tp_EncryptCheckEx.c]
                          THUMB

                          AREA ||i.EncryptCheckEx||, CODE, READONLY, ALIGN=2

                  EncryptCheckEx PROC
;;;4      
;;;5      uint8_t EncryptCheckEx(uint8_t finger_num, uint8_t k) 
000000  b510              PUSH     {r4,lr}
;;;6      {
;;;7      	if (enctryptCnt > 300)
000002  4b07              LDR      r3,|L1.32|
000004  24ff              MOVS     r4,#0xff
000006  681a              LDR      r2,[r3,#0]  ; enctryptCnt
000008  342d              ADDS     r4,r4,#0x2d
00000a  42a2              CMP      r2,r4
00000c  d807              BHI      |L1.30|
;;;8      	{
;;;9      		return finger_num;
;;;10     	}
;;;11     	else
;;;12     	{
;;;13     		if (finger_num >= k)
00000e  4288              CMP      r0,r1
000010  d302              BCC      |L1.24|
000012  1c52              ADDS     r2,r2,#1
;;;14     		{
;;;15     			enctryptCnt++;
000014  601a              STR      r2,[r3,#0]  ; enctryptCnt
000016  e001              B        |L1.28|
                  |L1.24|
;;;16     		}
;;;17     		else
;;;18     			enctryptCnt = 0;
000018  2000              MOVS     r0,#0
00001a  6018              STR      r0,[r3,#0]  ; enctryptCnt
                  |L1.28|
;;;19     		return 1;
00001c  2001              MOVS     r0,#1
                  |L1.30|
;;;20     	}
;;;21     }
00001e  bd10              POP      {r4,pc}
;;;22     
                          ENDP

                  |L1.32|
                          DCD      ||.data||

                          AREA ||.data||, DATA, ALIGN=2

                  enctryptCnt
                          DCD      0x00000000
