; generated by ARM C/C++ Compiler, 4.1 [Build 894]
; commandline ArmCC [--list --split_sections --debug -c --asm --interleave -o.\STM324xG_EVAL\canny.o --asm_dir=.\STM324xG_EVAL\ --list_dir=.\STM324xG_EVAL\ --depend=.\STM324xG_EVAL\canny.d --cpu=Cortex-M4.fp --apcs=interwork -O0 -Otime -I..\ -I..\..\..\Libraries\CMSIS\Device\ST\STM32F4xx\Include -I..\..\..\Libraries\STM32F4xx_StdPeriph_Driver\inc -I..\..\..\Utilities\STM32_EVAL\Common -I..\..\..\Utilities\STM32_EVAL\STM3240_41_G_EVAL -IC:\Keil\ARM\RV31\Inc -IC:\Keil\ARM\CMSIS\Include -IC:\Keil\ARM\Inc\ST\STM32F4xx -D__MICROLIB -DUSE_STM324xG_EVAL -DSTM32F4XX -DUSE_STDPERIPH_DRIVER --omf_browse=.\STM324xG_EVAL\canny.crf canny.c]
                          THUMB

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

                  B2A PROC
;;;75     
;;;76     void B2A(void)
000000  b510              PUSH     {r4,lr}
;;;77     {int pixel,radek;
;;;78      for (radek = 2; radek < Ymax-2; radek++)
000002  2002              MOVS     r0,#2
000004  e016              B        |L1.52|
                  |L1.6|
;;;79     	  	{ 
;;;80     		
;;;81     		 	for (pixel = 2; pixel < Xmax-2 ; pixel++)
000006  2102              MOVS     r1,#2
000008  e010              B        |L1.44|
                  |L1.10|
;;;82     				{
;;;83     				poleA[pixel][radek] = poleB[pixel][radek];
00000a  eb0102c1          ADD      r2,r1,r1,LSL #3
00000e  eb021201          ADD      r2,r2,r1,LSL #4
000012  4b0a              LDR      r3,|L1.60|
000014  eb0302c2          ADD      r2,r3,r2,LSL #3
000018  5c12              LDRB     r2,[r2,r0]
00001a  eb0103c1          ADD      r3,r1,r1,LSL #3
00001e  eb031301          ADD      r3,r3,r1,LSL #4
000022  4c07              LDR      r4,|L1.64|
000024  eb0403c3          ADD      r3,r4,r3,LSL #3
000028  541a              STRB     r2,[r3,r0]
00002a  1c49              ADDS     r1,r1,#1              ;81
                  |L1.44|
00002c  f5b17f9f          CMP      r1,#0x13e             ;81
000030  dbeb              BLT      |L1.10|
000032  1c40              ADDS     r0,r0,#1              ;78
                  |L1.52|
000034  28c6              CMP      r0,#0xc6              ;78
000036  dbe6              BLT      |L1.6|
;;;84     				}
;;;85     		};
;;;86     
;;;87     }
000038  bd10              POP      {r4,pc}
;;;88     
                          ENDP

00003a  0000              DCW      0x0000
                  |L1.60|
                          DCD      poleB
                  |L1.64|
                          DCD      poleA

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

                  _LevyDolni PROC
;;;62     
;;;63     void _LevyDolni(u16 x, u8 y)
000000  b570              PUSH     {r4-r6,lr}
;;;64     {int i,j;
;;;65     for (i=x-2;i<=x+2;i++)
000002  1e82              SUBS     r2,r0,#2
000004  e00f              B        |L2.38|
                  |L2.6|
;;;66     {
;;;67     for (j = y;j<=y+5;j++)
000006  460b              MOV      r3,r1
000008  e009              B        |L2.30|
                  |L2.10|
;;;68     {
;;;69     poleC[i][j] = 0;
00000a  2400              MOVS     r4,#0
00000c  eb0205c2          ADD      r5,r2,r2,LSL #3
000010  eb051502          ADD      r5,r5,r2,LSL #4
000014  4e0b              LDR      r6,|L2.68|
000016  eb0605c5          ADD      r5,r6,r5,LSL #3
00001a  54ec              STRB     r4,[r5,r3]
00001c  1c5b              ADDS     r3,r3,#1              ;67
                  |L2.30|
00001e  1d4c              ADDS     r4,r1,#5              ;67
000020  42a3              CMP      r3,r4                 ;67
000022  ddf2              BLE      |L2.10|
000024  1c52              ADDS     r2,r2,#1              ;65
                  |L2.38|
000026  1c84              ADDS     r4,r0,#2              ;65
000028  42a2              CMP      r2,r4                 ;65
00002a  ddec              BLE      |L2.6|
;;;70     }
;;;71     }
;;;72     poleC[x][y+2] = LD2;
00002c  2506              MOVS     r5,#6
00002e  eb0004c0          ADD      r4,r0,r0,LSL #3
000032  eb041400          ADD      r4,r4,r0,LSL #4
000036  4e03              LDR      r6,|L2.68|
000038  eb0606c4          ADD      r6,r6,r4,LSL #3
00003c  1c8c              ADDS     r4,r1,#2
00003e  5535              STRB     r5,[r6,r4]
;;;73     }
000040  bd70              POP      {r4-r6,pc}
;;;74     
                          ENDP

000042  0000              DCW      0x0000
                  |L2.68|
                          DCD      poleC

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

                  _LevyHorni PROC
;;;26     
;;;27     void _LevyHorni(u16 x, u8 y)
000000  b570              PUSH     {r4-r6,lr}
;;;28     {int i,j;
;;;29     for (i=x-2;i<=x+2;i++)
000002  1e82              SUBS     r2,r0,#2
000004  e00f              B        |L3.38|
                  |L3.6|
;;;30     {
;;;31     for (j = y;j<=y+5;j++)
000006  460b              MOV      r3,r1
000008  e009              B        |L3.30|
                  |L3.10|
;;;32     {
;;;33     poleC[i][j] = 0;
00000a  2400              MOVS     r4,#0
00000c  eb0205c2          ADD      r5,r2,r2,LSL #3
000010  eb051502          ADD      r5,r5,r2,LSL #4
000014  4e0b              LDR      r6,|L3.68|
000016  eb0605c5          ADD      r5,r6,r5,LSL #3
00001a  54ec              STRB     r4,[r5,r3]
00001c  1c5b              ADDS     r3,r3,#1              ;31
                  |L3.30|
00001e  1d4c              ADDS     r4,r1,#5              ;31
000020  42a3              CMP      r3,r4                 ;31
000022  ddf2              BLE      |L3.10|
000024  1c52              ADDS     r2,r2,#1              ;29
                  |L3.38|
000026  1c84              ADDS     r4,r0,#2              ;29
000028  42a2              CMP      r2,r4                 ;29
00002a  ddec              BLE      |L3.6|
;;;34     }
;;;35     }
;;;36     poleC[x][y+2] = LH2;
00002c  2508              MOVS     r5,#8
00002e  eb0004c0          ADD      r4,r0,r0,LSL #3
000032  eb041400          ADD      r4,r4,r0,LSL #4
000036  4e03              LDR      r6,|L3.68|
000038  eb0606c4          ADD      r6,r6,r4,LSL #3
00003c  1c8c              ADDS     r4,r1,#2
00003e  5535              STRB     r5,[r6,r4]
;;;37     }
000040  bd70              POP      {r4-r6,pc}
;;;38     
                          ENDP

000042  0000              DCW      0x0000
                  |L3.68|
                          DCD      poleC

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

                  _PravyDolni PROC
;;;50     
;;;51     void _PravyDolni(u16 x, u8 y)
000000  b570              PUSH     {r4-r6,lr}
;;;52     {int i,j;
;;;53     for (i=x-2;i<=x+2;i++)
000002  1e82              SUBS     r2,r0,#2
000004  e00f              B        |L4.38|
                  |L4.6|
;;;54     {
;;;55     for (j = y;j<=y+5;j++)
000006  460b              MOV      r3,r1
000008  e009              B        |L4.30|
                  |L4.10|
;;;56     {
;;;57     poleC[i][j] = 0;
00000a  2400              MOVS     r4,#0
00000c  eb0205c2          ADD      r5,r2,r2,LSL #3
000010  eb051502          ADD      r5,r5,r2,LSL #4
000014  4e0b              LDR      r6,|L4.68|
000016  eb0605c5          ADD      r5,r6,r5,LSL #3
00001a  54ec              STRB     r4,[r5,r3]
00001c  1c5b              ADDS     r3,r3,#1              ;55
                  |L4.30|
00001e  1d4c              ADDS     r4,r1,#5              ;55
000020  42a3              CMP      r3,r4                 ;55
000022  ddf2              BLE      |L4.10|
000024  1c52              ADDS     r2,r2,#1              ;53
                  |L4.38|
000026  1c84              ADDS     r4,r0,#2              ;53
000028  42a2              CMP      r2,r4                 ;53
00002a  ddec              BLE      |L4.6|
;;;58     }
;;;59     }
;;;60     poleC[x][y+2] = PD2;
00002c  2505              MOVS     r5,#5
00002e  eb0004c0          ADD      r4,r0,r0,LSL #3
000032  eb041400          ADD      r4,r4,r0,LSL #4
000036  4e03              LDR      r6,|L4.68|
000038  eb0606c4          ADD      r6,r6,r4,LSL #3
00003c  1c8c              ADDS     r4,r1,#2
00003e  5535              STRB     r5,[r6,r4]
;;;61     }
000040  bd70              POP      {r4-r6,pc}
;;;62     
                          ENDP

000042  0000              DCW      0x0000
                  |L4.68|
                          DCD      poleC

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

                  _PravyHorni PROC
;;;38     
;;;39     void _PravyHorni(u16 x, u8 y)
000000  b570              PUSH     {r4-r6,lr}
;;;40     {int i,j;
;;;41     for (i=x-2;i<=x+2;i++)
000002  1e82              SUBS     r2,r0,#2
000004  e00f              B        |L5.38|
                  |L5.6|
;;;42     {
;;;43     for (j = y;j<=y+5;j++)
000006  460b              MOV      r3,r1
000008  e009              B        |L5.30|
                  |L5.10|
;;;44     {
;;;45     poleC[i][j] = 0;
00000a  2400              MOVS     r4,#0
00000c  eb0205c2          ADD      r5,r2,r2,LSL #3
000010  eb051502          ADD      r5,r5,r2,LSL #4
000014  4e0b              LDR      r6,|L5.68|
000016  eb0605c5          ADD      r5,r6,r5,LSL #3
00001a  54ec              STRB     r4,[r5,r3]
00001c  1c5b              ADDS     r3,r3,#1              ;43
                  |L5.30|
00001e  1d4c              ADDS     r4,r1,#5              ;43
000020  42a3              CMP      r3,r4                 ;43
000022  ddf2              BLE      |L5.10|
000024  1c52              ADDS     r2,r2,#1              ;41
                  |L5.38|
000026  1c84              ADDS     r4,r0,#2              ;41
000028  42a2              CMP      r2,r4                 ;41
00002a  ddec              BLE      |L5.6|
;;;46     }
;;;47     }
;;;48     poleC[x][y+2] = PH2;
00002c  2507              MOVS     r5,#7
00002e  eb0004c0          ADD      r4,r0,r0,LSL #3
000032  eb041400          ADD      r4,r4,r0,LSL #4
000036  4e03              LDR      r6,|L5.68|
000038  eb0606c4          ADD      r6,r6,r4,LSL #3
00003c  1c8c              ADDS     r4,r1,#2
00003e  5535              STRB     r5,[r6,r4]
;;;49     }
000040  bd70              POP      {r4-r6,pc}
;;;50     
                          ENDP

000042  0000              DCW      0x0000
                  |L5.68|
                          DCD      poleC

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

                  borders PROC
