// File: /workspace/github_c_makefile_star2_O0/PoulinV[P]AxiCLASS/build/../tools/parser.c
// Function: parser_init
int parser_init(struct file_content * pfc,
                int size,
                char * filename,
                ErrorMsg errmsg) {

  if (size > 0) {
    pfc->size=size;
    class_alloc(pfc->filename,(strlen(filename)+1)*sizeof(char),errmsg);
    strcpy(pfc->filename,filename);
    class_alloc(pfc->name,size*sizeof(FileArg),errmsg);
    class_alloc(pfc->value,size*sizeof(FileArg),errmsg);
    class_alloc(pfc->read,size*sizeof(short),errmsg);
  }

  return _SUCCESS_;
}

// Assembly:
subq $0x2068, %rsp           # imm = 0x2068
movq %rdi, 0x2058(%rsp)
movl %esi, 0x2054(%rsp)
movq %rdx, 0x2048(%rsp)
movq %rcx, 0x2040(%rsp)
cmpl $0x0, 0x2054(%rsp)
jle 0x38294
movl 0x2054(%rsp), %ecx
movq 0x2058(%rsp), %rax
movl %ecx, 0x8(%rax)
movq 0x2048(%rsp), %rdi
callq 0x8190
movq %rax, %rdi
addq $0x1, %rdi
shlq $0x0, %rdi
callq 0x8460
movq %rax, %rcx
movq 0x2058(%rsp), %rax
movq %rcx, (%rax)
movq 0x2058(%rsp), %rax
cmpq $0x0, (%rax)
jne 0x380a9
movq 0x2048(%rsp), %rdi
callq 0x8190
addq $0x1, %rax
shlq $0x0, %rax
movl %eax, 0x203c(%rsp)
leaq 0x1830(%rsp), %rdi
movl 0x203c(%rsp), %ecx
leaq 0x199fa3(%rip), %rsi    # 0x1d2004
leaq 0x19ca37(%rip), %rdx    # 0x1d4a9f
movb $0x0, %al
callq 0x5b9c0
movq 0x2040(%rsp), %rdi
leaq 0x1830(%rsp), %r8
leaq 0x199fae(%rip), %rsi    # 0x1d2034
leaq 0x19ca20(%rip), %rdx    # 0x1d4aad
movl $0x38, %ecx
movb $0x0, %al
callq 0x5b9c0
movl $0x1, 0x2064(%rsp)
jmp 0x3829f
movq 0x2058(%rsp), %rax
movq (%rax), %rdi
movq 0x2048(%rsp), %rsi
callq 0x8370
movslq 0x2054(%rsp), %rdi
shlq $0xa, %rdi
callq 0x8460
movq %rax, %rcx
movq 0x2058(%rsp), %rax
movq %rcx, 0x10(%rax)
movq 0x2058(%rsp), %rax
cmpq $0x0, 0x10(%rax)
jne 0x38161
movslq 0x2054(%rsp), %rax
shlq $0xa, %rax
movl %eax, 0x182c(%rsp)
leaq 0x1020(%rsp), %rdi
movl 0x182c(%rsp), %ecx
leaq 0x199eeb(%rip), %rsi    # 0x1d2004
leaq 0x19c999(%rip), %rdx    # 0x1d4ab9
movb $0x0, %al
callq 0x5b9c0
movq 0x2040(%rsp), %rdi
leaq 0x1020(%rsp), %r8
leaq 0x199ef6(%rip), %rsi    # 0x1d2034
leaq 0x19c968(%rip), %rdx    # 0x1d4aad
movl $0x3a, %ecx
movb $0x0, %al
callq 0x5b9c0
movl $0x1, 0x2064(%rsp)
jmp 0x3829f
movslq 0x2054(%rsp), %rdi
shlq $0xa, %rdi
callq 0x8460
movq %rax, %rcx
movq 0x2058(%rsp), %rax
movq %rcx, 0x18(%rax)
movq 0x2058(%rsp), %rax
cmpq $0x0, 0x18(%rax)
jne 0x38201
movslq 0x2054(%rsp), %rax
shlq $0xa, %rax
movl %eax, 0x101c(%rsp)
leaq 0x810(%rsp), %rdi
movl 0x101c(%rsp), %ecx
leaq 0x199e4b(%rip), %rsi    # 0x1d2004
leaq 0x19c903(%rip), %rdx    # 0x1d4ac3
movb $0x0, %al
callq 0x5b9c0
movq 0x2040(%rsp), %rdi
leaq 0x810(%rsp), %r8
leaq 0x199e56(%rip), %rsi    # 0x1d2034
leaq 0x19c8c8(%rip), %rdx    # 0x1d4aad
movl $0x3b, %ecx
movb $0x0, %al
callq 0x5b9c0
movl $0x1, 0x2064(%rsp)
jmp 0x3829f
movslq 0x2054(%rsp), %rdi
shlq %rdi
callq 0x8460
movq %rax, %rcx
movq 0x2058(%rsp), %rax
movq %rcx, 0x20(%rax)
movq 0x2058(%rsp), %rax
cmpq $0x0, 0x20(%rax)
jne 0x38292
movslq 0x2054(%rsp), %rax
shlq %rax
movl %eax, 0x80c(%rsp)
movq %rsp, %rdi
movl 0x80c(%rsp), %ecx
leaq 0x199db2(%rip), %rsi    # 0x1d2004
leaq 0x19c875(%rip), %rdx    # 0x1d4ace
movb $0x0, %al
callq 0x5b9c0
movq 0x2040(%rsp), %rdi
movq %rsp, %r8
leaq 0x199dc2(%rip), %rsi    # 0x1d2034
leaq 0x19c834(%rip), %rdx    # 0x1d4aad
movl $0x3c, %ecx
movb $0x0, %al
callq 0x5b9c0
movl $0x1, 0x2064(%rsp)
jmp 0x3829f
jmp 0x38294
movl $0x0, 0x2064(%rsp)
movl 0x2064(%rsp), %eax
addq $0x2068, %rsp           # imm = 0x2068
retq
nop