// File: /workspace/github_c_makefile_star2_O2/craigbarnes[P]lua-gumbo/lib/parser.c
// Function: handle_in_column_group
static bool handle_in_column_group(GumboParser* parser, GumboToken* token) {
  if (token->type == GUMBO_TOKEN_WHITESPACE) {
    insert_text_token(parser, token);
    return true;
  } else if (token->type == GUMBO_TOKEN_DOCTYPE) {
    parser_add_parse_error(parser, token);
    ignore_token(parser);
    return false;
  } else if (token->type == GUMBO_TOKEN_COMMENT) {
    append_comment_node(parser, get_current_node(parser), token);
    return true;
  } else if (tag_is(token, kStartTag, GUMBO_TAG_HTML)) {
    return handle_in_body(parser, token);
  } else if (tag_is(token, kStartTag, GUMBO_TAG_COL)) {
    insert_element_from_token(parser, token);
    pop_current_node(parser);
    acknowledge_self_closing_tag(parser);
    return true;
  } else if (tag_is(token, kEndTag, GUMBO_TAG_COLGROUP)) {
    if (!node_html_tag_is(get_current_node(parser), GUMBO_TAG_COLGROUP)) {
      parser_add_parse_error(parser, token);
      ignore_token(parser);
      return false;
    }
    pop_current_node(parser);
    set_insertion_mode(parser, GUMBO_INSERTION_MODE_IN_TABLE);
    return false;
  } else if (tag_is(token, kEndTag, GUMBO_TAG_COL)) {
    parser_add_parse_error(parser, token);
    ignore_token(parser);
    return false;
  } else if (
    tag_is(token, kStartTag, GUMBO_TAG_TEMPLATE)
    || tag_is(token, kEndTag, GUMBO_TAG_TEMPLATE)
  ) {
    return handle_in_head(parser, token);
  } else if (token->type == GUMBO_TOKEN_EOF) {
    return handle_in_body(parser, token);
  } else {
    if (!node_html_tag_is(get_current_node(parser), GUMBO_TAG_COLGROUP)) {
      parser_add_parse_error(parser, token);
      ignore_token(parser);
      return false;
    }
    pop_current_node(parser);
    set_insertion_mode(parser, GUMBO_INSERTION_MODE_IN_TABLE);
    parser->_parser_state->_reprocess_current_token = true;
    return true;
  }
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movl (%rsi), %eax
cmpq $0x8, %rax
ja 0x9489
leaq 0xe1da(%rip), %rcx      # 0x175dc
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl 0x30(%r14), %eax
cmpl $0x62, %eax
je 0x94f9
cmpl $0x9, %eax
je 0x94e7
testl %eax, %eax
jne 0x9489
movq %rbx, %rdi
movq %r14, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x4d63
movq %rbx, %rdi
movq %r14, %rsi
callq 0xa59b
jmp 0x9514
movl 0x30(%r14), %eax
cmpl $0x9, %eax
je 0x94e7
cmpl $0x62, %eax
je 0x94b8
cmpl $0x61, %eax
jne 0x9489
movq %rbx, %rdi
callq 0x7913
pushq $0x61
popq %rsi
movq %rax, %rdi
callq 0x82b7
testb %al, %al
je 0x94b8
movq %rbx, %rdi
callq 0xa620
movq 0x18(%rbx), %rax
movl $0x8, (%rax)
jmp 0x94cb
movq %rbx, %rdi
callq 0x7913
pushq $0x61
popq %rsi
movq %rax, %rdi
callq 0x82b7
testb %al, %al
je 0x94b8
movq %rbx, %rdi
callq 0xa620
movq 0x18(%rbx), %rax
movl $0x8, (%rax)
movb $0x1, 0x50(%rax)
jmp 0x9514
movq %rbx, %rdi
movq %r14, %rsi
callq 0x797d
movq %rbx, %rdi
callq 0x83cf
xorl %eax, %eax
jmp 0x9516
movq %rbx, %rdi
callq 0x7913
movq %rbx, %rdi
movq %rax, %rsi
movq %r14, %rdx
callq 0xa2ca
jmp 0x9514
movq %rbx, %rdi
movq %r14, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x8893
movq %rbx, %rdi
movq %r14, %rsi
callq 0xa439
movq %rbx, %rdi
callq 0xa620
movq 0x18(%rbx), %rax
movb $0x1, 0x51(%rax)
movb $0x1, %al
addq $0x8, %rsp
popq %rbx
popq %r14
retq