// File: /workspace/github_c_makefile_star2_O1/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
testl %eax, %eax
je 0xa14d
cmpl $0x3, %eax
je 0xa0b0
cmpl $0x4, %eax
jne 0xa0cd
movq %rbx, %rdi
movq %r14, %rsi
callq 0xb82b
jmp 0xa0c6
movq %rbx, %rdi
callq 0x8107
movq %rbx, %rdi
movq %rax, %rsi
movq %r14, %rdx
callq 0xb4a3
movb $0x1, %al
jmp 0xa179
cmpl $0x1, %eax
jne 0xa106
cmpl $0x0, 0x30(%r14)
je 0xa1b0
cmpl $0x1, %eax
jne 0xa106
cmpl $0x62, 0x30(%r14)
jne 0xa106
movq %rbx, %rdi
movq %r14, %rsi
callq 0xb69f
movq %rbx, %rdi
callq 0xb8b5
movq 0x18(%rbx), %rax
movb $0x1, 0x51(%rax)
jmp 0xa0c6
cmpl $0x2, %eax
jne 0xa181
cmpl $0x61, 0x30(%r14)
jne 0xa141
movq %rbx, %rdi
callq 0x8107
movq %rax, %rdi
xorl %esi, %esi
movl $0x61, %edx
callq 0x8b69
movq %rbx, %rdi
testb %al, %al
je 0xa150
callq 0xb8b5
movq 0x18(%rbx), %rax
movl $0x8, (%rax)
jmp 0xa177
cmpl $0x2, %eax
jne 0xa181
cmpl $0x62, 0x30(%r14)
jne 0xa181
movq %rbx, %rdi
movq %r14, %rsi
callq 0x8171
movq 0x18(%rbx), %rax
movq 0x98(%rax), %rbx
movq %rbx, %rdi
callq 0xd3c9
cmpl $0x1, (%rbx)
jne 0xa177
xorps %xmm0, %xmm0
movups %xmm0, 0x38(%rbx)
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
cmpl $0x1, %eax
jne 0xa18d
cmpl $0x9, 0x30(%r14)
je 0xa199
cmpl $0x2, %eax
jne 0xa1ab
cmpl $0x9, 0x30(%r14)
jne 0xa1ab
movq %rbx, %rdi
movq %r14, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x91d5
cmpl $0x8, %eax
jne 0xa1c2
movq %rbx, %rdi
movq %r14, %rsi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x4fa2
movq %rbx, %rdi
callq 0x8107
movq %rax, %rdi
xorl %esi, %esi
movl $0x61, %edx
callq 0x8b69
movq %rbx, %rdi
testb %al, %al
je 0xa150
callq 0xb8b5
movq 0x18(%rbx), %rax
movl $0x8, (%rax)
movb $0x1, 0x50(%rax)
jmp 0xa0c6