GAS LISTING /tmp/ccLVB0u3.s page 1 1 .file "responses.c" 2 __SP_H__ = 0x3e 3 __SP_L__ = 0x3d 4 __SREG__ = 0x3f 5 __RAMPZ__ = 0x3b 6 __tmp_reg__ = 0 7 __zero_reg__ = 1 8 .section .rodata.str1.1,"aMS",@progbits,1 9 .LC0: 10 0000 4572 726F .string "Error" 10 7200 11 .LC1: 12 0006 4F4B 00 .string "OK" 13 .section .text.HttpResponseText,"ax",@progbits 14 .global HttpResponseText 15 .type HttpResponseText, @function 16 HttpResponseText: 17 /* prologue: function */ 18 /* frame size = 0 */ 19 /* stack size = 0 */ 20 .L__stack_usage = 0 21 0000 AC01 movw r20,r24 22 0002 E0E0 ldi r30,lo8(response_list) 23 0004 F0E0 ldi r31,hi8(response_list) 24 0006 20E0 ldi r18,0 25 0008 30E0 ldi r19,0 26 .L3: 27 000a 8081 ld r24,Z 28 000c 9181 ldd r25,Z+1 29 000e 4817 cp r20,r24 30 0010 5907 cpc r21,r25 31 0012 04F4 brge .L2 32 0014 2F5F subi r18,-1 33 0016 3F4F sbci r19,-1 34 0018 3496 adiw r30,4 35 001a 2334 cpi r18,67 36 001c 3105 cpc r19,__zero_reg__ 37 001e 01F4 brne .L3 38 0020 00C0 rjmp .L4 39 .L2: 40 0022 8417 cp r24,r20 41 0024 9507 cpc r25,r21 42 0026 01F0 breq .L11 43 .L4: 44 0028 4039 cpi r20,-112 45 002a 5140 sbci r21,1 46 002c 04F0 brlt .L7 47 002e 80E0 ldi r24,lo8(.LC0) 48 0030 90E0 ldi r25,hi8(.LC0) 49 0032 0895 ret 50 .L7: 51 0034 80E0 ldi r24,lo8(.LC1) 52 0036 90E0 ldi r25,hi8(.LC1) 53 0038 0895 ret 54 .L11: 55 003a 220F lsl r18 56 003c 331F rol r19 GAS LISTING /tmp/ccLVB0u3.s page 2 57 003e 220F lsl r18 58 0040 331F rol r19 59 0042 F901 movw r30,r18 60 0044 E050 subi r30,lo8(-(response_list)) 61 0046 F040 sbci r31,hi8(-(response_list)) 62 0048 8281 ldd r24,Z+2 63 004a 9381 ldd r25,Z+3 64 004c 0097 sbiw r24,0 65 004e 01F0 breq .L4 66 0050 0895 ret 67 .size HttpResponseText, .-HttpResponseText 68 .section .rodata.str1.1 69 .LC2: 70 0009 2047 4D54 .string " GMT\r\n" 70 0D0A 00 71 .LC3: 72 0010 3A20 00 .string ": " 73 .section .text.HttpSendStreamHeaderTop,"ax",@progbits 74 .global HttpSendStreamHeaderTop 75 .type HttpSendStreamHeaderTop, @function 76 HttpSendStreamHeaderTop: 77 0000 0F93 push r16 78 0002 1F93 push r17 79 0004 CF93 push r28 80 0006 DF93 push r29 81 0008 00D0 rcall . 82 000a 00D0 rcall . 83 000c CDB7 in r28,__SP_L__ 84 000e DEB7 in r29,__SP_H__ 85 /* prologue: function */ 86 /* frame size = 6 */ 87 /* stack size = 10 */ 88 .L__stack_usage = 10 89 0010 182F mov r17,r24 90 0012 092F mov r16,r25 91 0014 CB01 movw r24,r22 92 0016 6D83 std Y+5,r22 93 0018 7E83 std Y+6,r23 94 001a 0E94 0000 call HttpResponseText 95 001e 9F93 push r25 96 0020 8F93 push r24 97 0022 7E81 ldd r23,Y+6 98 0024 7F93 push r23 99 0026 6D81 ldd r22,Y+5 100 0028 6F93 push r22 101 002a 1F92 push __zero_reg__ 102 002c 81E0 ldi r24,lo8(1) 103 002e 8F93 push r24 104 0030 1F92 push __zero_reg__ 105 0032 8F93 push r24 106 0034 80E0 ldi r24,lo8(fmt_P.2620) 107 0036 90E0 ldi r25,hi8(fmt_P.2620) 108 0038 9F93 push r25 109 003a 8F93 push r24 110 003c 0F93 push r16 111 003e 1F93 push r17 112 0040 0E94 0000 call fprintf GAS LISTING /tmp/ccLVB0u3.s page 3 113 0044 80E0 ldi r24,0 114 0046 90E0 ldi r25,0 115 0048 0E94 0000 call time 116 004c 6983 std Y+1,r22 117 004e 7A83 std Y+2,r23 118 0050 8B83 std Y+3,r24 119 0052 9C83 std Y+4,r25 120 0054 CE01 movw r24,r28 121 0056 0196 adiw r24,1 122 0058 0E94 0000 call gmtime 123 005c 0E94 0000 call Rfc1123TimeString 124 0060 1F92 push __zero_reg__ 125 0062 1F92 push __zero_reg__ 126 0064 20E0 ldi r18,lo8(.LC2) 127 0066 30E0 ldi r19,hi8(.LC2) 128 0068 3F93 push r19 129 006a 2F93 push r18 130 006c 9F93 push r25 131 006e 8F93 push r24 132 0070 80E0 ldi r24,lo8(.LC3) 133 0072 90E0 ldi r25,hi8(.LC3) 134 0074 9F93 push r25 135 0076 8F93 push r24 136 0078 80E0 ldi r24,lo8(ct_Date) 137 007a 90E0 ldi r25,hi8(ct_Date) 138 007c 9F93 push r25 139 007e 8F93 push r24 140 0080 0F93 push r16 141 0082 1F93 push r17 142 0084 0E94 0000 call s_vputs 143 0088 0FB6 in __tmp_reg__,__SREG__ 144 008a F894 cli 145 008c DEBF out __SP_H__,r29 146 008e 0FBE out __SREG__,__tmp_reg__ 147 0090 CDBF out __SP_L__,r28 148 /* epilogue start */ 149 0092 2696 adiw r28,6 150 0094 0FB6 in __tmp_reg__,__SREG__ 151 0096 F894 cli 152 0098 DEBF out __SP_H__,r29 153 009a 0FBE out __SREG__,__tmp_reg__ 154 009c CDBF out __SP_L__,r28 155 009e DF91 pop r29 156 00a0 CF91 pop r28 157 00a2 1F91 pop r17 158 00a4 0F91 pop r16 159 00a6 0895 ret 160 .size HttpSendStreamHeaderTop, .-HttpSendStreamHeaderTop 161 .section .text.HttpSendHeaderTop,"ax",@progbits 162 .global HttpSendHeaderTop 163 .type HttpSendHeaderTop, @function 164 HttpSendHeaderTop: 165 /* prologue: function */ 166 /* frame size = 0 */ 167 /* stack size = 0 */ 168 .L__stack_usage = 0 169 0000 FC01 movw r30,r24 GAS LISTING /tmp/ccLVB0u3.s page 4 170 0002 8081 ld r24,Z 171 0004 9181 ldd r25,Z+1 172 0006 0C94 0000 jmp HttpSendStreamHeaderTop 173 .size HttpSendHeaderTop, .-HttpSendHeaderTop 174 .section .text.HttpSendStreamHeaderDate,"ax",@progbits 175 .global HttpSendStreamHeaderDate 176 .type HttpSendStreamHeaderDate, @function 177 HttpSendStreamHeaderDate: 178 0000 0F93 push r16 179 0002 1F93 push r17 180 0004 CF93 push r28 181 0006 DF93 push r29 182 0008 00D0 rcall . 183 000a 1F92 push __zero_reg__ 184 000c CDB7 in r28,__SP_L__ 185 000e DEB7 in r29,__SP_H__ 186 /* prologue: function */ 187 /* frame size = 4 */ 188 /* stack size = 8 */ 189 .L__stack_usage = 8 190 0010 182F mov r17,r24 191 0012 092F mov r16,r25 192 0014 4983 std Y+1,r20 193 0016 5A83 std Y+2,r21 194 0018 6B83 std Y+3,r22 195 001a 7C83 std Y+4,r23 196 001c 452B or r20,r21 197 001e 462B or r20,r22 198 0020 472B or r20,r23 199 0022 01F0 breq .L14 200 0024 CE01 movw r24,r28 201 0026 0196 adiw r24,1 202 0028 0E94 0000 call gmtime 203 002c 0E94 0000 call Rfc1123TimeString 204 0030 1F92 push __zero_reg__ 205 0032 1F92 push __zero_reg__ 206 0034 20E0 ldi r18,lo8(.LC2) 207 0036 30E0 ldi r19,hi8(.LC2) 208 0038 3F93 push r19 209 003a 2F93 push r18 210 003c 9F93 push r25 211 003e 8F93 push r24 212 0040 80E0 ldi r24,lo8(.LC3) 213 0042 90E0 ldi r25,hi8(.LC3) 214 0044 9F93 push r25 215 0046 8F93 push r24 216 0048 80E0 ldi r24,lo8(ct_Last_Modified) 217 004a 90E0 ldi r25,hi8(ct_Last_Modified) 218 004c 9F93 push r25 219 004e 8F93 push r24 220 0050 0F93 push r16 221 0052 1F93 push r17 222 0054 0E94 0000 call s_vputs 223 0058 0FB6 in __tmp_reg__,__SREG__ 224 005a F894 cli 225 005c DEBF out __SP_H__,r29 226 005e 0FBE out __SREG__,__tmp_reg__ GAS LISTING /tmp/ccLVB0u3.s page 5 227 0060 CDBF out __SP_L__,r28 228 .L14: 229 /* epilogue start */ 230 0062 0F90 pop __tmp_reg__ 231 0064 0F90 pop __tmp_reg__ 232 0066 0F90 pop __tmp_reg__ 233 0068 0F90 pop __tmp_reg__ 234 006a DF91 pop r29 235 006c CF91 pop r28 236 006e 1F91 pop r17 237 0070 0F91 pop r16 238 0072 0895 ret 239 .size HttpSendStreamHeaderDate, .-HttpSendStreamHeaderDate 240 .section .text.HttpSendHeaderDate,"ax",@progbits 241 .global HttpSendHeaderDate 242 .type HttpSendHeaderDate, @function 243 HttpSendHeaderDate: 244 /* prologue: function */ 245 /* frame size = 0 */ 246 /* stack size = 0 */ 247 .L__stack_usage = 0 248 0000 FC01 movw r30,r24 249 0002 8081 ld r24,Z 250 0004 9181 ldd r25,Z+1 251 0006 0C94 0000 jmp HttpSendStreamHeaderDate 252 .size HttpSendHeaderDate, .-HttpSendHeaderDate 253 .section .rodata.str1.1 254 .LC4: 255 0013 0D0A 00 .string "\r\n" 256 .LC5: 257 0016 2F00 .string "/" 258 .LC6: 259 0018 2573 3A20 .string "%s: %ld\r\n" 259 256C 640D 259 0A00 260 .LC7: 261 0022 436F 6E6E .string "Connection: close\r\n" 261 6563 7469 261 6F6E 3A20 261 636C 6F73 261 650D 0A00 262 .section .text.HttpSendStreamHeaderBottom,"ax",@progbits 263 .global HttpSendStreamHeaderBottom 264 .type HttpSendStreamHeaderBottom, @function 265 HttpSendStreamHeaderBottom: 266 0000 CF92 push r12 267 0002 DF92 push r13 268 0004 EF92 push r14 269 0006 FF92 push r15 270 0008 0F93 push r16 271 000a 1F93 push r17 272 000c CF93 push r28 273 000e DF93 push r29 274 /* prologue: function */ 275 /* frame size = 0 */ 276 /* stack size = 8 */ 277 .L__stack_usage = 8 GAS LISTING /tmp/ccLVB0u3.s page 6 278 0010 D82F mov r29,r24 279 0012 C92F mov r28,r25 280 0014 6701 movw r12,r14 281 0016 7801 movw r14,r16 282 0018 6115 cp r22,__zero_reg__ 283 001a 7105 cpc r23,__zero_reg__ 284 001c 01F0 breq .L21 285 001e 4115 cp r20,__zero_reg__ 286 0020 5105 cpc r21,__zero_reg__ 287 0022 01F0 breq .L21 288 0024 1F92 push __zero_reg__ 289 0026 1F92 push __zero_reg__ 290 0028 80E0 ldi r24,lo8(.LC4) 291 002a 90E0 ldi r25,hi8(.LC4) 292 002c 9F93 push r25 293 002e 8F93 push r24 294 0030 5F93 push r21 295 0032 4F93 push r20 296 0034 80E0 ldi r24,lo8(.LC5) 297 0036 90E0 ldi r25,hi8(.LC5) 298 0038 9F93 push r25 299 003a 8F93 push r24 300 003c 7F93 push r23 301 003e 6F93 push r22 302 0040 80E0 ldi r24,lo8(.LC3) 303 0042 90E0 ldi r25,hi8(.LC3) 304 0044 9F93 push r25 305 0046 8F93 push r24 306 0048 80E0 ldi r24,lo8(ct_Content_Type) 307 004a 90E0 ldi r25,hi8(ct_Content_Type) 308 004c 9F93 push r25 309 004e 8F93 push r24 310 0050 CF93 push r28 311 0052 DF93 push r29 312 0054 0E94 0000 call s_vputs 313 0058 8DB7 in r24,__SP_L__ 314 005a 9EB7 in r25,__SP_H__ 315 005c 4096 adiw r24,16 316 005e 0FB6 in __tmp_reg__,__SREG__ 317 0060 F894 cli 318 0062 9EBF out __SP_H__,r25 319 0064 0FBE out __SREG__,__tmp_reg__ 320 0066 8DBF out __SP_L__,r24 321 .L21: 322 0068 F7FC sbrc r15,7 323 006a 00C0 rjmp .L22 324 006c FF92 push r15 325 006e EF92 push r14 326 0070 DF92 push r13 327 0072 CF92 push r12 328 0074 80E0 ldi r24,lo8(ct_Content_Length) 329 0076 90E0 ldi r25,hi8(ct_Content_Length) 330 0078 9F93 push r25 331 007a 8F93 push r24 332 007c 80E0 ldi r24,lo8(.LC6) 333 007e 90E0 ldi r25,hi8(.LC6) 334 0080 9F93 push r25 GAS LISTING /tmp/ccLVB0u3.s page 7 335 0082 8F93 push r24 336 0084 CF93 push r28 337 0086 DF93 push r29 338 0088 0E94 0000 call fprintf 339 008c 8DB7 in r24,__SP_L__ 340 008e 9EB7 in r25,__SP_H__ 341 0090 0A96 adiw r24,10 342 0092 0FB6 in __tmp_reg__,__SREG__ 343 0094 F894 cli 344 0096 9EBF out __SP_H__,r25 345 0098 0FBE out __SREG__,__tmp_reg__ 346 009a 8DBF out __SP_L__,r24 347 .L22: 348 009c 6D2F mov r22,r29 349 009e 7C2F mov r23,r28 350 00a0 80E0 ldi r24,lo8(.LC7) 351 00a2 90E0 ldi r25,hi8(.LC7) 352 00a4 0E94 0000 call fputs 353 00a8 6D2F mov r22,r29 354 00aa 7C2F mov r23,r28 355 00ac 80E0 ldi r24,lo8(.LC4) 356 00ae 90E0 ldi r25,hi8(.LC4) 357 /* epilogue start */ 358 00b0 DF91 pop r29 359 00b2 CF91 pop r28 360 00b4 1F91 pop r17 361 00b6 0F91 pop r16 362 00b8 FF90 pop r15 363 00ba EF90 pop r14 364 00bc DF90 pop r13 365 00be CF90 pop r12 366 00c0 0C94 0000 jmp fputs 367 .size HttpSendStreamHeaderBottom, .-HttpSendStreamHeaderBottom 368 .section .text.HttpSendHeaderBottom,"ax",@progbits 369 .global HttpSendHeaderBottom 370 .type HttpSendHeaderBottom, @function 371 HttpSendHeaderBottom: 372 0000 EF92 push r14 373 0002 FF92 push r15 374 0004 0F93 push r16 375 0006 1F93 push r17 376 /* prologue: function */ 377 /* frame size = 0 */ 378 /* stack size = 4 */ 379 .L__stack_usage = 4 380 0008 7801 movw r14,r16 381 000a 8901 movw r16,r18 382 000c FC01 movw r30,r24 383 000e 2089 ldd r18,Z+16 384 0010 3189 ldd r19,Z+17 385 0012 8081 ld r24,Z 386 0014 9181 ldd r25,Z+1 387 0016 0E94 0000 call HttpSendStreamHeaderBottom 388 /* epilogue start */ 389 001a 1F91 pop r17 390 001c 0F91 pop r16 391 001e FF90 pop r15 GAS LISTING /tmp/ccLVB0u3.s page 8 392 0020 EF90 pop r14 393 0022 0895 ret 394 .size HttpSendHeaderBottom, .-HttpSendHeaderBottom 395 .section .rodata.str1.1 396 .LC8: 397 0036 6874 6D6C .string "html" 397 00 398 .LC9: 399 003b 7465 7874 .string "text" 399 00 400 .section .text.HttpSendStreamError,"ax",@progbits 401 .global HttpSendStreamError 402 .type HttpSendStreamError, @function 403 HttpSendStreamError: 404 0000 AF92 push r10 405 0002 BF92 push r11 406 0004 CF92 push r12 407 0006 DF92 push r13 408 0008 EF92 push r14 409 000a FF92 push r15 410 000c 0F93 push r16 411 000e 1F93 push r17 412 0010 CF93 push r28 413 0012 DF93 push r29 414 /* prologue: function */ 415 /* frame size = 0 */ 416 /* stack size = 10 */ 417 .L__stack_usage = 10 418 0014 D82F mov r29,r24 419 0016 C92F mov r28,r25 420 0018 D62E mov r13,r22 421 001a C72E mov r12,r23 422 001c 8A01 movw r16,r20 423 001e 862F mov r24,r22 424 0020 972F mov r25,r23 425 0022 0E94 0000 call HttpResponseText 426 0026 B82E mov r11,r24 427 0028 A92E mov r10,r25 428 002a 6D2D mov r22,r13 429 002c 7C2D mov r23,r12 430 002e 8D2F mov r24,r29 431 0030 9C2F mov r25,r28 432 0032 0E94 0000 call HttpSendStreamHeaderTop 433 0036 0115 cp r16,__zero_reg__ 434 0038 1105 cpc r17,__zero_reg__ 435 003a 01F0 breq .L31 436 003c 1F93 push r17 437 003e 0F93 push r16 438 0040 80E0 ldi r24,lo8(auth_fmt_P.2654) 439 0042 90E0 ldi r25,hi8(auth_fmt_P.2654) 440 0044 9F93 push r25 441 0046 8F93 push r24 442 0048 CF93 push r28 443 004a DF93 push r29 444 004c 0E94 0000 call fprintf 445 0050 0F90 pop __tmp_reg__ 446 0052 0F90 pop __tmp_reg__ GAS LISTING /tmp/ccLVB0u3.s page 9 447 0054 0F90 pop __tmp_reg__ 448 0056 0F90 pop __tmp_reg__ 449 0058 0F90 pop __tmp_reg__ 450 005a 0F90 pop __tmp_reg__ 451 .L31: 452 005c EB2D mov r30,r11 453 005e FA2D mov r31,r10 454 0060 DF01 movw r26,r30 455 0: 456 0062 0D90 ld __tmp_reg__,X+ 457 0064 0020 tst __tmp_reg__ 458 0066 01F4 brne 0b 459 0068 CD01 movw r24,r26 460 006a 8E1B sub r24,r30 461 006c 9F0B sbc r25,r31 462 006e 4F96 adiw r24,31 463 0070 7C01 movw r14,r24 464 0072 EE0C lsl r14 465 0074 FF1C rol r15 466 0076 00E0 ldi r16,0 467 0078 10E0 ldi r17,0 468 007a 21E0 ldi r18,lo8(1) 469 007c 30E0 ldi r19,0 470 007e 40E0 ldi r20,lo8(.LC8) 471 0080 50E0 ldi r21,hi8(.LC8) 472 0082 60E0 ldi r22,lo8(.LC9) 473 0084 70E0 ldi r23,hi8(.LC9) 474 0086 8D2F mov r24,r29 475 0088 9C2F mov r25,r28 476 008a 0E94 0000 call HttpSendStreamHeaderBottom 477 008e AF92 push r10 478 0090 BF92 push r11 479 0092 CF92 push r12 480 0094 DF92 push r13 481 0096 AF92 push r10 482 0098 BF92 push r11 483 009a CF92 push r12 484 009c DF92 push r13 485 009e 80E0 ldi r24,lo8(body.2652) 486 00a0 90E0 ldi r25,hi8(body.2652) 487 00a2 9F93 push r25 488 00a4 8F93 push r24 489 00a6 CF93 push r28 490 00a8 DF93 push r29 491 00aa 0E94 0000 call fprintf 492 00ae 8DB7 in r24,__SP_L__ 493 00b0 9EB7 in r25,__SP_H__ 494 00b2 0C96 adiw r24,12 495 00b4 0FB6 in __tmp_reg__,__SREG__ 496 00b6 F894 cli 497 00b8 9EBF out __SP_H__,r25 498 00ba 0FBE out __SREG__,__tmp_reg__ 499 00bc 8DBF out __SP_L__,r24 500 00be 8D2F mov r24,r29 501 00c0 9C2F mov r25,r28 502 /* epilogue start */ 503 00c2 DF91 pop r29 GAS LISTING /tmp/ccLVB0u3.s page 10 504 00c4 CF91 pop r28 505 00c6 1F91 pop r17 506 00c8 0F91 pop r16 507 00ca FF90 pop r15 508 00cc EF90 pop r14 509 00ce DF90 pop r13 510 00d0 CF90 pop r12 511 00d2 BF90 pop r11 512 00d4 AF90 pop r10 513 00d6 0C94 0000 jmp fflush 514 .size HttpSendStreamError, .-HttpSendStreamError 515 .section .text.HttpSendError,"ax",@progbits 516 .global HttpSendError 517 .type HttpSendError, @function 518 HttpSendError: 519 /* prologue: function */ 520 /* frame size = 0 */ 521 /* stack size = 0 */ 522 .L__stack_usage = 0 523 0000 6139 cpi r22,-111 524 0002 21E0 ldi r18,1 525 0004 7207 cpc r23,r18 526 0006 01F4 brne .L37 527 0008 FC01 movw r30,r24 528 000a 4689 ldd r20,Z+22 529 000c 5789 ldd r21,Z+23 530 000e 00C0 rjmp .L36 531 .L37: 532 0010 40E0 ldi r20,0 533 0012 50E0 ldi r21,0 534 .L36: 535 0014 FC01 movw r30,r24 536 0016 8081 ld r24,Z 537 0018 9181 ldd r25,Z+1 538 001a 0C94 0000 jmp HttpSendStreamError 539 .size HttpSendError, .-HttpSendError 540 .section .text.HttpSendRedirection,"ax",@progbits 541 .global HttpSendRedirection 542 .type HttpSendRedirection, @function 543 HttpSendRedirection: 544 0000 AF92 push r10 545 0002 BF92 push r11 546 0004 CF92 push r12 547 0006 DF92 push r13 548 0008 EF92 push r14 549 000a FF92 push r15 550 000c 0F93 push r16 551 000e 1F93 push r17 552 0010 CF93 push r28 553 0012 DF93 push r29 554 0014 CDB7 in r28,__SP_L__ 555 0016 DEB7 in r29,__SP_H__ 556 /* prologue: function */ 557 /* frame size = 0 */ 558 /* stack size = 10 */ 559 .L__stack_usage = 10 560 0018 CE84 ldd r12,Y+14 GAS LISTING /tmp/ccLVB0u3.s page 11 561 001a DF84 ldd r13,Y+15 562 001c FE01 movw r30,r28 563 001e 7296 adiw r30,18 564 0020 80E0 ldi r24,0 565 0022 90E0 ldi r25,0 566 .L39: 567 0024 9F01 movw r18,r30 568 0026 2E5F subi r18,-2 569 0028 3F4F sbci r19,-1 570 002a A081 ld r26,Z 571 002c B181 ldd r27,Z+1 572 002e 1097 sbiw r26,0 573 0030 01F0 breq .L47 574 0032 FD01 movw r30,r26 575 0: 576 0034 0190 ld __tmp_reg__,Z+ 577 0036 0020 tst __tmp_reg__ 578 0038 01F4 brne 0b 579 003a 3197 sbiw r30,1 580 003c EA1B sub r30,r26 581 003e FB0B sbc r31,r27 582 0040 8E0F add r24,r30 583 0042 9F1F adc r25,r31 584 0044 F901 movw r30,r18 585 0046 00C0 rjmp .L39 586 .L47: 587 0048 0196 adiw r24,1 588 004a 0E94 0000 call malloc 589 004e 7C01 movw r14,r24 590 0050 892B or r24,r25 591 0052 01F4 brne .+2 592 0054 00C0 rjmp .L41 593 0056 D601 movw r26,r12 594 0058 AC90 ld r10,X 595 005a 1196 adiw r26,1 596 005c BC90 ld r11,X 597 005e 6889 ldd r22,Y+16 598 0060 7989 ldd r23,Y+17 599 0062 C601 movw r24,r12 600 0064 0E94 0000 call HttpSendHeaderTop 601 0068 FE01 movw r30,r28 602 006a 7296 adiw r30,18 603 006c D701 movw r26,r14 604 006e 1C92 st X,__zero_reg__ 605 .L42: 606 0070 8F01 movw r16,r30 607 0072 0E5F subi r16,-2 608 0074 1F4F sbci r17,-1 609 0076 6081 ld r22,Z 610 0078 7181 ldd r23,Z+1 611 007a 6115 cp r22,__zero_reg__ 612 007c 7105 cpc r23,__zero_reg__ 613 007e 01F0 breq .L48 614 0080 C701 movw r24,r14 615 0082 0E94 0000 call strcat 616 0086 F801 movw r30,r16 617 0088 00C0 rjmp .L42 GAS LISTING /tmp/ccLVB0u3.s page 12 618 .L48: 619 008a 1F92 push __zero_reg__ 620 008c 1F92 push __zero_reg__ 621 008e 80E0 ldi r24,lo8(.LC4) 622 0090 90E0 ldi r25,hi8(.LC4) 623 0092 9F93 push r25 624 0094 8F93 push r24 625 0096 FF92 push r15 626 0098 EF92 push r14 627 009a 80E0 ldi r24,lo8(.LC3) 628 009c 90E0 ldi r25,hi8(.LC3) 629 009e 9F93 push r25 630 00a0 8F93 push r24 631 00a2 80E0 ldi r24,lo8(ct_Location) 632 00a4 90E0 ldi r25,hi8(ct_Location) 633 00a6 9F93 push r25 634 00a8 8F93 push r24 635 00aa BF92 push r11 636 00ac AF92 push r10 637 00ae 0E94 0000 call s_vputs 638 00b2 F701 movw r30,r14 639 0: 640 00b4 0190 ld __tmp_reg__,Z+ 641 00b6 0020 tst __tmp_reg__ 642 00b8 01F4 brne 0b 643 00ba 8F01 movw r16,r30 644 00bc 0E19 sub r16,r14 645 00be 1F09 sbc r17,r15 646 00c0 0E5C subi r16,-50 647 00c2 1F4F sbci r17,-1 648 00c4 20E0 ldi r18,0 649 00c6 30E0 ldi r19,0 650 00c8 40E0 ldi r20,lo8(.LC8) 651 00ca 50E0 ldi r21,hi8(.LC8) 652 00cc 60E0 ldi r22,lo8(.LC9) 653 00ce 70E0 ldi r23,hi8(.LC9) 654 00d0 C601 movw r24,r12 655 00d2 0E94 0000 call HttpSendHeaderBottom 656 00d6 FF92 push r15 657 00d8 EF92 push r14 658 00da 80E0 ldi r24,lo8(body.2671) 659 00dc 90E0 ldi r25,hi8(body.2671) 660 00de 9F93 push r25 661 00e0 8F93 push r24 662 00e2 BF92 push r11 663 00e4 AF92 push r10 664 00e6 0E94 0000 call fprintf 665 00ea C501 movw r24,r10 666 00ec 0E94 0000 call fflush 667 00f0 C701 movw r24,r14 668 00f2 0E94 0000 call free 669 00f6 0FB6 in __tmp_reg__,__SREG__ 670 00f8 F894 cli 671 00fa DEBF out __SP_H__,r29 672 00fc 0FBE out __SREG__,__tmp_reg__ 673 00fe CDBF out __SP_L__,r28 674 .L41: GAS LISTING /tmp/ccLVB0u3.s page 13 675 0100 80E0 ldi r24,0 676 0102 90E0 ldi r25,0 677 /* epilogue start */ 678 0104 DF91 pop r29 679 0106 CF91 pop r28 680 0108 1F91 pop r17 681 010a 0F91 pop r16 682 010c FF90 pop r15 683 010e EF90 pop r14 684 0110 DF90 pop r13 685 0112 CF90 pop r12 686 0114 BF90 pop r11 687 0116 AF90 pop r10 688 0118 0895 ret 689 .size HttpSendRedirection, .-HttpSendRedirection 690 .section .rodata 691 .type body.2671, @object 692 .size body.2671, 54 693 body.2671: 694 0000 3C68 746D .string "Continue\r\n" 694 6C3E 3C62 694 6F64 793E 694 3C61 2068 694 7265 663D 695 .type body.2652, @object 696 .size body.2652, 67 697 body.2652: 698 0036 3C48 544D .string "%d %s%d %s\r\n" 698 4C3E 3C48 698 4541 443E 698 3C54 4954 698 4C45 3E25 699 .type auth_fmt_P.2654, @object 700 .size auth_fmt_P.2654, 37 701 auth_fmt_P.2654: 702 0079 5757 572D .string "WWW-Authenticate: Basic realm=\"%s\"\r\n" 702 4175 7468 702 656E 7469 702 6361 7465 702 3A20 4261 703 .type fmt_P.2620, @object 704 .size fmt_P.2620, 38 705 fmt_P.2620: 706 009e 4854 5450 .string "HTTP/%d.%d %d %s\r\nServer: uHTTP 0.0\r\n" 706 2F25 642E 706 2564 2025 706 6420 2573 706 0D0A 5365 707 .section .rodata.str1.1 708 .LC10: 709 0040 436F 6E74 .string "Continue" 709 696E 7565 709 00 710 .LC11: 711 0049 5377 6974 .string "Switching Protocols" 711 6368 696E 711 6720 5072 GAS LISTING /tmp/ccLVB0u3.s page 14 711 6F74 6F63 711 6F6C 7300 712 .LC12: 713 005d 5072 6F63 .string "Processing" 713 6573 7369 713 6E67 00 714 .LC13: 715 0068 4368 6563 .string "Checkpoint" 715 6B70 6F69 715 6E74 00 716 .LC14: 717 0073 4372 6561 .string "Created" 717 7465 6400 718 .LC15: 719 007b 4163 6365 .string "Accepted" 719 7074 6564 719 00 720 .LC16: 721 0084 4E6F 6E2D .string "Non-Authoritative Information" 721 4175 7468 721 6F72 6974 721 6174 6976 721 6520 496E 722 .LC17: 723 00a2 4E6F 2043 .string "No Content" 723 6F6E 7465 723 6E74 00 724 .LC18: 725 00ad 5265 7365 .string "Reset Content" 725 7420 436F 725 6E74 656E 725 7400 726 .LC19: 727 00bb 5061 7274 .string "Partial Content" 727 6961 6C20 727 436F 6E74 727 656E 7400 728 .LC20: 729 00cb 4D75 6C74 .string "Multi-Status" 729 692D 5374 729 6174 7573 729 00 730 .LC21: 731 00d8 416C 7265 .string "Already Reported" 731 6164 7920 731 5265 706F 731 7274 6564 731 00 732 .LC22: 733 00e9 494D 2055 .string "IM Used" 733 7365 6400 734 .LC23: 735 00f1 4D75 6C74 .string "Multiple Choices" 735 6970 6C65 735 2043 686F 735 6963 6573 735 00 GAS LISTING /tmp/ccLVB0u3.s page 15 736 .LC24: 737 0102 4D6F 7665 .string "Moved Permanently" 737 6420 5065 737 726D 616E 737 656E 746C 737 7900 738 .LC25: 739 0114 4D6F 7665 .string "Moved Temporarily" 739 6420 5465 739 6D70 6F72 739 6172 696C 739 7900 740 .LC26: 741 0126 5365 6520 .string "See Other" 741 4F74 6865 741 7200 742 .LC27: 743 0130 4E6F 7420 .string "Not Modified" 743 4D6F 6469 743 6669 6564 743 00 744 .LC28: 745 013d 5573 6520 .string "Use Proxy" 745 5072 6F78 745 7900 746 .LC29: 747 0147 5377 6974 .string "Switch Proxy" 747 6368 2050 747 726F 7879 747 00 748 .LC30: 749 0154 5465 6D70 .string "Temporary Redirect" 749 6F72 6172 749 7920 5265 749 6469 7265 749 6374 00 750 .LC31: 751 0167 5265 7375 .string "Resume Incomplete" 751 6D65 2049 751 6E63 6F6D 751 706C 6574 751 6500 752 .LC32: 753 0179 4261 6420 .string "Bad Request" 753 5265 7175 753 6573 7400 754 .LC33: 755 0185 556E 6175 .string "Unauthorized" 755 7468 6F72 755 697A 6564 755 00 756 .LC34: 757 0192 5061 796D .string "Payment Required" 757 656E 7420 757 5265 7175 757 6972 6564 757 00 GAS LISTING /tmp/ccLVB0u3.s page 16 758 .LC35: 759 01a3 466F 7262 .string "Forbidden" 759 6964 6465 759 6E00 760 .LC36: 761 01ad 4E6F 7420 .string "Not Found" 761 466F 756E 761 6400 762 .LC37: 763 01b7 4E6F 7420 .string "Not Allowed" 763 416C 6C6F 763 7765 6400 764 .LC38: 765 01c3 4E6F 7420 .string "Not Acceptable" 765 4163 6365 765 7074 6162 765 6C65 00 766 .LC39: 767 01d2 5072 6F78 .string "Proxy Authentication Required" 767 7920 4175 767 7468 656E 767 7469 6361 767 7469 6F6E 768 .LC40: 769 01f0 5265 7175 .string "Request Time-out" 769 6573 7420 769 5469 6D65 769 2D6F 7574 769 00 770 .LC41: 771 0201 436F 6E66 .string "Conflict" 771 6C69 6374 771 00 772 .LC42: 773 020a 476F 6E65 .string "Gone" 773 00 774 .LC43: 775 020f 4C65 6E67 .string "Length Required" 775 7468 2052 775 6571 7569 775 7265 6400 776 .LC44: 777 021f 5072 6563 .string "Precondition Failed" 777 6F6E 6469 777 7469 6F6E 777 2046 6169 777 6C65 6400 778 .LC45: 779 0233 5265 7175 .string "Request Entity Too Large" 779 6573 7420 779 456E 7469 779 7479 2054 779 6F6F 204C 780 .LC46: 781 024c 5265 7175 .string "Request-URI Too Large" 781 6573 742D 781 5552 4920 GAS LISTING /tmp/ccLVB0u3.s page 17 781 546F 6F20 781 4C61 7267 782 .LC47: 783 0262 556E 7375 .string "Unsupported Media Type" 783 7070 6F72 783 7465 6420 783 4D65 6469 783 6120 5479 784 .LC48: 785 0279 5265 7175 .string "Requested Range Not Satisfiable" 785 6573 7465 785 6420 5261 785 6E67 6520 785 4E6F 7420 786 .LC49: 787 0299 4578 7065 .string "Expectation Failed" 787 6374 6174 787 696F 6E20 787 4661 696C 787 6564 00 788 .LC50: 789 02ac 4927 6D20 .string "I'm a teapot" 789 6120 7465 789 6170 6F74 789 00 790 .LC51: 791 02b9 556E 7072 .string "Unprocessable Entity" 791 6F63 6573 791 7361 626C 791 6520 456E 791 7469 7479 792 .LC52: 793 02ce 4C6F 636B .string "Locked" 793 6564 00 794 .LC53: 795 02d5 4661 696C .string "Failed Dependency" 795 6564 2044 795 6570 656E 795 6465 6E63 795 7900 796 .LC54: 797 02e7 556E 6F72 .string "Unordered Collection" 797 6465 7265 797 6420 436F 797 6C6C 6563 797 7469 6F6E 798 .LC55: 799 02fc 5570 6772 .string "Upgrade Required" 799 6164 6520 799 5265 7175 799 6972 6564 799 00 800 .LC56: 801 030d 5072 6563 .string "Precondition Required" 801 6F6E 6469 801 7469 6F6E 801 2052 6571 GAS LISTING /tmp/ccLVB0u3.s page 18 801 7569 7265 802 .LC57: 803 0323 546F 6F20 .string "Too Many Requests" 803 4D61 6E79 803 2052 6571 803 7565 7374 803 7300 804 .LC58: 805 0335 5265 7175 .string "Request Header Fields Too Large" 805 6573 7420 805 4865 6164 805 6572 2046 805 6965 6C64 806 .LC59: 807 0355 4E6F 2052 .string "No Response" 807 6573 706F 807 6E73 6500 808 .LC60: 809 0361 5265 7472 .string "Retry With" 809 7920 5769 809 7468 00 810 .LC61: 811 036c 436C 6965 .string "Client Closed Request" 811 6E74 2043 811 6C6F 7365 811 6420 5265 811 7175 6573 812 .LC62: 813 0382 496E 7465 .string "Internal Server Error" 813 726E 616C 813 2053 6572 813 7665 7220 813 4572 726F 814 .LC63: 815 0398 4D65 7468 .string "Method Not Implemented" 815 6F64 204E 815 6F74 2049 815 6D70 6C65 815 6D65 6E74 816 .LC64: 817 03af 4261 6420 .string "Bad Gateway" 817 4761 7465 817 7761 7900 818 .LC65: 819 03bb 5365 7276 .string "Service Temporarily Unavailable" 819 6963 6520 819 5465 6D70 819 6F72 6172 819 696C 7920 820 .LC66: 821 03db 4761 7465 .string "Gateway Time-out" 821 7761 7920 821 5469 6D65 821 2D6F 7574 821 00 822 .LC67: 823 03ec 4854 5450 .string "HTTP Version Not Supported" GAS LISTING /tmp/ccLVB0u3.s page 19 823 2056 6572 823 7369 6F6E 823 204E 6F74 823 2053 7570 824 .LC68: 825 0407 5661 7269 .string "Variant Also Negotiates" 825 616E 7420 825 416C 736F 825 204E 6567 825 6F74 6961 826 .LC69: 827 041f 496E 7375 .string "Insufficient Storage" 827 6666 6963 827 6965 6E74 827 2053 746F 827 7261 6765 828 .LC70: 829 0434 4C6F 6F70 .string "Loop Detected" 829 2044 6574 829 6563 7465 829 6400 830 .LC71: 831 0442 4261 6E64 .string "Bandwidth Limit Exceeded" 831 7769 6474 831 6820 4C69 831 6D69 7420 831 4578 6365 832 .LC72: 833 045b 4E6F 7420 .string "Not Extended" 833 4578 7465 833 6E64 6564 833 00 834 .LC73: 835 0468 4E65 7477 .string "Network Authentication Required" 835 6F72 6B20 835 4175 7468 835 656E 7469 835 6361 7469 836 .LC74: 837 0488 4E65 7477 .string "Network read timeout error" 837 6F72 6B20 837 7265 6164 837 2074 696D 837 656F 7574 838 .LC75: 839 04a3 4E65 7477 .string "Network connect timeout error" 839 6F72 6B20 839 636F 6E6E 839 6563 7420 839 7469 6D65 840 .section .rodata 841 .type response_list, @object 842 .size response_list, 268 843 response_list: 844 00c4 6400 .word 100 845 00c6 0000 .word .LC10 846 00c8 6500 .word 101 GAS LISTING /tmp/ccLVB0u3.s page 20 847 00ca 0000 .word .LC11 848 00cc 6600 .word 102 849 00ce 0000 .word .LC12 850 00d0 6700 .word 103 851 00d2 0000 .word .LC13 852 00d4 C800 .word 200 853 00d6 0000 .word .LC1 854 00d8 C900 .word 201 855 00da 0000 .word .LC14 856 00dc CA00 .word 202 857 00de 0000 .word .LC15 858 00e0 CB00 .word 203 859 00e2 0000 .word .LC16 860 00e4 CC00 .word 204 861 00e6 0000 .word .LC17 862 00e8 CD00 .word 205 863 00ea 0000 .word .LC18 864 00ec CE00 .word 206 865 00ee 0000 .word .LC19 866 00f0 CF00 .word 207 867 00f2 0000 .word .LC20 868 00f4 D000 .word 208 869 00f6 0000 .word .LC21 870 00f8 E200 .word 226 871 00fa 0000 .word .LC22 872 00fc 2C01 .word 300 873 00fe 0000 .word .LC23 874 0100 2D01 .word 301 875 0102 0000 .word .LC24 876 0104 2E01 .word 302 877 0106 0000 .word .LC25 878 0108 2F01 .word 303 879 010a 0000 .word .LC26 880 010c 3001 .word 304 881 010e 0000 .word .LC27 882 0110 3101 .word 305 883 0112 0000 .word .LC28 884 0114 3201 .word 306 885 0116 0000 .word .LC29 886 0118 3301 .word 307 887 011a 0000 .word .LC30 888 011c 3401 .word 308 889 011e 0000 .word .LC31 890 0120 9001 .word 400 891 0122 0000 .word .LC32 892 0124 9101 .word 401 893 0126 0000 .word .LC33 894 0128 9201 .word 402 895 012a 0000 .word .LC34 896 012c 9301 .word 403 897 012e 0000 .word .LC35 898 0130 9401 .word 404 899 0132 0000 .word .LC36 900 0134 9501 .word 405 901 0136 0000 .word .LC37 902 0138 9601 .word 406 903 013a 0000 .word .LC38 GAS LISTING /tmp/ccLVB0u3.s page 21 904 013c 9701 .word 407 905 013e 0000 .word .LC39 906 0140 9801 .word 408 907 0142 0000 .word .LC40 908 0144 9901 .word 409 909 0146 0000 .word .LC41 910 0148 9A01 .word 410 911 014a 0000 .word .LC42 912 014c 9B01 .word 411 913 014e 0000 .word .LC43 914 0150 9C01 .word 412 915 0152 0000 .word .LC44 916 0154 9D01 .word 413 917 0156 0000 .word .LC45 918 0158 9E01 .word 414 919 015a 0000 .word .LC46 920 015c 9F01 .word 415 921 015e 0000 .word .LC47 922 0160 A001 .word 416 923 0162 0000 .word .LC48 924 0164 A101 .word 417 925 0166 0000 .word .LC49 926 0168 A201 .word 418 927 016a 0000 .word .LC50 928 016c A601 .word 422 929 016e 0000 .word .LC51 930 0170 A701 .word 423 931 0172 0000 .word .LC52 932 0174 A801 .word 424 933 0176 0000 .word .LC53 934 0178 A901 .word 425 935 017a 0000 .word .LC54 936 017c AA01 .word 426 937 017e 0000 .word .LC55 938 0180 AC01 .word 428 939 0182 0000 .word .LC56 940 0184 AD01 .word 429 941 0186 0000 .word .LC57 942 0188 AF01 .word 431 943 018a 0000 .word .LC58 944 018c BC01 .word 444 945 018e 0000 .word .LC59 946 0190 C101 .word 449 947 0192 0000 .word .LC60 948 0194 F301 .word 499 949 0196 0000 .word .LC61 950 0198 F401 .word 500 951 019a 0000 .word .LC62 952 019c F501 .word 501 953 019e 0000 .word .LC63 954 01a0 F601 .word 502 955 01a2 0000 .word .LC64 956 01a4 F701 .word 503 957 01a6 0000 .word .LC65 958 01a8 F801 .word 504 959 01aa 0000 .word .LC66 960 01ac F901 .word 505 GAS LISTING /tmp/ccLVB0u3.s page 22 961 01ae 0000 .word .LC67 962 01b0 FA01 .word 506 963 01b2 0000 .word .LC68 964 01b4 FB01 .word 507 965 01b6 0000 .word .LC69 966 01b8 FC01 .word 508 967 01ba 0000 .word .LC70 968 01bc FD01 .word 509 969 01be 0000 .word .LC71 970 01c0 FE01 .word 510 971 01c2 0000 .word .LC72 972 01c4 FF01 .word 511 973 01c6 0000 .word .LC73 974 01c8 5602 .word 598 975 01ca 0000 .word .LC74 976 01cc 5702 .word 599 977 01ce 0000 .word .LC75 978 .ident "GCC: (GNU) 5.3.0" 979 .global __do_copy_data GAS LISTING /tmp/ccLVB0u3.s page 23 DEFINED SYMBOLS *ABS*:0000000000000000 responses.c /tmp/ccLVB0u3.s:2 *ABS*:000000000000003e __SP_H__ /tmp/ccLVB0u3.s:3 *ABS*:000000000000003d __SP_L__ /tmp/ccLVB0u3.s:4 *ABS*:000000000000003f __SREG__ /tmp/ccLVB0u3.s:5 *ABS*:000000000000003b __RAMPZ__ /tmp/ccLVB0u3.s:6 *ABS*:0000000000000000 __tmp_reg__ /tmp/ccLVB0u3.s:7 *ABS*:0000000000000001 __zero_reg__ /tmp/ccLVB0u3.s:16 .text.HttpResponseText:0000000000000000 HttpResponseText /tmp/ccLVB0u3.s:843 .rodata:00000000000000c4 response_list /tmp/ccLVB0u3.s:76 .text.HttpSendStreamHeaderTop:0000000000000000 HttpSendStreamHeaderTop /tmp/ccLVB0u3.s:705 .rodata:000000000000009e fmt_P.2620 /tmp/ccLVB0u3.s:164 .text.HttpSendHeaderTop:0000000000000000 HttpSendHeaderTop /tmp/ccLVB0u3.s:177 .text.HttpSendStreamHeaderDate:0000000000000000 HttpSendStreamHeaderDate /tmp/ccLVB0u3.s:243 .text.HttpSendHeaderDate:0000000000000000 HttpSendHeaderDate /tmp/ccLVB0u3.s:265 .text.HttpSendStreamHeaderBottom:0000000000000000 HttpSendStreamHeaderBottom /tmp/ccLVB0u3.s:371 .text.HttpSendHeaderBottom:0000000000000000 HttpSendHeaderBottom /tmp/ccLVB0u3.s:403 .text.HttpSendStreamError:0000000000000000 HttpSendStreamError /tmp/ccLVB0u3.s:701 .rodata:0000000000000079 auth_fmt_P.2654 /tmp/ccLVB0u3.s:697 .rodata:0000000000000036 body.2652 /tmp/ccLVB0u3.s:518 .text.HttpSendError:0000000000000000 HttpSendError /tmp/ccLVB0u3.s:543 .text.HttpSendRedirection:0000000000000000 HttpSendRedirection /tmp/ccLVB0u3.s:693 .rodata:0000000000000000 body.2671 UNDEFINED SYMBOLS fprintf time gmtime Rfc1123TimeString ct_Date s_vputs ct_Last_Modified ct_Content_Type ct_Content_Length fputs fflush malloc strcat ct_Location free __do_copy_data