;;;240    
;;;241    void borders (void)
000000  b530              PUSH     {r4,r5,lr}
;;;242    {int pixel,radek;
;;;243    
;;;244      for (radek = 0; radek < Ymax-2; radek++)		
000002  2400              MOVS     r4,#0
000004  e019              B        |L6.58|
                  |L6.6|
;;;245    	{	for (pixel = 0; pixel < Xmax-2 ; pixel++)
000006  2500              MOVS     r5,#0
000008  e013              B        |L6.50|
                  |L6.10|
;;;246    				{if(poleA[pixel][radek]!= 63) poleA[pixel][radek]=0;}}
00000a  eb0500c5          ADD      r0,r5,r5,LSL #3
00000e  eb001005          ADD      r0,r0,r5,LSL #4
000012  49fe              LDR      r1,|L6.1036|
000014  eb0100c0          ADD      r0,r1,r0,LSL #3
000018  5d00              LDRB     r0,[r0,r4]
00001a  283f              CMP      r0,#0x3f
00001c  d008              BEQ      |L6.48|
00001e  2000              MOVS     r0,#0
000020  eb0501c5          ADD      r1,r5,r5,LSL #3
000024  eb011105          ADD      r1,r1,r5,LSL #4
000028  4af8              LDR      r2,|L6.1036|
00002a  eb0201c1          ADD      r1,r2,r1,LSL #3
00002e  5508              STRB     r0,[r1,r4]
                  |L6.48|
000030  1c6d              ADDS     r5,r5,#1              ;245
                  |L6.50|
000032  f5b57f9f          CMP      r5,#0x13e             ;245
000036  dbe8              BLT      |L6.10|
000038  1c64              ADDS     r4,r4,#1              ;244
                  |L6.58|
00003a  2cc6              CMP      r4,#0xc6              ;244
00003c  dbe3              BLT      |L6.6|
;;;247    
;;;248    
;;;249       	 	for (radek = 2; radek < Ymax-2; radek++)	
00003e  2402              MOVS     r4,#2
000040  e215              B        |L6.1134|
                  |L6.66|
;;;250    	  	{ 
;;;251    		
;;;252    		 	for (pixel = 2; pixel < Xmax-2 ; pixel++)
000042  2502              MOVS     r5,#2
000044  e20e              B        |L6.1124|
                  |L6.70|
;;;253    			{	poleC[pixel][radek] = 0;
000046  2000              MOVS     r0,#0
000048  eb0501c5          ADD      r1,r5,r5,LSL #3
00004c  eb011105          ADD      r1,r1,r5,LSL #4
000050  4aef              LDR      r2,|L6.1040|
000052  eb0201c1          ADD      r1,r2,r1,LSL #3
000056  5508              STRB     r0,[r1,r4]
;;;254    				// levy horni roh
;;;255          			if((poleA[pixel][radek]==63)&&(poleA[pixel][radek+1]==63)&&(poleA[pixel][radek+2]==63)&&(poleA[pixel][radek+3]==63)&&(poleA[pixel][radek+4]==63)&&(poleA[pixel][radek+5]==63)&&(poleA[pixel+1][radek]==63)&&(poleA[pixel+2][radek]==63)&&(poleA[pixel+3][radek]==63)&&(poleA[pixel+4][radek]==63)&&(poleA[pixel+5][radek]==63))
000058  eb0500c5          ADD      r0,r5,r5,LSL #3
00005c  eb001005          ADD      r0,r0,r5,LSL #4
000060  49ea              LDR      r1,|L6.1036|
000062  eb0100c0          ADD      r0,r1,r0,LSL #3
000066  5d00              LDRB     r0,[r0,r4]
000068  283f              CMP      r0,#0x3f
00006a  d174              BNE      |L6.342|
00006c  eb0500c5          ADD      r0,r5,r5,LSL #3
000070  eb001005          ADD      r0,r0,r5,LSL #4
000074  eb0101c0          ADD      r1,r1,r0,LSL #3
000078  1c60              ADDS     r0,r4,#1
00007a  5c08              LDRB     r0,[r1,r0]
00007c  283f              CMP      r0,#0x3f
00007e  d16a              BNE      |L6.342|
000080  eb0500c5          ADD      r0,r5,r5,LSL #3
000084  eb001005          ADD      r0,r0,r5,LSL #4
000088  49e0              LDR      r1,|L6.1036|
00008a  eb0101c0          ADD      r1,r1,r0,LSL #3
00008e  1ca0              ADDS     r0,r4,#2
000090  5c08              LDRB     r0,[r1,r0]
000092  283f              CMP      r0,#0x3f
000094  d15f              BNE      |L6.342|
000096  eb0500c5          ADD      r0,r5,r5,LSL #3
00009a  eb001005          ADD      r0,r0,r5,LSL #4
00009e  49db              LDR      r1,|L6.1036|
0000a0  eb0101c0          ADD      r1,r1,r0,LSL #3
0000a4  1ce0              ADDS     r0,r4,#3
0000a6  5c08              LDRB     r0,[r1,r0]
0000a8  283f              CMP      r0,#0x3f
0000aa  d154              BNE      |L6.342|
0000ac  eb0500c5          ADD      r0,r5,r5,LSL #3
0000b0  eb001005          ADD      r0,r0,r5,LSL #4
0000b4  49d5              LDR      r1,|L6.1036|
0000b6  eb0101c0          ADD      r1,r1,r0,LSL #3
0000ba  1d20              ADDS     r0,r4,#4
0000bc  5c08              LDRB     r0,[r1,r0]
0000be  283f              CMP      r0,#0x3f
0000c0  d149              BNE      |L6.342|
0000c2  eb0500c5          ADD      r0,r5,r5,LSL #3
0000c6  eb001005          ADD      r0,r0,r5,LSL #4
0000ca  49d0              LDR      r1,|L6.1036|
0000cc  eb0101c0          ADD      r1,r1,r0,LSL #3
0000d0  1d60              ADDS     r0,r4,#5
0000d2  5c08              LDRB     r0,[r1,r0]
0000d4  283f              CMP      r0,#0x3f
0000d6  d13e              BNE      |L6.342|
0000d8  1c68              ADDS     r0,r5,#1
0000da  eb0001c0          ADD      r1,r0,r0,LSL #3
0000de  eb011000          ADD      r0,r1,r0,LSL #4
0000e2  49ca              LDR      r1,|L6.1036|
0000e4  eb0100c0          ADD      r0,r1,r0,LSL #3
0000e8  5d00              LDRB     r0,[r0,r4]
0000ea  283f              CMP      r0,#0x3f
0000ec  d133              BNE      |L6.342|
0000ee  1ca8              ADDS     r0,r5,#2
0000f0  eb0001c0          ADD      r1,r0,r0,LSL #3
0000f4  eb011000          ADD      r0,r1,r0,LSL #4
0000f8  49c4              LDR      r1,|L6.1036|
0000fa  eb0100c0          ADD      r0,r1,r0,LSL #3
0000fe  5d00              LDRB     r0,[r0,r4]
000100  283f              CMP      r0,#0x3f
000102  d128              BNE      |L6.342|
000104  1ce8              ADDS     r0,r5,#3
000106  eb0001c0          ADD      r1,r0,r0,LSL #3
00010a  eb011000          ADD      r0,r1,r0,LSL #4
00010e  49bf              LDR      r1,|L6.1036|
000110  eb0100c0          ADD      r0,r1,r0,LSL #3
000114  5d00              LDRB     r0,[r0,r4]
000116  283f              CMP      r0,#0x3f
000118  d11d              BNE      |L6.342|
00011a  1d28              ADDS     r0,r5,#4
00011c  eb0001c0          ADD      r1,r0,r0,LSL #3
000120  eb011000          ADD      r0,r1,r0,LSL #4
000124  49b9              LDR      r1,|L6.1036|
000126  eb0100c0          ADD      r0,r1,r0,LSL #3
00012a  5d00              LDRB     r0,[r0,r4]
00012c  283f              CMP      r0,#0x3f
00012e  d112              BNE      |L6.342|
000130  1d68              ADDS     r0,r5,#5
000132  eb0001c0          ADD      r1,r0,r0,LSL #3
000136  eb011000          ADD      r0,r1,r0,LSL #4
00013a  49b4              LDR      r1,|L6.1036|
00013c  eb0100c0          ADD      r0,r1,r0,LSL #3
000140  5d00              LDRB     r0,[r0,r4]
000142  283f              CMP      r0,#0x3f
000144  d107              BNE      |L6.342|
;;;256    					poleC[pixel][radek] = LevyHorni;
000146  2001              MOVS     r0,#1
000148  eb0501c5          ADD      r1,r5,r5,LSL #3
00014c  eb011105          ADD      r1,r1,r5,LSL #4
000150  eb0201c1          ADD      r1,r2,r1,LSL #3
000154  5508              STRB     r0,[r1,r4]
                  |L6.342|
;;;257    						
;;;258    					// levy dolni roh
;;;259          			if((poleA[pixel][radek]==63)&&(poleA[pixel][radek-1]==63)&&(poleA[pixel][radek-2]==63)&&(poleA[pixel][radek-3]==63)&&(poleA[pixel][radek-4]==63)&&(poleA[pixel][radek-5]==63)&&(poleA[pixel+1][radek]==63)&&(poleA[pixel+2][radek]==63)&&(poleA[pixel+3][radek]==63)&&(poleA[pixel+4][radek]==63)&&(poleA[pixel+5][radek]==63))
000156  eb0500c5          ADD      r0,r5,r5,LSL #3
00015a  eb001005          ADD      r0,r0,r5,LSL #4
00015e  49ab              LDR      r1,|L6.1036|
000160  eb0100c0          ADD      r0,r1,r0,LSL #3
000164  5d00              LDRB     r0,[r0,r4]
000166  283f              CMP      r0,#0x3f
000168  d175              BNE      |L6.598|
00016a  eb0500c5          ADD      r0,r5,r5,LSL #3
00016e  eb001005          ADD      r0,r0,r5,LSL #4
000172  eb0101c0          ADD      r1,r1,r0,LSL #3
000176  1e60              SUBS     r0,r4,#1
000178  5c08              LDRB     r0,[r1,r0]
00017a  283f              CMP      r0,#0x3f
00017c  d16b              BNE      |L6.598|
00017e  eb0500c5          ADD      r0,r5,r5,LSL #3
000182  eb001005          ADD      r0,r0,r5,LSL #4
000186  49a1              LDR      r1,|L6.1036|
000188  eb0101c0          ADD      r1,r1,r0,LSL #3
00018c  1ea0              SUBS     r0,r4,#2
00018e  5c08              LDRB     r0,[r1,r0]
000190  283f              CMP      r0,#0x3f
000192  d160              BNE      |L6.598|
000194  eb0500c5          ADD      r0,r5,r5,LSL #3
000198  eb001005          ADD      r0,r0,r5,LSL #4
00019c  499b              LDR      r1,|L6.1036|
00019e  eb0101c0          ADD      r1,r1,r0,LSL #3
0001a2  1ee0              SUBS     r0,r4,#3
0001a4  5c08              LDRB     r0,[r1,r0]
0001a6  283f              CMP      r0,#0x3f
0001a8  d155              BNE      |L6.598|
0001aa  eb0500c5          ADD      r0,r5,r5,LSL #3
0001ae  eb001005          ADD      r0,r0,r5,LSL #4
0001b2  4996              LDR      r1,|L6.1036|
0001b4  eb0101c0          ADD      r1,r1,r0,LSL #3
0001b8  1f20              SUBS     r0,r4,#4
0001ba  5c08              LDRB     r0,[r1,r0]
0001bc  283f              CMP      r0,#0x3f
0001be  d14a              BNE      |L6.598|
0001c0  eb0500c5          ADD      r0,r5,r5,LSL #3
0001c4  eb001005          ADD      r0,r0,r5,LSL #4
0001c8  4990              LDR      r1,|L6.1036|
0001ca  eb0101c0          ADD      r1,r1,r0,LSL #3
0001ce  1f60              SUBS     r0,r4,#5
0001d0  5c08              LDRB     r0,[r1,r0]
0001d2  283f              CMP      r0,#0x3f
0001d4  d13f              BNE      |L6.598|
0001d6  1c68              ADDS     r0,r5,#1
0001d8  eb0001c0          ADD      r1,r0,r0,LSL #3
0001dc  eb011000          ADD      r0,r1,r0,LSL #4
0001e0  498a              LDR      r1,|L6.1036|
0001e2  eb0100c0          ADD      r0,r1,r0,LSL #3
0001e6  5d00              LDRB     r0,[r0,r4]
0001e8  283f              CMP      r0,#0x3f
0001ea  d134              BNE      |L6.598|
0001ec  1ca8              ADDS     r0,r5,#2
0001ee  eb0001c0          ADD      r1,r0,r0,LSL #3
0001f2  eb011000          ADD      r0,r1,r0,LSL #4
0001f6  4985              LDR      r1,|L6.1036|
0001f8  eb0100c0          ADD      r0,r1,r0,LSL #3
0001fc  5d00              LDRB     r0,[r0,r4]
0001fe  283f              CMP      r0,#0x3f
000200  d129              BNE      |L6.598|
000202  1ce8              ADDS     r0,r5,#3
000204  eb0001c0          ADD      r1,r0,r0,LSL #3
000208  eb011000          ADD      r0,r1,r0,LSL #4
00020c  497f              LDR      r1,|L6.1036|
00020e  eb0100c0          ADD      r0,r1,r0,LSL #3
000212  5d00              LDRB     r0,[r0,r4]
000214  283f              CMP      r0,#0x3f
000216  d11e              BNE      |L6.598|
000218  1d28              ADDS     r0,r5,#4
00021a  eb0001c0          ADD      r1,r0,r0,LSL #3
00021e  eb011000          ADD      r0,r1,r0,LSL #4
000222  497a              LDR      r1,|L6.1036|
000224  eb0100c0          ADD      r0,r1,r0,LSL #3
000228  5d00              LDRB     r0,[r0,r4]
00022a  283f              CMP      r0,#0x3f
00022c  d113              BNE      |L6.598|
00022e  1d68              ADDS     r0,r5,#5
000230  eb0001c0          ADD      r1,r0,r0,LSL #3
000234  eb011000          ADD      r0,r1,r0,LSL #4
000238  4974              LDR      r1,|L6.1036|
00023a  eb0100c0          ADD      r0,r1,r0,LSL #3
00023e  5d00              LDRB     r0,[r0,r4]
000240  283f              CMP      r0,#0x3f
000242  d108              BNE      |L6.598|
;;;260    						poleC[pixel][radek] = LevyDolni;
000244  2003              MOVS     r0,#3
000246  eb0501c5          ADD      r1,r5,r5,LSL #3
00024a  eb011105          ADD      r1,r1,r5,LSL #4
00024e  4a70              LDR      r2,|L6.1040|
000250  eb0201c1          ADD      r1,r2,r1,LSL #3
000254  5508              STRB     r0,[r1,r4]
                  |L6.598|
;;;261    					
;;;262    				 // pravy dolni roh
;;;263          			if((poleA[pixel][radek]==63)&&(poleA[pixel][radek-1]==63)&&(poleA[pixel][radek-2]==63)&&(poleA[pixel][radek-3]==63)&&(poleA[pixel][radek-4]==63)&&(poleA[pixel][radek-5]==63)&&(poleA[pixel-1][radek]==63)&&(poleA[pixel-2][radek]==63)&&(poleA[pixel-3][radek]==63)&&(poleA[pixel-4][radek]==63)&&(poleA[pixel-5][radek]==63))
000256  eb0500c5          ADD      r0,r5,r5,LSL #3
00025a  eb001005          ADD      r0,r0,r5,LSL #4
00025e  496b              LDR      r1,|L6.1036|
000260  eb0100c0          ADD      r0,r1,r0,LSL #3
000264  5d00              LDRB     r0,[r0,r4]
000266  283f              CMP      r0,#0x3f
000268  d175              BNE      |L6.854|
00026a  eb0500c5          ADD      r0,r5,r5,LSL #3
00026e  eb001005          ADD      r0,r0,r5,LSL #4
000272  eb0101c0          ADD      r1,r1,r0,LSL #3
000276  1e60              SUBS     r0,r4,#1
000278  5c08              LDRB     r0,[r1,r0]
00027a  283f              CMP      r0,#0x3f
00027c  d16b              BNE      |L6.854|
00027e  eb0500c5          ADD      r0,r5,r5,LSL #3
000282  eb001005          ADD      r0,r0,r5,LSL #4
000286  4961              LDR      r1,|L6.1036|
000288  eb0101c0          ADD      r1,r1,r0,LSL #3
00028c  1ea0              SUBS     r0,r4,#2
00028e  5c08              LDRB     r0,[r1,r0]
000290  283f              CMP      r0,#0x3f
000292  d160              BNE      |L6.854|
000294  eb0500c5          ADD      r0,r5,r5,LSL #3
000298  eb001005          ADD      r0,r0,r5,LSL #4
00029c  495b              LDR      r1,|L6.1036|
00029e  eb0101c0          ADD      r1,r1,r0,LSL #3
0002a2  1ee0              SUBS     r0,r4,#3
0002a4  5c08              LDRB     r0,[r1,r0]
0002a6  283f              CMP      r0,#0x3f
0002a8  d155              BNE      |L6.854|
0002aa  eb0500c5          ADD      r0,r5,r5,LSL #3
0002ae  eb001005          ADD      r0,r0,r5,LSL #4
0002b2  4956              LDR      r1,|L6.1036|
0002b4  eb0101c0          ADD      r1,r1,r0,LSL #3
0002b8  1f20              SUBS     r0,r4,#4
0002ba  5c08              LDRB     r0,[r1,r0]
0002bc  283f              CMP      r0,#0x3f
0002be  d14a              BNE      |L6.854|
0002c0  eb0500c5          ADD      r0,r5,r5,LSL #3
0002c4  eb001005          ADD      r0,r0,r5,LSL #4
0002c8  4950              LDR      r1,|L6.1036|
0002ca  eb0101c0          ADD      r1,r1,r0,LSL #3
0002ce  1f60              SUBS     r0,r4,#5
0002d0  5c08              LDRB     r0,[r1,r0]
0002d2  283f              CMP      r0,#0x3f
0002d4  d13f              BNE      |L6.854|
0002d6  1e68              SUBS     r0,r5,#1
0002d8  eb0001c0          ADD      r1,r0,r0,LSL #3
0002dc  eb011000          ADD      r0,r1,r0,LSL #4
0002e0  494a              LDR      r1,|L6.1036|
0002e2  eb0100c0          ADD      r0,r1,r0,LSL #3
0002e6  5d00              LDRB     r0,[r0,r4]
0002e8  283f              CMP      r0,#0x3f
0002ea  d134              BNE      |L6.854|
0002ec  1ea8              SUBS     r0,r5,#2
0002ee  eb0001c0          ADD      r1,r0,r0,LSL #3
0002f2  eb011000          ADD      r0,r1,r0,LSL #4
0002f6  4945              LDR      r1,|L6.1036|
0002f8  eb0100c0          ADD      r0,r1,r0,LSL #3
0002fc  5d00              LDRB     r0,[r0,r4]
0002fe  283f              CMP      r0,#0x3f
000300  d129              BNE      |L6.854|
000302  1ee8              SUBS     r0,r5,#3
000304  eb0001c0          ADD      r1,r0,r0,LSL #3
000308  eb011000          ADD      r0,r1,r0,LSL #4
00030c  493f              LDR      r1,|L6.1036|
00030e  eb0100c0          ADD      r0,r1,r0,LSL #3
000312  5d00              LDRB     r0,[r0,r4]
000314  283f              CMP      r0,#0x3f
000316  d11e              BNE      |L6.854|
000318  1f28              SUBS     r0,r5,#4
00031a  eb0001c0          ADD      r1,r0,r0,LSL #3
00031e  eb011000          ADD      r0,r1,r0,LSL #4
000322  493a              LDR      r1,|L6.1036|
000324  eb0100c0          ADD      r0,r1,r0,LSL #3
000328  5d00              LDRB     r0,[r0,r4]
00032a  283f              CMP      r0,#0x3f
00032c  d113              BNE      |L6.854|
00032e  1f68              SUBS     r0,r5,#5
000330  eb0001c0          ADD      r1,r0,r0,LSL #3
000334  eb011000          ADD      r0,r1,r0,LSL #4
000338  4934              LDR      r1,|L6.1036|
00033a  eb0100c0          ADD      r0,r1,r0,LSL #3
00033e  5d00              LDRB     r0,[r0,r4]
000340  283f              CMP      r0,#0x3f
000342  d108              BNE      |L6.854|
;;;264    						poleC[pixel][radek] = PravyDolni;
000344  2004              MOVS     r0,#4
000346  eb0501c5          ADD      r1,r5,r5,LSL #3
00034a  eb011105          ADD      r1,r1,r5,LSL #4
00034e  4a30              LDR      r2,|L6.1040|
000350  eb0201c1          ADD      r1,r2,r1,LSL #3
000354  5508              STRB     r0,[r1,r4]
                  |L6.854|
;;;265    					   
;;;266    					// pravy horni roh
;;;267          			if((poleA[pixel][radek]==63)&&(poleA[pixel][radek+1]==63)&&(poleA[pixel][radek+2]==63)&&(poleA[pixel][radek+3]==63)&&(poleA[pixel][radek+4]==63)&&(poleA[pixel][radek+5]==63)&&(poleA[pixel-1][radek]==63)&&(poleA[pixel-2][radek]==63)&&(poleA[pixel-3][radek]==63)&&(poleA[pixel-4][radek]==63)&&(poleA[pixel-5][radek]==63))
000356  eb0500c5          ADD      r0,r5,r5,LSL #3
00035a  eb001005          ADD      r0,r0,r5,LSL #4
00035e  492b              LDR      r1,|L6.1036|
000360  eb0100c0          ADD      r0,r1,r0,LSL #3
000364  5d00              LDRB     r0,[r0,r4]
000366  283f              CMP      r0,#0x3f
000368  d17b              BNE      |L6.1122|
00036a  eb0500c5          ADD      r0,r5,r5,LSL #3
00036e  eb001005          ADD      r0,r0,r5,LSL #4
000372  eb0101c0          ADD      r1,r1,r0,LSL #3
000376  1c60              ADDS     r0,r4,#1
000378  5c08              LDRB     r0,[r1,r0]
00037a  283f              CMP      r0,#0x3f
00037c  d171              BNE      |L6.1122|
00037e  eb0500c5          ADD      r0,r5,r5,LSL #3
000382  eb001005          ADD      r0,r0,r5,LSL #4
000386  4921              LDR      r1,|L6.1036|
000388  eb0101c0          ADD      r1,r1,r0,LSL #3
00038c  1ca0              ADDS     r0,r4,#2
00038e  5c08              LDRB     r0,[r1,r0]
000390  283f              CMP      r0,#0x3f
000392  d166              BNE      |L6.1122|
000394  eb0500c5          ADD      r0,r5,r5,LSL #3
000398  eb001005          ADD      r0,r0,r5,LSL #4
00039c  491b              LDR      r1,|L6.1036|
00039e  eb0101c0          ADD      r1,r1,r0,LSL #3
0003a2  1ce0              ADDS     r0,r4,#3
0003a4  5c08              LDRB     r0,[r1,r0]
0003a6  283f              CMP      r0,#0x3f
0003a8  d15b              BNE      |L6.1122|
0003aa  eb0500c5          ADD      r0,r5,r5,LSL #3
0003ae  eb001005          ADD      r0,r0,r5,LSL #4
0003b2  4916              LDR      r1,|L6.1036|
0003b4  eb0101c0          ADD      r1,r1,r0,LSL #3
0003b8  1d20              ADDS     r0,r4,#4
0003ba  5c08              LDRB     r0,[r1,r0]
0003bc  283f              CMP      r0,#0x3f
0003be  d150              BNE      |L6.1122|
0003c0  eb0500c5          ADD      r0,r5,r5,LSL #3
0003c4  eb001005          ADD      r0,r0,r5,LSL #4
0003c8  4910              LDR      r1,|L6.1036|
0003ca  eb0101c0          ADD      r1,r1,r0,LSL #3
0003ce  1d60              ADDS     r0,r4,#5
0003d0  5c08              LDRB     r0,[r1,r0]
0003d2  283f              CMP      r0,#0x3f
0003d4  d145              BNE      |L6.1122|
0003d6  1e68              SUBS     r0,r5,#1
0003d8  eb0001c0          ADD      r1,r0,r0,LSL #3
0003dc  eb011000          ADD      r0,r1,r0,LSL #4
0003e0  490a              LDR      r1,|L6.1036|
0003e2  eb0100c0          ADD      r0,r1,r0,LSL #3
0003e6  5d00              LDRB     r0,[r0,r4]
0003e8  283f              CMP      r0,#0x3f
0003ea  d13a              BNE      |L6.1122|
0003ec  1ea8              SUBS     r0,r5,#2
0003ee  eb0001c0          ADD      r1,r0,r0,LSL #3
0003f2  eb011000          ADD      r0,r1,r0,LSL #4
0003f6  4905              LDR      r1,|L6.1036|
0003f8  eb0100c0          ADD      r0,r1,r0,LSL #3
0003fc  5d00              LDRB     r0,[r0,r4]
0003fe  283f              CMP      r0,#0x3f
000400  d12f              BNE      |L6.1122|
000402  1ee8              SUBS     r0,r5,#3
000404  eb0001c0          ADD      r1,r0,r0,LSL #3
000408  e004              B        |L6.1044|
00040a  0000              DCW      0x0000
                  |L6.1036|
                          DCD      poleA
                  |L6.1040|
                          DCD      poleC
                  |L6.1044|
000414  eb011000          ADD      r0,r1,r0,LSL #4
000418  4938              LDR      r1,|L6.1276|
00041a  eb0100c0          ADD      r0,r1,r0,LSL #3
00041e  5d00              LDRB     r0,[r0,r4]
000420  283f              CMP      r0,#0x3f
000422  d11e              BNE      |L6.1122|
000424  1f28              SUBS     r0,r5,#4
000426  eb0001c0          ADD      r1,r0,r0,LSL #3
00042a  eb011000          ADD      r0,r1,r0,LSL #4
00042e  4933              LDR      r1,|L6.1276|
000430  eb0100c0          ADD      r0,r1,r0,LSL #3
000434  5d00              LDRB     r0,[r0,r4]
000436  283f              CMP      r0,#0x3f
000438  d113              BNE      |L6.1122|
00043a  1f68              SUBS     r0,r5,#5
00043c  eb0001c0          ADD      r1,r0,r0,LSL #3
000440  eb011000          ADD      r0,r1,r0,LSL #4
000444  492d              LDR      r1,|L6.1276|
000446  eb0100c0          ADD      r0,r1,r0,LSL #3
00044a  5d00              LDRB     r0,[r0,r4]
00044c  283f              CMP      r0,#0x3f
00044e  d108              BNE      |L6.1122|
;;;268    						poleC[pixel][radek] = PravyHorni;
000450  2002              MOVS     r0,#2
000452  eb0501c5          ADD      r1,r5,r5,LSL #3
000456  eb011105          ADD      r1,r1,r5,LSL #4
00045a  4a29              LDR      r2,|L6.1280|
00045c  eb0201c1          ADD      r1,r2,r1,LSL #3
000460  5508              STRB     r0,[r1,r4]
                  |L6.1122|
000462  1c6d              ADDS     r5,r5,#1              ;252
                  |L6.1124|
000464  f5b57f9f          CMP      r5,#0x13e             ;252
000468  f6ffaded          BLT      |L6.70|
00046c  1c64              ADDS     r4,r4,#1              ;249
                  |L6.1134|
00046e  2cc6              CMP      r4,#0xc6              ;249
000470  f6ffade7          BLT      |L6.66|
;;;269    					 
;;;270    			}
;;;271      		}
;;;272    
;;;273    				 	for (radek = 2; radek < Ymax-2; radek++)	
000474  2402              MOVS     r4,#2
000476  e03e              B        |L6.1270|
                  |L6.1144|
;;;274    	  	{ 
;;;275    				 	for (pixel = 2; pixel < Xmax-2 ; pixel++)
000478  2502              MOVS     r5,#2
00047a  e038              B        |L6.1262|
                  |L6.1148|
;;;276    					 {	 if(poleC[pixel][radek] == LevyHorni)
00047c  eb0500c5          ADD      r0,r5,r5,LSL #3
000480  eb001005          ADD      r0,r0,r5,LSL #4
000484  491e              LDR      r1,|L6.1280|
000486  eb0100c0          ADD      r0,r1,r0,LSL #3
00048a  5d00              LDRB     r0,[r0,r4]
00048c  2801              CMP      r0,#1
00048e  d103              BNE      |L6.1176|
;;;277    					   _LevyHorni(pixel,radek);
000490  b2e1              UXTB     r1,r4
000492  b2a8              UXTH     r0,r5
000494  f7fffffe          BL       _LevyHorni
                  |L6.1176|
;;;278    		
;;;279    						if(poleC[pixel][radek] == PravyHorni)
000498  eb0500c5          ADD      r0,r5,r5,LSL #3
00049c  eb001005          ADD      r0,r0,r5,LSL #4
0004a0  4917              LDR      r1,|L6.1280|
0004a2  eb0100c0          ADD      r0,r1,r0,LSL #3
0004a6  5d00              LDRB     r0,[r0,r4]
0004a8  2802              CMP      r0,#2
0004aa  d103              BNE      |L6.1204|
;;;280    					   _PravyHorni(pixel,radek);
0004ac  b2e1              UXTB     r1,r4
0004ae  b2a8              UXTH     r0,r5
0004b0  f7fffffe          BL       _PravyHorni
                  |L6.1204|
;;;281    
;;;282    					   if(poleC[pixel][radek] == LevyDolni)
0004b4  eb0500c5          ADD      r0,r5,r5,LSL #3
0004b8  eb001005          ADD      r0,r0,r5,LSL #4
0004bc  4910              LDR      r1,|L6.1280|
0004be  eb0100c0          ADD      r0,r1,r0,LSL #3
0004c2  5d00              LDRB     r0,[r0,r4]
0004c4  2803              CMP      r0,#3
0004c6  d103              BNE      |L6.1232|
;;;283    					   _LevyDolni(pixel,radek);
0004c8  b2e1              UXTB     r1,r4
0004ca  b2a8              UXTH     r0,r5
0004cc  f7fffffe          BL       _LevyDolni
                  |L6.1232|
;;;284    
;;;285    					   if(poleC[pixel][radek] == PravyDolni)
0004d0  eb0500c5          ADD      r0,r5,r5,LSL #3
0004d4  eb001005          ADD      r0,r0,r5,LSL #4
0004d8  4909              LDR      r1,|L6.1280|
0004da  eb0100c0          ADD      r0,r1,r0,LSL #3
0004de  5d00              LDRB     r0,[r0,r4]
0004e0  2804              CMP      r0,#4
0004e2  d103              BNE      |L6.1260|
;;;286    					   _PravyDolni(pixel,radek);
0004e4  b2e1              UXTB     r1,r4
0004e6  b2a8              UXTH     r0,r5
0004e8  f7fffffe          BL       _PravyDolni
                  |L6.1260|
0004ec  1c6d              ADDS     r5,r5,#1              ;275
                  |L6.1262|
0004ee  f5b57f9f          CMP      r5,#0x13e             ;275
0004f2  dbc3              BLT      |L6.1148|
0004f4  1c64              ADDS     r4,r4,#1              ;273
                  |L6.1270|
0004f6  2cc6              CMP      r4,#0xc6              ;273
0004f8  dbbe              BLT      |L6.1144|
;;;287    
;;;288    					 }
;;;289    		}
;;;290    
;;;291    
;;;292    }
0004fa  bd30              POP      {r4,r5,pc}
                          ENDP

                  |L6.1276|
                          DCD      poleA
                  |L6.1280|
                          DCD      poleC

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

                  canny PROC
;;;88     
;;;89     void canny(void)
000000  e92d47f0          PUSH     {r4-r10,lr}
;;;90     {
000004  ed2d8b0c          VPUSH    {d8-d13}
;;;91     uint8_t Tlow,Thigh;
;;;92     float tmpAngle;
;;;93     	double thisAngle;
;;;94     	int pixel,radek;
;;;95     	signed int tmpDx,tmpDy;
;;;96      GPIO_WriteBit(GPIOB, LED1, (BitAction)0);
000008  2200              MOVS     r2,#0
00000a  f44f5100          MOV      r1,#0x2000
00000e  48fe              LDR      r0,|L7.1032|
000010  f7fffffe          BL       GPIO_WriteBit
;;;97      for (radek = 2; radek < Ymax-2; radek++)
000014  2502              MOVS     r5,#2
000016  e16b              B        |L7.752|
                  |L7.24|
;;;98     	  	{ 
;;;99     		
;;;100    		 	for (pixel = 2; pixel < Xmax-2 ; pixel++)
000018  2402              MOVS     r4,#2
00001a  e164              B        |L7.742|
                  |L7.28|
;;;101    				{
;;;102     poleB[pixel][radek] =
00001c  1ea0              SUBS     r0,r4,#2
00001e  eb0001c0          ADD      r1,r0,r0,LSL #3
000022  eb011000          ADD      r0,r1,r0,LSL #4
000026  49f9              LDR      r1,|L7.1036|
000028  eb0101c0          ADD      r1,r1,r0,LSL #3
00002c  1ea8              SUBS     r0,r5,#2
00002e  5c08              LDRB     r0,[r1,r0]
000030  49f7              LDR      r1,|L7.1040|
000032  7809              LDRB     r1,[r1,#0]  ; blur
000034  fb10f101          SMULBB   r1,r0,r1
000038  1e60              SUBS     r0,r4,#1
00003a  eb0002c0          ADD      r2,r0,r0,LSL #3
00003e  eb021000          ADD      r0,r2,r0,LSL #4
000042  4af2              LDR      r2,|L7.1036|
000044  eb0202c0          ADD      r2,r2,r0,LSL #3
000048  1ea8              SUBS     r0,r5,#2
00004a  5c10              LDRB     r0,[r2,r0]
00004c  4af0              LDR      r2,|L7.1040|
00004e  7952              LDRB     r2,[r2,#5]  ; blur
000050  fb101102          SMLABB   r1,r0,r2,r1
000054  eb0400c4          ADD      r0,r4,r4,LSL #3
000058  eb001004          ADD      r0,r0,r4,LSL #4
00005c  4aeb              LDR      r2,|L7.1036|
00005e  eb0202c0          ADD      r2,r2,r0,LSL #3
000062  1ea8              SUBS     r0,r5,#2
000064  5c10              LDRB     r0,[r2,r0]
000066  4aea              LDR      r2,|L7.1040|
000068  7a92              LDRB     r2,[r2,#0xa]  ; blur
00006a  fb101102          SMLABB   r1,r0,r2,r1
00006e  1c60              ADDS     r0,r4,#1
000070  eb0002c0          ADD      r2,r0,r0,LSL #3
000074  eb021000          ADD      r0,r2,r0,LSL #4
000078  4ae4              LDR      r2,|L7.1036|
00007a  eb0202c0          ADD      r2,r2,r0,LSL #3
00007e  1ea8              SUBS     r0,r5,#2
000080  5c10              LDRB     r0,[r2,r0]
000082  4ae3              LDR      r2,|L7.1040|
000084  7bd2              LDRB     r2,[r2,#0xf]  ; blur
000086  fb101102          SMLABB   r1,r0,r2,r1
00008a  1ca0              ADDS     r0,r4,#2
00008c  eb0002c0          ADD      r2,r0,r0,LSL #3
000090  eb021000          ADD      r0,r2,r0,LSL #4
000094  4add              LDR      r2,|L7.1036|
000096  eb0202c0          ADD      r2,r2,r0,LSL #3
00009a  1ea8              SUBS     r0,r5,#2
00009c  5c10              LDRB     r0,[r2,r0]
00009e  4adc              LDR      r2,|L7.1040|
0000a0  7d12              LDRB     r2,[r2,#0x14]  ; blur
0000a2  fb101102          SMLABB   r1,r0,r2,r1
0000a6  1ea0              SUBS     r0,r4,#2
0000a8  eb0002c0          ADD      r2,r0,r0,LSL #3
0000ac  eb021000          ADD      r0,r2,r0,LSL #4
0000b0  4ad6              LDR      r2,|L7.1036|
0000b2  eb0202c0          ADD      r2,r2,r0,LSL #3
0000b6  1e68              SUBS     r0,r5,#1
0000b8  5c10              LDRB     r0,[r2,r0]
0000ba  4ad5              LDR      r2,|L7.1040|
0000bc  7852              LDRB     r2,[r2,#1]  ; blur
0000be  fb101102          SMLABB   r1,r0,r2,r1
0000c2  1e60              SUBS     r0,r4,#1
0000c4  eb0002c0          ADD      r2,r0,r0,LSL #3
0000c8  eb021000          ADD      r0,r2,r0,LSL #4
0000cc  4acf              LDR      r2,|L7.1036|
0000ce  eb0202c0          ADD      r2,r2,r0,LSL #3
0000d2  1e68              SUBS     r0,r5,#1
0000d4  5c12              LDRB     r2,[r2,r0]
0000d6  48ce              LDR      r0,|L7.1040|
0000d8  7980              LDRB     r0,[r0,#6]
0000da  fb121100          SMLABB   r1,r2,r0,r1
0000de  eb0400c4          ADD      r0,r4,r4,LSL #3
0000e2  eb001004          ADD      r0,r0,r4,LSL #4
0000e6  4ac9              LDR      r2,|L7.1036|
0000e8  eb0202c0          ADD      r2,r2,r0,LSL #3
0000ec  1e68              SUBS     r0,r5,#1
0000ee  5c12              LDRB     r2,[r2,r0]
0000f0  48c7              LDR      r0,|L7.1040|
0000f2  7ac0              LDRB     r0,[r0,#0xb]
0000f4  fb121100          SMLABB   r1,r2,r0,r1
0000f8  1c60              ADDS     r0,r4,#1
0000fa  eb0002c0          ADD      r2,r0,r0,LSL #3
0000fe  eb021000          ADD      r0,r2,r0,LSL #4
000102  4ac2              LDR      r2,|L7.1036|
000104  eb0202c0          ADD      r2,r2,r0,LSL #3
000108  1e68              SUBS     r0,r5,#1
00010a  5c12              LDRB     r2,[r2,r0]
00010c  48c0              LDR      r0,|L7.1040|
00010e  7c00              LDRB     r0,[r0,#0x10]
000110  fb121100          SMLABB   r1,r2,r0,r1
000114  1ca0              ADDS     r0,r4,#2
000116  eb0002c0          ADD      r2,r0,r0,LSL #3
00011a  eb021000          ADD      r0,r2,r0,LSL #4
00011e  4abb              LDR      r2,|L7.1036|
000120  eb0202c0          ADD      r2,r2,r0,LSL #3
000124  1e68              SUBS     r0,r5,#1
000126  5c12              LDRB     r2,[r2,r0]
000128  48b9              LDR      r0,|L7.1040|
00012a  7d40              LDRB     r0,[r0,#0x15]
00012c  fb121100          SMLABB   r1,r2,r0,r1
000130  1ea0              SUBS     r0,r4,#2
000132  eb0002c0          ADD      r2,r0,r0,LSL #3
000136  eb021000          ADD      r0,r2,r0,LSL #4
00013a  4ab4              LDR      r2,|L7.1036|
00013c  eb0200c0          ADD      r0,r2,r0,LSL #3
000140  462a              MOV      r2,r5
000142  5c80              LDRB     r0,[r0,r2]
000144  4ab2              LDR      r2,|L7.1040|
000146  7892              LDRB     r2,[r2,#2]  ; blur
000148  fb101102          SMLABB   r1,r0,r2,r1
00014c  4620              MOV      r0,r4
00014e  eb0002c0          ADD      r2,r0,r0,LSL #3
000152  eb021000          ADD      r0,r2,r0,LSL #4
000156  4aad              LDR      r2,|L7.1036|
000158  eb0200c0          ADD      r0,r2,r0,LSL #3
00015c  462a              MOV      r2,r5
00015e  5c82              LDRB     r2,[r0,r2]
000160  48ab              LDR      r0,|L7.1040|
000162  79c0              LDRB     r0,[r0,#7]
000164  fb121100          SMLABB   r1,r2,r0,r1
000168  eb0400c4          ADD      r0,r4,r4,LSL #3
00016c  eb001004          ADD      r0,r0,r4,LSL #4
000170  4aa6              LDR      r2,|L7.1036|
000172  eb0200c0          ADD      r0,r2,r0,LSL #3
000176  462a              MOV      r2,r5
000178  5c82              LDRB     r2,[r0,r2]
00017a  48a5              LDR      r0,|L7.1040|
00017c  7b00              LDRB     r0,[r0,#0xc]
00017e  fb121100          SMLABB   r1,r2,r0,r1
000182  1c60              ADDS     r0,r4,#1
000184  eb0002c0          ADD      r2,r0,r0,LSL #3
000188  eb021000          ADD      r0,r2,r0,LSL #4
00018c  4a9f              LDR      r2,|L7.1036|
00018e  eb0200c0          ADD      r0,r2,r0,LSL #3
000192  462a              MOV      r2,r5
000194  5c82              LDRB     r2,[r0,r2]
000196  489e              LDR      r0,|L7.1040|
000198  7c40              LDRB     r0,[r0,#0x11]
00019a  fb121100          SMLABB   r1,r2,r0,r1
00019e  1ca0              ADDS     r0,r4,#2
0001a0  eb0002c0          ADD      r2,r0,r0,LSL #3
0001a4  eb021000          ADD      r0,r2,r0,LSL #4
0001a8  4a98              LDR      r2,|L7.1036|
0001aa  eb0200c0          ADD      r0,r2,r0,LSL #3
0001ae  462a              MOV      r2,r5
0001b0  5c82              LDRB     r2,[r0,r2]
0001b2  4897              LDR      r0,|L7.1040|
0001b4  7d80              LDRB     r0,[r0,#0x16]
0001b6  fb121100          SMLABB   r1,r2,r0,r1
0001ba  1ea0              SUBS     r0,r4,#2
0001bc  eb0002c0          ADD      r2,r0,r0,LSL #3
0001c0  eb021000          ADD      r0,r2,r0,LSL #4
0001c4  4a91              LDR      r2,|L7.1036|
0001c6  eb0202c0          ADD      r2,r2,r0,LSL #3
0001ca  1c68              ADDS     r0,r5,#1
0001cc  5c10              LDRB     r0,[r2,r0]
0001ce  4a90              LDR      r2,|L7.1040|
0001d0  78d2              LDRB     r2,[r2,#3]  ; blur
0001d2  fb101102          SMLABB   r1,r0,r2,r1
0001d6  1e60              SUBS     r0,r4,#1
0001d8  eb0002c0          ADD      r2,r0,r0,LSL #3
0001dc  eb021000          ADD      r0,r2,r0,LSL #4
0001e0  4a8a              LDR      r2,|L7.1036|
0001e2  eb0202c0          ADD      r2,r2,r0,LSL #3
0001e6  1c68              ADDS     r0,r5,#1
0001e8  5c12              LDRB     r2,[r2,r0]
0001ea  4889              LDR      r0,|L7.1040|
0001ec  7a00              LDRB     r0,[r0,#8]
0001ee  fb121100          SMLABB   r1,r2,r0,r1
0001f2  eb0400c4          ADD      r0,r4,r4,LSL #3
0001f6  eb001004          ADD      r0,r0,r4,LSL #4
0001fa  4a84              LDR      r2,|L7.1036|
0001fc  eb0202c0          ADD      r2,r2,r0,LSL #3
000200  1c68              ADDS     r0,r5,#1
000202  5c12              LDRB     r2,[r2,r0]
000204  4882              LDR      r0,|L7.1040|
000206  7b40              LDRB     r0,[r0,#0xd]
000208  fb121100          SMLABB   r1,r2,r0,r1
00020c  1c60              ADDS     r0,r4,#1
00020e  eb0002c0          ADD      r2,r0,r0,LSL #3
000212  eb021000          ADD      r0,r2,r0,LSL #4
000216  4a7d              LDR      r2,|L7.1036|
000218  eb0202c0          ADD      r2,r2,r0,LSL #3
00021c  1c68              ADDS     r0,r5,#1
00021e  5c12              LDRB     r2,[r2,r0]
000220  487b              LDR      r0,|L7.1040|
000222  7c80              LDRB     r0,[r0,#0x12]
000224  fb121100          SMLABB   r1,r2,r0,r1
000228  1ca0              ADDS     r0,r4,#2
00022a  eb0002c0          ADD      r2,r0,r0,LSL #3
00022e  eb021000          ADD      r0,r2,r0,LSL #4
000232  4a76              LDR      r2,|L7.1036|
000234  eb0202c0          ADD      r2,r2,r0,LSL #3
000238  1c68              ADDS     r0,r5,#1
00023a  5c12              LDRB     r2,[r2,r0]
00023c  4874              LDR      r0,|L7.1040|
00023e  7dc0              LDRB     r0,[r0,#0x17]
000240  fb121100          SMLABB   r1,r2,r0,r1
000244  1ea0              SUBS     r0,r4,#2
000246  eb0002c0          ADD      r2,r0,r0,LSL #3
00024a  eb021000          ADD      r0,r2,r0,LSL #4
00024e  4a6f              LDR      r2,|L7.1036|
000250  eb0202c0          ADD      r2,r2,r0,LSL #3
000254  1ca8              ADDS     r0,r5,#2
000256  5c10              LDRB     r0,[r2,r0]
000258  4a6d              LDR      r2,|L7.1040|
00025a  7912              LDRB     r2,[r2,#4]  ; blur
00025c  fb101102          SMLABB   r1,r0,r2,r1
000260  1e60              SUBS     r0,r4,#1
000262  eb0002c0          ADD      r2,r0,r0,LSL #3
000266  eb021000          ADD      r0,r2,r0,LSL #4
00026a  4a68              LDR      r2,|L7.1036|
00026c  eb0202c0          ADD      r2,r2,r0,LSL #3
000270  1ca8              ADDS     r0,r5,#2
000272  5c12              LDRB     r2,[r2,r0]
000274  4866              LDR      r0,|L7.1040|
000276  7a40              LDRB     r0,[r0,#9]
000278  fb121100          SMLABB   r1,r2,r0,r1
00027c  eb0400c4          ADD      r0,r4,r4,LSL #3
000280  eb001004          ADD      r0,r0,r4,LSL #4
000284  4a61              LDR      r2,|L7.1036|
000286  eb0202c0          ADD      r2,r2,r0,LSL #3
00028a  1ca8              ADDS     r0,r5,#2
00028c  5c12              LDRB     r2,[r2,r0]
00028e  4860              LDR      r0,|L7.1040|
000290  7b80              LDRB     r0,[r0,#0xe]
000292  fb121100          SMLABB   r1,r2,r0,r1
000296  1c60              ADDS     r0,r4,#1
000298  eb0002c0          ADD      r2,r0,r0,LSL #3
00029c  eb021000          ADD      r0,r2,r0,LSL #4
0002a0  4a5a              LDR      r2,|L7.1036|
0002a2  eb0202c0          ADD      r2,r2,r0,LSL #3
0002a6  1ca8              ADDS     r0,r5,#2
0002a8  5c12              LDRB     r2,[r2,r0]
0002aa  4859              LDR      r0,|L7.1040|
0002ac  7cc0              LDRB     r0,[r0,#0x13]
0002ae  fb121100          SMLABB   r1,r2,r0,r1
0002b2  1ca0              ADDS     r0,r4,#2
0002b4  eb0002c0          ADD      r2,r0,r0,LSL #3
0002b8  eb021000          ADD      r0,r2,r0,LSL #4
0002bc  4a53              LDR      r2,|L7.1036|
0002be  eb0202c0          ADD      r2,r2,r0,LSL #3
0002c2  1ca8              ADDS     r0,r5,#2
0002c4  5c12              LDRB     r2,[r2,r0]
0002c6  4852              LDR      r0,|L7.1040|
0002c8  7e00              LDRB     r0,[r0,#0x18]
0002ca  fb121000          SMLABB   r0,r2,r0,r1
0002ce  219f              MOVS     r1,#0x9f
0002d0  fb90f0f1          SDIV     r0,r0,r1
0002d4  eb0401c4          ADD      r1,r4,r4,LSL #3
0002d8  eb011104          ADD      r1,r1,r4,LSL #4
0002dc  4a4d              LDR      r2,|L7.1044|
0002de  eb0201c1          ADD      r1,r2,r1,LSL #3
0002e2  5548              STRB     r0,[r1,r5]
0002e4  1c64              ADDS     r4,r4,#1              ;100
                  |L7.742|
0002e6  f5b47f9f          CMP      r4,#0x13e             ;100
0002ea  f6ffae97          BLT      |L7.28|
0002ee  1c6d              ADDS     r5,r5,#1              ;97
                  |L7.752|
0002f0  2dc6              CMP      r5,#0xc6              ;97
0002f2  f6ffae91          BLT      |L7.24|
;;;103     ( 							   // rozmazani
;;;104     poleA[pixel-2][radek-2]*blur[0][0]+poleA[pixel-1][radek-2]*blur[1][0]+poleA[pixel][radek-2]*blur[2][0]+poleA[pixel+1][radek-2]*blur[3][0]+poleA[pixel+2][radek-2]*blur[4][0]+
;;;105     poleA[pixel-2][radek-1]*blur[0][1]+poleA[pixel-1][radek-1]*blur[1][1]+poleA[pixel][radek-1]*blur[2][1]+poleA[pixel+1][radek-1]*blur[3][1]+poleA[pixel+2][radek-1]*blur[4][1]+ 
;;;106     poleA[pixel-2][radek-0]*blur[0][2]+poleA[pixel-0][radek-0]*blur[1][2]+poleA[pixel][radek-0]*blur[2][2]+poleA[pixel+1][radek-0]*blur[3][2]+poleA[pixel+2][radek-0]*blur[4][2]+
;;;107     poleA[pixel-2][radek+1]*blur[0][3]+poleA[pixel-1][radek+1]*blur[1][3]+poleA[pixel][radek+1]*blur[2][3]+poleA[pixel+1][radek+1]*blur[3][3]+poleA[pixel+2][radek+1]*blur[4][3]+
;;;108     poleA[pixel-2][radek+2]*blur[0][4]+poleA[pixel-1][radek+2]*blur[1][4]+poleA[pixel][radek+2]*blur[2][4]+poleA[pixel+1][radek+2]*blur[3][4]+poleA[pixel+2][radek+2]*blur[4][4]
;;;109     )/159;				
;;;110    				}
;;;111    		};
;;;112    
;;;113    		B2A();
0002f6  f7fffffe          BL       B2A
;;;114    
;;;115       for (radek = 2; radek < Ymax-2; radek++)
0002fa  2502              MOVS     r5,#2
0002fc  e261              B        |L7.1986|
                  |L7.766|
;;;116    	  	{ 
;;;117    		
;;;118    		 	for (pixel = 2; pixel < Xmax-2 ; pixel++)	   //maska
0002fe  2402              MOVS     r4,#2
000300  e25a              B        |L7.1976|
                  |L7.770|
;;;119    				{
;;;120     tmpDx=
000302  1e60              SUBS     r0,r4,#1
000304  eb0001c0          ADD      r1,r0,r0,LSL #3
000308  eb011000          ADD      r0,r1,r0,LSL #4
00030c  493f              LDR      r1,|L7.1036|
00030e  eb0101c0          ADD      r1,r1,r0,LSL #3
000312  1e68              SUBS     r0,r5,#1
000314  5c08              LDRB     r0,[r1,r0]
000316  4940              LDR      r1,|L7.1048|
000318  f9911000          LDRSB    r1,[r1,#0]  ; Dx
00031c  fb10f101          SMULBB   r1,r0,r1
000320  4620              MOV      r0,r4
000322  eb0002c0          ADD      r2,r0,r0,LSL #3
000326  eb021000          ADD      r0,r2,r0,LSL #4
00032a  4a38              LDR      r2,|L7.1036|
00032c  eb0202c0          ADD      r2,r2,r0,LSL #3
000330  1e68              SUBS     r0,r5,#1
000332  5c10              LDRB     r0,[r2,r0]
000334  4a38              LDR      r2,|L7.1048|
000336  f9922003          LDRSB    r2,[r2,#3]  ; Dx
00033a  fb101102          SMLABB   r1,r0,r2,r1
00033e  1c60              ADDS     r0,r4,#1
000340  eb0002c0          ADD      r2,r0,r0,LSL #3
000344  eb021000          ADD      r0,r2,r0,LSL #4
000348  4a30              LDR      r2,|L7.1036|
00034a  eb0202c0          ADD      r2,r2,r0,LSL #3
00034e  1e68              SUBS     r0,r5,#1
000350  5c10              LDRB     r0,[r2,r0]
000352  4a31              LDR      r2,|L7.1048|
000354  f9922006          LDRSB    r2,[r2,#6]  ; Dx
000358  fb101102          SMLABB   r1,r0,r2,r1
00035c  1e60              SUBS     r0,r4,#1
00035e  eb0002c0          ADD      r2,r0,r0,LSL #3
000362  eb021000          ADD      r0,r2,r0,LSL #4
000366  4a29              LDR      r2,|L7.1036|
000368  eb0200c0          ADD      r0,r2,r0,LSL #3
00036c  462a              MOV      r2,r5
00036e  5c80              LDRB     r0,[r0,r2]
000370  4a29              LDR      r2,|L7.1048|
000372  f9922001          LDRSB    r2,[r2,#1]  ; Dx
000376  fb101102          SMLABB   r1,r0,r2,r1
00037a  4620              MOV      r0,r4
00037c  eb0002c0          ADD      r2,r0,r0,LSL #3
000380  eb021000          ADD      r0,r2,r0,LSL #4
000384  4a21              LDR      r2,|L7.1036|
000386  eb0200c0          ADD      r0,r2,r0,LSL #3
00038a  462a              MOV      r2,r5
00038c  5c82              LDRB     r2,[r0,r2]
00038e  4822              LDR      r0,|L7.1048|
000390  f9900004          LDRSB    r0,[r0,#4]
000394  fb121100          SMLABB   r1,r2,r0,r1
000398  1c60              ADDS     r0,r4,#1
00039a  eb0002c0          ADD      r2,r0,r0,LSL #3
00039e  eb021000          ADD      r0,r2,r0,LSL #4
0003a2  4a1a              LDR      r2,|L7.1036|
0003a4  eb0200c0          ADD      r0,r2,r0,LSL #3
0003a8  462a              MOV      r2,r5
0003aa  5c82              LDRB     r2,[r0,r2]
0003ac  481a              LDR      r0,|L7.1048|
0003ae  f9900007          LDRSB    r0,[r0,#7]
0003b2  fb121100          SMLABB   r1,r2,r0,r1
0003b6  1e60              SUBS     r0,r4,#1
0003b8  eb0002c0          ADD      r2,r0,r0,LSL #3
0003bc  eb021000          ADD      r0,r2,r0,LSL #4
0003c0  4a12              LDR      r2,|L7.1036|
0003c2  eb0202c0          ADD      r2,r2,r0,LSL #3
0003c6  1c68              ADDS     r0,r5,#1
0003c8  5c10              LDRB     r0,[r2,r0]
0003ca  4a13              LDR      r2,|L7.1048|
0003cc  f9922002          LDRSB    r2,[r2,#2]  ; Dx
0003d0  fb101102          SMLABB   r1,r0,r2,r1
0003d4  4620              MOV      r0,r4
0003d6  eb0002c0          ADD      r2,r0,r0,LSL #3
0003da  eb021000          ADD      r0,r2,r0,LSL #4
0003de  4a0b              LDR      r2,|L7.1036|
0003e0  eb0202c0          ADD      r2,r2,r0,LSL #3
0003e4  1c68              ADDS     r0,r5,#1
0003e6  5c12              LDRB     r2,[r2,r0]
0003e8  480b              LDR      r0,|L7.1048|
0003ea  f9900005          LDRSB    r0,[r0,#5]
0003ee  fb121100          SMLABB   r1,r2,r0,r1
0003f2  1c60              ADDS     r0,r4,#1
0003f4  eb0002c0          ADD      r2,r0,r0,LSL #3
0003f8  eb021000          ADD      r0,r2,r0,LSL #4
0003fc  4a03              LDR      r2,|L7.1036|
0003fe  eb0202c0          ADD      r2,r2,r0,LSL #3
000402  1c68              ADDS     r0,r5,#1
000404  5c12              LDRB     r2,[r2,r0]
000406  e009              B        |L7.1052|
                  |L7.1032|
                          DCD      0x40020400
                  |L7.1036|
                          DCD      poleA
                  |L7.1040|
                          DCD      blur
                  |L7.1044|
                          DCD      poleB
                  |L7.1048|
                          DCD      ||Dx||
                  |L7.1052|
00041c  48fe              LDR      r0,|L7.2072|
00041e  f9900008          LDRSB    r0,[r0,#8]
000422  fb121900          SMLABB   r9,r2,r0,r1
;;;121     poleA[pixel-1][radek-1]*Dx[0][0]+poleA[pixel-0][radek-1]*Dx[1][0]+poleA[pixel+1][radek-1]*Dx[2][0]+
;;;122     poleA[pixel-1][radek-0]*Dx[0][1]+poleA[pixel-0][radek-0]*Dx[1][1]+poleA[pixel+1][radek-0]*Dx[2][1]+ 
;;;123     poleA[pixel-1][radek+1]*Dx[0][2]+poleA[pixel-0][radek+1]*Dx[1][2]+poleA[pixel+1][radek+1]*Dx[2][2];
;;;124    
;;;125    tmpDy=
000426  1e60              SUBS     r0,r4,#1
000428  eb0001c0          ADD      r1,r0,r0,LSL #3
00042c  eb011000          ADD      r0,r1,r0,LSL #4
000430  49fa              LDR      r1,|L7.2076|
000432  eb0101c0          ADD      r1,r1,r0,LSL #3
000436  1ea8              SUBS     r0,r5,#2
000438  5c08              LDRB     r0,[r1,r0]
00043a  49f9              LDR      r1,|L7.2080|
00043c  f9911000          LDRSB    r1,[r1,#0]  ; Dy
000440  fb10f101          SMULBB   r1,r0,r1
000444  4620              MOV      r0,r4
000446  eb0002c0          ADD      r2,r0,r0,LSL #3
00044a  eb021000          ADD      r0,r2,r0,LSL #4
00044e  4af3              LDR      r2,|L7.2076|
000450  eb0202c0          ADD      r2,r2,r0,LSL #3
000454  1ea8              SUBS     r0,r5,#2
000456  5c10              LDRB     r0,[r2,r0]
000458  4af1              LDR      r2,|L7.2080|
00045a  f9922003          LDRSB    r2,[r2,#3]  ; Dy
00045e  fb101102          SMLABB   r1,r0,r2,r1
000462  1c60              ADDS     r0,r4,#1
000464  eb0002c0          ADD      r2,r0,r0,LSL #3
000468  eb021000          ADD      r0,r2,r0,LSL #4
00046c  4aeb              LDR      r2,|L7.2076|
00046e  eb0202c0          ADD      r2,r2,r0,LSL #3
000472  1ea8              SUBS     r0,r5,#2
000474  5c10              LDRB     r0,[r2,r0]
000476  4aea              LDR      r2,|L7.2080|
000478  f9922006          LDRSB    r2,[r2,#6]  ; Dy
00047c  fb101102          SMLABB   r1,r0,r2,r1
000480  1e60              SUBS     r0,r4,#1
000482  eb0002c0          ADD      r2,r0,r0,LSL #3
000486  eb021000          ADD      r0,r2,r0,LSL #4
00048a  4ae4              LDR      r2,|L7.2076|
00048c  eb0202c0          ADD      r2,r2,r0,LSL #3
000490  1e68              SUBS     r0,r5,#1
000492  5c10              LDRB     r0,[r2,r0]
000494  4ae2              LDR      r2,|L7.2080|
000496  f9922001          LDRSB    r2,[r2,#1]  ; Dy
00049a  fb101102          SMLABB   r1,r0,r2,r1
00049e  4620              MOV      r0,r4
0004a0  eb0002c0          ADD      r2,r0,r0,LSL #3
0004a4  eb021000          ADD      r0,r2,r0,LSL #4
0004a8  4adc              LDR      r2,|L7.2076|
0004aa  eb0202c0          ADD      r2,r2,r0,LSL #3
0004ae  1e68              SUBS     r0,r5,#1
0004b0  5c12              LDRB     r2,[r2,r0]
0004b2  48db              LDR      r0,|L7.2080|
0004b4  f9900004          LDRSB    r0,[r0,#4]
0004b8  fb121100          SMLABB   r1,r2,r0,r1
0004bc  1c60              ADDS     r0,r4,#1
0004be  eb0002c0          ADD      r2,r0,r0,LSL #3
0004c2  eb021000          ADD      r0,r2,r0,LSL #4
0004c6  4ad5              LDR      r2,|L7.2076|
0004c8  eb0202c0          ADD      r2,r2,r0,LSL #3
0004cc  1e68              SUBS     r0,r5,#1
0004ce  5c12              LDRB     r2,[r2,r0]
0004d0  48d3              LDR      r0,|L7.2080|
0004d2  f9900007          LDRSB    r0,[r0,#7]
0004d6  fb121100          SMLABB   r1,r2,r0,r1
0004da  1e60              SUBS     r0,r4,#1
0004dc  eb0002c0          ADD      r2,r0,r0,LSL #3
0004e0  eb021000          ADD      r0,r2,r0,LSL #4
0004e4  4acd              LDR      r2,|L7.2076|
0004e6  eb0200c0          ADD      r0,r2,r0,LSL #3
0004ea  462a              MOV      r2,r5
0004ec  5c80              LDRB     r0,[r0,r2]
0004ee  4acc              LDR      r2,|L7.2080|
0004f0  f9922002          LDRSB    r2,[r2,#2]  ; Dy
0004f4  fb101102          SMLABB   r1,r0,r2,r1
0004f8  4620              MOV      r0,r4
0004fa  eb0002c0          ADD      r2,r0,r0,LSL #3
0004fe  eb021000          ADD      r0,r2,r0,LSL #4
000502  4ac6              LDR      r2,|L7.2076|
000504  eb0200c0          ADD      r0,r2,r0,LSL #3
000508  462a              MOV      r2,r5
00050a  5c82              LDRB     r2,[r0,r2]
00050c  48c4              LDR      r0,|L7.2080|
00050e  f9900005          LDRSB    r0,[r0,#5]
000512  fb121100          SMLABB   r1,r2,r0,r1
000516  1c60              ADDS     r0,r4,#1
000518  eb0002c0          ADD      r2,r0,r0,LSL #3
00051c  eb021000          ADD      r0,r2,r0,LSL #4
000520  4abe              LDR      r2,|L7.2076|
000522  eb0200c0          ADD      r0,r2,r0,LSL #3
000526  462a              MOV      r2,r5
000528  5c82              LDRB     r2,[r0,r2]
00052a  48bd              LDR      r0,|L7.2080|
00052c  f9900008          LDRSB    r0,[r0,#8]
000530  fb121600          SMLABB   r6,r2,r0,r1
;;;126     poleA[pixel-1][radek-2]*Dy[0][0]+poleA[pixel-0][radek-2]*Dy[1][0]+poleA[pixel+1][radek-2]*Dy[2][0]+
;;;127     poleA[pixel-1][radek-1]*Dy[0][1]+poleA[pixel-0][radek-1]*Dy[1][1]+poleA[pixel+1][radek-1]*Dy[2][1]+ 
;;;128     poleA[pixel-1][radek-0]*Dy[0][2]+poleA[pixel-0][radek-0]*Dy[1][2]+poleA[pixel+1][radek-0]*Dy[2][2];
;;;129    
;;;130    poleB[pixel][radek] = sqrt((tmpDx*tmpDx) + (tmpDy*tmpDy));
000534  fb09f109          MUL      r1,r9,r9
000538  fb061006          MLA      r0,r6,r6,r1
00053c  f7fffffe          BL       __aeabi_i2d
000540  ec410b10          VMOV     d0,r0,r1
000544  eeb09a40          VMOV.F32 s18,s0
000548  eef09a60          VMOV.F32 s19,s1
00054c  f7fffffe          BL       __hardfp_sqrt
000550  eeb0aa40          VMOV.F32 s20,s0
000554  eef0aa60          VMOV.F32 s21,s1
000558  ec510b1a          VMOV     r0,r1,d10
00055c  f7fffffe          BL       __aeabi_d2uiz
000560  eb0401c4          ADD      r1,r4,r4,LSL #3
000564  eb011104          ADD      r1,r1,r4,LSL #4
000568  4aae              LDR      r2,|L7.2084|
00056a  eb0201c1          ADD      r1,r2,r1,LSL #3
00056e  5548              STRB     r0,[r1,r5]
;;;131    if(fabs(tmpDy)==0)
000570  4630              MOV      r0,r6
000572  f7fffffe          BL       __aeabi_i2d
000576  ec410b10          VMOV     d0,r0,r1
00057a  eeb0aa40          VMOV.F32 s20,s0
00057e  eef0aa60          VMOV.F32 s21,s1
000582  f7fffffe          BL       __hardfp_fabs
000586  eeb09a40          VMOV.F32 s18,s0
00058a  eef09a60          VMOV.F32 s19,s1
00058e  ed9f0ba6          VLDR     d0,|L7.2088|
000592  ec532b10          VMOV     r2,r3,d0
000596  ec510b19          VMOV     r0,r1,d9
00059a  f7fffffe          BL       __aeabi_cdcmpeq
00059e  d100              BNE      |L7.1442|
;;;132    tmpDy = 0.0001;
0005a0  2600              MOVS     r6,#0
                  |L7.1442|
;;;133    tmpAngle = atan(fabs(tmpDx)/fabs(tmpDy));
0005a2  4630              MOV      r0,r6
0005a4  f7fffffe          BL       __aeabi_i2d
0005a8  ec410b10          VMOV     d0,r0,r1
0005ac  eeb09a40          VMOV.F32 s18,s0
0005b0  eef09a60          VMOV.F32 s19,s1
0005b4  f7fffffe          BL       __hardfp_fabs
0005b8  eeb0ba40          VMOV.F32 s22,s0
0005bc  eef0ba60          VMOV.F32 s23,s1
0005c0  4648              MOV      r0,r9
0005c2  f7fffffe          BL       __aeabi_i2d
0005c6  ec410b10          VMOV     d0,r0,r1
0005ca  eeb09a40          VMOV.F32 s18,s0
0005ce  eef09a60          VMOV.F32 s19,s1
0005d2  f7fffffe          BL       __hardfp_fabs
0005d6  eeb0ca40          VMOV.F32 s24,s0
0005da  eef0ca60          VMOV.F32 s25,s1
0005de  ec532b1b          VMOV     r2,r3,d11
0005e2  ec510b1c          VMOV     r0,r1,d12
0005e6  f7fffffe          BL       __aeabi_ddiv
0005ea  ec410b10          VMOV     d0,r0,r1
0005ee  eeb0aa40          VMOV.F32 s20,s0
0005f2  eef0aa60          VMOV.F32 s21,s1
0005f6  f7fffffe          BL       __hardfp_atan
0005fa  eeb0da40          VMOV.F32 s26,s0
0005fe  eef0da60          VMOV.F32 s27,s1
000602  ec510b1d          VMOV     r0,r1,d13
000606  f7fffffe          BL       __aeabi_d2f
00060a  4682              MOV      r10,r0
;;;134    thisAngle = (180*(double)tmpAngle)/3.14;
00060c  4650              MOV      r0,r10
00060e  f7fffffe          BL       __aeabi_f2d
000612  ec410b10          VMOV     d0,r0,r1
000616  eeb09a40          VMOV.F32 s18,s0
00061a  eef09a60          VMOV.F32 s19,s1
00061e  ed9f0b84          VLDR     d0,|L7.2096|
000622  ec532b10          VMOV     r2,r3,d0
000626  ec510b19          VMOV     r0,r1,d9
00062a  f7fffffe          BL       __aeabi_dmul
00062e  ec410b10          VMOV     d0,r0,r1
000632  eeb0aa40          VMOV.F32 s20,s0
000636  eef0aa60          VMOV.F32 s21,s1
00063a  ed9f0b7f          VLDR     d0,|L7.2104|
00063e  ec532b10          VMOV     r2,r3,d0
000642  ec510b1a          VMOV     r0,r1,d10
000646  f7fffffe          BL       __aeabi_ddiv
00064a  ec410b18          VMOV     d8,r0,r1
;;;135    												// uhly
;;;136    if ( ( (thisAngle <= 22.5) && (thisAngle >= -22.5) ) || (thisAngle >= 157.5) || (thisAngle <= -157.5) )
00064e  ed9f0b7c          VLDR     d0,|L7.2112|
000652  ec532b10          VMOV     r2,r3,d0
000656  ec510b18          VMOV     r0,r1,d8
00065a  f7fffffe          BL       __aeabi_cdcmple
00065e  d808              BHI      |L7.1650|
000660  ed9f0b79          VLDR     d0,|L7.2120|
000664  ec532b10          VMOV     r2,r3,d0
000668  ec510b18          VMOV     r0,r1,d8
00066c  f7fffffe          BL       __aeabi_cdrcmple
000670  d911              BLS      |L7.1686|
                  |L7.1650|
000672  ed9f0b77          VLDR     d0,|L7.2128|
000676  ec532b10          VMOV     r2,r3,d0
00067a  ec510b18          VMOV     r0,r1,d8
00067e  f7fffffe          BL       __aeabi_cdrcmple
000682  d908              BLS      |L7.1686|
000684  ed9f0b74          VLDR     d0,|L7.2136|
000688  ec532b10          VMOV     r2,r3,d0
00068c  ec510b18          VMOV     r0,r1,d8
000690  f7fffffe          BL       __aeabi_cdcmple
000694  d808              BHI      |L7.1704|
                  |L7.1686|
;;;137    				poleC[pixel][radek] = 0;
000696  2000              MOVS     r0,#0
000698  eb0401c4          ADD      r1,r4,r4,LSL #3
00069c  eb011104          ADD      r1,r1,r4,LSL #4
0006a0  4a6f              LDR      r2,|L7.2144|
0006a2  eb0201c1          ADD      r1,r2,r1,LSL #3
0006a6  5548              STRB     r0,[r1,r5]
                  |L7.1704|
;;;138    			if ( ( (thisAngle > 22.5) && (thisAngle < 67.5) ) || ( (thisAngle < -112.5) && (thisAngle > -157.5) ) )
0006a8  ed9f0b65          VLDR     d0,|L7.2112|
0006ac  ec532b10          VMOV     r2,r3,d0
0006b0  ec510b18          VMOV     r0,r1,d8
0006b4  f7fffffe          BL       __aeabi_cdrcmple
0006b8  d208              BCS      |L7.1740|
0006ba  ed9f0b6a          VLDR     d0,|L7.2148|
0006be  ec532b10          VMOV     r2,r3,d0
0006c2  ec510b18          VMOV     r0,r1,d8
0006c6  f7fffffe          BL       __aeabi_cdcmple
0006ca  d311              BCC      |L7.1776|
                  |L7.1740|
0006cc  ed9f0b67          VLDR     d0,|L7.2156|
0006d0  ec532b10          VMOV     r2,r3,d0
0006d4  ec510b18          VMOV     r0,r1,d8
0006d8  f7fffffe          BL       __aeabi_cdcmple
0006dc  d211              BCS      |L7.1794|
0006de  ed9f0b5e          VLDR     d0,|L7.2136|
0006e2  ec532b10          VMOV     r2,r3,d0
0006e6  ec510b18          VMOV     r0,r1,d8
0006ea  f7fffffe          BL       __aeabi_cdrcmple
0006ee  d208              BCS      |L7.1794|
                  |L7.1776|
;;;139    				poleC[pixel][radek] = 45;
0006f0  202d              MOVS     r0,#0x2d
0006f2  eb0401c4          ADD      r1,r4,r4,LSL #3
0006f6  eb011104          ADD      r1,r1,r4,LSL #4
0006fa  4a59              LDR      r2,|L7.2144|
0006fc  eb0201c1          ADD      r1,r2,r1,LSL #3
000700  5548              STRB     r0,[r1,r5]
                  |L7.1794|
;;;140    			if ( ( (thisAngle > 67.5) && (thisAngle < 112.5) ) || ( (thisAngle < -67.5) && (thisAngle > -112.5) ) )
000702  ed9f0b58          VLDR     d0,|L7.2148|
000706  ec532b10          VMOV     r2,r3,d0
00070a  ec510b18          VMOV     r0,r1,d8
00070e  f7fffffe          BL       __aeabi_cdrcmple
000712  d208              BCS      |L7.1830|
000714  ed9f0b57          VLDR     d0,|L7.2164|
000718  ec532b10          VMOV     r2,r3,d0
00071c  ec510b18          VMOV     r0,r1,d8
000720  f7fffffe          BL       __aeabi_cdcmple
000724  d311              BCC      |L7.1866|
                  |L7.1830|
000726  ed9f0b55          VLDR     d0,|L7.2172|
00072a  ec532b10          VMOV     r2,r3,d0
00072e  ec510b18          VMOV     r0,r1,d8
000732  f7fffffe          BL       __aeabi_cdcmple
000736  d211              BCS      |L7.1884|
000738  ed9f0b4c          VLDR     d0,|L7.2156|
00073c  ec532b10          VMOV     r2,r3,d0
000740  ec510b18          VMOV     r0,r1,d8
000744  f7fffffe          BL       __aeabi_cdrcmple
000748  d208              BCS      |L7.1884|
                  |L7.1866|
;;;141    			poleC[pixel][radek] = 90;
00074a  205a              MOVS     r0,#0x5a
00074c  eb0401c4          ADD      r1,r4,r4,LSL #3
000750  eb011104          ADD      r1,r1,r4,LSL #4
000754  4a42              LDR      r2,|L7.2144|
000756  eb0201c1          ADD      r1,r2,r1,LSL #3
00075a  5548              STRB     r0,[r1,r5]
                  |L7.1884|
;;;142    			if ( ( (thisAngle > 112.5) && (thisAngle < 157.5) ) || ( (thisAngle < -22.5) && (thisAngle > -67.5) ) )
00075c  ed9f0b45          VLDR     d0,|L7.2164|
000760  ec532b10          VMOV     r2,r3,d0
000764  ec510b18          VMOV     r0,r1,d8
000768  f7fffffe          BL       __aeabi_cdrcmple
00076c  d208              BCS      |L7.1920|
00076e  ed9f0b38          VLDR     d0,|L7.2128|
000772  ec532b10          VMOV     r2,r3,d0
000776  ec510b18          VMOV     r0,r1,d8
00077a  f7fffffe          BL       __aeabi_cdcmple
00077e  d311              BCC      |L7.1956|
                  |L7.1920|
000780  ed9f0b31          VLDR     d0,|L7.2120|
000784  ec532b10          VMOV     r2,r3,d0
000788  ec510b18          VMOV     r0,r1,d8
00078c  f7fffffe          BL       __aeabi_cdcmple
000790  d211              BCS      |L7.1974|
000792  ed9f0b3a          VLDR     d0,|L7.2172|
000796  ec532b10          VMOV     r2,r3,d0
00079a  ec510b18          VMOV     r0,r1,d8
00079e  f7fffffe          BL       __aeabi_cdrcmple
0007a2  d208              BCS      |L7.1974|
                  |L7.1956|
;;;143    			poleC[pixel][radek] = 135;
0007a4  2087              MOVS     r0,#0x87
0007a6  eb0401c4          ADD      r1,r4,r4,LSL #3
0007aa  eb011104          ADD      r1,r1,r4,LSL #4
0007ae  4a2c              LDR      r2,|L7.2144|
0007b0  eb0201c1          ADD      r1,r2,r1,LSL #3
0007b4  5548              STRB     r0,[r1,r5]
                  |L7.1974|
0007b6  1c64              ADDS     r4,r4,#1              ;118
                  |L7.1976|
0007b8  f5b47f9f          CMP      r4,#0x13e             ;118
0007bc  f6ffada1          BLT      |L7.770|
0007c0  1c6d              ADDS     r5,r5,#1              ;115
                  |L7.1986|
0007c2  2dc6              CMP      r5,#0xc6              ;115
0007c4  f6ffad9b          BLT      |L7.766|
;;;144    
;;;145    							}
;;;146    		};
;;;147    /*****************************************************/
;;;148     //nom-maximum suppression
;;;149    //   for (radek = 2; radek < Ymax-2; radek++)
;;;150    //	  	{ 
;;;151    //		
;;;152    //		 	for (pixel = 2; pixel < Xmax-2 ; pixel++)
;;;153    //				{
;;;154    //				 if(poleC[pixel][radek] == 0)
;;;155    //				 	{
;;;156    //					 	if(  poleB[pixel][radek] < poleB[pixel-1][radek] || poleB[pixel][radek] < poleB[pixel+1][radek]  )
;;;157    //						  {
;;;158    //						   poleB[pixel][radek] = 0;
;;;159    //						  }
;;;160    //					}
;;;161    //
;;;162    //					if(poleC[pixel][radek] == 45)
;;;163    //				 	{
;;;164    //					 	if(  poleB[pixel][radek] < poleB[pixel-1][radek-1] || poleB[pixel][radek] < poleB[pixel+1][radek+1]  )
;;;165    //						  {
;;;166    //						   poleB[pixel][radek] = 0;
;;;167    //						  }
;;;168    //					}
;;;169    //
;;;170    //					if(poleC[pixel][radek] == 90)
;;;171    //				 	{
;;;172    //					 	if(  poleB[pixel][radek] < poleB[pixel][radek-1] || poleB[pixel][radek] < poleB[pixel][radek+1] )
;;;173    //						  {
;;;174    //						   poleB[pixel][radek] = 0;
;;;175    //						  }
;;;176    //					}
;;;177    //
;;;178    //					if(poleC[pixel][radek] == 135)
;;;179    //				 	{
;;;180    //					 	if(  poleB[pixel][radek] < poleB[pixel+1][radek-1] || poleB[pixel][radek] < poleB[pixel-1][radek+1]  )
;;;181    //						  {
;;;182    //						   poleB[pixel][radek] = 0;
;;;183    //						  }
;;;184    //					}
;;;185    //				}
;;;186    //		};
;;;187    		Tlow = 20;
0007c8  2714              MOVS     r7,#0x14
;;;188    		Thigh = 30;
0007ca  f04f081e          MOV      r8,#0x1e
;;;189    															  // Double tresholding
;;;190    		for (radek = 2; radek < Ymax-2; radek++)
0007ce  2502              MOVS     r5,#2
0007d0  e080              B        |L7.2260|
                  |L7.2002|
;;;191    	  	{ 
;;;192    		
;;;193    		 	for (pixel = 2; pixel < Xmax-2 ; pixel++)
0007d2  2402              MOVS     r4,#2
0007d4  e07a              B        |L7.2252|
                  |L7.2006|
;;;194    				{
;;;195    				 if(poleB[pixel][radek] > Thigh)
0007d6  eb0400c4          ADD      r0,r4,r4,LSL #3
0007da  eb001004          ADD      r0,r0,r4,LSL #4
0007de  4911              LDR      r1,|L7.2084|
0007e0  eb0100c0          ADD      r0,r1,r0,LSL #3
0007e4  5d40              LDRB     r0,[r0,r5]
0007e6  4540              CMP      r0,r8
0007e8  dd08              BLE      |L7.2044|
;;;196    				 {
;;;197    				 poleB[pixel][radek] = 63;
0007ea  203f              MOVS     r0,#0x3f
0007ec  eb0401c4          ADD      r1,r4,r4,LSL #3
0007f0  eb011104          ADD      r1,r1,r4,LSL #4
0007f4  4a0b              LDR      r2,|L7.2084|
0007f6  eb0201c1          ADD      r1,r2,r1,LSL #3
0007fa  5548              STRB     r0,[r1,r5]
                  |L7.2044|
;;;198    				 }
;;;199    
;;;200    				 if((poleB[pixel][radek] <= Thigh) && (poleB[pixel][radek] > Tlow) )
0007fc  eb0400c4          ADD      r0,r4,r4,LSL #3
000800  eb001004          ADD      r0,r0,r4,LSL #4
000804  4907              LDR      r1,|L7.2084|
000806  eb0100c0          ADD      r0,r1,r0,LSL #3
00080a  5d40              LDRB     r0,[r0,r5]
00080c  4540              CMP      r0,r8
00080e  dc49              BGT      |L7.2212|
000810  eb0400c4          ADD      r0,r4,r4,LSL #3
000814  e036              B        |L7.2180|
000816  0000              DCW      0x0000
                  |L7.2072|
                          DCD      ||Dx||
                  |L7.2076|
                          DCD      poleA
                  |L7.2080|
                          DCD      ||Dy||
                  |L7.2084|
                          DCD      poleB
                  |L7.2088|
000828  00000000          DCFD     0x0000000000000000 ; 0
00082c  00000000
                  |L7.2096|
000830  00000000          DCFD     0x4066800000000000 ; 180
000834  40668000
                  |L7.2104|
000838  51eb851f          DCFD     0x40091eb851eb851f ; 3.1400000000000001
00083c  40091eb8
                  |L7.2112|
000840  00000000          DCFD     0x4036800000000000 ; 22.5
000844  40368000
                  |L7.2120|
000848  00000000          DCFD     0xc036800000000000 ; -22.5
00084c  c0368000
                  |L7.2128|
000850  00000000          DCFD     0x4063b00000000000 ; 157.5
000854  4063b000
                  |L7.2136|
000858  00000000          DCFD     0xc063b00000000000 ; -157.5
00085c  c063b000
                  |L7.2144|
                          DCD      poleC
                  |L7.2148|
000864  00000000          DCFD     0x4050e00000000000 ; 67.5
000868  4050e000
                  |L7.2156|
00086c  00000000          DCFD     0xc05c200000000000 ; -112.5
000870  c05c2000
                  |L7.2164|
000874  00000000          DCFD     0x405c200000000000 ; 112.5
000878  405c2000
                  |L7.2172|
00087c  00000000          DCFD     0xc050e00000000000 ; -67.5
000880  c050e000
                  |L7.2180|
000884  eb001004          ADD      r0,r0,r4,LSL #4
000888  eb0100c0          ADD      r0,r1,r0,LSL #3
00088c  5d40              LDRB     r0,[r0,r5]
00088e  42b8              CMP      r0,r7
000890  dd08              BLE      |L7.2212|
;;;201    				 {
;;;202    				 poleB[pixel][radek] = 0;
000892  2000              MOVS     r0,#0
000894  eb0401c4          ADD      r1,r4,r4,LSL #3
000898  eb011104          ADD      r1,r1,r4,LSL #4
00089c  4a56              LDR      r2,|L7.2552|
00089e  eb0201c1          ADD      r1,r2,r1,LSL #3
0008a2  5548              STRB     r0,[r1,r5]
                  |L7.2212|
;;;203    				 }
;;;204    
;;;205    				 if(poleB[pixel][radek] < Tlow)
0008a4  eb0400c4          ADD      r0,r4,r4,LSL #3
0008a8  eb001004          ADD      r0,r0,r4,LSL #4
0008ac  4952              LDR      r1,|L7.2552|
0008ae  eb0100c0          ADD      r0,r1,r0,LSL #3
0008b2  5d40              LDRB     r0,[r0,r5]
0008b4  42b8              CMP      r0,r7
0008b6  da08              BGE      |L7.2250|
;;;206    				 {
;;;207    				 poleB[pixel][radek] = 0;
0008b8  2000              MOVS     r0,#0
0008ba  eb0401c4          ADD      r1,r4,r4,LSL #3
0008be  eb011104          ADD      r1,r1,r4,LSL #4
0008c2  4a4d              LDR      r2,|L7.2552|
0008c4  eb0201c1          ADD      r1,r2,r1,LSL #3
0008c8  5548              STRB     r0,[r1,r5]
                  |L7.2250|
0008ca  1c64              ADDS     r4,r4,#1              ;193
                  |L7.2252|
0008cc  f5b47f9f          CMP      r4,#0x13e             ;193
0008d0  db81              BLT      |L7.2006|
0008d2  1c6d              ADDS     r5,r5,#1              ;190
                  |L7.2260|
0008d4  2dc6              CMP      r5,#0xc6              ;190
0008d6  f6ffaf7c          BLT      |L7.2002|
;;;208    				 }
;;;209    				}
;;;210    		 }
;;;211    
;;;212    		 	for (radek = 2; radek < Ymax-2; radek++)		// hystereze
0008da  2502              MOVS     r5,#2
0008dc  e07e              B        |L7.2524|
                  |L7.2270|
;;;213    	  	{ 
;;;214    		
;;;215    		 	for (pixel = 2; pixel < Xmax-2 ; pixel++)
0008de  2402              MOVS     r4,#2
0008e0  e078              B        |L7.2516|
                  |L7.2274|
;;;216    				{
;;;217    				 if(poleB[pixel][radek] == 30)
0008e2  eb0400c4          ADD      r0,r4,r4,LSL #3
0008e6  eb001004          ADD      r0,r0,r4,LSL #4
0008ea  4943              LDR      r1,|L7.2552|
0008ec  eb0100c0          ADD      r0,r1,r0,LSL #3
0008f0  5d40              LDRB     r0,[r0,r5]
0008f2  281e              CMP      r0,#0x1e
0008f4  d16d              BNE      |L7.2514|
;;;218    				 	{	 poleB[pixel][radek] = 0;
0008f6  2000              MOVS     r0,#0
0008f8  eb0401c4          ADD      r1,r4,r4,LSL #3
0008fc  eb011104          ADD      r1,r1,r4,LSL #4
000900  4a3d              LDR      r2,|L7.2552|
000902  eb0201c1          ADD      r1,r2,r1,LSL #3
000906  5548              STRB     r0,[r1,r5]
;;;219    
;;;220    					 if((poleB[pixel-1][radek-1] ==63) ||(poleB[pixel][radek-1] ==63) ||(poleB[pixel+1][radek-1] ==63) ||
000908  1e60              SUBS     r0,r4,#1
00090a  eb0001c0          ADD      r1,r0,r0,LSL #3
00090e  eb011000          ADD      r0,r1,r0,LSL #4
000912  4611              MOV      r1,r2
000914  eb0101c0          ADD      r1,r1,r0,LSL #3
000918  1e68              SUBS     r0,r5,#1
00091a  5c08              LDRB     r0,[r1,r0]
00091c  283f              CMP      r0,#0x3f
00091e  d04f              BEQ      |L7.2496|
000920  eb0400c4          ADD      r0,r4,r4,LSL #3
000924  eb001004          ADD      r0,r0,r4,LSL #4
000928  4611              MOV      r1,r2
00092a  eb0101c0          ADD      r1,r1,r0,LSL #3
00092e  1e68              SUBS     r0,r5,#1
000930  5c08              LDRB     r0,[r1,r0]
000932  283f              CMP      r0,#0x3f
000934  d044              BEQ      |L7.2496|
000936  1c60              ADDS     r0,r4,#1
000938  eb0001c0          ADD      r1,r0,r0,LSL #3
00093c  eb011000          ADD      r0,r1,r0,LSL #4
000940  4611              MOV      r1,r2
000942  eb0101c0          ADD      r1,r1,r0,LSL #3
000946  1e68              SUBS     r0,r5,#1
000948  5c08              LDRB     r0,[r1,r0]
00094a  283f              CMP      r0,#0x3f
00094c  d038              BEQ      |L7.2496|
;;;221    /*3x3 hleda hranu*/ 	(poleB[pixel-1][radek] ==63) 								  ||(poleB[pixel+1][radek] ==63) ||
00094e  1e60              SUBS     r0,r4,#1
000950  eb0001c0          ADD      r1,r0,r0,LSL #3
000954  eb011000          ADD      r0,r1,r0,LSL #4
000958  4611              MOV      r1,r2
00095a  eb0100c0          ADD      r0,r1,r0,LSL #3
00095e  5d40              LDRB     r0,[r0,r5]
000960  283f              CMP      r0,#0x3f
000962  d02d              BEQ      |L7.2496|
000964  1c60              ADDS     r0,r4,#1
000966  eb0001c0          ADD      r1,r0,r0,LSL #3
00096a  eb011000          ADD      r0,r1,r0,LSL #4
00096e  4611              MOV      r1,r2
000970  eb0100c0          ADD      r0,r1,r0,LSL #3
000974  5d40              LDRB     r0,[r0,r5]
000976  283f              CMP      r0,#0x3f
000978  d022              BEQ      |L7.2496|
;;;222    						(poleB[pixel-1][radek+1] ==63) ||(poleB[pixel][radek+1] ==63) ||(poleB[pixel+1][radek+1] ==63) )
00097a  1e60              SUBS     r0,r4,#1
00097c  eb0001c0          ADD      r1,r0,r0,LSL #3
000980  eb011000          ADD      r0,r1,r0,LSL #4
000984  4611              MOV      r1,r2
000986  eb0101c0          ADD      r1,r1,r0,LSL #3
00098a  1c68              ADDS     r0,r5,#1
00098c  5c08              LDRB     r0,[r1,r0]
00098e  283f              CMP      r0,#0x3f
000990  d016              BEQ      |L7.2496|
000992  eb0400c4          ADD      r0,r4,r4,LSL #3
000996  eb001004          ADD      r0,r0,r4,LSL #4
00099a  4611              MOV      r1,r2
00099c  eb0101c0          ADD      r1,r1,r0,LSL #3
0009a0  1c68              ADDS     r0,r5,#1
0009a2  5c08              LDRB     r0,[r1,r0]
0009a4  283f              CMP      r0,#0x3f
0009a6  d00b              BEQ      |L7.2496|
0009a8  1c60              ADDS     r0,r4,#1
0009aa  eb0001c0          ADD      r1,r0,r0,LSL #3
0009ae  eb011000          ADD      r0,r1,r0,LSL #4
0009b2  4611              MOV      r1,r2
0009b4  eb0101c0          ADD      r1,r1,r0,LSL #3
0009b8  1c68              ADDS     r0,r5,#1
0009ba  5c08              LDRB     r0,[r1,r0]
0009bc  283f              CMP      r0,#0x3f
0009be  d108              BNE      |L7.2514|
                  |L7.2496|
;;;223    						{
;;;224    						 poleB[pixel][radek] = 63;
0009c0  203f              MOVS     r0,#0x3f
0009c2  eb0401c4          ADD      r1,r4,r4,LSL #3
0009c6  eb011104          ADD      r1,r1,r4,LSL #4
0009ca  4a0b              LDR      r2,|L7.2552|
0009cc  eb0201c1          ADD      r1,r2,r1,LSL #3
0009d0  5548              STRB     r0,[r1,r5]
                  |L7.2514|
0009d2  1c64              ADDS     r4,r4,#1              ;215
                  |L7.2516|
0009d4  f5b47f9f          CMP      r4,#0x13e             ;215
0009d8  db83              BLT      |L7.2274|
0009da  1c6d              ADDS     r5,r5,#1              ;212
                  |L7.2524|
0009dc  2dc6              CMP      r5,#0xc6              ;212
0009de  f6ffaf7e          BLT      |L7.2270|
;;;225    						}
;;;226    //						if((poleB[pixel-1][radek-1] ==30) ||(poleB[pixel][radek-1] ==30) ||(poleB[pixel+1][radek-1] ==30) ||
;;;227    ///*nasel polohranu*/ 	(poleB[pixel-1][radek] ==30) 								  ||(poleB[pixel+1][radek] ==30) ||
;;;228    //						(poleB[pixel-1][radek+1] ==30) ||(poleB[pixel][radek+1] ==30) ||(poleB[pixel+1][radek+1] ==30) )
;;;229    //						{
;;;230    //						 poleB[pixel][radek] = 63;						
;;;231    //						}
;;;232    
;;;233    					
;;;234    					}
;;;235    				}
;;;236    		 }
;;;237    B2A();
0009e2  f7fffffe          BL       B2A
;;;238    GPIO_WriteBit(GPIOB, LED1, (BitAction)1);
0009e6  2201              MOVS     r2,#1
0009e8  0351              LSLS     r1,r2,#13
0009ea  4804              LDR      r0,|L7.2556|
0009ec  f7fffffe          BL       GPIO_WriteBit
;;;239    }
0009f0  ecbd8b0c          VPOP     {d8-d13}
0009f4  e8bd87f0          POP      {r4-r10,pc}
;;;240    
                          ENDP

                  |L7.2552|
                          DCD      poleB
                  |L7.2556|
                          DCD      0x40020400

                          AREA ||.constdata||, DATA, READONLY, ALIGN=0

                  blur
000000  02040504          DCB      0x02,0x04,0x05,0x04
000004  0204090c          DCB      0x02,0x04,0x09,0x0c
000008  0904050c          DCB      0x09,0x04,0x05,0x0c
00000c  0f0c0504          DCB      0x0f,0x0c,0x05,0x04
000010  090c0904          DCB      0x09,0x0c,0x09,0x04
000014  02040504          DCB      0x02,0x04,0x05,0x04
000018  02                DCB      0x02
                  ||Dx||
000019  ff0001            DCB      0xff,0x00,0x01
00001c  fe0002ff          DCB      0xfe,0x00,0x02,0xff
000020  0001              DCB      0x00,0x01
                  ||Dy||
000022  0102              DCB      0x01,0x02
000024  01000000          DCB      0x01,0x00,0x00,0x00
000028  fffeff            DCB      0xff,0xfe,0xff

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

                  TimingDelay
                          DCD      0x00000000

;*** Start embedded assembler ***

#line 1 "canny.c"
	AREA ||.rev16_text||, CODE, READONLY
	THUMB
	EXPORT |__asm___7_canny_c_blur____REV16|
#line 114 "C:\\Keil\\ARM\\CMSIS\\Include\\core_cmInstr.h"
|__asm___7_canny_c_blur____REV16| PROC
#line 115

 rev16 r0, r0
 bx lr
	ENDP
	AREA ||.revsh_text||, CODE, READONLY
	THUMB
	EXPORT |__asm___7_canny_c_blur____REVSH|
#line 128
|__asm___7_canny_c_blur____REVSH| PROC
#line 129

 revsh r0, r0
 bx lr
	ENDP

;*** End   embedded assembler ***
