Statistics
| Revision:

root / branches / colonetmk2 / code / projects / swarm / robot / main.lss @ 1456

History | View | Annotate | Download (503 KB)

1

    
2
main.elf:     file format elf32-avr
3

    
4
Sections:
5
Idx Name          Size      VMA       LMA       File off  Algn
6
  0 .data         0000046c  00800100  0000659e  00006612  2**0
7
                  CONTENTS, ALLOC, LOAD, DATA
8
  1 .text         0000659e  00000000  00000000  00000074  2**1
9
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
10
  2 .bss          00000518  0080056c  00006a0a  00006a7e  2**0
11
                  ALLOC
12
  3 .stab         00008eb0  00000000  00000000  00006a80  2**2
13
                  CONTENTS, READONLY, DEBUGGING
14
  4 .stabstr      0000335e  00000000  00000000  0000f930  2**0
15
                  CONTENTS, READONLY, DEBUGGING
16
Disassembly of section .text:
17

    
18
00000000 <__vectors>:
19
       0:	0c 94 46 00 	jmp	0x8c	; 0x8c <__ctors_end>
20
       4:	0c 94 65 00 	jmp	0xca	; 0xca <__bad_interrupt>
21
       8:	0c 94 65 00 	jmp	0xca	; 0xca <__bad_interrupt>
22
       c:	0c 94 65 00 	jmp	0xca	; 0xca <__bad_interrupt>
23
      10:	0c 94 65 00 	jmp	0xca	; 0xca <__bad_interrupt>
24
      14:	0c 94 65 00 	jmp	0xca	; 0xca <__bad_interrupt>
25
      18:	0c 94 65 00 	jmp	0xca	; 0xca <__bad_interrupt>
26
      1c:	0c 94 65 00 	jmp	0xca	; 0xca <__bad_interrupt>
27
      20:	0c 94 65 00 	jmp	0xca	; 0xca <__bad_interrupt>
28
      24:	0c 94 65 00 	jmp	0xca	; 0xca <__bad_interrupt>
29
      28:	0c 94 65 00 	jmp	0xca	; 0xca <__bad_interrupt>
30
      2c:	0c 94 65 00 	jmp	0xca	; 0xca <__bad_interrupt>
31
      30:	0c 94 65 00 	jmp	0xca	; 0xca <__bad_interrupt>
32
      34:	0c 94 65 00 	jmp	0xca	; 0xca <__bad_interrupt>
33
      38:	0c 94 65 00 	jmp	0xca	; 0xca <__bad_interrupt>
34
      3c:	0c 94 3b 16 	jmp	0x2c76	; 0x2c76 <__vector_15>
35
      40:	0c 94 ce 15 	jmp	0x2b9c	; 0x2b9c <__vector_16>
36
      44:	0c 94 9f 1b 	jmp	0x373e	; 0x373e <__vector_17>
37
      48:	0c 94 65 00 	jmp	0xca	; 0xca <__bad_interrupt>
38
      4c:	0c 94 65 00 	jmp	0xca	; 0xca <__bad_interrupt>
39
      50:	0c 94 65 00 	jmp	0xca	; 0xca <__bad_interrupt>
40
      54:	0c 94 4a 1d 	jmp	0x3a94	; 0x3a94 <__vector_21>
41
      58:	0c 94 65 00 	jmp	0xca	; 0xca <__bad_interrupt>
42
      5c:	0c 94 65 00 	jmp	0xca	; 0xca <__bad_interrupt>
43
      60:	0c 94 65 00 	jmp	0xca	; 0xca <__bad_interrupt>
44
      64:	0c 94 65 00 	jmp	0xca	; 0xca <__bad_interrupt>
45
      68:	0c 94 19 1c 	jmp	0x3832	; 0x3832 <__vector_26>
46
      6c:	0c 94 65 00 	jmp	0xca	; 0xca <__bad_interrupt>
47
      70:	0c 94 65 00 	jmp	0xca	; 0xca <__bad_interrupt>
48
      74:	0c 94 65 00 	jmp	0xca	; 0xca <__bad_interrupt>
49
      78:	0c 94 59 06 	jmp	0xcb2	; 0xcb2 <__vector_30>
50
      7c:	0c 94 65 00 	jmp	0xca	; 0xca <__bad_interrupt>
51
      80:	0c 94 65 00 	jmp	0xca	; 0xca <__bad_interrupt>
52
      84:	0c 94 65 00 	jmp	0xca	; 0xca <__bad_interrupt>
53
      88:	0c 94 65 00 	jmp	0xca	; 0xca <__bad_interrupt>
54

    
55
0000008c <__ctors_end>:
56
      8c:	11 24       	eor	r1, r1
57
      8e:	1f be       	out	0x3f, r1	; 63
58
      90:	cf ef       	ldi	r28, 0xFF	; 255
59
      92:	d0 e1       	ldi	r29, 0x10	; 16
60
      94:	de bf       	out	0x3e, r29	; 62
61
      96:	cd bf       	out	0x3d, r28	; 61
62

    
63
00000098 <__do_copy_data>:
64
      98:	15 e0       	ldi	r17, 0x05	; 5
65
      9a:	a0 e0       	ldi	r26, 0x00	; 0
66
      9c:	b1 e0       	ldi	r27, 0x01	; 1
67
      9e:	ee e9       	ldi	r30, 0x9E	; 158
68
      a0:	f5 e6       	ldi	r31, 0x65	; 101
69
      a2:	00 e0       	ldi	r16, 0x00	; 0
70
      a4:	0b bf       	out	0x3b, r16	; 59
71
      a6:	02 c0       	rjmp	.+4      	; 0xac <__do_copy_data+0x14>
72
      a8:	07 90       	elpm	r0, Z+
73
      aa:	0d 92       	st	X+, r0
74
      ac:	ac 36       	cpi	r26, 0x6C	; 108
75
      ae:	b1 07       	cpc	r27, r17
76
      b0:	d9 f7       	brne	.-10     	; 0xa8 <__do_copy_data+0x10>
77

    
78
000000b2 <__do_clear_bss>:
79
      b2:	1a e0       	ldi	r17, 0x0A	; 10
80
      b4:	ac e6       	ldi	r26, 0x6C	; 108
81
      b6:	b5 e0       	ldi	r27, 0x05	; 5
82
      b8:	01 c0       	rjmp	.+2      	; 0xbc <.do_clear_bss_start>
83

    
84
000000ba <.do_clear_bss_loop>:
85
      ba:	1d 92       	st	X+, r1
86

    
87
000000bc <.do_clear_bss_start>:
88
      bc:	a4 38       	cpi	r26, 0x84	; 132
89
      be:	b1 07       	cpc	r27, r17
90
      c0:	e1 f7       	brne	.-8      	; 0xba <.do_clear_bss_loop>
91
      c2:	0e 94 67 00 	call	0xce	; 0xce <main>
92
      c6:	0c 94 cd 32 	jmp	0x659a	; 0x659a <_exit>
93

    
94
000000ca <__bad_interrupt>:
95
      ca:	0c 94 00 00 	jmp	0	; 0x0 <__heap_end>
96

    
97
000000ce <main>:
98
//static PacketGroupHandler swarm_pgh;
99
//static void swarm_handle_receive(char type, int wl_source, unsigned char* packet, int length);
100

    
101
int main(void)
102
{
103
    dragonfly_init(ALL_ON);
104
      ce:	8f ef       	ldi	r24, 0xFF	; 255
105
      d0:	97 e0       	ldi	r25, 0x07	; 7
106
      d2:	0e 94 6c 11 	call	0x22d8	; 0x22d8 <dragonfly_init>
107

    
108
    wl_init();
109
      d6:	0e 94 0b 02 	call	0x416	; 0x416 <wl_init>
110
    wl_set_channel(0xF);
111
      da:	8f e0       	ldi	r24, 0x0F	; 15
112
      dc:	90 e0       	ldi	r25, 0x00	; 0
113
      de:	0e 94 ea 01 	call	0x3d4	; 0x3d4 <wl_set_channel>
114
    swarm_pgh.handle_response = NULL;
115
    swarm_pgh.handle_receive = swarm_handle_receive;
116
    swarm_pgh.unregister = NULL;
117
    wl_register_packet_group(&swarm_pgh);*/
118

    
119
    wl_token_ring_register();
120
      e2:	0e 94 40 06 	call	0xc80	; 0xc80 <wl_token_ring_register>
121
    wl_token_ring_join();
122
      e6:	0e 94 f8 02 	call	0x5f0	; 0x5f0 <wl_token_ring_join>
123

    
124
    usb_puts("initialized\r\n");
125
      ea:	80 e0       	ldi	r24, 0x00	; 0
126
      ec:	91 e0       	ldi	r25, 0x01	; 1
127
      ee:	0e 94 8f 1a 	call	0x351e	; 0x351e <usb_puts>
128

    
129
    int num = 0;*/
130

    
131
    while (1)
132
    {
133
	    wl_do();
134
      f2:	0e 94 b4 00 	call	0x168	; 0x168 <wl_do>
135
      f6:	fd cf       	rjmp	.-6      	; 0xf2 <main+0x24>
136

    
137
000000f8 <timer_handler>:
138
      f8:	81 e0       	ldi	r24, 0x01	; 1
139
      fa:	90 e0       	ldi	r25, 0x00	; 0
140
      fc:	90 93 6d 05 	sts	0x056D, r25
141
     100:	80 93 6c 05 	sts	0x056C, r24
142
     104:	08 95       	ret
143

    
144
00000106 <wl_register_packet_group>:
145
     106:	dc 01       	movw	r26, r24
146
     108:	8d 91       	ld	r24, X+
147
     10a:	9c 91       	ld	r25, X
148
     10c:	11 97       	sbiw	r26, 0x01	; 1
149
     10e:	80 31       	cpi	r24, 0x10	; 16
150
     110:	91 05       	cpc	r25, r1
151
     112:	58 f4       	brcc	.+22     	; 0x12a <wl_register_packet_group+0x24>
152
     114:	fc 01       	movw	r30, r24
153
     116:	ee 0f       	add	r30, r30
154
     118:	ff 1f       	adc	r31, r31
155
     11a:	e2 51       	subi	r30, 0x12	; 18
156
     11c:	fa 4f       	sbci	r31, 0xFA	; 250
157
     11e:	80 81       	ld	r24, Z
158
     120:	91 81       	ldd	r25, Z+1	; 0x01
159
     122:	89 2b       	or	r24, r25
160
     124:	11 f4       	brne	.+4      	; 0x12a <wl_register_packet_group+0x24>
161
     126:	b1 83       	std	Z+1, r27	; 0x01
162
     128:	a0 83       	st	Z, r26
163
     12a:	08 95       	ret
164

    
165
0000012c <wl_unregister_packet_group>:
166
     12c:	cf 93       	push	r28
167
     12e:	df 93       	push	r29
168
     130:	fc 01       	movw	r30, r24
169
     132:	c0 81       	ld	r28, Z
170
     134:	d1 81       	ldd	r29, Z+1	; 0x01
171
     136:	fe 01       	movw	r30, r28
172
     138:	ee 0f       	add	r30, r30
173
     13a:	ff 1f       	adc	r31, r31
174
     13c:	e2 51       	subi	r30, 0x12	; 18
175
     13e:	fa 4f       	sbci	r31, 0xFA	; 250
176
     140:	01 90       	ld	r0, Z+
177
     142:	f0 81       	ld	r31, Z
178
     144:	e0 2d       	mov	r30, r0
179
     146:	30 97       	sbiw	r30, 0x00	; 0
180
     148:	31 f0       	breq	.+12     	; 0x156 <wl_unregister_packet_group+0x2a>
181
     14a:	00 84       	ldd	r0, Z+8	; 0x08
182
     14c:	f1 85       	ldd	r31, Z+9	; 0x09
183
     14e:	e0 2d       	mov	r30, r0
184
     150:	30 97       	sbiw	r30, 0x00	; 0
185
     152:	09 f0       	breq	.+2      	; 0x156 <wl_unregister_packet_group+0x2a>
186
     154:	09 95       	icall
187
     156:	cc 0f       	add	r28, r28
188
     158:	dd 1f       	adc	r29, r29
189
     15a:	c2 51       	subi	r28, 0x12	; 18
190
     15c:	da 4f       	sbci	r29, 0xFA	; 250
191
     15e:	19 82       	std	Y+1, r1	; 0x01
192
     160:	18 82       	st	Y, r1
193
     162:	df 91       	pop	r29
194
     164:	cf 91       	pop	r28
195
     166:	08 95       	ret
196

    
197
00000168 <wl_do>:
198
     168:	cf 93       	push	r28
199
     16a:	df 93       	push	r29
200
     16c:	80 91 6c 05 	lds	r24, 0x056C
201
     170:	90 91 6d 05 	lds	r25, 0x056D
202
     174:	89 2b       	or	r24, r25
203
     176:	a9 f0       	breq	.+42     	; 0x1a2 <wl_do+0x3a>
204
     178:	ce ee       	ldi	r28, 0xEE	; 238
205
     17a:	d5 e0       	ldi	r29, 0x05	; 5
206
     17c:	e8 81       	ld	r30, Y
207
     17e:	f9 81       	ldd	r31, Y+1	; 0x01
208
     180:	30 97       	sbiw	r30, 0x00	; 0
209
     182:	31 f0       	breq	.+12     	; 0x190 <wl_do+0x28>
210
     184:	02 80       	ldd	r0, Z+2	; 0x02
211
     186:	f3 81       	ldd	r31, Z+3	; 0x03
212
     188:	e0 2d       	mov	r30, r0
213
     18a:	30 97       	sbiw	r30, 0x00	; 0
214
     18c:	09 f0       	breq	.+2      	; 0x190 <wl_do+0x28>
215
     18e:	09 95       	icall
216
     190:	22 96       	adiw	r28, 0x02	; 2
217
     192:	86 e0       	ldi	r24, 0x06	; 6
218
     194:	ce 30       	cpi	r28, 0x0E	; 14
219
     196:	d8 07       	cpc	r29, r24
220
     198:	89 f7       	brne	.-30     	; 0x17c <wl_do+0x14>
221
     19a:	10 92 6d 05 	sts	0x056D, r1
222
     19e:	10 92 6c 05 	sts	0x056C, r1
223
     1a2:	8e e6       	ldi	r24, 0x6E	; 110
224
     1a4:	95 e0       	ldi	r25, 0x05	; 5
225
     1a6:	0e 94 8e 06 	call	0xd1c	; 0xd1c <xbee_get_packet>
226
     1aa:	9c 01       	movw	r18, r24
227
     1ac:	97 fd       	sbrc	r25, 7
228
     1ae:	87 c0       	rjmp	.+270    	; 0x2be <wl_do+0x156>
229
     1b0:	40 91 6e 05 	lds	r20, 0x056E
230
     1b4:	49 38       	cpi	r20, 0x89	; 137
231
     1b6:	39 f5       	brne	.+78     	; 0x206 <wl_do+0x9e>
232
     1b8:	83 30       	cpi	r24, 0x03	; 3
233
     1ba:	91 05       	cpc	r25, r1
234
     1bc:	09 f0       	breq	.+2      	; 0x1c0 <wl_do+0x58>
235
     1be:	7f c0       	rjmp	.+254    	; 0x2be <wl_do+0x156>
236
     1c0:	80 91 6f 05 	lds	r24, 0x056F
237
     1c4:	20 91 70 05 	lds	r18, 0x0570
238
     1c8:	e8 2f       	mov	r30, r24
239
     1ca:	e2 95       	swap	r30
240
     1cc:	ef 70       	andi	r30, 0x0F	; 15
241
     1ce:	f0 e0       	ldi	r31, 0x00	; 0
242
     1d0:	ee 0f       	add	r30, r30
243
     1d2:	ff 1f       	adc	r31, r31
244
     1d4:	e2 51       	subi	r30, 0x12	; 18
245
     1d6:	fa 4f       	sbci	r31, 0xFA	; 250
246
     1d8:	01 90       	ld	r0, Z+
247
     1da:	f0 81       	ld	r31, Z
248
     1dc:	e0 2d       	mov	r30, r0
249
     1de:	30 97       	sbiw	r30, 0x00	; 0
250
     1e0:	09 f4       	brne	.+2      	; 0x1e4 <wl_do+0x7c>
251
     1e2:	6d c0       	rjmp	.+218    	; 0x2be <wl_do+0x156>
252
     1e4:	04 80       	ldd	r0, Z+4	; 0x04
253
     1e6:	f5 81       	ldd	r31, Z+5	; 0x05
254
     1e8:	e0 2d       	mov	r30, r0
255
     1ea:	30 97       	sbiw	r30, 0x00	; 0
256
     1ec:	09 f4       	brne	.+2      	; 0x1f0 <wl_do+0x88>
257
     1ee:	67 c0       	rjmp	.+206    	; 0x2be <wl_do+0x156>
258
     1f0:	90 e0       	ldi	r25, 0x00	; 0
259
     1f2:	8f 70       	andi	r24, 0x0F	; 15
260
     1f4:	90 70       	andi	r25, 0x00	; 0
261
     1f6:	60 e0       	ldi	r22, 0x00	; 0
262
     1f8:	70 e0       	ldi	r23, 0x00	; 0
263
     1fa:	22 23       	and	r18, r18
264
     1fc:	11 f4       	brne	.+4      	; 0x202 <wl_do+0x9a>
265
     1fe:	61 e0       	ldi	r22, 0x01	; 1
266
     200:	70 e0       	ldi	r23, 0x00	; 0
267
     202:	09 95       	icall
268
     204:	5c c0       	rjmp	.+184    	; 0x2be <wl_do+0x156>
269
     206:	41 38       	cpi	r20, 0x81	; 129
270
     208:	31 f5       	brne	.+76     	; 0x256 <wl_do+0xee>
271
     20a:	87 30       	cpi	r24, 0x07	; 7
272
     20c:	91 05       	cpc	r25, r1
273
     20e:	0c f4       	brge	.+2      	; 0x212 <wl_do+0xaa>
274
     210:	56 c0       	rjmp	.+172    	; 0x2be <wl_do+0x156>
275
     212:	90 91 6f 05 	lds	r25, 0x056F
276
     216:	40 91 70 05 	lds	r20, 0x0570
277
     21a:	80 91 74 05 	lds	r24, 0x0574
278
     21e:	e0 91 73 05 	lds	r30, 0x0573
279
     222:	f0 e0       	ldi	r31, 0x00	; 0
280
     224:	ee 0f       	add	r30, r30
281
     226:	ff 1f       	adc	r31, r31
282
     228:	e2 51       	subi	r30, 0x12	; 18
283
     22a:	fa 4f       	sbci	r31, 0xFA	; 250
284
     22c:	01 90       	ld	r0, Z+
285
     22e:	f0 81       	ld	r31, Z
286
     230:	e0 2d       	mov	r30, r0
287
     232:	30 97       	sbiw	r30, 0x00	; 0
288
     234:	09 f4       	brne	.+2      	; 0x238 <wl_do+0xd0>
289
     236:	43 c0       	rjmp	.+134    	; 0x2be <wl_do+0x156>
290
     238:	06 80       	ldd	r0, Z+6	; 0x06
291
     23a:	f7 81       	ldd	r31, Z+7	; 0x07
292
     23c:	e0 2d       	mov	r30, r0
293
     23e:	30 97       	sbiw	r30, 0x00	; 0
294
     240:	f1 f1       	breq	.+124    	; 0x2be <wl_do+0x156>
295
     242:	79 2f       	mov	r23, r25
296
     244:	60 e0       	ldi	r22, 0x00	; 0
297
     246:	64 0f       	add	r22, r20
298
     248:	71 1d       	adc	r23, r1
299
     24a:	27 50       	subi	r18, 0x07	; 7
300
     24c:	30 40       	sbci	r19, 0x00	; 0
301
     24e:	45 e7       	ldi	r20, 0x75	; 117
302
     250:	55 e0       	ldi	r21, 0x05	; 5
303
     252:	09 95       	icall
304
     254:	34 c0       	rjmp	.+104    	; 0x2be <wl_do+0x156>
305
     256:	00 d0       	rcall	.+0      	; 0x258 <wl_do+0xf0>
306
     258:	00 d0       	rcall	.+0      	; 0x25a <wl_do+0xf2>
307
     25a:	ed b7       	in	r30, 0x3d	; 61
308
     25c:	fe b7       	in	r31, 0x3e	; 62
309
     25e:	31 96       	adiw	r30, 0x01	; 1
310
     260:	8e e0       	ldi	r24, 0x0E	; 14
311
     262:	91 e0       	ldi	r25, 0x01	; 1
312
     264:	ad b7       	in	r26, 0x3d	; 61
313
     266:	be b7       	in	r27, 0x3e	; 62
314
     268:	12 96       	adiw	r26, 0x02	; 2
315
     26a:	9c 93       	st	X, r25
316
     26c:	8e 93       	st	-X, r24
317
     26e:	11 97       	sbiw	r26, 0x01	; 1
318
     270:	42 83       	std	Z+2, r20	; 0x02
319
     272:	13 82       	std	Z+3, r1	; 0x03
320
     274:	0e 94 81 2f 	call	0x5f02	; 0x5f02 <printf>
321
     278:	00 d0       	rcall	.+0      	; 0x27a <wl_do+0x112>
322
     27a:	00 d0       	rcall	.+0      	; 0x27c <wl_do+0x114>
323
     27c:	ed b7       	in	r30, 0x3d	; 61
324
     27e:	fe b7       	in	r31, 0x3e	; 62
325
     280:	31 96       	adiw	r30, 0x01	; 1
326
     282:	85 e1       	ldi	r24, 0x15	; 21
327
     284:	91 e0       	ldi	r25, 0x01	; 1
328
     286:	ad b7       	in	r26, 0x3d	; 61
329
     288:	be b7       	in	r27, 0x3e	; 62
330
     28a:	12 96       	adiw	r26, 0x02	; 2
331
     28c:	9c 93       	st	X, r25
332
     28e:	8e 93       	st	-X, r24
333
     290:	11 97       	sbiw	r26, 0x01	; 1
334
     292:	80 91 70 05 	lds	r24, 0x0570
335
     296:	82 83       	std	Z+2, r24	; 0x02
336
     298:	13 82       	std	Z+3, r1	; 0x03
337
     29a:	80 91 71 05 	lds	r24, 0x0571
338
     29e:	84 83       	std	Z+4, r24	; 0x04
339
     2a0:	15 82       	std	Z+5, r1	; 0x05
340
     2a2:	80 91 72 05 	lds	r24, 0x0572
341
     2a6:	86 83       	std	Z+6, r24	; 0x06
342
     2a8:	17 82       	std	Z+7, r1	; 0x07
343
     2aa:	0e 94 81 2f 	call	0x5f02	; 0x5f02 <printf>
344
     2ae:	8d b7       	in	r24, 0x3d	; 61
345
     2b0:	9e b7       	in	r25, 0x3e	; 62
346
     2b2:	08 96       	adiw	r24, 0x08	; 8
347
     2b4:	0f b6       	in	r0, 0x3f	; 63
348
     2b6:	f8 94       	cli
349
     2b8:	9e bf       	out	0x3e, r25	; 62
350
     2ba:	0f be       	out	0x3f, r0	; 63
351
     2bc:	8d bf       	out	0x3d, r24	; 61
352
     2be:	df 91       	pop	r29
353
     2c0:	cf 91       	pop	r28
354
     2c2:	08 95       	ret
355

    
356
000002c4 <wl_send_packet>:
357
     2c4:	af 92       	push	r10
358
     2c6:	bf 92       	push	r11
359
     2c8:	cf 92       	push	r12
360
     2ca:	ef 92       	push	r14
361
     2cc:	0f 93       	push	r16
362
     2ce:	1f 93       	push	r17
363
     2d0:	df 93       	push	r29
364
     2d2:	cf 93       	push	r28
365
     2d4:	cd b7       	in	r28, 0x3d	; 61
366
     2d6:	de b7       	in	r29, 0x3e	; 62
367
     2d8:	c0 58       	subi	r28, 0x80	; 128
368
     2da:	d0 40       	sbci	r29, 0x00	; 0
369
     2dc:	0f b6       	in	r0, 0x3f	; 63
370
     2de:	f8 94       	cli
371
     2e0:	de bf       	out	0x3e, r29	; 62
372
     2e2:	0f be       	out	0x3f, r0	; 63
373
     2e4:	cd bf       	out	0x3d, r28	; 61
374
     2e6:	98 2f       	mov	r25, r24
375
     2e8:	58 01       	movw	r10, r16
376
     2ea:	0c 2d       	mov	r16, r12
377
     2ec:	cc 20       	and	r12, r12
378
     2ee:	31 f0       	breq	.+12     	; 0x2fc <wl_send_packet+0x38>
379
     2f0:	8c 2d       	mov	r24, r12
380
     2f2:	8f 70       	andi	r24, 0x0F	; 15
381
     2f4:	09 2f       	mov	r16, r25
382
     2f6:	02 95       	swap	r16
383
     2f8:	00 7f       	andi	r16, 0xF0	; 240
384
     2fa:	08 2b       	or	r16, r24
385
     2fc:	99 83       	std	Y+1, r25	; 0x01
386
     2fe:	6a 83       	std	Y+2, r22	; 0x02
387
     300:	be 01       	movw	r22, r28
388
     302:	6d 5f       	subi	r22, 0xFD	; 253
389
     304:	7f 4f       	sbci	r23, 0xFF	; 255
390
     306:	a0 e0       	ldi	r26, 0x00	; 0
391
     308:	b0 e0       	ldi	r27, 0x00	; 0
392
     30a:	08 c0       	rjmp	.+16     	; 0x31c <wl_send_packet+0x58>
393
     30c:	fa 01       	movw	r30, r20
394
     30e:	ea 0f       	add	r30, r26
395
     310:	fb 1f       	adc	r31, r27
396
     312:	80 81       	ld	r24, Z
397
     314:	fb 01       	movw	r30, r22
398
     316:	81 93       	st	Z+, r24
399
     318:	bf 01       	movw	r22, r30
400
     31a:	11 96       	adiw	r26, 0x01	; 1
401
     31c:	a2 17       	cp	r26, r18
402
     31e:	b3 07       	cpc	r27, r19
403
     320:	ac f3       	brlt	.-22     	; 0x30c <wl_send_packet+0x48>
404
     322:	2e 5f       	subi	r18, 0xFE	; 254
405
     324:	3f 4f       	sbci	r19, 0xFF	; 255
406
     326:	ce 01       	movw	r24, r28
407
     328:	01 96       	adiw	r24, 0x01	; 1
408
     32a:	b9 01       	movw	r22, r18
409
     32c:	a5 01       	movw	r20, r10
410
     32e:	2e 2d       	mov	r18, r14
411
     330:	0e 94 b5 08 	call	0x116a	; 0x116a <xbee_send_packet>
412
     334:	c0 58       	subi	r28, 0x80	; 128
413
     336:	df 4f       	sbci	r29, 0xFF	; 255
414
     338:	0f b6       	in	r0, 0x3f	; 63
415
     33a:	f8 94       	cli
416
     33c:	de bf       	out	0x3e, r29	; 62
417
     33e:	0f be       	out	0x3f, r0	; 63
418
     340:	cd bf       	out	0x3d, r28	; 61
419
     342:	cf 91       	pop	r28
420
     344:	df 91       	pop	r29
421
     346:	1f 91       	pop	r17
422
     348:	0f 91       	pop	r16
423
     34a:	ef 90       	pop	r14
424
     34c:	cf 90       	pop	r12
425
     34e:	bf 90       	pop	r11
426
     350:	af 90       	pop	r10
427
     352:	08 95       	ret
428

    
429
00000354 <wl_send_pan_packet>:
430
     354:	cf 92       	push	r12
431
     356:	ef 92       	push	r14
432
     358:	0f 93       	push	r16
433
     35a:	1f 93       	push	r17
434
     35c:	c0 2e       	mov	r12, r16
435
     35e:	0f ef       	ldi	r16, 0xFF	; 255
436
     360:	1f ef       	ldi	r17, 0xFF	; 255
437
     362:	ee 24       	eor	r14, r14
438
     364:	0e 94 62 01 	call	0x2c4	; 0x2c4 <wl_send_packet>
439
     368:	1f 91       	pop	r17
440
     36a:	0f 91       	pop	r16
441
     36c:	ef 90       	pop	r14
442
     36e:	cf 90       	pop	r12
443
     370:	08 95       	ret
444

    
445
00000372 <wl_send_global_packet>:
446
     372:	cf 92       	push	r12
447
     374:	ef 92       	push	r14
448
     376:	0f 93       	push	r16
449
     378:	1f 93       	push	r17
450
     37a:	c0 2e       	mov	r12, r16
451
     37c:	0f ef       	ldi	r16, 0xFF	; 255
452
     37e:	1f ef       	ldi	r17, 0xFF	; 255
453
     380:	74 e0       	ldi	r23, 0x04	; 4
454
     382:	e7 2e       	mov	r14, r23
455
     384:	0e 94 62 01 	call	0x2c4	; 0x2c4 <wl_send_packet>
456
     388:	1f 91       	pop	r17
457
     38a:	0f 91       	pop	r16
458
     38c:	ef 90       	pop	r14
459
     38e:	cf 90       	pop	r12
460
     390:	08 95       	ret
461

    
462
00000392 <wl_send_robot_to_robot_packet>:
463
     392:	cf 92       	push	r12
464
     394:	ef 92       	push	r14
465
     396:	0f 93       	push	r16
466
     398:	1f 93       	push	r17
467
     39a:	ce 2c       	mov	r12, r14
468
     39c:	ee 24       	eor	r14, r14
469
     39e:	0e 94 62 01 	call	0x2c4	; 0x2c4 <wl_send_packet>
470
     3a2:	1f 91       	pop	r17
471
     3a4:	0f 91       	pop	r16
472
     3a6:	ef 90       	pop	r14
473
     3a8:	cf 90       	pop	r12
474
     3aa:	08 95       	ret
475

    
476
000003ac <wl_send_robot_to_robot_global_packet>:
477
     3ac:	cf 92       	push	r12
478
     3ae:	ef 92       	push	r14
479
     3b0:	0f 93       	push	r16
480
     3b2:	1f 93       	push	r17
481
     3b4:	ce 2c       	mov	r12, r14
482
     3b6:	e4 e0       	ldi	r30, 0x04	; 4
483
     3b8:	ee 2e       	mov	r14, r30
484
     3ba:	0e 94 62 01 	call	0x2c4	; 0x2c4 <wl_send_packet>
485
     3be:	1f 91       	pop	r17
486
     3c0:	0f 91       	pop	r16
487
     3c2:	ef 90       	pop	r14
488
     3c4:	cf 90       	pop	r12
489
     3c6:	08 95       	ret
490

    
491
000003c8 <wl_get_xbee_id>:
492
     3c8:	0e 94 ca 07 	call	0xf94	; 0xf94 <xbee_get_address>
493
     3cc:	08 95       	ret
494

    
495
000003ce <wl_get_channel>:
496
     3ce:	0e 94 c5 07 	call	0xf8a	; 0xf8a <xbee_get_channel>
497
     3d2:	08 95       	ret
498

    
499
000003d4 <wl_set_channel>:
500
     3d4:	0e 94 5a 08 	call	0x10b4	; 0x10b4 <xbee_set_channel>
501
     3d8:	08 95       	ret
502

    
503
000003da <wl_get_pan>:
504
     3da:	0e 94 c0 07 	call	0xf80	; 0xf80 <xbee_get_pan_id>
505
     3de:	08 95       	ret
506

    
507
000003e0 <wl_set_pan>:
508
     3e0:	0e 94 7c 08 	call	0x10f8	; 0x10f8 <xbee_set_pan_id>
509
     3e4:	08 95       	ret
510

    
511
000003e6 <wl_terminate>:
512
     3e6:	cf 93       	push	r28
513
     3e8:	df 93       	push	r29
514
     3ea:	ce ee       	ldi	r28, 0xEE	; 238
515
     3ec:	d5 e0       	ldi	r29, 0x05	; 5
516
     3ee:	e8 81       	ld	r30, Y
517
     3f0:	f9 81       	ldd	r31, Y+1	; 0x01
518
     3f2:	30 97       	sbiw	r30, 0x00	; 0
519
     3f4:	31 f0       	breq	.+12     	; 0x402 <wl_terminate+0x1c>
520
     3f6:	00 84       	ldd	r0, Z+8	; 0x08
521
     3f8:	f1 85       	ldd	r31, Z+9	; 0x09
522
     3fa:	e0 2d       	mov	r30, r0
523
     3fc:	30 97       	sbiw	r30, 0x00	; 0
524
     3fe:	09 f0       	breq	.+2      	; 0x402 <wl_terminate+0x1c>
525
     400:	09 95       	icall
526
     402:	22 96       	adiw	r28, 0x02	; 2
527
     404:	86 e0       	ldi	r24, 0x06	; 6
528
     406:	ce 30       	cpi	r28, 0x0E	; 14
529
     408:	d8 07       	cpc	r29, r24
530
     40a:	89 f7       	brne	.-30     	; 0x3ee <wl_terminate+0x8>
531
     40c:	0e 94 ae 08 	call	0x115c	; 0x115c <xbee_terminate>
532
     410:	df 91       	pop	r29
533
     412:	cf 91       	pop	r28
534
     414:	08 95       	ret
535

    
536
00000416 <wl_init>:
537
     416:	ee ee       	ldi	r30, 0xEE	; 238
538
     418:	f5 e0       	ldi	r31, 0x05	; 5
539
     41a:	11 92       	st	Z+, r1
540
     41c:	11 92       	st	Z+, r1
541
     41e:	26 e0       	ldi	r18, 0x06	; 6
542
     420:	ee 30       	cpi	r30, 0x0E	; 14
543
     422:	f2 07       	cpc	r31, r18
544
     424:	d1 f7       	brne	.-12     	; 0x41a <wl_init+0x4>
545
     426:	0e 94 5d 09 	call	0x12ba	; 0x12ba <xbee_lib_init>
546
     42a:	8f 5f       	subi	r24, 0xFF	; 255
547
     42c:	9f 4f       	sbci	r25, 0xFF	; 255
548
     42e:	19 f4       	brne	.+6      	; 0x436 <wl_init+0x20>
549
     430:	2f ef       	ldi	r18, 0xFF	; 255
550
     432:	3f ef       	ldi	r19, 0xFF	; 255
551
     434:	08 c0       	rjmp	.+16     	; 0x446 <wl_init+0x30>
552
     436:	88 e0       	ldi	r24, 0x08	; 8
553
     438:	90 e0       	ldi	r25, 0x00	; 0
554
     43a:	6c e7       	ldi	r22, 0x7C	; 124
555
     43c:	70 e0       	ldi	r23, 0x00	; 0
556
     43e:	0e 94 ee 1b 	call	0x37dc	; 0x37dc <rtc_init>
557
     442:	20 e0       	ldi	r18, 0x00	; 0
558
     444:	30 e0       	ldi	r19, 0x00	; 0
559
     446:	c9 01       	movw	r24, r18
560
     448:	08 95       	ret
561

    
562
0000044a <wl_token_ring_leave>:
563
     44a:	84 e0       	ldi	r24, 0x04	; 4
564
     44c:	90 e0       	ldi	r25, 0x00	; 0
565
     44e:	90 93 13 06 	sts	0x0613, r25
566
     452:	80 93 12 06 	sts	0x0612, r24
567
     456:	08 95       	ret
568

    
569
00000458 <wl_token_ring_set_bom_functions>:
570
     458:	90 93 1e 01 	sts	0x011E, r25
571
     45c:	80 93 1d 01 	sts	0x011D, r24
572
     460:	70 93 20 01 	sts	0x0120, r23
573
     464:	60 93 1f 01 	sts	0x011F, r22
574
     468:	50 93 22 01 	sts	0x0122, r21
575
     46c:	40 93 21 01 	sts	0x0121, r20
576
     470:	08 95       	ret
577

    
578
00000472 <wl_token_ring_cleanup>:
579
     472:	08 95       	ret
580

    
581
00000474 <wl_token_ring_response_handler>:
582
     474:	08 95       	ret
583

    
584
00000476 <wl_token_iterator_has_next>:
585
     476:	20 e0       	ldi	r18, 0x00	; 0
586
     478:	30 e0       	ldi	r19, 0x00	; 0
587
     47a:	80 91 0e 06 	lds	r24, 0x060E
588
     47e:	90 91 0f 06 	lds	r25, 0x060F
589
     482:	8f 5f       	subi	r24, 0xFF	; 255
590
     484:	9f 4f       	sbci	r25, 0xFF	; 255
591
     486:	11 f0       	breq	.+4      	; 0x48c <wl_token_iterator_has_next+0x16>
592
     488:	21 e0       	ldi	r18, 0x01	; 1
593
     48a:	30 e0       	ldi	r19, 0x00	; 0
594
     48c:	c9 01       	movw	r24, r18
595
     48e:	08 95       	ret
596

    
597
00000490 <wl_token_get_matrix_size>:
598
     490:	0e 94 b0 0a 	call	0x1560	; 0x1560 <sensor_matrix_get_size>
599
     494:	08 95       	ret
600

    
601
00000496 <wl_token_get_num_robots>:
602
     496:	0e 94 ab 0a 	call	0x1556	; 0x1556 <sensor_matrix_get_joined>
603
     49a:	08 95       	ret
604

    
605
0000049c <wl_token_get_robots_in_ring>:
606
     49c:	0e 94 ab 0a 	call	0x1556	; 0x1556 <sensor_matrix_get_joined>
607
     4a0:	08 95       	ret
608

    
609
000004a2 <wl_token_iterator_next>:
610
     4a2:	0f 93       	push	r16
611
     4a4:	1f 93       	push	r17
612
     4a6:	cf 93       	push	r28
613
     4a8:	df 93       	push	r29
614
     4aa:	c0 91 0e 06 	lds	r28, 0x060E
615
     4ae:	d0 91 0f 06 	lds	r29, 0x060F
616
     4b2:	d7 fd       	sbrc	r29, 7
617
     4b4:	30 c0       	rjmp	.+96     	; 0x516 <wl_token_iterator_next+0x74>
618
     4b6:	21 96       	adiw	r28, 0x01	; 1
619
     4b8:	d0 93 0f 06 	sts	0x060F, r29
620
     4bc:	c0 93 0e 06 	sts	0x060E, r28
621
     4c0:	21 97       	sbiw	r28, 0x01	; 1
622
     4c2:	09 c0       	rjmp	.+18     	; 0x4d6 <wl_token_iterator_next+0x34>
623
     4c4:	80 91 0e 06 	lds	r24, 0x060E
624
     4c8:	90 91 0f 06 	lds	r25, 0x060F
625
     4cc:	01 96       	adiw	r24, 0x01	; 1
626
     4ce:	90 93 0f 06 	sts	0x060F, r25
627
     4d2:	80 93 0e 06 	sts	0x060E, r24
628
     4d6:	80 91 0e 06 	lds	r24, 0x060E
629
     4da:	90 91 0f 06 	lds	r25, 0x060F
630
     4de:	0e 94 9d 0a 	call	0x153a	; 0x153a <sensor_matrix_get_in_ring>
631
     4e2:	89 2b       	or	r24, r25
632
     4e4:	49 f4       	brne	.+18     	; 0x4f8 <wl_token_iterator_next+0x56>
633
     4e6:	00 91 0e 06 	lds	r16, 0x060E
634
     4ea:	10 91 0f 06 	lds	r17, 0x060F
635
     4ee:	0e 94 b0 0a 	call	0x1560	; 0x1560 <sensor_matrix_get_size>
636
     4f2:	08 17       	cp	r16, r24
637
     4f4:	19 07       	cpc	r17, r25
638
     4f6:	34 f3       	brlt	.-52     	; 0x4c4 <wl_token_iterator_next+0x22>
639
     4f8:	00 91 0e 06 	lds	r16, 0x060E
640
     4fc:	10 91 0f 06 	lds	r17, 0x060F
641
     500:	0e 94 b0 0a 	call	0x1560	; 0x1560 <sensor_matrix_get_size>
642
     504:	08 17       	cp	r16, r24
643
     506:	19 07       	cpc	r17, r25
644
     508:	31 f4       	brne	.+12     	; 0x516 <wl_token_iterator_next+0x74>
645
     50a:	8f ef       	ldi	r24, 0xFF	; 255
646
     50c:	9f ef       	ldi	r25, 0xFF	; 255
647
     50e:	90 93 0f 06 	sts	0x060F, r25
648
     512:	80 93 0e 06 	sts	0x060E, r24
649
     516:	ce 01       	movw	r24, r28
650
     518:	df 91       	pop	r29
651
     51a:	cf 91       	pop	r28
652
     51c:	1f 91       	pop	r17
653
     51e:	0f 91       	pop	r16
654
     520:	08 95       	ret
655

    
656
00000522 <wl_token_iterator_begin>:
657
     522:	cf 93       	push	r28
658
     524:	df 93       	push	r29
659
     526:	c0 e0       	ldi	r28, 0x00	; 0
660
     528:	d0 e0       	ldi	r29, 0x00	; 0
661
     52a:	01 c0       	rjmp	.+2      	; 0x52e <wl_token_iterator_begin+0xc>
662
     52c:	21 96       	adiw	r28, 0x01	; 1
663
     52e:	ce 01       	movw	r24, r28
664
     530:	0e 94 9d 0a 	call	0x153a	; 0x153a <sensor_matrix_get_in_ring>
665
     534:	89 2b       	or	r24, r25
666
     536:	29 f4       	brne	.+10     	; 0x542 <wl_token_iterator_begin+0x20>
667
     538:	0e 94 b0 0a 	call	0x1560	; 0x1560 <sensor_matrix_get_size>
668
     53c:	c8 17       	cp	r28, r24
669
     53e:	d9 07       	cpc	r29, r25
670
     540:	ac f3       	brlt	.-22     	; 0x52c <wl_token_iterator_begin+0xa>
671
     542:	0e 94 b0 0a 	call	0x1560	; 0x1560 <sensor_matrix_get_size>
672
     546:	c8 17       	cp	r28, r24
673
     548:	d9 07       	cpc	r29, r25
674
     54a:	11 f4       	brne	.+4      	; 0x550 <wl_token_iterator_begin+0x2e>
675
     54c:	cf ef       	ldi	r28, 0xFF	; 255
676
     54e:	df ef       	ldi	r29, 0xFF	; 255
677
     550:	d0 93 0f 06 	sts	0x060F, r29
678
     554:	c0 93 0e 06 	sts	0x060E, r28
679
     558:	df 91       	pop	r29
680
     55a:	cf 91       	pop	r28
681
     55c:	08 95       	ret
682

    
683
0000055e <wl_token_is_robot_in_ring>:
684
     55e:	0e 94 9d 0a 	call	0x153a	; 0x153a <sensor_matrix_get_in_ring>
685
     562:	08 95       	ret
686

    
687
00000564 <wl_token_get_sensor_reading>:
688
     564:	0f 93       	push	r16
689
     566:	1f 93       	push	r17
690
     568:	cf 93       	push	r28
691
     56a:	df 93       	push	r29
692
     56c:	ec 01       	movw	r28, r24
693
     56e:	8b 01       	movw	r16, r22
694
     570:	cb 01       	movw	r24, r22
695
     572:	0e 94 9d 0a 	call	0x153a	; 0x153a <sensor_matrix_get_in_ring>
696
     576:	89 2b       	or	r24, r25
697
     578:	81 f0       	breq	.+32     	; 0x59a <wl_token_get_sensor_reading+0x36>
698
     57a:	0e 94 e4 01 	call	0x3c8	; 0x3c8 <wl_get_xbee_id>
699
     57e:	c8 17       	cp	r28, r24
700
     580:	d9 07       	cpc	r29, r25
701
     582:	29 f0       	breq	.+10     	; 0x58e <wl_token_get_sensor_reading+0x2a>
702
     584:	ce 01       	movw	r24, r28
703
     586:	0e 94 9d 0a 	call	0x153a	; 0x153a <sensor_matrix_get_in_ring>
704
     58a:	89 2b       	or	r24, r25
705
     58c:	31 f0       	breq	.+12     	; 0x59a <wl_token_get_sensor_reading+0x36>
706
     58e:	ce 01       	movw	r24, r28
707
     590:	b8 01       	movw	r22, r16
708
     592:	0e 94 5c 0a 	call	0x14b8	; 0x14b8 <sensor_matrix_get_reading>
709
     596:	9c 01       	movw	r18, r24
710
     598:	02 c0       	rjmp	.+4      	; 0x59e <wl_token_get_sensor_reading+0x3a>
711
     59a:	20 e0       	ldi	r18, 0x00	; 0
712
     59c:	30 e0       	ldi	r19, 0x00	; 0
713
     59e:	c9 01       	movw	r24, r18
714
     5a0:	df 91       	pop	r29
715
     5a2:	cf 91       	pop	r28
716
     5a4:	1f 91       	pop	r17
717
     5a6:	0f 91       	pop	r16
718
     5a8:	08 95       	ret
719

    
720
000005aa <wl_token_get_my_sensor_reading>:
721
     5aa:	0f 93       	push	r16
722
     5ac:	1f 93       	push	r17
723
     5ae:	8c 01       	movw	r16, r24
724
     5b0:	0e 94 e4 01 	call	0x3c8	; 0x3c8 <wl_get_xbee_id>
725
     5b4:	b8 01       	movw	r22, r16
726
     5b6:	0e 94 b2 02 	call	0x564	; 0x564 <wl_token_get_sensor_reading>
727
     5ba:	1f 91       	pop	r17
728
     5bc:	0f 91       	pop	r16
729
     5be:	08 95       	ret
730

    
731
000005c0 <default_get_bom>:
732
     5c0:	df 93       	push	r29
733
     5c2:	cf 93       	push	r28
734
     5c4:	00 d0       	rcall	.+0      	; 0x5c6 <default_get_bom+0x6>
735
     5c6:	cd b7       	in	r28, 0x3d	; 61
736
     5c8:	de b7       	in	r29, 0x3e	; 62
737
     5ca:	8f ef       	ldi	r24, 0xFF	; 255
738
     5cc:	9f ef       	ldi	r25, 0xFF	; 255
739
     5ce:	0e 94 c6 0d 	call	0x1b8c	; 0x1b8c <bom_refresh>
740
     5d2:	ce 01       	movw	r24, r28
741
     5d4:	01 96       	adiw	r24, 0x01	; 1
742
     5d6:	0e 94 d7 0a 	call	0x15ae	; 0x15ae <bom_get_max10>
743
     5da:	99 81       	ldd	r25, Y+1	; 0x01
744
     5dc:	0f 90       	pop	r0
745
     5de:	0f 90       	pop	r0
746
     5e0:	cf 91       	pop	r28
747
     5e2:	df 91       	pop	r29
748
     5e4:	08 95       	ret
749

    
750
000005e6 <wl_token_ring_unregister>:
751
     5e6:	83 e2       	ldi	r24, 0x23	; 35
752
     5e8:	91 e0       	ldi	r25, 0x01	; 1
753
     5ea:	0e 94 96 00 	call	0x12c	; 0x12c <wl_unregister_packet_group>
754
     5ee:	08 95       	ret
755

    
756
000005f0 <wl_token_ring_join>:
757
     5f0:	0f 93       	push	r16
758
     5f2:	82 e0       	ldi	r24, 0x02	; 2
759
     5f4:	90 e0       	ldi	r25, 0x00	; 0
760
     5f6:	90 93 13 06 	sts	0x0613, r25
761
     5fa:	80 93 12 06 	sts	0x0612, r24
762
     5fe:	88 e0       	ldi	r24, 0x08	; 8
763
     600:	90 e0       	ldi	r25, 0x00	; 0
764
     602:	90 93 32 01 	sts	0x0132, r25
765
     606:	80 93 31 01 	sts	0x0131, r24
766
     60a:	82 e0       	ldi	r24, 0x02	; 2
767
     60c:	64 e0       	ldi	r22, 0x04	; 4
768
     60e:	40 e0       	ldi	r20, 0x00	; 0
769
     610:	50 e0       	ldi	r21, 0x00	; 0
770
     612:	20 e0       	ldi	r18, 0x00	; 0
771
     614:	30 e0       	ldi	r19, 0x00	; 0
772
     616:	00 e0       	ldi	r16, 0x00	; 0
773
     618:	0e 94 b9 01 	call	0x372	; 0x372 <wl_send_global_packet>
774
     61c:	89 2b       	or	r24, r25
775
     61e:	19 f4       	brne	.+6      	; 0x626 <wl_token_ring_join+0x36>
776
     620:	20 e0       	ldi	r18, 0x00	; 0
777
     622:	30 e0       	ldi	r19, 0x00	; 0
778
     624:	02 c0       	rjmp	.+4      	; 0x62a <wl_token_ring_join+0x3a>
779
     626:	2f ef       	ldi	r18, 0xFF	; 255
780
     628:	3f ef       	ldi	r19, 0xFF	; 255
781
     62a:	c9 01       	movw	r24, r18
782
     62c:	0f 91       	pop	r16
783
     62e:	08 95       	ret
784

    
785
00000630 <wl_token_pass_token>:
786
     630:	8f 92       	push	r8
787
     632:	9f 92       	push	r9
788
     634:	af 92       	push	r10
789
     636:	bf 92       	push	r11
790
     638:	df 92       	push	r13
791
     63a:	ef 92       	push	r14
792
     63c:	ff 92       	push	r15
793
     63e:	0f 93       	push	r16
794
     640:	1f 93       	push	r17
795
     642:	df 93       	push	r29
796
     644:	cf 93       	push	r28
797
     646:	cd b7       	in	r28, 0x3d	; 61
798
     648:	de b7       	in	r29, 0x3e	; 62
799
     64a:	8d b6       	in	r8, 0x3d	; 61
800
     64c:	9e b6       	in	r9, 0x3e	; 62
801
     64e:	0e 94 e4 01 	call	0x3c8	; 0x3c8 <wl_get_xbee_id>
802
     652:	8c 01       	movw	r16, r24
803
     654:	0e 94 b0 0a 	call	0x1560	; 0x1560 <sensor_matrix_get_size>
804
     658:	9c 01       	movw	r18, r24
805
     65a:	22 0f       	add	r18, r18
806
     65c:	33 1f       	adc	r19, r19
807
     65e:	28 0f       	add	r18, r24
808
     660:	39 1f       	adc	r19, r25
809
     662:	8d b7       	in	r24, 0x3d	; 61
810
     664:	9e b7       	in	r25, 0x3e	; 62
811
     666:	82 1b       	sub	r24, r18
812
     668:	93 0b       	sbc	r25, r19
813
     66a:	0f b6       	in	r0, 0x3f	; 63
814
     66c:	f8 94       	cli
815
     66e:	9e bf       	out	0x3e, r25	; 62
816
     670:	0f be       	out	0x3f, r0	; 63
817
     672:	8d bf       	out	0x3d, r24	; 61
818
     674:	ad b6       	in	r10, 0x3d	; 61
819
     676:	be b6       	in	r11, 0x3e	; 62
820
     678:	08 94       	sec
821
     67a:	a1 1c       	adc	r10, r1
822
     67c:	b1 1c       	adc	r11, r1
823
     67e:	80 91 33 01 	lds	r24, 0x0133
824
     682:	90 91 34 01 	lds	r25, 0x0134
825
     686:	2f ef       	ldi	r18, 0xFF	; 255
826
     688:	8f 3f       	cpi	r24, 0xFF	; 255
827
     68a:	92 07       	cpc	r25, r18
828
     68c:	81 f4       	brne	.+32     	; 0x6ae <wl_token_pass_token+0x7e>
829
     68e:	0f 5f       	subi	r16, 0xFF	; 255
830
     690:	1f 4f       	sbci	r17, 0xFF	; 255
831
     692:	0e 94 b0 0a 	call	0x1560	; 0x1560 <sensor_matrix_get_size>
832
     696:	08 17       	cp	r16, r24
833
     698:	19 07       	cpc	r17, r25
834
     69a:	11 f4       	brne	.+4      	; 0x6a0 <wl_token_pass_token+0x70>
835
     69c:	00 e0       	ldi	r16, 0x00	; 0
836
     69e:	10 e0       	ldi	r17, 0x00	; 0
837
     6a0:	c8 01       	movw	r24, r16
838
     6a2:	0e 94 9d 0a 	call	0x153a	; 0x153a <sensor_matrix_get_in_ring>
839
     6a6:	89 2b       	or	r24, r25
840
     6a8:	91 f3       	breq	.-28     	; 0x68e <wl_token_pass_token+0x5e>
841
     6aa:	d0 2e       	mov	r13, r16
842
     6ac:	0c c0       	rjmp	.+24     	; 0x6c6 <wl_token_pass_token+0x96>
843
     6ae:	61 e0       	ldi	r22, 0x01	; 1
844
     6b0:	70 e0       	ldi	r23, 0x00	; 0
845
     6b2:	0e 94 73 0a 	call	0x14e6	; 0x14e6 <sensor_matrix_set_in_ring>
846
     6b6:	d0 90 33 01 	lds	r13, 0x0133
847
     6ba:	8f ef       	ldi	r24, 0xFF	; 255
848
     6bc:	9f ef       	ldi	r25, 0xFF	; 255
849
     6be:	90 93 34 01 	sts	0x0134, r25
850
     6c2:	80 93 33 01 	sts	0x0133, r24
851
     6c6:	00 e0       	ldi	r16, 0x00	; 0
852
     6c8:	10 e0       	ldi	r17, 0x00	; 0
853
     6ca:	ee 24       	eor	r14, r14
854
     6cc:	ff 24       	eor	r15, r15
855
     6ce:	22 c0       	rjmp	.+68     	; 0x714 <wl_token_pass_token+0xe4>
856
     6d0:	c8 01       	movw	r24, r16
857
     6d2:	0e 94 9d 0a 	call	0x153a	; 0x153a <sensor_matrix_get_in_ring>
858
     6d6:	89 2b       	or	r24, r25
859
     6d8:	d9 f0       	breq	.+54     	; 0x710 <wl_token_pass_token+0xe0>
860
     6da:	0e 94 e4 01 	call	0x3c8	; 0x3c8 <wl_get_xbee_id>
861
     6de:	08 17       	cp	r16, r24
862
     6e0:	19 07       	cpc	r17, r25
863
     6e2:	b1 f0       	breq	.+44     	; 0x710 <wl_token_pass_token+0xe0>
864
     6e4:	0e 94 e4 01 	call	0x3c8	; 0x3c8 <wl_get_xbee_id>
865
     6e8:	b8 01       	movw	r22, r16
866
     6ea:	0e 94 5c 0a 	call	0x14b8	; 0x14b8 <sensor_matrix_get_reading>
867
     6ee:	dc 01       	movw	r26, r24
868
     6f0:	f7 01       	movw	r30, r14
869
     6f2:	ee 0f       	add	r30, r30
870
     6f4:	ff 1f       	adc	r31, r31
871
     6f6:	ee 0d       	add	r30, r14
872
     6f8:	ff 1d       	adc	r31, r15
873
     6fa:	ea 0d       	add	r30, r10
874
     6fc:	fb 1d       	adc	r31, r11
875
     6fe:	00 83       	st	Z, r16
876
     700:	8c 91       	ld	r24, X
877
     702:	81 83       	std	Z+1, r24	; 0x01
878
     704:	11 96       	adiw	r26, 0x01	; 1
879
     706:	8c 91       	ld	r24, X
880
     708:	82 83       	std	Z+2, r24	; 0x02
881
     70a:	08 94       	sec
882
     70c:	e1 1c       	adc	r14, r1
883
     70e:	f1 1c       	adc	r15, r1
884
     710:	0f 5f       	subi	r16, 0xFF	; 255
885
     712:	1f 4f       	sbci	r17, 0xFF	; 255
886
     714:	0e 94 b0 0a 	call	0x1560	; 0x1560 <sensor_matrix_get_size>
887
     718:	08 17       	cp	r16, r24
888
     71a:	19 07       	cpc	r17, r25
889
     71c:	cc f2       	brlt	.-78     	; 0x6d0 <wl_token_pass_token+0xa0>
890
     71e:	97 01       	movw	r18, r14
891
     720:	22 0f       	add	r18, r18
892
     722:	33 1f       	adc	r19, r19
893
     724:	2e 0d       	add	r18, r14
894
     726:	3f 1d       	adc	r19, r15
895
     728:	82 e0       	ldi	r24, 0x02	; 2
896
     72a:	62 e0       	ldi	r22, 0x02	; 2
897
     72c:	a5 01       	movw	r20, r10
898
     72e:	00 e0       	ldi	r16, 0x00	; 0
899
     730:	0e 94 b9 01 	call	0x372	; 0x372 <wl_send_global_packet>
900
     734:	89 2b       	or	r24, r25
901
     736:	d9 f4       	brne	.+54     	; 0x76e <wl_token_pass_token+0x13e>
902
     738:	82 e0       	ldi	r24, 0x02	; 2
903
     73a:	61 e0       	ldi	r22, 0x01	; 1
904
     73c:	40 e0       	ldi	r20, 0x00	; 0
905
     73e:	50 e0       	ldi	r21, 0x00	; 0
906
     740:	20 e0       	ldi	r18, 0x00	; 0
907
     742:	30 e0       	ldi	r19, 0x00	; 0
908
     744:	0d 2d       	mov	r16, r13
909
     746:	10 e0       	ldi	r17, 0x00	; 0
910
     748:	92 e0       	ldi	r25, 0x02	; 2
911
     74a:	e9 2e       	mov	r14, r25
912
     74c:	0e 94 d6 01 	call	0x3ac	; 0x3ac <wl_send_robot_to_robot_global_packet>
913
     750:	89 2b       	or	r24, r25
914
     752:	69 f4       	brne	.+26     	; 0x76e <wl_token_pass_token+0x13e>
915
     754:	d0 92 2d 01 	sts	0x012D, r13
916
     758:	10 92 2e 01 	sts	0x012E, r1
917
     75c:	84 e0       	ldi	r24, 0x04	; 4
918
     75e:	90 e0       	ldi	r25, 0x00	; 0
919
     760:	90 93 30 01 	sts	0x0130, r25
920
     764:	80 93 2f 01 	sts	0x012F, r24
921
     768:	20 e0       	ldi	r18, 0x00	; 0
922
     76a:	30 e0       	ldi	r19, 0x00	; 0
923
     76c:	02 c0       	rjmp	.+4      	; 0x772 <wl_token_pass_token+0x142>
924
     76e:	2f ef       	ldi	r18, 0xFF	; 255
925
     770:	3f ef       	ldi	r19, 0xFF	; 255
926
     772:	c9 01       	movw	r24, r18
927
     774:	0f b6       	in	r0, 0x3f	; 63
928
     776:	f8 94       	cli
929
     778:	9e be       	out	0x3e, r9	; 62
930
     77a:	0f be       	out	0x3f, r0	; 63
931
     77c:	8d be       	out	0x3d, r8	; 61
932
     77e:	cf 91       	pop	r28
933
     780:	df 91       	pop	r29
934
     782:	1f 91       	pop	r17
935
     784:	0f 91       	pop	r16
936
     786:	ff 90       	pop	r15
937
     788:	ef 90       	pop	r14
938
     78a:	df 90       	pop	r13
939
     78c:	bf 90       	pop	r11
940
     78e:	af 90       	pop	r10
941
     790:	9f 90       	pop	r9
942
     792:	8f 90       	pop	r8
943
     794:	08 95       	ret
944

    
945
00000796 <wl_token_ring_receive_handler>:
946
     796:	6f 92       	push	r6
947
     798:	7f 92       	push	r7
948
     79a:	8f 92       	push	r8
949
     79c:	9f 92       	push	r9
950
     79e:	af 92       	push	r10
951
     7a0:	bf 92       	push	r11
952
     7a2:	cf 92       	push	r12
953
     7a4:	df 92       	push	r13
954
     7a6:	ef 92       	push	r14
955
     7a8:	ff 92       	push	r15
956
     7aa:	0f 93       	push	r16
957
     7ac:	1f 93       	push	r17
958
     7ae:	cf 93       	push	r28
959
     7b0:	df 93       	push	r29
960
     7b2:	7b 01       	movw	r14, r22
961
     7b4:	4a 01       	movw	r8, r20
962
     7b6:	e9 01       	movw	r28, r18
963
     7b8:	83 30       	cpi	r24, 0x03	; 3
964
     7ba:	09 f4       	brne	.+2      	; 0x7be <wl_token_ring_receive_handler+0x28>
965
     7bc:	60 c1       	rjmp	.+704    	; 0xa7e <wl_token_ring_receive_handler+0x2e8>
966
     7be:	84 30       	cpi	r24, 0x04	; 4
967
     7c0:	30 f4       	brcc	.+12     	; 0x7ce <wl_token_ring_receive_handler+0x38>
968
     7c2:	81 30       	cpi	r24, 0x01	; 1
969
     7c4:	59 f0       	breq	.+22     	; 0x7dc <wl_token_ring_receive_handler+0x46>
970
     7c6:	82 30       	cpi	r24, 0x02	; 2
971
     7c8:	09 f0       	breq	.+2      	; 0x7cc <wl_token_ring_receive_handler+0x36>
972
     7ca:	c9 c1       	rjmp	.+914    	; 0xb5e <wl_token_ring_receive_handler+0x3c8>
973
     7cc:	76 c0       	rjmp	.+236    	; 0x8ba <wl_token_ring_receive_handler+0x124>
974
     7ce:	84 30       	cpi	r24, 0x04	; 4
975
     7d0:	09 f4       	brne	.+2      	; 0x7d4 <wl_token_ring_receive_handler+0x3e>
976
     7d2:	68 c1       	rjmp	.+720    	; 0xaa4 <wl_token_ring_receive_handler+0x30e>
977
     7d4:	85 30       	cpi	r24, 0x05	; 5
978
     7d6:	09 f0       	breq	.+2      	; 0x7da <wl_token_ring_receive_handler+0x44>
979
     7d8:	c2 c1       	rjmp	.+900    	; 0xb5e <wl_token_ring_receive_handler+0x3c8>
980
     7da:	ab c1       	rjmp	.+854    	; 0xb32 <wl_token_ring_receive_handler+0x39c>
981
     7dc:	80 91 2d 01 	lds	r24, 0x012D
982
     7e0:	90 91 2e 01 	lds	r25, 0x012E
983
     7e4:	68 17       	cp	r22, r24
984
     7e6:	79 07       	cpc	r23, r25
985
     7e8:	b1 f0       	breq	.+44     	; 0x816 <wl_token_ring_receive_handler+0x80>
986
     7ea:	0e 94 e4 01 	call	0x3c8	; 0x3c8 <wl_get_xbee_id>
987
     7ee:	20 91 2d 01 	lds	r18, 0x012D
988
     7f2:	30 91 2e 01 	lds	r19, 0x012E
989
     7f6:	82 17       	cp	r24, r18
990
     7f8:	93 07       	cpc	r25, r19
991
     7fa:	69 f0       	breq	.+26     	; 0x816 <wl_token_ring_receive_handler+0x80>
992
     7fc:	80 91 10 06 	lds	r24, 0x0610
993
     800:	90 91 11 06 	lds	r25, 0x0611
994
     804:	03 97       	sbiw	r24, 0x03	; 3
995
     806:	3c f4       	brge	.+14     	; 0x816 <wl_token_ring_receive_handler+0x80>
996
     808:	80 91 12 06 	lds	r24, 0x0612
997
     80c:	90 91 13 06 	lds	r25, 0x0613
998
     810:	03 97       	sbiw	r24, 0x03	; 3
999
     812:	09 f0       	breq	.+2      	; 0x816 <wl_token_ring_receive_handler+0x80>
1000
     814:	a4 c1       	rjmp	.+840    	; 0xb5e <wl_token_ring_receive_handler+0x3c8>
1001
     816:	cf ef       	ldi	r28, 0xFF	; 255
1002
     818:	df ef       	ldi	r29, 0xFF	; 255
1003
     81a:	d0 93 11 06 	sts	0x0611, r29
1004
     81e:	c0 93 10 06 	sts	0x0610, r28
1005
     822:	d0 93 30 01 	sts	0x0130, r29
1006
     826:	c0 93 2f 01 	sts	0x012F, r28
1007
     82a:	c7 01       	movw	r24, r14
1008
     82c:	61 e0       	ldi	r22, 0x01	; 1
1009
     82e:	70 e0       	ldi	r23, 0x00	; 0
1010
     830:	0e 94 73 0a 	call	0x14e6	; 0x14e6 <sensor_matrix_set_in_ring>
1011
     834:	80 91 12 06 	lds	r24, 0x0612
1012
     838:	90 91 13 06 	lds	r25, 0x0613
1013
     83c:	03 97       	sbiw	r24, 0x03	; 3
1014
     83e:	81 f4       	brne	.+32     	; 0x860 <wl_token_ring_receive_handler+0xca>
1015
     840:	0e 94 e4 01 	call	0x3c8	; 0x3c8 <wl_get_xbee_id>
1016
     844:	61 e0       	ldi	r22, 0x01	; 1
1017
     846:	70 e0       	ldi	r23, 0x00	; 0
1018
     848:	0e 94 73 0a 	call	0x14e6	; 0x14e6 <sensor_matrix_set_in_ring>
1019
     84c:	81 e0       	ldi	r24, 0x01	; 1
1020
     84e:	90 e0       	ldi	r25, 0x00	; 0
1021
     850:	90 93 13 06 	sts	0x0613, r25
1022
     854:	80 93 12 06 	sts	0x0612, r24
1023
     858:	d0 93 32 01 	sts	0x0132, r29
1024
     85c:	c0 93 31 01 	sts	0x0131, r28
1025
     860:	80 91 12 06 	lds	r24, 0x0612
1026
     864:	90 91 13 06 	lds	r25, 0x0613
1027
     868:	84 30       	cpi	r24, 0x04	; 4
1028
     86a:	91 05       	cpc	r25, r1
1029
     86c:	11 f0       	breq	.+4      	; 0x872 <wl_token_ring_receive_handler+0xdc>
1030
     86e:	89 2b       	or	r24, r25
1031
     870:	29 f4       	brne	.+10     	; 0x87c <wl_token_ring_receive_handler+0xe6>
1032
     872:	0e 94 e4 01 	call	0x3c8	; 0x3c8 <wl_get_xbee_id>
1033
     876:	60 e0       	ldi	r22, 0x00	; 0
1034
     878:	70 e0       	ldi	r23, 0x00	; 0
1035
     87a:	6f c1       	rjmp	.+734    	; 0xb5a <wl_token_ring_receive_handler+0x3c4>
1036
     87c:	82 e0       	ldi	r24, 0x02	; 2
1037
     87e:	63 e0       	ldi	r22, 0x03	; 3
1038
     880:	40 e0       	ldi	r20, 0x00	; 0
1039
     882:	50 e0       	ldi	r21, 0x00	; 0
1040
     884:	20 e0       	ldi	r18, 0x00	; 0
1041
     886:	30 e0       	ldi	r19, 0x00	; 0
1042
     888:	00 e0       	ldi	r16, 0x00	; 0
1043
     88a:	0e 94 b9 01 	call	0x372	; 0x372 <wl_send_global_packet>
1044
     88e:	e0 91 1d 01 	lds	r30, 0x011D
1045
     892:	f0 91 1e 01 	lds	r31, 0x011E
1046
     896:	09 95       	icall
1047
     898:	84 e6       	ldi	r24, 0x64	; 100
1048
     89a:	90 e0       	ldi	r25, 0x00	; 0
1049
     89c:	0e 94 e3 1b 	call	0x37c6	; 0x37c6 <delay_ms>
1050
     8a0:	e0 91 1f 01 	lds	r30, 0x011F
1051
     8a4:	f0 91 20 01 	lds	r31, 0x0120
1052
     8a8:	09 95       	icall
1053
     8aa:	0e 94 e4 01 	call	0x3c8	; 0x3c8 <wl_get_xbee_id>
1054
     8ae:	0e 94 9d 0a 	call	0x153a	; 0x153a <sensor_matrix_get_in_ring>
1055
     8b2:	89 2b       	or	r24, r25
1056
     8b4:	09 f4       	brne	.+2      	; 0x8b8 <wl_token_ring_receive_handler+0x122>
1057
     8b6:	53 c1       	rjmp	.+678    	; 0xb5e <wl_token_ring_receive_handler+0x3c8>
1058
     8b8:	39 c1       	rjmp	.+626    	; 0xb2c <wl_token_ring_receive_handler+0x396>
1059
     8ba:	8f ef       	ldi	r24, 0xFF	; 255
1060
     8bc:	9f ef       	ldi	r25, 0xFF	; 255
1061
     8be:	90 93 11 06 	sts	0x0611, r25
1062
     8c2:	80 93 10 06 	sts	0x0610, r24
1063
     8c6:	90 93 30 01 	sts	0x0130, r25
1064
     8ca:	80 93 2f 01 	sts	0x012F, r24
1065
     8ce:	cb 01       	movw	r24, r22
1066
     8d0:	61 e0       	ldi	r22, 0x01	; 1
1067
     8d2:	70 e0       	ldi	r23, 0x00	; 0
1068
     8d4:	0e 94 73 0a 	call	0x14e6	; 0x14e6 <sensor_matrix_set_in_ring>
1069
     8d8:	ce 01       	movw	r24, r28
1070
     8da:	62 e0       	ldi	r22, 0x02	; 2
1071
     8dc:	70 e0       	ldi	r23, 0x00	; 0
1072
     8de:	0e 94 13 32 	call	0x6426	; 0x6426 <__divmodhi4>
1073
     8e2:	5b 01       	movw	r10, r22
1074
     8e4:	cc 24       	eor	r12, r12
1075
     8e6:	dd 24       	eor	r13, r13
1076
     8e8:	00 e0       	ldi	r16, 0x00	; 0
1077
     8ea:	10 e0       	ldi	r17, 0x00	; 0
1078
     8ec:	66 24       	eor	r6, r6
1079
     8ee:	6a 94       	dec	r6
1080
     8f0:	76 2c       	mov	r7, r6
1081
     8f2:	69 c0       	rjmp	.+210    	; 0x9c6 <wl_token_ring_receive_handler+0x230>
1082
     8f4:	0e 15       	cp	r16, r14
1083
     8f6:	1f 05       	cpc	r17, r15
1084
     8f8:	09 f4       	brne	.+2      	; 0x8fc <wl_token_ring_receive_handler+0x166>
1085
     8fa:	63 c0       	rjmp	.+198    	; 0x9c2 <wl_token_ring_receive_handler+0x22c>
1086
     8fc:	ca 14       	cp	r12, r10
1087
     8fe:	db 04       	cpc	r13, r11
1088
     900:	74 f5       	brge	.+92     	; 0x95e <wl_token_ring_receive_handler+0x1c8>
1089
     902:	96 01       	movw	r18, r12
1090
     904:	22 0f       	add	r18, r18
1091
     906:	33 1f       	adc	r19, r19
1092
     908:	2c 0d       	add	r18, r12
1093
     90a:	3d 1d       	adc	r19, r13
1094
     90c:	f4 01       	movw	r30, r8
1095
     90e:	e2 0f       	add	r30, r18
1096
     910:	f3 1f       	adc	r31, r19
1097
     912:	80 81       	ld	r24, Z
1098
     914:	c8 2f       	mov	r28, r24
1099
     916:	d0 e0       	ldi	r29, 0x00	; 0
1100
     918:	c0 17       	cp	r28, r16
1101
     91a:	d1 07       	cpc	r29, r17
1102
     91c:	01 f5       	brne	.+64     	; 0x95e <wl_token_ring_receive_handler+0x1c8>
1103
     91e:	80 91 33 01 	lds	r24, 0x0133
1104
     922:	90 91 34 01 	lds	r25, 0x0134
1105
     926:	80 17       	cp	r24, r16
1106
     928:	91 07       	cpc	r25, r17
1107
     92a:	21 f4       	brne	.+8      	; 0x934 <wl_token_ring_receive_handler+0x19e>
1108
     92c:	70 92 34 01 	sts	0x0134, r7
1109
     930:	60 92 33 01 	sts	0x0133, r6
1110
     934:	f9 01       	movw	r30, r18
1111
     936:	e8 0d       	add	r30, r8
1112
     938:	f9 1d       	adc	r31, r9
1113
     93a:	41 81       	ldd	r20, Z+1	; 0x01
1114
     93c:	52 81       	ldd	r21, Z+2	; 0x02
1115
     93e:	c7 01       	movw	r24, r14
1116
     940:	be 01       	movw	r22, r28
1117
     942:	0e 94 43 0a 	call	0x1486	; 0x1486 <sensor_matrix_set_reading>
1118
     946:	ce 01       	movw	r24, r28
1119
     948:	0e 94 9d 0a 	call	0x153a	; 0x153a <sensor_matrix_get_in_ring>
1120
     94c:	ce 01       	movw	r24, r28
1121
     94e:	61 e0       	ldi	r22, 0x01	; 1
1122
     950:	70 e0       	ldi	r23, 0x00	; 0
1123
     952:	0e 94 73 0a 	call	0x14e6	; 0x14e6 <sensor_matrix_set_in_ring>
1124
     956:	08 94       	sec
1125
     958:	c1 1c       	adc	r12, r1
1126
     95a:	d1 1c       	adc	r13, r1
1127
     95c:	32 c0       	rjmp	.+100    	; 0x9c2 <wl_token_ring_receive_handler+0x22c>
1128
     95e:	c8 01       	movw	r24, r16
1129
     960:	0e 94 9d 0a 	call	0x153a	; 0x153a <sensor_matrix_get_in_ring>
1130
     964:	89 2b       	or	r24, r25
1131
     966:	29 f0       	breq	.+10     	; 0x972 <wl_token_ring_receive_handler+0x1dc>
1132
     968:	c8 01       	movw	r24, r16
1133
     96a:	60 e0       	ldi	r22, 0x00	; 0
1134
     96c:	70 e0       	ldi	r23, 0x00	; 0
1135
     96e:	0e 94 73 0a 	call	0x14e6	; 0x14e6 <sensor_matrix_set_in_ring>
1136
     972:	0e 94 e4 01 	call	0x3c8	; 0x3c8 <wl_get_xbee_id>
1137
     976:	08 17       	cp	r16, r24
1138
     978:	19 07       	cpc	r17, r25
1139
     97a:	61 f4       	brne	.+24     	; 0x994 <wl_token_ring_receive_handler+0x1fe>
1140
     97c:	80 91 12 06 	lds	r24, 0x0612
1141
     980:	90 91 13 06 	lds	r25, 0x0613
1142
     984:	01 97       	sbiw	r24, 0x01	; 1
1143
     986:	31 f4       	brne	.+12     	; 0x994 <wl_token_ring_receive_handler+0x1fe>
1144
     988:	10 92 13 06 	sts	0x0613, r1
1145
     98c:	10 92 12 06 	sts	0x0612, r1
1146
     990:	0e 94 f8 02 	call	0x5f0	; 0x5f0 <wl_token_ring_join>
1147
     994:	80 91 35 01 	lds	r24, 0x0135
1148
     998:	90 91 36 01 	lds	r25, 0x0136
1149
     99c:	08 17       	cp	r16, r24
1150
     99e:	19 07       	cpc	r17, r25
1151
     9a0:	81 f4       	brne	.+32     	; 0x9c2 <wl_token_ring_receive_handler+0x22c>
1152
     9a2:	0e 94 e4 01 	call	0x3c8	; 0x3c8 <wl_get_xbee_id>
1153
     9a6:	60 e0       	ldi	r22, 0x00	; 0
1154
     9a8:	70 e0       	ldi	r23, 0x00	; 0
1155
     9aa:	0e 94 73 0a 	call	0x14e6	; 0x14e6 <sensor_matrix_set_in_ring>
1156
     9ae:	10 92 13 06 	sts	0x0613, r1
1157
     9b2:	10 92 12 06 	sts	0x0612, r1
1158
     9b6:	70 92 36 01 	sts	0x0136, r7
1159
     9ba:	60 92 35 01 	sts	0x0135, r6
1160
     9be:	0e 94 f8 02 	call	0x5f0	; 0x5f0 <wl_token_ring_join>
1161
     9c2:	0f 5f       	subi	r16, 0xFF	; 255
1162
     9c4:	1f 4f       	sbci	r17, 0xFF	; 255
1163
     9c6:	0e 94 b0 0a 	call	0x1560	; 0x1560 <sensor_matrix_get_size>
1164
     9ca:	08 17       	cp	r16, r24
1165
     9cc:	19 07       	cpc	r17, r25
1166
     9ce:	0c f4       	brge	.+2      	; 0x9d2 <wl_token_ring_receive_handler+0x23c>
1167
     9d0:	91 cf       	rjmp	.-222    	; 0x8f4 <wl_token_ring_receive_handler+0x15e>
1168
     9d2:	87 01       	movw	r16, r14
1169
     9d4:	0f 5f       	subi	r16, 0xFF	; 255
1170
     9d6:	1f 4f       	sbci	r17, 0xFF	; 255
1171
     9d8:	0e 94 b0 0a 	call	0x1560	; 0x1560 <sensor_matrix_get_size>
1172
     9dc:	08 17       	cp	r16, r24
1173
     9de:	19 07       	cpc	r17, r25
1174
     9e0:	11 f4       	brne	.+4      	; 0x9e6 <wl_token_ring_receive_handler+0x250>
1175
     9e2:	00 e0       	ldi	r16, 0x00	; 0
1176
     9e4:	10 e0       	ldi	r17, 0x00	; 0
1177
     9e6:	c8 01       	movw	r24, r16
1178
     9e8:	0e 94 9d 0a 	call	0x153a	; 0x153a <sensor_matrix_get_in_ring>
1179
     9ec:	89 2b       	or	r24, r25
1180
     9ee:	19 f4       	brne	.+6      	; 0x9f6 <wl_token_ring_receive_handler+0x260>
1181
     9f0:	0e 15       	cp	r16, r14
1182
     9f2:	1f 05       	cpc	r17, r15
1183
     9f4:	79 f7       	brne	.-34     	; 0x9d4 <wl_token_ring_receive_handler+0x23e>
1184
     9f6:	e0 2e       	mov	r14, r16
1185
     9f8:	ff 24       	eor	r15, r15
1186
     9fa:	0e 94 e4 01 	call	0x3c8	; 0x3c8 <wl_get_xbee_id>
1187
     9fe:	e8 16       	cp	r14, r24
1188
     a00:	f9 06       	cpc	r15, r25
1189
     a02:	21 f0       	breq	.+8      	; 0xa0c <wl_token_ring_receive_handler+0x276>
1190
     a04:	f0 92 2e 01 	sts	0x012E, r15
1191
     a08:	e0 92 2d 01 	sts	0x012D, r14
1192
     a0c:	0e 94 e4 01 	call	0x3c8	; 0x3c8 <wl_get_xbee_id>
1193
     a10:	8c 01       	movw	r16, r24
1194
     a12:	0f 5f       	subi	r16, 0xFF	; 255
1195
     a14:	1f 4f       	sbci	r17, 0xFF	; 255
1196
     a16:	c1 e0       	ldi	r28, 0x01	; 1
1197
     a18:	d0 e0       	ldi	r29, 0x00	; 0
1198
     a1a:	0e 94 b0 0a 	call	0x1560	; 0x1560 <sensor_matrix_get_size>
1199
     a1e:	08 17       	cp	r16, r24
1200
     a20:	19 07       	cpc	r17, r25
1201
     a22:	11 f4       	brne	.+4      	; 0xa28 <wl_token_ring_receive_handler+0x292>
1202
     a24:	00 e0       	ldi	r16, 0x00	; 0
1203
     a26:	10 e0       	ldi	r17, 0x00	; 0
1204
     a28:	0e 15       	cp	r16, r14
1205
     a2a:	1f 05       	cpc	r17, r15
1206
     a2c:	49 f0       	breq	.+18     	; 0xa40 <wl_token_ring_receive_handler+0x2aa>
1207
     a2e:	c8 01       	movw	r24, r16
1208
     a30:	0e 94 9d 0a 	call	0x153a	; 0x153a <sensor_matrix_get_in_ring>
1209
     a34:	89 2b       	or	r24, r25
1210
     a36:	09 f0       	breq	.+2      	; 0xa3a <wl_token_ring_receive_handler+0x2a4>
1211
     a38:	21 96       	adiw	r28, 0x01	; 1
1212
     a3a:	0f 5f       	subi	r16, 0xFF	; 255
1213
     a3c:	1f 4f       	sbci	r17, 0xFF	; 255
1214
     a3e:	ed cf       	rjmp	.-38     	; 0xa1a <wl_token_ring_receive_handler+0x284>
1215
     a40:	cc 0f       	add	r28, r28
1216
     a42:	dd 1f       	adc	r29, r29
1217
     a44:	cc 0f       	add	r28, r28
1218
     a46:	dd 1f       	adc	r29, r29
1219
     a48:	d0 93 30 01 	sts	0x0130, r29
1220
     a4c:	c0 93 2f 01 	sts	0x012F, r28
1221
     a50:	0e 94 ab 0a 	call	0x1556	; 0x1556 <sensor_matrix_get_joined>
1222
     a54:	89 2b       	or	r24, r25
1223
     a56:	09 f0       	breq	.+2      	; 0xa5a <wl_token_ring_receive_handler+0x2c4>
1224
     a58:	82 c0       	rjmp	.+260    	; 0xb5e <wl_token_ring_receive_handler+0x3c8>
1225
     a5a:	80 91 12 06 	lds	r24, 0x0612
1226
     a5e:	90 91 13 06 	lds	r25, 0x0613
1227
     a62:	02 97       	sbiw	r24, 0x02	; 2
1228
     a64:	09 f0       	breq	.+2      	; 0xa68 <wl_token_ring_receive_handler+0x2d2>
1229
     a66:	7b c0       	rjmp	.+246    	; 0xb5e <wl_token_ring_receive_handler+0x3c8>
1230
     a68:	82 e0       	ldi	r24, 0x02	; 2
1231
     a6a:	61 e0       	ldi	r22, 0x01	; 1
1232
     a6c:	40 e0       	ldi	r20, 0x00	; 0
1233
     a6e:	50 e0       	ldi	r21, 0x00	; 0
1234
     a70:	20 e0       	ldi	r18, 0x00	; 0
1235
     a72:	30 e0       	ldi	r19, 0x00	; 0
1236
     a74:	72 e0       	ldi	r23, 0x02	; 2
1237
     a76:	e7 2e       	mov	r14, r23
1238
     a78:	0e 94 d6 01 	call	0x3ac	; 0x3ac <wl_send_robot_to_robot_global_packet>
1239
     a7c:	70 c0       	rjmp	.+224    	; 0xb5e <wl_token_ring_receive_handler+0x3c8>
1240
     a7e:	10 92 11 06 	sts	0x0611, r1
1241
     a82:	10 92 10 06 	sts	0x0610, r1
1242
     a86:	e0 91 21 01 	lds	r30, 0x0121
1243
     a8a:	f0 91 22 01 	lds	r31, 0x0122
1244
     a8e:	09 95       	icall
1245
     a90:	18 2f       	mov	r17, r24
1246
     a92:	09 2f       	mov	r16, r25
1247
     a94:	0e 94 e4 01 	call	0x3c8	; 0x3c8 <wl_get_xbee_id>
1248
     a98:	b7 01       	movw	r22, r14
1249
     a9a:	41 2f       	mov	r20, r17
1250
     a9c:	50 2f       	mov	r21, r16
1251
     a9e:	0e 94 43 0a 	call	0x1486	; 0x1486 <sensor_matrix_set_reading>
1252
     aa2:	5d c0       	rjmp	.+186    	; 0xb5e <wl_token_ring_receive_handler+0x3c8>
1253
     aa4:	80 91 12 06 	lds	r24, 0x0612
1254
     aa8:	90 91 13 06 	lds	r25, 0x0613
1255
     aac:	01 97       	sbiw	r24, 0x01	; 1
1256
     aae:	09 f0       	breq	.+2      	; 0xab2 <wl_token_ring_receive_handler+0x31c>
1257
     ab0:	56 c0       	rjmp	.+172    	; 0xb5e <wl_token_ring_receive_handler+0x3c8>
1258
     ab2:	80 91 33 01 	lds	r24, 0x0133
1259
     ab6:	90 91 34 01 	lds	r25, 0x0134
1260
     aba:	86 17       	cp	r24, r22
1261
     abc:	97 07       	cpc	r25, r23
1262
     abe:	31 f4       	brne	.+12     	; 0xacc <wl_token_ring_receive_handler+0x336>
1263
     ac0:	8f ef       	ldi	r24, 0xFF	; 255
1264
     ac2:	9f ef       	ldi	r25, 0xFF	; 255
1265
     ac4:	90 93 34 01 	sts	0x0134, r25
1266
     ac8:	80 93 33 01 	sts	0x0133, r24
1267
     acc:	80 91 33 01 	lds	r24, 0x0133
1268
     ad0:	90 91 34 01 	lds	r25, 0x0134
1269
     ad4:	8f 5f       	subi	r24, 0xFF	; 255
1270
     ad6:	9f 4f       	sbci	r25, 0xFF	; 255
1271
     ad8:	09 f0       	breq	.+2      	; 0xadc <wl_token_ring_receive_handler+0x346>
1272
     ada:	41 c0       	rjmp	.+130    	; 0xb5e <wl_token_ring_receive_handler+0x3c8>
1273
     adc:	87 01       	movw	r16, r14
1274
     ade:	01 50       	subi	r16, 0x01	; 1
1275
     ae0:	10 40       	sbci	r17, 0x00	; 0
1276
     ae2:	17 ff       	sbrs	r17, 7
1277
     ae4:	05 c0       	rjmp	.+10     	; 0xaf0 <wl_token_ring_receive_handler+0x35a>
1278
     ae6:	0e 94 b0 0a 	call	0x1560	; 0x1560 <sensor_matrix_get_size>
1279
     aea:	8c 01       	movw	r16, r24
1280
     aec:	01 50       	subi	r16, 0x01	; 1
1281
     aee:	10 40       	sbci	r17, 0x00	; 0
1282
     af0:	0e 94 e4 01 	call	0x3c8	; 0x3c8 <wl_get_xbee_id>
1283
     af4:	08 17       	cp	r16, r24
1284
     af6:	19 07       	cpc	r17, r25
1285
     af8:	31 f0       	breq	.+12     	; 0xb06 <wl_token_ring_receive_handler+0x370>
1286
     afa:	c8 01       	movw	r24, r16
1287
     afc:	0e 94 9d 0a 	call	0x153a	; 0x153a <sensor_matrix_get_in_ring>
1288
     b00:	89 2b       	or	r24, r25
1289
     b02:	69 f3       	breq	.-38     	; 0xade <wl_token_ring_receive_handler+0x348>
1290
     b04:	2c c0       	rjmp	.+88     	; 0xb5e <wl_token_ring_receive_handler+0x3c8>
1291
     b06:	f0 92 34 01 	sts	0x0134, r15
1292
     b0a:	e0 92 33 01 	sts	0x0133, r14
1293
     b0e:	82 e0       	ldi	r24, 0x02	; 2
1294
     b10:	65 e0       	ldi	r22, 0x05	; 5
1295
     b12:	40 e0       	ldi	r20, 0x00	; 0
1296
     b14:	50 e0       	ldi	r21, 0x00	; 0
1297
     b16:	20 e0       	ldi	r18, 0x00	; 0
1298
     b18:	30 e0       	ldi	r19, 0x00	; 0
1299
     b1a:	87 01       	movw	r16, r14
1300
     b1c:	ee 24       	eor	r14, r14
1301
     b1e:	e3 94       	inc	r14
1302
     b20:	0e 94 d6 01 	call	0x3ac	; 0x3ac <wl_send_robot_to_robot_global_packet>
1303
     b24:	0e 94 ab 0a 	call	0x1556	; 0x1556 <sensor_matrix_get_joined>
1304
     b28:	01 97       	sbiw	r24, 0x01	; 1
1305
     b2a:	c9 f4       	brne	.+50     	; 0xb5e <wl_token_ring_receive_handler+0x3c8>
1306
     b2c:	0e 94 18 03 	call	0x630	; 0x630 <wl_token_pass_token>
1307
     b30:	16 c0       	rjmp	.+44     	; 0xb5e <wl_token_ring_receive_handler+0x3c8>
1308
     b32:	88 e0       	ldi	r24, 0x08	; 8
1309
     b34:	90 e0       	ldi	r25, 0x00	; 0
1310
     b36:	90 93 32 01 	sts	0x0132, r25
1311
     b3a:	80 93 31 01 	sts	0x0131, r24
1312
     b3e:	83 e0       	ldi	r24, 0x03	; 3
1313
     b40:	90 e0       	ldi	r25, 0x00	; 0
1314
     b42:	90 93 13 06 	sts	0x0613, r25
1315
     b46:	80 93 12 06 	sts	0x0612, r24
1316
     b4a:	70 93 36 01 	sts	0x0136, r23
1317
     b4e:	60 93 35 01 	sts	0x0135, r22
1318
     b52:	0e 94 e4 01 	call	0x3c8	; 0x3c8 <wl_get_xbee_id>
1319
     b56:	61 e0       	ldi	r22, 0x01	; 1
1320
     b58:	70 e0       	ldi	r23, 0x00	; 0
1321
     b5a:	0e 94 73 0a 	call	0x14e6	; 0x14e6 <sensor_matrix_set_in_ring>
1322
     b5e:	df 91       	pop	r29
1323
     b60:	cf 91       	pop	r28
1324
     b62:	1f 91       	pop	r17
1325
     b64:	0f 91       	pop	r16
1326
     b66:	ff 90       	pop	r15
1327
     b68:	ef 90       	pop	r14
1328
     b6a:	df 90       	pop	r13
1329
     b6c:	cf 90       	pop	r12
1330
     b6e:	bf 90       	pop	r11
1331
     b70:	af 90       	pop	r10
1332
     b72:	9f 90       	pop	r9
1333
     b74:	8f 90       	pop	r8
1334
     b76:	7f 90       	pop	r7
1335
     b78:	6f 90       	pop	r6
1336
     b7a:	08 95       	ret
1337

    
1338
00000b7c <wl_token_ring_timeout_handler>:
1339
     b7c:	0f 93       	push	r16
1340
     b7e:	1f 93       	push	r17
1341
     b80:	80 91 2f 01 	lds	r24, 0x012F
1342
     b84:	90 91 30 01 	lds	r25, 0x0130
1343
     b88:	89 2b       	or	r24, r25
1344
     b8a:	29 f5       	brne	.+74     	; 0xbd6 <wl_token_ring_timeout_handler+0x5a>
1345
     b8c:	00 91 2d 01 	lds	r16, 0x012D
1346
     b90:	10 91 2e 01 	lds	r17, 0x012E
1347
     b94:	0e 94 e4 01 	call	0x3c8	; 0x3c8 <wl_get_xbee_id>
1348
     b98:	08 17       	cp	r16, r24
1349
     b9a:	19 07       	cpc	r17, r25
1350
     b9c:	a1 f0       	breq	.+40     	; 0xbc6 <wl_token_ring_timeout_handler+0x4a>
1351
     b9e:	80 91 2d 01 	lds	r24, 0x012D
1352
     ba2:	90 91 2e 01 	lds	r25, 0x012E
1353
     ba6:	60 e0       	ldi	r22, 0x00	; 0
1354
     ba8:	70 e0       	ldi	r23, 0x00	; 0
1355
     baa:	0e 94 73 0a 	call	0x14e6	; 0x14e6 <sensor_matrix_set_in_ring>
1356
     bae:	8f ef       	ldi	r24, 0xFF	; 255
1357
     bb0:	9f ef       	ldi	r25, 0xFF	; 255
1358
     bb2:	90 93 2e 01 	sts	0x012E, r25
1359
     bb6:	80 93 2d 01 	sts	0x012D, r24
1360
     bba:	84 e0       	ldi	r24, 0x04	; 4
1361
     bbc:	90 e0       	ldi	r25, 0x00	; 0
1362
     bbe:	90 93 30 01 	sts	0x0130, r25
1363
     bc2:	80 93 2f 01 	sts	0x012F, r24
1364
     bc6:	80 91 12 06 	lds	r24, 0x0612
1365
     bca:	90 91 13 06 	lds	r25, 0x0613
1366
     bce:	01 97       	sbiw	r24, 0x01	; 1
1367
     bd0:	11 f4       	brne	.+4      	; 0xbd6 <wl_token_ring_timeout_handler+0x5a>
1368
     bd2:	0e 94 18 03 	call	0x630	; 0x630 <wl_token_pass_token>
1369
     bd6:	80 91 31 01 	lds	r24, 0x0131
1370
     bda:	90 91 32 01 	lds	r25, 0x0132
1371
     bde:	89 2b       	or	r24, r25
1372
     be0:	59 f5       	brne	.+86     	; 0xc38 <wl_token_ring_timeout_handler+0xbc>
1373
     be2:	0e 94 ab 0a 	call	0x1556	; 0x1556 <sensor_matrix_get_joined>
1374
     be6:	89 2b       	or	r24, r25
1375
     be8:	c9 f4       	brne	.+50     	; 0xc1c <wl_token_ring_timeout_handler+0xa0>
1376
     bea:	0e 94 e4 01 	call	0x3c8	; 0x3c8 <wl_get_xbee_id>
1377
     bee:	61 e0       	ldi	r22, 0x01	; 1
1378
     bf0:	70 e0       	ldi	r23, 0x00	; 0
1379
     bf2:	0e 94 73 0a 	call	0x14e6	; 0x14e6 <sensor_matrix_set_in_ring>
1380
     bf6:	81 e0       	ldi	r24, 0x01	; 1
1381
     bf8:	90 e0       	ldi	r25, 0x00	; 0
1382
     bfa:	90 93 13 06 	sts	0x0613, r25
1383
     bfe:	80 93 12 06 	sts	0x0612, r24
1384
     c02:	84 e0       	ldi	r24, 0x04	; 4
1385
     c04:	90 e0       	ldi	r25, 0x00	; 0
1386
     c06:	90 93 30 01 	sts	0x0130, r25
1387
     c0a:	80 93 2f 01 	sts	0x012F, r24
1388
     c0e:	0e 94 e4 01 	call	0x3c8	; 0x3c8 <wl_get_xbee_id>
1389
     c12:	90 93 2e 01 	sts	0x012E, r25
1390
     c16:	80 93 2d 01 	sts	0x012D, r24
1391
     c1a:	0e c0       	rjmp	.+28     	; 0xc38 <wl_token_ring_timeout_handler+0xbc>
1392
     c1c:	0e 94 f8 02 	call	0x5f0	; 0x5f0 <wl_token_ring_join>
1393
     c20:	0e 94 68 2f 	call	0x5ed0	; 0x5ed0 <rand>
1394
     c24:	6f ef       	ldi	r22, 0xFF	; 255
1395
     c26:	7f e0       	ldi	r23, 0x0F	; 15
1396
     c28:	0e 94 13 32 	call	0x6426	; 0x6426 <__divmodhi4>
1397
     c2c:	6f 5f       	subi	r22, 0xFF	; 255
1398
     c2e:	7f 4f       	sbci	r23, 0xFF	; 255
1399
     c30:	70 93 32 01 	sts	0x0132, r23
1400
     c34:	60 93 31 01 	sts	0x0131, r22
1401
     c38:	80 91 2f 01 	lds	r24, 0x012F
1402
     c3c:	90 91 30 01 	lds	r25, 0x0130
1403
     c40:	97 fd       	sbrc	r25, 7
1404
     c42:	05 c0       	rjmp	.+10     	; 0xc4e <wl_token_ring_timeout_handler+0xd2>
1405
     c44:	01 97       	sbiw	r24, 0x01	; 1
1406
     c46:	90 93 30 01 	sts	0x0130, r25
1407
     c4a:	80 93 2f 01 	sts	0x012F, r24
1408
     c4e:	80 91 31 01 	lds	r24, 0x0131
1409
     c52:	90 91 32 01 	lds	r25, 0x0132
1410
     c56:	97 fd       	sbrc	r25, 7
1411
     c58:	05 c0       	rjmp	.+10     	; 0xc64 <wl_token_ring_timeout_handler+0xe8>
1412
     c5a:	01 97       	sbiw	r24, 0x01	; 1
1413
     c5c:	90 93 32 01 	sts	0x0132, r25
1414
     c60:	80 93 31 01 	sts	0x0131, r24
1415
     c64:	80 91 10 06 	lds	r24, 0x0610
1416
     c68:	90 91 11 06 	lds	r25, 0x0611
1417
     c6c:	97 fd       	sbrc	r25, 7
1418
     c6e:	05 c0       	rjmp	.+10     	; 0xc7a <wl_token_ring_timeout_handler+0xfe>
1419
     c70:	01 96       	adiw	r24, 0x01	; 1
1420
     c72:	90 93 11 06 	sts	0x0611, r25
1421
     c76:	80 93 10 06 	sts	0x0610, r24
1422
     c7a:	1f 91       	pop	r17
1423
     c7c:	0f 91       	pop	r16
1424
     c7e:	08 95       	ret
1425

    
1426
00000c80 <wl_token_ring_register>:
1427
     c80:	0e 94 e4 01 	call	0x3c8	; 0x3c8 <wl_get_xbee_id>
1428
     c84:	8f 3f       	cpi	r24, 0xFF	; 255
1429
     c86:	91 05       	cpc	r25, r1
1430
     c88:	21 f0       	breq	.+8      	; 0xc92 <wl_token_ring_register+0x12>
1431
     c8a:	1c f0       	brlt	.+6      	; 0xc92 <wl_token_ring_register+0x12>
1432
     c8c:	2f ef       	ldi	r18, 0xFF	; 255
1433
     c8e:	3f ef       	ldi	r19, 0xFF	; 255
1434
     c90:	0e c0       	rjmp	.+28     	; 0xcae <wl_token_ring_register+0x2e>
1435
     c92:	0e 94 22 0a 	call	0x1444	; 0x1444 <sensor_matrix_create>
1436
     c96:	0e 94 e4 01 	call	0x3c8	; 0x3c8 <wl_get_xbee_id>
1437
     c9a:	60 e0       	ldi	r22, 0x00	; 0
1438
     c9c:	70 e0       	ldi	r23, 0x00	; 0
1439
     c9e:	0e 94 73 0a 	call	0x14e6	; 0x14e6 <sensor_matrix_set_in_ring>
1440
     ca2:	83 e2       	ldi	r24, 0x23	; 35
1441
     ca4:	91 e0       	ldi	r25, 0x01	; 1
1442
     ca6:	0e 94 83 00 	call	0x106	; 0x106 <wl_register_packet_group>
1443
     caa:	20 e0       	ldi	r18, 0x00	; 0
1444
     cac:	30 e0       	ldi	r19, 0x00	; 0
1445
     cae:	c9 01       	movw	r24, r18
1446
     cb0:	08 95       	ret
1447

    
1448
00000cb2 <__vector_30>:
1449
     cb2:	1f 92       	push	r1
1450
     cb4:	0f 92       	push	r0
1451
     cb6:	0f b6       	in	r0, 0x3f	; 63
1452
     cb8:	0f 92       	push	r0
1453
     cba:	0b b6       	in	r0, 0x3b	; 59
1454
     cbc:	0f 92       	push	r0
1455
     cbe:	11 24       	eor	r1, r1
1456
     cc0:	2f 93       	push	r18
1457
     cc2:	3f 93       	push	r19
1458
     cc4:	8f 93       	push	r24
1459
     cc6:	9f 93       	push	r25
1460
     cc8:	ef 93       	push	r30
1461
     cca:	ff 93       	push	r31
1462
     ccc:	80 91 9c 00 	lds	r24, 0x009C
1463
     cd0:	e0 91 14 06 	lds	r30, 0x0614
1464
     cd4:	f0 91 15 06 	lds	r31, 0x0615
1465
     cd8:	e5 53       	subi	r30, 0x35	; 53
1466
     cda:	f9 4f       	sbci	r31, 0xF9	; 249
1467
     cdc:	80 83       	st	Z, r24
1468
     cde:	80 91 14 06 	lds	r24, 0x0614
1469
     ce2:	90 91 15 06 	lds	r25, 0x0615
1470
     ce6:	01 96       	adiw	r24, 0x01	; 1
1471
     ce8:	80 38       	cpi	r24, 0x80	; 128
1472
     cea:	91 05       	cpc	r25, r1
1473
     cec:	11 f4       	brne	.+4      	; 0xcf2 <__vector_30+0x40>
1474
     cee:	80 e0       	ldi	r24, 0x00	; 0
1475
     cf0:	90 e0       	ldi	r25, 0x00	; 0
1476
     cf2:	20 91 16 06 	lds	r18, 0x0616
1477
     cf6:	30 91 17 06 	lds	r19, 0x0617
1478
     cfa:	90 93 15 06 	sts	0x0615, r25
1479
     cfe:	80 93 14 06 	sts	0x0614, r24
1480
     d02:	ff 91       	pop	r31
1481
     d04:	ef 91       	pop	r30
1482
     d06:	9f 91       	pop	r25
1483
     d08:	8f 91       	pop	r24
1484
     d0a:	3f 91       	pop	r19
1485
     d0c:	2f 91       	pop	r18
1486
     d0e:	0f 90       	pop	r0
1487
     d10:	0b be       	out	0x3b, r0	; 59
1488
     d12:	0f 90       	pop	r0
1489
     d14:	0f be       	out	0x3f, r0	; 63
1490
     d16:	0f 90       	pop	r0
1491
     d18:	1f 90       	pop	r1
1492
     d1a:	18 95       	reti
1493

    
1494
00000d1c <xbee_get_packet>:
1495
     d1c:	0f 93       	push	r16
1496
     d1e:	1f 93       	push	r17
1497
     d20:	cf 93       	push	r28
1498
     d22:	df 93       	push	r29
1499
     d24:	8c 01       	movw	r16, r24
1500
     d26:	80 91 1e 06 	lds	r24, 0x061E
1501
     d2a:	90 91 1f 06 	lds	r25, 0x061F
1502
     d2e:	89 2b       	or	r24, r25
1503
     d30:	d1 f5       	brne	.+116    	; 0xda6 <xbee_get_packet+0x8a>
1504
     d32:	80 91 16 06 	lds	r24, 0x0616
1505
     d36:	90 91 17 06 	lds	r25, 0x0617
1506
     d3a:	80 38       	cpi	r24, 0x80	; 128
1507
     d3c:	91 05       	cpc	r25, r1
1508
     d3e:	21 f4       	brne	.+8      	; 0xd48 <xbee_get_packet+0x2c>
1509
     d40:	10 92 17 06 	sts	0x0617, r1
1510
     d44:	10 92 16 06 	sts	0x0616, r1
1511
     d48:	20 91 16 06 	lds	r18, 0x0616
1512
     d4c:	30 91 17 06 	lds	r19, 0x0617
1513
     d50:	80 91 14 06 	lds	r24, 0x0614
1514
     d54:	90 91 15 06 	lds	r25, 0x0615
1515
     d58:	28 17       	cp	r18, r24
1516
     d5a:	39 07       	cpc	r19, r25
1517
     d5c:	09 f4       	brne	.+2      	; 0xd60 <xbee_get_packet+0x44>
1518
     d5e:	05 c1       	rjmp	.+522    	; 0xf6a <xbee_get_packet+0x24e>
1519
     d60:	80 91 16 06 	lds	r24, 0x0616
1520
     d64:	90 91 17 06 	lds	r25, 0x0617
1521
     d68:	fc 01       	movw	r30, r24
1522
     d6a:	e5 53       	subi	r30, 0x35	; 53
1523
     d6c:	f9 4f       	sbci	r31, 0xF9	; 249
1524
     d6e:	20 81       	ld	r18, Z
1525
     d70:	01 96       	adiw	r24, 0x01	; 1
1526
     d72:	90 93 17 06 	sts	0x0617, r25
1527
     d76:	80 93 16 06 	sts	0x0616, r24
1528
     d7a:	2e 37       	cpi	r18, 0x7E	; 126
1529
     d7c:	d1 f6       	brne	.-76     	; 0xd32 <xbee_get_packet+0x16>
1530
     d7e:	80 91 16 06 	lds	r24, 0x0616
1531
     d82:	90 91 17 06 	lds	r25, 0x0617
1532
     d86:	80 38       	cpi	r24, 0x80	; 128
1533
     d88:	91 05       	cpc	r25, r1
1534
     d8a:	21 f4       	brne	.+8      	; 0xd94 <xbee_get_packet+0x78>
1535
     d8c:	10 92 17 06 	sts	0x0617, r1
1536
     d90:	10 92 16 06 	sts	0x0616, r1
1537
     d94:	8e e7       	ldi	r24, 0x7E	; 126
1538
     d96:	80 93 20 06 	sts	0x0620, r24
1539
     d9a:	81 e0       	ldi	r24, 0x01	; 1
1540
     d9c:	90 e0       	ldi	r25, 0x00	; 0
1541
     d9e:	90 93 1f 06 	sts	0x061F, r25
1542
     da2:	80 93 1e 06 	sts	0x061E, r24
1543
     da6:	60 91 1e 06 	lds	r22, 0x061E
1544
     daa:	70 91 1f 06 	lds	r23, 0x061F
1545
     dae:	63 30       	cpi	r22, 0x03	; 3
1546
     db0:	71 05       	cpc	r23, r1
1547
     db2:	1c f4       	brge	.+6      	; 0xdba <xbee_get_packet+0x9e>
1548
     db4:	4f ef       	ldi	r20, 0xFF	; 255
1549
     db6:	5f ef       	ldi	r21, 0xFF	; 255
1550
     db8:	08 c0       	rjmp	.+16     	; 0xdca <xbee_get_packet+0xae>
1551
     dba:	90 91 21 06 	lds	r25, 0x0621
1552
     dbe:	80 e0       	ldi	r24, 0x00	; 0
1553
     dc0:	20 91 22 06 	lds	r18, 0x0622
1554
     dc4:	ac 01       	movw	r20, r24
1555
     dc6:	42 0f       	add	r20, r18
1556
     dc8:	51 1d       	adc	r21, r1
1557
     dca:	eb 01       	movw	r28, r22
1558
     dcc:	c0 5e       	subi	r28, 0xE0	; 224
1559
     dce:	d9 4f       	sbci	r29, 0xF9	; 249
1560
     dd0:	3f c0       	rjmp	.+126    	; 0xe50 <xbee_get_packet+0x134>
1561
     dd2:	63 30       	cpi	r22, 0x03	; 3
1562
     dd4:	71 05       	cpc	r23, r1
1563
     dd6:	81 f4       	brne	.+32     	; 0xdf8 <xbee_get_packet+0xdc>
1564
     dd8:	b0 91 21 06 	lds	r27, 0x0621
1565
     ddc:	a0 e0       	ldi	r26, 0x00	; 0
1566
     dde:	80 91 22 06 	lds	r24, 0x0622
1567
     de2:	ad 01       	movw	r20, r26
1568
     de4:	48 0f       	add	r20, r24
1569
     de6:	51 1d       	adc	r21, r1
1570
     de8:	49 37       	cpi	r20, 0x79	; 121
1571
     dea:	51 05       	cpc	r21, r1
1572
     dec:	2c f0       	brlt	.+10     	; 0xdf8 <xbee_get_packet+0xdc>
1573
     dee:	10 92 1f 06 	sts	0x061F, r1
1574
     df2:	10 92 1e 06 	sts	0x061E, r1
1575
     df6:	b9 c0       	rjmp	.+370    	; 0xf6a <xbee_get_packet+0x24e>
1576
     df8:	20 91 16 06 	lds	r18, 0x0616
1577
     dfc:	30 91 17 06 	lds	r19, 0x0617
1578
     e00:	80 91 14 06 	lds	r24, 0x0614
1579
     e04:	90 91 15 06 	lds	r25, 0x0615
1580
     e08:	28 17       	cp	r18, r24
1581
     e0a:	39 07       	cpc	r19, r25
1582
     e0c:	29 f4       	brne	.+10     	; 0xe18 <xbee_get_packet+0xfc>
1583
     e0e:	70 93 1f 06 	sts	0x061F, r23
1584
     e12:	60 93 1e 06 	sts	0x061E, r22
1585
     e16:	a9 c0       	rjmp	.+338    	; 0xf6a <xbee_get_packet+0x24e>
1586
     e18:	80 91 16 06 	lds	r24, 0x0616
1587
     e1c:	90 91 17 06 	lds	r25, 0x0617
1588
     e20:	fc 01       	movw	r30, r24
1589
     e22:	e5 53       	subi	r30, 0x35	; 53
1590
     e24:	f9 4f       	sbci	r31, 0xF9	; 249
1591
     e26:	20 81       	ld	r18, Z
1592
     e28:	28 83       	st	Y, r18
1593
     e2a:	6f 5f       	subi	r22, 0xFF	; 255
1594
     e2c:	7f 4f       	sbci	r23, 0xFF	; 255
1595
     e2e:	01 96       	adiw	r24, 0x01	; 1
1596
     e30:	90 93 17 06 	sts	0x0617, r25
1597
     e34:	80 93 16 06 	sts	0x0616, r24
1598
     e38:	80 91 16 06 	lds	r24, 0x0616
1599
     e3c:	90 91 17 06 	lds	r25, 0x0617
1600
     e40:	80 38       	cpi	r24, 0x80	; 128
1601
     e42:	91 05       	cpc	r25, r1
1602
     e44:	21 f4       	brne	.+8      	; 0xe4e <xbee_get_packet+0x132>
1603
     e46:	10 92 17 06 	sts	0x0617, r1
1604
     e4a:	10 92 16 06 	sts	0x0616, r1
1605
     e4e:	21 96       	adiw	r28, 0x01	; 1
1606
     e50:	8f ef       	ldi	r24, 0xFF	; 255
1607
     e52:	4f 3f       	cpi	r20, 0xFF	; 255
1608
     e54:	58 07       	cpc	r21, r24
1609
     e56:	09 f4       	brne	.+2      	; 0xe5a <xbee_get_packet+0x13e>
1610
     e58:	bc cf       	rjmp	.-136    	; 0xdd2 <xbee_get_packet+0xb6>
1611
     e5a:	ca 01       	movw	r24, r20
1612
     e5c:	03 96       	adiw	r24, 0x03	; 3
1613
     e5e:	86 17       	cp	r24, r22
1614
     e60:	97 07       	cpc	r25, r23
1615
     e62:	0c f0       	brlt	.+2      	; 0xe66 <xbee_get_packet+0x14a>
1616
     e64:	b6 cf       	rjmp	.-148    	; 0xdd2 <xbee_get_packet+0xb6>
1617
     e66:	10 92 1f 06 	sts	0x061F, r1
1618
     e6a:	10 92 1e 06 	sts	0x061E, r1
1619
     e6e:	ba 01       	movw	r22, r20
1620
     e70:	6c 5f       	subi	r22, 0xFC	; 252
1621
     e72:	7f 4f       	sbci	r23, 0xFF	; 255
1622
     e74:	23 e0       	ldi	r18, 0x03	; 3
1623
     e76:	30 e0       	ldi	r19, 0x00	; 0
1624
     e78:	90 e0       	ldi	r25, 0x00	; 0
1625
     e7a:	07 c0       	rjmp	.+14     	; 0xe8a <xbee_get_packet+0x16e>
1626
     e7c:	f9 01       	movw	r30, r18
1627
     e7e:	e0 5e       	subi	r30, 0xE0	; 224
1628
     e80:	f9 4f       	sbci	r31, 0xF9	; 249
1629
     e82:	80 81       	ld	r24, Z
1630
     e84:	98 0f       	add	r25, r24
1631
     e86:	2f 5f       	subi	r18, 0xFF	; 255
1632
     e88:	3f 4f       	sbci	r19, 0xFF	; 255
1633
     e8a:	26 17       	cp	r18, r22
1634
     e8c:	37 07       	cpc	r19, r23
1635
     e8e:	b4 f3       	brlt	.-20     	; 0xe7c <xbee_get_packet+0x160>
1636
     e90:	9f 3f       	cpi	r25, 0xFF	; 255
1637
     e92:	09 f0       	breq	.+2      	; 0xe96 <xbee_get_packet+0x17a>
1638
     e94:	6a c0       	rjmp	.+212    	; 0xf6a <xbee_get_packet+0x24e>
1639
     e96:	14 16       	cp	r1, r20
1640
     e98:	15 06       	cpc	r1, r21
1641
     e9a:	0c f0       	brlt	.+2      	; 0xe9e <xbee_get_packet+0x182>
1642
     e9c:	51 c0       	rjmp	.+162    	; 0xf40 <xbee_get_packet+0x224>
1643
     e9e:	80 91 23 06 	lds	r24, 0x0623
1644
     ea2:	88 38       	cpi	r24, 0x88	; 136
1645
     ea4:	21 f0       	breq	.+8      	; 0xeae <xbee_get_packet+0x192>
1646
     ea6:	8a 38       	cpi	r24, 0x8A	; 138
1647
     ea8:	09 f0       	breq	.+2      	; 0xeac <xbee_get_packet+0x190>
1648
     eaa:	4a c0       	rjmp	.+148    	; 0xf40 <xbee_get_packet+0x224>
1649
     eac:	61 c0       	rjmp	.+194    	; 0xf70 <xbee_get_packet+0x254>
1650
     eae:	80 91 25 06 	lds	r24, 0x0625
1651
     eb2:	90 91 26 06 	lds	r25, 0x0626
1652
     eb6:	89 34       	cpi	r24, 0x49	; 73
1653
     eb8:	61 f4       	brne	.+24     	; 0xed2 <xbee_get_packet+0x1b6>
1654
     eba:	94 34       	cpi	r25, 0x44	; 68
1655
     ebc:	09 f0       	breq	.+2      	; 0xec0 <xbee_get_packet+0x1a4>
1656
     ebe:	58 c0       	rjmp	.+176    	; 0xf70 <xbee_get_packet+0x254>
1657
     ec0:	80 91 65 01 	lds	r24, 0x0165
1658
     ec4:	90 91 66 01 	lds	r25, 0x0166
1659
     ec8:	90 93 64 01 	sts	0x0164, r25
1660
     ecc:	80 93 63 01 	sts	0x0163, r24
1661
     ed0:	4f c0       	rjmp	.+158    	; 0xf70 <xbee_get_packet+0x254>
1662
     ed2:	83 34       	cpi	r24, 0x43	; 67
1663
     ed4:	61 f4       	brne	.+24     	; 0xeee <xbee_get_packet+0x1d2>
1664
     ed6:	98 34       	cpi	r25, 0x48	; 72
1665
     ed8:	09 f0       	breq	.+2      	; 0xedc <xbee_get_packet+0x1c0>
1666
     eda:	4a c0       	rjmp	.+148    	; 0xf70 <xbee_get_packet+0x254>
1667
     edc:	80 91 1c 06 	lds	r24, 0x061C
1668
     ee0:	90 91 1d 06 	lds	r25, 0x061D
1669
     ee4:	90 93 1b 06 	sts	0x061B, r25
1670
     ee8:	80 93 1a 06 	sts	0x061A, r24
1671
     eec:	41 c0       	rjmp	.+130    	; 0xf70 <xbee_get_packet+0x254>
1672
     eee:	8d 34       	cpi	r24, 0x4D	; 77
1673
     ef0:	09 f0       	breq	.+2      	; 0xef4 <xbee_get_packet+0x1d8>
1674
     ef2:	3e c0       	rjmp	.+124    	; 0xf70 <xbee_get_packet+0x254>
1675
     ef4:	99 35       	cpi	r25, 0x59	; 89
1676
     ef6:	e1 f5       	brne	.+120    	; 0xf70 <xbee_get_packet+0x254>
1677
     ef8:	ba 01       	movw	r22, r20
1678
     efa:	65 50       	subi	r22, 0x05	; 5
1679
     efc:	70 40       	sbci	r23, 0x00	; 0
1680
     efe:	c1 f1       	breq	.+112    	; 0xf70 <xbee_get_packet+0x254>
1681
     f00:	10 92 19 06 	sts	0x0619, r1
1682
     f04:	10 92 18 06 	sts	0x0618, r1
1683
     f08:	e8 e2       	ldi	r30, 0x28	; 40
1684
     f0a:	f6 e0       	ldi	r31, 0x06	; 6
1685
     f0c:	40 e0       	ldi	r20, 0x00	; 0
1686
     f0e:	50 e0       	ldi	r21, 0x00	; 0
1687
     f10:	0f c0       	rjmp	.+30     	; 0xf30 <xbee_get_packet+0x214>
1688
     f12:	80 91 18 06 	lds	r24, 0x0618
1689
     f16:	90 91 19 06 	lds	r25, 0x0619
1690
     f1a:	21 91       	ld	r18, Z+
1691
     f1c:	98 2f       	mov	r25, r24
1692
     f1e:	88 27       	eor	r24, r24
1693
     f20:	82 0f       	add	r24, r18
1694
     f22:	91 1d       	adc	r25, r1
1695
     f24:	90 93 19 06 	sts	0x0619, r25
1696
     f28:	80 93 18 06 	sts	0x0618, r24
1697
     f2c:	4f 5f       	subi	r20, 0xFF	; 255
1698
     f2e:	5f 4f       	sbci	r21, 0xFF	; 255
1699
     f30:	46 17       	cp	r20, r22
1700
     f32:	57 07       	cpc	r21, r23
1701
     f34:	74 f3       	brlt	.-36     	; 0xf12 <xbee_get_packet+0x1f6>
1702
     f36:	80 91 18 06 	lds	r24, 0x0618
1703
     f3a:	90 91 19 06 	lds	r25, 0x0619
1704
     f3e:	18 c0       	rjmp	.+48     	; 0xf70 <xbee_get_packet+0x254>
1705
     f40:	01 15       	cp	r16, r1
1706
     f42:	11 05       	cpc	r17, r1
1707
     f44:	91 f0       	breq	.+36     	; 0xf6a <xbee_get_packet+0x24e>
1708
     f46:	d8 01       	movw	r26, r16
1709
     f48:	23 e0       	ldi	r18, 0x03	; 3
1710
     f4a:	30 e0       	ldi	r19, 0x00	; 0
1711
     f4c:	ba 01       	movw	r22, r20
1712
     f4e:	6e 5f       	subi	r22, 0xFE	; 254
1713
     f50:	7f 4f       	sbci	r23, 0xFF	; 255
1714
     f52:	07 c0       	rjmp	.+14     	; 0xf62 <xbee_get_packet+0x246>
1715
     f54:	f9 01       	movw	r30, r18
1716
     f56:	e0 5e       	subi	r30, 0xE0	; 224
1717
     f58:	f9 4f       	sbci	r31, 0xF9	; 249
1718
     f5a:	80 81       	ld	r24, Z
1719
     f5c:	8d 93       	st	X+, r24
1720
     f5e:	2f 5f       	subi	r18, 0xFF	; 255
1721
     f60:	3f 4f       	sbci	r19, 0xFF	; 255
1722
     f62:	62 17       	cp	r22, r18
1723
     f64:	73 07       	cpc	r23, r19
1724
     f66:	b4 f7       	brge	.-20     	; 0xf54 <xbee_get_packet+0x238>
1725
     f68:	05 c0       	rjmp	.+10     	; 0xf74 <xbee_get_packet+0x258>
1726
     f6a:	4f ef       	ldi	r20, 0xFF	; 255
1727
     f6c:	5f ef       	ldi	r21, 0xFF	; 255
1728
     f6e:	02 c0       	rjmp	.+4      	; 0xf74 <xbee_get_packet+0x258>
1729
     f70:	43 e0       	ldi	r20, 0x03	; 3
1730
     f72:	50 e0       	ldi	r21, 0x00	; 0
1731
     f74:	ca 01       	movw	r24, r20
1732
     f76:	df 91       	pop	r29
1733
     f78:	cf 91       	pop	r28
1734
     f7a:	1f 91       	pop	r17
1735
     f7c:	0f 91       	pop	r16
1736
     f7e:	08 95       	ret
1737

    
1738
00000f80 <xbee_get_pan_id>:
1739
     f80:	80 91 63 01 	lds	r24, 0x0163
1740
     f84:	90 91 64 01 	lds	r25, 0x0164
1741
     f88:	08 95       	ret
1742

    
1743
00000f8a <xbee_get_channel>:
1744
     f8a:	80 91 1a 06 	lds	r24, 0x061A
1745
     f8e:	90 91 1b 06 	lds	r25, 0x061B
1746
     f92:	08 95       	ret
1747

    
1748
00000f94 <xbee_get_address>:
1749
     f94:	20 91 18 06 	lds	r18, 0x0618
1750
     f98:	30 91 19 06 	lds	r19, 0x0619
1751
     f9c:	c9 01       	movw	r24, r18
1752
     f9e:	08 95       	ret
1753

    
1754
00000fa0 <xbee_send_modify_at_command>:
1755
     fa0:	cf 92       	push	r12
1756
     fa2:	df 92       	push	r13
1757
     fa4:	ef 92       	push	r14
1758
     fa6:	ff 92       	push	r15
1759
     fa8:	0f 93       	push	r16
1760
     faa:	1f 93       	push	r17
1761
     fac:	df 93       	push	r29
1762
     fae:	cf 93       	push	r28
1763
     fb0:	cd b7       	in	r28, 0x3d	; 61
1764
     fb2:	de b7       	in	r29, 0x3e	; 62
1765
     fb4:	64 97       	sbiw	r28, 0x14	; 20
1766
     fb6:	0f b6       	in	r0, 0x3f	; 63
1767
     fb8:	f8 94       	cli
1768
     fba:	de bf       	out	0x3e, r29	; 62
1769
     fbc:	0f be       	out	0x3f, r0	; 63
1770
     fbe:	cd bf       	out	0x3d, r28	; 61
1771
     fc0:	fc 01       	movw	r30, r24
1772
     fc2:	88 e0       	ldi	r24, 0x08	; 8
1773
     fc4:	8d 83       	std	Y+5, r24	; 0x05
1774
     fc6:	81 e0       	ldi	r24, 0x01	; 1
1775
     fc8:	8e 83       	std	Y+6, r24	; 0x06
1776
     fca:	80 81       	ld	r24, Z
1777
     fcc:	8f 83       	std	Y+7, r24	; 0x07
1778
     fce:	81 81       	ldd	r24, Z+1	; 0x01
1779
     fd0:	88 87       	std	Y+8, r24	; 0x08
1780
     fd2:	61 15       	cp	r22, r1
1781
     fd4:	71 05       	cpc	r23, r1
1782
     fd6:	19 f4       	brne	.+6      	; 0xfde <xbee_send_modify_at_command+0x3e>
1783
     fd8:	a0 e0       	ldi	r26, 0x00	; 0
1784
     fda:	b0 e0       	ldi	r27, 0x00	; 0
1785
     fdc:	1f c0       	rjmp	.+62     	; 0x101c <xbee_send_modify_at_command+0x7c>
1786
     fde:	db 01       	movw	r26, r22
1787
     fe0:	0d 90       	ld	r0, X+
1788
     fe2:	00 20       	and	r0, r0
1789
     fe4:	e9 f7       	brne	.-6      	; 0xfe0 <xbee_send_modify_at_command+0x40>
1790
     fe6:	11 97       	sbiw	r26, 0x01	; 1
1791
     fe8:	a6 1b       	sub	r26, r22
1792
     fea:	b7 0b       	sbc	r27, r23
1793
     fec:	a9 30       	cpi	r26, 0x09	; 9
1794
     fee:	b1 05       	cpc	r27, r1
1795
     ff0:	1c f0       	brlt	.+6      	; 0xff8 <xbee_send_modify_at_command+0x58>
1796
     ff2:	2f ef       	ldi	r18, 0xFF	; 255
1797
     ff4:	3f ef       	ldi	r19, 0xFF	; 255
1798
     ff6:	4e c0       	rjmp	.+156    	; 0x1094 <xbee_send_modify_at_command+0xf4>
1799
     ff8:	ae 01       	movw	r20, r28
1800
     ffa:	47 5f       	subi	r20, 0xF7	; 247
1801
     ffc:	5f 4f       	sbci	r21, 0xFF	; 255
1802
     ffe:	20 e0       	ldi	r18, 0x00	; 0
1803
    1000:	30 e0       	ldi	r19, 0x00	; 0
1804
    1002:	09 c0       	rjmp	.+18     	; 0x1016 <xbee_send_modify_at_command+0x76>
1805
    1004:	fb 01       	movw	r30, r22
1806
    1006:	e2 0f       	add	r30, r18
1807
    1008:	f3 1f       	adc	r31, r19
1808
    100a:	80 81       	ld	r24, Z
1809
    100c:	fa 01       	movw	r30, r20
1810
    100e:	81 93       	st	Z+, r24
1811
    1010:	af 01       	movw	r20, r30
1812
    1012:	2f 5f       	subi	r18, 0xFF	; 255
1813
    1014:	3f 4f       	sbci	r19, 0xFF	; 255
1814
    1016:	2a 17       	cp	r18, r26
1815
    1018:	3b 07       	cpc	r19, r27
1816
    101a:	a4 f3       	brlt	.-24     	; 0x1004 <xbee_send_modify_at_command+0x64>
1817
    101c:	54 e0       	ldi	r21, 0x04	; 4
1818
    101e:	e5 2e       	mov	r14, r21
1819
    1020:	f1 2c       	mov	r15, r1
1820
    1022:	ea 0e       	add	r14, r26
1821
    1024:	fb 1e       	adc	r15, r27
1822
    1026:	20 e0       	ldi	r18, 0x00	; 0
1823
    1028:	30 e0       	ldi	r19, 0x00	; 0
1824
    102a:	90 e0       	ldi	r25, 0x00	; 0
1825
    102c:	ae 01       	movw	r20, r28
1826
    102e:	4b 5f       	subi	r20, 0xFB	; 251
1827
    1030:	5f 4f       	sbci	r21, 0xFF	; 255
1828
    1032:	07 c0       	rjmp	.+14     	; 0x1042 <xbee_send_modify_at_command+0xa2>
1829
    1034:	fa 01       	movw	r30, r20
1830
    1036:	e2 0f       	add	r30, r18
1831
    1038:	f3 1f       	adc	r31, r19
1832
    103a:	80 81       	ld	r24, Z
1833
    103c:	98 0f       	add	r25, r24
1834
    103e:	2f 5f       	subi	r18, 0xFF	; 255
1835
    1040:	3f 4f       	sbci	r19, 0xFF	; 255
1836
    1042:	2e 15       	cp	r18, r14
1837
    1044:	3f 05       	cpc	r19, r15
1838
    1046:	b4 f3       	brlt	.-20     	; 0x1034 <xbee_send_modify_at_command+0x94>
1839
    1048:	8e e7       	ldi	r24, 0x7E	; 126
1840
    104a:	8a 83       	std	Y+2, r24	; 0x02
1841
    104c:	fb 82       	std	Y+3, r15	; 0x03
1842
    104e:	ec 82       	std	Y+4, r14	; 0x04
1843
    1050:	90 95       	com	r25
1844
    1052:	99 83       	std	Y+1, r25	; 0x01
1845
    1054:	0e 94 85 1a 	call	0x350a	; 0x350a <xbee_putc>
1846
    1058:	8b 81       	ldd	r24, Y+3	; 0x03
1847
    105a:	0e 94 85 1a 	call	0x350a	; 0x350a <xbee_putc>
1848
    105e:	8c 81       	ldd	r24, Y+4	; 0x04
1849
    1060:	0e 94 85 1a 	call	0x350a	; 0x350a <xbee_putc>
1850
    1064:	00 e0       	ldi	r16, 0x00	; 0
1851
    1066:	10 e0       	ldi	r17, 0x00	; 0
1852
    1068:	45 e0       	ldi	r20, 0x05	; 5
1853
    106a:	c4 2e       	mov	r12, r20
1854
    106c:	d1 2c       	mov	r13, r1
1855
    106e:	cc 0e       	add	r12, r28
1856
    1070:	dd 1e       	adc	r13, r29
1857
    1072:	08 c0       	rjmp	.+16     	; 0x1084 <xbee_send_modify_at_command+0xe4>
1858
    1074:	f6 01       	movw	r30, r12
1859
    1076:	e0 0f       	add	r30, r16
1860
    1078:	f1 1f       	adc	r31, r17
1861
    107a:	80 81       	ld	r24, Z
1862
    107c:	0e 94 85 1a 	call	0x350a	; 0x350a <xbee_putc>
1863
    1080:	0f 5f       	subi	r16, 0xFF	; 255
1864
    1082:	1f 4f       	sbci	r17, 0xFF	; 255
1865
    1084:	0e 15       	cp	r16, r14
1866
    1086:	1f 05       	cpc	r17, r15
1867
    1088:	ac f3       	brlt	.-22     	; 0x1074 <xbee_send_modify_at_command+0xd4>
1868
    108a:	89 81       	ldd	r24, Y+1	; 0x01
1869
    108c:	0e 94 85 1a 	call	0x350a	; 0x350a <xbee_putc>
1870
    1090:	20 e0       	ldi	r18, 0x00	; 0
1871
    1092:	30 e0       	ldi	r19, 0x00	; 0
1872
    1094:	c9 01       	movw	r24, r18
1873
    1096:	64 96       	adiw	r28, 0x14	; 20
1874
    1098:	0f b6       	in	r0, 0x3f	; 63
1875
    109a:	f8 94       	cli
1876
    109c:	de bf       	out	0x3e, r29	; 62
1877
    109e:	0f be       	out	0x3f, r0	; 63
1878
    10a0:	cd bf       	out	0x3d, r28	; 61
1879
    10a2:	cf 91       	pop	r28
1880
    10a4:	df 91       	pop	r29
1881
    10a6:	1f 91       	pop	r17
1882
    10a8:	0f 91       	pop	r16
1883
    10aa:	ff 90       	pop	r15
1884
    10ac:	ef 90       	pop	r14
1885
    10ae:	df 90       	pop	r13
1886
    10b0:	cf 90       	pop	r12
1887
    10b2:	08 95       	ret
1888

    
1889
000010b4 <xbee_set_channel>:
1890
    10b4:	df 93       	push	r29
1891
    10b6:	cf 93       	push	r28
1892
    10b8:	00 d0       	rcall	.+0      	; 0x10ba <xbee_set_channel+0x6>
1893
    10ba:	0f 92       	push	r0
1894
    10bc:	cd b7       	in	r28, 0x3d	; 61
1895
    10be:	de b7       	in	r29, 0x3e	; 62
1896
    10c0:	9c 01       	movw	r18, r24
1897
    10c2:	0b 97       	sbiw	r24, 0x0b	; 11
1898
    10c4:	40 97       	sbiw	r24, 0x10	; 16
1899
    10c6:	18 f0       	brcs	.+6      	; 0x10ce <xbee_set_channel+0x1a>
1900
    10c8:	2f ef       	ldi	r18, 0xFF	; 255
1901
    10ca:	3f ef       	ldi	r19, 0xFF	; 255
1902
    10cc:	0e c0       	rjmp	.+28     	; 0x10ea <xbee_set_channel+0x36>
1903
    10ce:	29 83       	std	Y+1, r18	; 0x01
1904
    10d0:	1a 82       	std	Y+2, r1	; 0x02
1905
    10d2:	30 93 1d 06 	sts	0x061D, r19
1906
    10d6:	20 93 1c 06 	sts	0x061C, r18
1907
    10da:	87 e3       	ldi	r24, 0x37	; 55
1908
    10dc:	91 e0       	ldi	r25, 0x01	; 1
1909
    10de:	be 01       	movw	r22, r28
1910
    10e0:	6f 5f       	subi	r22, 0xFF	; 255
1911
    10e2:	7f 4f       	sbci	r23, 0xFF	; 255
1912
    10e4:	0e 94 d0 07 	call	0xfa0	; 0xfa0 <xbee_send_modify_at_command>
1913
    10e8:	9c 01       	movw	r18, r24
1914
    10ea:	c9 01       	movw	r24, r18
1915
    10ec:	0f 90       	pop	r0
1916
    10ee:	0f 90       	pop	r0
1917
    10f0:	0f 90       	pop	r0
1918
    10f2:	cf 91       	pop	r28
1919
    10f4:	df 91       	pop	r29
1920
    10f6:	08 95       	ret
1921

    
1922
000010f8 <xbee_set_pan_id>:
1923
    10f8:	df 93       	push	r29
1924
    10fa:	cf 93       	push	r28
1925
    10fc:	00 d0       	rcall	.+0      	; 0x10fe <xbee_set_pan_id+0x6>
1926
    10fe:	0f 92       	push	r0
1927
    1100:	cd b7       	in	r28, 0x3d	; 61
1928
    1102:	de b7       	in	r29, 0x3e	; 62
1929
    1104:	99 83       	std	Y+1, r25	; 0x01
1930
    1106:	8a 83       	std	Y+2, r24	; 0x02
1931
    1108:	1b 82       	std	Y+3, r1	; 0x03
1932
    110a:	80 93 65 01 	sts	0x0165, r24
1933
    110e:	90 93 66 01 	sts	0x0166, r25
1934
    1112:	8a e3       	ldi	r24, 0x3A	; 58
1935
    1114:	91 e0       	ldi	r25, 0x01	; 1
1936
    1116:	be 01       	movw	r22, r28
1937
    1118:	6f 5f       	subi	r22, 0xFF	; 255
1938
    111a:	7f 4f       	sbci	r23, 0xFF	; 255
1939
    111c:	0e 94 d0 07 	call	0xfa0	; 0xfa0 <xbee_send_modify_at_command>
1940
    1120:	0f 90       	pop	r0
1941
    1122:	0f 90       	pop	r0
1942
    1124:	0f 90       	pop	r0
1943
    1126:	cf 91       	pop	r28
1944
    1128:	df 91       	pop	r29
1945
    112a:	08 95       	ret
1946

    
1947
0000112c <xbee_reset>:
1948
    112c:	8d e3       	ldi	r24, 0x3D	; 61
1949
    112e:	91 e0       	ldi	r25, 0x01	; 1
1950
    1130:	60 e4       	ldi	r22, 0x40	; 64
1951
    1132:	71 e0       	ldi	r23, 0x01	; 1
1952
    1134:	0e 94 d0 07 	call	0xfa0	; 0xfa0 <xbee_send_modify_at_command>
1953
    1138:	82 e4       	ldi	r24, 0x42	; 66
1954
    113a:	91 e0       	ldi	r25, 0x01	; 1
1955
    113c:	60 e0       	ldi	r22, 0x00	; 0
1956
    113e:	70 e0       	ldi	r23, 0x00	; 0
1957
    1140:	0e 94 d0 07 	call	0xfa0	; 0xfa0 <xbee_send_modify_at_command>
1958
    1144:	8c ed       	ldi	r24, 0xDC	; 220
1959
    1146:	95 e0       	ldi	r25, 0x05	; 5
1960
    1148:	20 e9       	ldi	r18, 0x90	; 144
1961
    114a:	31 e0       	ldi	r19, 0x01	; 1
1962
    114c:	f9 01       	movw	r30, r18
1963
    114e:	31 97       	sbiw	r30, 0x01	; 1
1964
    1150:	f1 f7       	brne	.-4      	; 0x114e <xbee_reset+0x22>
1965
    1152:	01 97       	sbiw	r24, 0x01	; 1
1966
    1154:	d9 f7       	brne	.-10     	; 0x114c <xbee_reset+0x20>
1967
    1156:	80 e0       	ldi	r24, 0x00	; 0
1968
    1158:	90 e0       	ldi	r25, 0x00	; 0
1969
    115a:	08 95       	ret
1970

    
1971
0000115c <xbee_terminate>:
1972
    115c:	85 e4       	ldi	r24, 0x45	; 69
1973
    115e:	91 e0       	ldi	r25, 0x01	; 1
1974
    1160:	68 e4       	ldi	r22, 0x48	; 72
1975
    1162:	71 e0       	ldi	r23, 0x01	; 1
1976
    1164:	0e 94 d0 07 	call	0xfa0	; 0xfa0 <xbee_send_modify_at_command>
1977
    1168:	08 95       	ret
1978

    
1979
0000116a <xbee_send_packet>:
1980
    116a:	af 92       	push	r10
1981
    116c:	bf 92       	push	r11
1982
    116e:	cf 92       	push	r12
1983
    1170:	df 92       	push	r13
1984
    1172:	ef 92       	push	r14
1985
    1174:	ff 92       	push	r15
1986
    1176:	0f 93       	push	r16
1987
    1178:	1f 93       	push	r17
1988
    117a:	df 93       	push	r29
1989
    117c:	cf 93       	push	r28
1990
    117e:	cd b7       	in	r28, 0x3d	; 61
1991
    1180:	de b7       	in	r29, 0x3e	; 62
1992
    1182:	29 97       	sbiw	r28, 0x09	; 9
1993
    1184:	0f b6       	in	r0, 0x3f	; 63
1994
    1186:	f8 94       	cli
1995
    1188:	de bf       	out	0x3e, r29	; 62
1996
    118a:	0f be       	out	0x3f, r0	; 63
1997
    118c:	cd bf       	out	0x3d, r28	; 61
1998
    118e:	5c 01       	movw	r10, r24
1999
    1190:	7b 01       	movw	r14, r22
2000
    1192:	65 36       	cpi	r22, 0x65	; 101
2001
    1194:	71 05       	cpc	r23, r1
2002
    1196:	1c f0       	brlt	.+6      	; 0x119e <xbee_send_packet+0x34>
2003
    1198:	2f ef       	ldi	r18, 0xFF	; 255
2004
    119a:	3f ef       	ldi	r19, 0xFF	; 255
2005
    119c:	56 c0       	rjmp	.+172    	; 0x124a <xbee_send_packet+0xe0>
2006
    119e:	81 e0       	ldi	r24, 0x01	; 1
2007
    11a0:	8d 83       	std	Y+5, r24	; 0x05
2008
    11a2:	0e 83       	std	Y+6, r16	; 0x06
2009
    11a4:	5f 83       	std	Y+7, r21	; 0x07
2010
    11a6:	48 87       	std	Y+8, r20	; 0x08
2011
    11a8:	29 87       	std	Y+9, r18	; 0x09
2012
    11aa:	8e e7       	ldi	r24, 0x7E	; 126
2013
    11ac:	8a 83       	std	Y+2, r24	; 0x02
2014
    11ae:	e5 e0       	ldi	r30, 0x05	; 5
2015
    11b0:	f0 e0       	ldi	r31, 0x00	; 0
2016
    11b2:	ee 0e       	add	r14, r30
2017
    11b4:	ff 1e       	adc	r15, r31
2018
    11b6:	fb 82       	std	Y+3, r15	; 0x03
2019
    11b8:	8b ef       	ldi	r24, 0xFB	; 251
2020
    11ba:	9f ef       	ldi	r25, 0xFF	; 255
2021
    11bc:	e8 0e       	add	r14, r24
2022
    11be:	f9 1e       	adc	r15, r25
2023
    11c0:	8e 2d       	mov	r24, r14
2024
    11c2:	8b 5f       	subi	r24, 0xFB	; 251
2025
    11c4:	8c 83       	std	Y+4, r24	; 0x04
2026
    11c6:	0f 5f       	subi	r16, 0xFF	; 255
2027
    11c8:	05 0f       	add	r16, r21
2028
    11ca:	04 0f       	add	r16, r20
2029
    11cc:	02 0f       	add	r16, r18
2030
    11ce:	09 83       	std	Y+1, r16	; 0x01
2031
    11d0:	20 e0       	ldi	r18, 0x00	; 0
2032
    11d2:	30 e0       	ldi	r19, 0x00	; 0
2033
    11d4:	08 c0       	rjmp	.+16     	; 0x11e6 <xbee_send_packet+0x7c>
2034
    11d6:	f5 01       	movw	r30, r10
2035
    11d8:	e2 0f       	add	r30, r18
2036
    11da:	f3 1f       	adc	r31, r19
2037
    11dc:	80 81       	ld	r24, Z
2038
    11de:	98 0f       	add	r25, r24
2039
    11e0:	99 83       	std	Y+1, r25	; 0x01
2040
    11e2:	2f 5f       	subi	r18, 0xFF	; 255
2041
    11e4:	3f 4f       	sbci	r19, 0xFF	; 255
2042
    11e6:	99 81       	ldd	r25, Y+1	; 0x01
2043
    11e8:	2e 15       	cp	r18, r14
2044
    11ea:	3f 05       	cpc	r19, r15
2045
    11ec:	a4 f3       	brlt	.-24     	; 0x11d6 <xbee_send_packet+0x6c>
2046
    11ee:	90 95       	com	r25
2047
    11f0:	99 83       	std	Y+1, r25	; 0x01
2048
    11f2:	8e e7       	ldi	r24, 0x7E	; 126
2049
    11f4:	0e 94 85 1a 	call	0x350a	; 0x350a <xbee_putc>
2050
    11f8:	8b 81       	ldd	r24, Y+3	; 0x03
2051
    11fa:	0e 94 85 1a 	call	0x350a	; 0x350a <xbee_putc>
2052
    11fe:	8c 81       	ldd	r24, Y+4	; 0x04
2053
    1200:	0e 94 85 1a 	call	0x350a	; 0x350a <xbee_putc>
2054
    1204:	8e 01       	movw	r16, r28
2055
    1206:	0b 5f       	subi	r16, 0xFB	; 251
2056
    1208:	1f 4f       	sbci	r17, 0xFF	; 255
2057
    120a:	6a e0       	ldi	r22, 0x0A	; 10
2058
    120c:	c6 2e       	mov	r12, r22
2059
    120e:	d1 2c       	mov	r13, r1
2060
    1210:	cc 0e       	add	r12, r28
2061
    1212:	dd 1e       	adc	r13, r29
2062
    1214:	f8 01       	movw	r30, r16
2063
    1216:	81 91       	ld	r24, Z+
2064
    1218:	8f 01       	movw	r16, r30
2065
    121a:	0e 94 85 1a 	call	0x350a	; 0x350a <xbee_putc>
2066
    121e:	0c 15       	cp	r16, r12
2067
    1220:	1d 05       	cpc	r17, r13
2068
    1222:	c1 f7       	brne	.-16     	; 0x1214 <xbee_send_packet+0xaa>
2069
    1224:	00 e0       	ldi	r16, 0x00	; 0
2070
    1226:	10 e0       	ldi	r17, 0x00	; 0
2071
    1228:	08 c0       	rjmp	.+16     	; 0x123a <xbee_send_packet+0xd0>
2072
    122a:	f5 01       	movw	r30, r10
2073
    122c:	e0 0f       	add	r30, r16
2074
    122e:	f1 1f       	adc	r31, r17
2075
    1230:	80 81       	ld	r24, Z
2076
    1232:	0e 94 85 1a 	call	0x350a	; 0x350a <xbee_putc>
2077
    1236:	0f 5f       	subi	r16, 0xFF	; 255
2078
    1238:	1f 4f       	sbci	r17, 0xFF	; 255
2079
    123a:	0e 15       	cp	r16, r14
2080
    123c:	1f 05       	cpc	r17, r15
2081
    123e:	ac f3       	brlt	.-22     	; 0x122a <xbee_send_packet+0xc0>
2082
    1240:	89 81       	ldd	r24, Y+1	; 0x01
2083
    1242:	0e 94 85 1a 	call	0x350a	; 0x350a <xbee_putc>
2084
    1246:	20 e0       	ldi	r18, 0x00	; 0
2085
    1248:	30 e0       	ldi	r19, 0x00	; 0
2086
    124a:	c9 01       	movw	r24, r18
2087
    124c:	29 96       	adiw	r28, 0x09	; 9
2088
    124e:	0f b6       	in	r0, 0x3f	; 63
2089
    1250:	f8 94       	cli
2090
    1252:	de bf       	out	0x3e, r29	; 62
2091
    1254:	0f be       	out	0x3f, r0	; 63
2092
    1256:	cd bf       	out	0x3d, r28	; 61
2093
    1258:	cf 91       	pop	r28
2094
    125a:	df 91       	pop	r29
2095
    125c:	1f 91       	pop	r17
2096
    125e:	0f 91       	pop	r16
2097
    1260:	ff 90       	pop	r15
2098
    1262:	ef 90       	pop	r14
2099
    1264:	df 90       	pop	r13
2100
    1266:	cf 90       	pop	r12
2101
    1268:	bf 90       	pop	r11
2102
    126a:	af 90       	pop	r10
2103
    126c:	08 95       	ret
2104

    
2105
0000126e <xbee_send_string>:
2106
    126e:	ef 92       	push	r14
2107
    1270:	ff 92       	push	r15
2108
    1272:	0f 93       	push	r16
2109
    1274:	1f 93       	push	r17
2110
    1276:	cf 93       	push	r28
2111
    1278:	df 93       	push	r29
2112
    127a:	7c 01       	movw	r14, r24
2113
    127c:	dc 01       	movw	r26, r24
2114
    127e:	0d 90       	ld	r0, X+
2115
    1280:	00 20       	and	r0, r0
2116
    1282:	e9 f7       	brne	.-6      	; 0x127e <xbee_send_string+0x10>
2117
    1284:	8d 01       	movw	r16, r26
2118
    1286:	01 50       	subi	r16, 0x01	; 1
2119
    1288:	10 40       	sbci	r17, 0x00	; 0
2120
    128a:	08 1b       	sub	r16, r24
2121
    128c:	19 0b       	sbc	r17, r25
2122
    128e:	c0 e0       	ldi	r28, 0x00	; 0
2123
    1290:	d0 e0       	ldi	r29, 0x00	; 0
2124
    1292:	07 c0       	rjmp	.+14     	; 0x12a2 <xbee_send_string+0x34>
2125
    1294:	f7 01       	movw	r30, r14
2126
    1296:	ec 0f       	add	r30, r28
2127
    1298:	fd 1f       	adc	r31, r29
2128
    129a:	80 81       	ld	r24, Z
2129
    129c:	0e 94 85 1a 	call	0x350a	; 0x350a <xbee_putc>
2130
    12a0:	21 96       	adiw	r28, 0x01	; 1
2131
    12a2:	c0 17       	cp	r28, r16
2132
    12a4:	d1 07       	cpc	r29, r17
2133
    12a6:	b4 f3       	brlt	.-20     	; 0x1294 <xbee_send_string+0x26>
2134
    12a8:	80 e0       	ldi	r24, 0x00	; 0
2135
    12aa:	90 e0       	ldi	r25, 0x00	; 0
2136
    12ac:	df 91       	pop	r29
2137
    12ae:	cf 91       	pop	r28
2138
    12b0:	1f 91       	pop	r17
2139
    12b2:	0f 91       	pop	r16
2140
    12b4:	ff 90       	pop	r15
2141
    12b6:	ef 90       	pop	r14
2142
    12b8:	08 95       	ret
2143

    
2144
000012ba <xbee_lib_init>:
2145
    12ba:	80 91 9a 00 	lds	r24, 0x009A
2146
    12be:	80 68       	ori	r24, 0x80	; 128
2147
    12c0:	80 93 9a 00 	sts	0x009A, r24
2148
    12c4:	78 94       	sei
2149
    12c6:	8a e4       	ldi	r24, 0x4A	; 74
2150
    12c8:	91 e0       	ldi	r25, 0x01	; 1
2151
    12ca:	0e 94 37 09 	call	0x126e	; 0x126e <xbee_send_string>
2152
    12ce:	89 2b       	or	r24, r25
2153
    12d0:	09 f0       	breq	.+2      	; 0x12d4 <xbee_lib_init+0x1a>
2154
    12d2:	99 c0       	rjmp	.+306    	; 0x1406 <xbee_lib_init+0x14c>
2155
    12d4:	26 c0       	rjmp	.+76     	; 0x1322 <xbee_lib_init+0x68>
2156
    12d6:	20 91 14 06 	lds	r18, 0x0614
2157
    12da:	30 91 15 06 	lds	r19, 0x0615
2158
    12de:	80 91 16 06 	lds	r24, 0x0616
2159
    12e2:	90 91 17 06 	lds	r25, 0x0617
2160
    12e6:	28 17       	cp	r18, r24
2161
    12e8:	39 07       	cpc	r19, r25
2162
    12ea:	f9 f0       	breq	.+62     	; 0x132a <xbee_lib_init+0x70>
2163
    12ec:	80 91 16 06 	lds	r24, 0x0616
2164
    12f0:	90 91 17 06 	lds	r25, 0x0617
2165
    12f4:	fc 01       	movw	r30, r24
2166
    12f6:	e5 53       	subi	r30, 0x35	; 53
2167
    12f8:	f9 4f       	sbci	r31, 0xF9	; 249
2168
    12fa:	e0 81       	ld	r30, Z
2169
    12fc:	01 96       	adiw	r24, 0x01	; 1
2170
    12fe:	90 93 17 06 	sts	0x0617, r25
2171
    1302:	80 93 16 06 	sts	0x0616, r24
2172
    1306:	80 91 16 06 	lds	r24, 0x0616
2173
    130a:	90 91 17 06 	lds	r25, 0x0617
2174
    130e:	80 38       	cpi	r24, 0x80	; 128
2175
    1310:	91 05       	cpc	r25, r1
2176
    1312:	21 f4       	brne	.+8      	; 0x131c <xbee_lib_init+0x62>
2177
    1314:	10 92 17 06 	sts	0x0617, r1
2178
    1318:	10 92 16 06 	sts	0x0616, r1
2179
    131c:	8c 91       	ld	r24, X
2180
    131e:	e8 17       	cp	r30, r24
2181
    1320:	19 f0       	breq	.+6      	; 0x1328 <xbee_lib_init+0x6e>
2182
    1322:	ae e4       	ldi	r26, 0x4E	; 78
2183
    1324:	b1 e0       	ldi	r27, 0x01	; 1
2184
    1326:	01 c0       	rjmp	.+2      	; 0x132a <xbee_lib_init+0x70>
2185
    1328:	11 96       	adiw	r26, 0x01	; 1
2186
    132a:	cd 01       	movw	r24, r26
2187
    132c:	8e 54       	subi	r24, 0x4E	; 78
2188
    132e:	91 40       	sbci	r25, 0x01	; 1
2189
    1330:	03 97       	sbiw	r24, 0x03	; 3
2190
    1332:	8c f2       	brlt	.-94     	; 0x12d6 <xbee_lib_init+0x1c>
2191
    1334:	6c c0       	rjmp	.+216    	; 0x140e <xbee_lib_init+0x154>
2192
    1336:	20 91 14 06 	lds	r18, 0x0614
2193
    133a:	30 91 15 06 	lds	r19, 0x0615
2194
    133e:	80 91 16 06 	lds	r24, 0x0616
2195
    1342:	90 91 17 06 	lds	r25, 0x0617
2196
    1346:	28 17       	cp	r18, r24
2197
    1348:	39 07       	cpc	r19, r25
2198
    134a:	e9 f0       	breq	.+58     	; 0x1386 <xbee_lib_init+0xcc>
2199
    134c:	80 91 16 06 	lds	r24, 0x0616
2200
    1350:	90 91 17 06 	lds	r25, 0x0617
2201
    1354:	fc 01       	movw	r30, r24
2202
    1356:	e5 53       	subi	r30, 0x35	; 53
2203
    1358:	f9 4f       	sbci	r31, 0xF9	; 249
2204
    135a:	e0 81       	ld	r30, Z
2205
    135c:	01 96       	adiw	r24, 0x01	; 1
2206
    135e:	90 93 17 06 	sts	0x0617, r25
2207
    1362:	80 93 16 06 	sts	0x0616, r24
2208
    1366:	80 91 16 06 	lds	r24, 0x0616
2209
    136a:	90 91 17 06 	lds	r25, 0x0617
2210
    136e:	80 38       	cpi	r24, 0x80	; 128
2211
    1370:	91 05       	cpc	r25, r1
2212
    1372:	21 f4       	brne	.+8      	; 0x137c <xbee_lib_init+0xc2>
2213
    1374:	10 92 17 06 	sts	0x0617, r1
2214
    1378:	10 92 16 06 	sts	0x0616, r1
2215
    137c:	8c 91       	ld	r24, X
2216
    137e:	e8 17       	cp	r30, r24
2217
    1380:	09 f0       	breq	.+2      	; 0x1384 <xbee_lib_init+0xca>
2218
    1382:	4b c0       	rjmp	.+150    	; 0x141a <xbee_lib_init+0x160>
2219
    1384:	11 96       	adiw	r26, 0x01	; 1
2220
    1386:	cd 01       	movw	r24, r26
2221
    1388:	8e 54       	subi	r24, 0x4E	; 78
2222
    138a:	91 40       	sbci	r25, 0x01	; 1
2223
    138c:	03 97       	sbiw	r24, 0x03	; 3
2224
    138e:	9c f2       	brlt	.-90     	; 0x1336 <xbee_lib_init+0x7c>
2225
    1390:	47 c0       	rjmp	.+142    	; 0x1420 <xbee_lib_init+0x166>
2226
    1392:	20 91 14 06 	lds	r18, 0x0614
2227
    1396:	30 91 15 06 	lds	r19, 0x0615
2228
    139a:	80 91 16 06 	lds	r24, 0x0616
2229
    139e:	90 91 17 06 	lds	r25, 0x0617
2230
    13a2:	28 17       	cp	r18, r24
2231
    13a4:	39 07       	cpc	r19, r25
2232
    13a6:	e1 f0       	breq	.+56     	; 0x13e0 <xbee_lib_init+0x126>
2233
    13a8:	80 91 16 06 	lds	r24, 0x0616
2234
    13ac:	90 91 17 06 	lds	r25, 0x0617
2235
    13b0:	fc 01       	movw	r30, r24
2236
    13b2:	e5 53       	subi	r30, 0x35	; 53
2237
    13b4:	f9 4f       	sbci	r31, 0xF9	; 249
2238
    13b6:	e0 81       	ld	r30, Z
2239
    13b8:	01 96       	adiw	r24, 0x01	; 1
2240
    13ba:	90 93 17 06 	sts	0x0617, r25
2241
    13be:	80 93 16 06 	sts	0x0616, r24
2242
    13c2:	80 91 16 06 	lds	r24, 0x0616
2243
    13c6:	90 91 17 06 	lds	r25, 0x0617
2244
    13ca:	80 38       	cpi	r24, 0x80	; 128
2245
    13cc:	91 05       	cpc	r25, r1
2246
    13ce:	21 f4       	brne	.+8      	; 0x13d8 <xbee_lib_init+0x11e>
2247
    13d0:	10 92 17 06 	sts	0x0617, r1
2248
    13d4:	10 92 16 06 	sts	0x0616, r1
2249
    13d8:	8c 91       	ld	r24, X
2250
    13da:	e8 17       	cp	r30, r24
2251
    13dc:	39 f5       	brne	.+78     	; 0x142c <xbee_lib_init+0x172>
2252
    13de:	11 96       	adiw	r26, 0x01	; 1
2253
    13e0:	cd 01       	movw	r24, r26
2254
    13e2:	8e 54       	subi	r24, 0x4E	; 78
2255
    13e4:	91 40       	sbci	r25, 0x01	; 1
2256
    13e6:	03 97       	sbiw	r24, 0x03	; 3
2257
    13e8:	a4 f2       	brlt	.-88     	; 0x1392 <xbee_lib_init+0xd8>
2258
    13ea:	23 c0       	rjmp	.+70     	; 0x1432 <xbee_lib_init+0x178>
2259
    13ec:	80 e0       	ldi	r24, 0x00	; 0
2260
    13ee:	90 e0       	ldi	r25, 0x00	; 0
2261
    13f0:	0e 94 8e 06 	call	0xd1c	; 0xd1c <xbee_get_packet>
2262
    13f4:	80 91 18 06 	lds	r24, 0x0618
2263
    13f8:	90 91 19 06 	lds	r25, 0x0619
2264
    13fc:	89 2b       	or	r24, r25
2265
    13fe:	b1 f3       	breq	.-20     	; 0x13ec <xbee_lib_init+0x132>
2266
    1400:	20 e0       	ldi	r18, 0x00	; 0
2267
    1402:	30 e0       	ldi	r19, 0x00	; 0
2268
    1404:	02 c0       	rjmp	.+4      	; 0x140a <xbee_lib_init+0x150>
2269
    1406:	2f ef       	ldi	r18, 0xFF	; 255
2270
    1408:	3f ef       	ldi	r19, 0xFF	; 255
2271
    140a:	c9 01       	movw	r24, r18
2272
    140c:	08 95       	ret
2273
    140e:	82 e5       	ldi	r24, 0x52	; 82
2274
    1410:	91 e0       	ldi	r25, 0x01	; 1
2275
    1412:	0e 94 37 09 	call	0x126e	; 0x126e <xbee_send_string>
2276
    1416:	89 2b       	or	r24, r25
2277
    1418:	b1 f7       	brne	.-20     	; 0x1406 <xbee_lib_init+0x14c>
2278
    141a:	ae e4       	ldi	r26, 0x4E	; 78
2279
    141c:	b1 e0       	ldi	r27, 0x01	; 1
2280
    141e:	b3 cf       	rjmp	.-154    	; 0x1386 <xbee_lib_init+0xcc>
2281
    1420:	8a e5       	ldi	r24, 0x5A	; 90
2282
    1422:	91 e0       	ldi	r25, 0x01	; 1
2283
    1424:	0e 94 37 09 	call	0x126e	; 0x126e <xbee_send_string>
2284
    1428:	89 2b       	or	r24, r25
2285
    142a:	69 f7       	brne	.-38     	; 0x1406 <xbee_lib_init+0x14c>
2286
    142c:	ae e4       	ldi	r26, 0x4E	; 78
2287
    142e:	b1 e0       	ldi	r27, 0x01	; 1
2288
    1430:	d7 cf       	rjmp	.-82     	; 0x13e0 <xbee_lib_init+0x126>
2289
    1432:	80 e6       	ldi	r24, 0x60	; 96
2290
    1434:	91 e0       	ldi	r25, 0x01	; 1
2291
    1436:	60 e0       	ldi	r22, 0x00	; 0
2292
    1438:	70 e0       	ldi	r23, 0x00	; 0
2293
    143a:	0e 94 d0 07 	call	0xfa0	; 0xfa0 <xbee_send_modify_at_command>
2294
    143e:	89 2b       	or	r24, r25
2295
    1440:	c9 f2       	breq	.-78     	; 0x13f4 <xbee_lib_init+0x13a>
2296
    1442:	e1 cf       	rjmp	.-62     	; 0x1406 <xbee_lib_init+0x14c>
2297

    
2298
00001444 <sensor_matrix_create>:
2299
    1444:	10 92 4c 07 	sts	0x074C, r1
2300
    1448:	10 92 4b 07 	sts	0x074B, r1
2301
    144c:	ad e4       	ldi	r26, 0x4D	; 77
2302
    144e:	b7 e0       	ldi	r27, 0x07	; 7
2303
    1450:	20 e0       	ldi	r18, 0x00	; 0
2304
    1452:	30 e0       	ldi	r19, 0x00	; 0
2305
    1454:	4f ef       	ldi	r20, 0xFF	; 255
2306
    1456:	1c 92       	st	X, r1
2307
    1458:	f9 01       	movw	r30, r18
2308
    145a:	85 e0       	ldi	r24, 0x05	; 5
2309
    145c:	ee 0f       	add	r30, r30
2310
    145e:	ff 1f       	adc	r31, r31
2311
    1460:	8a 95       	dec	r24
2312
    1462:	e1 f7       	brne	.-8      	; 0x145c <sensor_matrix_create+0x18>
2313
    1464:	e3 5a       	subi	r30, 0xA3	; 163
2314
    1466:	f8 4f       	sbci	r31, 0xF8	; 248
2315
    1468:	80 e0       	ldi	r24, 0x00	; 0
2316
    146a:	90 e0       	ldi	r25, 0x00	; 0
2317
    146c:	40 83       	st	Z, r20
2318
    146e:	01 96       	adiw	r24, 0x01	; 1
2319
    1470:	32 96       	adiw	r30, 0x02	; 2
2320
    1472:	80 31       	cpi	r24, 0x10	; 16
2321
    1474:	91 05       	cpc	r25, r1
2322
    1476:	d1 f7       	brne	.-12     	; 0x146c <sensor_matrix_create+0x28>
2323
    1478:	2f 5f       	subi	r18, 0xFF	; 255
2324
    147a:	3f 4f       	sbci	r19, 0xFF	; 255
2325
    147c:	11 96       	adiw	r26, 0x01	; 1
2326
    147e:	20 31       	cpi	r18, 0x10	; 16
2327
    1480:	31 05       	cpc	r19, r1
2328
    1482:	49 f7       	brne	.-46     	; 0x1456 <sensor_matrix_create+0x12>
2329
    1484:	08 95       	ret
2330

    
2331
00001486 <sensor_matrix_set_reading>:
2332
    1486:	60 31       	cpi	r22, 0x10	; 16
2333
    1488:	71 05       	cpc	r23, r1
2334
    148a:	ac f4       	brge	.+42     	; 0x14b6 <sensor_matrix_set_reading+0x30>
2335
    148c:	80 31       	cpi	r24, 0x10	; 16
2336
    148e:	91 05       	cpc	r25, r1
2337
    1490:	94 f4       	brge	.+36     	; 0x14b6 <sensor_matrix_set_reading+0x30>
2338
    1492:	fc 01       	movw	r30, r24
2339
    1494:	34 e0       	ldi	r19, 0x04	; 4
2340
    1496:	ee 0f       	add	r30, r30
2341
    1498:	ff 1f       	adc	r31, r31
2342
    149a:	3a 95       	dec	r19
2343
    149c:	e1 f7       	brne	.-8      	; 0x1496 <sensor_matrix_set_reading+0x10>
2344
    149e:	e6 0f       	add	r30, r22
2345
    14a0:	f7 1f       	adc	r31, r23
2346
    14a2:	ee 0f       	add	r30, r30
2347
    14a4:	ff 1f       	adc	r31, r31
2348
    14a6:	df 01       	movw	r26, r30
2349
    14a8:	a5 5b       	subi	r26, 0xB5	; 181
2350
    14aa:	b8 4f       	sbci	r27, 0xF8	; 248
2351
    14ac:	53 96       	adiw	r26, 0x13	; 19
2352
    14ae:	5c 93       	st	X, r21
2353
    14b0:	e3 5a       	subi	r30, 0xA3	; 163
2354
    14b2:	f8 4f       	sbci	r31, 0xF8	; 248
2355
    14b4:	40 83       	st	Z, r20
2356
    14b6:	08 95       	ret
2357

    
2358
000014b8 <sensor_matrix_get_reading>:
2359
    14b8:	80 31       	cpi	r24, 0x10	; 16
2360
    14ba:	91 05       	cpc	r25, r1
2361
    14bc:	84 f4       	brge	.+32     	; 0x14de <sensor_matrix_get_reading+0x26>
2362
    14be:	60 31       	cpi	r22, 0x10	; 16
2363
    14c0:	71 05       	cpc	r23, r1
2364
    14c2:	6c f4       	brge	.+26     	; 0x14de <sensor_matrix_get_reading+0x26>
2365
    14c4:	9c 01       	movw	r18, r24
2366
    14c6:	54 e0       	ldi	r21, 0x04	; 4
2367
    14c8:	22 0f       	add	r18, r18
2368
    14ca:	33 1f       	adc	r19, r19
2369
    14cc:	5a 95       	dec	r21
2370
    14ce:	e1 f7       	brne	.-8      	; 0x14c8 <sensor_matrix_get_reading+0x10>
2371
    14d0:	26 0f       	add	r18, r22
2372
    14d2:	37 1f       	adc	r19, r23
2373
    14d4:	22 0f       	add	r18, r18
2374
    14d6:	33 1f       	adc	r19, r19
2375
    14d8:	23 5a       	subi	r18, 0xA3	; 163
2376
    14da:	38 4f       	sbci	r19, 0xF8	; 248
2377
    14dc:	02 c0       	rjmp	.+4      	; 0x14e2 <sensor_matrix_get_reading+0x2a>
2378
    14de:	20 e0       	ldi	r18, 0x00	; 0
2379
    14e0:	30 e0       	ldi	r19, 0x00	; 0
2380
    14e2:	c9 01       	movw	r24, r18
2381
    14e4:	08 95       	ret
2382

    
2383
000014e6 <sensor_matrix_set_in_ring>:
2384
    14e6:	dc 01       	movw	r26, r24
2385
    14e8:	80 31       	cpi	r24, 0x10	; 16
2386
    14ea:	91 05       	cpc	r25, r1
2387
    14ec:	2c f5       	brge	.+74     	; 0x1538 <sensor_matrix_set_in_ring+0x52>
2388
    14ee:	61 30       	cpi	r22, 0x01	; 1
2389
    14f0:	71 05       	cpc	r23, r1
2390
    14f2:	61 f4       	brne	.+24     	; 0x150c <sensor_matrix_set_in_ring+0x26>
2391
    14f4:	fc 01       	movw	r30, r24
2392
    14f6:	e5 5b       	subi	r30, 0xB5	; 181
2393
    14f8:	f8 4f       	sbci	r31, 0xF8	; 248
2394
    14fa:	82 81       	ldd	r24, Z+2	; 0x02
2395
    14fc:	88 23       	and	r24, r24
2396
    14fe:	c1 f4       	brne	.+48     	; 0x1530 <sensor_matrix_set_in_ring+0x4a>
2397
    1500:	80 91 4b 07 	lds	r24, 0x074B
2398
    1504:	90 91 4c 07 	lds	r25, 0x074C
2399
    1508:	01 96       	adiw	r24, 0x01	; 1
2400
    150a:	0e c0       	rjmp	.+28     	; 0x1528 <sensor_matrix_set_in_ring+0x42>
2401
    150c:	61 15       	cp	r22, r1
2402
    150e:	71 05       	cpc	r23, r1
2403
    1510:	79 f4       	brne	.+30     	; 0x1530 <sensor_matrix_set_in_ring+0x4a>
2404
    1512:	fc 01       	movw	r30, r24
2405
    1514:	e5 5b       	subi	r30, 0xB5	; 181
2406
    1516:	f8 4f       	sbci	r31, 0xF8	; 248
2407
    1518:	82 81       	ldd	r24, Z+2	; 0x02
2408
    151a:	88 23       	and	r24, r24
2409
    151c:	49 f0       	breq	.+18     	; 0x1530 <sensor_matrix_set_in_ring+0x4a>
2410
    151e:	80 91 4b 07 	lds	r24, 0x074B
2411
    1522:	90 91 4c 07 	lds	r25, 0x074C
2412
    1526:	01 97       	sbiw	r24, 0x01	; 1
2413
    1528:	90 93 4c 07 	sts	0x074C, r25
2414
    152c:	80 93 4b 07 	sts	0x074B, r24
2415
    1530:	a5 5b       	subi	r26, 0xB5	; 181
2416
    1532:	b8 4f       	sbci	r27, 0xF8	; 248
2417
    1534:	12 96       	adiw	r26, 0x02	; 2
2418
    1536:	6c 93       	st	X, r22
2419
    1538:	08 95       	ret
2420

    
2421
0000153a <sensor_matrix_get_in_ring>:
2422
    153a:	fc 01       	movw	r30, r24
2423
    153c:	80 31       	cpi	r24, 0x10	; 16
2424
    153e:	91 05       	cpc	r25, r1
2425
    1540:	1c f0       	brlt	.+6      	; 0x1548 <sensor_matrix_get_in_ring+0xe>
2426
    1542:	2f ef       	ldi	r18, 0xFF	; 255
2427
    1544:	3f ef       	ldi	r19, 0xFF	; 255
2428
    1546:	05 c0       	rjmp	.+10     	; 0x1552 <sensor_matrix_get_in_ring+0x18>
2429
    1548:	e5 5b       	subi	r30, 0xB5	; 181
2430
    154a:	f8 4f       	sbci	r31, 0xF8	; 248
2431
    154c:	82 81       	ldd	r24, Z+2	; 0x02
2432
    154e:	28 2f       	mov	r18, r24
2433
    1550:	30 e0       	ldi	r19, 0x00	; 0
2434
    1552:	c9 01       	movw	r24, r18
2435
    1554:	08 95       	ret
2436

    
2437
00001556 <sensor_matrix_get_joined>:
2438
    1556:	80 91 4b 07 	lds	r24, 0x074B
2439
    155a:	90 91 4c 07 	lds	r25, 0x074C
2440
    155e:	08 95       	ret
2441

    
2442
00001560 <sensor_matrix_get_size>:
2443
    1560:	80 e1       	ldi	r24, 0x10	; 16
2444
    1562:	90 e0       	ldi	r25, 0x00	; 0
2445
    1564:	08 95       	ret
2446

    
2447
00001566 <bom_get>:
2448
    1566:	fc 01       	movw	r30, r24
2449
    1568:	ee 0f       	add	r30, r30
2450
    156a:	ff 1f       	adc	r31, r31
2451
    156c:	e3 57       	subi	r30, 0x73	; 115
2452
    156e:	f9 4f       	sbci	r31, 0xF9	; 249
2453
    1570:	80 81       	ld	r24, Z
2454
    1572:	91 81       	ldd	r25, Z+1	; 0x01
2455
    1574:	08 95       	ret
2456

    
2457
00001576 <bom_get_max>:
2458
    1576:	ed e8       	ldi	r30, 0x8D	; 141
2459
    1578:	f6 e0       	ldi	r31, 0x06	; 6
2460
    157a:	20 e0       	ldi	r18, 0x00	; 0
2461
    157c:	30 e0       	ldi	r19, 0x00	; 0
2462
    157e:	8f ef       	ldi	r24, 0xFF	; 255
2463
    1580:	90 e0       	ldi	r25, 0x00	; 0
2464
    1582:	6f ef       	ldi	r22, 0xFF	; 255
2465
    1584:	7f ef       	ldi	r23, 0xFF	; 255
2466
    1586:	40 81       	ld	r20, Z
2467
    1588:	51 81       	ldd	r21, Z+1	; 0x01
2468
    158a:	48 17       	cp	r20, r24
2469
    158c:	59 07       	cpc	r21, r25
2470
    158e:	10 f4       	brcc	.+4      	; 0x1594 <bom_get_max+0x1e>
2471
    1590:	ca 01       	movw	r24, r20
2472
    1592:	b9 01       	movw	r22, r18
2473
    1594:	2f 5f       	subi	r18, 0xFF	; 255
2474
    1596:	3f 4f       	sbci	r19, 0xFF	; 255
2475
    1598:	32 96       	adiw	r30, 0x02	; 2
2476
    159a:	20 31       	cpi	r18, 0x10	; 16
2477
    159c:	31 05       	cpc	r19, r1
2478
    159e:	99 f7       	brne	.-26     	; 0x1586 <bom_get_max+0x10>
2479
    15a0:	86 39       	cpi	r24, 0x96	; 150
2480
    15a2:	91 05       	cpc	r25, r1
2481
    15a4:	14 f0       	brlt	.+4      	; 0x15aa <bom_get_max+0x34>
2482
    15a6:	6f ef       	ldi	r22, 0xFF	; 255
2483
    15a8:	7f ef       	ldi	r23, 0xFF	; 255
2484
    15aa:	cb 01       	movw	r24, r22
2485
    15ac:	08 95       	ret
2486

    
2487
000015ae <bom_get_max10>:
2488
    15ae:	2f 92       	push	r2
2489
    15b0:	3f 92       	push	r3
2490
    15b2:	4f 92       	push	r4
2491
    15b4:	5f 92       	push	r5
2492
    15b6:	6f 92       	push	r6
2493
    15b8:	7f 92       	push	r7
2494
    15ba:	8f 92       	push	r8
2495
    15bc:	9f 92       	push	r9
2496
    15be:	af 92       	push	r10
2497
    15c0:	bf 92       	push	r11
2498
    15c2:	cf 92       	push	r12
2499
    15c4:	df 92       	push	r13
2500
    15c6:	ef 92       	push	r14
2501
    15c8:	ff 92       	push	r15
2502
    15ca:	0f 93       	push	r16
2503
    15cc:	1f 93       	push	r17
2504
    15ce:	df 93       	push	r29
2505
    15d0:	cf 93       	push	r28
2506
    15d2:	cd b7       	in	r28, 0x3d	; 61
2507
    15d4:	de b7       	in	r29, 0x3e	; 62
2508
    15d6:	67 97       	sbiw	r28, 0x17	; 23
2509
    15d8:	0f b6       	in	r0, 0x3f	; 63
2510
    15da:	f8 94       	cli
2511
    15dc:	de bf       	out	0x3e, r29	; 62
2512
    15de:	0f be       	out	0x3f, r0	; 63
2513
    15e0:	cd bf       	out	0x3d, r28	; 61
2514
    15e2:	2c 01       	movw	r4, r24
2515
    15e4:	2d e8       	ldi	r18, 0x8D	; 141
2516
    15e6:	36 e0       	ldi	r19, 0x06	; 6
2517
    15e8:	3d 8b       	std	Y+21, r19	; 0x15
2518
    15ea:	2c 8b       	std	Y+20, r18	; 0x14
2519
    15ec:	f9 01       	movw	r30, r18
2520
    15ee:	20 e0       	ldi	r18, 0x00	; 0
2521
    15f0:	30 e0       	ldi	r19, 0x00	; 0
2522
    15f2:	6f ef       	ldi	r22, 0xFF	; 255
2523
    15f4:	70 e0       	ldi	r23, 0x00	; 0
2524
    15f6:	8f ef       	ldi	r24, 0xFF	; 255
2525
    15f8:	9f ef       	ldi	r25, 0xFF	; 255
2526
    15fa:	40 81       	ld	r20, Z
2527
    15fc:	51 81       	ldd	r21, Z+1	; 0x01
2528
    15fe:	46 17       	cp	r20, r22
2529
    1600:	57 07       	cpc	r21, r23
2530
    1602:	10 f4       	brcc	.+4      	; 0x1608 <bom_get_max10+0x5a>
2531
    1604:	ba 01       	movw	r22, r20
2532
    1606:	c9 01       	movw	r24, r18
2533
    1608:	2f 5f       	subi	r18, 0xFF	; 255
2534
    160a:	3f 4f       	sbci	r19, 0xFF	; 255
2535
    160c:	32 96       	adiw	r30, 0x02	; 2
2536
    160e:	20 31       	cpi	r18, 0x10	; 16
2537
    1610:	31 05       	cpc	r19, r1
2538
    1612:	99 f7       	brne	.-26     	; 0x15fa <bom_get_max10+0x4c>
2539
    1614:	66 39       	cpi	r22, 0x96	; 150
2540
    1616:	71 05       	cpc	r23, r1
2541
    1618:	24 f4       	brge	.+8      	; 0x1622 <bom_get_max10+0x74>
2542
    161a:	3f ef       	ldi	r19, 0xFF	; 255
2543
    161c:	8f 3f       	cpi	r24, 0xFF	; 255
2544
    161e:	93 07       	cpc	r25, r19
2545
    1620:	59 f4       	brne	.+22     	; 0x1638 <bom_get_max10+0x8a>
2546
    1622:	41 14       	cp	r4, r1
2547
    1624:	51 04       	cpc	r5, r1
2548
    1626:	29 f0       	breq	.+10     	; 0x1632 <bom_get_max10+0x84>
2549
    1628:	8f ef       	ldi	r24, 0xFF	; 255
2550
    162a:	9f ef       	ldi	r25, 0xFF	; 255
2551
    162c:	d2 01       	movw	r26, r4
2552
    162e:	8d 93       	st	X+, r24
2553
    1630:	9c 93       	st	X, r25
2554
    1632:	2f ef       	ldi	r18, 0xFF	; 255
2555
    1634:	3f ef       	ldi	r19, 0xFF	; 255
2556
    1636:	ea c1       	rjmp	.+980    	; 0x1a0c <bom_get_max10+0x45e>
2557
    1638:	e8 e1       	ldi	r30, 0x18	; 24
2558
    163a:	f0 e0       	ldi	r31, 0x00	; 0
2559
    163c:	e8 1b       	sub	r30, r24
2560
    163e:	f9 0b       	sbc	r31, r25
2561
    1640:	99 24       	eor	r9, r9
2562
    1642:	88 24       	eor	r8, r8
2563
    1644:	77 24       	eor	r7, r7
2564
    1646:	66 24       	eor	r6, r6
2565
    1648:	33 24       	eor	r3, r3
2566
    164a:	22 24       	eor	r2, r2
2567
    164c:	1a 8a       	std	Y+18, r1	; 0x12
2568
    164e:	1b 8a       	std	Y+19, r1	; 0x13
2569
    1650:	10 e0       	ldi	r17, 0x00	; 0
2570
    1652:	00 e0       	ldi	r16, 0x00	; 0
2571
    1654:	ee 24       	eor	r14, r14
2572
    1656:	dd 24       	eor	r13, r13
2573
    1658:	cc 24       	eor	r12, r12
2574
    165a:	19 86       	std	Y+9, r1	; 0x09
2575
    165c:	1a 86       	std	Y+10, r1	; 0x0a
2576
    165e:	ff 24       	eor	r15, r15
2577
    1660:	9c 01       	movw	r18, r24
2578
    1662:	28 50       	subi	r18, 0x08	; 8
2579
    1664:	30 40       	sbci	r19, 0x00	; 0
2580
    1666:	39 8b       	std	Y+17, r19	; 0x11
2581
    1668:	28 8b       	std	Y+16, r18	; 0x10
2582
    166a:	ac 89       	ldd	r26, Y+20	; 0x14
2583
    166c:	bd 89       	ldd	r27, Y+21	; 0x15
2584
    166e:	8d 91       	ld	r24, X+
2585
    1670:	9c 91       	ld	r25, X
2586
    1672:	2f ef       	ldi	r18, 0xFF	; 255
2587
    1674:	a2 2e       	mov	r10, r18
2588
    1676:	b1 2c       	mov	r11, r1
2589
    1678:	a8 1a       	sub	r10, r24
2590
    167a:	b9 0a       	sbc	r11, r25
2591
    167c:	cf 01       	movw	r24, r30
2592
    167e:	60 e1       	ldi	r22, 0x10	; 16
2593
    1680:	70 e0       	ldi	r23, 0x00	; 0
2594
    1682:	0e 94 13 32 	call	0x6426	; 0x6426 <__divmodhi4>
2595
    1686:	28 89       	ldd	r18, Y+16	; 0x10
2596
    1688:	39 89       	ldd	r19, Y+17	; 0x11
2597
    168a:	82 0f       	add	r24, r18
2598
    168c:	93 1f       	adc	r25, r19
2599
    168e:	8a 9d       	mul	r24, r10
2600
    1690:	90 01       	movw	r18, r0
2601
    1692:	8b 9d       	mul	r24, r11
2602
    1694:	30 0d       	add	r19, r0
2603
    1696:	9a 9d       	mul	r25, r10
2604
    1698:	30 0d       	add	r19, r0
2605
    169a:	11 24       	eor	r1, r1
2606
    169c:	c9 01       	movw	r24, r18
2607
    169e:	99 0f       	add	r25, r25
2608
    16a0:	88 0b       	sbc	r24, r24
2609
    16a2:	98 2f       	mov	r25, r24
2610
    16a4:	68 2f       	mov	r22, r24
2611
    16a6:	78 2f       	mov	r23, r24
2612
    16a8:	8f 8b       	std	Y+23, r24	; 0x17
2613
    16aa:	8b 87       	std	Y+11, r24	; 0x0b
2614
    16ac:	8c 87       	std	Y+12, r24	; 0x0c
2615
    16ae:	98 2f       	mov	r25, r24
2616
    16b0:	49 2d       	mov	r20, r9
2617
    16b2:	42 0f       	add	r20, r18
2618
    16b4:	4d 87       	std	Y+13, r20	; 0x0d
2619
    16b6:	51 e0       	ldi	r21, 0x01	; 1
2620
    16b8:	49 15       	cp	r20, r9
2621
    16ba:	08 f0       	brcs	.+2      	; 0x16be <bom_get_max10+0x110>
2622
    16bc:	50 e0       	ldi	r21, 0x00	; 0
2623
    16be:	28 2d       	mov	r18, r8
2624
    16c0:	23 0f       	add	r18, r19
2625
    16c2:	41 e0       	ldi	r20, 0x01	; 1
2626
    16c4:	28 15       	cp	r18, r8
2627
    16c6:	08 f0       	brcs	.+2      	; 0x16ca <bom_get_max10+0x11c>
2628
    16c8:	40 e0       	ldi	r20, 0x00	; 0
2629
    16ca:	52 0f       	add	r21, r18
2630
    16cc:	59 83       	std	Y+1, r21	; 0x01
2631
    16ce:	31 e0       	ldi	r19, 0x01	; 1
2632
    16d0:	52 17       	cp	r21, r18
2633
    16d2:	08 f0       	brcs	.+2      	; 0x16d6 <bom_get_max10+0x128>
2634
    16d4:	30 e0       	ldi	r19, 0x00	; 0
2635
    16d6:	43 2b       	or	r20, r19
2636
    16d8:	87 2d       	mov	r24, r7
2637
    16da:	86 0f       	add	r24, r22
2638
    16dc:	31 e0       	ldi	r19, 0x01	; 1
2639
    16de:	87 15       	cp	r24, r7
2640
    16e0:	08 f0       	brcs	.+2      	; 0x16e4 <bom_get_max10+0x136>
2641
    16e2:	30 e0       	ldi	r19, 0x00	; 0
2642
    16e4:	48 0f       	add	r20, r24
2643
    16e6:	4e 8b       	std	Y+22, r20	; 0x16
2644
    16e8:	21 e0       	ldi	r18, 0x01	; 1
2645
    16ea:	48 17       	cp	r20, r24
2646
    16ec:	08 f0       	brcs	.+2      	; 0x16f0 <bom_get_max10+0x142>
2647
    16ee:	20 e0       	ldi	r18, 0x00	; 0
2648
    16f0:	32 2b       	or	r19, r18
2649
    16f2:	86 2d       	mov	r24, r6
2650
    16f4:	87 0f       	add	r24, r23
2651
    16f6:	41 e0       	ldi	r20, 0x01	; 1
2652
    16f8:	86 15       	cp	r24, r6
2653
    16fa:	08 f0       	brcs	.+2      	; 0x16fe <bom_get_max10+0x150>
2654
    16fc:	40 e0       	ldi	r20, 0x00	; 0
2655
    16fe:	73 2f       	mov	r23, r19
2656
    1700:	78 0f       	add	r23, r24
2657
    1702:	21 e0       	ldi	r18, 0x01	; 1
2658
    1704:	78 17       	cp	r23, r24
2659
    1706:	08 f0       	brcs	.+2      	; 0x170a <bom_get_max10+0x15c>
2660
    1708:	20 e0       	ldi	r18, 0x00	; 0
2661
    170a:	42 2b       	or	r20, r18
2662
    170c:	8f 89       	ldd	r24, Y+23	; 0x17
2663
    170e:	83 0d       	add	r24, r3
2664
    1710:	31 e0       	ldi	r19, 0x01	; 1
2665
    1712:	83 15       	cp	r24, r3
2666
    1714:	08 f0       	brcs	.+2      	; 0x1718 <bom_get_max10+0x16a>
2667
    1716:	30 e0       	ldi	r19, 0x00	; 0
2668
    1718:	64 2f       	mov	r22, r20
2669
    171a:	68 0f       	add	r22, r24
2670
    171c:	21 e0       	ldi	r18, 0x01	; 1
2671
    171e:	68 17       	cp	r22, r24
2672
    1720:	08 f0       	brcs	.+2      	; 0x1724 <bom_get_max10+0x176>
2673
    1722:	20 e0       	ldi	r18, 0x00	; 0
2674
    1724:	32 2b       	or	r19, r18
2675
    1726:	8b 85       	ldd	r24, Y+11	; 0x0b
2676
    1728:	82 0d       	add	r24, r2
2677
    172a:	41 e0       	ldi	r20, 0x01	; 1
2678
    172c:	82 15       	cp	r24, r2
2679
    172e:	08 f0       	brcs	.+2      	; 0x1732 <bom_get_max10+0x184>
2680
    1730:	40 e0       	ldi	r20, 0x00	; 0
2681
    1732:	53 2f       	mov	r21, r19
2682
    1734:	58 0f       	add	r21, r24
2683
    1736:	21 e0       	ldi	r18, 0x01	; 1
2684
    1738:	58 17       	cp	r21, r24
2685
    173a:	08 f0       	brcs	.+2      	; 0x173e <bom_get_max10+0x190>
2686
    173c:	20 e0       	ldi	r18, 0x00	; 0
2687
    173e:	42 2b       	or	r20, r18
2688
    1740:	8a 89       	ldd	r24, Y+18	; 0x12
2689
    1742:	ac 85       	ldd	r26, Y+12	; 0x0c
2690
    1744:	8a 0f       	add	r24, r26
2691
    1746:	31 e0       	ldi	r19, 0x01	; 1
2692
    1748:	ba 89       	ldd	r27, Y+18	; 0x12
2693
    174a:	8b 17       	cp	r24, r27
2694
    174c:	08 f0       	brcs	.+2      	; 0x1750 <bom_get_max10+0x1a2>
2695
    174e:	30 e0       	ldi	r19, 0x00	; 0
2696
    1750:	48 0f       	add	r20, r24
2697
    1752:	21 e0       	ldi	r18, 0x01	; 1
2698
    1754:	48 17       	cp	r20, r24
2699
    1756:	08 f0       	brcs	.+2      	; 0x175a <bom_get_max10+0x1ac>
2700
    1758:	20 e0       	ldi	r18, 0x00	; 0
2701
    175a:	32 2b       	or	r19, r18
2702
    175c:	2b 89       	ldd	r18, Y+19	; 0x13
2703
    175e:	92 0f       	add	r25, r18
2704
    1760:	9d 84       	ldd	r9, Y+13	; 0x0d
2705
    1762:	89 80       	ldd	r8, Y+1	; 0x01
2706
    1764:	7e 88       	ldd	r7, Y+22	; 0x16
2707
    1766:	67 2e       	mov	r6, r23
2708
    1768:	36 2e       	mov	r3, r22
2709
    176a:	25 2e       	mov	r2, r21
2710
    176c:	4a 8b       	std	Y+18, r20	; 0x12
2711
    176e:	39 0f       	add	r19, r25
2712
    1770:	3b 8b       	std	Y+19, r19	; 0x13
2713
    1772:	c5 01       	movw	r24, r10
2714
    1774:	99 0f       	add	r25, r25
2715
    1776:	88 0b       	sbc	r24, r24
2716
    1778:	98 2f       	mov	r25, r24
2717
    177a:	2b 2d       	mov	r18, r11
2718
    177c:	98 2f       	mov	r25, r24
2719
    177e:	68 2f       	mov	r22, r24
2720
    1780:	78 2f       	mov	r23, r24
2721
    1782:	8e 8b       	std	Y+22, r24	; 0x16
2722
    1784:	8f 8b       	std	Y+23, r24	; 0x17
2723
    1786:	8e 87       	std	Y+14, r24	; 0x0e
2724
    1788:	31 2f       	mov	r19, r17
2725
    178a:	3a 0d       	add	r19, r10
2726
    178c:	3f 87       	std	Y+15, r19	; 0x0f
2727
    178e:	31 e0       	ldi	r19, 0x01	; 1
2728
    1790:	4f 85       	ldd	r20, Y+15	; 0x0f
2729
    1792:	41 17       	cp	r20, r17
2730
    1794:	08 f0       	brcs	.+2      	; 0x1798 <bom_get_max10+0x1ea>
2731
    1796:	30 e0       	ldi	r19, 0x00	; 0
2732
    1798:	20 0f       	add	r18, r16
2733
    179a:	41 e0       	ldi	r20, 0x01	; 1
2734
    179c:	20 17       	cp	r18, r16
2735
    179e:	08 f0       	brcs	.+2      	; 0x17a2 <bom_get_max10+0x1f4>
2736
    17a0:	40 e0       	ldi	r20, 0x00	; 0
2737
    17a2:	32 0f       	add	r19, r18
2738
    17a4:	3a 83       	std	Y+2, r19	; 0x02
2739
    17a6:	31 e0       	ldi	r19, 0x01	; 1
2740
    17a8:	8a 81       	ldd	r24, Y+2	; 0x02
2741
    17aa:	82 17       	cp	r24, r18
2742
    17ac:	08 f0       	brcs	.+2      	; 0x17b0 <bom_get_max10+0x202>
2743
    17ae:	30 e0       	ldi	r19, 0x00	; 0
2744
    17b0:	43 2b       	or	r20, r19
2745
    17b2:	8e 2d       	mov	r24, r14
2746
    17b4:	89 0f       	add	r24, r25
2747
    17b6:	51 e0       	ldi	r21, 0x01	; 1
2748
    17b8:	8e 15       	cp	r24, r14
2749
    17ba:	08 f0       	brcs	.+2      	; 0x17be <bom_get_max10+0x210>
2750
    17bc:	50 e0       	ldi	r21, 0x00	; 0
2751
    17be:	48 0f       	add	r20, r24
2752
    17c0:	4b 83       	std	Y+3, r20	; 0x03
2753
    17c2:	21 e0       	ldi	r18, 0x01	; 1
2754
    17c4:	48 17       	cp	r20, r24
2755
    17c6:	08 f0       	brcs	.+2      	; 0x17ca <bom_get_max10+0x21c>
2756
    17c8:	20 e0       	ldi	r18, 0x00	; 0
2757
    17ca:	52 2b       	or	r21, r18
2758
    17cc:	8d 2d       	mov	r24, r13
2759
    17ce:	86 0f       	add	r24, r22
2760
    17d0:	61 e0       	ldi	r22, 0x01	; 1
2761
    17d2:	8d 15       	cp	r24, r13
2762
    17d4:	08 f0       	brcs	.+2      	; 0x17d8 <bom_get_max10+0x22a>
2763
    17d6:	60 e0       	ldi	r22, 0x00	; 0
2764
    17d8:	58 0f       	add	r21, r24
2765
    17da:	5c 83       	std	Y+4, r21	; 0x04
2766
    17dc:	21 e0       	ldi	r18, 0x01	; 1
2767
    17de:	58 17       	cp	r21, r24
2768
    17e0:	08 f0       	brcs	.+2      	; 0x17e4 <bom_get_max10+0x236>
2769
    17e2:	20 e0       	ldi	r18, 0x00	; 0
2770
    17e4:	62 2b       	or	r22, r18
2771
    17e6:	8c 2d       	mov	r24, r12
2772
    17e8:	87 0f       	add	r24, r23
2773
    17ea:	71 e0       	ldi	r23, 0x01	; 1
2774
    17ec:	8c 15       	cp	r24, r12
2775
    17ee:	08 f0       	brcs	.+2      	; 0x17f2 <bom_get_max10+0x244>
2776
    17f0:	70 e0       	ldi	r23, 0x00	; 0
2777
    17f2:	68 0f       	add	r22, r24
2778
    17f4:	6d 83       	std	Y+5, r22	; 0x05
2779
    17f6:	21 e0       	ldi	r18, 0x01	; 1
2780
    17f8:	68 17       	cp	r22, r24
2781
    17fa:	08 f0       	brcs	.+2      	; 0x17fe <bom_get_max10+0x250>
2782
    17fc:	20 e0       	ldi	r18, 0x00	; 0
2783
    17fe:	72 2b       	or	r23, r18
2784
    1800:	89 85       	ldd	r24, Y+9	; 0x09
2785
    1802:	9e 89       	ldd	r25, Y+22	; 0x16
2786
    1804:	89 0f       	add	r24, r25
2787
    1806:	01 e0       	ldi	r16, 0x01	; 1
2788
    1808:	a9 85       	ldd	r26, Y+9	; 0x09
2789
    180a:	8a 17       	cp	r24, r26
2790
    180c:	08 f0       	brcs	.+2      	; 0x1810 <bom_get_max10+0x262>
2791
    180e:	00 e0       	ldi	r16, 0x00	; 0
2792
    1810:	78 0f       	add	r23, r24
2793
    1812:	7e 83       	std	Y+6, r23	; 0x06
2794
    1814:	21 e0       	ldi	r18, 0x01	; 1
2795
    1816:	78 17       	cp	r23, r24
2796
    1818:	08 f0       	brcs	.+2      	; 0x181c <bom_get_max10+0x26e>
2797
    181a:	20 e0       	ldi	r18, 0x00	; 0
2798
    181c:	02 2b       	or	r16, r18
2799
    181e:	8a 85       	ldd	r24, Y+10	; 0x0a
2800
    1820:	bf 89       	ldd	r27, Y+23	; 0x17
2801
    1822:	8b 0f       	add	r24, r27
2802
    1824:	21 e0       	ldi	r18, 0x01	; 1
2803
    1826:	3a 85       	ldd	r19, Y+10	; 0x0a
2804
    1828:	83 17       	cp	r24, r19
2805
    182a:	08 f0       	brcs	.+2      	; 0x182e <bom_get_max10+0x280>
2806
    182c:	20 e0       	ldi	r18, 0x00	; 0
2807
    182e:	08 0f       	add	r16, r24
2808
    1830:	0f 83       	std	Y+7, r16	; 0x07
2809
    1832:	11 e0       	ldi	r17, 0x01	; 1
2810
    1834:	08 17       	cp	r16, r24
2811
    1836:	08 f0       	brcs	.+2      	; 0x183a <bom_get_max10+0x28c>
2812
    1838:	10 e0       	ldi	r17, 0x00	; 0
2813
    183a:	21 2b       	or	r18, r17
2814
    183c:	4e 85       	ldd	r20, Y+14	; 0x0e
2815
    183e:	f4 0e       	add	r15, r20
2816
    1840:	2f 0d       	add	r18, r15
2817
    1842:	28 87       	std	Y+8, r18	; 0x08
2818
    1844:	1f 85       	ldd	r17, Y+15	; 0x0f
2819
    1846:	0a 81       	ldd	r16, Y+2	; 0x02
2820
    1848:	eb 80       	ldd	r14, Y+3	; 0x03
2821
    184a:	dc 80       	ldd	r13, Y+4	; 0x04
2822
    184c:	cd 80       	ldd	r12, Y+5	; 0x05
2823
    184e:	8e 81       	ldd	r24, Y+6	; 0x06
2824
    1850:	89 87       	std	Y+9, r24	; 0x09
2825
    1852:	9f 81       	ldd	r25, Y+7	; 0x07
2826
    1854:	9a 87       	std	Y+10, r25	; 0x0a
2827
    1856:	f2 2e       	mov	r15, r18
2828
    1858:	31 96       	adiw	r30, 0x01	; 1
2829
    185a:	ac 89       	ldd	r26, Y+20	; 0x14
2830
    185c:	bd 89       	ldd	r27, Y+21	; 0x15
2831
    185e:	12 96       	adiw	r26, 0x02	; 2
2832
    1860:	bd 8b       	std	Y+21, r27	; 0x15
2833
    1862:	ac 8b       	std	Y+20, r26	; 0x14
2834
    1864:	ad 5a       	subi	r26, 0xAD	; 173
2835
    1866:	b6 40       	sbci	r27, 0x06	; 6
2836
    1868:	09 f0       	breq	.+2      	; 0x186c <bom_get_max10+0x2be>
2837
    186a:	ff ce       	rjmp	.-514    	; 0x166a <bom_get_max10+0xbc>
2838
    186c:	41 14       	cp	r4, r1
2839
    186e:	51 04       	cpc	r5, r1
2840
    1870:	01 f1       	breq	.+64     	; 0x18b2 <bom_get_max10+0x304>
2841
    1872:	21 2f       	mov	r18, r17
2842
    1874:	30 2f       	mov	r19, r16
2843
    1876:	4e 2d       	mov	r20, r14
2844
    1878:	5d 2d       	mov	r21, r13
2845
    187a:	6c 2d       	mov	r22, r12
2846
    187c:	78 2f       	mov	r23, r24
2847
    187e:	89 2f       	mov	r24, r25
2848
    1880:	9f 2d       	mov	r25, r15
2849
    1882:	e0 ed       	ldi	r30, 0xD0	; 208
2850
    1884:	ae 2e       	mov	r10, r30
2851
    1886:	bb 24       	eor	r11, r11
2852
    1888:	ba 94       	dec	r11
2853
    188a:	cc 24       	eor	r12, r12
2854
    188c:	ca 94       	dec	r12
2855
    188e:	dd 24       	eor	r13, r13
2856
    1890:	da 94       	dec	r13
2857
    1892:	ee 24       	eor	r14, r14
2858
    1894:	ea 94       	dec	r14
2859
    1896:	ff 24       	eor	r15, r15
2860
    1898:	fa 94       	dec	r15
2861
    189a:	0f ef       	ldi	r16, 0xFF	; 255
2862
    189c:	1f ef       	ldi	r17, 0xFF	; 255
2863
    189e:	0e 94 b2 1e 	call	0x3d64	; 0x3d64 <__divdi3>
2864
    18a2:	59 01       	movw	r10, r18
2865
    18a4:	82 e3       	ldi	r24, 0x32	; 50
2866
    18a6:	90 e0       	ldi	r25, 0x00	; 0
2867
    18a8:	a8 0e       	add	r10, r24
2868
    18aa:	b9 1e       	adc	r11, r25
2869
    18ac:	d2 01       	movw	r26, r4
2870
    18ae:	ad 92       	st	X+, r10
2871
    18b0:	bc 92       	st	X, r11
2872
    18b2:	29 2d       	mov	r18, r9
2873
    18b4:	38 2d       	mov	r19, r8
2874
    18b6:	47 2d       	mov	r20, r7
2875
    18b8:	56 2d       	mov	r21, r6
2876
    18ba:	63 2d       	mov	r22, r3
2877
    18bc:	72 2d       	mov	r23, r2
2878
    18be:	8a 89       	ldd	r24, Y+18	; 0x12
2879
    18c0:	9b 89       	ldd	r25, Y+19	; 0x13
2880
    18c2:	01 e0       	ldi	r16, 0x01	; 1
2881
    18c4:	0e 94 33 1e 	call	0x3c66	; 0x3c66 <__ashldi3>
2882
    18c8:	12 2f       	mov	r17, r18
2883
    18ca:	f3 2e       	mov	r15, r19
2884
    18cc:	e4 2e       	mov	r14, r20
2885
    18ce:	d5 2e       	mov	r13, r21
2886
    18d0:	c6 2e       	mov	r12, r22
2887
    18d2:	b7 2e       	mov	r11, r23
2888
    18d4:	a8 2e       	mov	r10, r24
2889
    18d6:	89 2e       	mov	r8, r25
2890
    18d8:	02 e0       	ldi	r16, 0x02	; 2
2891
    18da:	0e 94 33 1e 	call	0x3c66	; 0x3c66 <__ashldi3>
2892
    18de:	b9 2f       	mov	r27, r25
2893
    18e0:	21 0f       	add	r18, r17
2894
    18e2:	e1 e0       	ldi	r30, 0x01	; 1
2895
    18e4:	21 17       	cp	r18, r17
2896
    18e6:	08 f0       	brcs	.+2      	; 0x18ea <bom_get_max10+0x33c>
2897
    18e8:	e0 e0       	ldi	r30, 0x00	; 0
2898
    18ea:	3f 0d       	add	r19, r15
2899
    18ec:	f1 e0       	ldi	r31, 0x01	; 1
2900
    18ee:	3f 15       	cp	r19, r15
2901
    18f0:	08 f0       	brcs	.+2      	; 0x18f4 <bom_get_max10+0x346>
2902
    18f2:	f0 e0       	ldi	r31, 0x00	; 0
2903
    18f4:	9e 2e       	mov	r9, r30
2904
    18f6:	93 0e       	add	r9, r19
2905
    18f8:	e1 e0       	ldi	r30, 0x01	; 1
2906
    18fa:	93 16       	cp	r9, r19
2907
    18fc:	08 f0       	brcs	.+2      	; 0x1900 <bom_get_max10+0x352>
2908
    18fe:	e0 e0       	ldi	r30, 0x00	; 0
2909
    1900:	fe 2b       	or	r31, r30
2910
    1902:	4e 0d       	add	r20, r14
2911
    1904:	a1 e0       	ldi	r26, 0x01	; 1
2912
    1906:	4e 15       	cp	r20, r14
2913
    1908:	08 f0       	brcs	.+2      	; 0x190c <bom_get_max10+0x35e>
2914
    190a:	a0 e0       	ldi	r26, 0x00	; 0
2915
    190c:	ff 2e       	mov	r15, r31
2916
    190e:	f4 0e       	add	r15, r20
2917
    1910:	e1 e0       	ldi	r30, 0x01	; 1
2918
    1912:	f4 16       	cp	r15, r20
2919
    1914:	08 f0       	brcs	.+2      	; 0x1918 <bom_get_max10+0x36a>
2920
    1916:	e0 e0       	ldi	r30, 0x00	; 0
2921
    1918:	ae 2b       	or	r26, r30
2922
    191a:	5d 0d       	add	r21, r13
2923
    191c:	f1 e0       	ldi	r31, 0x01	; 1
2924
    191e:	5d 15       	cp	r21, r13
2925
    1920:	08 f0       	brcs	.+2      	; 0x1924 <bom_get_max10+0x376>
2926
    1922:	f0 e0       	ldi	r31, 0x00	; 0
2927
    1924:	0a 2f       	mov	r16, r26
2928
    1926:	05 0f       	add	r16, r21
2929
    1928:	e1 e0       	ldi	r30, 0x01	; 1
2930
    192a:	05 17       	cp	r16, r21
2931
    192c:	08 f0       	brcs	.+2      	; 0x1930 <bom_get_max10+0x382>
2932
    192e:	e0 e0       	ldi	r30, 0x00	; 0
2933
    1930:	fe 2b       	or	r31, r30
2934
    1932:	6c 0d       	add	r22, r12
2935
    1934:	a1 e0       	ldi	r26, 0x01	; 1
2936
    1936:	6c 15       	cp	r22, r12
2937
    1938:	08 f0       	brcs	.+2      	; 0x193c <bom_get_max10+0x38e>
2938
    193a:	a0 e0       	ldi	r26, 0x00	; 0
2939
    193c:	1f 2f       	mov	r17, r31
2940
    193e:	16 0f       	add	r17, r22
2941
    1940:	e1 e0       	ldi	r30, 0x01	; 1
2942
    1942:	16 17       	cp	r17, r22
2943
    1944:	08 f0       	brcs	.+2      	; 0x1948 <bom_get_max10+0x39a>
2944
    1946:	e0 e0       	ldi	r30, 0x00	; 0
2945
    1948:	ae 2b       	or	r26, r30
2946
    194a:	7b 0d       	add	r23, r11
2947
    194c:	f1 e0       	ldi	r31, 0x01	; 1
2948
    194e:	7b 15       	cp	r23, r11
2949
    1950:	08 f0       	brcs	.+2      	; 0x1954 <bom_get_max10+0x3a6>
2950
    1952:	f0 e0       	ldi	r31, 0x00	; 0
2951
    1954:	a7 0f       	add	r26, r23
2952
    1956:	e1 e0       	ldi	r30, 0x01	; 1
2953
    1958:	a7 17       	cp	r26, r23
2954
    195a:	08 f0       	brcs	.+2      	; 0x195e <bom_get_max10+0x3b0>
2955
    195c:	e0 e0       	ldi	r30, 0x00	; 0
2956
    195e:	fe 2b       	or	r31, r30
2957
    1960:	8a 0d       	add	r24, r10
2958
    1962:	91 e0       	ldi	r25, 0x01	; 1
2959
    1964:	8a 15       	cp	r24, r10
2960
    1966:	08 f0       	brcs	.+2      	; 0x196a <bom_get_max10+0x3bc>
2961
    1968:	90 e0       	ldi	r25, 0x00	; 0
2962
    196a:	f8 0f       	add	r31, r24
2963
    196c:	e1 e0       	ldi	r30, 0x01	; 1
2964
    196e:	f8 17       	cp	r31, r24
2965
    1970:	08 f0       	brcs	.+2      	; 0x1974 <bom_get_max10+0x3c6>
2966
    1972:	e0 e0       	ldi	r30, 0x00	; 0
2967
    1974:	9e 2b       	or	r25, r30
2968
    1976:	b8 0d       	add	r27, r8
2969
    1978:	39 2d       	mov	r19, r9
2970
    197a:	4f 2d       	mov	r20, r15
2971
    197c:	50 2f       	mov	r21, r16
2972
    197e:	61 2f       	mov	r22, r17
2973
    1980:	7a 2f       	mov	r23, r26
2974
    1982:	8f 2f       	mov	r24, r31
2975
    1984:	9b 0f       	add	r25, r27
2976
    1986:	af 84       	ldd	r10, Y+15	; 0x0f
2977
    1988:	ba 80       	ldd	r11, Y+2	; 0x02
2978
    198a:	cb 80       	ldd	r12, Y+3	; 0x03
2979
    198c:	dc 80       	ldd	r13, Y+4	; 0x04
2980
    198e:	ed 80       	ldd	r14, Y+5	; 0x05
2981
    1990:	fe 80       	ldd	r15, Y+6	; 0x06
2982
    1992:	0f 81       	ldd	r16, Y+7	; 0x07
2983
    1994:	18 85       	ldd	r17, Y+8	; 0x08
2984
    1996:	0e 94 b2 1e 	call	0x3d64	; 0x3d64 <__divdi3>
2985
    199a:	e3 2f       	mov	r30, r19
2986
    199c:	f4 2f       	mov	r31, r20
2987
    199e:	a5 2f       	mov	r26, r21
2988
    19a0:	b6 2f       	mov	r27, r22
2989
    19a2:	17 2f       	mov	r17, r23
2990
    19a4:	08 2f       	mov	r16, r24
2991
    19a6:	e9 2e       	mov	r14, r25
2992
    19a8:	80 ea       	ldi	r24, 0xA0	; 160
2993
    19aa:	f8 2e       	mov	r15, r24
2994
    19ac:	f2 0e       	add	r15, r18
2995
    19ae:	31 e0       	ldi	r19, 0x01	; 1
2996
    19b0:	f2 16       	cp	r15, r18
2997
    19b2:	08 f0       	brcs	.+2      	; 0x19b6 <bom_get_max10+0x408>
2998
    19b4:	30 e0       	ldi	r19, 0x00	; 0
2999
    19b6:	3e 0f       	add	r19, r30
3000
    19b8:	41 e0       	ldi	r20, 0x01	; 1
3001
    19ba:	3e 17       	cp	r19, r30
3002
    19bc:	08 f0       	brcs	.+2      	; 0x19c0 <bom_get_max10+0x412>
3003
    19be:	40 e0       	ldi	r20, 0x00	; 0
3004
    19c0:	4f 0f       	add	r20, r31
3005
    19c2:	51 e0       	ldi	r21, 0x01	; 1
3006
    19c4:	4f 17       	cp	r20, r31
3007
    19c6:	08 f0       	brcs	.+2      	; 0x19ca <bom_get_max10+0x41c>
3008
    19c8:	50 e0       	ldi	r21, 0x00	; 0
3009
    19ca:	5a 0f       	add	r21, r26
3010
    19cc:	61 e0       	ldi	r22, 0x01	; 1
3011
    19ce:	5a 17       	cp	r21, r26
3012
    19d0:	08 f0       	brcs	.+2      	; 0x19d4 <bom_get_max10+0x426>
3013
    19d2:	60 e0       	ldi	r22, 0x00	; 0
3014
    19d4:	6b 0f       	add	r22, r27
3015
    19d6:	71 e0       	ldi	r23, 0x01	; 1
3016
    19d8:	6b 17       	cp	r22, r27
3017
    19da:	08 f0       	brcs	.+2      	; 0x19de <bom_get_max10+0x430>
3018
    19dc:	70 e0       	ldi	r23, 0x00	; 0
3019
    19de:	71 0f       	add	r23, r17
3020
    19e0:	81 e0       	ldi	r24, 0x01	; 1
3021
    19e2:	71 17       	cp	r23, r17
3022
    19e4:	08 f0       	brcs	.+2      	; 0x19e8 <bom_get_max10+0x43a>
3023
    19e6:	80 e0       	ldi	r24, 0x00	; 0
3024
    19e8:	80 0f       	add	r24, r16
3025
    19ea:	91 e0       	ldi	r25, 0x01	; 1
3026
    19ec:	80 17       	cp	r24, r16
3027
    19ee:	08 f0       	brcs	.+2      	; 0x19f2 <bom_get_max10+0x444>
3028
    19f0:	90 e0       	ldi	r25, 0x00	; 0
3029
    19f2:	2f 2d       	mov	r18, r15
3030
    19f4:	9e 0d       	add	r25, r14
3031
    19f6:	e0 ea       	ldi	r30, 0xA0	; 160
3032
    19f8:	ae 2e       	mov	r10, r30
3033
    19fa:	bb 24       	eor	r11, r11
3034
    19fc:	cc 24       	eor	r12, r12
3035
    19fe:	dd 24       	eor	r13, r13
3036
    1a00:	ee 24       	eor	r14, r14
3037
    1a02:	ff 24       	eor	r15, r15
3038
    1a04:	00 e0       	ldi	r16, 0x00	; 0
3039
    1a06:	10 e0       	ldi	r17, 0x00	; 0
3040
    1a08:	0e 94 da 26 	call	0x4db4	; 0x4db4 <__moddi3>
3041
    1a0c:	c9 01       	movw	r24, r18
3042
    1a0e:	67 96       	adiw	r28, 0x17	; 23
3043
    1a10:	0f b6       	in	r0, 0x3f	; 63
3044
    1a12:	f8 94       	cli
3045
    1a14:	de bf       	out	0x3e, r29	; 62
3046
    1a16:	0f be       	out	0x3f, r0	; 63
3047
    1a18:	cd bf       	out	0x3d, r28	; 61
3048
    1a1a:	cf 91       	pop	r28
3049
    1a1c:	df 91       	pop	r29
3050
    1a1e:	1f 91       	pop	r17
3051
    1a20:	0f 91       	pop	r16
3052
    1a22:	ff 90       	pop	r15
3053
    1a24:	ef 90       	pop	r14
3054
    1a26:	df 90       	pop	r13
3055
    1a28:	cf 90       	pop	r12
3056
    1a2a:	bf 90       	pop	r11
3057
    1a2c:	af 90       	pop	r10
3058
    1a2e:	9f 90       	pop	r9
3059
    1a30:	8f 90       	pop	r8
3060
    1a32:	7f 90       	pop	r7
3061
    1a34:	6f 90       	pop	r6
3062
    1a36:	5f 90       	pop	r5
3063
    1a38:	4f 90       	pop	r4
3064
    1a3a:	3f 90       	pop	r3
3065
    1a3c:	2f 90       	pop	r2
3066
    1a3e:	08 95       	ret
3067

    
3068
00001a40 <bom_off>:
3069
    1a40:	80 91 8c 06 	lds	r24, 0x068C
3070
    1a44:	88 23       	and	r24, r24
3071
    1a46:	19 f0       	breq	.+6      	; 0x1a4e <bom_off+0xe>
3072
    1a48:	81 30       	cpi	r24, 0x01	; 1
3073
    1a4a:	71 f4       	brne	.+28     	; 0x1a68 <bom_off+0x28>
3074
    1a4c:	07 c0       	rjmp	.+14     	; 0x1a5c <bom_off+0x1c>
3075
    1a4e:	8a e2       	ldi	r24, 0x2A	; 42
3076
    1a50:	90 e0       	ldi	r25, 0x00	; 0
3077
    1a52:	60 e0       	ldi	r22, 0x00	; 0
3078
    1a54:	70 e0       	ldi	r23, 0x00	; 0
3079
    1a56:	0e 94 8a 0f 	call	0x1f14	; 0x1f14 <digital_output>
3080
    1a5a:	08 95       	ret
3081
    1a5c:	8b e2       	ldi	r24, 0x2B	; 43
3082
    1a5e:	90 e0       	ldi	r25, 0x00	; 0
3083
    1a60:	60 e0       	ldi	r22, 0x00	; 0
3084
    1a62:	70 e0       	ldi	r23, 0x00	; 0
3085
    1a64:	0e 94 8a 0f 	call	0x1f14	; 0x1f14 <digital_output>
3086
    1a68:	08 95       	ret
3087

    
3088
00001a6a <bom_on>:
3089
    1a6a:	80 91 8c 06 	lds	r24, 0x068C
3090
    1a6e:	88 23       	and	r24, r24
3091
    1a70:	19 f0       	breq	.+6      	; 0x1a78 <bom_on+0xe>
3092
    1a72:	81 30       	cpi	r24, 0x01	; 1
3093
    1a74:	71 f4       	brne	.+28     	; 0x1a92 <bom_on+0x28>
3094
    1a76:	07 c0       	rjmp	.+14     	; 0x1a86 <bom_on+0x1c>
3095
    1a78:	8a e2       	ldi	r24, 0x2A	; 42
3096
    1a7a:	90 e0       	ldi	r25, 0x00	; 0
3097
    1a7c:	61 e0       	ldi	r22, 0x01	; 1
3098
    1a7e:	70 e0       	ldi	r23, 0x00	; 0
3099
    1a80:	0e 94 8a 0f 	call	0x1f14	; 0x1f14 <digital_output>
3100
    1a84:	08 95       	ret
3101
    1a86:	8b e2       	ldi	r24, 0x2B	; 43
3102
    1a88:	90 e0       	ldi	r25, 0x00	; 0
3103
    1a8a:	61 e0       	ldi	r22, 0x01	; 1
3104
    1a8c:	70 e0       	ldi	r23, 0x00	; 0
3105
    1a8e:	0e 94 8a 0f 	call	0x1f14	; 0x1f14 <digital_output>
3106
    1a92:	08 95       	ret
3107

    
3108
00001a94 <bom_set_leds>:
3109
    1a94:	ef 92       	push	r14
3110
    1a96:	ff 92       	push	r15
3111
    1a98:	0f 93       	push	r16
3112
    1a9a:	1f 93       	push	r17
3113
    1a9c:	cf 93       	push	r28
3114
    1a9e:	df 93       	push	r29
3115
    1aa0:	7c 01       	movw	r14, r24
3116
    1aa2:	80 91 8c 06 	lds	r24, 0x068C
3117
    1aa6:	81 30       	cpi	r24, 0x01	; 1
3118
    1aa8:	e1 f4       	brne	.+56     	; 0x1ae2 <bom_set_leds+0x4e>
3119
    1aaa:	00 e1       	ldi	r16, 0x10	; 16
3120
    1aac:	10 e0       	ldi	r17, 0x00	; 0
3121
    1aae:	c0 e0       	ldi	r28, 0x00	; 0
3122
    1ab0:	d0 e8       	ldi	r29, 0x80	; 128
3123
    1ab2:	be 01       	movw	r22, r28
3124
    1ab4:	6e 21       	and	r22, r14
3125
    1ab6:	7f 21       	and	r23, r15
3126
    1ab8:	88 e0       	ldi	r24, 0x08	; 8
3127
    1aba:	90 e0       	ldi	r25, 0x00	; 0
3128
    1abc:	0e 94 8a 0f 	call	0x1f14	; 0x1f14 <digital_output>
3129
    1ac0:	89 e0       	ldi	r24, 0x09	; 9
3130
    1ac2:	90 e0       	ldi	r25, 0x00	; 0
3131
    1ac4:	61 e0       	ldi	r22, 0x01	; 1
3132
    1ac6:	70 e0       	ldi	r23, 0x00	; 0
3133
    1ac8:	0e 94 8a 0f 	call	0x1f14	; 0x1f14 <digital_output>
3134
    1acc:	89 e0       	ldi	r24, 0x09	; 9
3135
    1ace:	90 e0       	ldi	r25, 0x00	; 0
3136
    1ad0:	60 e0       	ldi	r22, 0x00	; 0
3137
    1ad2:	70 e0       	ldi	r23, 0x00	; 0
3138
    1ad4:	0e 94 8a 0f 	call	0x1f14	; 0x1f14 <digital_output>
3139
    1ad8:	d6 95       	lsr	r29
3140
    1ada:	c7 95       	ror	r28
3141
    1adc:	01 50       	subi	r16, 0x01	; 1
3142
    1ade:	10 40       	sbci	r17, 0x00	; 0
3143
    1ae0:	41 f7       	brne	.-48     	; 0x1ab2 <bom_set_leds+0x1e>
3144
    1ae2:	df 91       	pop	r29
3145
    1ae4:	cf 91       	pop	r28
3146
    1ae6:	1f 91       	pop	r17
3147
    1ae8:	0f 91       	pop	r16
3148
    1aea:	ff 90       	pop	r15
3149
    1aec:	ef 90       	pop	r14
3150
    1aee:	08 95       	ret
3151

    
3152
00001af0 <bom_init>:
3153
    1af0:	80 93 8c 06 	sts	0x068C, r24
3154
    1af4:	80 91 8c 06 	lds	r24, 0x068C
3155
    1af8:	88 23       	and	r24, r24
3156
    1afa:	21 f0       	breq	.+8      	; 0x1b04 <bom_init+0x14>
3157
    1afc:	81 30       	cpi	r24, 0x01	; 1
3158
    1afe:	09 f0       	breq	.+2      	; 0x1b02 <bom_init+0x12>
3159
    1b00:	44 c0       	rjmp	.+136    	; 0x1b8a <bom_init+0x9a>
3160
    1b02:	1d c0       	rjmp	.+58     	; 0x1b3e <bom_init+0x4e>
3161
    1b04:	8c e2       	ldi	r24, 0x2C	; 44
3162
    1b06:	90 e0       	ldi	r25, 0x00	; 0
3163
    1b08:	90 93 ae 06 	sts	0x06AE, r25
3164
    1b0c:	80 93 ad 06 	sts	0x06AD, r24
3165
    1b10:	8b e2       	ldi	r24, 0x2B	; 43
3166
    1b12:	90 e0       	ldi	r25, 0x00	; 0
3167
    1b14:	90 93 b0 06 	sts	0x06B0, r25
3168
    1b18:	80 93 af 06 	sts	0x06AF, r24
3169
    1b1c:	8f e2       	ldi	r24, 0x2F	; 47
3170
    1b1e:	90 e0       	ldi	r25, 0x00	; 0
3171
    1b20:	90 93 b2 06 	sts	0x06B2, r25
3172
    1b24:	80 93 b1 06 	sts	0x06B1, r24
3173
    1b28:	8e e2       	ldi	r24, 0x2E	; 46
3174
    1b2a:	90 e0       	ldi	r25, 0x00	; 0
3175
    1b2c:	90 93 b4 06 	sts	0x06B4, r25
3176
    1b30:	80 93 b3 06 	sts	0x06B3, r24
3177
    1b34:	10 92 b6 06 	sts	0x06B6, r1
3178
    1b38:	10 92 b5 06 	sts	0x06B5, r1
3179
    1b3c:	08 95       	ret
3180
    1b3e:	8a e2       	ldi	r24, 0x2A	; 42
3181
    1b40:	90 e0       	ldi	r25, 0x00	; 0
3182
    1b42:	60 e0       	ldi	r22, 0x00	; 0
3183
    1b44:	70 e0       	ldi	r23, 0x00	; 0
3184
    1b46:	0e 94 8a 0f 	call	0x1f14	; 0x1f14 <digital_output>
3185
    1b4a:	8d e2       	ldi	r24, 0x2D	; 45
3186
    1b4c:	90 e0       	ldi	r25, 0x00	; 0
3187
    1b4e:	90 93 ae 06 	sts	0x06AE, r25
3188
    1b52:	80 93 ad 06 	sts	0x06AD, r24
3189
    1b56:	8c e2       	ldi	r24, 0x2C	; 44
3190
    1b58:	90 e0       	ldi	r25, 0x00	; 0
3191
    1b5a:	90 93 b0 06 	sts	0x06B0, r25
3192
    1b5e:	80 93 af 06 	sts	0x06AF, r24
3193
    1b62:	8f e2       	ldi	r24, 0x2F	; 47
3194
    1b64:	90 e0       	ldi	r25, 0x00	; 0
3195
    1b66:	90 93 b2 06 	sts	0x06B2, r25
3196
    1b6a:	80 93 b1 06 	sts	0x06B1, r24
3197
    1b6e:	8e e2       	ldi	r24, 0x2E	; 46
3198
    1b70:	90 e0       	ldi	r25, 0x00	; 0
3199
    1b72:	90 93 b4 06 	sts	0x06B4, r25
3200
    1b76:	80 93 b3 06 	sts	0x06B3, r24
3201
    1b7a:	8f ef       	ldi	r24, 0xFF	; 255
3202
    1b7c:	9f ef       	ldi	r25, 0xFF	; 255
3203
    1b7e:	0e 94 4a 0d 	call	0x1a94	; 0x1a94 <bom_set_leds>
3204
    1b82:	10 92 b6 06 	sts	0x06B6, r1
3205
    1b86:	10 92 b5 06 	sts	0x06B5, r1
3206
    1b8a:	08 95       	ret
3207

    
3208
00001b8c <bom_refresh>:
3209
    1b8c:	af 92       	push	r10
3210
    1b8e:	bf 92       	push	r11
3211
    1b90:	cf 92       	push	r12
3212
    1b92:	df 92       	push	r13
3213
    1b94:	ef 92       	push	r14
3214
    1b96:	ff 92       	push	r15
3215
    1b98:	1f 93       	push	r17
3216
    1b9a:	cf 93       	push	r28
3217
    1b9c:	df 93       	push	r29
3218
    1b9e:	6c 01       	movw	r12, r24
3219
    1ba0:	0e 94 d9 1c 	call	0x39b2	; 0x39b2 <analog_loop_status>
3220
    1ba4:	01 97       	sbiw	r24, 0x01	; 1
3221
    1ba6:	19 f0       	breq	.+6      	; 0x1bae <bom_refresh+0x22>
3222
    1ba8:	aa 24       	eor	r10, r10
3223
    1baa:	bb 24       	eor	r11, r11
3224
    1bac:	05 c0       	rjmp	.+10     	; 0x1bb8 <bom_refresh+0x2c>
3225
    1bae:	0e 94 d2 1c 	call	0x39a4	; 0x39a4 <analog_stop_loop>
3226
    1bb2:	61 e0       	ldi	r22, 0x01	; 1
3227
    1bb4:	a6 2e       	mov	r10, r22
3228
    1bb6:	b1 2c       	mov	r11, r1
3229
    1bb8:	5d e8       	ldi	r21, 0x8D	; 141
3230
    1bba:	e5 2e       	mov	r14, r21
3231
    1bbc:	56 e0       	ldi	r21, 0x06	; 6
3232
    1bbe:	f5 2e       	mov	r15, r21
3233
    1bc0:	c0 e0       	ldi	r28, 0x00	; 0
3234
    1bc2:	d0 e0       	ldi	r29, 0x00	; 0
3235
    1bc4:	c0 fe       	sbrs	r12, 0
3236
    1bc6:	57 c0       	rjmp	.+174    	; 0x1c76 <bom_refresh+0xea>
3237
    1bc8:	ec 2f       	mov	r30, r28
3238
    1bca:	80 91 8c 06 	lds	r24, 0x068C
3239
    1bce:	88 23       	and	r24, r24
3240
    1bd0:	21 f4       	brne	.+8      	; 0x1bda <bom_refresh+0x4e>
3241
    1bd2:	fe 01       	movw	r30, r28
3242
    1bd4:	e9 59       	subi	r30, 0x99	; 153
3243
    1bd6:	fe 4f       	sbci	r31, 0xFE	; 254
3244
    1bd8:	e0 81       	ld	r30, Z
3245
    1bda:	1e 2f       	mov	r17, r30
3246
    1bdc:	e3 ff       	sbrs	r30, 3
3247
    1bde:	07 c0       	rjmp	.+14     	; 0x1bee <bom_refresh+0x62>
3248
    1be0:	80 91 b3 06 	lds	r24, 0x06B3
3249
    1be4:	90 91 b4 06 	lds	r25, 0x06B4
3250
    1be8:	61 e0       	ldi	r22, 0x01	; 1
3251
    1bea:	70 e0       	ldi	r23, 0x00	; 0
3252
    1bec:	06 c0       	rjmp	.+12     	; 0x1bfa <bom_refresh+0x6e>
3253
    1bee:	80 91 b3 06 	lds	r24, 0x06B3
3254
    1bf2:	90 91 b4 06 	lds	r25, 0x06B4
3255
    1bf6:	60 e0       	ldi	r22, 0x00	; 0
3256
    1bf8:	70 e0       	ldi	r23, 0x00	; 0
3257
    1bfa:	0e 94 8a 0f 	call	0x1f14	; 0x1f14 <digital_output>
3258
    1bfe:	12 ff       	sbrs	r17, 2
3259
    1c00:	07 c0       	rjmp	.+14     	; 0x1c10 <bom_refresh+0x84>
3260
    1c02:	80 91 b1 06 	lds	r24, 0x06B1
3261
    1c06:	90 91 b2 06 	lds	r25, 0x06B2
3262
    1c0a:	61 e0       	ldi	r22, 0x01	; 1
3263
    1c0c:	70 e0       	ldi	r23, 0x00	; 0
3264
    1c0e:	06 c0       	rjmp	.+12     	; 0x1c1c <bom_refresh+0x90>
3265
    1c10:	80 91 b1 06 	lds	r24, 0x06B1
3266
    1c14:	90 91 b2 06 	lds	r25, 0x06B2
3267
    1c18:	60 e0       	ldi	r22, 0x00	; 0
3268
    1c1a:	70 e0       	ldi	r23, 0x00	; 0
3269
    1c1c:	0e 94 8a 0f 	call	0x1f14	; 0x1f14 <digital_output>
3270
    1c20:	11 ff       	sbrs	r17, 1
3271
    1c22:	07 c0       	rjmp	.+14     	; 0x1c32 <bom_refresh+0xa6>
3272
    1c24:	80 91 af 06 	lds	r24, 0x06AF
3273
    1c28:	90 91 b0 06 	lds	r25, 0x06B0
3274
    1c2c:	61 e0       	ldi	r22, 0x01	; 1
3275
    1c2e:	70 e0       	ldi	r23, 0x00	; 0
3276
    1c30:	06 c0       	rjmp	.+12     	; 0x1c3e <bom_refresh+0xb2>
3277
    1c32:	80 91 af 06 	lds	r24, 0x06AF
3278
    1c36:	90 91 b0 06 	lds	r25, 0x06B0
3279
    1c3a:	60 e0       	ldi	r22, 0x00	; 0
3280
    1c3c:	70 e0       	ldi	r23, 0x00	; 0
3281
    1c3e:	0e 94 8a 0f 	call	0x1f14	; 0x1f14 <digital_output>
3282
    1c42:	10 ff       	sbrs	r17, 0
3283
    1c44:	07 c0       	rjmp	.+14     	; 0x1c54 <bom_refresh+0xc8>
3284
    1c46:	80 91 ad 06 	lds	r24, 0x06AD
3285
    1c4a:	90 91 ae 06 	lds	r25, 0x06AE
3286
    1c4e:	61 e0       	ldi	r22, 0x01	; 1
3287
    1c50:	70 e0       	ldi	r23, 0x00	; 0
3288
    1c52:	06 c0       	rjmp	.+12     	; 0x1c60 <bom_refresh+0xd4>
3289
    1c54:	80 91 ad 06 	lds	r24, 0x06AD
3290
    1c58:	90 91 ae 06 	lds	r25, 0x06AE
3291
    1c5c:	60 e0       	ldi	r22, 0x00	; 0
3292
    1c5e:	70 e0       	ldi	r23, 0x00	; 0
3293
    1c60:	0e 94 8a 0f 	call	0x1f14	; 0x1f14 <digital_output>
3294
    1c64:	80 91 b5 06 	lds	r24, 0x06B5
3295
    1c68:	90 91 b6 06 	lds	r25, 0x06B6
3296
    1c6c:	0e 94 df 1c 	call	0x39be	; 0x39be <analog_get8>
3297
    1c70:	f7 01       	movw	r30, r14
3298
    1c72:	91 83       	std	Z+1, r25	; 0x01
3299
    1c74:	80 83       	st	Z, r24
3300
    1c76:	21 96       	adiw	r28, 0x01	; 1
3301
    1c78:	82 e0       	ldi	r24, 0x02	; 2
3302
    1c7a:	90 e0       	ldi	r25, 0x00	; 0
3303
    1c7c:	e8 0e       	add	r14, r24
3304
    1c7e:	f9 1e       	adc	r15, r25
3305
    1c80:	c0 31       	cpi	r28, 0x10	; 16
3306
    1c82:	d1 05       	cpc	r29, r1
3307
    1c84:	19 f0       	breq	.+6      	; 0x1c8c <bom_refresh+0x100>
3308
    1c86:	d5 94       	asr	r13
3309
    1c88:	c7 94       	ror	r12
3310
    1c8a:	9c cf       	rjmp	.-200    	; 0x1bc4 <bom_refresh+0x38>
3311
    1c8c:	ab 28       	or	r10, r11
3312
    1c8e:	11 f0       	breq	.+4      	; 0x1c94 <bom_refresh+0x108>
3313
    1c90:	0e 94 c3 1c 	call	0x3986	; 0x3986 <analog_start_loop>
3314
    1c94:	df 91       	pop	r29
3315
    1c96:	cf 91       	pop	r28
3316
    1c98:	1f 91       	pop	r17
3317
    1c9a:	ff 90       	pop	r15
3318
    1c9c:	ef 90       	pop	r14
3319
    1c9e:	df 90       	pop	r13
3320
    1ca0:	cf 90       	pop	r12
3321
    1ca2:	bf 90       	pop	r11
3322
    1ca4:	af 90       	pop	r10
3323
    1ca6:	08 95       	ret
3324

    
3325
00001ca8 <get_max_bom>:
3326
    1ca8:	8f ef       	ldi	r24, 0xFF	; 255
3327
    1caa:	9f ef       	ldi	r25, 0xFF	; 255
3328
    1cac:	0e 94 c6 0d 	call	0x1b8c	; 0x1b8c <bom_refresh>
3329
    1cb0:	ed e8       	ldi	r30, 0x8D	; 141
3330
    1cb2:	f6 e0       	ldi	r31, 0x06	; 6
3331
    1cb4:	20 e0       	ldi	r18, 0x00	; 0
3332
    1cb6:	30 e0       	ldi	r19, 0x00	; 0
3333
    1cb8:	8f ef       	ldi	r24, 0xFF	; 255
3334
    1cba:	90 e0       	ldi	r25, 0x00	; 0
3335
    1cbc:	6f ef       	ldi	r22, 0xFF	; 255
3336
    1cbe:	7f ef       	ldi	r23, 0xFF	; 255
3337
    1cc0:	40 81       	ld	r20, Z
3338
    1cc2:	51 81       	ldd	r21, Z+1	; 0x01
3339
    1cc4:	48 17       	cp	r20, r24
3340
    1cc6:	59 07       	cpc	r21, r25
3341
    1cc8:	10 f4       	brcc	.+4      	; 0x1cce <get_max_bom+0x26>
3342
    1cca:	ca 01       	movw	r24, r20
3343
    1ccc:	b9 01       	movw	r22, r18
3344
    1cce:	2f 5f       	subi	r18, 0xFF	; 255
3345
    1cd0:	3f 4f       	sbci	r19, 0xFF	; 255
3346
    1cd2:	32 96       	adiw	r30, 0x02	; 2
3347
    1cd4:	20 31       	cpi	r18, 0x10	; 16
3348
    1cd6:	31 05       	cpc	r19, r1
3349
    1cd8:	99 f7       	brne	.-26     	; 0x1cc0 <get_max_bom+0x18>
3350
    1cda:	86 39       	cpi	r24, 0x96	; 150
3351
    1cdc:	91 05       	cpc	r25, r1
3352
    1cde:	14 f0       	brlt	.+4      	; 0x1ce4 <get_max_bom+0x3c>
3353
    1ce0:	6f ef       	ldi	r22, 0xFF	; 255
3354
    1ce2:	7f ef       	ldi	r23, 0xFF	; 255
3355
    1ce4:	cb 01       	movw	r24, r22
3356
    1ce6:	08 95       	ret
3357

    
3358
00001ce8 <digital_input>:
3359
    1ce8:	ac 01       	movw	r20, r24
3360
    1cea:	47 70       	andi	r20, 0x07	; 7
3361
    1cec:	50 70       	andi	r21, 0x00	; 0
3362
    1cee:	9c 01       	movw	r18, r24
3363
    1cf0:	83 e0       	ldi	r24, 0x03	; 3
3364
    1cf2:	35 95       	asr	r19
3365
    1cf4:	27 95       	ror	r18
3366
    1cf6:	8a 95       	dec	r24
3367
    1cf8:	e1 f7       	brne	.-8      	; 0x1cf2 <digital_input+0xa>
3368
    1cfa:	24 30       	cpi	r18, 0x04	; 4
3369
    1cfc:	31 05       	cpc	r19, r1
3370
    1cfe:	09 f4       	brne	.+2      	; 0x1d02 <digital_input+0x1a>
3371
    1d00:	44 c0       	rjmp	.+136    	; 0x1d8a <digital_input+0xa2>
3372
    1d02:	25 30       	cpi	r18, 0x05	; 5
3373
    1d04:	31 05       	cpc	r19, r1
3374
    1d06:	54 f4       	brge	.+20     	; 0x1d1c <digital_input+0x34>
3375
    1d08:	22 30       	cpi	r18, 0x02	; 2
3376
    1d0a:	31 05       	cpc	r19, r1
3377
    1d0c:	11 f1       	breq	.+68     	; 0x1d52 <digital_input+0x6a>
3378
    1d0e:	23 30       	cpi	r18, 0x03	; 3
3379
    1d10:	31 05       	cpc	r19, r1
3380
    1d12:	6c f5       	brge	.+90     	; 0x1d6e <digital_input+0x86>
3381
    1d14:	21 30       	cpi	r18, 0x01	; 1
3382
    1d16:	31 05       	cpc	r19, r1
3383
    1d18:	61 f4       	brne	.+24     	; 0x1d32 <digital_input+0x4a>
3384
    1d1a:	0e c0       	rjmp	.+28     	; 0x1d38 <digital_input+0x50>
3385
    1d1c:	26 30       	cpi	r18, 0x06	; 6
3386
    1d1e:	31 05       	cpc	r19, r1
3387
    1d20:	09 f4       	brne	.+2      	; 0x1d24 <digital_input+0x3c>
3388
    1d22:	4f c0       	rjmp	.+158    	; 0x1dc2 <digital_input+0xda>
3389
    1d24:	26 30       	cpi	r18, 0x06	; 6
3390
    1d26:	31 05       	cpc	r19, r1
3391
    1d28:	f4 f1       	brlt	.+124    	; 0x1da6 <digital_input+0xbe>
3392
    1d2a:	27 30       	cpi	r18, 0x07	; 7
3393
    1d2c:	31 05       	cpc	r19, r1
3394
    1d2e:	09 f4       	brne	.+2      	; 0x1d32 <digital_input+0x4a>
3395
    1d30:	61 c0       	rjmp	.+194    	; 0x1df4 <digital_input+0x10c>
3396
    1d32:	2f ef       	ldi	r18, 0xFF	; 255
3397
    1d34:	3f ef       	ldi	r19, 0xFF	; 255
3398
    1d36:	77 c0       	rjmp	.+238    	; 0x1e26 <digital_input+0x13e>
3399
    1d38:	8a b3       	in	r24, 0x1a	; 26
3400
    1d3a:	04 2e       	mov	r0, r20
3401
    1d3c:	02 c0       	rjmp	.+4      	; 0x1d42 <digital_input+0x5a>
3402
    1d3e:	22 0f       	add	r18, r18
3403
    1d40:	33 1f       	adc	r19, r19
3404
    1d42:	0a 94       	dec	r0
3405
    1d44:	e2 f7       	brpl	.-8      	; 0x1d3e <digital_input+0x56>
3406
    1d46:	92 2f       	mov	r25, r18
3407
    1d48:	90 95       	com	r25
3408
    1d4a:	98 23       	and	r25, r24
3409
    1d4c:	9a bb       	out	0x1a, r25	; 26
3410
    1d4e:	89 b3       	in	r24, 0x19	; 25
3411
    1d50:	61 c0       	rjmp	.+194    	; 0x1e14 <digital_input+0x12c>
3412
    1d52:	87 b3       	in	r24, 0x17	; 23
3413
    1d54:	21 e0       	ldi	r18, 0x01	; 1
3414
    1d56:	30 e0       	ldi	r19, 0x00	; 0
3415
    1d58:	04 2e       	mov	r0, r20
3416
    1d5a:	02 c0       	rjmp	.+4      	; 0x1d60 <digital_input+0x78>
3417
    1d5c:	22 0f       	add	r18, r18
3418
    1d5e:	33 1f       	adc	r19, r19
3419
    1d60:	0a 94       	dec	r0
3420
    1d62:	e2 f7       	brpl	.-8      	; 0x1d5c <digital_input+0x74>
3421
    1d64:	20 95       	com	r18
3422
    1d66:	28 23       	and	r18, r24
3423
    1d68:	27 bb       	out	0x17, r18	; 23
3424
    1d6a:	86 b3       	in	r24, 0x16	; 22
3425
    1d6c:	53 c0       	rjmp	.+166    	; 0x1e14 <digital_input+0x12c>
3426
    1d6e:	84 b3       	in	r24, 0x14	; 20
3427
    1d70:	21 e0       	ldi	r18, 0x01	; 1
3428
    1d72:	30 e0       	ldi	r19, 0x00	; 0
3429
    1d74:	04 2e       	mov	r0, r20
3430
    1d76:	02 c0       	rjmp	.+4      	; 0x1d7c <digital_input+0x94>
3431
    1d78:	22 0f       	add	r18, r18
3432
    1d7a:	33 1f       	adc	r19, r19
3433
    1d7c:	0a 94       	dec	r0
3434
    1d7e:	e2 f7       	brpl	.-8      	; 0x1d78 <digital_input+0x90>
3435
    1d80:	20 95       	com	r18
3436
    1d82:	28 23       	and	r18, r24
3437
    1d84:	24 bb       	out	0x14, r18	; 20
3438
    1d86:	83 b3       	in	r24, 0x13	; 19
3439
    1d88:	45 c0       	rjmp	.+138    	; 0x1e14 <digital_input+0x12c>
3440
    1d8a:	81 b3       	in	r24, 0x11	; 17
3441
    1d8c:	21 e0       	ldi	r18, 0x01	; 1
3442
    1d8e:	30 e0       	ldi	r19, 0x00	; 0
3443
    1d90:	04 2e       	mov	r0, r20
3444
    1d92:	02 c0       	rjmp	.+4      	; 0x1d98 <digital_input+0xb0>
3445
    1d94:	22 0f       	add	r18, r18
3446
    1d96:	33 1f       	adc	r19, r19
3447
    1d98:	0a 94       	dec	r0
3448
    1d9a:	e2 f7       	brpl	.-8      	; 0x1d94 <digital_input+0xac>
3449
    1d9c:	20 95       	com	r18
3450
    1d9e:	28 23       	and	r18, r24
3451
    1da0:	21 bb       	out	0x11, r18	; 17
3452
    1da2:	80 b3       	in	r24, 0x10	; 16
3453
    1da4:	37 c0       	rjmp	.+110    	; 0x1e14 <digital_input+0x12c>
3454
    1da6:	82 b1       	in	r24, 0x02	; 2
3455
    1da8:	21 e0       	ldi	r18, 0x01	; 1
3456
    1daa:	30 e0       	ldi	r19, 0x00	; 0
3457
    1dac:	04 2e       	mov	r0, r20
3458
    1dae:	02 c0       	rjmp	.+4      	; 0x1db4 <digital_input+0xcc>
3459
    1db0:	22 0f       	add	r18, r18
3460
    1db2:	33 1f       	adc	r19, r19
3461
    1db4:	0a 94       	dec	r0
3462
    1db6:	e2 f7       	brpl	.-8      	; 0x1db0 <digital_input+0xc8>
3463
    1db8:	20 95       	com	r18
3464
    1dba:	28 23       	and	r18, r24
3465
    1dbc:	22 b9       	out	0x02, r18	; 2
3466
    1dbe:	81 b1       	in	r24, 0x01	; 1
3467
    1dc0:	29 c0       	rjmp	.+82     	; 0x1e14 <digital_input+0x12c>
3468
    1dc2:	44 30       	cpi	r20, 0x04	; 4
3469
    1dc4:	51 05       	cpc	r21, r1
3470
    1dc6:	34 f0       	brlt	.+12     	; 0x1dd4 <digital_input+0xec>
3471
    1dc8:	84 b7       	in	r24, 0x34	; 52
3472
    1dca:	80 68       	ori	r24, 0x80	; 128
3473
    1dcc:	84 bf       	out	0x34, r24	; 52
3474
    1dce:	84 b7       	in	r24, 0x34	; 52
3475
    1dd0:	80 68       	ori	r24, 0x80	; 128
3476
    1dd2:	84 bf       	out	0x34, r24	; 52
3477
    1dd4:	80 91 61 00 	lds	r24, 0x0061
3478
    1dd8:	21 e0       	ldi	r18, 0x01	; 1
3479
    1dda:	30 e0       	ldi	r19, 0x00	; 0
3480
    1ddc:	04 2e       	mov	r0, r20
3481
    1dde:	02 c0       	rjmp	.+4      	; 0x1de4 <digital_input+0xfc>
3482
    1de0:	22 0f       	add	r18, r18
3483
    1de2:	33 1f       	adc	r19, r19
3484
    1de4:	0a 94       	dec	r0
3485
    1de6:	e2 f7       	brpl	.-8      	; 0x1de0 <digital_input+0xf8>
3486
    1de8:	20 95       	com	r18
3487
    1dea:	28 23       	and	r18, r24
3488
    1dec:	20 93 61 00 	sts	0x0061, r18
3489
    1df0:	80 b1       	in	r24, 0x00	; 0
3490
    1df2:	10 c0       	rjmp	.+32     	; 0x1e14 <digital_input+0x12c>
3491
    1df4:	80 91 64 00 	lds	r24, 0x0064
3492
    1df8:	21 e0       	ldi	r18, 0x01	; 1
3493
    1dfa:	30 e0       	ldi	r19, 0x00	; 0
3494
    1dfc:	04 2e       	mov	r0, r20
3495
    1dfe:	02 c0       	rjmp	.+4      	; 0x1e04 <digital_input+0x11c>
3496
    1e00:	22 0f       	add	r18, r18
3497
    1e02:	33 1f       	adc	r19, r19
3498
    1e04:	0a 94       	dec	r0
3499
    1e06:	e2 f7       	brpl	.-8      	; 0x1e00 <digital_input+0x118>
3500
    1e08:	20 95       	com	r18
3501
    1e0a:	28 23       	and	r18, r24
3502
    1e0c:	20 93 64 00 	sts	0x0064, r18
3503
    1e10:	80 91 63 00 	lds	r24, 0x0063
3504
    1e14:	28 2f       	mov	r18, r24
3505
    1e16:	30 e0       	ldi	r19, 0x00	; 0
3506
    1e18:	02 c0       	rjmp	.+4      	; 0x1e1e <digital_input+0x136>
3507
    1e1a:	35 95       	asr	r19
3508
    1e1c:	27 95       	ror	r18
3509
    1e1e:	4a 95       	dec	r20
3510
    1e20:	e2 f7       	brpl	.-8      	; 0x1e1a <digital_input+0x132>
3511
    1e22:	21 70       	andi	r18, 0x01	; 1
3512
    1e24:	30 70       	andi	r19, 0x00	; 0
3513
    1e26:	c9 01       	movw	r24, r18
3514
    1e28:	08 95       	ret
3515

    
3516
00001e2a <digital_pull_up>:
3517
    1e2a:	ac 01       	movw	r20, r24
3518
    1e2c:	47 70       	andi	r20, 0x07	; 7
3519
    1e2e:	50 70       	andi	r21, 0x00	; 0
3520
    1e30:	9c 01       	movw	r18, r24
3521
    1e32:	93 e0       	ldi	r25, 0x03	; 3
3522
    1e34:	35 95       	asr	r19
3523
    1e36:	27 95       	ror	r18
3524
    1e38:	9a 95       	dec	r25
3525
    1e3a:	e1 f7       	brne	.-8      	; 0x1e34 <digital_pull_up+0xa>
3526
    1e3c:	24 30       	cpi	r18, 0x04	; 4
3527
    1e3e:	31 05       	cpc	r19, r1
3528
    1e40:	c9 f1       	breq	.+114    	; 0x1eb4 <digital_pull_up+0x8a>
3529
    1e42:	25 30       	cpi	r18, 0x05	; 5
3530
    1e44:	31 05       	cpc	r19, r1
3531
    1e46:	5c f4       	brge	.+22     	; 0x1e5e <digital_pull_up+0x34>
3532
    1e48:	22 30       	cpi	r18, 0x02	; 2
3533
    1e4a:	31 05       	cpc	r19, r1
3534
    1e4c:	e9 f0       	breq	.+58     	; 0x1e88 <digital_pull_up+0x5e>
3535
    1e4e:	23 30       	cpi	r18, 0x03	; 3
3536
    1e50:	31 05       	cpc	r19, r1
3537
    1e52:	2c f5       	brge	.+74     	; 0x1e9e <digital_pull_up+0x74>
3538
    1e54:	21 30       	cpi	r18, 0x01	; 1
3539
    1e56:	31 05       	cpc	r19, r1
3540
    1e58:	09 f0       	breq	.+2      	; 0x1e5c <digital_pull_up+0x32>
3541
    1e5a:	5b c0       	rjmp	.+182    	; 0x1f12 <digital_pull_up+0xe8>
3542
    1e5c:	0c c0       	rjmp	.+24     	; 0x1e76 <digital_pull_up+0x4c>
3543
    1e5e:	26 30       	cpi	r18, 0x06	; 6
3544
    1e60:	31 05       	cpc	r19, r1
3545
    1e62:	09 f4       	brne	.+2      	; 0x1e66 <digital_pull_up+0x3c>
3546
    1e64:	3d c0       	rjmp	.+122    	; 0x1ee0 <digital_pull_up+0xb6>
3547
    1e66:	26 30       	cpi	r18, 0x06	; 6
3548
    1e68:	31 05       	cpc	r19, r1
3549
    1e6a:	7c f1       	brlt	.+94     	; 0x1eca <digital_pull_up+0xa0>
3550
    1e6c:	27 30       	cpi	r18, 0x07	; 7
3551
    1e6e:	31 05       	cpc	r19, r1
3552
    1e70:	09 f0       	breq	.+2      	; 0x1e74 <digital_pull_up+0x4a>
3553
    1e72:	4f c0       	rjmp	.+158    	; 0x1f12 <digital_pull_up+0xe8>
3554
    1e74:	42 c0       	rjmp	.+132    	; 0x1efa <digital_pull_up+0xd0>
3555
    1e76:	8b b3       	in	r24, 0x1b	; 27
3556
    1e78:	02 c0       	rjmp	.+4      	; 0x1e7e <digital_pull_up+0x54>
3557
    1e7a:	22 0f       	add	r18, r18
3558
    1e7c:	33 1f       	adc	r19, r19
3559
    1e7e:	4a 95       	dec	r20
3560
    1e80:	e2 f7       	brpl	.-8      	; 0x1e7a <digital_pull_up+0x50>
3561
    1e82:	82 2b       	or	r24, r18
3562
    1e84:	8b bb       	out	0x1b, r24	; 27
3563
    1e86:	08 95       	ret
3564
    1e88:	28 b3       	in	r18, 0x18	; 24
3565
    1e8a:	81 e0       	ldi	r24, 0x01	; 1
3566
    1e8c:	90 e0       	ldi	r25, 0x00	; 0
3567
    1e8e:	02 c0       	rjmp	.+4      	; 0x1e94 <digital_pull_up+0x6a>
3568
    1e90:	88 0f       	add	r24, r24
3569
    1e92:	99 1f       	adc	r25, r25
3570
    1e94:	4a 95       	dec	r20
3571
    1e96:	e2 f7       	brpl	.-8      	; 0x1e90 <digital_pull_up+0x66>
3572
    1e98:	28 2b       	or	r18, r24
3573
    1e9a:	28 bb       	out	0x18, r18	; 24
3574
    1e9c:	08 95       	ret
3575
    1e9e:	25 b3       	in	r18, 0x15	; 21
3576
    1ea0:	81 e0       	ldi	r24, 0x01	; 1
3577
    1ea2:	90 e0       	ldi	r25, 0x00	; 0
3578
    1ea4:	02 c0       	rjmp	.+4      	; 0x1eaa <digital_pull_up+0x80>
3579
    1ea6:	88 0f       	add	r24, r24
3580
    1ea8:	99 1f       	adc	r25, r25
3581
    1eaa:	4a 95       	dec	r20
3582
    1eac:	e2 f7       	brpl	.-8      	; 0x1ea6 <digital_pull_up+0x7c>
3583
    1eae:	28 2b       	or	r18, r24
3584
    1eb0:	25 bb       	out	0x15, r18	; 21
3585
    1eb2:	08 95       	ret
3586
    1eb4:	22 b3       	in	r18, 0x12	; 18
3587
    1eb6:	81 e0       	ldi	r24, 0x01	; 1
3588
    1eb8:	90 e0       	ldi	r25, 0x00	; 0
3589
    1eba:	02 c0       	rjmp	.+4      	; 0x1ec0 <digital_pull_up+0x96>
3590
    1ebc:	88 0f       	add	r24, r24
3591
    1ebe:	99 1f       	adc	r25, r25
3592
    1ec0:	4a 95       	dec	r20
3593
    1ec2:	e2 f7       	brpl	.-8      	; 0x1ebc <digital_pull_up+0x92>
3594
    1ec4:	28 2b       	or	r18, r24
3595
    1ec6:	22 bb       	out	0x12, r18	; 18
3596
    1ec8:	08 95       	ret
3597
    1eca:	23 b1       	in	r18, 0x03	; 3
3598
    1ecc:	81 e0       	ldi	r24, 0x01	; 1
3599
    1ece:	90 e0       	ldi	r25, 0x00	; 0
3600
    1ed0:	02 c0       	rjmp	.+4      	; 0x1ed6 <digital_pull_up+0xac>
3601
    1ed2:	88 0f       	add	r24, r24
3602
    1ed4:	99 1f       	adc	r25, r25
3603
    1ed6:	4a 95       	dec	r20
3604
    1ed8:	e2 f7       	brpl	.-8      	; 0x1ed2 <digital_pull_up+0xa8>
3605
    1eda:	28 2b       	or	r18, r24
3606
    1edc:	23 b9       	out	0x03, r18	; 3
3607
    1ede:	08 95       	ret
3608
    1ee0:	20 91 62 00 	lds	r18, 0x0062
3609
    1ee4:	81 e0       	ldi	r24, 0x01	; 1
3610
    1ee6:	90 e0       	ldi	r25, 0x00	; 0
3611
    1ee8:	02 c0       	rjmp	.+4      	; 0x1eee <digital_pull_up+0xc4>
3612
    1eea:	88 0f       	add	r24, r24
3613
    1eec:	99 1f       	adc	r25, r25
3614
    1eee:	4a 95       	dec	r20
3615
    1ef0:	e2 f7       	brpl	.-8      	; 0x1eea <digital_pull_up+0xc0>
3616
    1ef2:	28 2b       	or	r18, r24
3617
    1ef4:	20 93 62 00 	sts	0x0062, r18
3618
    1ef8:	08 95       	ret
3619
    1efa:	20 91 65 00 	lds	r18, 0x0065
3620
    1efe:	81 e0       	ldi	r24, 0x01	; 1
3621
    1f00:	90 e0       	ldi	r25, 0x00	; 0
3622
    1f02:	02 c0       	rjmp	.+4      	; 0x1f08 <digital_pull_up+0xde>
3623
    1f04:	88 0f       	add	r24, r24
3624
    1f06:	99 1f       	adc	r25, r25
3625
    1f08:	4a 95       	dec	r20
3626
    1f0a:	e2 f7       	brpl	.-8      	; 0x1f04 <digital_pull_up+0xda>
3627
    1f0c:	28 2b       	or	r18, r24
3628
    1f0e:	20 93 65 00 	sts	0x0065, r18
3629
    1f12:	08 95       	ret
3630

    
3631
00001f14 <digital_output>:
3632
    1f14:	ac 01       	movw	r20, r24
3633
    1f16:	47 70       	andi	r20, 0x07	; 7
3634
    1f18:	50 70       	andi	r21, 0x00	; 0
3635
    1f1a:	9c 01       	movw	r18, r24
3636
    1f1c:	53 e0       	ldi	r21, 0x03	; 3
3637
    1f1e:	35 95       	asr	r19
3638
    1f20:	27 95       	ror	r18
3639
    1f22:	5a 95       	dec	r21
3640
    1f24:	e1 f7       	brne	.-8      	; 0x1f1e <digital_output+0xa>
3641
    1f26:	67 2b       	or	r22, r23
3642
    1f28:	09 f0       	breq	.+2      	; 0x1f2c <digital_output+0x18>
3643
    1f2a:	88 c0       	rjmp	.+272    	; 0x203c <digital_output+0x128>
3644
    1f2c:	24 30       	cpi	r18, 0x04	; 4
3645
    1f2e:	31 05       	cpc	r19, r1
3646
    1f30:	09 f4       	brne	.+2      	; 0x1f34 <digital_output+0x20>
3647
    1f32:	44 c0       	rjmp	.+136    	; 0x1fbc <digital_output+0xa8>
3648
    1f34:	25 30       	cpi	r18, 0x05	; 5
3649
    1f36:	31 05       	cpc	r19, r1
3650
    1f38:	5c f4       	brge	.+22     	; 0x1f50 <digital_output+0x3c>
3651
    1f3a:	22 30       	cpi	r18, 0x02	; 2
3652
    1f3c:	31 05       	cpc	r19, r1
3653
    1f3e:	11 f1       	breq	.+68     	; 0x1f84 <digital_output+0x70>
3654
    1f40:	23 30       	cpi	r18, 0x03	; 3
3655
    1f42:	31 05       	cpc	r19, r1
3656
    1f44:	6c f5       	brge	.+90     	; 0x1fa0 <digital_output+0x8c>
3657
    1f46:	21 30       	cpi	r18, 0x01	; 1
3658
    1f48:	31 05       	cpc	r19, r1
3659
    1f4a:	09 f0       	breq	.+2      	; 0x1f4e <digital_output+0x3a>
3660
    1f4c:	fe c0       	rjmp	.+508    	; 0x214a <digital_output+0x236>
3661
    1f4e:	0d c0       	rjmp	.+26     	; 0x1f6a <digital_output+0x56>
3662
    1f50:	26 30       	cpi	r18, 0x06	; 6
3663
    1f52:	31 05       	cpc	r19, r1
3664
    1f54:	09 f4       	brne	.+2      	; 0x1f58 <digital_output+0x44>
3665
    1f56:	4e c0       	rjmp	.+156    	; 0x1ff4 <digital_output+0xe0>
3666
    1f58:	26 30       	cpi	r18, 0x06	; 6
3667
    1f5a:	31 05       	cpc	r19, r1
3668
    1f5c:	0c f4       	brge	.+2      	; 0x1f60 <digital_output+0x4c>
3669
    1f5e:	3c c0       	rjmp	.+120    	; 0x1fd8 <digital_output+0xc4>
3670
    1f60:	27 30       	cpi	r18, 0x07	; 7
3671
    1f62:	31 05       	cpc	r19, r1
3672
    1f64:	09 f0       	breq	.+2      	; 0x1f68 <digital_output+0x54>
3673
    1f66:	f1 c0       	rjmp	.+482    	; 0x214a <digital_output+0x236>
3674
    1f68:	56 c0       	rjmp	.+172    	; 0x2016 <digital_output+0x102>
3675
    1f6a:	8a b3       	in	r24, 0x1a	; 26
3676
    1f6c:	02 c0       	rjmp	.+4      	; 0x1f72 <digital_output+0x5e>
3677
    1f6e:	22 0f       	add	r18, r18
3678
    1f70:	33 1f       	adc	r19, r19
3679
    1f72:	4a 95       	dec	r20
3680
    1f74:	e2 f7       	brpl	.-8      	; 0x1f6e <digital_output+0x5a>
3681
    1f76:	82 2b       	or	r24, r18
3682
    1f78:	8a bb       	out	0x1a, r24	; 26
3683
    1f7a:	8b b3       	in	r24, 0x1b	; 27
3684
    1f7c:	20 95       	com	r18
3685
    1f7e:	28 23       	and	r18, r24
3686
    1f80:	2b bb       	out	0x1b, r18	; 27
3687
    1f82:	08 95       	ret
3688
    1f84:	87 b3       	in	r24, 0x17	; 23
3689
    1f86:	21 e0       	ldi	r18, 0x01	; 1
3690
    1f88:	30 e0       	ldi	r19, 0x00	; 0
3691
    1f8a:	02 c0       	rjmp	.+4      	; 0x1f90 <digital_output+0x7c>
3692
    1f8c:	22 0f       	add	r18, r18
3693
    1f8e:	33 1f       	adc	r19, r19
3694
    1f90:	4a 95       	dec	r20
3695
    1f92:	e2 f7       	brpl	.-8      	; 0x1f8c <digital_output+0x78>
3696
    1f94:	82 2b       	or	r24, r18
3697
    1f96:	87 bb       	out	0x17, r24	; 23
3698
    1f98:	88 b3       	in	r24, 0x18	; 24
3699
    1f9a:	20 95       	com	r18
3700
    1f9c:	28 23       	and	r18, r24
3701
    1f9e:	86 c0       	rjmp	.+268    	; 0x20ac <digital_output+0x198>
3702
    1fa0:	84 b3       	in	r24, 0x14	; 20
3703
    1fa2:	21 e0       	ldi	r18, 0x01	; 1
3704
    1fa4:	30 e0       	ldi	r19, 0x00	; 0
3705
    1fa6:	02 c0       	rjmp	.+4      	; 0x1fac <digital_output+0x98>
3706
    1fa8:	22 0f       	add	r18, r18
3707
    1faa:	33 1f       	adc	r19, r19
3708
    1fac:	4a 95       	dec	r20
3709
    1fae:	e2 f7       	brpl	.-8      	; 0x1fa8 <digital_output+0x94>
3710
    1fb0:	82 2b       	or	r24, r18
3711
    1fb2:	84 bb       	out	0x14, r24	; 20
3712
    1fb4:	85 b3       	in	r24, 0x15	; 21
3713
    1fb6:	20 95       	com	r18
3714
    1fb8:	28 23       	and	r18, r24
3715
    1fba:	86 c0       	rjmp	.+268    	; 0x20c8 <digital_output+0x1b4>
3716
    1fbc:	81 b3       	in	r24, 0x11	; 17
3717
    1fbe:	21 e0       	ldi	r18, 0x01	; 1
3718
    1fc0:	30 e0       	ldi	r19, 0x00	; 0
3719
    1fc2:	02 c0       	rjmp	.+4      	; 0x1fc8 <digital_output+0xb4>
3720
    1fc4:	22 0f       	add	r18, r18
3721
    1fc6:	33 1f       	adc	r19, r19
3722
    1fc8:	4a 95       	dec	r20
3723
    1fca:	e2 f7       	brpl	.-8      	; 0x1fc4 <digital_output+0xb0>
3724
    1fcc:	82 2b       	or	r24, r18
3725
    1fce:	81 bb       	out	0x11, r24	; 17
3726
    1fd0:	82 b3       	in	r24, 0x12	; 18
3727
    1fd2:	20 95       	com	r18
3728
    1fd4:	28 23       	and	r18, r24
3729
    1fd6:	86 c0       	rjmp	.+268    	; 0x20e4 <digital_output+0x1d0>
3730
    1fd8:	82 b1       	in	r24, 0x02	; 2
3731
    1fda:	21 e0       	ldi	r18, 0x01	; 1
3732
    1fdc:	30 e0       	ldi	r19, 0x00	; 0
3733
    1fde:	02 c0       	rjmp	.+4      	; 0x1fe4 <digital_output+0xd0>
3734
    1fe0:	22 0f       	add	r18, r18
3735
    1fe2:	33 1f       	adc	r19, r19
3736
    1fe4:	4a 95       	dec	r20
3737
    1fe6:	e2 f7       	brpl	.-8      	; 0x1fe0 <digital_output+0xcc>
3738
    1fe8:	82 2b       	or	r24, r18
3739
    1fea:	82 b9       	out	0x02, r24	; 2
3740
    1fec:	83 b1       	in	r24, 0x03	; 3
3741
    1fee:	20 95       	com	r18
3742
    1ff0:	28 23       	and	r18, r24
3743
    1ff2:	86 c0       	rjmp	.+268    	; 0x2100 <digital_output+0x1ec>
3744
    1ff4:	80 91 61 00 	lds	r24, 0x0061
3745
    1ff8:	21 e0       	ldi	r18, 0x01	; 1
3746
    1ffa:	30 e0       	ldi	r19, 0x00	; 0
3747
    1ffc:	02 c0       	rjmp	.+4      	; 0x2002 <digital_output+0xee>
3748
    1ffe:	22 0f       	add	r18, r18
3749
    2000:	33 1f       	adc	r19, r19
3750
    2002:	4a 95       	dec	r20
3751
    2004:	e2 f7       	brpl	.-8      	; 0x1ffe <digital_output+0xea>
3752
    2006:	82 2b       	or	r24, r18
3753
    2008:	80 93 61 00 	sts	0x0061, r24
3754
    200c:	80 91 62 00 	lds	r24, 0x0062
3755
    2010:	20 95       	com	r18
3756
    2012:	28 23       	and	r18, r24
3757
    2014:	86 c0       	rjmp	.+268    	; 0x2122 <digital_output+0x20e>
3758
    2016:	80 91 64 00 	lds	r24, 0x0064
3759
    201a:	21 e0       	ldi	r18, 0x01	; 1
3760
    201c:	30 e0       	ldi	r19, 0x00	; 0
3761
    201e:	02 c0       	rjmp	.+4      	; 0x2024 <digital_output+0x110>
3762
    2020:	22 0f       	add	r18, r18
3763
    2022:	33 1f       	adc	r19, r19
3764
    2024:	4a 95       	dec	r20
3765
    2026:	e2 f7       	brpl	.-8      	; 0x2020 <digital_output+0x10c>
3766
    2028:	82 2b       	or	r24, r18
3767
    202a:	80 93 64 00 	sts	0x0064, r24
3768
    202e:	80 91 65 00 	lds	r24, 0x0065
3769
    2032:	20 95       	com	r18
3770
    2034:	28 23       	and	r18, r24
3771
    2036:	20 93 65 00 	sts	0x0065, r18
3772
    203a:	08 95       	ret
3773
    203c:	24 30       	cpi	r18, 0x04	; 4
3774
    203e:	31 05       	cpc	r19, r1
3775
    2040:	09 f4       	brne	.+2      	; 0x2044 <digital_output+0x130>
3776
    2042:	44 c0       	rjmp	.+136    	; 0x20cc <digital_output+0x1b8>
3777
    2044:	25 30       	cpi	r18, 0x05	; 5
3778
    2046:	31 05       	cpc	r19, r1
3779
    2048:	5c f4       	brge	.+22     	; 0x2060 <digital_output+0x14c>
3780
    204a:	22 30       	cpi	r18, 0x02	; 2
3781
    204c:	31 05       	cpc	r19, r1
3782
    204e:	11 f1       	breq	.+68     	; 0x2094 <digital_output+0x180>
3783
    2050:	23 30       	cpi	r18, 0x03	; 3
3784
    2052:	31 05       	cpc	r19, r1
3785
    2054:	6c f5       	brge	.+90     	; 0x20b0 <digital_output+0x19c>
3786
    2056:	21 30       	cpi	r18, 0x01	; 1
3787
    2058:	31 05       	cpc	r19, r1
3788
    205a:	09 f0       	breq	.+2      	; 0x205e <digital_output+0x14a>
3789
    205c:	76 c0       	rjmp	.+236    	; 0x214a <digital_output+0x236>
3790
    205e:	0d c0       	rjmp	.+26     	; 0x207a <digital_output+0x166>
3791
    2060:	26 30       	cpi	r18, 0x06	; 6
3792
    2062:	31 05       	cpc	r19, r1
3793
    2064:	09 f4       	brne	.+2      	; 0x2068 <digital_output+0x154>
3794
    2066:	4e c0       	rjmp	.+156    	; 0x2104 <digital_output+0x1f0>
3795
    2068:	26 30       	cpi	r18, 0x06	; 6
3796
    206a:	31 05       	cpc	r19, r1
3797
    206c:	0c f4       	brge	.+2      	; 0x2070 <digital_output+0x15c>
3798
    206e:	3c c0       	rjmp	.+120    	; 0x20e8 <digital_output+0x1d4>
3799
    2070:	27 30       	cpi	r18, 0x07	; 7
3800
    2072:	31 05       	cpc	r19, r1
3801
    2074:	09 f0       	breq	.+2      	; 0x2078 <digital_output+0x164>
3802
    2076:	69 c0       	rjmp	.+210    	; 0x214a <digital_output+0x236>
3803
    2078:	57 c0       	rjmp	.+174    	; 0x2128 <digital_output+0x214>
3804
    207a:	8a b3       	in	r24, 0x1a	; 26
3805
    207c:	02 c0       	rjmp	.+4      	; 0x2082 <digital_output+0x16e>
3806
    207e:	22 0f       	add	r18, r18
3807
    2080:	33 1f       	adc	r19, r19
3808
    2082:	4a 95       	dec	r20
3809
    2084:	e2 f7       	brpl	.-8      	; 0x207e <digital_output+0x16a>
3810
    2086:	92 2f       	mov	r25, r18
3811
    2088:	82 2b       	or	r24, r18
3812
    208a:	8a bb       	out	0x1a, r24	; 26
3813
    208c:	8b b3       	in	r24, 0x1b	; 27
3814
    208e:	98 2b       	or	r25, r24
3815
    2090:	9b bb       	out	0x1b, r25	; 27
3816
    2092:	08 95       	ret
3817
    2094:	87 b3       	in	r24, 0x17	; 23
3818
    2096:	21 e0       	ldi	r18, 0x01	; 1
3819
    2098:	30 e0       	ldi	r19, 0x00	; 0
3820
    209a:	02 c0       	rjmp	.+4      	; 0x20a0 <digital_output+0x18c>
3821
    209c:	22 0f       	add	r18, r18
3822
    209e:	33 1f       	adc	r19, r19
3823
    20a0:	4a 95       	dec	r20
3824
    20a2:	e2 f7       	brpl	.-8      	; 0x209c <digital_output+0x188>
3825
    20a4:	82 2b       	or	r24, r18
3826
    20a6:	87 bb       	out	0x17, r24	; 23
3827
    20a8:	88 b3       	in	r24, 0x18	; 24
3828
    20aa:	28 2b       	or	r18, r24
3829
    20ac:	28 bb       	out	0x18, r18	; 24
3830
    20ae:	08 95       	ret
3831
    20b0:	84 b3       	in	r24, 0x14	; 20
3832
    20b2:	21 e0       	ldi	r18, 0x01	; 1
3833
    20b4:	30 e0       	ldi	r19, 0x00	; 0
3834
    20b6:	02 c0       	rjmp	.+4      	; 0x20bc <digital_output+0x1a8>
3835
    20b8:	22 0f       	add	r18, r18
3836
    20ba:	33 1f       	adc	r19, r19
3837
    20bc:	4a 95       	dec	r20
3838
    20be:	e2 f7       	brpl	.-8      	; 0x20b8 <digital_output+0x1a4>
3839
    20c0:	82 2b       	or	r24, r18
3840
    20c2:	84 bb       	out	0x14, r24	; 20
3841
    20c4:	85 b3       	in	r24, 0x15	; 21
3842
    20c6:	28 2b       	or	r18, r24
3843
    20c8:	25 bb       	out	0x15, r18	; 21
3844
    20ca:	08 95       	ret
3845
    20cc:	81 b3       	in	r24, 0x11	; 17
3846
    20ce:	21 e0       	ldi	r18, 0x01	; 1
3847
    20d0:	30 e0       	ldi	r19, 0x00	; 0
3848
    20d2:	02 c0       	rjmp	.+4      	; 0x20d8 <digital_output+0x1c4>
3849
    20d4:	22 0f       	add	r18, r18
3850
    20d6:	33 1f       	adc	r19, r19
3851
    20d8:	4a 95       	dec	r20
3852
    20da:	e2 f7       	brpl	.-8      	; 0x20d4 <digital_output+0x1c0>
3853
    20dc:	82 2b       	or	r24, r18
3854
    20de:	81 bb       	out	0x11, r24	; 17
3855
    20e0:	82 b3       	in	r24, 0x12	; 18
3856
    20e2:	28 2b       	or	r18, r24
3857
    20e4:	22 bb       	out	0x12, r18	; 18
3858
    20e6:	08 95       	ret
3859
    20e8:	82 b1       	in	r24, 0x02	; 2
3860
    20ea:	21 e0       	ldi	r18, 0x01	; 1
3861
    20ec:	30 e0       	ldi	r19, 0x00	; 0
3862
    20ee:	02 c0       	rjmp	.+4      	; 0x20f4 <digital_output+0x1e0>
3863
    20f0:	22 0f       	add	r18, r18
3864
    20f2:	33 1f       	adc	r19, r19
3865
    20f4:	4a 95       	dec	r20
3866
    20f6:	e2 f7       	brpl	.-8      	; 0x20f0 <digital_output+0x1dc>
3867
    20f8:	82 2b       	or	r24, r18
3868
    20fa:	82 b9       	out	0x02, r24	; 2
3869
    20fc:	83 b1       	in	r24, 0x03	; 3
3870
    20fe:	28 2b       	or	r18, r24
3871
    2100:	23 b9       	out	0x03, r18	; 3
3872
    2102:	08 95       	ret
3873
    2104:	80 91 61 00 	lds	r24, 0x0061
3874
    2108:	21 e0       	ldi	r18, 0x01	; 1
3875
    210a:	30 e0       	ldi	r19, 0x00	; 0
3876
    210c:	02 c0       	rjmp	.+4      	; 0x2112 <digital_output+0x1fe>
3877
    210e:	22 0f       	add	r18, r18
3878
    2110:	33 1f       	adc	r19, r19
3879
    2112:	4a 95       	dec	r20
3880
    2114:	e2 f7       	brpl	.-8      	; 0x210e <digital_output+0x1fa>
3881
    2116:	82 2b       	or	r24, r18
3882
    2118:	80 93 61 00 	sts	0x0061, r24
3883
    211c:	80 91 62 00 	lds	r24, 0x0062
3884
    2120:	28 2b       	or	r18, r24
3885
    2122:	20 93 62 00 	sts	0x0062, r18
3886
    2126:	08 95       	ret
3887
    2128:	80 91 64 00 	lds	r24, 0x0064
3888
    212c:	21 e0       	ldi	r18, 0x01	; 1
3889
    212e:	30 e0       	ldi	r19, 0x00	; 0
3890
    2130:	02 c0       	rjmp	.+4      	; 0x2136 <digital_output+0x222>
3891
    2132:	22 0f       	add	r18, r18
3892
    2134:	33 1f       	adc	r19, r19
3893
    2136:	4a 95       	dec	r20
3894
    2138:	e2 f7       	brpl	.-8      	; 0x2132 <digital_output+0x21e>
3895
    213a:	82 2b       	or	r24, r18
3896
    213c:	80 93 64 00 	sts	0x0064, r24
3897
    2140:	80 91 65 00 	lds	r24, 0x0065
3898
    2144:	28 2b       	or	r18, r24
3899
    2146:	20 93 65 00 	sts	0x0065, r18
3900
    214a:	08 95       	ret
3901

    
3902
0000214c <button1_read>:
3903
    214c:	e4 e6       	ldi	r30, 0x64	; 100
3904
    214e:	f0 e0       	ldi	r31, 0x00	; 0
3905
    2150:	80 81       	ld	r24, Z
3906
    2152:	8e 7f       	andi	r24, 0xFE	; 254
3907
    2154:	80 83       	st	Z, r24
3908
    2156:	e5 e6       	ldi	r30, 0x65	; 101
3909
    2158:	f0 e0       	ldi	r31, 0x00	; 0
3910
    215a:	80 81       	ld	r24, Z
3911
    215c:	81 60       	ori	r24, 0x01	; 1
3912
    215e:	80 83       	st	Z, r24
3913
    2160:	20 91 63 00 	lds	r18, 0x0063
3914
    2164:	30 e0       	ldi	r19, 0x00	; 0
3915
    2166:	20 95       	com	r18
3916
    2168:	30 95       	com	r19
3917
    216a:	21 70       	andi	r18, 0x01	; 1
3918
    216c:	30 70       	andi	r19, 0x00	; 0
3919
    216e:	c9 01       	movw	r24, r18
3920
    2170:	08 95       	ret
3921

    
3922
00002172 <button1_click>:
3923
    2172:	80 91 64 00 	lds	r24, 0x0064
3924
    2176:	8e 7f       	andi	r24, 0xFE	; 254
3925
    2178:	80 93 64 00 	sts	0x0064, r24
3926
    217c:	80 91 65 00 	lds	r24, 0x0065
3927
    2180:	81 60       	ori	r24, 0x01	; 1
3928
    2182:	80 93 65 00 	sts	0x0065, r24
3929
    2186:	80 91 63 00 	lds	r24, 0x0063
3930
    218a:	80 ff       	sbrs	r24, 0
3931
    218c:	03 c0       	rjmp	.+6      	; 0x2194 <button1_click+0x22>
3932
    218e:	20 e0       	ldi	r18, 0x00	; 0
3933
    2190:	30 e0       	ldi	r19, 0x00	; 0
3934
    2192:	10 c0       	rjmp	.+32     	; 0x21b4 <button1_click+0x42>
3935
    2194:	80 91 64 00 	lds	r24, 0x0064
3936
    2198:	8e 7f       	andi	r24, 0xFE	; 254
3937
    219a:	80 93 64 00 	sts	0x0064, r24
3938
    219e:	80 91 65 00 	lds	r24, 0x0065
3939
    21a2:	81 60       	ori	r24, 0x01	; 1
3940
    21a4:	80 93 65 00 	sts	0x0065, r24
3941
    21a8:	80 91 63 00 	lds	r24, 0x0063
3942
    21ac:	80 ff       	sbrs	r24, 0
3943
    21ae:	f2 cf       	rjmp	.-28     	; 0x2194 <button1_click+0x22>
3944
    21b0:	21 e0       	ldi	r18, 0x01	; 1
3945
    21b2:	30 e0       	ldi	r19, 0x00	; 0
3946
    21b4:	c9 01       	movw	r24, r18
3947
    21b6:	08 95       	ret
3948

    
3949
000021b8 <button2_read>:
3950
    21b8:	e4 e6       	ldi	r30, 0x64	; 100
3951
    21ba:	f0 e0       	ldi	r31, 0x00	; 0
3952
    21bc:	80 81       	ld	r24, Z
3953
    21be:	8d 7f       	andi	r24, 0xFD	; 253
3954
    21c0:	80 83       	st	Z, r24
3955
    21c2:	e5 e6       	ldi	r30, 0x65	; 101
3956
    21c4:	f0 e0       	ldi	r31, 0x00	; 0
3957
    21c6:	80 81       	ld	r24, Z
3958
    21c8:	82 60       	ori	r24, 0x02	; 2
3959
    21ca:	80 83       	st	Z, r24
3960
    21cc:	20 91 63 00 	lds	r18, 0x0063
3961
    21d0:	30 e0       	ldi	r19, 0x00	; 0
3962
    21d2:	36 95       	lsr	r19
3963
    21d4:	27 95       	ror	r18
3964
    21d6:	20 95       	com	r18
3965
    21d8:	30 95       	com	r19
3966
    21da:	21 70       	andi	r18, 0x01	; 1
3967
    21dc:	30 70       	andi	r19, 0x00	; 0
3968
    21de:	c9 01       	movw	r24, r18
3969
    21e0:	08 95       	ret
3970

    
3971
000021e2 <button2_click>:
3972
    21e2:	80 91 64 00 	lds	r24, 0x0064
3973
    21e6:	8d 7f       	andi	r24, 0xFD	; 253
3974
    21e8:	80 93 64 00 	sts	0x0064, r24
3975
    21ec:	80 91 65 00 	lds	r24, 0x0065
3976
    21f0:	82 60       	ori	r24, 0x02	; 2
3977
    21f2:	80 93 65 00 	sts	0x0065, r24
3978
    21f6:	80 91 63 00 	lds	r24, 0x0063
3979
    21fa:	81 ff       	sbrs	r24, 1
3980
    21fc:	03 c0       	rjmp	.+6      	; 0x2204 <button2_click+0x22>
3981
    21fe:	20 e0       	ldi	r18, 0x00	; 0
3982
    2200:	30 e0       	ldi	r19, 0x00	; 0
3983
    2202:	10 c0       	rjmp	.+32     	; 0x2224 <button2_click+0x42>
3984
    2204:	80 91 64 00 	lds	r24, 0x0064
3985
    2208:	8d 7f       	andi	r24, 0xFD	; 253
3986
    220a:	80 93 64 00 	sts	0x0064, r24
3987
    220e:	80 91 65 00 	lds	r24, 0x0065
3988
    2212:	82 60       	ori	r24, 0x02	; 2
3989
    2214:	80 93 65 00 	sts	0x0065, r24
3990
    2218:	80 91 63 00 	lds	r24, 0x0063
3991
    221c:	81 ff       	sbrs	r24, 1
3992
    221e:	f2 cf       	rjmp	.-28     	; 0x2204 <button2_click+0x22>
3993
    2220:	21 e0       	ldi	r18, 0x01	; 1
3994
    2222:	30 e0       	ldi	r19, 0x00	; 0
3995
    2224:	c9 01       	movw	r24, r18
3996
    2226:	08 95       	ret
3997

    
3998
00002228 <button2_wait>:
3999
    2228:	04 c0       	rjmp	.+8      	; 0x2232 <button2_wait+0xa>
4000
    222a:	8f e0       	ldi	r24, 0x0F	; 15
4001
    222c:	90 e0       	ldi	r25, 0x00	; 0
4002
    222e:	0e 94 e3 1b 	call	0x37c6	; 0x37c6 <delay_ms>
4003
    2232:	80 91 64 00 	lds	r24, 0x0064
4004
    2236:	8d 7f       	andi	r24, 0xFD	; 253
4005
    2238:	80 93 64 00 	sts	0x0064, r24
4006
    223c:	80 91 65 00 	lds	r24, 0x0065
4007
    2240:	82 60       	ori	r24, 0x02	; 2
4008
    2242:	80 93 65 00 	sts	0x0065, r24
4009
    2246:	80 91 63 00 	lds	r24, 0x0063
4010
    224a:	81 fd       	sbrc	r24, 1
4011
    224c:	ee cf       	rjmp	.-36     	; 0x222a <button2_wait+0x2>
4012
    224e:	08 95       	ret
4013

    
4014
00002250 <button1_wait>:
4015
    2250:	04 c0       	rjmp	.+8      	; 0x225a <button1_wait+0xa>
4016
    2252:	8f e0       	ldi	r24, 0x0F	; 15
4017
    2254:	90 e0       	ldi	r25, 0x00	; 0
4018
    2256:	0e 94 e3 1b 	call	0x37c6	; 0x37c6 <delay_ms>
4019
    225a:	80 91 64 00 	lds	r24, 0x0064
4020
    225e:	8e 7f       	andi	r24, 0xFE	; 254
4021
    2260:	80 93 64 00 	sts	0x0064, r24
4022
    2264:	80 91 65 00 	lds	r24, 0x0065
4023
    2268:	81 60       	ori	r24, 0x01	; 1
4024
    226a:	80 93 65 00 	sts	0x0065, r24
4025
    226e:	80 91 63 00 	lds	r24, 0x0063
4026
    2272:	80 fd       	sbrc	r24, 0
4027
    2274:	ee cf       	rjmp	.-36     	; 0x2252 <button1_wait+0x2>
4028
    2276:	08 95       	ret
4029

    
4030
00002278 <flash_red>:
4031
    2278:	ef 92       	push	r14
4032
    227a:	ff 92       	push	r15
4033
    227c:	0f 93       	push	r16
4034
    227e:	1f 93       	push	r17
4035
    2280:	f8 94       	cli
4036
    2282:	f4 b2       	in	r15, 0x14	; 20
4037
    2284:	e5 b2       	in	r14, 0x15	; 21
4038
    2286:	17 e7       	ldi	r17, 0x77	; 119
4039
    2288:	14 bb       	out	0x14, r17	; 20
4040
    228a:	15 bb       	out	0x15, r17	; 21
4041
    228c:	8c e2       	ldi	r24, 0x2C	; 44
4042
    228e:	91 e0       	ldi	r25, 0x01	; 1
4043
    2290:	0e 94 e3 1b 	call	0x37c6	; 0x37c6 <delay_ms>
4044
    2294:	06 e6       	ldi	r16, 0x66	; 102
4045
    2296:	05 bb       	out	0x15, r16	; 21
4046
    2298:	8c e2       	ldi	r24, 0x2C	; 44
4047
    229a:	91 e0       	ldi	r25, 0x01	; 1
4048
    229c:	0e 94 e3 1b 	call	0x37c6	; 0x37c6 <delay_ms>
4049
    22a0:	15 bb       	out	0x15, r17	; 21
4050
    22a2:	8c e2       	ldi	r24, 0x2C	; 44
4051
    22a4:	91 e0       	ldi	r25, 0x01	; 1
4052
    22a6:	0e 94 e3 1b 	call	0x37c6	; 0x37c6 <delay_ms>
4053
    22aa:	05 bb       	out	0x15, r16	; 21
4054
    22ac:	8c e2       	ldi	r24, 0x2C	; 44
4055
    22ae:	91 e0       	ldi	r25, 0x01	; 1
4056
    22b0:	0e 94 e3 1b 	call	0x37c6	; 0x37c6 <delay_ms>
4057
    22b4:	15 bb       	out	0x15, r17	; 21
4058
    22b6:	8c e2       	ldi	r24, 0x2C	; 44
4059
    22b8:	91 e0       	ldi	r25, 0x01	; 1
4060
    22ba:	0e 94 e3 1b 	call	0x37c6	; 0x37c6 <delay_ms>
4061
    22be:	05 bb       	out	0x15, r16	; 21
4062
    22c0:	8c e2       	ldi	r24, 0x2C	; 44
4063
    22c2:	91 e0       	ldi	r25, 0x01	; 1
4064
    22c4:	0e 94 e3 1b 	call	0x37c6	; 0x37c6 <delay_ms>
4065
    22c8:	f4 ba       	out	0x14, r15	; 20
4066
    22ca:	e5 ba       	out	0x15, r14	; 21
4067
    22cc:	78 94       	sei
4068
    22ce:	1f 91       	pop	r17
4069
    22d0:	0f 91       	pop	r16
4070
    22d2:	ff 90       	pop	r15
4071
    22d4:	ef 90       	pop	r14
4072
    22d6:	08 95       	ret
4073

    
4074
000022d8 <dragonfly_init>:
4075
    22d8:	cf 93       	push	r28
4076
    22da:	df 93       	push	r29
4077
    22dc:	ec 01       	movw	r28, r24
4078
    22de:	78 94       	sei
4079
    22e0:	80 91 64 00 	lds	r24, 0x0064
4080
    22e4:	8c 7f       	andi	r24, 0xFC	; 252
4081
    22e6:	80 93 64 00 	sts	0x0064, r24
4082
    22ea:	80 91 65 00 	lds	r24, 0x0065
4083
    22ee:	83 60       	ori	r24, 0x03	; 3
4084
    22f0:	80 93 65 00 	sts	0x0065, r24
4085
    22f4:	c0 ff       	sbrs	r28, 0
4086
    22f6:	04 c0       	rjmp	.+8      	; 0x2300 <dragonfly_init+0x28>
4087
    22f8:	81 e0       	ldi	r24, 0x01	; 1
4088
    22fa:	90 e0       	ldi	r25, 0x00	; 0
4089
    22fc:	0e 94 67 1c 	call	0x38ce	; 0x38ce <analog_init>
4090
    2300:	c1 ff       	sbrs	r28, 1
4091
    2302:	04 c0       	rjmp	.+8      	; 0x230c <dragonfly_init+0x34>
4092
    2304:	0e 94 5c 1a 	call	0x34b8	; 0x34b8 <usb_init>
4093
    2308:	0e 94 6a 1a 	call	0x34d4	; 0x34d4 <xbee_init>
4094
    230c:	c6 ff       	sbrs	r28, 6
4095
    230e:	03 c0       	rjmp	.+6      	; 0x2316 <dragonfly_init+0x3e>
4096
    2310:	78 94       	sei
4097
    2312:	0e 94 fe 1d 	call	0x3bfc	; 0x3bfc <buzzer_init>
4098
    2316:	c2 ff       	sbrs	r28, 2
4099
    2318:	03 c0       	rjmp	.+6      	; 0x2320 <dragonfly_init+0x48>
4100
    231a:	78 94       	sei
4101
    231c:	0e 94 e1 19 	call	0x33c2	; 0x33c2 <orb_init>
4102
    2320:	c3 ff       	sbrs	r28, 3
4103
    2322:	02 c0       	rjmp	.+4      	; 0x2328 <dragonfly_init+0x50>
4104
    2324:	0e 94 e4 19 	call	0x33c8	; 0x33c8 <motors_init>
4105
    2328:	c7 ff       	sbrs	r28, 7
4106
    232a:	02 c0       	rjmp	.+4      	; 0x2330 <dragonfly_init+0x58>
4107
    232c:	0e 94 99 15 	call	0x2b32	; 0x2b32 <lcd_init>
4108
    2330:	d0 ff       	sbrs	r29, 0
4109
    2332:	02 c0       	rjmp	.+4      	; 0x2338 <dragonfly_init+0x60>
4110
    2334:	0e 94 55 1a 	call	0x34aa	; 0x34aa <range_init>
4111
    2338:	d1 ff       	sbrs	r29, 1
4112
    233a:	09 c0       	rjmp	.+18     	; 0x234e <dragonfly_init+0x76>
4113
    233c:	0e 94 e5 11 	call	0x23ca	; 0x23ca <get_bom_type>
4114
    2340:	8f 3f       	cpi	r24, 0xFF	; 255
4115
    2342:	19 f4       	brne	.+6      	; 0x234a <dragonfly_init+0x72>
4116
    2344:	0e 94 3c 11 	call	0x2278	; 0x2278 <flash_red>
4117
    2348:	02 c0       	rjmp	.+4      	; 0x234e <dragonfly_init+0x76>
4118
    234a:	0e 94 78 0d 	call	0x1af0	; 0x1af0 <bom_init>
4119
    234e:	d2 ff       	sbrs	r29, 2
4120
    2350:	02 c0       	rjmp	.+4      	; 0x2356 <dragonfly_init+0x7e>
4121
    2352:	0e 94 75 14 	call	0x28ea	; 0x28ea <encoders_init>
4122
    milliseconds can be achieved.
4123
 */
4124
void
4125
_delay_loop_2(uint16_t __count)
4126
{
4127
	__asm__ volatile (
4128
    2356:	80 ea       	ldi	r24, 0xA0	; 160
4129
    2358:	9f e0       	ldi	r25, 0x0F	; 15
4130
    235a:	01 97       	sbiw	r24, 0x01	; 1
4131
    235c:	f1 f7       	brne	.-4      	; 0x235a <dragonfly_init+0x82>
4132
    235e:	df 91       	pop	r29
4133
    2360:	cf 91       	pop	r28
4134
    2362:	08 95       	ret
4135

    
4136
00002364 <eeprom_put_byte>:
4137
#include <dragonfly_lib.h>
4138
#include <wireless.h>
4139
#include <wl_token_ring.h>
4140
//#include <xbee.h>
4141

    
4142
//#define SWARM_PACKET_GROUP_ID 0x8
4143
    2364:	e1 99       	sbic	0x1c, 1	; 28
4144
    2366:	fe cf       	rjmp	.-4      	; 0x2364 <eeprom_put_byte>
4145

    
4146
//static PacketGroupHandler swarm_pgh;
4147
    2368:	9f bb       	out	0x1f, r25	; 31
4148
    236a:	8e bb       	out	0x1e, r24	; 30
4149
//static void swarm_handle_receive(char type, int wl_source, unsigned char* packet, int length);
4150
    236c:	6d bb       	out	0x1d, r22	; 29
4151

    
4152
int main(void)
4153
    236e:	e2 9a       	sbi	0x1c, 2	; 28
4154
{
4155
    dragonfly_init(ALL_ON);
4156
    2370:	e1 9a       	sbi	0x1c, 1	; 28
4157

    
4158
    wl_init();
4159
    wl_set_channel(0xF);
4160
    2372:	80 e0       	ldi	r24, 0x00	; 0
4161
    2374:	90 e0       	ldi	r25, 0x00	; 0
4162
    2376:	08 95       	ret
4163

    
4164
00002378 <eeprom_get_byte>:
4165

    
4166
    /*swarm_pgh.groupCode = SWARM_PACKET_GROUP_ID;
4167
    2378:	fb 01       	movw	r30, r22
4168
    swarm_pgh.timeout_handler = NULL;
4169
    swarm_pgh.handle_response = NULL;
4170
    237a:	e1 99       	sbic	0x1c, 1	; 28
4171
    237c:	fe cf       	rjmp	.-4      	; 0x237a <eeprom_get_byte+0x2>
4172
    swarm_pgh.handle_receive = swarm_handle_receive;
4173
    swarm_pgh.unregister = NULL;
4174
    237e:	9f bb       	out	0x1f, r25	; 31
4175
    2380:	8e bb       	out	0x1e, r24	; 30
4176
    wl_register_packet_group(&swarm_pgh);*/
4177

    
4178
    2382:	e0 9a       	sbi	0x1c, 0	; 28
4179
    wl_token_ring_register();
4180
    wl_token_ring_join();
4181
    2384:	8d b3       	in	r24, 0x1d	; 29
4182
    2386:	80 83       	st	Z, r24
4183

    
4184
    usb_puts("initialized\r\n");
4185

    
4186
    2388:	80 e0       	ldi	r24, 0x00	; 0
4187
    238a:	90 e0       	ldi	r25, 0x00	; 0
4188
    238c:	08 95       	ret
4189

    
4190
0000238e <get_robotid>:
4191
    wl_init();
4192
    wl_set_channel(0xF);
4193

    
4194
    /*swarm_pgh.groupCode = SWARM_PACKET_GROUP_ID;
4195
    swarm_pgh.timeout_handler = NULL;
4196
    swarm_pgh.handle_response = NULL;
4197
    238e:	e1 99       	sbic	0x1c, 1	; 28
4198
    2390:	fe cf       	rjmp	.-4      	; 0x238e <get_robotid>
4199
    swarm_pgh.handle_receive = swarm_handle_receive;
4200
    swarm_pgh.unregister = NULL;
4201
    2392:	80 e1       	ldi	r24, 0x10	; 16
4202
    2394:	90 e0       	ldi	r25, 0x00	; 0
4203
    2396:	9f bb       	out	0x1f, r25	; 31
4204
    2398:	8e bb       	out	0x1e, r24	; 30
4205
    wl_register_packet_group(&swarm_pgh);*/
4206

    
4207
    239a:	e0 9a       	sbi	0x1c, 0	; 28
4208
    wl_token_ring_register();
4209
    wl_token_ring_join();
4210
    239c:	3d b3       	in	r19, 0x1d	; 29
4211
    wl_init();
4212
    wl_set_channel(0xF);
4213

    
4214
    /*swarm_pgh.groupCode = SWARM_PACKET_GROUP_ID;
4215
    swarm_pgh.timeout_handler = NULL;
4216
    swarm_pgh.handle_response = NULL;
4217
    239e:	e1 99       	sbic	0x1c, 1	; 28
4218
    23a0:	fe cf       	rjmp	.-4      	; 0x239e <get_robotid+0x10>
4219
    swarm_pgh.handle_receive = swarm_handle_receive;
4220
    swarm_pgh.unregister = NULL;
4221
    23a2:	81 e1       	ldi	r24, 0x11	; 17
4222
    23a4:	90 e0       	ldi	r25, 0x00	; 0
4223
    23a6:	9f bb       	out	0x1f, r25	; 31
4224
    23a8:	8e bb       	out	0x1e, r24	; 30
4225
    wl_register_packet_group(&swarm_pgh);*/
4226

    
4227
    23aa:	e0 9a       	sbi	0x1c, 0	; 28
4228
    wl_token_ring_register();
4229
    wl_token_ring_join();
4230
    23ac:	2d b3       	in	r18, 0x1d	; 29
4231
    wl_init();
4232
    wl_set_channel(0xF);
4233

    
4234
    /*swarm_pgh.groupCode = SWARM_PACKET_GROUP_ID;
4235
    swarm_pgh.timeout_handler = NULL;
4236
    swarm_pgh.handle_response = NULL;
4237
    23ae:	e1 99       	sbic	0x1c, 1	; 28
4238
    23b0:	fe cf       	rjmp	.-4      	; 0x23ae <get_robotid+0x20>
4239
    swarm_pgh.handle_receive = swarm_handle_receive;
4240
    swarm_pgh.unregister = NULL;
4241
    23b2:	82 e1       	ldi	r24, 0x12	; 18
4242
    23b4:	90 e0       	ldi	r25, 0x00	; 0
4243
    23b6:	9f bb       	out	0x1f, r25	; 31
4244
    23b8:	8e bb       	out	0x1e, r24	; 30
4245
    wl_register_packet_group(&swarm_pgh);*/
4246

    
4247
    23ba:	e0 9a       	sbi	0x1c, 0	; 28
4248
    wl_token_ring_register();
4249
    wl_token_ring_join();
4250
    23bc:	8d b3       	in	r24, 0x1d	; 29
4251
    int num = 0;*/
4252

    
4253
    while (1)
4254
    {
4255
	    wl_do();
4256
        /*packet[16] = num;
4257
    23be:	39 34       	cpi	r19, 0x49	; 73
4258
    23c0:	11 f4       	brne	.+4      	; 0x23c6 <get_robotid+0x38>
4259
    23c2:	24 34       	cpi	r18, 0x44	; 68
4260
    23c4:	09 f0       	breq	.+2      	; 0x23c8 <get_robotid+0x3a>
4261
    23c6:	8f ef       	ldi	r24, 0xFF	; 255
4262
        wl_send_global_packet(SWARM_PACKET_GROUP_ID, 0, packet, length, 0);
4263
        usb_puts("sent ");
4264
        usb_puti(num);
4265
        usb_puts("\r\n");
4266
    23c8:	08 95       	ret
4267

    
4268
000023ca <get_bom_type>:
4269
    wl_init();
4270
    wl_set_channel(0xF);
4271

    
4272
    /*swarm_pgh.groupCode = SWARM_PACKET_GROUP_ID;
4273
    swarm_pgh.timeout_handler = NULL;
4274
    swarm_pgh.handle_response = NULL;
4275
    23ca:	e1 99       	sbic	0x1c, 1	; 28
4276
    23cc:	fe cf       	rjmp	.-4      	; 0x23ca <get_bom_type>
4277
    swarm_pgh.handle_receive = swarm_handle_receive;
4278
    swarm_pgh.unregister = NULL;
4279
    23ce:	84 e1       	ldi	r24, 0x14	; 20
4280
    23d0:	90 e0       	ldi	r25, 0x00	; 0
4281
    23d2:	9f bb       	out	0x1f, r25	; 31
4282
    23d4:	8e bb       	out	0x1e, r24	; 30
4283
    wl_register_packet_group(&swarm_pgh);*/
4284

    
4285
    23d6:	e0 9a       	sbi	0x1c, 0	; 28
4286
    wl_token_ring_register();
4287
    wl_token_ring_join();
4288
    23d8:	4d b3       	in	r20, 0x1d	; 29
4289
    wl_init();
4290
    wl_set_channel(0xF);
4291

    
4292
    /*swarm_pgh.groupCode = SWARM_PACKET_GROUP_ID;
4293
    swarm_pgh.timeout_handler = NULL;
4294
    swarm_pgh.handle_response = NULL;
4295
    23da:	e1 99       	sbic	0x1c, 1	; 28
4296
    23dc:	fe cf       	rjmp	.-4      	; 0x23da <get_bom_type+0x10>
4297
    swarm_pgh.handle_receive = swarm_handle_receive;
4298
    swarm_pgh.unregister = NULL;
4299
    23de:	85 e1       	ldi	r24, 0x15	; 21
4300
    23e0:	90 e0       	ldi	r25, 0x00	; 0
4301
    23e2:	9f bb       	out	0x1f, r25	; 31
4302
    23e4:	8e bb       	out	0x1e, r24	; 30
4303
    wl_register_packet_group(&swarm_pgh);*/
4304

    
4305
    23e6:	e0 9a       	sbi	0x1c, 0	; 28
4306
    wl_token_ring_register();
4307
    wl_token_ring_join();
4308
    23e8:	3d b3       	in	r19, 0x1d	; 29
4309
    wl_init();
4310
    wl_set_channel(0xF);
4311

    
4312
    /*swarm_pgh.groupCode = SWARM_PACKET_GROUP_ID;
4313
    swarm_pgh.timeout_handler = NULL;
4314
    swarm_pgh.handle_response = NULL;
4315
    23ea:	e1 99       	sbic	0x1c, 1	; 28
4316
    23ec:	fe cf       	rjmp	.-4      	; 0x23ea <get_bom_type+0x20>
4317
    swarm_pgh.handle_receive = swarm_handle_receive;
4318
    swarm_pgh.unregister = NULL;
4319
    23ee:	86 e1       	ldi	r24, 0x16	; 22
4320
    23f0:	90 e0       	ldi	r25, 0x00	; 0
4321
    23f2:	9f bb       	out	0x1f, r25	; 31
4322
    23f4:	8e bb       	out	0x1e, r24	; 30
4323
    wl_register_packet_group(&swarm_pgh);*/
4324

    
4325
    23f6:	e0 9a       	sbi	0x1c, 0	; 28
4326
    wl_token_ring_register();
4327
    wl_token_ring_join();
4328
    23f8:	2d b3       	in	r18, 0x1d	; 29
4329
    wl_init();
4330
    wl_set_channel(0xF);
4331

    
4332
    /*swarm_pgh.groupCode = SWARM_PACKET_GROUP_ID;
4333
    swarm_pgh.timeout_handler = NULL;
4334
    swarm_pgh.handle_response = NULL;
4335
    23fa:	e1 99       	sbic	0x1c, 1	; 28
4336
    23fc:	fe cf       	rjmp	.-4      	; 0x23fa <get_bom_type+0x30>
4337
    swarm_pgh.handle_receive = swarm_handle_receive;
4338
    swarm_pgh.unregister = NULL;
4339
    23fe:	87 e1       	ldi	r24, 0x17	; 23
4340
    2400:	90 e0       	ldi	r25, 0x00	; 0
4341
    2402:	9f bb       	out	0x1f, r25	; 31
4342
    2404:	8e bb       	out	0x1e, r24	; 30
4343
    wl_register_packet_group(&swarm_pgh);*/
4344

    
4345
    2406:	e0 9a       	sbi	0x1c, 0	; 28
4346
    wl_token_ring_register();
4347
    wl_token_ring_join();
4348
    2408:	8d b3       	in	r24, 0x1d	; 29
4349
}
4350

    
4351
/*static void swarm_handle_receive(char type, int wl_source, unsigned char* packet, int length)
4352
{
4353
    //wl_send_robot_to_robot_packet(SWARM_PACKET_GROUP_ID, type, packet, length, wl_source, 0);
4354

    
4355
    240a:	42 34       	cpi	r20, 0x42	; 66
4356
    240c:	21 f4       	brne	.+8      	; 0x2416 <get_bom_type+0x4c>
4357
    240e:	3f 34       	cpi	r19, 0x4F	; 79
4358
    2410:	11 f4       	brne	.+4      	; 0x2416 <get_bom_type+0x4c>
4359
    2412:	2d 34       	cpi	r18, 0x4D	; 77
4360
    2414:	09 f0       	breq	.+2      	; 0x2418 <get_bom_type+0x4e>
4361
    2416:	8f ef       	ldi	r24, 0xFF	; 255
4362
    char buf[40];
4363
    int i;
4364
    for (i = 0; i < length; i++) {
4365
        sprintf(buf, "%d: %d ", i, packet[i]);
4366
    2418:	08 95       	ret
4367

    
4368
0000241a <encoder_read>:
4369
    241a:	88 23       	and	r24, r24
4370
    241c:	29 f4       	brne	.+10     	; 0x2428 <encoder_read+0xe>
4371
    241e:	20 91 2a 0a 	lds	r18, 0x0A2A
4372
    2422:	30 91 2b 0a 	lds	r19, 0x0A2B
4373
    2426:	09 c0       	rjmp	.+18     	; 0x243a <encoder_read+0x20>
4374
    2428:	81 30       	cpi	r24, 0x01	; 1
4375
    242a:	19 f0       	breq	.+6      	; 0x2432 <encoder_read+0x18>
4376
    242c:	2f ef       	ldi	r18, 0xFF	; 255
4377
    242e:	3f ef       	ldi	r19, 0xFF	; 255
4378
    2430:	04 c0       	rjmp	.+8      	; 0x243a <encoder_read+0x20>
4379
    2432:	20 91 5f 09 	lds	r18, 0x095F
4380
    2436:	30 91 60 09 	lds	r19, 0x0960
4381
    243a:	c9 01       	movw	r24, r18
4382
    243c:	08 95       	ret
4383

    
4384
0000243e <encoder_get_x>:
4385
    243e:	88 23       	and	r24, r24
4386
    2440:	29 f4       	brne	.+10     	; 0x244c <encoder_get_x+0xe>
4387
    2442:	20 91 24 0a 	lds	r18, 0x0A24
4388
    2446:	30 91 25 0a 	lds	r19, 0x0A25
4389
    244a:	09 c0       	rjmp	.+18     	; 0x245e <encoder_get_x+0x20>
4390
    244c:	81 30       	cpi	r24, 0x01	; 1
4391
    244e:	19 f0       	breq	.+6      	; 0x2456 <encoder_get_x+0x18>
4392
    2450:	2f ef       	ldi	r18, 0xFF	; 255
4393
    2452:	3f ef       	ldi	r19, 0xFF	; 255
4394
    2454:	04 c0       	rjmp	.+8      	; 0x245e <encoder_get_x+0x20>
4395
    2456:	20 91 c1 09 	lds	r18, 0x09C1
4396
    245a:	30 91 c2 09 	lds	r19, 0x09C2
4397
    245e:	c9 01       	movw	r24, r18
4398
    2460:	08 95       	ret
4399

    
4400
00002462 <encoder_get_dx>:
4401
    2462:	88 23       	and	r24, r24
4402
    2464:	29 f4       	brne	.+10     	; 0x2470 <encoder_get_dx+0xe>
4403
    2466:	20 91 24 0a 	lds	r18, 0x0A24
4404
    246a:	30 91 25 0a 	lds	r19, 0x0A25
4405
    246e:	09 c0       	rjmp	.+18     	; 0x2482 <encoder_get_dx+0x20>
4406
    2470:	81 30       	cpi	r24, 0x01	; 1
4407
    2472:	19 f0       	breq	.+6      	; 0x247a <encoder_get_dx+0x18>
4408
    2474:	2f ef       	ldi	r18, 0xFF	; 255
4409
    2476:	3f ef       	ldi	r19, 0xFF	; 255
4410
    2478:	04 c0       	rjmp	.+8      	; 0x2482 <encoder_get_dx+0x20>
4411
    247a:	20 91 c1 09 	lds	r18, 0x09C1
4412
    247e:	30 91 c2 09 	lds	r19, 0x09C2
4413
    2482:	c9 01       	movw	r24, r18
4414
    2484:	08 95       	ret
4415

    
4416
00002486 <encoder_rst_dx>:
4417
    2486:	88 23       	and	r24, r24
4418
    2488:	29 f4       	brne	.+10     	; 0x2494 <encoder_rst_dx+0xe>
4419
    248a:	10 92 25 0a 	sts	0x0A25, r1
4420
    248e:	10 92 24 0a 	sts	0x0A24, r1
4421
    2492:	08 95       	ret
4422
    2494:	81 30       	cpi	r24, 0x01	; 1
4423
    2496:	21 f4       	brne	.+8      	; 0x24a0 <encoder_rst_dx+0x1a>
4424
    2498:	10 92 c2 09 	sts	0x09C2, r1
4425
    249c:	10 92 c1 09 	sts	0x09C1, r1
4426
    24a0:	08 95       	ret
4427

    
4428
000024a2 <encoder_get_tc>:
4429
    24a2:	80 91 c3 09 	lds	r24, 0x09C3
4430
    24a6:	90 91 c4 09 	lds	r25, 0x09C4
4431
    24aa:	08 95       	ret
4432

    
4433
000024ac <encoder_rst_tc>:
4434
    24ac:	10 92 c3 09 	sts	0x09C3, r1
4435
    24b0:	10 92 c4 09 	sts	0x09C4, r1
4436
    24b4:	10 92 c5 09 	sts	0x09C5, r1
4437
    24b8:	10 92 c6 09 	sts	0x09C6, r1
4438
    24bc:	08 95       	ret
4439

    
4440
000024be <encoder_wait>:
4441
    24be:	9c 01       	movw	r18, r24
4442
    24c0:	80 91 5d 09 	lds	r24, 0x095D
4443
    24c4:	90 91 5e 09 	lds	r25, 0x095E
4444
    24c8:	82 17       	cp	r24, r18
4445
    24ca:	93 07       	cpc	r25, r19
4446
    24cc:	cc f3       	brlt	.-14     	; 0x24c0 <encoder_wait+0x2>
4447
    24ce:	10 92 5e 09 	sts	0x095E, r1
4448
    24d2:	10 92 5d 09 	sts	0x095D, r1
4449
    24d6:	08 95       	ret
4450

    
4451
000024d8 <encoder_recv>:
4452
    24d8:	40 91 c7 09 	lds	r20, 0x09C7
4453
    24dc:	42 30       	cpi	r20, 0x02	; 2
4454
    24de:	e1 f0       	breq	.+56     	; 0x2518 <encoder_recv+0x40>
4455
    24e0:	43 30       	cpi	r20, 0x03	; 3
4456
    24e2:	28 f4       	brcc	.+10     	; 0x24ee <encoder_recv+0x16>
4457
    24e4:	44 23       	and	r20, r20
4458
    24e6:	41 f0       	breq	.+16     	; 0x24f8 <encoder_recv+0x20>
4459
    24e8:	41 30       	cpi	r20, 0x01	; 1
4460
    24ea:	71 f5       	brne	.+92     	; 0x2548 <encoder_recv+0x70>
4461
    24ec:	08 c0       	rjmp	.+16     	; 0x24fe <encoder_recv+0x26>
4462
    24ee:	43 30       	cpi	r20, 0x03	; 3
4463
    24f0:	b9 f0       	breq	.+46     	; 0x2520 <encoder_recv+0x48>
4464
    24f2:	44 30       	cpi	r20, 0x04	; 4
4465
    24f4:	49 f5       	brne	.+82     	; 0x2548 <encoder_recv+0x70>
4466
    24f6:	19 c0       	rjmp	.+50     	; 0x252a <encoder_recv+0x52>
4467
    24f8:	38 2f       	mov	r19, r24
4468
    24fa:	20 e0       	ldi	r18, 0x00	; 0
4469
    24fc:	02 c0       	rjmp	.+4      	; 0x2502 <encoder_recv+0x2a>
4470
    24fe:	28 2f       	mov	r18, r24
4471
    2500:	30 e0       	ldi	r19, 0x00	; 0
4472
    2502:	80 91 28 0a 	lds	r24, 0x0A28
4473
    2506:	90 91 29 0a 	lds	r25, 0x0A29
4474
    250a:	82 2b       	or	r24, r18
4475
    250c:	93 2b       	or	r25, r19
4476
    250e:	90 93 29 0a 	sts	0x0A29, r25
4477
    2512:	80 93 28 0a 	sts	0x0A28, r24
4478
    2516:	18 c0       	rjmp	.+48     	; 0x2548 <encoder_recv+0x70>
4479
    2518:	38 2f       	mov	r19, r24
4480
    251a:	33 0f       	add	r19, r19
4481
    251c:	20 e0       	ldi	r18, 0x00	; 0
4482
    251e:	0a c0       	rjmp	.+20     	; 0x2534 <encoder_recv+0x5c>
4483
    2520:	28 2f       	mov	r18, r24
4484
    2522:	30 e0       	ldi	r19, 0x00	; 0
4485
    2524:	22 0f       	add	r18, r18
4486
    2526:	33 1f       	adc	r19, r19
4487
    2528:	05 c0       	rjmp	.+10     	; 0x2534 <encoder_recv+0x5c>
4488
    252a:	88 1f       	adc	r24, r24
4489
    252c:	88 27       	eor	r24, r24
4490
    252e:	88 1f       	adc	r24, r24
4491
    2530:	28 2f       	mov	r18, r24
4492
    2532:	30 e0       	ldi	r19, 0x00	; 0
4493
    2534:	80 91 61 09 	lds	r24, 0x0961
4494
    2538:	90 91 62 09 	lds	r25, 0x0962
4495
    253c:	82 2b       	or	r24, r18
4496
    253e:	93 2b       	or	r25, r19
4497
    2540:	90 93 62 09 	sts	0x0962, r25
4498
    2544:	80 93 61 09 	sts	0x0961, r24
4499
    2548:	84 2f       	mov	r24, r20
4500
    254a:	90 e0       	ldi	r25, 0x00	; 0
4501
    254c:	01 96       	adiw	r24, 0x01	; 1
4502
    254e:	65 e0       	ldi	r22, 0x05	; 5
4503
    2550:	70 e0       	ldi	r23, 0x00	; 0
4504
    2552:	0e 94 13 32 	call	0x6426	; 0x6426 <__divmodhi4>
4505
    2556:	80 93 c7 09 	sts	0x09C7, r24
4506
    255a:	88 23       	and	r24, r24
4507
    255c:	09 f0       	breq	.+2      	; 0x2560 <encoder_recv+0x88>
4508
    255e:	04 c1       	rjmp	.+520    	; 0x2768 <encoder_recv+0x290>
4509
    2560:	20 91 61 09 	lds	r18, 0x0961
4510
    2564:	30 91 62 09 	lds	r19, 0x0962
4511
    2568:	c9 01       	movw	r24, r18
4512
    256a:	8c 70       	andi	r24, 0x0C	; 12
4513
    256c:	90 70       	andi	r25, 0x00	; 0
4514
    256e:	89 2b       	or	r24, r25
4515
    2570:	19 f0       	breq	.+6      	; 0x2578 <encoder_recv+0xa0>
4516
    2572:	83 e0       	ldi	r24, 0x03	; 3
4517
    2574:	94 e0       	ldi	r25, 0x04	; 4
4518
    2576:	06 c0       	rjmp	.+12     	; 0x2584 <encoder_recv+0xac>
4519
    2578:	21 ff       	sbrs	r18, 1
4520
    257a:	09 c0       	rjmp	.+18     	; 0x258e <encoder_recv+0xb6>
4521
    257c:	20 ff       	sbrs	r18, 0
4522
    257e:	07 c0       	rjmp	.+14     	; 0x258e <encoder_recv+0xb6>
4523
    2580:	81 e0       	ldi	r24, 0x01	; 1
4524
    2582:	94 e0       	ldi	r25, 0x04	; 4
4525
    2584:	90 93 2b 0a 	sts	0x0A2B, r25
4526
    2588:	80 93 2a 0a 	sts	0x0A2A, r24
4527
    258c:	0a c0       	rjmp	.+20     	; 0x25a2 <encoder_recv+0xca>
4528
    258e:	75 e0       	ldi	r23, 0x05	; 5
4529
    2590:	36 95       	lsr	r19
4530
    2592:	27 95       	ror	r18
4531
    2594:	7a 95       	dec	r23
4532
    2596:	e1 f7       	brne	.-8      	; 0x2590 <encoder_recv+0xb8>
4533
    2598:	33 70       	andi	r19, 0x03	; 3
4534
    259a:	30 93 2b 0a 	sts	0x0A2B, r19
4535
    259e:	20 93 2a 0a 	sts	0x0A2A, r18
4536
    25a2:	20 91 28 0a 	lds	r18, 0x0A28
4537
    25a6:	30 91 29 0a 	lds	r19, 0x0A29
4538
    25aa:	c9 01       	movw	r24, r18
4539
    25ac:	8c 70       	andi	r24, 0x0C	; 12
4540
    25ae:	90 70       	andi	r25, 0x00	; 0
4541
    25b0:	89 2b       	or	r24, r25
4542
    25b2:	19 f0       	breq	.+6      	; 0x25ba <encoder_recv+0xe2>
4543
    25b4:	83 e0       	ldi	r24, 0x03	; 3
4544
    25b6:	94 e0       	ldi	r25, 0x04	; 4
4545
    25b8:	06 c0       	rjmp	.+12     	; 0x25c6 <encoder_recv+0xee>
4546
    25ba:	21 ff       	sbrs	r18, 1
4547
    25bc:	09 c0       	rjmp	.+18     	; 0x25d0 <encoder_recv+0xf8>
4548
    25be:	20 ff       	sbrs	r18, 0
4549
    25c0:	07 c0       	rjmp	.+14     	; 0x25d0 <encoder_recv+0xf8>
4550
    25c2:	81 e0       	ldi	r24, 0x01	; 1
4551
    25c4:	94 e0       	ldi	r25, 0x04	; 4
4552
    25c6:	90 93 60 09 	sts	0x0960, r25
4553
    25ca:	80 93 5f 09 	sts	0x095F, r24
4554
    25ce:	0a c0       	rjmp	.+20     	; 0x25e4 <encoder_recv+0x10c>
4555
    25d0:	65 e0       	ldi	r22, 0x05	; 5
4556
    25d2:	36 95       	lsr	r19
4557
    25d4:	27 95       	ror	r18
4558
    25d6:	6a 95       	dec	r22
4559
    25d8:	e1 f7       	brne	.-8      	; 0x25d2 <encoder_recv+0xfa>
4560
    25da:	33 70       	andi	r19, 0x03	; 3
4561
    25dc:	30 93 60 09 	sts	0x0960, r19
4562
    25e0:	20 93 5f 09 	sts	0x095F, r18
4563
    25e4:	10 92 62 09 	sts	0x0962, r1
4564
    25e8:	10 92 61 09 	sts	0x0961, r1
4565
    25ec:	10 92 29 0a 	sts	0x0A29, r1
4566
    25f0:	10 92 28 0a 	sts	0x0A28, r1
4567
    25f4:	80 91 2a 0a 	lds	r24, 0x0A2A
4568
    25f8:	90 91 2b 0a 	lds	r25, 0x0A2B
4569
    25fc:	24 e0       	ldi	r18, 0x04	; 4
4570
    25fe:	80 30       	cpi	r24, 0x00	; 0
4571
    2600:	92 07       	cpc	r25, r18
4572
    2602:	08 f0       	brcs	.+2      	; 0x2606 <encoder_recv+0x12e>
4573
    2604:	57 c0       	rjmp	.+174    	; 0x26b4 <encoder_recv+0x1dc>
4574
    2606:	2f ef       	ldi	r18, 0xFF	; 255
4575
    2608:	33 e0       	ldi	r19, 0x03	; 3
4576
    260a:	28 1b       	sub	r18, r24
4577
    260c:	39 0b       	sbc	r19, r25
4578
    260e:	30 93 2b 0a 	sts	0x0A2B, r19
4579
    2612:	20 93 2a 0a 	sts	0x0A2A, r18
4580
    2616:	80 91 bf 09 	lds	r24, 0x09BF
4581
    261a:	90 91 c0 09 	lds	r25, 0x09C0
4582
    261e:	8d 32       	cpi	r24, 0x2D	; 45
4583
    2620:	91 05       	cpc	r25, r1
4584
    2622:	29 f4       	brne	.+10     	; 0x262e <encoder_recv+0x156>
4585
    2624:	10 92 c0 09 	sts	0x09C0, r1
4586
    2628:	10 92 bf 09 	sts	0x09BF, r1
4587
    262c:	05 c0       	rjmp	.+10     	; 0x2638 <encoder_recv+0x160>
4588
    262e:	01 96       	adiw	r24, 0x01	; 1
4589
    2630:	90 93 c0 09 	sts	0x09C0, r25
4590
    2634:	80 93 bf 09 	sts	0x09BF, r24
4591
    2638:	a0 91 bf 09 	lds	r26, 0x09BF
4592
    263c:	b0 91 c0 09 	lds	r27, 0x09C0
4593
    2640:	fd 01       	movw	r30, r26
4594
    2642:	ee 0f       	add	r30, r30
4595
    2644:	ff 1f       	adc	r31, r31
4596
    2646:	ed 59       	subi	r30, 0x9D	; 157
4597
    2648:	f6 4f       	sbci	r31, 0xF6	; 246
4598
    264a:	31 83       	std	Z+1, r19	; 0x01
4599
    264c:	20 83       	st	Z, r18
4600
    264e:	10 97       	sbiw	r26, 0x00	; 0
4601
    2650:	29 f4       	brne	.+10     	; 0x265c <encoder_recv+0x184>
4602
    2652:	e0 91 bd 09 	lds	r30, 0x09BD
4603
    2656:	f0 91 be 09 	lds	r31, 0x09BE
4604
    265a:	06 c0       	rjmp	.+12     	; 0x2668 <encoder_recv+0x190>
4605
    265c:	aa 0f       	add	r26, r26
4606
    265e:	bb 1f       	adc	r27, r27
4607
    2660:	af 59       	subi	r26, 0x9F	; 159
4608
    2662:	b6 4f       	sbci	r27, 0xF6	; 246
4609
    2664:	ed 91       	ld	r30, X+
4610
    2666:	fc 91       	ld	r31, X
4611
    2668:	30 97       	sbiw	r30, 0x00	; 0
4612
    266a:	c1 f0       	breq	.+48     	; 0x269c <encoder_recv+0x1c4>
4613
    266c:	2e 1b       	sub	r18, r30
4614
    266e:	3f 0b       	sbc	r19, r31
4615
    2670:	82 e0       	ldi	r24, 0x02	; 2
4616
    2672:	21 30       	cpi	r18, 0x01	; 1
4617
    2674:	38 07       	cpc	r19, r24
4618
    2676:	3c f0       	brlt	.+14     	; 0x2686 <encoder_recv+0x1ae>
4619
    2678:	80 91 24 0a 	lds	r24, 0x0A24
4620
    267c:	90 91 25 0a 	lds	r25, 0x0A25
4621
    2680:	8f 5f       	subi	r24, 0xFF	; 255
4622
    2682:	93 40       	sbci	r25, 0x03	; 3
4623
    2684:	11 c0       	rjmp	.+34     	; 0x26a8 <encoder_recv+0x1d0>
4624
    2686:	9e ef       	ldi	r25, 0xFE	; 254
4625
    2688:	20 30       	cpi	r18, 0x00	; 0
4626
    268a:	39 07       	cpc	r19, r25
4627
    268c:	4c f4       	brge	.+18     	; 0x26a0 <encoder_recv+0x1c8>
4628
    268e:	80 91 24 0a 	lds	r24, 0x0A24
4629
    2692:	90 91 25 0a 	lds	r25, 0x0A25
4630
    2696:	81 50       	subi	r24, 0x01	; 1
4631
    2698:	9c 4f       	sbci	r25, 0xFC	; 252
4632
    269a:	06 c0       	rjmp	.+12     	; 0x26a8 <encoder_recv+0x1d0>
4633
    269c:	20 e0       	ldi	r18, 0x00	; 0
4634
    269e:	30 e0       	ldi	r19, 0x00	; 0
4635
    26a0:	80 91 24 0a 	lds	r24, 0x0A24
4636
    26a4:	90 91 25 0a 	lds	r25, 0x0A25
4637
    26a8:	82 0f       	add	r24, r18
4638
    26aa:	93 1f       	adc	r25, r19
4639
    26ac:	90 93 25 0a 	sts	0x0A25, r25
4640
    26b0:	80 93 24 0a 	sts	0x0A24, r24
4641
    26b4:	20 91 5f 09 	lds	r18, 0x095F
4642
    26b8:	30 91 60 09 	lds	r19, 0x0960
4643
    26bc:	84 e0       	ldi	r24, 0x04	; 4
4644
    26be:	20 30       	cpi	r18, 0x00	; 0
4645
    26c0:	38 07       	cpc	r19, r24
4646
    26c2:	08 f0       	brcs	.+2      	; 0x26c6 <encoder_recv+0x1ee>
4647
    26c4:	51 c0       	rjmp	.+162    	; 0x2768 <encoder_recv+0x290>
4648
    26c6:	80 91 26 0a 	lds	r24, 0x0A26
4649
    26ca:	90 91 27 0a 	lds	r25, 0x0A27
4650
    26ce:	8d 32       	cpi	r24, 0x2D	; 45
4651
    26d0:	91 05       	cpc	r25, r1
4652
    26d2:	29 f4       	brne	.+10     	; 0x26de <encoder_recv+0x206>
4653
    26d4:	10 92 27 0a 	sts	0x0A27, r1
4654
    26d8:	10 92 26 0a 	sts	0x0A26, r1
4655
    26dc:	05 c0       	rjmp	.+10     	; 0x26e8 <encoder_recv+0x210>
4656
    26de:	01 96       	adiw	r24, 0x01	; 1
4657
    26e0:	90 93 27 0a 	sts	0x0A27, r25
4658
    26e4:	80 93 26 0a 	sts	0x0A26, r24
4659
    26e8:	a0 91 26 0a 	lds	r26, 0x0A26
4660
    26ec:	b0 91 27 0a 	lds	r27, 0x0A27
4661
    26f0:	fd 01       	movw	r30, r26
4662
    26f2:	ee 0f       	add	r30, r30
4663
    26f4:	ff 1f       	adc	r31, r31
4664
    26f6:	e8 53       	subi	r30, 0x38	; 56
4665
    26f8:	f6 4f       	sbci	r31, 0xF6	; 246
4666
    26fa:	31 83       	std	Z+1, r19	; 0x01
4667
    26fc:	20 83       	st	Z, r18
4668
    26fe:	10 97       	sbiw	r26, 0x00	; 0
4669
    2700:	29 f4       	brne	.+10     	; 0x270c <encoder_recv+0x234>
4670
    2702:	e0 91 22 0a 	lds	r30, 0x0A22
4671
    2706:	f0 91 23 0a 	lds	r31, 0x0A23
4672
    270a:	06 c0       	rjmp	.+12     	; 0x2718 <encoder_recv+0x240>
4673
    270c:	aa 0f       	add	r26, r26
4674
    270e:	bb 1f       	adc	r27, r27
4675
    2710:	aa 53       	subi	r26, 0x3A	; 58
4676
    2712:	b6 4f       	sbci	r27, 0xF6	; 246
4677
    2714:	ed 91       	ld	r30, X+
4678
    2716:	fc 91       	ld	r31, X
4679
    2718:	30 97       	sbiw	r30, 0x00	; 0
4680
    271a:	d1 f0       	breq	.+52     	; 0x2750 <encoder_recv+0x278>
4681
    271c:	c9 01       	movw	r24, r18
4682
    271e:	8e 1b       	sub	r24, r30
4683
    2720:	9f 0b       	sbc	r25, r31
4684
    2722:	fc 01       	movw	r30, r24
4685
    2724:	92 e0       	ldi	r25, 0x02	; 2
4686
    2726:	e1 30       	cpi	r30, 0x01	; 1
4687
    2728:	f9 07       	cpc	r31, r25
4688
    272a:	3c f0       	brlt	.+14     	; 0x273a <encoder_recv+0x262>
4689
    272c:	80 91 c1 09 	lds	r24, 0x09C1
4690
    2730:	90 91 c2 09 	lds	r25, 0x09C2
4691
    2734:	8f 5f       	subi	r24, 0xFF	; 255
4692
    2736:	93 40       	sbci	r25, 0x03	; 3
4693
    2738:	11 c0       	rjmp	.+34     	; 0x275c <encoder_recv+0x284>
4694
    273a:	2e ef       	ldi	r18, 0xFE	; 254
4695
    273c:	e0 30       	cpi	r30, 0x00	; 0
4696
    273e:	f2 07       	cpc	r31, r18
4697
    2740:	4c f4       	brge	.+18     	; 0x2754 <encoder_recv+0x27c>
4698
    2742:	80 91 c1 09 	lds	r24, 0x09C1
4699
    2746:	90 91 c2 09 	lds	r25, 0x09C2
4700
    274a:	81 50       	subi	r24, 0x01	; 1
4701
    274c:	9c 4f       	sbci	r25, 0xFC	; 252
4702
    274e:	06 c0       	rjmp	.+12     	; 0x275c <encoder_recv+0x284>
4703
    2750:	e0 e0       	ldi	r30, 0x00	; 0
4704
    2752:	f0 e0       	ldi	r31, 0x00	; 0
4705
    2754:	80 91 c1 09 	lds	r24, 0x09C1
4706
    2758:	90 91 c2 09 	lds	r25, 0x09C2
4707
    275c:	8e 0f       	add	r24, r30
4708
    275e:	9f 1f       	adc	r25, r31
4709
    2760:	90 93 c2 09 	sts	0x09C2, r25
4710
    2764:	80 93 c1 09 	sts	0x09C1, r24
4711
    2768:	80 91 c3 09 	lds	r24, 0x09C3
4712
    276c:	90 91 c4 09 	lds	r25, 0x09C4
4713
    2770:	a0 91 c5 09 	lds	r26, 0x09C5
4714
    2774:	b0 91 c6 09 	lds	r27, 0x09C6
4715
    2778:	01 96       	adiw	r24, 0x01	; 1
4716
    277a:	a1 1d       	adc	r26, r1
4717
    277c:	b1 1d       	adc	r27, r1
4718
    277e:	80 93 c3 09 	sts	0x09C3, r24
4719
    2782:	90 93 c4 09 	sts	0x09C4, r25
4720
    2786:	a0 93 c5 09 	sts	0x09C5, r26
4721
    278a:	b0 93 c6 09 	sts	0x09C6, r27
4722
    278e:	08 95       	ret
4723

    
4724
00002790 <left_data_at>:
4725
    2790:	e0 91 bf 09 	lds	r30, 0x09BF
4726
    2794:	f0 91 c0 09 	lds	r31, 0x09C0
4727
    2798:	e8 1b       	sub	r30, r24
4728
    279a:	f9 0b       	sbc	r31, r25
4729
    279c:	f7 fd       	sbrc	r31, 7
4730
    279e:	be 96       	adiw	r30, 0x2e	; 46
4731
    27a0:	ee 0f       	add	r30, r30
4732
    27a2:	ff 1f       	adc	r31, r31
4733
    27a4:	ed 59       	subi	r30, 0x9D	; 157
4734
    27a6:	f6 4f       	sbci	r31, 0xF6	; 246
4735
    27a8:	80 81       	ld	r24, Z
4736
    27aa:	91 81       	ldd	r25, Z+1	; 0x01
4737
    27ac:	08 95       	ret
4738

    
4739
000027ae <right_data_at>:
4740
    27ae:	e0 91 26 0a 	lds	r30, 0x0A26
4741
    27b2:	f0 91 27 0a 	lds	r31, 0x0A27
4742
    27b6:	e8 1b       	sub	r30, r24
4743
    27b8:	f9 0b       	sbc	r31, r25
4744
    27ba:	f7 fd       	sbrc	r31, 7
4745
    27bc:	be 96       	adiw	r30, 0x2e	; 46
4746
    27be:	ee 0f       	add	r30, r30
4747
    27c0:	ff 1f       	adc	r31, r31
4748
    27c2:	e8 53       	subi	r30, 0x38	; 56
4749
    27c4:	f6 4f       	sbci	r31, 0xF6	; 246
4750
    27c6:	80 81       	ld	r24, Z
4751
    27c8:	91 81       	ldd	r25, Z+1	; 0x01
4752
    27ca:	08 95       	ret
4753

    
4754
000027cc <get_dx>:
4755
    27cc:	ff 92       	push	r15
4756
    27ce:	0f 93       	push	r16
4757
    27d0:	1f 93       	push	r17
4758
    27d2:	cf 93       	push	r28
4759
    27d4:	df 93       	push	r29
4760
    27d6:	f8 2e       	mov	r15, r24
4761
    27d8:	80 91 bf 09 	lds	r24, 0x09BF
4762
    27dc:	90 91 c0 09 	lds	r25, 0x09C0
4763
    27e0:	20 91 26 0a 	lds	r18, 0x0A26
4764
    27e4:	30 91 27 0a 	lds	r19, 0x0A27
4765
    27e8:	86 97       	sbiw	r24, 0x26	; 38
4766
    27ea:	8c 01       	movw	r16, r24
4767
    27ec:	06 1b       	sub	r16, r22
4768
    27ee:	17 0b       	sbc	r17, r23
4769
    27f0:	dc 01       	movw	r26, r24
4770
    27f2:	96 96       	adiw	r26, 0x26	; 38
4771
    27f4:	a6 1b       	sub	r26, r22
4772
    27f6:	b7 0b       	sbc	r27, r23
4773
    27f8:	26 52       	subi	r18, 0x26	; 38
4774
    27fa:	30 40       	sbci	r19, 0x00	; 0
4775
    27fc:	e9 01       	movw	r28, r18
4776
    27fe:	c6 1b       	sub	r28, r22
4777
    2800:	d7 0b       	sbc	r29, r23
4778
    2802:	2a 5d       	subi	r18, 0xDA	; 218
4779
    2804:	3f 4f       	sbci	r19, 0xFF	; 255
4780
    2806:	26 1b       	sub	r18, r22
4781
    2808:	37 0b       	sbc	r19, r23
4782
    280a:	60 e0       	ldi	r22, 0x00	; 0
4783
    280c:	70 e0       	ldi	r23, 0x00	; 0
4784
    280e:	ff 20       	and	r15, r15
4785
    2810:	99 f4       	brne	.+38     	; 0x2838 <get_dx+0x6c>
4786
    2812:	fd 01       	movw	r30, r26
4787
    2814:	b7 fd       	sbrc	r27, 7
4788
    2816:	be 96       	adiw	r30, 0x2e	; 46
4789
    2818:	ee 0f       	add	r30, r30
4790
    281a:	ff 1f       	adc	r31, r31
4791
    281c:	ed 59       	subi	r30, 0x9D	; 157
4792
    281e:	f6 4f       	sbci	r31, 0xF6	; 246
4793
    2820:	40 81       	ld	r20, Z
4794
    2822:	51 81       	ldd	r21, Z+1	; 0x01
4795
    2824:	f8 01       	movw	r30, r16
4796
    2826:	17 ff       	sbrs	r17, 7
4797
    2828:	02 c0       	rjmp	.+4      	; 0x282e <get_dx+0x62>
4798
    282a:	fd 01       	movw	r30, r26
4799
    282c:	38 96       	adiw	r30, 0x08	; 8
4800
    282e:	ee 0f       	add	r30, r30
4801
    2830:	ff 1f       	adc	r31, r31
4802
    2832:	ed 59       	subi	r30, 0x9D	; 157
4803
    2834:	f6 4f       	sbci	r31, 0xF6	; 246
4804
    2836:	12 c0       	rjmp	.+36     	; 0x285c <get_dx+0x90>
4805
    2838:	f9 01       	movw	r30, r18
4806
    283a:	37 fd       	sbrc	r19, 7
4807
    283c:	be 96       	adiw	r30, 0x2e	; 46
4808
    283e:	ee 0f       	add	r30, r30
4809
    2840:	ff 1f       	adc	r31, r31
4810
    2842:	e8 53       	subi	r30, 0x38	; 56
4811
    2844:	f6 4f       	sbci	r31, 0xF6	; 246
4812
    2846:	40 81       	ld	r20, Z
4813
    2848:	51 81       	ldd	r21, Z+1	; 0x01
4814
    284a:	fe 01       	movw	r30, r28
4815
    284c:	d7 ff       	sbrs	r29, 7
4816
    284e:	02 c0       	rjmp	.+4      	; 0x2854 <get_dx+0x88>
4817
    2850:	f9 01       	movw	r30, r18
4818
    2852:	38 96       	adiw	r30, 0x08	; 8
4819
    2854:	ee 0f       	add	r30, r30
4820
    2856:	ff 1f       	adc	r31, r31
4821
    2858:	e8 53       	subi	r30, 0x38	; 56
4822
    285a:	f6 4f       	sbci	r31, 0xF6	; 246
4823
    285c:	80 81       	ld	r24, Z
4824
    285e:	91 81       	ldd	r25, Z+1	; 0x01
4825
    2860:	48 1b       	sub	r20, r24
4826
    2862:	59 0b       	sbc	r21, r25
4827
    2864:	ca 01       	movw	r24, r20
4828
    2866:	4e 96       	adiw	r24, 0x1e	; 30
4829
    2868:	cd 97       	sbiw	r24, 0x3d	; 61
4830
    286a:	68 f0       	brcs	.+26     	; 0x2886 <get_dx+0xba>
4831
    286c:	6f 5f       	subi	r22, 0xFF	; 255
4832
    286e:	7f 4f       	sbci	r23, 0xFF	; 255
4833
    2870:	01 50       	subi	r16, 0x01	; 1
4834
    2872:	10 40       	sbci	r17, 0x00	; 0
4835
    2874:	11 97       	sbiw	r26, 0x01	; 1
4836
    2876:	21 97       	sbiw	r28, 0x01	; 1
4837
    2878:	21 50       	subi	r18, 0x01	; 1
4838
    287a:	30 40       	sbci	r19, 0x00	; 0
4839
    287c:	63 30       	cpi	r22, 0x03	; 3
4840
    287e:	71 05       	cpc	r23, r1
4841
    2880:	31 f6       	brne	.-116    	; 0x280e <get_dx+0x42>
4842
    2882:	40 e0       	ldi	r20, 0x00	; 0
4843
    2884:	54 e0       	ldi	r21, 0x04	; 4
4844
    2886:	ca 01       	movw	r24, r20
4845
    2888:	df 91       	pop	r29
4846
    288a:	cf 91       	pop	r28
4847
    288c:	1f 91       	pop	r17
4848
    288e:	0f 91       	pop	r16
4849
    2890:	ff 90       	pop	r15
4850
    2892:	08 95       	ret
4851

    
4852
00002894 <encoder_get_v>:
4853
    2894:	1f 93       	push	r17
4854
    2896:	cf 93       	push	r28
4855
    2898:	df 93       	push	r29
4856
    289a:	18 2f       	mov	r17, r24
4857
    289c:	60 e0       	ldi	r22, 0x00	; 0
4858
    289e:	70 e0       	ldi	r23, 0x00	; 0
4859
    28a0:	0e 94 e6 13 	call	0x27cc	; 0x27cc <get_dx>
4860
    28a4:	ec 01       	movw	r28, r24
4861
    28a6:	81 2f       	mov	r24, r17
4862
    28a8:	61 e0       	ldi	r22, 0x01	; 1
4863
    28aa:	70 e0       	ldi	r23, 0x00	; 0
4864
    28ac:	0e 94 e6 13 	call	0x27cc	; 0x27cc <get_dx>
4865
    28b0:	24 e0       	ldi	r18, 0x04	; 4
4866
    28b2:	c0 30       	cpi	r28, 0x00	; 0
4867
    28b4:	d2 07       	cpc	r29, r18
4868
    28b6:	39 f4       	brne	.+14     	; 0x28c6 <encoder_get_v+0x32>
4869
    28b8:	24 e0       	ldi	r18, 0x04	; 4
4870
    28ba:	80 30       	cpi	r24, 0x00	; 0
4871
    28bc:	92 07       	cpc	r25, r18
4872
    28be:	49 f4       	brne	.+18     	; 0x28d2 <encoder_get_v+0x3e>
4873
    28c0:	20 e0       	ldi	r18, 0x00	; 0
4874
    28c2:	38 e0       	ldi	r19, 0x08	; 8
4875
    28c4:	0d c0       	rjmp	.+26     	; 0x28e0 <encoder_get_v+0x4c>
4876
    28c6:	24 e0       	ldi	r18, 0x04	; 4
4877
    28c8:	80 30       	cpi	r24, 0x00	; 0
4878
    28ca:	92 07       	cpc	r25, r18
4879
    28cc:	31 f4       	brne	.+12     	; 0x28da <encoder_get_v+0x46>
4880
    28ce:	9e 01       	movw	r18, r28
4881
    28d0:	01 c0       	rjmp	.+2      	; 0x28d4 <encoder_get_v+0x40>
4882
    28d2:	9c 01       	movw	r18, r24
4883
    28d4:	22 0f       	add	r18, r18
4884
    28d6:	33 1f       	adc	r19, r19
4885
    28d8:	03 c0       	rjmp	.+6      	; 0x28e0 <encoder_get_v+0x4c>
4886
    28da:	9c 01       	movw	r18, r24
4887
    28dc:	2c 0f       	add	r18, r28
4888
    28de:	3d 1f       	adc	r19, r29
4889
    28e0:	c9 01       	movw	r24, r18
4890
    28e2:	df 91       	pop	r29
4891
    28e4:	cf 91       	pop	r28
4892
    28e6:	1f 91       	pop	r17
4893
    28e8:	08 95       	ret
4894

    
4895
000028ea <encoders_init>:
4896
    //wl_send_robot_to_robot_packet(SWARM_PACKET_GROUP_ID, type, packet, length, wl_source, 0);
4897

    
4898
    char buf[40];
4899
    int i;
4900
    for (i = 0; i < length; i++) {
4901
        sprintf(buf, "%d: %d ", i, packet[i]);
4902
    28ea:	10 92 5e 09 	sts	0x095E, r1
4903
    28ee:	10 92 5d 09 	sts	0x095D, r1
4904
        usb_puts(buf);
4905
    }
4906
    28f2:	8c e6       	ldi	r24, 0x6C	; 108
4907
    28f4:	92 e1       	ldi	r25, 0x12	; 18
4908
    28f6:	6f ea       	ldi	r22, 0xAF	; 175
4909
    28f8:	74 e1       	ldi	r23, 0x14	; 20
4910
    28fa:	0e 94 85 1b 	call	0x370a	; 0x370a <spi_init>
4911
    usb_puts("\r\n");
4912
    28fe:	10 92 c7 09 	sts	0x09C7, r1
4913
}*/
4914
    2902:	10 92 62 09 	sts	0x0962, r1
4915
    2906:	10 92 61 09 	sts	0x0961, r1
4916

    
4917
    290a:	10 92 29 0a 	sts	0x0A29, r1
4918
    290e:	10 92 28 0a 	sts	0x0A28, r1
4919
    2912:	8f ef       	ldi	r24, 0xFF	; 255
4920
    2914:	9f ef       	ldi	r25, 0xFF	; 255
4921
    2916:	90 93 2b 0a 	sts	0x0A2B, r25
4922
    291a:	80 93 2a 0a 	sts	0x0A2A, r24
4923
    291e:	90 93 60 09 	sts	0x0960, r25
4924
    2922:	80 93 5f 09 	sts	0x095F, r24
4925
    2926:	10 92 c0 09 	sts	0x09C0, r1
4926
    292a:	10 92 bf 09 	sts	0x09BF, r1
4927
    292e:	10 92 27 0a 	sts	0x0A27, r1
4928
    2932:	10 92 26 0a 	sts	0x0A26, r1
4929
    2936:	e3 e6       	ldi	r30, 0x63	; 99
4930
    2938:	f9 e0       	ldi	r31, 0x09	; 9
4931
    293a:	11 92       	st	Z+, r1
4932
    293c:	11 92       	st	Z+, r1
4933
    293e:	89 e0       	ldi	r24, 0x09	; 9
4934
    2940:	ef 3b       	cpi	r30, 0xBF	; 191
4935
    2942:	f8 07       	cpc	r31, r24
4936
    2944:	d1 f7       	brne	.-12     	; 0x293a <encoders_init+0x50>
4937
    2946:	e8 ec       	ldi	r30, 0xC8	; 200
4938
    2948:	f9 e0       	ldi	r31, 0x09	; 9
4939
    294a:	11 92       	st	Z+, r1
4940
    294c:	11 92       	st	Z+, r1
4941
    294e:	8a e0       	ldi	r24, 0x0A	; 10
4942
    2950:	e4 32       	cpi	r30, 0x24	; 36
4943
    2952:	f8 07       	cpc	r31, r24
4944
    2954:	d1 f7       	brne	.-12     	; 0x294a <encoders_init+0x60>
4945
    2956:	85 e0       	ldi	r24, 0x05	; 5
4946
    2958:	0e 94 99 1b 	call	0x3732	; 0x3732 <spi_transfer>
4947
    295c:	08 95       	ret
4948

    
4949
0000295e <encoder_recv_complete>:
4950
        /*packet[16] = num;
4951
        wl_send_global_packet(SWARM_PACKET_GROUP_ID, 0, packet, length, 0);
4952
        usb_puts("sent ");
4953
        usb_puti(num);
4954
        usb_puts("\r\n");
4955
        num++;
4956
    295e:	10 92 c7 09 	sts	0x09C7, r1
4957
        delay_ms(50);*/
4958
    2962:	80 91 5d 09 	lds	r24, 0x095D
4959
    2966:	90 91 5e 09 	lds	r25, 0x095E
4960
    296a:	01 96       	adiw	r24, 0x01	; 1
4961
    296c:	90 93 5e 09 	sts	0x095E, r25
4962
    2970:	80 93 5d 09 	sts	0x095D, r24
4963
    }
4964
}
4965
    2974:	85 e0       	ldi	r24, 0x05	; 5
4966
    2976:	0e 94 99 1b 	call	0x3732	; 0x3732 <spi_transfer>
4967

    
4968
    297a:	08 95       	ret
4969

    
4970
0000297c <lcd_clear_screen>:
4971
    297c:	80 e0       	ldi	r24, 0x00	; 0
4972
    297e:	90 e0       	ldi	r25, 0x00	; 0
4973
    2980:	1f b8       	out	0x0f, r1	; 15
4974
    2982:	77 9b       	sbis	0x0e, 7	; 14
4975
    2984:	fe cf       	rjmp	.-4      	; 0x2982 <lcd_clear_screen+0x6>
4976
    2986:	01 96       	adiw	r24, 0x01	; 1
4977
    2988:	21 e0       	ldi	r18, 0x01	; 1
4978
    298a:	88 3f       	cpi	r24, 0xF8	; 248
4979
    298c:	92 07       	cpc	r25, r18
4980
    298e:	c1 f7       	brne	.-16     	; 0x2980 <lcd_clear_screen+0x4>
4981
    2990:	95 98       	cbi	0x12, 5	; 18
4982
    2992:	80 e4       	ldi	r24, 0x40	; 64
4983
    2994:	8f b9       	out	0x0f, r24	; 15
4984
    2996:	77 9b       	sbis	0x0e, 7	; 14
4985
    2998:	fe cf       	rjmp	.-4      	; 0x2996 <lcd_clear_screen+0x1a>
4986
    299a:	80 e8       	ldi	r24, 0x80	; 128
4987
    299c:	8f b9       	out	0x0f, r24	; 15
4988
    299e:	77 9b       	sbis	0x0e, 7	; 14
4989
    29a0:	fe cf       	rjmp	.-4      	; 0x299e <lcd_clear_screen+0x22>
4990
    29a2:	95 9a       	sbi	0x12, 5	; 18
4991
    29a4:	08 95       	ret
4992

    
4993
000029a6 <lcd_putc>:
4994
    29a6:	28 2f       	mov	r18, r24
4995
    29a8:	30 e0       	ldi	r19, 0x00	; 0
4996
    29aa:	20 52       	subi	r18, 0x20	; 32
4997
    29ac:	30 40       	sbci	r19, 0x00	; 0
4998
    29ae:	f9 01       	movw	r30, r18
4999
    29b0:	ee 0f       	add	r30, r30
5000
    29b2:	ff 1f       	adc	r31, r31
5001
    29b4:	ee 0f       	add	r30, r30
5002
    29b6:	ff 1f       	adc	r31, r31
5003
    29b8:	e2 0f       	add	r30, r18
5004
    29ba:	f3 1f       	adc	r31, r19
5005
    29bc:	e3 58       	subi	r30, 0x83	; 131
5006
    29be:	fe 4f       	sbci	r31, 0xFE	; 254
5007
    29c0:	95 e0       	ldi	r25, 0x05	; 5
5008
    29c2:	89 9f       	mul	r24, r25
5009
    29c4:	90 01       	movw	r18, r0
5010
    29c6:	11 24       	eor	r1, r1
5011
    29c8:	2e 51       	subi	r18, 0x1E	; 30
5012
    29ca:	3f 4f       	sbci	r19, 0xFF	; 255
5013
    29cc:	80 81       	ld	r24, Z
5014
    29ce:	8f b9       	out	0x0f, r24	; 15
5015
    29d0:	77 9b       	sbis	0x0e, 7	; 14
5016
    29d2:	fe cf       	rjmp	.-4      	; 0x29d0 <lcd_putc+0x2a>
5017
    29d4:	31 96       	adiw	r30, 0x01	; 1
5018
    29d6:	e2 17       	cp	r30, r18
5019
    29d8:	f3 07       	cpc	r31, r19
5020
    29da:	c1 f7       	brne	.-16     	; 0x29cc <lcd_putc+0x26>
5021
    29dc:	1f b8       	out	0x0f, r1	; 15
5022
    29de:	77 9b       	sbis	0x0e, 7	; 14
5023
    29e0:	fe cf       	rjmp	.-4      	; 0x29de <lcd_putc+0x38>
5024
    29e2:	08 95       	ret
5025

    
5026
000029e4 <lcd_puts>:
5027
    29e4:	dc 01       	movw	r26, r24
5028
    29e6:	45 e0       	ldi	r20, 0x05	; 5
5029
    29e8:	0c c0       	rjmp	.+24     	; 0x2a02 <lcd_puts+0x1e>
5030
    29ea:	80 81       	ld	r24, Z
5031
    29ec:	8f b9       	out	0x0f, r24	; 15
5032
    29ee:	77 9b       	sbis	0x0e, 7	; 14
5033
    29f0:	fe cf       	rjmp	.-4      	; 0x29ee <lcd_puts+0xa>
5034
    29f2:	31 96       	adiw	r30, 0x01	; 1
5035
    29f4:	e2 17       	cp	r30, r18
5036
    29f6:	f3 07       	cpc	r31, r19
5037
    29f8:	c1 f7       	brne	.-16     	; 0x29ea <lcd_puts+0x6>
5038
    29fa:	1f b8       	out	0x0f, r1	; 15
5039
    29fc:	77 9b       	sbis	0x0e, 7	; 14
5040
    29fe:	fe cf       	rjmp	.-4      	; 0x29fc <lcd_puts+0x18>
5041
    2a00:	11 96       	adiw	r26, 0x01	; 1
5042
    2a02:	2c 91       	ld	r18, X
5043
    2a04:	22 23       	and	r18, r18
5044
    2a06:	91 f0       	breq	.+36     	; 0x2a2c <lcd_puts+0x48>
5045
    2a08:	82 2f       	mov	r24, r18
5046
    2a0a:	90 e0       	ldi	r25, 0x00	; 0
5047
    2a0c:	80 97       	sbiw	r24, 0x20	; 32
5048
    2a0e:	fc 01       	movw	r30, r24
5049
    2a10:	ee 0f       	add	r30, r30
5050
    2a12:	ff 1f       	adc	r31, r31
5051
    2a14:	ee 0f       	add	r30, r30
5052
    2a16:	ff 1f       	adc	r31, r31
5053
    2a18:	e8 0f       	add	r30, r24
5054
    2a1a:	f9 1f       	adc	r31, r25
5055
    2a1c:	e3 58       	subi	r30, 0x83	; 131
5056
    2a1e:	fe 4f       	sbci	r31, 0xFE	; 254
5057
    2a20:	24 9f       	mul	r18, r20
5058
    2a22:	90 01       	movw	r18, r0
5059
    2a24:	11 24       	eor	r1, r1
5060
    2a26:	2e 51       	subi	r18, 0x1E	; 30
5061
    2a28:	3f 4f       	sbci	r19, 0xFF	; 255
5062
    2a2a:	df cf       	rjmp	.-66     	; 0x29ea <lcd_puts+0x6>
5063
    2a2c:	08 95       	ret
5064

    
5065
00002a2e <lcd_gotoxy>:
5066
    2a2e:	95 98       	cbi	0x12, 5	; 18
5067
    2a30:	67 70       	andi	r22, 0x07	; 7
5068
    2a32:	60 64       	ori	r22, 0x40	; 64
5069
    2a34:	6f b9       	out	0x0f, r22	; 15
5070
    2a36:	77 9b       	sbis	0x0e, 7	; 14
5071
    2a38:	fe cf       	rjmp	.-4      	; 0x2a36 <lcd_gotoxy+0x8>
5072
    2a3a:	80 68       	ori	r24, 0x80	; 128
5073
    2a3c:	8f b9       	out	0x0f, r24	; 15
5074
    2a3e:	77 9b       	sbis	0x0e, 7	; 14
5075
    2a40:	fe cf       	rjmp	.-4      	; 0x2a3e <lcd_gotoxy+0x10>
5076
    2a42:	95 9a       	sbi	0x12, 5	; 18
5077
    2a44:	08 95       	ret
5078

    
5079
00002a46 <lcd_puti>:
5080
    2a46:	0f 93       	push	r16
5081
    2a48:	1f 93       	push	r17
5082
    2a4a:	df 93       	push	r29
5083
    2a4c:	cf 93       	push	r28
5084
    2a4e:	00 d0       	rcall	.+0      	; 0x2a50 <lcd_puti+0xa>
5085
    2a50:	00 d0       	rcall	.+0      	; 0x2a52 <lcd_puti+0xc>
5086
    2a52:	00 d0       	rcall	.+0      	; 0x2a54 <lcd_puti+0xe>
5087
    2a54:	cd b7       	in	r28, 0x3d	; 61
5088
    2a56:	de b7       	in	r29, 0x3e	; 62
5089
    2a58:	9c 01       	movw	r18, r24
5090
    2a5a:	de 01       	movw	r26, r28
5091
    2a5c:	11 96       	adiw	r26, 0x01	; 1
5092
    2a5e:	e7 e7       	ldi	r30, 0x77	; 119
5093
    2a60:	f1 e0       	ldi	r31, 0x01	; 1
5094
    2a62:	86 e0       	ldi	r24, 0x06	; 6
5095
    2a64:	01 90       	ld	r0, Z+
5096
    2a66:	0d 92       	st	X+, r0
5097
    2a68:	81 50       	subi	r24, 0x01	; 1
5098
    2a6a:	e1 f7       	brne	.-8      	; 0x2a64 <lcd_puti+0x1e>
5099
    2a6c:	37 ff       	sbrs	r19, 7
5100
    2a6e:	11 c0       	rjmp	.+34     	; 0x2a92 <lcd_puti+0x4c>
5101
    2a70:	ee eb       	ldi	r30, 0xBE	; 190
5102
    2a72:	f1 e0       	ldi	r31, 0x01	; 1
5103
    2a74:	80 81       	ld	r24, Z
5104
    2a76:	8f b9       	out	0x0f, r24	; 15
5105
    2a78:	77 9b       	sbis	0x0e, 7	; 14
5106
    2a7a:	fe cf       	rjmp	.-4      	; 0x2a78 <lcd_puti+0x32>
5107
    2a7c:	31 96       	adiw	r30, 0x01	; 1
5108
    2a7e:	81 e0       	ldi	r24, 0x01	; 1
5109
    2a80:	e3 3c       	cpi	r30, 0xC3	; 195
5110
    2a82:	f8 07       	cpc	r31, r24
5111
    2a84:	b9 f7       	brne	.-18     	; 0x2a74 <lcd_puti+0x2e>
5112
    2a86:	1f b8       	out	0x0f, r1	; 15
5113
    2a88:	77 9b       	sbis	0x0e, 7	; 14
5114
    2a8a:	fe cf       	rjmp	.-4      	; 0x2a88 <lcd_puti+0x42>
5115
    2a8c:	30 95       	com	r19
5116
    2a8e:	21 95       	neg	r18
5117
    2a90:	3f 4f       	sbci	r19, 0xFF	; 255
5118
    2a92:	46 e0       	ldi	r20, 0x06	; 6
5119
    2a94:	8e 01       	movw	r16, r28
5120
    2a96:	0f 5f       	subi	r16, 0xFF	; 255
5121
    2a98:	1f 4f       	sbci	r17, 0xFF	; 255
5122
    2a9a:	41 50       	subi	r20, 0x01	; 1
5123
    2a9c:	f8 01       	movw	r30, r16
5124
    2a9e:	e4 0f       	add	r30, r20
5125
    2aa0:	f1 1d       	adc	r31, r1
5126
    2aa2:	c9 01       	movw	r24, r18
5127
    2aa4:	6a e0       	ldi	r22, 0x0A	; 10
5128
    2aa6:	70 e0       	ldi	r23, 0x00	; 0
5129
    2aa8:	0e 94 13 32 	call	0x6426	; 0x6426 <__divmodhi4>
5130
    2aac:	80 5d       	subi	r24, 0xD0	; 208
5131
    2aae:	80 83       	st	Z, r24
5132
    2ab0:	c9 01       	movw	r24, r18
5133
    2ab2:	6a e0       	ldi	r22, 0x0A	; 10
5134
    2ab4:	70 e0       	ldi	r23, 0x00	; 0
5135
    2ab6:	0e 94 13 32 	call	0x6426	; 0x6426 <__divmodhi4>
5136
    2aba:	9b 01       	movw	r18, r22
5137
    2abc:	61 15       	cp	r22, r1
5138
    2abe:	71 05       	cpc	r23, r1
5139
    2ac0:	61 f7       	brne	.-40     	; 0x2a9a <lcd_puti+0x54>
5140
    2ac2:	22 c0       	rjmp	.+68     	; 0x2b08 <lcd_puti+0xc2>
5141
    2ac4:	fb 01       	movw	r30, r22
5142
    2ac6:	e4 0f       	add	r30, r20
5143
    2ac8:	f1 1d       	adc	r31, r1
5144
    2aca:	20 81       	ld	r18, Z
5145
    2acc:	82 2f       	mov	r24, r18
5146
    2ace:	90 e0       	ldi	r25, 0x00	; 0
5147
    2ad0:	80 97       	sbiw	r24, 0x20	; 32
5148
    2ad2:	fc 01       	movw	r30, r24
5149
    2ad4:	ee 0f       	add	r30, r30
5150
    2ad6:	ff 1f       	adc	r31, r31
5151
    2ad8:	ee 0f       	add	r30, r30
5152
    2ada:	ff 1f       	adc	r31, r31
5153
    2adc:	e8 0f       	add	r30, r24
5154
    2ade:	f9 1f       	adc	r31, r25
5155
    2ae0:	e3 58       	subi	r30, 0x83	; 131
5156
    2ae2:	fe 4f       	sbci	r31, 0xFE	; 254
5157
    2ae4:	25 9f       	mul	r18, r21
5158
    2ae6:	90 01       	movw	r18, r0
5159
    2ae8:	11 24       	eor	r1, r1
5160
    2aea:	2e 51       	subi	r18, 0x1E	; 30
5161
    2aec:	3f 4f       	sbci	r19, 0xFF	; 255
5162
    2aee:	80 81       	ld	r24, Z
5163
    2af0:	8f b9       	out	0x0f, r24	; 15
5164
    2af2:	77 9b       	sbis	0x0e, 7	; 14
5165
    2af4:	fe cf       	rjmp	.-4      	; 0x2af2 <lcd_puti+0xac>
5166
    2af6:	31 96       	adiw	r30, 0x01	; 1
5167
    2af8:	e2 17       	cp	r30, r18
5168
    2afa:	f3 07       	cpc	r31, r19
5169
    2afc:	c1 f7       	brne	.-16     	; 0x2aee <lcd_puti+0xa8>
5170
    2afe:	1f b8       	out	0x0f, r1	; 15
5171
    2b00:	77 9b       	sbis	0x0e, 7	; 14
5172
    2b02:	fe cf       	rjmp	.-4      	; 0x2b00 <lcd_puti+0xba>
5173
    2b04:	4f 5f       	subi	r20, 0xFF	; 255
5174
    2b06:	04 c0       	rjmp	.+8      	; 0x2b10 <lcd_puti+0xca>
5175
    2b08:	be 01       	movw	r22, r28
5176
    2b0a:	6f 5f       	subi	r22, 0xFF	; 255
5177
    2b0c:	7f 4f       	sbci	r23, 0xFF	; 255
5178
    2b0e:	55 e0       	ldi	r21, 0x05	; 5
5179
    2b10:	46 30       	cpi	r20, 0x06	; 6
5180
    2b12:	c0 f2       	brcs	.-80     	; 0x2ac4 <lcd_puti+0x7e>
5181
    2b14:	26 96       	adiw	r28, 0x06	; 6
5182
    2b16:	0f b6       	in	r0, 0x3f	; 63
5183
    2b18:	f8 94       	cli
5184
    2b1a:	de bf       	out	0x3e, r29	; 62
5185
    2b1c:	0f be       	out	0x3f, r0	; 63
5186
    2b1e:	cd bf       	out	0x3d, r28	; 61
5187
    2b20:	cf 91       	pop	r28
5188
    2b22:	df 91       	pop	r29
5189
    2b24:	1f 91       	pop	r17
5190
    2b26:	0f 91       	pop	r16
5191
    2b28:	08 95       	ret
5192

    
5193
00002b2a <lcd_putbyte>:
5194
    2b2a:	8f b9       	out	0x0f, r24	; 15
5195
    2b2c:	77 9b       	sbis	0x0e, 7	; 14
5196
    2b2e:	fe cf       	rjmp	.-4      	; 0x2b2c <lcd_putbyte+0x2>
5197
    2b30:	08 95       	ret
5198

    
5199
00002b32 <lcd_init>:
5200
    2b32:	87 b3       	in	r24, 0x17	; 23
5201
    2b34:	87 60       	ori	r24, 0x07	; 7
5202
    2b36:	87 bb       	out	0x17, r24	; 23
5203
    2b38:	81 b3       	in	r24, 0x11	; 17
5204
    2b3a:	80 63       	ori	r24, 0x30	; 48
5205
    2b3c:	81 bb       	out	0x11, r24	; 17
5206
    2b3e:	88 b3       	in	r24, 0x18	; 24
5207
    2b40:	88 7f       	andi	r24, 0xF8	; 248
5208
    2b42:	88 bb       	out	0x18, r24	; 24
5209
    2b44:	95 98       	cbi	0x12, 5	; 18
5210
    2b46:	8d b1       	in	r24, 0x0d	; 13
5211
    2b48:	80 65       	ori	r24, 0x50	; 80
5212
    2b4a:	8d b9       	out	0x0d, r24	; 13
5213
    2b4c:	70 9a       	sbi	0x0e, 0	; 14
5214
    2b4e:	94 9a       	sbi	0x12, 4	; 18
5215
    2b50:	8a e0       	ldi	r24, 0x0A	; 10
5216
    2b52:	90 e0       	ldi	r25, 0x00	; 0
5217
    2b54:	0e 94 e3 1b 	call	0x37c6	; 0x37c6 <delay_ms>
5218
    2b58:	94 98       	cbi	0x12, 4	; 18
5219
    2b5a:	84 e6       	ldi	r24, 0x64	; 100
5220
    2b5c:	90 e0       	ldi	r25, 0x00	; 0
5221
    2b5e:	0e 94 e3 1b 	call	0x37c6	; 0x37c6 <delay_ms>
5222
    2b62:	94 9a       	sbi	0x12, 4	; 18
5223
    2b64:	81 e2       	ldi	r24, 0x21	; 33
5224
    2b66:	8f b9       	out	0x0f, r24	; 15
5225
    2b68:	77 9b       	sbis	0x0e, 7	; 14
5226
    2b6a:	fe cf       	rjmp	.-4      	; 0x2b68 <lcd_init+0x36>
5227
    2b6c:	88 ec       	ldi	r24, 0xC8	; 200
5228
    2b6e:	8f b9       	out	0x0f, r24	; 15
5229
    2b70:	77 9b       	sbis	0x0e, 7	; 14
5230
    2b72:	fe cf       	rjmp	.-4      	; 0x2b70 <lcd_init+0x3e>
5231
    2b74:	86 e0       	ldi	r24, 0x06	; 6
5232
    2b76:	8f b9       	out	0x0f, r24	; 15
5233
    2b78:	77 9b       	sbis	0x0e, 7	; 14
5234
    2b7a:	fe cf       	rjmp	.-4      	; 0x2b78 <lcd_init+0x46>
5235
    2b7c:	83 e1       	ldi	r24, 0x13	; 19
5236
    2b7e:	8f b9       	out	0x0f, r24	; 15
5237
    2b80:	77 9b       	sbis	0x0e, 7	; 14
5238
    2b82:	fe cf       	rjmp	.-4      	; 0x2b80 <lcd_init+0x4e>
5239
    2b84:	80 e2       	ldi	r24, 0x20	; 32
5240
    2b86:	8f b9       	out	0x0f, r24	; 15
5241
    2b88:	77 9b       	sbis	0x0e, 7	; 14
5242
    2b8a:	fe cf       	rjmp	.-4      	; 0x2b88 <lcd_init+0x56>
5243
    2b8c:	8c e0       	ldi	r24, 0x0C	; 12
5244
    2b8e:	8f b9       	out	0x0f, r24	; 15
5245
    2b90:	77 9b       	sbis	0x0e, 7	; 14
5246
    2b92:	fe cf       	rjmp	.-4      	; 0x2b90 <lcd_init+0x5e>
5247
    2b94:	95 9a       	sbi	0x12, 5	; 18
5248
    2b96:	0e 94 be 14 	call	0x297c	; 0x297c <lcd_clear_screen>
5249
    2b9a:	08 95       	ret
5250

    
5251
00002b9c <__vector_16>:
5252
    2b9c:	1f 92       	push	r1
5253
    2b9e:	0f 92       	push	r0
5254
    2ba0:	0f b6       	in	r0, 0x3f	; 63
5255
    2ba2:	0f 92       	push	r0
5256
    2ba4:	0b b6       	in	r0, 0x3b	; 59
5257
    2ba6:	0f 92       	push	r0
5258
    2ba8:	11 24       	eor	r1, r1
5259
    2baa:	2f 93       	push	r18
5260
    2bac:	3f 93       	push	r19
5261
    2bae:	8f 93       	push	r24
5262
    2bb0:	9f 93       	push	r25
5263
    2bb2:	af 93       	push	r26
5264
    2bb4:	bf 93       	push	r27
5265
    2bb6:	cf 93       	push	r28
5266
    2bb8:	df 93       	push	r29
5267
    2bba:	ef 93       	push	r30
5268
    2bbc:	ff 93       	push	r31
5269
    2bbe:	80 91 b7 06 	lds	r24, 0x06B7
5270
    2bc2:	88 23       	and	r24, r24
5271
    2bc4:	91 f0       	breq	.+36     	; 0x2bea <__vector_16+0x4e>
5272
    2bc6:	20 91 64 03 	lds	r18, 0x0364
5273
    2bca:	30 91 65 03 	lds	r19, 0x0365
5274
    2bce:	80 91 68 03 	lds	r24, 0x0368
5275
    2bd2:	90 91 69 03 	lds	r25, 0x0369
5276
    2bd6:	90 93 65 03 	sts	0x0365, r25
5277
    2bda:	80 93 64 03 	sts	0x0364, r24
5278
    2bde:	30 93 69 03 	sts	0x0369, r19
5279
    2be2:	20 93 68 03 	sts	0x0368, r18
5280
    2be6:	10 92 b7 06 	sts	0x06B7, r1
5281
    2bea:	85 b3       	in	r24, 0x15	; 21
5282
    2bec:	87 67       	ori	r24, 0x77	; 119
5283
    2bee:	85 bb       	out	0x15, r24	; 21
5284
    2bf0:	85 b3       	in	r24, 0x15	; 21
5285
    2bf2:	c0 91 64 03 	lds	r28, 0x0364
5286
    2bf6:	d0 91 65 03 	lds	r29, 0x0365
5287
    2bfa:	98 81       	ld	r25, Y
5288
    2bfc:	89 23       	and	r24, r25
5289
    2bfe:	85 bb       	out	0x15, r24	; 21
5290
    2c00:	10 92 b8 06 	sts	0x06B8, r1
5291
    2c04:	89 81       	ldd	r24, Y+1	; 0x01
5292
    2c06:	81 bf       	out	0x31, r24	; 49
5293
    2c08:	20 e0       	ldi	r18, 0x00	; 0
5294
    2c0a:	a2 2f       	mov	r26, r18
5295
    2c0c:	b0 e0       	ldi	r27, 0x00	; 0
5296
    2c0e:	82 b7       	in	r24, 0x32	; 50
5297
    2c10:	fd 01       	movw	r30, r26
5298
    2c12:	ee 0f       	add	r30, r30
5299
    2c14:	ff 1f       	adc	r31, r31
5300
    2c16:	ec 0f       	add	r30, r28
5301
    2c18:	fd 1f       	adc	r31, r29
5302
    2c1a:	91 81       	ldd	r25, Z+1	; 0x01
5303
    2c1c:	9f 5f       	subi	r25, 0xFF	; 255
5304
    2c1e:	89 17       	cp	r24, r25
5305
    2c20:	b8 f0       	brcs	.+46     	; 0x2c50 <__vector_16+0xb4>
5306
    2c22:	95 b3       	in	r25, 0x15	; 21
5307
    2c24:	11 96       	adiw	r26, 0x01	; 1
5308
    2c26:	aa 0f       	add	r26, r26
5309
    2c28:	bb 1f       	adc	r27, r27
5310
    2c2a:	ac 0f       	add	r26, r28
5311
    2c2c:	bd 1f       	adc	r27, r29
5312
    2c2e:	8c 91       	ld	r24, X
5313
    2c30:	98 2b       	or	r25, r24
5314
    2c32:	95 bb       	out	0x15, r25	; 21
5315
    2c34:	25 30       	cpi	r18, 0x05	; 5
5316
    2c36:	61 f0       	breq	.+24     	; 0x2c50 <__vector_16+0xb4>
5317
    2c38:	2f 5f       	subi	r18, 0xFF	; 255
5318
    2c3a:	e2 2f       	mov	r30, r18
5319
    2c3c:	f0 e0       	ldi	r31, 0x00	; 0
5320
    2c3e:	ee 0f       	add	r30, r30
5321
    2c40:	ff 1f       	adc	r31, r31
5322
    2c42:	ec 0f       	add	r30, r28
5323
    2c44:	fd 1f       	adc	r31, r29
5324
    2c46:	81 81       	ldd	r24, Z+1	; 0x01
5325
    2c48:	8f 3f       	cpi	r24, 0xFF	; 255
5326
    2c4a:	f9 f2       	breq	.-66     	; 0x2c0a <__vector_16+0x6e>
5327
    2c4c:	81 bf       	out	0x31, r24	; 49
5328
    2c4e:	dd cf       	rjmp	.-70     	; 0x2c0a <__vector_16+0x6e>
5329
    2c50:	20 93 b8 06 	sts	0x06B8, r18
5330
    2c54:	ff 91       	pop	r31
5331
    2c56:	ef 91       	pop	r30
5332
    2c58:	df 91       	pop	r29
5333
    2c5a:	cf 91       	pop	r28
5334
    2c5c:	bf 91       	pop	r27
5335
    2c5e:	af 91       	pop	r26
5336
    2c60:	9f 91       	pop	r25
5337
    2c62:	8f 91       	pop	r24
5338
    2c64:	3f 91       	pop	r19
5339
    2c66:	2f 91       	pop	r18
5340
    2c68:	0f 90       	pop	r0
5341
    2c6a:	0b be       	out	0x3b, r0	; 59
5342
    2c6c:	0f 90       	pop	r0
5343
    2c6e:	0f be       	out	0x3f, r0	; 63
5344
    2c70:	0f 90       	pop	r0
5345
    2c72:	1f 90       	pop	r1
5346
    2c74:	18 95       	reti
5347

    
5348
00002c76 <__vector_15>:
5349
    2c76:	1f 92       	push	r1
5350
    2c78:	0f 92       	push	r0
5351
    2c7a:	0f b6       	in	r0, 0x3f	; 63
5352
    2c7c:	0f 92       	push	r0
5353
    2c7e:	0b b6       	in	r0, 0x3b	; 59
5354
    2c80:	0f 92       	push	r0
5355
    2c82:	11 24       	eor	r1, r1
5356
    2c84:	2f 93       	push	r18
5357
    2c86:	4f 93       	push	r20
5358
    2c88:	5f 93       	push	r21
5359
    2c8a:	8f 93       	push	r24
5360
    2c8c:	9f 93       	push	r25
5361
    2c8e:	af 93       	push	r26
5362
    2c90:	bf 93       	push	r27
5363
    2c92:	ef 93       	push	r30
5364
    2c94:	ff 93       	push	r31
5365
    2c96:	40 91 64 03 	lds	r20, 0x0364
5366
    2c9a:	50 91 65 03 	lds	r21, 0x0365
5367
    2c9e:	20 91 b8 06 	lds	r18, 0x06B8
5368
    2ca2:	a2 2f       	mov	r26, r18
5369
    2ca4:	b0 e0       	ldi	r27, 0x00	; 0
5370
    2ca6:	82 b7       	in	r24, 0x32	; 50
5371
    2ca8:	fd 01       	movw	r30, r26
5372
    2caa:	ee 0f       	add	r30, r30
5373
    2cac:	ff 1f       	adc	r31, r31
5374
    2cae:	e4 0f       	add	r30, r20
5375
    2cb0:	f5 1f       	adc	r31, r21
5376
    2cb2:	91 81       	ldd	r25, Z+1	; 0x01
5377
    2cb4:	9f 5f       	subi	r25, 0xFF	; 255
5378
    2cb6:	89 17       	cp	r24, r25
5379
    2cb8:	b8 f0       	brcs	.+46     	; 0x2ce8 <__vector_15+0x72>
5380
    2cba:	95 b3       	in	r25, 0x15	; 21
5381
    2cbc:	11 96       	adiw	r26, 0x01	; 1
5382
    2cbe:	aa 0f       	add	r26, r26
5383
    2cc0:	bb 1f       	adc	r27, r27
5384
    2cc2:	a4 0f       	add	r26, r20
5385
    2cc4:	b5 1f       	adc	r27, r21
5386
    2cc6:	8c 91       	ld	r24, X
5387
    2cc8:	98 2b       	or	r25, r24
5388
    2cca:	95 bb       	out	0x15, r25	; 21
5389
    2ccc:	25 30       	cpi	r18, 0x05	; 5
5390
    2cce:	61 f0       	breq	.+24     	; 0x2ce8 <__vector_15+0x72>
5391
    2cd0:	2f 5f       	subi	r18, 0xFF	; 255
5392
    2cd2:	e2 2f       	mov	r30, r18
5393
    2cd4:	f0 e0       	ldi	r31, 0x00	; 0
5394
    2cd6:	ee 0f       	add	r30, r30
5395
    2cd8:	ff 1f       	adc	r31, r31
5396
    2cda:	e4 0f       	add	r30, r20
5397
    2cdc:	f5 1f       	adc	r31, r21
5398
    2cde:	81 81       	ldd	r24, Z+1	; 0x01
5399
    2ce0:	8f 3f       	cpi	r24, 0xFF	; 255
5400
    2ce2:	f9 f2       	breq	.-66     	; 0x2ca2 <__vector_15+0x2c>
5401
    2ce4:	81 bf       	out	0x31, r24	; 49
5402
    2ce6:	dd cf       	rjmp	.-70     	; 0x2ca2 <__vector_15+0x2c>
5403
    2ce8:	20 93 b8 06 	sts	0x06B8, r18
5404
    2cec:	ff 91       	pop	r31
5405
    2cee:	ef 91       	pop	r30
5406
    2cf0:	bf 91       	pop	r27
5407
    2cf2:	af 91       	pop	r26
5408
    2cf4:	9f 91       	pop	r25
5409
    2cf6:	8f 91       	pop	r24
5410
    2cf8:	5f 91       	pop	r21
5411
    2cfa:	4f 91       	pop	r20
5412
    2cfc:	2f 91       	pop	r18
5413
    2cfe:	0f 90       	pop	r0
5414
    2d00:	0b be       	out	0x3b, r0	; 59
5415
    2d02:	0f 90       	pop	r0
5416
    2d04:	0f be       	out	0x3f, r0	; 63
5417
    2d06:	0f 90       	pop	r0
5418
    2d08:	1f 90       	pop	r1
5419
    2d0a:	18 95       	reti
5420

    
5421
00002d0c <apply_orbs>:
5422
    2d0c:	0f 93       	push	r16
5423
    2d0e:	1f 93       	push	r17
5424
    2d10:	cf 93       	push	r28
5425
    2d12:	df 93       	push	r29
5426
    2d14:	80 91 63 03 	lds	r24, 0x0363
5427
    2d18:	88 23       	and	r24, r24
5428
    2d1a:	09 f4       	brne	.+2      	; 0x2d1e <apply_orbs+0x12>
5429
    2d1c:	62 c1       	rjmp	.+708    	; 0x2fe2 <apply_orbs+0x2d6>
5430
    2d1e:	e0 91 66 03 	lds	r30, 0x0366
5431
    2d22:	f0 91 67 03 	lds	r31, 0x0367
5432
    2d26:	8f ef       	ldi	r24, 0xFF	; 255
5433
    2d28:	80 83       	st	Z, r24
5434
    2d2a:	80 91 53 0a 	lds	r24, 0x0A53
5435
    2d2e:	81 50       	subi	r24, 0x01	; 1
5436
    2d30:	81 83       	std	Z+1, r24	; 0x01
5437
    2d32:	8f 5f       	subi	r24, 0xFF	; 255
5438
    2d34:	91 e0       	ldi	r25, 0x01	; 1
5439
    2d36:	92 83       	std	Z+2, r25	; 0x02
5440
    2d38:	88 23       	and	r24, r24
5441
    2d3a:	11 f0       	breq	.+4      	; 0x2d40 <apply_orbs+0x34>
5442
    2d3c:	8e ef       	ldi	r24, 0xFE	; 254
5443
    2d3e:	80 83       	st	Z, r24
5444
    2d40:	80 91 54 0a 	lds	r24, 0x0A54
5445
    2d44:	81 50       	subi	r24, 0x01	; 1
5446
    2d46:	83 83       	std	Z+3, r24	; 0x03
5447
    2d48:	8f 5f       	subi	r24, 0xFF	; 255
5448
    2d4a:	92 e0       	ldi	r25, 0x02	; 2
5449
    2d4c:	94 83       	std	Z+4, r25	; 0x04
5450
    2d4e:	88 23       	and	r24, r24
5451
    2d50:	19 f0       	breq	.+6      	; 0x2d58 <apply_orbs+0x4c>
5452
    2d52:	80 81       	ld	r24, Z
5453
    2d54:	8d 7f       	andi	r24, 0xFD	; 253
5454
    2d56:	80 83       	st	Z, r24
5455
    2d58:	80 91 55 0a 	lds	r24, 0x0A55
5456
    2d5c:	81 50       	subi	r24, 0x01	; 1
5457
    2d5e:	85 83       	std	Z+5, r24	; 0x05
5458
    2d60:	8f 5f       	subi	r24, 0xFF	; 255
5459
    2d62:	94 e0       	ldi	r25, 0x04	; 4
5460
    2d64:	96 83       	std	Z+6, r25	; 0x06
5461
    2d66:	88 23       	and	r24, r24
5462
    2d68:	19 f0       	breq	.+6      	; 0x2d70 <apply_orbs+0x64>
5463
    2d6a:	80 81       	ld	r24, Z
5464
    2d6c:	8b 7f       	andi	r24, 0xFB	; 251
5465
    2d6e:	80 83       	st	Z, r24
5466
    2d70:	80 91 56 0a 	lds	r24, 0x0A56