LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O1/craigbarnes[P]lua-gumbo/lib/tokenizer.c
// Function: gumbo_tokenizer_state_init
void gumbo_tokenizer_state_init (
  GumboParser* parser,
  const char* text,
  size_t text_length
) {
  GumboTokenizerState* tokenizer = gumbo_alloc(sizeof(GumboTokenizerState));
  parser->_tokenizer_state = tokenizer;
  gumbo_tokenizer_set_state(parser, GUMBO_LEX_DATA);
  tokenizer->_reconsume_current_input = false;
  tokenizer->_is_current_node_foreign = false;
  tokenizer->_is_in_cdata = false;
  tokenizer->_tag_state._last_start_tag = GUMBO_TAG_LAST;

  tokenizer->_buffered_emit_char = kGumboNoChar;
  gumbo_string_buffer_init(&tokenizer->_temporary_buffer);
  tokenizer->_temporary_buffer_emit = NULL;

  mark_tag_state_as_empty(&tokenizer->_tag_state);

  gumbo_string_buffer_init(&tokenizer->_script_data_buffer);
  tokenizer->_token_start = text;
  utf8iterator_init(parser, text, text_length, &tokenizer->_input);
  utf8iterator_get_position(&tokenizer->_input, &tokenizer->_token_start_pos);
  doc_type_state_init(parser);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rsi, %r12
movq %rdi, %rbx
movl $0x148, %edi            # imm = 0x148
callq 0x11e58
movq %rax, %r15
movq %rax, 0x10(%rbx)
xorl %eax, %eax
movl %eax, (%r15)
movl %eax, 0x3(%r15)
movl $0x97, 0xc0(%r15)
leaq 0x1564b(%rip), %rax     # 0x22820
movl (%rax), %eax
movl %eax, 0x8(%r15)
leaq 0x10(%r15), %rdi
callq 0x780c
movq $0x0, 0x28(%r15)
xorps %xmm0, %xmm0
movups %xmm0, 0xa8(%r15)
leaq 0x30(%r15), %rdi
callq 0x780c
movq %r12, 0x48(%r15)
leaq 0xe8(%r15), %rcx
movq %rbx, %rdi
movq %r12, %rsi
movq %r14, %rdx
callq 0x7bbd
movq 0x120(%r15), %rax
movq %rax, 0x60(%r15)
movups 0x110(%r15), %xmm0
movups %xmm0, 0x50(%r15)
movq 0x10(%rbx), %rax
xorps %xmm0, %xmm0
movups %xmm0, 0xd3(%rax)
movups %xmm0, 0xc8(%rax)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O1/craigbarnes[P]lua-gumbo/lib/tokenizer.c
// Function: gumbo_tokenizer_state_destroy
void gumbo_tokenizer_state_destroy(GumboParser* parser) {
  GumboTokenizerState* tokenizer = parser->_tokenizer_state;
  assert(tokenizer->_doc_type_state.name == NULL);
  assert(tokenizer->_doc_type_state.public_identifier == NULL);
  assert(tokenizer->_doc_type_state.system_identifier == NULL);
  gumbo_string_buffer_destroy(&tokenizer->_temporary_buffer);
  gumbo_string_buffer_destroy(&tokenizer->_script_data_buffer);
  gumbo_free(tokenizer);
}

// Assembly:
pushq %rbx
movq 0x10(%rdi), %rbx
cmpq $0x0, 0xc8(%rbx)
jne 0xd297
cmpq $0x0, 0xd0(%rbx)
jne 0xd2b6
cmpq $0x0, 0xd8(%rbx)
jne 0xd2d5
leaq 0x10(%rbx), %rdi
callq 0x7a27
leaq 0x30(%rbx), %rdi
callq 0x7a27
movq %rbx, %rdi
popq %rbx
jmp 0x11e7c
leaq 0x1247e(%rip), %rdi     # 0x1f71c
leaq 0x1249f(%rip), %rsi     # 0x1f744
leaq 0x124a8(%rip), %rcx     # 0x1f754
movl $0x39a, %edx            # imm = 0x39A
callq 0x4100
leaq 0x124c9(%rip), %rdi     # 0x1f786
leaq 0x12480(%rip), %rsi     # 0x1f744
leaq 0x12489(%rip), %rcx     # 0x1f754
movl $0x39b, %edx            # imm = 0x39B
callq 0x4100
leaq 0x124df(%rip), %rdi     # 0x1f7bb
leaq 0x12461(%rip), %rsi     # 0x1f744
leaq 0x1246a(%rip), %rcx     # 0x1f754
movl $0x39c, %edx            # imm = 0x39C
callq 0x4100
// File: /workspace/github_c_makefile_star2_O1/craigbarnes[P]lua-gumbo/lib/tokenizer.c
// Function: maybe_emit_from_temporary_buffer
static bool maybe_emit_from_temporary_buffer(
    GumboParser* parser, GumboToken* output) {
  GumboTokenizerState* tokenizer = parser->_tokenizer_state;
  const char* c = tokenizer->_temporary_buffer_emit;
  GumboStringBuffer* buffer = &tokenizer->_temporary_buffer;

  if (!c || c >= buffer->data + buffer->length) {
    tokenizer->_temporary_buffer_emit = NULL;
    return false;
  }

  assert(*c == utf8iterator_current(&tokenizer->_input));
  // emit_char also advances the input stream. We need to do some juggling of
  // the _reconsume_current_input flag to get the proper behavior when emitting
  // previous tokens. Basically, _reconsume_current_input should *never* be set
  // when emitting anything from the temporary buffer, since those characters
  // have already been advanced past. However, it should be preserved so that
  // when the *next* character is encountered again, the tokenizer knows not to
  // advance past it.
  bool saved_reconsume_state = tokenizer->_reconsume_current_input;
  tokenizer->_reconsume_current_input = false;
  emit_char(parser, *c, output);
  ++tokenizer->_temporary_buffer_emit;
  tokenizer->_reconsume_current_input = saved_reconsume_state;
  return true;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq 0x10(%rdi), %rbx
movq 0x28(%rbx), %rax
testq %rax, %rax
je 0xd377
movq 0x10(%rbx), %rcx
addq 0x18(%rbx), %rcx
cmpq %rcx, %rax
jae 0xd377
movsbl (%rax), %ecx
cmpl %ecx, 0x100(%rbx)
jne 0xd3aa
movb 0x4(%rbx), %bpl
movb 0x6(%rbx), %dl
movb $0x0, 0x4(%rbx)
movsbl (%rax), %eax
testl %eax, %eax
jle 0xd344
movl $0x6, %ecx
testb %dl, %dl
jne 0xd361
movzbl %al, %edx
cmpb $0x20, %dl
ja 0xd394
movl $0x4, %ecx
movabsq $0x100003600, %r8       # imm = 0x100003600
btq %rdx, %r8
jae 0xd388
movl %ecx, (%rsi)
movl %eax, 0x30(%rsi)
callq 0xd443
incq 0x28(%rbx)
movb %bpl, 0x4(%rbx)
movb $0x1, %al
jmp 0xd381
movq $0x0, 0x28(%rbx)
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
testq %rdx, %rdx
jne 0xd394
movl $0x7, %ecx
jmp 0xd361
cmpl $0xff, %edx
jne 0xd3a3
movl $0x8, %ecx
jmp 0xd361
movl $0x5, %ecx
jmp 0xd361
leaq 0x124be(%rip), %rdi     # 0x1f86f
leaq 0x1238c(%rip), %rsi     # 0x1f744
leaq 0x124df(%rip), %rcx     # 0x1f89e
movl $0x28d, %edx            # imm = 0x28D
callq 0x4100
// File: /workspace/github_c_makefile_star2_O1/craigbarnes[P]lua-gumbo/lib/tokenizer.c
// Function: gumbo_token_destroy
void gumbo_token_destroy(GumboToken* token) {
  if (!token) {
    return;
  }

  switch (token->type) {
    case GUMBO_TOKEN_DOCTYPE:
      gumbo_free((void*) token->v.doc_type.name);
      gumbo_free((void*) token->v.doc_type.public_identifier);
      gumbo_free((void*) token->v.doc_type.system_identifier);
      return;
    case GUMBO_TOKEN_START_TAG:
      for (unsigned int i = 0; i < token->v.start_tag.attributes.length; ++i) {
        GumboAttribute* attr = token->v.start_tag.attributes.data[i];
        if (attr) {
          // May have been nulled out if this token was merged with another.
          gumbo_destroy_attribute(attr);
        }
      }
      gumbo_free((void*) token->v.start_tag.attributes.data);
      return;
    case GUMBO_TOKEN_COMMENT:
      gumbo_free((void*) token->v.text);
      return;
    default:
      return;
  }
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
testq %rdi, %rdi
je 0xd411
movq %rdi, %rbx
movl (%rdi), %eax
testl %eax, %eax
je 0xd41d
cmpl $0x3, %eax
je 0xd417
cmpl $0x1, %eax
jne 0xd411
leaq 0x38(%rbx), %r14
cmpl $0x0, 0x40(%rbx)
je 0xd436
xorl %r15d, %r15d
movq (%r14), %rax
movq (%rax,%r15,8), %rdi
testq %rdi, %rdi
je 0xd404
callq 0x7284
incq %r15
movl 0x40(%rbx), %eax
cmpq %rax, %r15
jb 0xd3f3
jmp 0xd436
popq %rbx
popq %r14
popq %r15
retq
addq $0x30, %rbx
jmp 0xd433
movq 0x30(%rbx), %rdi
callq 0x11e7c
movq 0x38(%rbx), %rdi
callq 0x11e7c
addq $0x40, %rbx
movq %rbx, %r14
movq (%r14), %rdi
popq %rbx
popq %r14
popq %r15
jmp 0x11e7c
// File: /workspace/github_c_makefile_star2_O1/craigbarnes[P]lua-gumbo/lib/tokenizer.c
// Function: finish_token
static void finish_token(GumboParser* parser, GumboToken* token) {
  GumboTokenizerState* tokenizer = parser->_tokenizer_state;
  if (!tokenizer->_reconsume_current_input) {
    utf8iterator_next(&tokenizer->_input);
  }

  token->position = tokenizer->_token_start_pos;
  token->original_text.data = tokenizer->_token_start;
  reset_token_start_point(tokenizer);
  token->original_text.length =
      tokenizer->_token_start - token->original_text.data;
  if (token->original_text.length > 0 &&
      token->original_text.data[token->original_text.length - 1] == '\r') {
    // The UTF8 iterator will ignore carriage returns in the input stream, which
    // means that the next token may start one past a \r character. The pointer
    // arithmetic above results in that \r being appended to the original text
    // of the preceding token, so we have to adjust its length here to chop the
    // \r off.
    --token->original_text.length;
  }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq 0x10(%rdi), %r14
cmpb $0x0, 0x4(%r14)
jne 0xd461
leaq 0xe8(%r14), %rdi
callq 0x43e4
movq 0x60(%r14), %rax
movq %rax, 0x18(%rbx)
movups 0x50(%r14), %xmm0
movups %xmm0, 0x8(%rbx)
movq 0x48(%r14), %rax
movq %rax, 0x20(%rbx)
movq 0xe8(%r14), %rax
movq %rax, 0x48(%r14)
movq 0x120(%r14), %rcx
movq %rcx, 0x60(%r14)
movups 0x110(%r14), %xmm0
movups %xmm0, 0x50(%r14)
movq 0x20(%rbx), %rcx
subq %rcx, %rax
movq %rax, 0x28(%rbx)
je 0xd4b8
cmpb $0xd, -0x1(%rcx,%rax)
jne 0xd4b8
decq %rax
movq %rax, 0x28(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/craigbarnes[P]lua-gumbo/lib/tokenizer.c
// Function: handle_data_state
static StateResult handle_data_state (
  GumboParser* parser,
  GumboTokenizerState* tokenizer,
  int c,
  GumboToken* output
) {
  switch (c) {
    case '&':
      gumbo_tokenizer_set_state(parser, GUMBO_LEX_CHAR_REF_IN_DATA);
      // The char_ref machinery expects to be on the & so it can mark that
      // and return to it if the text isn't a char ref, so we need to
      // reconsume it.
      tokenizer->_reconsume_current_input = true;
      return NEXT_CHAR;
    case '<':
      gumbo_tokenizer_set_state(parser, GUMBO_LEX_TAG_OPEN);
      clear_temporary_buffer(parser);
      append_char_to_temporary_buffer(parser, '<');
      return NEXT_CHAR;
    case '\0':
      tokenizer_add_parse_error(parser, GUMBO_ERR_UTF8_NULL);
      emit_char(parser, c, output);
      return RETURN_ERROR;
    default:
      return emit_current_char(parser, output);
  }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rcx, %r14
movq %rdi, %rbx
testl %edx, %edx
je 0xd513
cmpl $0x3c, %edx
je 0xd4e8
cmpl $0x26, %edx
jne 0xd53e
movq 0x10(%rbx), %rax
movl $0x1, (%rax)
movb $0x1, 0x4(%rsi)
jmp 0xd50c
movq 0x10(%rbx), %rax
movl $0x7, (%rax)
movq %rbx, %rdi
callq 0x113c5
movq 0x10(%rbx), %rsi
addq $0x10, %rsi
movl $0x3c, %edi
callq 0x4322
movl $0x2, %eax
jmp 0xd54e
movq %rbx, %rdi
movl $0x2, %esi
callq 0x11412
movl $0x7, (%r14)
movl $0x0, 0x30(%r14)
movq %rbx, %rdi
movq %r14, %rsi
callq 0xd443
xorl %eax, %eax
jmp 0xd54e
movq %rbx, %rdi
movq %r14, %rsi
callq 0x11472
movl $0x1, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/craigbarnes[P]lua-gumbo/lib/tokenizer.c
// Function: handle_rcdata_state
static StateResult handle_rcdata_state (
  GumboParser* parser,
  GumboTokenizerState* tokenizer,
  int c,
  GumboToken* output
) {
  switch (c) {
    case '&':
      gumbo_tokenizer_set_state(parser, GUMBO_LEX_CHAR_REF_IN_RCDATA);
      tokenizer->_reconsume_current_input = true;
      return NEXT_CHAR;
    case '<':
      gumbo_tokenizer_set_state(parser, GUMBO_LEX_RCDATA_LT);
      clear_temporary_buffer(parser);
      append_char_to_temporary_buffer(parser, '<');
      return NEXT_CHAR;
    case '\0':
      return emit_replacement_char(parser, output);
    case -1:
      return emit_eof(parser, output);
    default:
      return emit_current_char(parser, output);
  }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rcx, %r14
movq %rdi, %rbx
cmpl $0x25, %edx
jg 0xd5b2
cmpl $-0x1, %edx
je 0xd5d9
testl %edx, %edx
jne 0xd5cc
movq %rbx, %rdi
movl $0x2, %esi
callq 0x11412
movq 0x10(%rbx), %rax
movzbl 0x6(%rax), %eax
addl $0x5, %eax
movl %eax, (%r14)
movl $0xfffd, 0x30(%r14)     # imm = 0xFFFD
movq %rbx, %rdi
movq %r14, %rsi
callq 0xd443
xorl %eax, %eax
jmp 0xd623
cmpl $0x3c, %edx
je 0xd5fa
cmpl $0x26, %edx
jne 0xd5cc
movq 0x10(%rbx), %rax
movl $0x3, (%rax)
movb $0x1, 0x4(%rsi)
jmp 0xd61e
movq %rbx, %rdi
movq %r14, %rsi
callq 0x11472
jmp 0xd5f3
movl $0x8, (%r14)
movl $0xffffffff, 0x30(%r14) # imm = 0xFFFFFFFF
movq %rbx, %rdi
movq %r14, %rsi
callq 0xd443
movl $0x1, %eax
jmp 0xd623
movq 0x10(%rbx), %rax
movl $0xa, (%rax)
movq %rbx, %rdi
callq 0x113c5
movq 0x10(%rbx), %rsi
addq $0x10, %rsi
movl $0x3c, %edi
callq 0x4322
movl $0x2, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/craigbarnes[P]lua-gumbo/lib/tokenizer.c
// Function: handle_rawtext_state
static StateResult handle_rawtext_state (
  GumboParser* parser,
  GumboTokenizerState* UNUSED_ARG(tokenizer),
  int c,
  GumboToken* output
) {
  switch (c) {
    case '<':
      gumbo_tokenizer_set_state(parser, GUMBO_LEX_RAWTEXT_LT);
      clear_temporary_buffer(parser);
      append_char_to_temporary_buffer(parser, '<');
      return NEXT_CHAR;
    case '\0':
      return emit_replacement_char(parser, output);
    case -1:
      return emit_eof(parser, output);
    default:
      return emit_current_char(parser, output);
  }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rcx, %r14
movq %rdi, %rbx
cmpl $-0x1, %edx
je 0xd6b2
testl %edx, %edx
je 0xd680
cmpl $0x3c, %edx
jne 0xd6ce
movq 0x10(%rbx), %rax
movl $0xd, (%rax)
movq %rbx, %rdi
callq 0x113c5
movq 0x10(%rbx), %rsi
addq $0x10, %rsi
movl $0x3c, %edi
callq 0x4322
movl $0x2, %eax
jmp 0xd6de
movq %rbx, %rdi
movl $0x2, %esi
callq 0x11412
movq 0x10(%rbx), %rax
movzbl 0x6(%rax), %eax
addl $0x5, %eax
movl %eax, (%r14)
movl $0xfffd, 0x30(%r14)     # imm = 0xFFFD
movq %rbx, %rdi
movq %r14, %rsi
callq 0xd443
xorl %eax, %eax
jmp 0xd6de
movl $0x8, (%r14)
movl $0xffffffff, 0x30(%r14) # imm = 0xFFFFFFFF
movq %rbx, %rdi
movq %r14, %rsi
callq 0xd443
jmp 0xd6d9
movq %rbx, %rdi
movq %r14, %rsi
callq 0x11472
movl $0x1, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/craigbarnes[P]lua-gumbo/lib/tokenizer.c
// Function: handle_script_state
static StateResult handle_script_state (
  GumboParser* parser,
  GumboTokenizerState* UNUSED_ARG(tokenizer),
  int c,
  GumboToken* output
) {
  switch (c) {
    case '<':
      gumbo_tokenizer_set_state(parser, GUMBO_LEX_SCRIPT_LT);
      clear_temporary_buffer(parser);
      append_char_to_temporary_buffer(parser, '<');
      return NEXT_CHAR;
    case '\0':
      return emit_replacement_char(parser, output);
    case -1:
      return emit_eof(parser, output);
    default:
      return emit_current_char(parser, output);
  }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rcx, %r14
movq %rdi, %rbx
cmpl $-0x1, %edx
je 0xd75b
testl %edx, %edx
je 0xd729
cmpl $0x3c, %edx
jne 0xd777
movq 0x10(%rbx), %rax
movl $0x10, (%rax)
movq %rbx, %rdi
callq 0x113c5
movq 0x10(%rbx), %rsi
addq $0x10, %rsi
movl $0x3c, %edi
callq 0x4322
movl $0x2, %eax
jmp 0xd787
movq %rbx, %rdi
movl $0x2, %esi
callq 0x11412
movq 0x10(%rbx), %rax
movzbl 0x6(%rax), %eax
addl $0x5, %eax
movl %eax, (%r14)
movl $0xfffd, 0x30(%r14)     # imm = 0xFFFD
movq %rbx, %rdi
movq %r14, %rsi
callq 0xd443
xorl %eax, %eax
jmp 0xd787
movl $0x8, (%r14)
movl $0xffffffff, 0x30(%r14) # imm = 0xFFFFFFFF
movq %rbx, %rdi
movq %r14, %rsi
callq 0xd443
jmp 0xd782
movq %rbx, %rdi
movq %r14, %rsi
callq 0x11472
movl $0x1, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/craigbarnes[P]lua-gumbo/lib/tokenizer.c
// Function: handle_plaintext_state
static StateResult handle_plaintext_state (
  GumboParser* parser,
  GumboTokenizerState* UNUSED_ARG(tokenizer),
  int c,
  GumboToken* output
) {
  switch (c) {
    case '\0':
      return emit_replacement_char(parser, output);
    case -1:
      return emit_eof(parser, output);
    default:
      return emit_current_char(parser, output);
  }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rcx, %rbx
movq %rdi, %r14
cmpl $-0x1, %edx
je 0xd7d2
testl %edx, %edx
jne 0xd7ec
movq %r14, %rdi
movl $0x2, %esi
callq 0x11412
movq 0x10(%r14), %rax
movzbl 0x6(%rax), %eax
addl $0x5, %eax
movl %eax, (%rbx)
movl $0xfffd, 0x30(%rbx)     # imm = 0xFFFD
movq %r14, %rdi
movq %rbx, %rsi
callq 0xd443
xorl %eax, %eax
jmp 0xd7fc
movl $0x8, (%rbx)
movl $0xffffffff, 0x30(%rbx) # imm = 0xFFFFFFFF
movq %r14, %rdi
movq %rbx, %rsi
callq 0xd443
jmp 0xd7f7
movq %r14, %rdi
movq %rbx, %rsi
callq 0x11472
movl $0x1, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/craigbarnes[P]lua-gumbo/lib/tokenizer.c
// Function: handle_tag_open_state
static StateResult handle_tag_open_state (
  GumboParser* parser,
  GumboTokenizerState* UNUSED_ARG(tokenizer),
  int c,
  GumboToken* output
) {
  assert(temporary_buffer_equals(parser, "<"));
  switch (c) {
    case '!':
      gumbo_tokenizer_set_state(parser, GUMBO_LEX_MARKUP_DECLARATION);
      clear_temporary_buffer(parser);
      return NEXT_CHAR;
    case '/':
      gumbo_tokenizer_set_state(parser, GUMBO_LEX_END_TAG_OPEN);
      append_char_to_temporary_buffer(parser, '/');
      return NEXT_CHAR;
    case '?':
      gumbo_tokenizer_set_state(parser, GUMBO_LEX_BOGUS_COMMENT);
      clear_temporary_buffer(parser);
      append_char_to_temporary_buffer(parser, '?');
      tokenizer_add_parse_error(parser, GUMBO_ERR_TAG_STARTS_WITH_QUESTION);
      return NEXT_CHAR;
    default:
      if (is_alpha(c)) {
        gumbo_tokenizer_set_state(parser, GUMBO_LEX_TAG_NAME);
        start_new_tag(parser, true);
        return NEXT_CHAR;
      } else {
        tokenizer_add_parse_error(parser, GUMBO_ERR_TAG_INVALID);
        gumbo_tokenizer_set_state(parser, GUMBO_LEX_DATA);
        emit_temporary_buffer(parser, output);
        return RETURN_ERROR;
      }
  }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq 0x10(%rdi), %rsi
cmpq $0x1, 0x18(%rsi)
jne 0xd8df
movq 0x10(%rsi), %rax
cmpb $0x3c, (%rax)
jne 0xd8df
movq %rdi, %rbx
cmpl $0x3f, %edx
je 0xd85c
cmpl $0x2f, %edx
je 0xd846
cmpl $0x21, %edx
jne 0xd88b
movl $0x2c, (%rsi)
movq %rbx, %rdi
callq 0x113c5
jmp 0xd8a9
movl $0x8, (%rsi)
addq $0x10, %rsi
movl $0x2f, %edi
callq 0x4322
jmp 0xd8a9
movl $0x2b, (%rsi)
movq %rbx, %rdi
callq 0x113c5
movq 0x10(%rbx), %rsi
addq $0x10, %rsi
movl $0x3f, %edi
callq 0x4322
movq %rbx, %rdi
movl $0x8, %esi
callq 0x11412
jmp 0xd8a9
orl $0x20, %edx
addl $-0x61, %edx
cmpl $0x19, %edx
ja 0xd8b6
movl $0x9, (%rsi)
movq %rbx, %rdi
movl $0x1, %esi
callq 0x115b5
movl $0x2, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq %rcx, %r14
movq %rbx, %rdi
movl $0xa, %esi
callq 0x11412
movq 0x10(%rbx), %rax
movl $0x0, (%rax)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x116e8
xorl %eax, %eax
jmp 0xd8ae
leaq 0x12027(%rip), %rdi     # 0x1f90d
leaq 0x11e57(%rip), %rsi     # 0x1f744
leaq 0x1203e(%rip), %rcx     # 0x1f932
movl $0x444, %edx            # imm = 0x444
callq 0x4100
// File: /workspace/github_c_makefile_star2_O1/craigbarnes[P]lua-gumbo/lib/tokenizer.c
// Function: handle_end_tag_open_state
static StateResult handle_end_tag_open_state (
  GumboParser* parser,
  GumboTokenizerState* UNUSED_ARG(tokenizer),
  int c,
  GumboToken* output
) {
  assert(temporary_buffer_equals(parser, "</"));
  switch (c) {
    case '>':
      tokenizer_add_parse_error(parser, GUMBO_ERR_CLOSE_TAG_EMPTY);
      gumbo_tokenizer_set_state(parser, GUMBO_LEX_DATA);
      return NEXT_CHAR;
    case -1:
      tokenizer_add_parse_error(parser, GUMBO_ERR_CLOSE_TAG_EOF);
      gumbo_tokenizer_set_state(parser, GUMBO_LEX_DATA);
      return emit_temporary_buffer(parser, output);
    default:
      if (is_alpha(c)) {
        gumbo_tokenizer_set_state(parser, GUMBO_LEX_TAG_NAME);
        start_new_tag(parser, false);
      } else {
        tokenizer_add_parse_error(parser, GUMBO_ERR_CLOSE_TAG_INVALID);
        gumbo_tokenizer_set_state(parser, GUMBO_LEX_BOGUS_COMMENT);
        clear_temporary_buffer(parser);
        append_char_to_temporary_buffer(parser, c);
      }
      return NEXT_CHAR;
  }
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq 0x10(%rdi), %rax
cmpq $0x2, 0x18(%rax)
jne 0xd9c9
movq %rcx, %r14
movq 0x10(%rax), %rcx
cmpw $0x2f3c, (%rcx)         # imm = 0x2F3C
jne 0xd9c9
movl %edx, %ebp
movq %rdi, %rbx
cmpl $-0x1, %edx
je 0xd94b
cmpl $0x3e, %ebp
jne 0xd972
movq %rbx, %rdi
movl $0xb, %esi
callq 0x11412
movq 0x10(%rbx), %rax
movl $0x0, (%rax)
jmp 0xd9bf
movq %rbx, %rdi
movl $0xc, %esi
callq 0x11412
movq 0x10(%rbx), %rax
movl $0x0, (%rax)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x116e8
movzbl %al, %eax
jmp 0xd9c4
movl %ebp, %ecx
orl $0x20, %ecx
addl $-0x61, %ecx
cmpl $0x19, %ecx
ja 0xd991
movl $0x9, (%rax)
movq %rbx, %rdi
xorl %esi, %esi
callq 0x115b5
jmp 0xd9bf
movq %rbx, %rdi
movl $0xd, %esi
callq 0x11412
movq 0x10(%rbx), %rax
movl $0x2b, (%rax)
movq %rbx, %rdi
callq 0x113c5
movq 0x10(%rbx), %rsi
addq $0x10, %rsi
movl %ebp, %edi
callq 0x4322
movl $0x2, %eax
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x12074(%rip), %rdi     # 0x1fa44
leaq 0x11d6d(%rip), %rsi     # 0x1f744
leaq 0x1208c(%rip), %rcx     # 0x1fa6a
movl $0x469, %edx            # imm = 0x469
callq 0x4100
// File: /workspace/github_c_makefile_star2_O1/craigbarnes[P]lua-gumbo/lib/tokenizer.c
// Function: handle_tag_name_state
static StateResult handle_tag_name_state (
  GumboParser* parser,
  GumboTokenizerState* UNUSED_ARG(tokenizer),
  int c,
  GumboToken* output
) {
  switch (c) {
    case '\t':
    case '\n':
    case '\f':
    case ' ':
      finish_tag_name(parser);
      gumbo_tokenizer_set_state(parser, GUMBO_LEX_BEFORE_ATTR_NAME);
      return NEXT_CHAR;
    case '/':
      finish_tag_name(parser);
      gumbo_tokenizer_set_state(parser, GUMBO_LEX_SELF_CLOSING_START_TAG);
      return NEXT_CHAR;
    case '>':
      finish_tag_name(parser);
      gumbo_tokenizer_set_state(parser, GUMBO_LEX_DATA);
      return emit_current_tag(parser, output);
    case '\0':
      tokenizer_add_parse_error(parser, GUMBO_ERR_UTF8_NULL);
      append_char_to_tag_buffer(parser, UNICODE_REPLACEMENT_CHAR, true);
      return NEXT_CHAR;
    case -1:
      tokenizer_add_parse_error(parser, GUMBO_ERR_TAG_EOF);
      abandon_current_tag(parser);
      gumbo_tokenizer_set_state(parser, GUMBO_LEX_DATA);
      return NEXT_CHAR;
    default:
      append_char_to_tag_buffer(parser, ensure_lowercase(c), true);
      return NEXT_CHAR;
  }
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
cmpl $0x3e, %edx
ja 0xda57
movq %rcx, %r14
movl %edx, %eax
movabsq $0x100001600, %rcx      # imm = 0x100001600
btq %rax, %rcx
jae 0xda20
movq %rbx, %rdi
callq 0x11741
movq 0x10(%rbx), %rax
movl $0x21, (%rax)
jmp 0xdb40
cmpq $0x2f, %rax
je 0xdb2e
cmpq $0x3e, %rax
jne 0xda57
movq %rbx, %rdi
callq 0x11741
movq 0x10(%rbx), %rax
movl $0x0, (%rax)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x117b0
movl $0x1, %ebp
jmp 0xdb45
cmpl $-0x1, %edx
je 0xdaba
testl %edx, %edx
jne 0xdadb
movl $0x2, %ebp
movq %rbx, %rdi
movl $0x2, %esi
callq 0x11412
movq 0x10(%rbx), %rsi
cmpq $0x0, 0x70(%rsi)
jne 0xdaa7
movq 0x120(%rsi), %rax
movq %rax, 0xa0(%rsi)
movups 0x110(%rsi), %xmm0
movups %xmm0, 0x90(%rsi)
movq 0xe8(%rsi), %rax
movq %rax, 0x80(%rsi)
addq $0x68, %rsi
movl $0xfffd, %edi           # imm = 0xFFFD
callq 0x4322
jmp 0xdb45
movq %rbx, %rdi
movl $0x9, %esi
callq 0x11412
movq %rbx, %rdi
callq 0x11914
movq 0x10(%rbx), %rax
movl $0x0, (%rax)
jmp 0xdb40
movzbl %dl, %eax
leaq 0xc66b(%rip), %rcx      # 0x1a150
movzbl (%rcx,%rax), %edi
andl $0x20, %edi
orl %eax, %edi
movq 0x10(%rbx), %rsi
cmpq $0x0, 0x70(%rsi)
jne 0xdb23
movq 0x120(%rsi), %rax
movq %rax, 0xa0(%rsi)
movups 0x110(%rsi), %xmm0
movups %xmm0, 0x90(%rsi)
movq 0xe8(%rsi), %rax
movq %rax, 0x80(%rsi)
addq $0x68, %rsi
callq 0x4322
jmp 0xdb40
movq %rbx, %rdi
callq 0x11741
movq 0x10(%rbx), %rax
movl $0x2a, (%rax)
movl $0x2, %ebp
movl %ebp, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O1/craigbarnes[P]lua-gumbo/lib/tokenizer.c
// Function: handle_rcdata_lt_state
static StateResult handle_rcdata_lt_state (
  GumboParser* parser,
  GumboTokenizerState* tokenizer,
  int c,
  GumboToken* output
) {
  assert(temporary_buffer_equals(parser, "<"));
  if (c == '/') {
    gumbo_tokenizer_set_state(parser, GUMBO_LEX_RCDATA_END_TAG_OPEN);
    append_char_to_temporary_buffer(parser, '/');
    return NEXT_CHAR;
  } else {
    gumbo_tokenizer_set_state(parser, GUMBO_LEX_RCDATA);
    tokenizer->_reconsume_current_input = true;
    return emit_temporary_buffer(parser, output);
  }
}

// Assembly:
pushq %rax
movq %rsi, %rax
movq 0x10(%rdi), %rsi
cmpq $0x1, 0x18(%rsi)
jne 0xdb9c
movq 0x10(%rsi), %r8
cmpb $0x3c, (%r8)
jne 0xdb9c
cmpl $0x2f, %edx
jne 0xdb85
movl $0xb, (%rsi)
addq $0x10, %rsi
movl $0x2f, %edi
callq 0x4322
movl $0x2, %eax
jmp 0xdb9a
movl $0x2, (%rsi)
movb $0x1, 0x4(%rax)
movq %rcx, %rsi
callq 0x116e8
movzbl %al, %eax
popq %rcx
retq
leaq 0x11d6a(%rip), %rdi     # 0x1f90d
leaq 0x11b9a(%rip), %rsi     # 0x1f744
leaq 0x11fdd(%rip), %rcx     # 0x1fb8e
movl $0x4ae, %edx            # imm = 0x4AE
callq 0x4100
// File: /workspace/github_c_makefile_star2_O1/craigbarnes[P]lua-gumbo/lib/tokenizer.c
// Function: handle_rcdata_end_tag_open_state
static StateResult handle_rcdata_end_tag_open_state (
  GumboParser* parser,
  GumboTokenizerState* UNUSED_ARG(tokenizer),
  int c,
  GumboToken* output
) {
  assert(temporary_buffer_equals(parser, "</"));
  if (is_alpha(c)) {
    gumbo_tokenizer_set_state(parser, GUMBO_LEX_RCDATA_END_TAG_NAME);
    start_new_tag(parser, false);
    append_char_to_temporary_buffer(parser, c);
    return NEXT_CHAR;
  } else {
    gumbo_tokenizer_set_state(parser, GUMBO_LEX_RCDATA);
    return emit_temporary_buffer(parser, output);
  }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq 0x10(%rdi), %rax
cmpq $0x2, 0x18(%rax)
jne 0xdc29
movl %edx, %ebx
movq 0x10(%rax), %rdx
cmpw $0x2f3c, (%rdx)         # imm = 0x2F3C
jne 0xdc29
movq %rdi, %r14
movl %ebx, %edx
orl $0x20, %edx
addl $-0x61, %edx
cmpl $0x19, %edx
ja 0xdc0d
movl $0xc, (%rax)
movq %r14, %rdi
xorl %esi, %esi
callq 0x115b5
movq 0x10(%r14), %rsi
addq $0x10, %rsi
movl %ebx, %edi
callq 0x4322
movl $0x2, %eax
jmp 0xdc21
movl $0x2, (%rax)
movq %r14, %rdi
movq %rcx, %rsi
callq 0x116e8
movzbl %al, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
leaq 0x11e14(%rip), %rdi     # 0x1fa44
leaq 0x11b0d(%rip), %rsi     # 0x1f744
leaq 0x11fac(%rip), %rcx     # 0x1fbea
movl $0x4c1, %edx            # imm = 0x4C1
callq 0x4100
// File: /workspace/github_c_makefile_star2_O1/craigbarnes[P]lua-gumbo/lib/tokenizer.c
// Function: handle_rcdata_end_tag_name_state
static StateResult handle_rcdata_end_tag_name_state (
  GumboParser* parser,
  GumboTokenizerState* tokenizer,
  int c,
  GumboToken* output
) {
  UNUSED_IF_NDEBUG(tokenizer);
  assert(tokenizer->_temporary_buffer.length >= 2);
  if (is_alpha(c)) {
    append_char_to_tag_buffer(parser, ensure_lowercase(c), true);
    append_char_to_temporary_buffer(parser, c);
    return NEXT_CHAR;
  } else if (is_appropriate_end_tag(parser)) {
    switch (c) {
      case '\t':
      case '\n':
      case '\f':
      case ' ':
        finish_tag_name(parser);
        gumbo_tokenizer_set_state(parser, GUMBO_LEX_BEFORE_ATTR_NAME);
        return NEXT_CHAR;
      case '/':
        finish_tag_name(parser);
        gumbo_tokenizer_set_state(parser, GUMBO_LEX_SELF_CLOSING_START_TAG);
        return NEXT_CHAR;
      case '>':
        finish_tag_name(parser);
        gumbo_tokenizer_set_state(parser, GUMBO_LEX_DATA);
        return emit_current_tag(parser, output);
    }
  }
  gumbo_tokenizer_set_state(parser, GUMBO_LEX_RCDATA);
  abandon_current_tag(parser);
  return emit_temporary_buffer(parser, output);
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
cmpq $0x1, 0x18(%rsi)
jbe 0xdd74
movl %edx, %ebp
movq %rdi, %rbx
movl %edx, %eax
orl $0x20, %eax
addl $-0x61, %eax
cmpl $0x19, %eax
ja 0xdccc
movzbl %bpl, %eax
leaq 0xc4dc(%rip), %rcx      # 0x1a150
movzbl (%rcx,%rax), %edi
andl $0x20, %edi
orl %eax, %edi
movq 0x10(%rbx), %rsi
cmpq $0x0, 0x70(%rsi)
jne 0xdcb2
movq 0x120(%rsi), %rax
movq %rax, 0xa0(%rsi)
movups 0x110(%rsi), %xmm0
movups %xmm0, 0x90(%rsi)
movq 0xe8(%rsi), %rax
movq %rax, 0x80(%rsi)
addq $0x68, %rsi
callq 0x4322
movq 0x10(%rbx), %rsi
addq $0x10, %rsi
movl %ebp, %edi
callq 0x4322
jmp 0xdd04
movq %rcx, %r14
movq %rbx, %rdi
callq 0x11971
testb %al, %al
je 0xdd3b
cmpl $0x3e, %ebp
ja 0xdd3b
movl %ebp, %eax
movabsq $0x100001600, %rcx      # imm = 0x100001600
btq %rax, %rcx
jae 0xdd0b
movq %rbx, %rdi
callq 0x11741
movq 0x10(%rbx), %rax
movl $0x21, (%rax)
movl $0x2, %eax
jmp 0xdd5b
cmpq $0x2f, %rax
je 0xdd60
cmpq $0x3e, %rax
jne 0xdd3b
movq %rbx, %rdi
callq 0x11741
movq 0x10(%rbx), %rax
movl $0x0, (%rax)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x117b0
movl $0x1, %eax
jmp 0xdd5b
movq 0x10(%rbx), %rax
movl $0x2, (%rax)
movq %rbx, %rdi
callq 0x11914
movq %rbx, %rdi
movq %r14, %rsi
callq 0x116e8
movzbl %al, %eax
popq %rbx
popq %r14
popq %rbp
retq
movq %rbx, %rdi
callq 0x11741
movq 0x10(%rbx), %rax
movl $0x2a, (%rax)
jmp 0xdd04
leaq 0x11ed5(%rip), %rdi     # 0x1fc50
leaq 0x119c2(%rip), %rsi     # 0x1f744
leaq 0x11ef0(%rip), %rcx     # 0x1fc79
movl $0x4d5, %edx            # imm = 0x4D5
callq 0x4100
// File: /workspace/github_c_makefile_star2_O1/craigbarnes[P]lua-gumbo/lib/tokenizer.c
// Function: handle_rawtext_lt_state
static StateResult handle_rawtext_lt_state (
  GumboParser* parser,
  GumboTokenizerState* tokenizer,
  int c,
  GumboToken* output
) {
  assert(temporary_buffer_equals(parser, "<"));
  if (c == '/') {
    gumbo_tokenizer_set_state(parser, GUMBO_LEX_RAWTEXT_END_TAG_OPEN);
    append_char_to_temporary_buffer(parser, '/');
    return NEXT_CHAR;
  } else {
    gumbo_tokenizer_set_state(parser, GUMBO_LEX_RAWTEXT);
    tokenizer->_reconsume_current_input = true;
    return emit_temporary_buffer(parser, output);
  }
}

// Assembly:
pushq %rax
movq %rsi, %rax
movq 0x10(%rdi), %rsi
cmpq $0x1, 0x18(%rsi)
jne 0xdde3
movq 0x10(%rsi), %r8
cmpb $0x3c, (%r8)
jne 0xdde3
cmpl $0x2f, %edx
jne 0xddcc
movl $0xe, (%rsi)
addq $0x10, %rsi
movl $0x2f, %edi
callq 0x4322
movl $0x2, %eax
jmp 0xdde1
movl $0x4, (%rsi)
movb $0x1, 0x4(%rax)
movq %rcx, %rsi
callq 0x116e8
movzbl %al, %eax
popq %rcx
retq
leaq 0x11b23(%rip), %rdi     # 0x1f90d
leaq 0x11953(%rip), %rsi     # 0x1f744
leaq 0x11f2d(%rip), %rcx     # 0x1fd25
movl $0x4f9, %edx            # imm = 0x4F9
callq 0x4100
// File: /workspace/github_c_makefile_star2_O1/craigbarnes[P]lua-gumbo/lib/tokenizer.c
// Function: handle_rawtext_end_tag_open_state
static StateResult handle_rawtext_end_tag_open_state (
  GumboParser* parser,
  GumboTokenizerState* UNUSED_ARG(tokenizer),
  int c,
  GumboToken* output
) {
  assert(temporary_buffer_equals(parser, "</"));
  if (is_alpha(c)) {
    gumbo_tokenizer_set_state(parser, GUMBO_LEX_RAWTEXT_END_TAG_NAME);
    start_new_tag(parser, false);
    append_char_to_temporary_buffer(parser, c);
    return NEXT_CHAR;
  } else {
    gumbo_tokenizer_set_state(parser, GUMBO_LEX_RAWTEXT);
    return emit_temporary_buffer(parser, output);
  }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq 0x10(%rdi), %rax
cmpq $0x2, 0x18(%rax)
jne 0xde70
movl %edx, %ebx
movq 0x10(%rax), %rdx
cmpw $0x2f3c, (%rdx)         # imm = 0x2F3C
jne 0xde70
movq %rdi, %r14
movl %ebx, %edx
orl $0x20, %edx
addl $-0x61, %edx
cmpl $0x19, %edx
ja 0xde54
movl $0xf, (%rax)
movq %r14, %rdi
xorl %esi, %esi
callq 0x115b5
movq 0x10(%r14), %rsi
addq $0x10, %rsi
movl %ebx, %edi
callq 0x4322
movl $0x2, %eax
jmp 0xde68
movl $0x4, (%rax)
movq %r14, %rdi
movq %rcx, %rsi
callq 0x116e8
movzbl %al, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
leaq 0x11bcd(%rip), %rdi     # 0x1fa44
leaq 0x118c6(%rip), %rsi     # 0x1f744
leaq 0x11efd(%rip), %rcx     # 0x1fd82
movl $0x50c, %edx            # imm = 0x50C
callq 0x4100
// File: /workspace/github_c_makefile_star2_O1/craigbarnes[P]lua-gumbo/lib/tokenizer.c
// Function: handle_rawtext_end_tag_name_state
static StateResult handle_rawtext_end_tag_name_state (
  GumboParser* parser,
  GumboTokenizerState* tokenizer,
  int c,
  GumboToken* output
) {
  assert(tokenizer->_temporary_buffer.length >= 2);
  gumbo_debug("Last end tag: %.*s\n", (int) tokenizer->_tag_state._buffer.length,
      tokenizer->_tag_state._buffer.data);
  if (is_alpha(c)) {
    append_char_to_tag_buffer(parser, ensure_lowercase(c), true);
    append_char_to_temporary_buffer(parser, c);
    return NEXT_CHAR;
  } else if (is_appropriate_end_tag(parser)) {
    gumbo_debug("Is an appropriate end tag.\n");
    switch (c) {
      case '\t':
      case '\n':
      case '\f':
      case ' ':
        finish_tag_name(parser);
        gumbo_tokenizer_set_state(parser, GUMBO_LEX_BEFORE_ATTR_NAME);
        return NEXT_CHAR;
      case '/':
        finish_tag_name(parser);
        gumbo_tokenizer_set_state(parser, GUMBO_LEX_SELF_CLOSING_START_TAG);
        return NEXT_CHAR;
      case '>':
        finish_tag_name(parser);
        gumbo_tokenizer_set_state(parser, GUMBO_LEX_DATA);
        return emit_current_tag(parser, output);
    }
  }
  gumbo_tokenizer_set_state(parser, GUMBO_LEX_RAWTEXT);
  abandon_current_tag(parser);
  return emit_temporary_buffer(parser, output);
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
cmpq $0x1, 0x18(%rsi)
jbe 0xdfbb
movl %edx, %ebp
movq %rdi, %rbx
movl %edx, %eax
orl $0x20, %eax
addl $-0x61, %eax
cmpl $0x19, %eax
ja 0xdf13
movzbl %bpl, %eax
leaq 0xc295(%rip), %rcx      # 0x1a150
movzbl (%rcx,%rax), %edi
andl $0x20, %edi
orl %eax, %edi
movq 0x10(%rbx), %rsi
cmpq $0x0, 0x70(%rsi)
jne 0xdef9
movq 0x120(%rsi), %rax
movq %rax, 0xa0(%rsi)
movups 0x110(%rsi), %xmm0
movups %xmm0, 0x90(%rsi)
movq 0xe8(%rsi), %rax
movq %rax, 0x80(%rsi)
addq $0x68, %rsi
callq 0x4322
movq 0x10(%rbx), %rsi
addq $0x10, %rsi
movl %ebp, %edi
callq 0x4322
jmp 0xdf4b
movq %rcx, %r14
movq %rbx, %rdi
callq 0x11971
testb %al, %al
je 0xdf82
cmpl $0x3e, %ebp
ja 0xdf82
movl %ebp, %eax
movabsq $0x100001600, %rcx      # imm = 0x100001600
btq %rax, %rcx
jae 0xdf52
movq %rbx, %rdi
callq 0x11741
movq 0x10(%rbx), %rax
movl $0x21, (%rax)
movl $0x2, %eax
jmp 0xdfa2
cmpq $0x2f, %rax
je 0xdfa7
cmpq $0x3e, %rax
jne 0xdf82
movq %rbx, %rdi
callq 0x11741
movq 0x10(%rbx), %rax
movl $0x0, (%rax)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x117b0
movl $0x1, %eax
jmp 0xdfa2
movq 0x10(%rbx), %rax
movl $0x4, (%rax)
movq %rbx, %rdi
callq 0x11914
movq %rbx, %rdi
movq %r14, %rsi
callq 0x116e8
movzbl %al, %eax
popq %rbx
popq %r14
popq %rbp
retq
movq %rbx, %rdi
callq 0x11741
movq 0x10(%rbx), %rax
movl $0x2a, (%rax)
jmp 0xdf4b
leaq 0x11c8e(%rip), %rdi     # 0x1fc50
leaq 0x1177b(%rip), %rsi     # 0x1f744
leaq 0x11e19(%rip), %rcx     # 0x1fde9
movl $0x51f, %edx            # imm = 0x51F
callq 0x4100
// File: /workspace/github_c_makefile_star2_O1/craigbarnes[P]lua-gumbo/lib/tokenizer.c
// Function: handle_script_lt_state
static StateResult handle_script_lt_state (
  GumboParser* parser,
  GumboTokenizerState* tokenizer,
  int c,
  GumboToken* output
) {
  assert(temporary_buffer_equals(parser, "<"));
  if (c == '/') {
    gumbo_tokenizer_set_state(parser, GUMBO_LEX_SCRIPT_END_TAG_OPEN);
    append_char_to_temporary_buffer(parser, '/');
    return NEXT_CHAR;
  } else if (c == '!') {
    gumbo_tokenizer_set_state(parser, GUMBO_LEX_SCRIPT_ESCAPED_START);
    append_char_to_temporary_buffer(parser, '!');
    return emit_temporary_buffer(parser, output);
  } else {
    gumbo_tokenizer_set_state(parser, GUMBO_LEX_SCRIPT);
    tokenizer->_reconsume_current_input = true;
    return emit_temporary_buffer(parser, output);
  }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rax
movq 0x10(%rdi), %rsi
cmpq $0x1, 0x18(%rsi)
jne 0xe056
movq %rcx, %rbx
movq 0x10(%rsi), %rcx
cmpb $0x3c, (%rcx)
jne 0xe056
movq %rdi, %r14
cmpl $0x21, %edx
je 0xe020
cmpl $0x2f, %edx
jne 0xe036
movl $0x11, (%rsi)
addq $0x10, %rsi
movl $0x2f, %edi
callq 0x4322
movl $0x2, %eax
jmp 0xe04e
movl $0x13, (%rsi)
addq $0x10, %rsi
movl $0x21, %edi
callq 0x4322
jmp 0xe040
movl $0x5, (%rsi)
movb $0x1, 0x4(%rax)
movq %r14, %rdi
movq %rbx, %rsi
callq 0x116e8
movzbl %al, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
leaq 0x118b0(%rip), %rdi     # 0x1f90d
leaq 0x116e0(%rip), %rsi     # 0x1f744
leaq 0x11de5(%rip), %rcx     # 0x1fe50
movl $0x546, %edx            # imm = 0x546
callq 0x4100
// File: /workspace/github_c_makefile_star2_O1/craigbarnes[P]lua-gumbo/lib/tokenizer.c
// Function: handle_script_end_tag_open_state
static StateResult handle_script_end_tag_open_state (
  GumboParser* parser,
  GumboTokenizerState* UNUSED_ARG(tokenizer),
  int c,
  GumboToken* output
) {
  assert(temporary_buffer_equals(parser, "</"));
  if (is_alpha(c)) {
    gumbo_tokenizer_set_state(parser, GUMBO_LEX_SCRIPT_END_TAG_NAME);
    start_new_tag(parser, false);
    append_char_to_temporary_buffer(parser, c);
    return NEXT_CHAR;
  } else {
    gumbo_tokenizer_set_state(parser, GUMBO_LEX_SCRIPT);
    return emit_temporary_buffer(parser, output);
  }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq 0x10(%rdi), %rax
cmpq $0x2, 0x18(%rax)
jne 0xe0e3
movl %edx, %ebx
movq 0x10(%rax), %rdx
cmpw $0x2f3c, (%rdx)         # imm = 0x2F3C
jne 0xe0e3
movq %rdi, %r14
movl %ebx, %edx
orl $0x20, %edx
addl $-0x61, %edx
cmpl $0x19, %edx
ja 0xe0c7
movl $0x12, (%rax)
movq %r14, %rdi
xorl %esi, %esi
callq 0x115b5
movq 0x10(%r14), %rsi
addq $0x10, %rsi
movl %ebx, %edi
callq 0x4322
movl $0x2, %eax
jmp 0xe0db
movl $0x5, (%rax)
movq %r14, %rdi
movq %rcx, %rsi
callq 0x116e8
movzbl %al, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
leaq 0x1195a(%rip), %rdi     # 0x1fa44
leaq 0x11653(%rip), %rsi     # 0x1f744
leaq 0x11db4(%rip), %rcx     # 0x1feac
movl $0x55d, %edx            # imm = 0x55D
callq 0x4100
// File: /workspace/github_c_makefile_star2_O1/craigbarnes[P]lua-gumbo/lib/tokenizer.c
// Function: handle_script_escaped_start_state
static StateResult handle_script_escaped_start_state (
  GumboParser* parser,
  GumboTokenizerState* tokenizer,
  int c,
  GumboToken* output
) {
  if (c == '-') {
    gumbo_tokenizer_set_state(parser, GUMBO_LEX_SCRIPT_ESCAPED_START_DASH);
    return emit_current_char(parser, output);
  } else {
    gumbo_tokenizer_set_state(parser, GUMBO_LEX_SCRIPT);
    tokenizer->_reconsume_current_input = true;
    return NEXT_CHAR;
  }
}

// Assembly:
movq 0x10(%rdi), %rax
cmpl $0x2d, %edx
jne 0xe26f
pushq %rax
movl $0x14, (%rax)
movq %rcx, %rsi
callq 0x11472
movl $0x1, %eax
addq $0x8, %rsp
retq
movl $0x5, (%rax)
movb $0x1, 0x4(%rsi)
movl $0x2, %eax
retq
// File: /workspace/github_c_makefile_star2_O1/craigbarnes[P]lua-gumbo/lib/tokenizer.c
// Function: handle_script_escaped_start_dash_state
static StateResult handle_script_escaped_start_dash_state (
  GumboParser* parser,
  GumboTokenizerState* tokenizer,
  int c,
  GumboToken* output
) {
  if (c == '-') {
    gumbo_tokenizer_set_state(parser, GUMBO_LEX_SCRIPT_ESCAPED_DASH_DASH);
    return emit_current_char(parser, output);
  } else {
    gumbo_tokenizer_set_state(parser, GUMBO_LEX_SCRIPT);
    tokenizer->_reconsume_current_input = true;
    return NEXT_CHAR;
  }
}

// Assembly:
movq 0x10(%rdi), %rax
cmpl $0x2d, %edx
jne 0xe2a1
pushq %rax
movl $0x17, (%rax)
movq %rcx, %rsi
callq 0x11472
movl $0x1, %eax
addq $0x8, %rsp
retq
movl $0x5, (%rax)
movb $0x1, 0x4(%rsi)
movl $0x2, %eax
retq
// File: /workspace/github_c_makefile_star2_O1/craigbarnes[P]lua-gumbo/lib/tokenizer.c
// Function: handle_script_escaped_state
static StateResult handle_script_escaped_state (
  GumboParser* parser,
  GumboTokenizerState* UNUSED_ARG(tokenizer),
  int c,
  GumboToken* output
) {
  switch (c) {
    case '-':
      gumbo_tokenizer_set_state(parser, GUMBO_LEX_SCRIPT_ESCAPED_DASH);
      return emit_current_char(parser, output);
    case '<':
      gumbo_tokenizer_set_state(parser, GUMBO_LEX_SCRIPT_ESCAPED_LT);
      clear_temporary_buffer(parser);
      append_char_to_temporary_buffer(parser, c);
      return NEXT_CHAR;
    case '\0':
      return emit_replacement_char(parser, output);
    case -1:
      tokenizer_add_parse_error(parser, GUMBO_ERR_SCRIPT_EOF);
      return emit_eof(parser, output);
    default:
      return emit_current_char(parser, output);
  }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rcx, %r14
movq %rdi, %rbx
cmpl $0x2c, %edx
jg 0xe2fb
cmpl $-0x1, %edx
je 0xe31c
testl %edx, %edx
jne 0xe30f
movq %rbx, %rdi
movl $0x2, %esi
callq 0x11412
movq 0x10(%rbx), %rax
movzbl 0x6(%rax), %eax
addl $0x5, %eax
movl %eax, (%r14)
movl $0xfffd, 0x30(%r14)     # imm = 0xFFFD
movq %rbx, %rdi
movq %r14, %rsi
callq 0xd443
xorl %eax, %eax
jmp 0xe373
cmpl $0x3c, %edx
je 0xe34a
cmpl $0x2d, %edx
jne 0xe30f
movq 0x10(%rbx), %rax
movl $0x16, (%rax)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x11472
jmp 0xe343
movq %rbx, %rdi
movl $0xe, %esi
callq 0x11412
movl $0x8, (%r14)
movl $0xffffffff, 0x30(%r14) # imm = 0xFFFFFFFF
movq %rbx, %rdi
movq %r14, %rsi
callq 0xd443
movl $0x1, %eax
jmp 0xe373
movq 0x10(%rbx), %rax
movl $0x18, (%rax)
movq %rbx, %rdi
callq 0x113c5
movq 0x10(%rbx), %rsi
addq $0x10, %rsi
movl $0x3c, %edi
callq 0x4322
movl $0x2, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/craigbarnes[P]lua-gumbo/lib/tokenizer.c
// Function: handle_script_escaped_dash_state
static StateResult handle_script_escaped_dash_state (
  GumboParser* parser,
  GumboTokenizerState* UNUSED_ARG(tokenizer),
  int c,
  GumboToken* output
) {
  switch (c) {
    case '-':
      gumbo_tokenizer_set_state(parser, GUMBO_LEX_SCRIPT_ESCAPED_DASH_DASH);
      return emit_current_char(parser, output);
    case '<':
      gumbo_tokenizer_set_state(parser, GUMBO_LEX_SCRIPT_ESCAPED_LT);
      clear_temporary_buffer(parser);
      append_char_to_temporary_buffer(parser, c);
      return NEXT_CHAR;
    case '\0':
      gumbo_tokenizer_set_state(parser, GUMBO_LEX_SCRIPT_ESCAPED);
      return emit_replacement_char(parser, output);
    case -1:
      tokenizer_add_parse_error(parser, GUMBO_ERR_SCRIPT_EOF);
      gumbo_tokenizer_set_state(parser, GUMBO_LEX_DATA);
      return NEXT_CHAR;
    default:
      gumbo_tokenizer_set_state(parser, GUMBO_LEX_SCRIPT_ESCAPED);
      return emit_current_char(parser, output);
  }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rcx, %r14
movq %rdi, %rbx
cmpl $0x2c, %edx
jg 0xe3cf
cmpl $-0x1, %edx
je 0xe401
testl %edx, %edx
jne 0xe3e5
movq 0x10(%rbx), %rax
movl $0x15, (%rax)
movq %rbx, %rdi
movl $0x2, %esi
callq 0x11412
movq 0x10(%rbx), %rax
movzbl 0x6(%rax), %eax
addl $0x5, %eax
movl %eax, (%r14)
movl $0xfffd, 0x30(%r14)     # imm = 0xFFFD
movq %rbx, %rdi
movq %r14, %rsi
callq 0xd443
xorl %eax, %eax
jmp 0xe443
cmpl $0x3c, %edx
je 0xe41a
cmpl $0x2d, %edx
jne 0xe3e5
movq 0x10(%rbx), %rax
movl $0x17, (%rax)
jmp 0xe3ef
movq 0x10(%rbx), %rax
movl $0x15, (%rax)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x11472
movl $0x1, %eax
jmp 0xe443
movq %rbx, %rdi
movl $0xe, %esi
callq 0x11412
movq 0x10(%rbx), %rax
movl $0x0, (%rax)
jmp 0xe43e
movq 0x10(%rbx), %rax
movl $0x18, (%rax)
movq %rbx, %rdi
callq 0x113c5
movq 0x10(%rbx), %rsi
addq $0x10, %rsi
movl $0x3c, %edi
callq 0x4322
movl $0x2, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/craigbarnes[P]lua-gumbo/lib/tokenizer.c
// Function: handle_script_escaped_dash_dash_state
static StateResult handle_script_escaped_dash_dash_state (
  GumboParser* parser,
  GumboTokenizerState* UNUSED_ARG(tokenizer),
  int c,
  GumboToken* output
) {
  switch (c) {
    case '-':
      return emit_current_char(parser, output);
    case '<':
      gumbo_tokenizer_set_state(parser, GUMBO_LEX_SCRIPT_ESCAPED_LT);
      clear_temporary_buffer(parser);
      append_char_to_temporary_buffer(parser, c);
      return NEXT_CHAR;
    case '>':
      gumbo_tokenizer_set_state(parser, GUMBO_LEX_SCRIPT);
      return emit_current_char(parser, output);
    case '\0':
      gumbo_tokenizer_set_state(parser, GUMBO_LEX_SCRIPT_ESCAPED);
      return emit_replacement_char(parser, output);
    case -1:
      tokenizer_add_parse_error(parser, GUMBO_ERR_SCRIPT_EOF);
      gumbo_tokenizer_set_state(parser, GUMBO_LEX_DATA);
      return NEXT_CHAR;
    default:
      gumbo_tokenizer_set_state(parser, GUMBO_LEX_SCRIPT_ESCAPED);
      return emit_current_char(parser, output);
  }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rcx, %r14
movq %rdi, %rbx
cmpl $0x2c, %edx
jle 0xe472
cmpl $0x3e, %edx
je 0xe4bb
cmpl $0x3c, %edx
je 0xe4c7
cmpl $0x2d, %edx
je 0xe515
jmp 0xe50b
cmpl $-0x1, %edx
je 0xe4ed
testl %edx, %edx
jne 0xe50b
movq 0x10(%rbx), %rax
movl $0x15, (%rax)
movq %rbx, %rdi
movl $0x2, %esi
callq 0x11412
movq 0x10(%rbx), %rax
movzbl 0x6(%rax), %eax
addl $0x5, %eax
movl %eax, (%r14)
movl $0xfffd, 0x30(%r14)     # imm = 0xFFFD
movq %rbx, %rdi
movq %r14, %rsi
callq 0xd443
xorl %eax, %eax
jmp 0xe525
movq 0x10(%rbx), %rax
movl $0x5, (%rax)
jmp 0xe515
movq 0x10(%rbx), %rax
movl $0x18, (%rax)
movq %rbx, %rdi
callq 0x113c5
movq 0x10(%rbx), %rsi
addq $0x10, %rsi
movl $0x3c, %edi
callq 0x4322
jmp 0xe504
movq %rbx, %rdi
movl $0xe, %esi
callq 0x11412
movq 0x10(%rbx), %rax
movl $0x0, (%rax)
movl $0x2, %eax
jmp 0xe525
movq 0x10(%rbx), %rax
movl $0x15, (%rax)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x11472
movl $0x1, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O1/craigbarnes[P]lua-gumbo/lib/tokenizer.c
// Function: handle_script_escaped_lt_state
static StateResult handle_script_escaped_lt_state (
  GumboParser* parser,
  GumboTokenizerState* tokenizer,
  int c,
  GumboToken* output
) {
  assert(temporary_buffer_equals(parser, "<"));
  assert(!tokenizer->_script_data_buffer.length);
  if (c == '/') {
    gumbo_tokenizer_set_state(parser, GUMBO_LEX_SCRIPT_ESCAPED_END_TAG_OPEN);
    append_char_to_temporary_buffer(parser, c);
    return NEXT_CHAR;
  } else if (is_alpha(c)) {
    gumbo_tokenizer_set_state(parser, GUMBO_LEX_SCRIPT_DOUBLE_ESCAPED_START);
    append_char_to_temporary_buffer(parser, c);
    gumbo_string_buffer_append_codepoint (
      ensure_lowercase(c),
      &tokenizer->_script_data_buffer
    );
    return emit_temporary_buffer(parser, output);
  } else {
    gumbo_tokenizer_set_state(parser, GUMBO_LEX_SCRIPT_ESCAPED);
    return emit_temporary_buffer(parser, output);
  }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r15
movq 0x10(%rdi), %rsi
cmpq $0x1, 0x18(%rsi)
jne 0xe5e5
movq 0x10(%rsi), %rax
cmpb $0x3c, (%rax)
jne 0xe5e5
cmpq $0x0, 0x38(%r15)
jne 0xe604
movl %edx, %ebp
cmpl $0x2f, %edx
jne 0xe580
movl $0x19, (%rsi)
addq $0x10, %rsi
movl $0x2f, %edi
callq 0x4322
movl $0x2, %eax
jmp 0xe5da
movq %rcx, %rbx
movq %rdi, %r14
movl %ebp, %eax
orl $0x20, %eax
addl $-0x61, %eax
cmpl $0x19, %eax
ja 0xe5c6
addq $0x30, %r15
movl $0x1b, (%rsi)
addq $0x10, %rsi
movl %ebp, %edi
callq 0x4322
movzbl %bpl, %eax
leaq 0xbb9d(%rip), %rcx      # 0x1a150
movzbl (%rcx,%rax), %edi
andl $0x20, %edi
orl %eax, %edi
movq %r15, %rsi
callq 0x4322
jmp 0xe5cc
movl $0x15, (%rsi)
movq %r14, %rdi
movq %rbx, %rsi
callq 0x116e8
movzbl %al, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0x11321(%rip), %rdi     # 0x1f90d
leaq 0x11151(%rip), %rsi     # 0x1f744
leaq 0x1197e(%rip), %rcx     # 0x1ff78
movl $0x60d, %edx            # imm = 0x60D
callq 0x4100
leaq 0x119d1(%rip), %rdi     # 0x1ffdc
leaq 0x11132(%rip), %rsi     # 0x1f744
leaq 0x1195f(%rip), %rcx     # 0x1ff78
movl $0x60e, %edx            # imm = 0x60E
callq 0x4100
// File: /workspace/github_c_makefile_star2_O1/craigbarnes[P]lua-gumbo/lib/tokenizer.c
// Function: handle_script_escaped_end_tag_open_state
static StateResult handle_script_escaped_end_tag_open_state (
  GumboParser* parser,
  GumboTokenizerState* UNUSED_ARG(tokenizer),
  int c,
  GumboToken* output
) {
  assert(temporary_buffer_equals(parser, "</"));
  if (is_alpha(c)) {
    gumbo_tokenizer_set_state(parser, GUMBO_LEX_SCRIPT_ESCAPED_END_TAG_NAME);
    start_new_tag(parser, false);
    append_char_to_temporary_buffer(parser, c);
    return NEXT_CHAR;
  } else {
    gumbo_tokenizer_set_state(parser, GUMBO_LEX_SCRIPT_ESCAPED);
    return emit_temporary_buffer(parser, output);
  }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq 0x10(%rdi), %rax
cmpq $0x2, 0x18(%rax)
jne 0xe691
movl %edx, %ebx
movq 0x10(%rax), %rdx
cmpw $0x2f3c, (%rdx)         # imm = 0x2F3C
jne 0xe691
movq %rdi, %r14
movl %ebx, %edx
orl $0x20, %edx
addl $-0x61, %edx
cmpl $0x19, %edx
ja 0xe675
movl $0x1a, (%rax)
movq %r14, %rdi
xorl %esi, %esi
callq 0x115b5
movq 0x10(%r14), %rsi
addq $0x10, %rsi
movl %ebx, %edi
callq 0x4322
movl $0x2, %eax
jmp 0xe689
movl $0x15, (%rax)
movq %r14, %rdi
movq %rcx, %rsi
callq 0x116e8
movzbl %al, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
leaq 0x113ac(%rip), %rdi     # 0x1fa44
leaq 0x110a5(%rip), %rsi     # 0x1f744
leaq 0x1195d(%rip), %rcx     # 0x20003
movl $0x628, %edx            # imm = 0x628
callq 0x4100