// File: /workspace/github_c_makefile_star2_O0/justy989[P]ce/ce_app.c
// Function: load_destination_into_view
CeBuffer_t* load_destination_into_view(CeBufferNode_t** buffer_node_head, CeView_t* view, CeConfigOptions_t* config_options,
                                       CeVim_t* vim, bool insert_into_jump_list,
                                       const char* base_directory, CeDestination_t* destination){
     char full_path[MAX_PATH_LEN];
     if(!base_directory){
#if defined(PLATFORM_WINDOWS)
          bool is_absolute_path = (destination->filepath[0] != 0 && destination->filepath[1] == ':');
#else
          bool is_absolute_path = (destination->filepath[0] == CE_PATH_SEPARATOR);
#endif
          if(!is_absolute_path){
               base_directory = ".";
          }
     }
     if(base_directory){
          const char* full_path_format = "%s/%s";
          snprintf(full_path, MAX_PATH_LEN - strlen(full_path_format), full_path_format, base_directory, destination->filepath);
     }else{
          strncpy(full_path, destination->filepath, MAX_PATH_LEN);
     }
     CeBuffer_t* load_buffer = load_file_into_view(buffer_node_head, view, config_options, vim,
                                                   insert_into_jump_list, full_path);
     if(!load_buffer) return load_buffer;

     if(destination->point.y < load_buffer->line_count){
          view->cursor.y = destination->point.y;
          int64_t line_len = ce_utf8_strlen(load_buffer->lines[view->cursor.y]);
          if(destination->point.x < line_len) view->cursor.x = destination->point.x;
     }

     return load_buffer;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x470, %rsp            # imm = 0x470
movb %r8b, %al
movq 0x10(%rbp), %r8
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
andb $0x1, %al
movb %al, -0x29(%rbp)
movq %r9, -0x38(%rbp)
cmpq $0x0, -0x38(%rbp)
jne 0x17b0e
movq 0x10(%rbp), %rax
movsbl 0x10(%rax), %eax
cmpl $0x2f, %eax
sete %al
andb $0x1, %al
movb %al, -0x441(%rbp)
testb $0x1, -0x441(%rbp)
jne 0x17b0c
leaq 0x2c7ff(%rip), %rax     # 0x44307
movq %rax, -0x38(%rbp)
jmp 0x17b0e
cmpq $0x0, -0x38(%rbp)
je 0x17b68
leaq 0x2c33e(%rip), %rax     # 0x43e5a
movq %rax, -0x450(%rbp)
leaq -0x440(%rbp), %rax
movq %rax, -0x468(%rbp)
movq -0x450(%rbp), %rdi
callq 0xd200
movq -0x468(%rbp), %rdi
movl $0x400, %esi            # imm = 0x400
subq %rax, %rsi
movq -0x450(%rbp), %rdx
movq -0x38(%rbp), %rcx
movq 0x10(%rbp), %r8
addq $0x10, %r8
movb $0x0, %al
callq 0xd250
jmp 0x17b81
leaq -0x440(%rbp), %rdi
movq 0x10(%rbp), %rsi
addq $0x10, %rsi
movl $0x400, %edx            # imm = 0x400
callq 0xd0b0
movq -0x10(%rbp), %rdi
movq -0x18(%rbp), %rsi
movq -0x20(%rbp), %rdx
movq -0x28(%rbp), %rcx
movb -0x29(%rbp), %al
leaq -0x440(%rbp), %r9
andb $0x1, %al
movzbl %al, %r8d
callq 0x14420
movq %rax, -0x458(%rbp)
cmpq $0x0, -0x458(%rbp)
jne 0x17bc4
movq -0x458(%rbp), %rax
movq %rax, -0x8(%rbp)
jmp 0x17c37
movq 0x10(%rbp), %rax
movq 0x8(%rax), %rax
movq -0x458(%rbp), %rcx
cmpq 0x8(%rcx), %rax
jge 0x17c2c
movq 0x10(%rbp), %rax
movq 0x8(%rax), %rcx
movq -0x18(%rbp), %rax
movq %rcx, 0x38(%rax)
movq -0x458(%rbp), %rax
movq (%rax), %rax
movq -0x18(%rbp), %rcx
movq 0x38(%rcx), %rcx
movq (%rax,%rcx,8), %rdi
callq 0xea70
movq %rax, -0x460(%rbp)
movq 0x10(%rbp), %rax
movq (%rax), %rax
cmpq -0x460(%rbp), %rax
jge 0x17c2a
movq 0x10(%rbp), %rax
movq (%rax), %rcx
movq -0x18(%rbp), %rax
movq %rcx, 0x30(%rax)
jmp 0x17c2c
movq -0x458(%rbp), %rax
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0x470, %rsp            # imm = 0x470
popq %rbp
retq
nopw %cs:(%rax,%rax)