module Mail::Parsers::Ragel::ContentTransferEncodingMachine

def self.parse(data)

def self.parse(data)
  p = 0
  eof = data.length
  stack = []
  actions = []
  data_unpacked = data.bytes.to_a
  
51 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/content_transfer_encoding_machine.rb"

data.length
ntent_transfer_encoding_start

6 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/content_transfer_encoding_machine.rb.rl"
  
61 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/content_transfer_encoding_machine.rb"
 = false
_trans, _keys, _inds, _acts, _nacts = nil
evel = 0
 = 10
ans = 15
= 20
of = 30
40
rue
o_level <= 0
 pe
level = _test_eof
= 0
level = _out
o_level <= _resume
 cs << 1
 _content_transfer_encoding_index_offsets[cs]
 _content_transfer_encoding_key_spans[cs]
= if (   _slen > 0 && 
ent_transfer_encoding_trans_keys[_keys] <= ( data_unpacked[p]) && 
a_unpacked[p]) <= _content_transfer_encoding_trans_keys[_keys + 1] 
then
ent_transfer_encoding_indicies[ _inds + ( data_unpacked[p]) - _content_transfer_encoding_trans_keys[_keys] ] 

ent_transfer_encoding_indicies[ _inds + _slen ]
ontent_transfer_encoding_trans_targs[_trans]
tent_transfer_encoding_trans_actions[_trans] != 0
ontent_transfer_encoding_trans_actions[_trans]
then
 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/rb_actions.rl"
.push(4, p) 		end
then
 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/rb_actions.rl"
.push(5, p) 		end
 then
7 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/rb_actions.rl"
.push(14, p) 		end
then
8 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/rb_actions.rl"
.push(15, p) 		end
then
 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/../../common.rl"
top] = cs
1

level = _again
then
 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/../../common.rl"
 1
tack[top]
level = _again
then
 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/rb_actions.rl"
.push(4, p) 		end
8 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/rb_actions.rl"
.push(15, p) 		end
then
 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/rb_actions.rl"
.push(4, p) 		end
 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/../../common.rl"
top] = cs
1

level = _again
then
 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/rb_actions.rl"
.push(5, p) 		end
 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/../../common.rl"
top] = cs
1

level = _again
then
 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/rb_actions.rl"
.push(5, p) 		end
 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/../../common.rl"
 1
tack[top]
level = _again
 then
7 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/rb_actions.rl"
.push(14, p) 		end
 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/../../common.rl"
top] = cs
1

level = _again
96 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/content_transfer_encoding_machine.rb"
o_level <= _again
= 0
level = _out
 pe
level = _resume
o_level <= _test_eof
 eof
_content_transfer_encoding_eof_actions[cs]
then
 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/rb_actions.rl"
.push(4, p) 		end
 then
7 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/rb_actions.rl"
.push(14, p) 		end
22 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/content_transfer_encoding_machine.rb"
o_level <= _out
7 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/content_transfer_encoding_machine.rb.rl"
  if p == eof && cs >= 
36 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/content_transfer_encoding_machine.rb"
8 "/home/bpot/src/gh/bpot/mail/lib/mail/parsers/ragel/ruby/machines/content_transfer_encoding_machine.rb.rl"
    return actions, nil
  else
    return [], "Only able to parse up to #{data[0..p]}"
  end
end