LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O3/justy989[P]ce/ce_syntax.c
// Function: match_c_character_literal
static int64_t match_c_character_literal(const char* str){
     // c character literals are one character long unless that character is escaped
     // in which case the literal will be 2 characters long before we see an end '
     if(*str == '\''){
          switch(str[1]){
          case 0: return 0;
          case '\'': return 2;
          case '\\':
               // our next character is escaped. skip it unless its the end of the string
               if(!str[2]) return 0;

               // our next character must be an end quote or we are not in a character literal
               if(str[3] == '\'') return 4;
               return 0;
          default:
               if(str[2] == '\'') return 3;
          }
     }

     return 0;
}

// Assembly:
cmpb $0x27, (%rdi)
jne 0x20640
movzbl 0x1(%rdi), %eax
testl %eax, %eax
je 0x20642
cmpl $0x5c, %eax
je 0x20622
cmpl $0x27, %eax
jne 0x20635
movl $0x2, %eax
retq
cmpb $0x0, 0x2(%rdi)
je 0x20640
xorl %eax, %eax
cmpb $0x27, 0x3(%rdi)
sete %al
shll $0x2, %eax
retq
movl $0x3, %eax
cmpb $0x27, 0x2(%rdi)
je 0x20642
xorl %eax, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/justy989[P]ce/ce_syntax.c
// Function: match_c_preproc
static int64_t match_c_preproc(const char* str){
     if(*str == '#'){
          const char* itr = str + 1;
          while(*itr){
               if(!isalpha((int)(*itr))) break;
               itr++;
          }

          return itr - str;
     }

     return 0;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
cmpb $0x23, (%rdi)
jne 0x2083f
movq %rdi, %r14
movl $0x1, %eax
movq %rax, %rbx
movsbq (%r14,%rax), %r15
testq %r15, %r15
je 0x20841
callq 0xd720
movq (%rax), %rcx
leaq 0x1(%rbx), %rax
testb $0x4, 0x1(%rcx,%r15,2)
jne 0x2081c
jmp 0x20841
xorl %ebx, %ebx
movq %rbx, %rax
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/justy989[P]ce/ce_syntax.c
// Function: match_cpp_namespace
static int64_t match_cpp_namespace(const char* str, const char* beginning_of_line){
     bool saw_colon = false;
     bool saw_alpha = false;
     const char* itr = str;
     while(*itr){
          if(isalpha((int)(*itr)) || *itr == '_'){
               if(saw_colon) break;
               saw_alpha = true;
          }else if(*itr == ':'){
               if(!saw_alpha) break;

               if(!saw_colon){
                    saw_colon = true;
               }else{
                    return (itr - str) - 1;
               }
          }else{
               break;
          }
          itr++;
     }

     return 0;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movb (%rdi), %bpl
testb %bpl, %bpl
je 0x20e6f
movq %rdi, %rbx
callq 0xd720
movq (%rax), %rcx
movq $-0x1, %rax
xorl %esi, %esi
xorl %edx, %edx
cmpb $0x5f, %bpl
je 0x20e5a
movsbq %bpl, %rdi
movzwl (%rcx,%rdi,2), %edi
andl $0x400, %edi            # imm = 0x400
jne 0x20e5a
cmpb $0x3a, %bpl
setne %dil
notb %sil
orb %dil, %sil
testb $0x1, %sil
jne 0x20e6f
testb $0x1, %dl
movb $0x1, %dl
je 0x20e5f
jmp 0x20e71
testb $0x1, %dl
jne 0x20e6f
movb 0x2(%rbx,%rax), %bpl
incq %rax
movb $0x1, %sil
testb %bpl, %bpl
jne 0x20e27
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/justy989[P]ce/ce_syntax.c
// Function: match_python_docstring
static int64_t match_python_docstring(const char* str, PythonDocstring_t* python_docstring){
     if(strncmp(str, "\"\"\"", 3) == 0){
          *python_docstring = PYTHON_DOCSTRING_DOUBLE_QUOTE;
          char* match = strstr(str, "\"\"\"");
          if(match) return ce_utf8_strlen_between(str, match);
          return ce_utf8_strlen(str);
     }

     if(strncmp(str, "'''", 3) == 0){
          *python_docstring = PYTHON_DOCSTRING_SINGLE_QUOTE;
          char* match = strstr(str, "'''");
          if(match) return ce_utf8_strlen_between(str, match);
          return ce_utf8_strlen(str);
     }

     return 0;
}

// Assembly:
pushq %rbx
movq %rdi, %rbx
movzbl (%rdi), %eax
cmpl $0x27, %eax
je 0x21887
cmpl $0x22, %eax
jne 0x218b9
cmpb $0x22, 0x1(%rbx)
jne 0x218b9
cmpb $0x22, 0x2(%rbx)
jne 0x218b9
movl $0x2, (%rsi)
leaq 0xe695(%rip), %rsi      # 0x2ff1a
jmp 0x218a0
cmpb $0x27, 0x1(%rbx)
jne 0x218b9
cmpb $0x27, 0x2(%rbx)
jne 0x218b9
movl $0x1, (%rsi)
leaq 0xe67e(%rip), %rsi      # 0x2ff1e
movq %rbx, %rdi
callq 0xd6f0
movq %rbx, %rdi
testq %rax, %rax
je 0x218bd
movq %rax, %rsi
popq %rbx
jmp 0xff7f
xorl %eax, %eax
popq %rbx
retq
popq %rbx
jmp 0xe445
// File: /workspace/github_c_makefile_star2_O3/justy989[P]ce/ce_syntax.c
// Function: match_python_string
static int64_t match_python_string(const char* str){
     if(*str == '\'' || *str == '"'){
          const char* match = str;
          while(match){
               match = strchr(match + 1, *str);
               if(match && *(match - 1) != '\\'){
                    return ce_utf8_strlen_between(str, match);
               }
          }
     }

     return 0;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movzbl (%rdi), %ebp
cmpl $0x27, %ebp
je 0x218d6
cmpl $0x22, %ebp
jne 0x21902
movq %rbx, %rax
incq %rax
movq %rax, %rdi
movl %ebp, %esi
callq 0xd230
testq %rax, %rax
je 0x21902
cmpb $0x5c, -0x1(%rax)
je 0x218d9
movq %rbx, %rdi
movq %rax, %rsi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0xff7f
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/justy989[P]ce/ce_syntax.c
// Function: utf8_strlen_until_trailing_whitespace
static int64_t utf8_strlen_until_trailing_whitespace(const char* str){
     const char* itr = str;
     while(*itr) itr++;
     itr--;
     while(itr > str && *itr && isblank((int)(*itr))) itr--;
     return ce_utf8_strlen_between(str, itr);
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
leaq -0x2(%rdi), %rax
cmpb $0x0, 0x2(%rax)
leaq 0x1(%rax), %rax
jne 0x224a2
jmp 0x224ca
movsbq (%r14), %r15
testq %r15, %r15
je 0x224d2
callq 0xd720
movq (%rax), %rcx
leaq -0x1(%r14), %rax
testb $0x1, (%rcx,%r15,2)
je 0x224d2
movq %rax, %r14
cmpq %rbx, %rax
ja 0x224ae
movq %rbx, %rdi
movq %r14, %rsi
popq %rbx
popq %r14
popq %r15
jmp 0xff7f
// File: /workspace/github_c_makefile_star2_O3/justy989[P]ce/ce_syntax.c
// Function: match_words
static int64_t match_words(const char* str, const char* beginning_of_line, const char** words, int64_t word_count){
     for(int64_t i = 0; i < word_count; ++i){
          int64_t word_len = strlen(words[i]);
          if(strncmp(words[i], str, word_len) == 0){
               // make sure word isn't in the middle of an identifier
               char post_char = str[word_len];
               if(is_c_type_char(post_char)) return 0;
               if(str > beginning_of_line){
                    char pre_char = *(str - 1);
                    if(is_c_type_char(pre_char)) return 0;
               }

               return word_len;
          }
     }

     return 0;
}

// Assembly:
testq %rcx, %rcx
jle 0x2252f
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rcx, %r13
movq %rdx, %rbp
movq %rdi, %r14
movq %rsi, (%rsp)
xorl %ebx, %ebx
movq (%rbp,%rbx,8), %r15
movq %r15, %rdi
callq 0xd210
movq %rax, %r12
movq %r15, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0xd0d0
testl %eax, %eax
je 0x22533
incq %rbx
cmpq %rbx, %r13
jne 0x22501
xorl %edx, %edx
jmp 0x22570
xorl %edx, %edx
jmp 0x2257e
movsbq (%r14,%r12), %rbx
callq 0xd720
xorl %edx, %edx
cmpq $0x5f, %rbx
je 0x22570
movq (%rax), %rax
movzwl (%rax,%rbx,2), %ecx
andl $0x8, %ecx
jne 0x22570
cmpq (%rsp), %r14
jbe 0x2256d
movsbq -0x1(%r14), %rcx
xorl %edx, %edx
cmpq $0x5f, %rcx
je 0x22570
movzwl (%rax,%rcx,2), %eax
andl $0x8, %eax
jne 0x22570
movq %r12, %rdx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
movq %rdx, %rax
retq
nop
// File: /workspace/github_c_makefile_star2_O3/justy989[P]ce/ce_vim.c
// Function: ce_vim_add_key_bind
void ce_vim_add_key_bind(CeVimKeyBind_t* key_binds, int64_t* key_bind_count, CeRune_t key, CeVimParseFunc_t* function){
     assert(*key_bind_count < CE_VIM_MAX_KEY_BINDS);
     key_binds[*key_bind_count].key = key;
     key_binds[*key_bind_count].function = function;
     (*key_bind_count)++;
}

// Assembly:
movq (%rsi), %rax
cmpq $0x100, %rax            # imm = 0x100
jge 0x225a6
movq %rax, %r8
shlq $0x4, %r8
movl %edx, (%rdi,%r8)
movq %rcx, 0x8(%rdi,%r8)
incq %rax
movq %rax, (%rsi)
retq
pushq %rax
leaq 0xdcf2(%rip), %rdi      # 0x302a0
leaq 0xdd12(%rip), %rsi      # 0x302c7
leaq 0xdd14(%rip), %rcx      # 0x302d0
movl $0x1e, %edx
callq 0xd280
// File: /workspace/github_c_makefile_star2_O3/justy989[P]ce/ce_vim.c
// Function: ce_vim_parse_motion_up
CeVimParseResult_t ce_vim_parse_motion_up(CeVimAction_t* action, const CeVim_t* vim, CeRune_t key){
     if(action->motion.function) return CE_VIM_PARSE_KEY_NOT_HANDLED;
     action->motion.function = ce_vim_motion_up;

     if(action->verb.function){
          action->yank_type = CE_VIM_YANK_TYPE_LINE;
          return CE_VIM_PARSE_COMPLETE;
     }

     action->verb.function = ce_vim_verb_motion;
     return CE_VIM_PARSE_COMPLETE;
}

// Assembly:
movl $0x1, %eax
cmpq $0x0, 0x10(%rdi)
je 0x23761
retq
leaq 0x3efc(%rip), %rax      # 0x27664
movq %rax, 0x10(%rdi)
cmpq $0x0, 0x28(%rdi)
je 0x2377c
movl $0x2, 0x38(%rdi)
jmp 0x23787
leaq 0x237f(%rip), %rax      # 0x25b02
movq %rax, 0x28(%rdi)
movl $0x5, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/justy989[P]ce/ce_vim.c
// Function: ce_vim_parse_motion_down
CeVimParseResult_t ce_vim_parse_motion_down(CeVimAction_t* action, const CeVim_t* vim, CeRune_t key){
     if(action->motion.function) return CE_VIM_PARSE_KEY_NOT_HANDLED;
     action->motion.function = ce_vim_motion_down;

     if(action->verb.function){
          action->yank_type = CE_VIM_YANK_TYPE_LINE;
          return CE_VIM_PARSE_COMPLETE;
     }

     action->verb.function = ce_vim_verb_motion;
     return CE_VIM_PARSE_COMPLETE;
}

// Assembly:
movl $0x1, %eax
cmpq $0x0, 0x10(%rdi)
je 0x2379a
retq
leaq 0x3f5e(%rip), %rax      # 0x276ff
movq %rax, 0x10(%rdi)
cmpq $0x0, 0x28(%rdi)
je 0x237b5
movl $0x2, 0x38(%rdi)
jmp 0x237c0
leaq 0x2346(%rip), %rax      # 0x25b02
movq %rax, 0x28(%rdi)
movl $0x5, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/justy989[P]ce/ce_vim.c
// Function: ce_vim_parse_motion_find_forward
static CeVimParseResult_t vim_parse_motion_find(CeVimAction_t* action, CeRune_t key, CeVimMotionFunc_t* func){
     if(action->verb.function == NULL) action->verb.function = &ce_vim_verb_motion;

     if(action->motion.function == NULL){
          action->motion.function = func;
          return CE_VIM_PARSE_CONSUME_ADDITIONAL_KEY;
     }else if(action->motion.function == func){
          action->motion.integer = key;
          return CE_VIM_PARSE_COMPLETE;
     }

     return CE_VIM_PARSE_INVALID;
}

// Assembly:
cmpq $0x0, 0x28(%rdi)
jne 0x23870
leaq 0x2296(%rip), %rax      # 0x25b02
movq %rax, 0x28(%rdi)
movq 0x10(%rdi), %rcx
testq %rcx, %rcx
je 0x23888
xorl %eax, %eax
leaq 0x417a(%rip), %rsi      # 0x279fc
cmpq %rsi, %rcx
je 0x23899
retq
leaq 0x416d(%rip), %rax      # 0x279fc
movq %rax, 0x10(%rdi)
movl $0x2, %eax
retq
movl %edx, 0x18(%rdi)
movl $0x5, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/justy989[P]ce/ce_vim.c
// Function: ce_vim_parse_motion_inside
CeVimParseResult_t ce_vim_parse_motion_inside(CeVimAction_t* action, const CeVim_t* vim, CeRune_t key){
     if(!action->verb.function){
          if(vim->mode == CE_VIM_MODE_VISUAL || vim->mode == CE_VIM_MODE_VISUAL_LINE){
               action->verb.function = ce_vim_verb_motion;
          }else{
               return CE_VIM_PARSE_KEY_NOT_HANDLED;
          }
     }

     if(action->motion.function == NULL){
          action->motion.function = &ce_vim_motion_inside;
          return CE_VIM_PARSE_CONSUME_ADDITIONAL_KEY;
     }else if(action->motion.function == &ce_vim_motion_inside){
          action->motion.integer = key;
          return CE_VIM_PARSE_COMPLETE;
     }

     return CE_VIM_PARSE_INVALID;
}

// Assembly:
cmpq $0x0, 0x28(%rdi)
jne 0x239f7
movl (%rsi), %ecx
andl $-0x2, %ecx
movl $0x1, %eax
cmpl $0x2, %ecx
jne 0x23a0e
leaq 0x210f(%rip), %rax      # 0x25b02
movq %rax, 0x28(%rdi)
movq 0x10(%rdi), %rcx
testq %rcx, %rcx
je 0x23a0f
xorl %eax, %eax
leaq 0x3fc4(%rip), %rsi      # 0x279cd
cmpq %rsi, %rcx
je 0x23a20
retq
leaq 0x3fb7(%rip), %rax      # 0x279cd
movq %rax, 0x10(%rdi)
movl $0x2, %eax
retq
movl %edx, 0x18(%rdi)
movl $0x5, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/justy989[P]ce/ce_vim.c
// Function: ce_vim_parse_motion_around
CeVimParseResult_t ce_vim_parse_motion_around(CeVimAction_t* action, const CeVim_t* vim, CeRune_t key){
     // around requires a verb
     if(!action->verb.function){
          if(vim_mode_is_visual(vim->mode)){
               action->verb.function = ce_vim_verb_motion;
          }else{
               return CE_VIM_PARSE_KEY_NOT_HANDLED;
          }
     }

     if(action->motion.function == NULL){
          action->motion.function = &ce_vim_motion_around;
          return CE_VIM_PARSE_CONSUME_ADDITIONAL_KEY;
     }else if(action->motion.function == &ce_vim_motion_around){
          action->motion.integer = key;
          return CE_VIM_PARSE_COMPLETE;
     }

     return CE_VIM_PARSE_INVALID;
}

// Assembly:
cmpq $0x0, 0x28(%rdi)
jne 0x23a4a
movl (%rsi), %ecx
addl $-0x2, %ecx
movl $0x1, %eax
cmpl $0x2, %ecx
ja 0x23a61
leaq 0x20bc(%rip), %rax      # 0x25b02
movq %rax, 0x28(%rdi)
movq 0x10(%rdi), %rcx
testq %rcx, %rcx
je 0x23a62
xorl %eax, %eax
leaq 0x3f8a(%rip), %rsi      # 0x279e6
cmpq %rsi, %rcx
je 0x23a73
retq
leaq 0x3f7d(%rip), %rax      # 0x279e6
movq %rax, 0x10(%rdi)
movl $0x2, %eax
retq
movl %edx, 0x18(%rdi)
movl $0x5, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/justy989[P]ce/ce_vim.c
// Function: ce_vim_parse_motion_mark
CeVimParseResult_t ce_vim_parse_motion_mark(CeVimAction_t* action, const CeVim_t* vim, CeRune_t key){
     if(!action->motion.function){
          action->motion.function = ce_vim_motion_mark;
          return CE_VIM_PARSE_CONSUME_ADDITIONAL_KEY;
     }else if(action->motion.function == ce_vim_motion_mark){
          action->motion.integer = key;
          if(!action->verb.function) action->verb.function = ce_vim_verb_motion;
          return CE_VIM_PARSE_COMPLETE;
     }

     return CE_VIM_PARSE_INVALID;
}

// Assembly:
movq 0x10(%rdi), %rcx
testq %rcx, %rcx
je 0x23dac
xorl %eax, %eax
leaq 0x441d(%rip), %rsi      # 0x281c3
cmpq %rsi, %rcx
je 0x23dbd
retq
leaq 0x4410(%rip), %rax      # 0x281c3
movq %rax, 0x10(%rdi)
movl $0x2, %eax
retq
movl %edx, 0x18(%rdi)
movl $0x5, %eax
cmpq $0x0, 0x28(%rdi)
jne 0x23dab
leaq 0x1d2f(%rip), %rcx      # 0x25b02
movq %rcx, 0x28(%rdi)
retq
// File: /workspace/github_c_makefile_star2_O3/justy989[P]ce/ce_vim.c
// Function: ce_vim_parse_motion_mark_soft_begin_line
CeVimParseResult_t ce_vim_parse_motion_mark_soft_begin_line(CeVimAction_t* action, const CeVim_t* vim, CeRune_t key){
     if(!action->motion.function){
          action->motion.function = ce_vim_motion_mark_soft_begin_line;
          return CE_VIM_PARSE_CONSUME_ADDITIONAL_KEY;
     }else if(action->motion.function == ce_vim_motion_mark_soft_begin_line){
          action->motion.integer = key;
          if(!action->verb.function) action->verb.function = ce_vim_verb_motion;
          return CE_VIM_PARSE_COMPLETE;
     }

     return CE_VIM_PARSE_INVALID;
}

// Assembly:
movq 0x10(%rdi), %rcx
testq %rcx, %rcx
je 0x23df0
xorl %eax, %eax
leaq 0x4441(%rip), %rsi      # 0x2822b
cmpq %rsi, %rcx
je 0x23e01
retq
leaq 0x4434(%rip), %rax      # 0x2822b
movq %rax, 0x10(%rdi)
movl $0x2, %eax
retq
movl %edx, 0x18(%rdi)
movl $0x5, %eax
cmpq $0x0, 0x28(%rdi)
jne 0x23def
leaq 0x1ceb(%rip), %rcx      # 0x25b02
movq %rcx, 0x28(%rdi)
retq
// File: /workspace/github_c_makefile_star2_O3/justy989[P]ce/ce_vim.c
// Function: ce_vim_parse_verb_insert_mode
CeVimParseResult_t ce_vim_parse_verb_insert_mode(CeVimAction_t* action, const CeVim_t* vim, CeRune_t key){
     if(action->motion.function) return CE_VIM_PARSE_KEY_NOT_HANDLED;
     if(action->verb.function) return CE_VIM_PARSE_KEY_NOT_HANDLED;

     action->verb.function = &ce_vim_verb_insert_mode;
     action->repeatable = true;
     return CE_VIM_PARSE_COMPLETE;
}

// Assembly:
movl $0x1, %eax
cmpq $0x0, 0x10(%rdi)
je 0x23e29
retq
cmpq $0x0, 0x28(%rdi)
jne 0x23e28
leaq 0x120e(%rip), %rax      # 0x25045
movq %rax, 0x28(%rdi)
movb $0x1, 0x3d(%rdi)
movl $0x5, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/justy989[P]ce/ce_vim.c
// Function: ce_vim_parse_verb_replace_mode
CeVimParseResult_t ce_vim_parse_verb_replace_mode(CeVimAction_t* action, const CeVim_t* vim, CeRune_t key){
     if(action->motion.function) return CE_VIM_PARSE_KEY_NOT_HANDLED;
     if(action->verb.function) return CE_VIM_PARSE_KEY_NOT_HANDLED;

     action->verb.function = &ce_vim_verb_replace_mode;
     action->repeatable = true;
     return CE_VIM_PARSE_COMPLETE;
}

// Assembly:
movl $0x1, %eax
cmpq $0x0, 0x10(%rdi)
je 0x23e52
retq
cmpq $0x0, 0x28(%rdi)
jne 0x23e51
leaq 0x36c6(%rip), %rax      # 0x27526
movq %rax, 0x28(%rdi)
movb $0x1, 0x3d(%rdi)
movl $0x5, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/justy989[P]ce/ce_vim.c
// Function: ce_vim_parse_verb_visual_mode
CeVimParseResult_t ce_vim_parse_verb_visual_mode(CeVimAction_t* action, const CeVim_t* vim, CeRune_t key){
     if(action->motion.function) return CE_VIM_PARSE_KEY_NOT_HANDLED;
     if(action->verb.function) return CE_VIM_PARSE_KEY_NOT_HANDLED;

     action->verb.function = &ce_vim_verb_visual_mode;
     return CE_VIM_PARSE_COMPLETE;
}

// Assembly:
movl $0x1, %eax
cmpq $0x0, 0x10(%rdi)
je 0x23e7b
retq
cmpq $0x0, 0x28(%rdi)
jne 0x23e7a
leaq 0x36c0(%rip), %rax      # 0x27549
movq %rax, 0x28(%rdi)
movl $0x5, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/justy989[P]ce/ce_vim.c
// Function: ce_vim_parse_verb_visual_line_mode
CeVimParseResult_t ce_vim_parse_verb_visual_line_mode(CeVimAction_t* action, const CeVim_t* vim, CeRune_t key){
     if(action->motion.function) return CE_VIM_PARSE_KEY_NOT_HANDLED;
     if(action->verb.function) return CE_VIM_PARSE_KEY_NOT_HANDLED;

     action->verb.function = &ce_vim_verb_visual_line_mode;
     return CE_VIM_PARSE_COMPLETE;
}

// Assembly:
movl $0x1, %eax
cmpq $0x0, 0x10(%rdi)
je 0x23ea0
retq
cmpq $0x0, 0x28(%rdi)
jne 0x23e9f
leaq 0x36ab(%rip), %rax      # 0x27559
movq %rax, 0x28(%rdi)
movl $0x5, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/justy989[P]ce/ce_vim.c
// Function: ce_vim_parse_verb_normal_mode
CeVimParseResult_t ce_vim_parse_verb_normal_mode(CeVimAction_t* action, const CeVim_t* vim, CeRune_t key){
     if(action->motion.function) return CE_VIM_PARSE_KEY_NOT_HANDLED;
     if(action->verb.function) return CE_VIM_PARSE_KEY_NOT_HANDLED;

     action->verb.function = &ce_vim_verb_normal_mode;
     return CE_VIM_PARSE_COMPLETE;
}

// Assembly:
movl $0x1, %eax
cmpq $0x0, 0x10(%rdi)
je 0x23ec5
retq
cmpq $0x0, 0x28(%rdi)
jne 0x23ec4
leaq 0x3696(%rip), %rax      # 0x27569
movq %rax, 0x28(%rdi)
movl $0x5, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/justy989[P]ce/ce_vim.c
// Function: ce_vim_parse_verb_append
CeVimParseResult_t ce_vim_parse_verb_append(CeVimAction_t* action, const CeVim_t* vim, CeRune_t key){
     if(action->verb.function) return CE_VIM_PARSE_KEY_NOT_HANDLED;

     action->verb.function = &ce_vim_verb_append;
     action->repeatable = true;
     return CE_VIM_PARSE_COMPLETE;
}

// Assembly:
movl $0x1, %eax
cmpq $0x0, 0x28(%rdi)
je 0x23eea
retq
leaq 0x1177(%rip), %rax      # 0x25068
movq %rax, 0x28(%rdi)
movb $0x1, 0x3d(%rdi)
movl $0x5, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/justy989[P]ce/ce_vim.c
// Function: ce_vim_parse_verb_append_at_end_of_line
CeVimParseResult_t ce_vim_parse_verb_append_at_end_of_line(CeVimAction_t* action, const CeVim_t* vim, CeRune_t key){
     if(action->verb.function) return CE_VIM_PARSE_KEY_NOT_HANDLED;

     action->verb.function = &ce_vim_verb_append_at_end_of_line;
     action->repeatable = true;
     return CE_VIM_PARSE_COMPLETE;
}

// Assembly:
movl $0x1, %eax
cmpq $0x0, 0x28(%rdi)
je 0x23f0c
retq
leaq 0x11ac(%rip), %rax      # 0x250bf
movq %rax, 0x28(%rdi)
movb $0x1, 0x3d(%rdi)
movl $0x5, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/justy989[P]ce/ce_vim.c
// Function: ce_vim_parse_verb_insert_at_soft_begin_line
CeVimParseResult_t ce_vim_parse_verb_insert_at_soft_begin_line(CeVimAction_t* action, const CeVim_t* vim, CeRune_t key){
     if(action->verb.function) return CE_VIM_PARSE_KEY_NOT_HANDLED;

     action->verb.function = &ce_vim_verb_insert_at_soft_begin_line;
     action->repeatable = true;
     return CE_VIM_PARSE_COMPLETE;
}

// Assembly:
movl $0x1, %eax
cmpq $0x0, 0x28(%rdi)
je 0x23f2e
retq
leaq 0x364a(%rip), %rax      # 0x2757f
movq %rax, 0x28(%rdi)
movb $0x1, 0x3d(%rdi)
movl $0x5, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/justy989[P]ce/ce_vim.c
// Function: ce_vim_parse_verb_delete
CeVimParseResult_t ce_vim_parse_verb_delete(CeVimAction_t* action, const CeVim_t* vim, CeRune_t key){
     action->repeatable = true;
     if(action->verb.function == ce_vim_verb_delete){
          action->motion.function = &ce_vim_motion_entire_line;
          action->yank_type = CE_VIM_YANK_TYPE_LINE;
          return CE_VIM_PARSE_COMPLETE;
     }

     action->verb.function = &ce_vim_verb_delete;
     action->yank_type = CE_VIM_YANK_TYPE_STRING;
     action->clamp_x = CE_CLAMP_X_INSIDE;
     return CE_VIM_PARSE_IN_PROGRESS;
}

// Assembly:
movb $0x1, 0x3d(%rdi)
leaq 0x1dc5(%rip), %rax      # 0x25d13
cmpq %rax, 0x28(%rdi)
je 0x23f6b
movq %rax, 0x28(%rdi)
movl $0x2, 0x40(%rdi)
movl $0x4, %eax
movl $0x1, %ecx
jmp 0x23f80
leaq 0x4691(%rip), %rax      # 0x28603
movq %rax, 0x10(%rdi)
movl $0x5, %eax
movl $0x2, %ecx
movl %ecx, 0x38(%rdi)
retq
// File: /workspace/github_c_makefile_star2_O3/justy989[P]ce/ce_vim.c
// Function: ce_vim_parse_verb_delete_to_end_of_line
CeVimParseResult_t ce_vim_parse_verb_delete_to_end_of_line(CeVimAction_t* action, const CeVim_t* vim, CeRune_t key){
     action->repeatable = true;
     action->motion.function = &ce_vim_motion_end_line;
     action->verb.function = &ce_vim_verb_delete;
     action->yank_type = CE_VIM_YANK_TYPE_STRING;
     action->clamp_x = CE_CLAMP_X_INSIDE;
     return CE_VIM_PARSE_COMPLETE;
}

// Assembly:
movb $0x1, 0x3d(%rdi)
leaq 0x39a3(%rip), %rax      # 0x27932
movq %rax, 0x10(%rdi)
leaq 0x1d79(%rip), %rax      # 0x25d13
movq %rax, 0x28(%rdi)
movl $0x1, 0x38(%rdi)
movl $0x2, 0x40(%rdi)
movl $0x5, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/justy989[P]ce/ce_vim.c
// Function: ce_vim_parse_verb_change
CeVimParseResult_t ce_vim_parse_verb_change(CeVimAction_t* action, const CeVim_t* vim, CeRune_t key){
     action->repeatable = true;
     if(action->verb.function == ce_vim_verb_change){
          action->verb.function = &ce_vim_verb_substitute_soft_begin_line;
          return CE_VIM_PARSE_COMPLETE;
     }

     action->verb.function = &ce_vim_verb_change;
     action->yank_type = CE_VIM_YANK_TYPE_STRING;
     action->clamp_x = CE_CLAMP_X_ON;
     return CE_VIM_PARSE_IN_PROGRESS;
}

// Assembly:
movb $0x1, 0x3d(%rdi)
leaq 0x1f7a(%rip), %rcx      # 0x25f37
cmpq %rcx, 0x28(%rdi)
je 0x23fd5
movl $0x1, %eax
movl %eax, 0x38(%rdi)
movl %eax, 0x40(%rdi)
movl $0x4, %eax
jmp 0x23fe1
movl $0x5, %eax
leaq 0x4656(%rip), %rcx      # 0x28637
movq %rcx, 0x28(%rdi)
retq
// File: /workspace/github_c_makefile_star2_O3/justy989[P]ce/ce_vim.c
// Function: ce_vim_parse_verb_change_to_end_of_line
CeVimParseResult_t ce_vim_parse_verb_change_to_end_of_line(CeVimAction_t* action, const CeVim_t* vim, CeRune_t key){
     action->repeatable = true;
     action->motion.function = &ce_vim_motion_end_line;
     action->verb.function = &ce_vim_verb_change;
     action->yank_type = CE_VIM_YANK_TYPE_STRING;
     action->clamp_x = CE_CLAMP_X_ON;
     return CE_VIM_PARSE_COMPLETE;
}

// Assembly:
movb $0x1, 0x3d(%rdi)
leaq 0x3941(%rip), %rax      # 0x27932
movq %rax, 0x10(%rdi)
leaq 0x1f3b(%rip), %rax      # 0x25f37
movq %rax, 0x28(%rdi)
movl $0x1, %eax
movl %eax, 0x38(%rdi)
movl %eax, 0x40(%rdi)
movl $0x5, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/justy989[P]ce/ce_vim.c
// Function: ce_vim_parse_verb_set_character
CeVimParseResult_t ce_vim_parse_verb_set_character(CeVimAction_t* action, const CeVim_t* vim, CeRune_t key){
     action->repeatable = true;
     if(action->verb.function == NULL){
          action->verb.function = &ce_vim_verb_set_character;
          return CE_VIM_PARSE_CONSUME_ADDITIONAL_KEY;
     }else{
          if(!_is_print(key)) return CE_VIM_PARSE_INVALID;
          action->verb.integer = key;
          return CE_VIM_PARSE_COMPLETE;
     }

     return CE_VIM_PARSE_INVALID;
}

// Assembly:
movb $0x1, 0x3d(%rdi)
cmpq $0x0, 0x28(%rdi)
je 0x2402f
leal -0x20(%rdx), %ecx
xorl %eax, %eax
cmpb $0x5e, %cl
ja 0x2402e
movl %edx, 0x30(%rdi)
movl $0x5, %eax
retq
leaq 0x46ff(%rip), %rax      # 0x28735
movq %rax, 0x28(%rdi)
movl $0x2, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/justy989[P]ce/ce_vim.c
// Function: ce_vim_parse_verb_delete_character
CeVimParseResult_t ce_vim_parse_verb_delete_character(CeVimAction_t* action, const CeVim_t* vim, CeRune_t key){
     action->repeatable = true;
     action->verb.function = &ce_vim_verb_delete_character;
     action->clamp_x = CE_CLAMP_X_INSIDE;
     return CE_VIM_PARSE_COMPLETE;
}

// Assembly:
movb $0x1, 0x3d(%rdi)
leaq 0x47fe(%rip), %rax      # 0x28849
movq %rax, 0x28(%rdi)
movl $0x2, 0x40(%rdi)
movl $0x5, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/justy989[P]ce/ce_vim.c
// Function: ce_vim_parse_verb_substitute_character
CeVimParseResult_t ce_vim_parse_verb_substitute_character(CeVimAction_t* action, const CeVim_t* vim, CeRune_t key){
     action->repeatable = true;
     action->verb.function = &ce_vim_verb_substitute_character;
     action->clamp_x = CE_CLAMP_X_ON;
     return CE_VIM_PARSE_COMPLETE;
}

// Assembly:
movb $0x1, 0x3d(%rdi)
leaq 0x48ca(%rip), %rax      # 0x28931
movq %rax, 0x28(%rdi)
movl $0x1, 0x40(%rdi)
movl $0x5, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/justy989[P]ce/ce_vim.c
// Function: ce_vim_parse_verb_yank
CeVimParseResult_t ce_vim_parse_verb_yank(CeVimAction_t* action, const CeVim_t* vim, CeRune_t key){
     if(action->verb.function == &ce_vim_verb_yank){
          action->motion.function = &ce_vim_motion_entire_line;
          action->yank_type = CE_VIM_YANK_TYPE_LINE;
          return CE_VIM_PARSE_COMPLETE;
     }

     action->verb.function = &ce_vim_verb_yank;
     action->yank_type = CE_VIM_YANK_TYPE_STRING;
     if(action->verb.integer == 0) action->verb.integer = '"';

     return CE_VIM_PARSE_IN_PROGRESS;
}

// Assembly:
leaq 0x1bbc(%rip), %rax      # 0x25c50
cmpq %rax, 0x28(%rdi)
je 0x240b1
movq %rax, 0x28(%rdi)
movl $0x1, 0x38(%rdi)
movl $0x4, %eax
cmpl $0x0, 0x30(%rdi)
je 0x240c9
retq
leaq 0x454b(%rip), %rax      # 0x28603
movq %rax, 0x10(%rdi)
movl $0x2, 0x38(%rdi)
movl $0x5, %eax
retq
movl $0x22, 0x30(%rdi)
retq
// File: /workspace/github_c_makefile_star2_O3/justy989[P]ce/ce_vim.c
// Function: ce_vim_parse_verb_yank_line
CeVimParseResult_t ce_vim_parse_verb_yank_line(CeVimAction_t* action, const CeVim_t* vim, CeRune_t key){
     action->verb.function = &ce_vim_verb_yank;
     action->motion.function = &ce_vim_motion_entire_line;
     if(action->verb.integer == 0) action->verb.integer = '"';
     action->yank_type = CE_VIM_YANK_TYPE_LINE;
     return CE_VIM_PARSE_COMPLETE;
}

// Assembly:
leaq 0x1b78(%rip), %rax      # 0x25c50
movq %rax, 0x28(%rdi)
leaq 0x4520(%rip), %rax      # 0x28603
movq %rax, 0x10(%rdi)
cmpl $0x0, 0x30(%rdi)
jne 0x240f4
movl $0x22, 0x30(%rdi)
movl $0x2, 0x38(%rdi)
movl $0x5, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/justy989[P]ce/ce_vim.c
// Function: ce_vim_parse_verb_paste_before
CeVimParseResult_t ce_vim_parse_verb_paste_before(CeVimAction_t* action, const CeVim_t* vim, CeRune_t key){
     action->repeatable = true;
     action->verb.function = &ce_vim_verb_paste_before;
     if(action->verb.integer == 0) action->verb.integer = '"';
     return CE_VIM_PARSE_COMPLETE;
}

// Assembly:
movb $0x1, 0x3d(%rdi)
leaq 0x4857(%rip), %rax      # 0x28986
movq %rax, 0x28(%rdi)
cmpl $0x0, 0x30(%rdi)
jne 0x24140
movl $0x22, 0x30(%rdi)
movl $0x5, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/justy989[P]ce/ce_vim.c
// Function: ce_vim_parse_verb_paste_after
CeVimParseResult_t ce_vim_parse_verb_paste_after(CeVimAction_t* action, const CeVim_t* vim, CeRune_t key){
     action->repeatable = true;
     action->verb.function = &ce_vim_verb_paste_after;
     if(action->verb.integer == 0) action->verb.integer = '"';
     return CE_VIM_PARSE_COMPLETE;
}

// Assembly:
movb $0x1, 0x3d(%rdi)
leaq 0x4871(%rip), %rax      # 0x289c2
movq %rax, 0x28(%rdi)
cmpl $0x0, 0x30(%rdi)
jne 0x24162
movl $0x22, 0x30(%rdi)
movl $0x5, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/justy989[P]ce/ce_vim.c
// Function: ce_vim_parse_verb_z_command
CeVimParseResult_t ce_vim_parse_verb_z_command(CeVimAction_t* action, const CeVim_t* vim, CeRune_t key){
     if(action->verb.function == NULL){
          action->verb.function = ce_vim_verb_z_command;
          return CE_VIM_PARSE_CONSUME_ADDITIONAL_KEY;
     }else if(action->verb.function == ce_vim_verb_z_command){
          action->verb.integer = key;
          return CE_VIM_PARSE_COMPLETE;
     }

     return CE_VIM_PARSE_INVALID;
}

// Assembly:
movq 0x28(%rdi), %rcx
testq %rcx, %rcx
je 0x24219
xorl %eax, %eax
leaq 0x4cc5(%rip), %rsi      # 0x28ed8
cmpq %rsi, %rcx
je 0x2422a
retq
leaq 0x4cb8(%rip), %rax      # 0x28ed8
movq %rax, 0x28(%rdi)
movl $0x2, %eax
retq
movl %edx, 0x30(%rdi)
movl $0x5, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/justy989[P]ce/ce_vim.c
// Function: ce_vim_parse_verb_g_command
CeVimParseResult_t ce_vim_parse_verb_g_command(CeVimAction_t* action, const CeVim_t* vim, CeRune_t key){
     if(action->verb.function == NULL){
          action->verb.function = ce_vim_verb_g_command;
          if(action->multiplier > 1) return CE_VIM_PARSE_COMPLETE;
          return CE_VIM_PARSE_CONSUME_ADDITIONAL_KEY;
     }else if(action->verb.function == ce_vim_verb_g_command){
          action->verb.integer = key;
          return CE_VIM_PARSE_COMPLETE;
     }

     return CE_VIM_PARSE_INVALID;
}

// Assembly:
movq 0x28(%rdi), %rcx
testq %rcx, %rcx
je 0x2424b
xorl %eax, %eax
leaq 0x4cdc(%rip), %rsi      # 0x28f21
cmpq %rsi, %rcx
je 0x24266
retq
leaq 0x4ccf(%rip), %rax      # 0x28f21
movq %rax, 0x28(%rdi)
xorl %eax, %eax
cmpq $0x2, (%rdi)
setge %al
leal (%rax,%rax,2), %eax
addl $0x2, %eax
retq
movl %edx, 0x30(%rdi)
movl $0x5, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/justy989[P]ce/ce_vim.c
// Function: ce_vim_parse_verb_indent
CeVimParseResult_t ce_vim_parse_verb_indent(CeVimAction_t* action, const CeVim_t* vim, CeRune_t key){
     if(action->verb.function == NULL){
          action->repeatable = true;
          action->verb.function = ce_vim_verb_indent;
          return CE_VIM_PARSE_IN_PROGRESS;
     }else if(action->verb.function == ce_vim_verb_indent){
          action->repeatable = true;
          return CE_VIM_PARSE_COMPLETE;
     }

     return CE_VIM_PARSE_INVALID;
}

// Assembly:
movq 0x28(%rdi), %rcx
testq %rcx, %rcx
je 0x24287
xorl %eax, %eax
leaq 0x4d3f(%rip), %rdx      # 0x28fc0
cmpq %rdx, %rcx
je 0x2429c
retq
movb $0x1, 0x3d(%rdi)
leaq 0x4d2e(%rip), %rax      # 0x28fc0
movq %rax, 0x28(%rdi)
movl $0x4, %eax
retq
movb $0x1, 0x3d(%rdi)
movl $0x5, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/justy989[P]ce/ce_vim.c
// Function: ce_vim_parse_verb_unindent
CeVimParseResult_t ce_vim_parse_verb_unindent(CeVimAction_t* action, const CeVim_t* vim, CeRune_t key){
     action->repeatable = true;
     if(action->verb.function == NULL){
          action->verb.function = ce_vim_verb_unindent;
          return CE_VIM_PARSE_IN_PROGRESS;
     }else if(action->verb.function == ce_vim_verb_unindent){
          return CE_VIM_PARSE_COMPLETE;
     }

     return CE_VIM_PARSE_INVALID;
}

// Assembly:
movb $0x1, 0x3d(%rdi)
movq 0x28(%rdi), %rax
testq %rax, %rax
je 0x242c6
leaq 0x4eb4(%rip), %rcx      # 0x2916e
xorl %edx, %edx
cmpq %rcx, %rax
sete %dl
leal (%rdx,%rdx,4), %eax
retq
leaq 0x4ea1(%rip), %rax      # 0x2916e
movq %rax, 0x28(%rdi)
movl $0x4, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/justy989[P]ce/ce_vim.c
// Function: ce_vim_parse_verb_flip_case
CeVimParseResult_t ce_vim_parse_verb_flip_case(CeVimAction_t* action, const CeVim_t* vim, CeRune_t key){
     action->repeatable = true;
     action->motion.function = ce_vim_motion_right;
     action->verb.function = ce_vim_verb_flip_case;
     return CE_VIM_PARSE_COMPLETE;
}

// Assembly:
movb $0x1, 0x3d(%rdi)
leaq 0x3322(%rip), %rax      # 0x27619
movq %rax, 0x10(%rdi)
leaq 0x4fe2(%rip), %rax      # 0x292e4
movq %rax, 0x28(%rdi)
movl $0x5, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/justy989[P]ce/ce_vim.c
// Function: ce_vim_parse_verb_set_mark
CeVimParseResult_t ce_vim_parse_verb_set_mark(CeVimAction_t* action, const CeVim_t* vim, CeRune_t key){
     if(action->verb.function == NULL){
          action->verb.function = ce_vim_verb_set_mark;
          return CE_VIM_PARSE_CONSUME_ADDITIONAL_KEY;
     }else if(action->verb.function == ce_vim_verb_set_mark){
          action->verb.integer = key;
          return CE_VIM_PARSE_COMPLETE;
     }

     return CE_VIM_PARSE_INVALID;
}

// Assembly:
movq 0x28(%rdi), %rcx
testq %rcx, %rcx
je 0x24324
xorl %eax, %eax
leaq 0x5113(%rip), %rsi      # 0x29431
cmpq %rsi, %rcx
je 0x24335
retq
leaq 0x5106(%rip), %rax      # 0x29431
movq %rax, 0x28(%rdi)
movl $0x2, %eax
retq
movl %edx, 0x30(%rdi)
movl $0x5, %eax
retq
// File: /workspace/github_c_makefile_star2_O3/justy989[P]ce/ce_vim.c
// Function: ce_vim_free
bool ce_vim_free(CeVim_t* vim){
     for(int64_t i = 0; i < CE_ASCII_PRINTABLE_CHARACTERS; i++){
          ce_vim_yank_free(vim->yanks + i);
     }
     ce_rune_node_free(&vim->insert_rune_head);
     ce_rune_node_free(&vim->last_insert_rune_head);
     return true;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
leaq 0x1050(%rdi), %r14
xorl %r15d, %r15d
leaq (%r14,%r15), %rdi
callq 0x243bf
addq $0x18, %r15
cmpq $0x8e8, %r15            # imm = 0x8E8
jne 0x24386
leaq 0x19c8(%rbx), %rdi
callq 0x101e1
addq $0x19d0, %rbx           # imm = 0x19D0
movq %rbx, %rdi
callq 0x101e1
movb $0x1, %al
popq %rbx
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/justy989[P]ce/ce_vim.c
// Function: ce_vim_yank_free
void ce_vim_yank_free(CeVimYank_t* yank){
     switch(yank->type){
     default:
          break;
     case CE_VIM_YANK_TYPE_STRING:
     case CE_VIM_YANK_TYPE_LINE:
          free(yank->text);
          yank->text = NULL;
          break;
     case CE_VIM_YANK_TYPE_BLOCK:
          for(int64_t i = 0; i < yank->block_line_count; i++){
               free(yank->block[i]);
          }
          free(yank->block);
          yank->block = NULL;
          yank->block_line_count = 0;
          break;
     }

     yank->type = CE_VIM_YANK_TYPE_STRING;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl (%rdi), %eax
leal -0x1(%rax), %ecx
cmpl $0x2, %ecx
jae 0x243e3
movq 0x8(%rbx), %rdi
callq 0xd090
movq $0x0, 0x8(%rbx)
jmp 0x24418
cmpl $0x3, %eax
jne 0x24418
cmpq $0x0, 0x10(%rbx)
jle 0x24408
xorl %r14d, %r14d
movq 0x8(%rbx), %rax
movq (%rax,%r14,8), %rdi
callq 0xd090
incq %r14
cmpq 0x10(%rbx), %r14
jl 0x243f2
movq 0x8(%rbx), %rdi
callq 0xd090
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rbx)
movl $0x1, (%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/justy989[P]ce/ce_vim.c
// Function: ce_vim_bind_key
bool ce_vim_bind_key(CeVim_t* vim, CeRune_t key, CeVimParseFunc_t function){
     for(int64_t i = 0; i < vim->key_bind_count; ++i){
          if(vim->key_binds[i].key == key){
               vim->key_binds[i].function = function;
               return true;
          }
     }

     if(vim->key_bind_count >= CE_VIM_MAX_KEY_BINDS) return false;

     vim->key_binds[vim->key_bind_count].key = key;
     vim->key_binds[vim->key_bind_count].function = function;
     vim->key_bind_count++;
     return true;
}

// Assembly:
movq 0x1008(%rdi), %rax
testq %rax, %rax
jle 0x24452
leaq 0x10(%rdi), %rcx
movq %rax, %r8
cmpl %esi, -0x8(%rcx)
je 0x2446e
addq $0x10, %rcx
decq %r8
jne 0x24439
cmpq $0xff, %rax
jle 0x24452
xorl %eax, %eax
retq
movq %rax, %rcx
shlq $0x4, %rcx
movl %esi, 0x8(%rdi,%rcx)
movq %rdx, 0x10(%rdi,%rcx)
incq %rax
movq %rax, 0x1008(%rdi)
jmp 0x24471
movq %rdx, (%rcx)
movb $0x1, %al
retq
// File: /workspace/github_c_makefile_star2_O3/justy989[P]ce/ce_vim.c
// Function: ce_vim_append_key
bool ce_vim_append_key(CeVim_t* vim, CeRune_t key){
     int64_t command_len = istrlen(vim->current_command);
     if(command_len < (CE_VIM_MAX_COMMAND_LEN - 1)){
          vim->current_command[command_len] = key;
          vim->current_command[command_len + 1] = 0;
          return true;
     }

     return false;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movl %esi, %ebp
movq %rdi, %rbx
addq $0x1010, %rbx           # imm = 0x1010
movq %rbx, %rdi
callq 0x121ab
cmpq $0xe, %rax
jg 0x2449c
movl %ebp, (%rbx,%rax,4)
movl $0x0, 0x4(%rbx,%rax,4)
cmpq $0xf, %rax
setl %al
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/justy989[P]ce/ce_vim.c
// Function: string_is_whitespace
static bool string_is_whitespace(const char* string){
     if(*string == 0) return false;

     bool all_whitespace = true;
     while(*string){
          if(!isspace((int)(*string))){
               all_whitespace = false;
               break;
          }
          string++;
     }

     return all_whitespace;
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movb (%rdi), %bpl
testb %bpl, %bpl
je 0x24fcc
movq %rdi, %rbx
callq 0xd720
movq (%rax), %rcx
incq %rbx
movsbq %bpl, %rax
movzwl (%rcx,%rax,2), %edx
andl $0x2000, %edx           # imm = 0x2000
movl %edx, %eax
shrl $0xd, %eax
testl %edx, %edx
je 0x24fce
movb (%rbx), %bpl
incq %rbx
testb %bpl, %bpl
jne 0x24fa8
jmp 0x24fce
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/justy989[P]ce/ce_vim.c
// Function: ce_vim_join_next_line
bool ce_vim_join_next_line(CeBuffer_t* buffer, int64_t line, CePoint_t cursor, bool chain_undo){
     CePoint_t point = {ce_utf8_strlen(buffer->lines[line]), line};
     CePoint_t after_point = {0, point.y + 1};
     ce_buffer_remove_string_change(buffer, point, 1, &cursor, after_point, chain_undo);
     return true;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x38, %rsp
movl %r8d, %ebx
movq %rsi, %r14
movq %rdi, %r15
leaq 0x28(%rsp), %r12
movq %rdx, (%r12)
movq %rcx, 0x8(%r12)
movq (%rdi), %rax
movq (%rax,%rsi,8), %rdi
callq 0xe445
movq $0x0, 0x18(%rsp)
leaq 0x1(%r14), %rcx
movq %rcx, 0x20(%rsp)
movups 0x18(%rsp), %xmm0
movups %xmm0, (%rsp)
movl $0x1, %ecx
movq %r15, %rdi
movq %rax, %rsi
movq %r14, %rdx
movq %r12, %r8
movl %ebx, %r9d
callq 0xfab0
movb $0x1, %al
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
// File: /workspace/github_c_makefile_star2_O3/justy989[P]ce/ce_vim.c
// Function: ce_vim_verb_append
bool ce_vim_verb_append(CeVim_t* vim, const CeVimAction_t* action, CeRange_t motion_range, CeView_t* view,
                        CePoint_t* cursor, CeVimVisualData_t* visual, CeVimBufferData_t* buffer_data,
                        const CeConfigOptions_t* config_options){
     int64_t last_valid_index = ce_utf8_strlen(view->buffer->lines[cursor->y]);
     cursor->x++;
     if(cursor->x > last_valid_index) cursor->x = last_valid_index;
     ce_vim_insert_mode(vim);
     return true;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rcx, %r14
movq %rdi, %rbx
movq 0x40(%rdx), %rax
movq (%rax), %rax
movq 0x8(%rcx), %rcx
movq (%rax,%rcx,8), %rdi
callq 0xe445
movq (%r14), %rcx
leaq 0x1(%rcx), %rdx
cmpq %rax, %rcx
cmovgeq %rax, %rdx
movq %rdx, (%r14)
movl $0x1, (%rbx)
cmpb $0x0, 0x19d9(%rbx)
jne 0x250b5
addq $0x19c8, %rbx           # imm = 0x19C8
movq %rbx, %rdi
callq 0x101e1
movb $0x1, %al
addq $0x8, %rsp
popq %rbx
popq %r14
retq
// File: /workspace/github_c_makefile_star2_O3/justy989[P]ce/ce_vim.c
// Function: ce_vim_verb_motion
bool ce_vim_verb_motion(CeVim_t* vim, const CeVimAction_t* action, CeRange_t motion_range, CeView_t* view,
                        CePoint_t* cursor, CeVimVisualData_t* visual, CeVimBufferData_t* buffer_data,
                        const CeConfigOptions_t* config_options){
     if(action->motion.function == ce_vim_motion_up || action->motion.function == ce_vim_motion_down){
          motion_range.end.x = buffer_data->motion_column;
     }
     *cursor = ce_buffer_clamp_point(view->buffer, motion_range.end, CE_CLAMP_X_INSIDE);
     if(ce_points_equal(motion_range.end, *cursor)) buffer_data->motion_column = cursor->x;
     CePoint_t before_follow = view->scroll;

     if(vim->mode == CE_VIM_MODE_VISUAL &&
        (action->motion.function == ce_vim_motion_inside ||
         action->motion.function == ce_vim_motion_around) &&
        ce_point_after(visual->point, motion_range.start)){
          visual->point = motion_range.start;
     }

     // if we are searching, and our cursor goes off the screen, center it
     if(!ce_points_equal(before_follow, view->scroll) &&
        (action->motion.function == ce_vim_motion_search_next ||
         action->motion.function == ce_vim_motion_search_prev)){
          ce_view_center(view);
     }

     return true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r9, %r12
movq %r8, 0x8(%rsp)
movq %rcx, %rbp
movq %rdx, %rbx
movq %rdi, %r13
movq %rsi, 0x10(%rsp)
movq 0x10(%rsi), %rax
leaq 0x1b33(%rip), %rcx      # 0x27664
leaq 0x1bc7(%rip), %rdx      # 0x276ff
leaq 0x5f0(%r9), %rsi
cmpq %rdx, %rax
leaq 0x60(%rsp), %rdx
movq 0x8(%rdx), %r15
cmoveq %rsi, %rdx
cmpq %rcx, %rax
cmoveq %rsi, %rdx
movq (%rdx), %r14
movq 0x40(%rbx), %rdi
movq %r14, %rsi
movq %r15, %rdx
movl $0x2, %ecx
callq 0xef79
movq %rdx, %rcx
movq %rax, (%rbp)
movq %rdx, 0x8(%rbp)
movq %r14, %rdi
movq %r15, %rsi
movq %rax, %rdx
callq 0xf03d
testb %al, %al
je 0x25b96
movq (%rbp), %rax
movq %rax, 0x5f0(%r12)
movq 0x20(%rbx), %r12
movq 0x28(%rbx), %rbp
cmpl $0x2, (%r13)
jne 0x25bf9
movq 0x10(%rsp), %rax
movq 0x10(%rax), %rax
leaq 0x1e18(%rip), %rcx      # 0x279cd
cmpq %rcx, %rax
setne %cl
leaq 0x1e24(%rip), %rdx      # 0x279e6
cmpq %rdx, %rax
setne %al
testb %al, %cl
jne 0x25bf9
leaq 0x50(%rsp), %r14
movq 0x8(%rsp), %rax
movq (%rax), %rdi
movq 0x8(%rax), %rsi
movq (%r14), %rdx
movq 0x8(%r14), %rcx
callq 0xec71
testb %al, %al
je 0x25bf9
movups (%r14), %xmm0
movq 0x8(%rsp), %rax
movups %xmm0, (%rax)
movq 0x20(%rbx), %rdx
movq 0x28(%rbx), %rcx
movq %r12, %rdi
movq %rbp, %rsi
callq 0xf03d
testb %al, %al
jne 0x25c3f
movq 0x10(%rsp), %rax
movq 0x10(%rax), %rax
leaq 0x20ca(%rip), %rcx      # 0x27cea
cmpq %rcx, %rax
setne %cl
leaq 0x22b9(%rip), %rdx      # 0x27ee6
cmpq %rdx, %rax
setne %al
testb %al, %cl
jne 0x25c3f
movq %rbx, %rdi
callq 0xff40
movb $0x1, %al
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/justy989[P]ce/ce_vim.c
// Function: ce_vim_verb_yank
bool ce_vim_verb_yank(CeVim_t* vim, const CeVimAction_t* action, CeRange_t motion_range, CeView_t* view,
                      CePoint_t* cursor, CeVimVisualData_t* visual, CeVimBufferData_t* buffer_data,
                      const CeConfigOptions_t* config_options){
     CeVimYank_t* yank = vim->yanks + ce_vim_register_index(action->verb.integer);
     ce_vim_yank_free(yank);
     int64_t yank_len = 0;
     if(action->exclude_end){
          motion_range.end = ce_buffer_advance_point(view->buffer, motion_range.end, -1);
     }
     yank_len = ce_buffer_range_len(view->buffer, motion_range.start, motion_range.end);
     yank->text = ce_buffer_dupe_string(view->buffer, motion_range.start, yank_len);
     yank->type = action->yank_type;
     vim->mode = CE_VIM_MODE_NORMAL;
     return true;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x40(%rsp), %rbp
movl 0x30(%rsi), %eax
leal -0x7f(%rax), %ecx
addl $-0x20, %eax
cmpl $-0x5f, %ecx
movq $-0x1, %rcx
cmovaeq %rax, %rcx
leaq (%rcx,%rcx,2), %rax
leaq (%rdi,%rax,8), %r12
addq $0x1050, %r12           # imm = 0x1050
movq %r12, %rdi
callq 0x243bf
cmpb $0x0, 0x3e(%r14)
je 0x25cbe
movq 0x40(%r15), %rdi
movq 0x10(%rbp), %rsi
movq 0x18(%rbp), %rdx
movq $-0x1, %rcx
callq 0xee7a
movq %rax, %rcx
movq %rdx, %r8
jmp 0x25cc6
movq 0x10(%rbp), %rcx
movq 0x18(%rbp), %r8
movq 0x40(%r15), %rdi
movq (%rbp), %r13
movq 0x8(%rbp), %rbp
movq %r13, %rsi
movq %rbp, %rdx
callq 0xeb33
movq 0x40(%r15), %rdi
movq %r13, %rsi
movq %rbp, %rdx
movq %rax, %rcx
callq 0xf60a
movq %rax, 0x8(%r12)
movl 0x38(%r14), %eax
movl %eax, (%r12)
movl $0x0, (%rbx)
movb $0x1, %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/justy989[P]ce/ce_vim.c
// Function: ce_vim_verb_change
bool ce_vim_verb_change(CeVim_t* vim, const CeVimAction_t* action, CeRange_t motion_range, CeView_t* view,
                        CePoint_t* cursor, CeVimVisualData_t* visual, CeVimBufferData_t* buffer_data,
                        const CeConfigOptions_t* config_options){
     if(!ce_vim_verb_delete(vim, action, motion_range, view, cursor, visual, buffer_data, config_options)) return false;
     vim->chain_undo = true;
     ce_vim_insert_mode(vim);
     return true;
}

// Assembly:
pushq %rbp
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movaps 0x40(%rsp), %xmm0
movaps 0x50(%rsp), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
callq 0x25d13
movl %eax, %ebp
testb %al, %al
je 0x25f83
movb $0x1, 0x19d8(%rbx)
movl $0x1, (%rbx)
cmpb $0x0, 0x19d9(%rbx)
jne 0x25f83
addq $0x19c8, %rbx           # imm = 0x19C8
movq %rbx, %rdi
callq 0x101e1
movl %ebp, %eax
addq $0x28, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/justy989[P]ce/ce_vim.c
// Function: ce_vim_soft_begin_line
int64_t ce_vim_soft_begin_line(CeBuffer_t* buffer, int64_t line){
     if(line < 0 || line >= buffer->line_count) return -1;

     const char* itr = buffer->lines[line];
     int64_t index = 0;
     int64_t rune_len = 0;
     CeRune_t rune = ce_utf8_decode(itr, &rune_len);

     while(true){
          rune = ce_utf8_decode(itr, &rune_len);
          itr += rune_len;
          if(isspace(rune)) index++;
          else break;
     }

     return index;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq $-0x1, %r14
testq %rsi, %rsi
js 0x26016
cmpq %rsi, 0x8(%rdi)
jle 0x26016
movq (%rdi), %rax
movq (%rax,%rsi,8), %rbx
leaq 0x8(%rsp), %r14
movq $0x0, (%r14)
movq %rbx, %rdi
movq %r14, %rsi
callq 0xe602
movq %rbx, %rdi
movq %r14, %rsi
callq 0xe602
movl %eax, %ebp
callq 0xd720
movq %rax, %r15
movq (%rax), %rax
movslq %ebp, %rcx
testb $0x20, 0x1(%rax,%rcx,2)
jne 0x25fef
xorl %r14d, %r14d
jmp 0x26016
xorl %r14d, %r14d
leaq 0x8(%rsp), %r12
addq 0x8(%rsp), %rbx
incq %r14
movq %rbx, %rdi
movq %r12, %rsi
callq 0xe602
movq (%r15), %rcx
cltq
testb $0x20, 0x1(%rcx,%rax,2)
jne 0x25ff7
movq %r14, %rax
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq