// File: /workspace/github_c_makefile_star2_O3/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 0x9ad5
leaq 0xfc0a(%rip), %rcx      # 0x1964c
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq %rbx, %rdi
jmp 0x9b08
movl 0x30(%r14), %eax
cmpl $0x62, %eax
je 0x9b5d
cmpl $0x9, %eax
je 0x9b4b
testl %eax, %eax
jne 0x9ad5
movq %rbx, %rdi
movq %r14, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x4ece
movq %rbx, %rdi
movq %r14, %rsi
callq 0xaf71
jmp 0x9b78
movl 0x30(%r14), %eax
cmpl $0x9, %eax
je 0x9b4b
cmpl $0x62, %eax
je 0x9a4b
cmpl $0x61, %eax
jne 0x9ad5
movq %rbx, %rdi
callq 0x7d33
movq %rax, %rdi
xorl %esi, %esi
movl $0x61, %edx
callq 0x8739
movq %rbx, %rdi
testb %al, %al
je 0x9b08
callq 0xaffb
movq 0x18(%rbx), %rax
movl $0x8, (%rax)
jmp 0x9b2f
movq %rbx, %rdi
callq 0x7d33
movq %rax, %rdi
xorl %esi, %esi
movl $0x61, %edx
callq 0x8739
movq %rbx, %rdi
testb %al, %al
je 0x9b08
callq 0xaffb
movq 0x18(%rbx), %rax
movl $0x8, (%rax)
movb $0x1, 0x50(%rax)
jmp 0x9b78
movq %r14, %rsi
callq 0x7d9d
movq 0x18(%rbx), %rax
movq 0x98(%rax), %rbx
movq %rbx, %rdi
callq 0xc990
cmpl $0x1, (%rbx)
jne 0x9b2f
xorps %xmm0, %xmm0
movups %xmm0, 0x38(%rbx)
xorl %eax, %eax
jmp 0x9b7a
movq %rbx, %rdi
callq 0x7d33
movq %rbx, %rdi
movq %rax, %rsi
movq %r14, %rdx
callq 0xac3d
jmp 0x9b78
movq %rbx, %rdi
movq %r14, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x8de1
movq %rbx, %rdi
movq %r14, %rsi
callq 0xade5
movq %rbx, %rdi
callq 0xaffb
movq 0x18(%rbx), %rax
movb $0x1, 0x51(%rax)
movb $0x1, %al
addq $0x8, %rsp
popq %rbx
popq %r14
retq