LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O3/Sigabort42[P]WoodyWoodPacker/main.c
// Function: run
int	run(char *file, char *payload, char *name)
{
  t_env		env;
  int		r;
  
  env.name_output = ft_strdup(name);
  if ((env.fd = open(file, O_RDWR)) < 0)
    return (1);
  if (fstat(env.fd, &env.buf) < 0)
    return (2);
  if ((env.ptr = mmap(0, env.buf.st_size, PROT_READ | PROT_WRITE,
  MAP_PRIVATE, env.fd, 0)) == MAP_FAILED)
    return (3);
  if (ft_strcmp(payload, ""))
    {
      if ((env.fd2 = open(payload, O_RDWR)) < 0)
	return (4);
      if (fstat(env.fd2, &env.buf_payload) < 0)
	return (5);
      if ((env.ptr_payload = mmap(0, env.buf_payload.st_size,
      PROT_READ | PROT_WRITE, MAP_PRIVATE, env.fd2, 0)) == MAP_FAILED)
	return (6);
    }
  r = woody(&env);
  if (munmap(env.ptr, env.buf.st_size) < 0)
    return (7);
  return (r);
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
subq $0x170, %rsp            # imm = 0x170
movq %rsi, %rbx
movq %rdi, %r14
movq %rdx, %rdi
callq 0x3f08
movq %rax, (%rsp)
movl $0x2, %ebp
movq %r14, %rdi
movl $0x2, %esi
xorl %eax, %eax
callq 0x10d0
movl %eax, 0x168(%rsp)
testl %eax, %eax
js 0x1319
leaq 0x8(%rsp), %rsi
movl %eax, %edi
callq 0x10e0
testl %eax, %eax
js 0x131e
movq 0x38(%rsp), %rsi
movl 0x168(%rsp), %r8d
movl $0x3, %ebp
xorl %edi, %edi
movl $0x3, %edx
movl $0x2, %ecx
xorl %r9d, %r9d
callq 0x1060
movq %rax, 0x128(%rsp)
cmpq $-0x1, %rax
je 0x131e
leaq 0x3dda(%rip), %rsi      # 0x5059
movq %rbx, %rdi
callq 0x3ee0
testl %eax, %eax
je 0x12ee
movq %rbx, %rdi
movl $0x2, %esi
xorl %eax, %eax
callq 0x10d0
movl %eax, 0x16c(%rsp)
testl %eax, %eax
js 0x132c
leaq 0x98(%rsp), %rsi
movl %eax, %edi
callq 0x10e0
testl %eax, %eax
js 0x1333
movq 0xc8(%rsp), %rsi
movl 0x16c(%rsp), %r8d
xorl %edi, %edi
movl $0x3, %edx
movl $0x2, %ecx
xorl %r9d, %r9d
callq 0x1060
movq %rax, 0x130(%rsp)
cmpq $-0x1, %rax
je 0x133a
movq %rsp, %rbx
movq %rbx, %rdi
callq 0x14aa
movl %eax, %r14d
movq 0x38(%rbx), %rsi
movq 0x128(%rbx), %rdi
callq 0x10c0
testl %eax, %eax
movl $0x7, %ebp
cmovnsl %r14d, %ebp
jmp 0x131e
movl $0x1, %ebp
movl %ebp, %eax
addq $0x170, %rsp            # imm = 0x170
popq %rbx
popq %r14
popq %rbp
retq
movl $0x4, %ebp
jmp 0x131e
movl $0x5, %ebp
jmp 0x131e
movl $0x6, %ebp
jmp 0x131e
// File: /workspace/github_c_makefile_star2_O3/Sigabort42[P]WoodyWoodPacker/main.c
// Function: main
int	main(int ac, char **av)
{	
  if (ac < 2)
    {
      ft_printf("%s FILE [PAYLOAD] [NAME OUTPUT]", av[0]);
      return (1);
    }
  else if (ac > 3)
    return run(av[1], av[2], av[3]);
  else if (ac > 2)
    return run(av[1], av[2], "woody");
  else
    return run(av[1], "", "woody");
}

// Assembly:
cmpl $0x1, %edi
jg 0x135f
pushq %rax
movq (%rsi), %rsi
leaq 0x3cb3(%rip), %rdi      # 0x5004
xorl %eax, %eax
callq 0x1a3d
movl $0x1, %eax
popq %rcx
retq
cmpl $0x4, %edi
jb 0x1378
movq 0x8(%rsi), %rdi
movq 0x10(%rsi), %rax
movq 0x18(%rsi), %rdx
movq %rax, %rsi
jmp 0x11ec
movq 0x8(%rsi), %rax
cmpl $0x2, %edi
jne 0x138a
leaq 0x3cd1(%rip), %rsi      # 0x5059
jmp 0x138e
movq 0x10(%rsi), %rsi
leaq 0x3c8f(%rip), %rdx      # 0x5024
movq %rax, %rdi
jmp 0x11ec
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O3/Sigabort42[P]WoodyWoodPacker/woody.c
// Function: packing64
int	packing64(t_env *env)
{
  Elf64_Phdr    *seg;
  int           i;

  i = 0;
  seg = (Elf64_Phdr*)((char*)env->ptr + (unsigned int)env->elf64->e_phoff);
  env->old_vaddr64 = env->elf64->e_entry;
  while (i < env->elf64->e_phnum)
    {
      if (seg->p_type == PT_LOAD && seg->p_flags & PF_W)
	break;
      seg = (Elf64_Phdr*)((char*)seg + (unsigned int) env->elf64->e_phentsize);
      i++;
    }
  env->sec64 = find_section(env->ptr_payload, ".text");
  //  xor_block (env->ptr + env->sec64->sh_offset, env->sec64->sh_size);
  if ((i = inject(env)) != 0)
    return (i);
  ft_printf("++ FILE CREATED: %s\n++ KEY: %s\n", key, env->name_output);
  return (0);
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x130(%rdi), %rdi
movq 0x138(%rbx), %rax
movq 0x18(%rax), %rax
movq %rax, 0x148(%rbx)
leaq 0x3bfd(%rip), %rsi      # 0x506c
callq 0x13c5
movq %rax, 0x140(%rbx)
movq %rbx, %rdi
callq 0x1719
movl %eax, %ebp
testl %eax, %eax
jne 0x14a1
movq (%rbx), %rdx
leaq 0x3bdf(%rip), %rdi      # 0x5072
leaq 0x6bee(%rip), %rsi      # 0x8088
xorl %eax, %eax
callq 0x1a3d
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/Sigabort42[P]WoodyWoodPacker/woody.c
// Function: woody
int     woody(t_env *env)
{
  env->elf64 = (Elf64_Ehdr*)env->ptr;
  if (env->elf64->e_ident[0] == ELFMAG0 &&
      env->elf64->e_ident[1] == ELFMAG1 &&
      env->elf64->e_ident[2] == ELFMAG2 &&
      env->elf64->e_ident[3] == ELFMAG3 &&
      env->elf64->e_type == ET_EXEC)
    {
      if (env->elf64->e_ident[EI_CLASS] == ELFCLASS64)
	return packing64(env);
      else if (env->elf64->e_ident[EI_CLASS] == ELFCLASS32)
	return packing32(env);
    }
  else
    {
      ft_printf("%s\n", "Error: File is not ELF Executable or PIE activate");
      return (-1);
    }
  return (0);
}

// Assembly:
pushq %rbx
movq 0x128(%rdi), %rax
movq %rax, 0x138(%rdi)
cmpb $0x7f, (%rax)
jne 0x14f3
cmpb $0x45, 0x1(%rax)
jne 0x14f3
cmpb $0x4c, 0x2(%rax)
jne 0x14f3
cmpb $0x46, 0x3(%rax)
jne 0x14f3
cmpw $0x2, 0x10(%rax)
jne 0x14f3
movq %rdi, %rsi
movzbl 0x4(%rax), %eax
cmpl $0x1, %eax
je 0x1511
xorl %ebx, %ebx
cmpl $0x2, %eax
jne 0x150d
movq %rsi, %rdi
popq %rbx
jmp 0x1449
leaq 0x3b94(%rip), %rdi      # 0x508e
leaq 0x3b91(%rip), %rsi      # 0x5092
xorl %eax, %eax
callq 0x1a3d
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
movl %ebx, %eax
popq %rbx
retq
leaq 0x3b42(%rip), %rdi      # 0x505a
xorl %ebx, %ebx
xorl %eax, %eax
callq 0x1070
jmp 0x150d
nop
// File: /workspace/github_c_makefile_star2_O3/Sigabort42[P]WoodyWoodPacker/inject.c
// Function: infect_section
void		infect_section(t_env *env, Elf64_Addr text_end,
			       Elf64_Addr payload_vaddr)
{
  Elf64_Shdr* shdr;
  int		payload_len;

  payload_len = env->sec64->sh_size;
  shdr = (Elf64_Shdr*) (env->ptr + env->elf64->e_shoff);
  env->elf64->e_shoff += PAGE_SZ64;
  for(int i=0; i < env->elf64->e_shnum; i++)
    {
      if(shdr[i].sh_offset > text_end)
	shdr[i].sh_offset += PAGE_SZ64;       
      else if(shdr[i].sh_addr + shdr[i].sh_size == payload_vaddr)
	shdr[i].sh_size += payload_len;
    }

}

// Assembly:
movq 0x140(%rdi), %rax
movq 0x20(%rax), %rcx
movq 0x128(%rdi), %r8
movq 0x138(%rdi), %rax
movq 0x28(%rax), %rdi
leaq 0x2000(%rdi), %r9
movq %r9, 0x28(%rax)
movzwl 0x3c(%rax), %eax
testq %rax, %rax
je 0x159e
movslq %ecx, %rcx
addq %r8, %rdi
addq $0x20, %rdi
shll $0x6, %eax
xorl %r8d, %r8d
movq -0x8(%rdi,%r8), %r9
cmpq %rsi, %r9
jbe 0x157d
addq $0x2000, %r9            # imm = 0x2000
movq %r9, -0x8(%rdi,%r8)
jmp 0x1595
movq (%rdi,%r8), %r9
movq -0x10(%rdi,%r8), %r10
addq %r9, %r10
cmpq %rdx, %r10
jne 0x1595
addq %rcx, %r9
movq %r9, (%rdi,%r8)
addq $0x40, %r8
cmpq %r8, %rax
jne 0x1565
retq
// File: /workspace/github_c_makefile_star2_O3/Sigabort42[P]WoodyWoodPacker/inject.c
// Function: infect_segment
Elf64_Addr	infect_segment(t_env *env, Elf64_Addr *text_end)
{
  Elf64_Phdr	*phdr;
  Elf64_Addr	payload_vaddr;
  int		payload_len;

  payload_vaddr = 0;
  payload_len = env->sec64->sh_size;
  phdr = (Elf64_Phdr*) (env->ptr + env->elf64->e_phoff);
  for(int i=0; i < env->elf64->e_phnum; i++)
    {
      if(phdr[i].p_type == PT_LOAD && phdr[i].p_flags == (PF_R | PF_X))
	{
	  *text_end = phdr[i].p_offset + phdr[i].p_filesz;
	  payload_vaddr = phdr[i].p_vaddr + phdr[i].p_filesz;
	  env->elf64->e_entry = payload_vaddr;
	  phdr[i].p_filesz += payload_len;
	  phdr[i].p_memsz += payload_len;
	  for(int j=i+1; j < env->elf64->e_phnum; j++)
	    phdr[j].p_offset += PAGE_SZ64;
	  break;
	}
    }
  return (payload_vaddr);
}

// Assembly:
pushq %rbx
movq 0x138(%rdi), %r9
movzwl 0x38(%r9), %r8d
testl %r8d, %r8d
je 0x1600
movq 0x140(%rdi), %rax
movq 0x20(%rax), %r10
movq 0x128(%rdi), %rax
movq 0x20(%r9), %rdx
movl %r8d, %ecx
addq %rax, %rdx
addq $0x40, %rdx
movq %rcx, %r11
negq %r11
movl $0x1, %edi
xorl %eax, %eax
cmpl $0x1, -0x40(%rdx)
jne 0x15ea
cmpl $0x5, -0x3c(%rdx)
je 0x1604
addq $0x38, %rdx
leaq (%r11,%rdi), %rbx
incq %rbx
incq %rdi
cmpq $0x1, %rbx
jne 0x15de
jmp 0x1644
xorl %eax, %eax
jmp 0x1644
movq -0x20(%rdx), %rax
addq -0x38(%rdx), %rax
movq %rax, (%rsi)
movq -0x20(%rdx), %rsi
movq -0x30(%rdx), %rax
addq %rsi, %rax
movq %rax, 0x18(%r9)
movslq %r10d, %r9
addq %r9, %rsi
movq %rsi, -0x20(%rdx)
addq %r9, -0x18(%rdx)
cmpl %r8d, %edi
jae 0x1644
addq $0x2000, (%rdx)         # imm = 0x2000
addq $0x38, %rdx
decq %rcx
cmpq %rcx, %rdi
jne 0x1631
popq %rbx
retq
// File: /workspace/github_c_makefile_star2_O3/Sigabort42[P]WoodyWoodPacker/inject.c
// Function: inject
int	inject(t_env *env)
{
  char	*new_file;
  int	fd;

  new_file = infect(env, env->buf.st_size,
  env->ptr_payload + env->sec64->sh_offset, env->sec64->sh_size);
  if ((fd = open(env->name_output, O_RDWR | O_CREAT,
  S_IRWXU | S_IRWXG | S_IRWXO)) < 0)
    return (2);
  write(fd, new_file, env->buf.st_size + PAGE_SZ64);
  return (0);
}

// Assembly:
pushq %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
movl 0x38(%rdi), %esi
movq 0x130(%rdi), %rdx
movq 0x140(%rdi), %rax
addq 0x18(%rax), %rdx
movl 0x20(%rax), %ecx
callq 0x1646
movq %rax, %r14
movq (%rbx), %rdi
xorl %ebp, %ebp
movl $0x42, %esi
movl $0x1ff, %edx            # imm = 0x1FF
xorl %eax, %eax
callq 0x10d0
testl %eax, %eax
js 0x176f
movl $0x2000, %edx           # imm = 0x2000
addq 0x38(%rbx), %rdx
movl %eax, %edi
movq %r14, %rsi
callq 0x1040
jmp 0x1774
movl $0x2, %ebp
movl %ebp, %eax
popq %rbx
popq %r14
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O3/Sigabort42[P]WoodyWoodPacker/libft/ft_printf/ft_printf.c
// Function: ft_printf
int					ft_printf(const char *format, ...)
{
	t_var			var;
	va_list			ap;

	ft_init_var(&var);
	va_start(ap, format);
	if (ft_return_printf2(format, ap, &var))
		return (-1);
	if (ft_verif_wchar_nb(&var))
		return (-1);
	else if (var.type == TYPE_WCHAR && var.nb_conv && var.nb.u_i > 1114111)
	{
		var.ret = var.ret - 1 - ft_strlen(var.flags_stock) - 1;
		while (format[var.ret--] != '%')
			var.i_buf--;
		var.i_buf++;
		write(var.fd, var.buf, var.i_buf);
		ft_free(&var);
		return (-1);
	}
	va_end(ap);
	write(var.fd, var.buf, var.i_buf);
	ft_free(&var);
	return (var.i_buf);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x178, %rsp            # imm = 0x178
movq %rdi, %r14
leaq 0xc0(%rsp), %r15
movq %rsi, 0x8(%r15)
movq %rdx, 0x10(%r15)
movq %rcx, 0x18(%r15)
movq %r8, 0x20(%r15)
movq %r9, 0x28(%r15)
testb %al, %al
je 0x1aae
movaps %xmm0, 0xf0(%rsp)
movaps %xmm1, 0x100(%rsp)
movaps %xmm2, 0x110(%rsp)
movaps %xmm3, 0x120(%rsp)
movaps %xmm4, 0x130(%rsp)
movaps %xmm5, 0x140(%rsp)
movaps %xmm6, 0x150(%rsp)
movaps %xmm7, 0x160(%rsp)
movq %rsp, %rbx
movq %rbx, %rdi
callq 0x3e34
leaq 0xa0(%rsp), %rsi
movq %r15, 0x10(%rsi)
leaq 0x1a0(%rsp), %rax
movq %rax, 0x8(%rsi)
movabsq $0x3000000008, %rax     # imm = 0x3000000008
movq %rax, (%rsi)
movq %r14, %rdi
movq %rbx, %rdx
callq 0x3ea8
movl $0xffffffff, %ebx       # imm = 0xFFFFFFFF
testl %eax, %eax
jne 0x1bb2
movq %rsp, %rdi
callq 0x3e7a
testl %eax, %eax
jne 0x1bb2
cmpl $0x3, 0x78(%rsp)
jne 0x1b53
cmpl $0x0, 0x98(%rsp)
je 0x1b53
cmpl $0x110000, 0x70(%rsp)   # imm = 0x110000
jb 0x1b53
leaq 0x18(%rsp), %r15
movl 0x44(%r15), %r12d
movq %r15, %rdi
callq 0x3ecc
notl %eax
leal (%r12,%rax), %edx
decl %edx
leal (%r12,%rax), %ecx
addl $-0x2, %ecx
movslq %edx, %rax
cmpb $0x25, (%r14,%rax)
movl 0x48(%r15), %eax
jne 0x1b76
incl %eax
jmp 0x1b8c
movq %rsp, %rbx
movl 0x94(%rbx), %edi
movq 0x8(%rbx), %rsi
movslq 0x60(%rbx), %rdx
callq 0x1040
movq %rbx, %rdi
callq 0x3e1c
movl 0x60(%rbx), %ebx
jmp 0x1bb2
movslq %ecx, %rdx
addq %rdx, %r14
incl %eax
decl %ecx
decl %eax
cmpb $0x25, (%r14)
leaq -0x1(%r14), %r14
jne 0x1b7e
movq %rsp, %r14
movl %ecx, 0x5c(%r14)
movl %eax, 0x60(%r14)
movl 0x94(%r14), %edi
movq 0x8(%r14), %rsi
movslq %eax, %rdx
callq 0x1040
movq %r14, %rdi
callq 0x3e1c
movl %ebx, %eax
addq $0x178, %rsp            # imm = 0x178
popq %rbx
popq %r12
popq %r14
popq %r15
retq
nop
// File: /workspace/github_c_makefile_star2_O3/Sigabort42[P]WoodyWoodPacker/libft/ft_printf/ft_flags.c
// Function: ft_flags
int					ft_flags(char *flags, t_flags *s_flags)
{
	int				i;

	i = 0;
	if (flags[0] == 0)
		return (0);
	s_flags->c = 0;
	while (flags[i] && (!(flags[i] >= '1' && flags[i] <= '9')) &&
		flags[i] != '.' && ft_verif_mod(flags[i]))
	{
		if (flags[i] == '0')
			s_flags->c = s_flags->c | (1 << 0);
		if (flags[i] == '+')
			s_flags->c = s_flags->c | (1 << 1);
		if (flags[i] == '-')
			s_flags->c = s_flags->c | (1 << 2);
		if (flags[i] == ' ')
			s_flags->c = s_flags->c | (1 << 3);
		if (flags[i] == '#')
			s_flags->c = s_flags->c | (1 << 4);
		i++;
	}
	ft_flags2(flags, s_flags, &i);
	return (1);
}

// Assembly:
cmpb $0x0, (%rdi)
je 0x209b
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movb $0x0, (%rsi)
movb (%rdi), %dl
xorl %ebp, %ebp
movl $0x0, %r12d
movq %rdi, %r15
testb %dl, %dl
je 0x20a4
xorl %eax, %eax
movl $0x207, %ecx            # imm = 0x207
xorl %r12d, %r12d
cmpb $0x2e, %dl
je 0x209e
leal -0x31(%rdx), %esi
cmpb $0x9, %sil
jb 0x209e
leal -0x68(%rdx), %esi
rorb %sil
cmpb $0x9, %sil
ja 0x204c
movzbl %sil, %esi
btl %esi, %ecx
jb 0x209e
cmpb $0x30, %dl
jne 0x2059
orb $0x1, %al
movb %al, (%rbx)
movb (%r14,%r12), %dl
cmpb $0x2b, %dl
jne 0x2066
orb $0x2, %al
movb %al, (%rbx)
movb (%r14,%r12), %dl
cmpb $0x2d, %dl
jne 0x2073
orb $0x4, %al
movb %al, (%rbx)
movb (%r14,%r12), %dl
cmpb $0x20, %dl
jne 0x2080
orb $0x8, %al
movb %al, (%rbx)
movb (%r14,%r12), %dl
cmpb $0x23, %dl
jne 0x2089
orb $0x10, %al
movb %al, (%rbx)
movb 0x1(%r14,%r12), %dl
incq %r12
testb %dl, %dl
jne 0x2029
leaq (%r14,%r12), %r15
jmp 0x20a4
xorl %eax, %eax
retq
movq %r12, %r15
addq %r14, %r15
movq %r15, %rdi
callq 0x400c
testl %eax, %eax
cmovlel %ebp, %eax
movl %eax, 0x4(%rbx)
movb (%r15), %al
addb $-0x30, %al
cmpb $0x9, %al
ja 0x20cf
movq %r15, %rdi
callq 0x400c
movslq %eax, %rdi
callq 0x41fc
movl %eax, %ebp
addl %r12d, %ebp
movslq %ebp, %rax
leaq (%r14,%rax), %r12
xorl %r15d, %r15d
cmpb $0x2e, (%r14,%rax)
movl $0x0, %ecx
jne 0x20f9
leaq 0x1(%r12), %rdi
callq 0x400c
xorl %ecx, %ecx
testl %eax, %eax
cmovgl %eax, %ecx
movl %ecx, 0x8(%rbx)
leaq 0x1(%r12), %rdi
callq 0x400c
movslq %eax, %rdi
callq 0x41fc
cmpb $0x2e, (%r12)
cmovel %eax, %r15d
addl %ebp, %r15d
movslq %r15d, %rax
addq %rax, %r14
movb $0x0, 0xc(%rbx)
leaq 0x3063(%rip), %rsi      # 0x518e
movq %r14, %rdi
callq 0x3f94
movb $0x1, %cl
testq %rax, %rax
jne 0x21a8
leaq 0x304e(%rip), %rsi      # 0x518f
movq %r14, %rdi
callq 0x3f94
movb $0x2, %cl
testq %rax, %rax
jne 0x21a8
leaq 0x303a(%rip), %rsi      # 0x5191
movq %r14, %rdi
callq 0x3f94
movb $0x8, %cl
testq %rax, %rax
jne 0x21a8
leaq 0x3025(%rip), %rsi      # 0x5192
movq %r14, %rdi
callq 0x3f94
movb $0x4, %cl
testq %rax, %rax
jne 0x21a8
leaq 0x3011(%rip), %rsi      # 0x5194
movq %r14, %rdi
callq 0x3f94
movb $0x10, %cl
testq %rax, %rax
jne 0x21a8
leaq 0x2ffd(%rip), %rsi      # 0x5196
movq %r14, %rdi
callq 0x3f94
movb $0x20, %cl
testq %rax, %rax
je 0x21ab
orb %cl, 0xc(%rbx)
movl $0x1, %eax
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O3/Sigabort42[P]WoodyWoodPacker/libft/ft_printf/ft_wchar.c
// Function: ft_wchar2
void		ft_wchar2(wchar_t chr, t_var *var, int i)
{
	if (chr > 0)
		var->i_buf -= i;
	if (chr <= 127)
		var->buf[var->i_buf++] = chr;
	else if (chr <= 2047)
	{
		var->buf[var->i_buf++] = (chr >> 6) + 192;
		var->buf[var->i_buf++] = (chr & 63) + 128;
	}
	else if (chr <= 65535)
	{
		var->buf[var->i_buf++] = (chr >> 12) + 224;
		var->buf[var->i_buf++] = ((chr >> 6) & 63) + 128;
		var->buf[var->i_buf++] = (chr & 63) + 128;
	}
	else if (chr <= 1114111)
	{
		var->buf[var->i_buf++] = (chr >> 18) + 240;
		var->buf[var->i_buf++] = ((chr >> 12) & 63) + 128;
		var->buf[var->i_buf++] = ((chr >> 6) & 63) + 128;
		var->buf[var->i_buf++] = (chr & 63) + 128;
	}
}

// Assembly:
leaq 0x60(%rsi), %rax
movl 0x60(%rsi), %ecx
testl %edi, %edi
jle 0x2908
subl %edx, %ecx
movl %ecx, (%rax)
cmpl $0x7f, %edi
ja 0x2911
addq $0x8, %rsi
jmp 0x29ce
cmpl $0x7ff, %edi            # imm = 0x7FF
ja 0x2939
movl %edi, %edx
shrl $0x6, %edx
orb $-0x40, %dl
movq 0x8(%rsi), %r8
leal 0x1(%rcx), %r9d
movl %r9d, 0x60(%rsi)
movslq %ecx, %rcx
movb %dl, (%r8,%rcx)
jmp 0x29bf
cmpl $0xffff, %edi           # imm = 0xFFFF
ja 0x295e
movl %edi, %edx
shrl $0xc, %edx
orb $-0x20, %dl
movq 0x8(%rsi), %r8
leal 0x1(%rcx), %r9d
movl %r9d, 0x60(%rsi)
movslq %ecx, %rcx
movb %dl, (%r8,%rcx)
jmp 0x29a0
cmpl $0x10ffff, %edi         # imm = 0x10FFFF
ja 0x29dd
movl %edi, %edx
shrl $0x12, %edx
orb $-0x10, %dl
movq 0x8(%rsi), %r8
leal 0x1(%rcx), %r9d
movl %r9d, 0x60(%rsi)
movslq %ecx, %rcx
movb %dl, (%r8,%rcx)
movl %edi, %ecx
shrl $0xc, %ecx
andb $0x3f, %cl
orb $-0x80, %cl
movq 0x8(%rsi), %rdx
movslq 0x60(%rsi), %r8
leal 0x1(%r8), %r9d
movl %r9d, 0x60(%rsi)
movb %cl, (%rdx,%r8)
movl %edi, %ecx
shrl $0x6, %ecx
andb $0x3f, %cl
orb $-0x80, %cl
movq 0x8(%rsi), %rdx
movslq 0x60(%rsi), %r8
leal 0x1(%r8), %r9d
movl %r9d, 0x60(%rsi)
movb %cl, (%rdx,%r8)
movl 0x60(%rsi), %ecx
addq $0x8, %rsi
andb $0x3f, %dil
orb $-0x80, %dil
movq (%rsi), %rdx
leal 0x1(%rcx), %esi
movl %esi, (%rax)
movslq %ecx, %rax
movb %dil, (%rdx,%rax)
retq
// File: /workspace/github_c_makefile_star2_O3/Sigabort42[P]WoodyWoodPacker/libft/ft_printf/ft_wchar.c
// Function: ft_wchar
char		*ft_wchar(wchar_t chr)
{
	char	*c;

	c = ft_strnew(4);
	if (chr <= 127)
		c[0] = chr;
	else if (chr <= 2047)
	{
		c[0] = (chr >> 6) + 192;
		c[1] = (chr & 63) + 128;
	}
	else if (chr <= 65535)
	{
		c[0] = (chr >> 12) + 224;
		c[1] = ((chr >> 6) & 63) + 128;
		c[2] = (chr & 63) + 128;
	}
	else if (chr <= 1114111)
	{
		c[0] = (chr >> 18) + 240;
		c[1] = ((chr >> 12) & 63) + 128;
		c[2] = ((chr >> 6) & 63) + 128;
		c[3] = (chr & 63) + 128;
	}
	return (c);
}

// Assembly:
pushq %rbx
movl %edi, %ebx
movl $0x4, %edi
callq 0x407c
cmpl $0x7f, %ebx
jg 0x29f4
movb %bl, (%rax)
jmp 0x2a73
cmpl $0x7ff, %ebx            # imm = 0x7FF
ja 0x2a11
movl %ebx, %ecx
shrl $0x6, %ecx
orb $-0x40, %cl
movb %cl, (%rax)
andb $0x3f, %bl
orb $-0x80, %bl
movb %bl, 0x1(%rax)
jmp 0x2a73
cmpl $0xffff, %ebx           # imm = 0xFFFF
ja 0x2a3c
movl %ebx, %ecx
shrl $0xc, %ecx
orb $-0x20, %cl
movb %cl, (%rax)
movl %ebx, %ecx
shrl $0x6, %ecx
andb $0x3f, %cl
orb $-0x80, %cl
movb %cl, 0x1(%rax)
andb $0x3f, %bl
orb $-0x80, %bl
movb %bl, 0x2(%rax)
jmp 0x2a73
cmpl $0x10ffff, %ebx         # imm = 0x10FFFF
ja 0x2a73
movl %ebx, %ecx
shrl $0x12, %ecx
orb $-0x10, %cl
movb %cl, (%rax)
movl %ebx, %ecx
shrl $0xc, %ecx
andb $0x3f, %cl
orb $-0x80, %cl
movb %cl, 0x1(%rax)
movl %ebx, %ecx
shrl $0x6, %ecx
andb $0x3f, %cl
orb $-0x80, %cl
movb %cl, 0x2(%rax)
andb $0x3f, %bl
orb $-0x80, %bl
movb %bl, 0x3(%rax)
popq %rbx
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O3/Sigabort42[P]WoodyWoodPacker/libft/ft_printf/ft_wstrlen.c
// Function: ft_wstrlen
int	ft_wstrlen(wchar_t chr)
{
	if (chr <= 0x7F)
		return (1);
	else if (chr <= 0x7FF)
		return (2);
	else if (chr <= 0xFFFF)
		return (3);
	else if (chr <= 0x10FFFF)
		return (4);
	return (0);
}

// Assembly:
movl $0x1, %eax
cmpl $0x80, %edi
jl 0x2aad
movl $0x2, %eax
cmpl $0x800, %edi            # imm = 0x800
jb 0x2aad
movl $0x3, %eax
cmpl $0x10000, %edi          # imm = 0x10000
jb 0x2aad
xorl %eax, %eax
cmpl $0x110000, %edi         # imm = 0x110000
setb %al
shll $0x2, %eax
retq
nop
// File: /workspace/github_c_makefile_star2_O3/Sigabort42[P]WoodyWoodPacker/libft/ft_printf/ft_conv_envoi_maj.c
// Function: ft_conv_envoi_maj3
void	ft_conv_envoi_maj3(va_list ap, t_var *var, t_flags *s_flags, int base)
{
	if ((s_flags->m & (1 << 5)))
		ft_flags_stock(var, s_flags,
						ft_ltoa_base_maj(va_arg(ap, size_t), base));
	else
	{
		if (var->type <= TYPE_INT && s_flags->m == 0)
			ft_flags_stock(var, s_flags,
						ft_itoa_base_maj(va_arg(ap, int), base));
		else
			ft_flags_stock(var, s_flags,
					ft_lltoa_base_maj(va_arg(ap, unsigned int), base));
	}
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movb 0xc(%rdx), %dl
testb $0x20, %dl
jne 0x2ae2
movl (%rdi), %eax
testb %dl, %dl
jne 0x2af8
cmpl $0x7, 0x78(%r14)
jg 0x2af8
cmpl $0x28, %eax
ja 0x2b3a
movq %rax, %rdx
addq 0x10(%rdi), %rdx
addl $0x8, %eax
movl %eax, (%rdi)
jmp 0x2b46
movl (%rdi), %edx
cmpq $0x28, %rdx
ja 0x2b0b
movq %rdx, %rax
addq 0x10(%rdi), %rax
addl $0x8, %edx
movl %edx, (%rdi)
jmp 0x2b17
cmpl $0x28, %eax
ja 0x2b23
movq %rax, %rdx
addq 0x10(%rdi), %rdx
addl $0x8, %eax
movl %eax, (%rdi)
jmp 0x2b2f
movq 0x8(%rdi), %rax
leaq 0x8(%rax), %rdx
movq %rdx, 0x8(%rdi)
movq (%rax), %rdi
movl %ecx, %esi
callq 0x43fc
jmp 0x2b4f
movq 0x8(%rdi), %rdx
leaq 0x8(%rdx), %rax
movq %rax, 0x8(%rdi)
movl (%rdx), %edi
movl %ecx, %esi
callq 0x452c
jmp 0x2b4f
movq 0x8(%rdi), %rdx
leaq 0x8(%rdx), %rax
movq %rax, 0x8(%rdi)
movl (%rdx), %edi
movl %ecx, %esi
callq 0x42cc
movq %r14, %rdi
movq %rbx, %rsi
movq %rax, %rdx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x2524
// File: /workspace/github_c_makefile_star2_O3/Sigabort42[P]WoodyWoodPacker/libft/ft_printf/ft_conv_envoi_maj.c
// Function: ft_conv_envoi_maj2
void	ft_conv_envoi_maj2(va_list ap, t_var *var, t_flags *s_flags, int base)
{
	if ((s_flags->m & (1 << 1)))
		ft_flags_stock(var, s_flags,
						ft_itoa_base_maj((short)va_arg(ap, int), base));
	else if ((s_flags->m & (1 << 2)) && (var->type >= TYPE_UNSIGNED &&
										var->type <= TYPE_HEXA_MAJ))
		ft_flags_stock(var, s_flags,
						ft_lltoa_base_maj(va_arg(ap, long long), base));
	else if ((s_flags->m & (1 << 2)))
		ft_flags_stock(var, s_flags,
						ft_ltoa_base_maj(va_arg(ap, long), base));
	else if ((s_flags->m & (1 << 4)))
		ft_flags_stock(var, s_flags,
						ft_ui_maxtoa_base_maj(va_arg(ap, uintmax_t), base));
	else if ((s_flags->m & (1 << 5)) && (var->type >= TYPE_UNSIGNED &&
										var->type <= TYPE_HEXA_MAJ))
		ft_flags_stock(var, s_flags,
						ft_ui_maxtoa_base_maj(va_arg(ap, ssize_t), base));
	else
		ft_conv_envoi_maj3(ap, var, s_flags, base);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movzbl 0xc(%rdx), %eax
testb $0x2, %al
jne 0x2baf
testb $0x4, %al
jne 0x2bc5
testb $0x10, %al
jne 0x2b92
testb $0x20, %al
je 0x2c11
movl 0x78(%r14), %eax
addl $-0x9, %eax
cmpl $0x5, %eax
ja 0x2c11
movl (%rdi), %edx
cmpq $0x28, %rdx
ja 0x2c23
movq %rdx, %rax
addq 0x10(%rdi), %rax
addl $0x8, %edx
movl %edx, (%rdi)
jmp 0x2c2f
movl (%rdi), %edx
cmpq $0x28, %rdx
ja 0x2be6
movq %rdx, %rax
addq 0x10(%rdi), %rax
addl $0x8, %edx
movl %edx, (%rdi)
jmp 0x2bf2
movl 0x78(%r14), %edx
addl $-0x9, %edx
movl (%rdi), %eax
cmpl $0x5, %edx
ja 0x2bfe
cmpl $0x28, %eax
ja 0x2c3b
movq %rax, %rdx
addq 0x10(%rdi), %rdx
addl $0x8, %eax
movl %eax, (%rdi)
jmp 0x2c47
movq 0x8(%rdi), %rax
leaq 0x8(%rax), %rdx
movq %rdx, 0x8(%rdi)
movswl (%rax), %edi
movl %ecx, %esi
callq 0x42cc
jmp 0x2c69
cmpl $0x28, %eax
ja 0x2c53
movq %rax, %rdx
addq 0x10(%rdi), %rdx
addl $0x8, %eax
movl %eax, (%rdi)
jmp 0x2c5f
movq %r14, %rsi
movq %rbx, %rdx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x2ab0
movq 0x8(%rdi), %rax
leaq 0x8(%rax), %rdx
movq %rdx, 0x8(%rdi)
movq (%rax), %rdi
movl %ecx, %esi
callq 0x46f8
jmp 0x2c69
movq 0x8(%rdi), %rdx
leaq 0x8(%rdx), %rax
movq %rax, 0x8(%rdi)
movq (%rdx), %rdi
movl %ecx, %esi
callq 0x452c
jmp 0x2c69
movq 0x8(%rdi), %rdx
leaq 0x8(%rdx), %rax
movq %rax, 0x8(%rdi)
movq (%rdx), %rdi
movl %ecx, %esi
callq 0x43fc
movq %r14, %rdi
movq %rbx, %rsi
movq %rax, %rdx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x2524
// File: /workspace/github_c_makefile_star2_O3/Sigabort42[P]WoodyWoodPacker/libft/ft_printf/ft_conv_envoi_maj.c
// Function: ft_conv_envoi_maj
void	ft_conv_envoi_maj(va_list ap, t_var *var, t_flags *s_flags, int base)
{
	if ((s_flags->m & (1 << 3)) && (var->type >= TYPE_OCTAL &&
									var->type <= TYPE_HEXA_MAJ))
		ft_flags_stock(var, s_flags,
					ft_lltoa_base_maj(va_arg(ap, unsigned long long), base));
	else if ((s_flags->m & (1 << 3)))
		ft_flags_stock(var, s_flags,
					ft_ltoa_base_maj(va_arg(ap, long long), base));
	else if ((s_flags->m & (1 << 0)) && (var->type == TYPE_OCTAL_MAJ ||
										var->type == TYPE_UNSIGNED_MAJ))
		ft_flags_stock(var, s_flags,
					ft_itoa_base_maj((unsigned short)va_arg(ap, int), base));
	else if ((s_flags->m & (1 << 0)) && (var->type >= TYPE_UNSIGNED &&
										var->type <= TYPE_HEXA_MAJ))
		ft_flags_stock(var, s_flags,
					ft_itoa_base_maj((unsigned char)va_arg(ap, int), base));
	else if ((s_flags->m & (1 << 0)))
		ft_flags_stock(var, s_flags,
					ft_itoa_base_maj((char)va_arg(ap, int), base));
	else if ((s_flags->m & (1 << 1)) && (var->type >= TYPE_UNSIGNED &&
										var->type <= TYPE_HEXA_MAJ))
		ft_flags_stock(var, s_flags,
					ft_itoa_base_maj((unsigned short)va_arg(ap, int), base));
	else
		ft_conv_envoi_maj2(ap, var, s_flags, base);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movzbl 0xc(%rdx), %eax
testb $0x8, %al
je 0x2cb9
movl 0x78(%r14), %edx
addl $-0xb, %edx
cmpl $0x3, %edx
ja 0x2cb9
movl (%rdi), %edx
cmpq $0x28, %rdx
ja 0x2d57
movq %rdx, %rax
addq 0x10(%rdi), %rax
addl $0x8, %edx
movl %edx, (%rdi)
jmp 0x2d63
testb $0x8, %al
jne 0x2cfc
testb $0x1, %al
je 0x2ccf
movl 0x78(%r14), %edx
cmpl $0xc, %edx
je 0x2d41
cmpl $0xa, %edx
je 0x2d41
testb $0x1, %al
je 0x2d2d
movl 0x78(%r14), %edx
addl $-0x9, %edx
cmpl $0x5, %edx
ja 0x2d2d
movl (%rdi), %edx
cmpq $0x28, %rdx
ja 0x2db9
movq %rdx, %rax
addq 0x10(%rdi), %rax
addl $0x8, %edx
movl %edx, (%rdi)
jmp 0x2dc5
movl (%rdi), %edx
cmpq $0x28, %rdx
ja 0x2d12
movq %rdx, %rax
addq 0x10(%rdi), %rax
addl $0x8, %edx
movl %edx, (%rdi)
jmp 0x2d1e
movq 0x8(%rdi), %rax
leaq 0x8(%rax), %rdx
movq %rdx, 0x8(%rdi)
movq (%rax), %rdi
movl %ecx, %esi
callq 0x43fc
jmp 0x2dcf
testb $0x1, %al
jne 0x2d6f
testb $0x2, %al
je 0x2d96
movl 0x78(%r14), %eax
addl $-0x9, %eax
cmpl $0x5, %eax
ja 0x2d96
movl (%rdi), %edx
cmpq $0x28, %rdx
ja 0x2d85
movq %rdx, %rax
addq 0x10(%rdi), %rax
addl $0x8, %edx
movl %edx, (%rdi)
jmp 0x2d91
movq 0x8(%rdi), %rax
leaq 0x8(%rax), %rdx
movq %rdx, 0x8(%rdi)
movq (%rax), %rdi
movl %ecx, %esi
callq 0x452c
jmp 0x2dcf
movl (%rdi), %edx
cmpq $0x28, %rdx
ja 0x2da8
movq %rdx, %rax
addq 0x10(%rdi), %rax
addl $0x8, %edx
movl %edx, (%rdi)
jmp 0x2db4
movq 0x8(%rdi), %rax
leaq 0x8(%rax), %rdx
movq %rdx, 0x8(%rdi)
movzwl (%rax), %edi
jmp 0x2dc8
movq %r14, %rsi
movq %rbx, %rdx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x2b64
movq 0x8(%rdi), %rax
leaq 0x8(%rax), %rdx
movq %rdx, 0x8(%rdi)
movsbl (%rax), %edi
jmp 0x2dc8
movq 0x8(%rdi), %rax
leaq 0x8(%rax), %rdx
movq %rdx, 0x8(%rdi)
movzbl (%rax), %edi
movl %ecx, %esi
callq 0x42cc
movq %r14, %rdi
movq %rbx, %rsi
movq %rax, %rdx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x2524
// File: /workspace/github_c_makefile_star2_O3/Sigabort42[P]WoodyWoodPacker/libft/ft_printf/ft_conv_envoi.c
// Function: ft_conv_envoi3
void	ft_conv_envoi3(va_list ap, t_var *var, t_flags *s_flags, int base)
{
	if ((s_flags->m & (1 << 5)) && (var->type >= TYPE_UNSIGNED &&
					var->type <= TYPE_HEXA_MAJ))
		ft_flags_stock(var, s_flags,
			ft_ui_maxtoa_base(va_arg(ap, ssize_t), base));
	else if ((s_flags->m & (1 << 5)))
		ft_flags_stock(var, s_flags,
			ft_ltoa_base(va_arg(ap, ssize_t), base));
	else
	{
		if (var->type <= TYPE_INT && s_flags->m == 0)
			ft_flags_stock(var, s_flags,
				ft_itoa_base(va_arg(ap, int), base));
		else
			ft_flags_stock(var, s_flags,
				ft_lltoa_base(va_arg(ap, unsigned int), base));
	}
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movb 0xc(%rdx), %al
movl 0x78(%rsi), %edx
testb $0x20, %al
jne 0x2e1e
cmpl $0x8, %edx
setge %dl
testb %al, %al
setne %sil
movl (%rdi), %eax
orb %dl, %sil
jne 0x2e3b
cmpl $0x28, %eax
ja 0x2e61
movq %rax, %rdx
addq 0x10(%rdi), %rdx
addl $0x8, %eax
movl %eax, (%rdi)
jmp 0x2e6d
addl $-0x9, %edx
movl (%rdi), %eax
cmpl $0x5, %edx
ja 0x2e4e
cmpl $0x28, %eax
ja 0x2e78
movq %rax, %rdx
addq 0x10(%rdi), %rdx
addl $0x8, %eax
movl %eax, (%rdi)
jmp 0x2e84
cmpl $0x28, %eax
ja 0x2e90
movq %rax, %rdx
addq 0x10(%rdi), %rdx
addl $0x8, %eax
movl %eax, (%rdi)
jmp 0x2e9c
cmpl $0x28, %eax
ja 0x2ea7
movq %rax, %rdx
addq 0x10(%rdi), %rdx
addl $0x8, %eax
movl %eax, (%rdi)
jmp 0x2eb3
movq 0x8(%rdi), %rdx
leaq 0x8(%rdx), %rax
movq %rax, 0x8(%rdi)
movl (%rdx), %edi
movl %ecx, %esi
callq 0x4238
jmp 0x2ebd
movq 0x8(%rdi), %rdx
leaq 0x8(%rdx), %rax
movq %rax, 0x8(%rdi)
movq (%rdx), %rdi
movl %ecx, %esi
callq 0x465c
jmp 0x2ebd
movq 0x8(%rdi), %rdx
leaq 0x8(%rdx), %rax
movq %rax, 0x8(%rdi)
movl (%rdx), %edi
movl %ecx, %esi
callq 0x4498
jmp 0x2ebd
movq 0x8(%rdi), %rdx
leaq 0x8(%rdx), %rax
movq %rax, 0x8(%rdi)
movq (%rdx), %rdi
movl %ecx, %esi
callq 0x4360
movq %r14, %rdi
movq %rbx, %rsi
movq %rax, %rdx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x2524
// File: /workspace/github_c_makefile_star2_O3/Sigabort42[P]WoodyWoodPacker/libft/ft_printf/ft_conv_envoi.c
// Function: ft_conv_envoi2
void	ft_conv_envoi2(va_list ap, t_var *var, t_flags *s_flags, int base)
{
	if ((s_flags->m & (1 << 1)))
		ft_flags_stock(var, s_flags, ft_itoa_base((short)va_arg(ap, int),
							base));
	else if ((s_flags->m & (1 << 2)) && (var->type >= TYPE_UNSIGNED &&
					var->type <= TYPE_HEXA_MAJ))
		ft_flags_stock(var, s_flags, ft_lltoa_base(va_arg(ap, long long),
						base));
	else if ((s_flags->m & (1 << 2)))
		ft_flags_stock(var, s_flags, ft_ltoa_base(va_arg(ap, long long),
						base));
	else if ((s_flags->m & (1 << 4)) && (var->type >= TYPE_UNSIGNED &&
						var->type <= TYPE_HEXA_MAJ))
		ft_flags_stock(var, s_flags, ft_ui_maxtoa_base(va_arg(ap, uintmax_t),
						base));
	else if ((s_flags->m & (1 << 4)))
		ft_flags_stock(var, s_flags, ft_i_maxtoa_base(va_arg(ap, intmax_t),
						base));
	else
		ft_conv_envoi3(ap, var, s_flags, base);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rsi, %r14
movzbl 0xc(%rdx), %eax
testb $0x2, %al
jne 0x2f19
testb $0x4, %al
jne 0x2f2f
testb $0x10, %al
je 0x2f7b
movl 0x78(%r14), %edx
addl $-0x9, %edx
cmpl $0x5, %edx
ja 0x2f7b
movl (%rdi), %edx
cmpq $0x28, %rdx
ja 0x3008
movq %rdx, %rax
addq 0x10(%rdi), %rax
addl $0x8, %edx
movl %edx, (%rdi)
jmp 0x3014
movl (%rdi), %edx
cmpq $0x28, %rdx
ja 0x2f50
movq %rdx, %rax
addq 0x10(%rdi), %rax
addl $0x8, %edx
movl %edx, (%rdi)
jmp 0x2f5c
movl 0x78(%r14), %edx
addl $-0x9, %edx
movl (%rdi), %eax
cmpl $0x5, %edx
ja 0x2f91
cmpl $0x28, %eax
ja 0x2fba
movq %rax, %rdx
addq 0x10(%rdi), %rdx
addl $0x8, %eax
movl %eax, (%rdi)
jmp 0x2fc6
movq 0x8(%rdi), %rax
leaq 0x8(%rax), %rdx
movq %rdx, 0x8(%rdi)
movswl (%rax), %edi
movl %ecx, %esi
callq 0x4238
movq %r14, %rdi
movq %rbx, %rsi
movq %rax, %rdx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x2524
testb $0x10, %al
jne 0x2fa4
movq %r14, %rsi
movq %rbx, %rdx
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x2de4
cmpl $0x28, %eax
ja 0x2fd2
movq %rax, %rdx
addq 0x10(%rdi), %rdx
addl $0x8, %eax
movl %eax, (%rdi)
jmp 0x2fde
movl (%rdi), %edx
cmpq $0x28, %rdx
ja 0x2fed
movq %rdx, %rax
addq 0x10(%rdi), %rax
addl $0x8, %edx
movl %edx, (%rdi)
jmp 0x2ff9
movq 0x8(%rdi), %rdx
leaq 0x8(%rdx), %rax
movq %rax, 0x8(%rdi)
movq (%rdx), %rdi
movl %ecx, %esi
callq 0x4498
jmp 0x2f66
movq 0x8(%rdi), %rdx
leaq 0x8(%rdx), %rax
movq %rax, 0x8(%rdi)
movq (%rdx), %rdi
movl %ecx, %esi
callq 0x4360
jmp 0x2f66
movq 0x8(%rdi), %rax
leaq 0x8(%rax), %rdx
movq %rdx, 0x8(%rdi)
movq (%rax), %rdi
movl %ecx, %esi
callq 0x45c0
jmp 0x2f66
movq 0x8(%rdi), %rax
leaq 0x8(%rax), %rdx
movq %rdx, 0x8(%rdi)
movq (%rax), %rdi
movl %ecx, %esi
callq 0x465c
jmp 0x2f66
// File: /workspace/github_c_makefile_star2_O3/Sigabort42[P]WoodyWoodPacker/libft/ft_printf/ft_flags_largeur.c
// Function: ft_flags_precision
void			ft_flags_precision(t_var *var, t_flags *s_flags, int i)
{
	ft_bzero(var->buf_tmp, 500);
	if (!s_flags->precision && ft_strchr(var->flags_stock, '.') &&
		var->type > TYPE_MODULO)
		var->res = 0;
	if (!s_flags->precision && var->res)
		s_flags->precision = (int)ft_strlen(var->res);
	var->i_buf_tmp = (s_flags->c & (1 << 2)) ?
		0 : s_flags->largeur - s_flags->precision;
	if (var->res)
		(var->i_buf_tmp < 0) ? ft_memcpy(&var->buf_tmp[0], var->res,
s_flags->precision) : ft_memcpy(&var->buf_tmp[var->i_buf_tmp],
var->res, s_flags->precision);
	if (!var->i_buf_tmp)
	{
		i = s_flags->precision;
		var->i_buf_tmp = s_flags->largeur;
	}
	while (i < var->i_buf_tmp)
	{
		if ((!(s_flags->c & (1 << 2))) && (s_flags->c & (1 << 0)))
			var->buf_tmp[i++] = '0';
		else
			var->buf_tmp[i++] = ' ';
	}
	ft_flags_precision2(var, 0);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
movq 0x10(%rdi), %rdi
movl $0x1f4, %esi            # imm = 0x1F4
callq 0x40f8
movl 0x8(%r14), %eax
testl %eax, %eax
jne 0x31fa
leaq 0x18(%rbx), %rdi
movl $0x2e, %esi
callq 0x3fe4
testq %rax, %rax
je 0x31dd
cmpl $0x2, 0x78(%rbx)
jl 0x31dd
movq $0x0, (%rbx)
movl 0x8(%r14), %eax
testl %eax, %eax
jne 0x31fa
movq (%rbx), %rdi
testq %rdi, %rdi
je 0x31f8
callq 0x3ecc
movl %eax, 0x8(%r14)
jmp 0x31fa
xorl %eax, %eax
testb $0x4, (%r14)
jne 0x321f
movl 0x4(%r14), %ecx
subl %eax, %ecx
leaq 0x64(%rbx), %r15
movl %ecx, 0x64(%rbx)
movq (%rbx), %rsi
testq %rsi, %rsi
je 0x3245
testl %ecx, %ecx
jns 0x3234
movq 0x10(%rbx), %rdi
jmp 0x323a
leaq 0x64(%rbx), %r15
movl $0x0, 0x64(%rbx)
movq (%rbx), %rsi
xorl %ecx, %ecx
testq %rsi, %rsi
je 0x324d
movl %ecx, %edi
addq 0x10(%rbx), %rdi
movslq %eax, %rdx
callq 0x4108
movl (%r15), %ecx
testl %ecx, %ecx
jne 0x3256
movl 0x8(%r14), %eax
movl 0x4(%r14), %ecx
movl %ecx, (%r15)
movl %eax, %ebp
cmpl %ecx, %ebp
jge 0x3282
movslq %ebp, %rax
movb (%r14), %cl
andb $0x5, %cl
cmpb $0x1, %cl
sete %cl
movq 0x10(%rbx), %rdx
shlb $0x4, %cl
orb $0x20, %cl
movb %cl, (%rdx,%rax)
incq %rax
movslq 0x64(%rbx), %rcx
cmpq %rcx, %rax
jl 0x325d
movq 0x10(%rbx), %rdi
callq 0x3ecc
testl %eax, %eax
jle 0x32be
xorl %r14d, %r14d
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rcx
movb (%rcx,%r14), %cl
incq %r14
movslq 0x60(%rbx), %rdx
leal 0x1(%rdx), %esi
movl %esi, 0x60(%rbx)
movb %cl, (%rax,%rdx)
movq 0x10(%rbx), %rdi
callq 0x3ecc
cltq
cmpq %rax, %r14
jl 0x3292
cmpl $0x2, 0x78(%rbx)
jne 0x3317
cmpb $0x0, 0x70(%rbx)
jne 0x3317
movq 0x10(%rbx), %rdi
callq 0x3ecc
testq %rax, %rax
je 0x32e9
movb 0x70(%rbx), %al
movq 0x8(%rbx), %rcx
movslq 0x60(%rbx), %rdx
movb %al, -0x1(%rcx,%rdx)
jmp 0x3317
cmpl $0x2, 0x78(%rbx)
jne 0x3317
cmpb $0x0, 0x70(%rbx)
jne 0x3317
movq 0x10(%rbx), %rdi
callq 0x3ecc
testq %rax, %rax
jne 0x3317
movb 0x70(%rbx), %al
movq 0x8(%rbx), %rcx
movslq 0x60(%rbx), %rdx
leal 0x1(%rdx), %esi
movl %esi, 0x60(%rbx)
movb %al, (%rcx,%rdx)
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/Sigabort42[P]WoodyWoodPacker/libft/ft_printf/ft_flags_largeur.c
// Function: ft_flags_largeur
void			ft_flags_largeur(t_var *var, t_flags *s_flags, int i)
{
	int			len;

	len = (int)ft_strlen(var->res);
	if (s_flags->largeur < len)
		var->i_buf_tmp = 0;
	else if (s_flags->precision >= len)
		var->i_buf_tmp = (s_flags->c & (1 << 2)) ? 0 :
			s_flags->largeur - len;
	else
		var->i_buf_tmp = (s_flags->c & (1 << 2)) ? 0 : s_flags->largeur;
	ft_memcpy(&var->buf_tmp[var->i_buf_tmp], var->res, len + 1);
	if (var->type == TYPE_NON_CONNU)
		ft_memcpy(&var->buf_tmp[var->i_buf_tmp], var->res, len);
	if (!var->i_buf_tmp)
	{
		i = len;
		var->i_buf_tmp = s_flags->largeur;
	}
	if (s_flags->precision < (int)ft_strlen(var->res))
		var->i_buf_tmp += len;
	ft_flags_largeur2(var, s_flags, i);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %rbx
movq (%rdi), %rdi
callq 0x3ecc
movq %rax, %r15
movl %r15d, %r12d
movl 0x4(%r14), %ecx
xorl %eax, %eax
movl %ecx, %edx
subl %r15d, %edx
jl 0x336a
movb (%r14), %sil
cmpl %r12d, 0x8(%r14)
jge 0x3361
xorl %eax, %eax
testb $0x4, %sil
cmovel %ecx, %eax
jmp 0x336a
xorl %eax, %eax
testb $0x4, %sil
cmovel %edx, %eax
movl %eax, 0x64(%rbx)
movslq %eax, %rdi
addq 0x10(%rbx), %rdi
movq (%rbx), %rsi
shlq $0x20, %r15
movabsq $0x100000000, %rdx      # imm = 0x100000000
addq %r15, %rdx
sarq $0x20, %rdx
callq 0x4108
cmpl $0x0, 0x78(%rbx)
jne 0x33ae
movslq 0x64(%rbx), %rdi
addq 0x10(%rbx), %rdi
movq (%rbx), %rsi
sarq $0x20, %r15
movq %r15, %rdx
callq 0x4108
cmpl $0x0, 0x64(%rbx)
jne 0x33be
movl 0x4(%r14), %eax
movl %eax, 0x64(%rbx)
movl %r12d, %ebp
movl 0x8(%r14), %r15d
movq (%rbx), %rdi
callq 0x3ecc
movl 0x64(%rbx), %ecx
cmpl %eax, %r15d
jge 0x33d8
addl %r12d, %ecx
movl %ecx, 0x64(%rbx)
cmpl %ebp, %ecx
jle 0x3404
movslq %ebp, %rax
movb (%r14), %cl
andb $0x5, %cl
cmpb $0x1, %cl
sete %cl
movq 0x10(%rbx), %rdx
shlb $0x4, %cl
orb $0x20, %cl
movb %cl, (%rdx,%rax)
incq %rax
movslq 0x64(%rbx), %rcx
cmpq %rcx, %rax
jl 0x33df
movq 0x10(%rbx), %rdi
callq 0x3ecc
testl %eax, %eax
jle 0x3440
xorl %r14d, %r14d
movq 0x8(%rbx), %rax
movq 0x10(%rbx), %rcx
movb (%rcx,%r14), %cl
incq %r14
movslq 0x60(%rbx), %rdx
leal 0x1(%rdx), %esi
movl %esi, 0x60(%rbx)
movb %cl, (%rax,%rdx)
movq 0x10(%rbx), %rdi
callq 0x3ecc
cltq
cmpq %rax, %r14
jl 0x3414
cmpl $0x2, 0x78(%rbx)
jne 0x3499
cmpb $0x0, 0x70(%rbx)
jne 0x3499
movq 0x10(%rbx), %rdi
callq 0x3ecc
testq %rax, %rax
je 0x346b
movb 0x70(%rbx), %al
movq 0x8(%rbx), %rcx
movslq 0x60(%rbx), %rdx
movb %al, -0x1(%rcx,%rdx)
jmp 0x3499
cmpl $0x2, 0x78(%rbx)
jne 0x3499
cmpb $0x0, 0x70(%rbx)
jne 0x3499
movq 0x10(%rbx), %rdi
callq 0x3ecc
testq %rax, %rax
jne 0x3499
movb 0x70(%rbx), %al
movq 0x8(%rbx), %rcx
movslq 0x60(%rbx), %rdx
leal 0x1(%rdx), %esi
movl %esi, 0x60(%rbx)
movb %al, (%rcx,%rdx)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O3/Sigabort42[P]WoodyWoodPacker/libft/ft_printf/ft_stock_buf_base.c
// Function: ft_stock_buf_base3
void		ft_stock_buf_base3(t_var *var, t_flags *s_flags)
{
	int		i;
	int		x;
	int		x2;

	x = (var->type >= TYPE_OCTAL && var->type <= TYPE_OCTAL_MAJ);
	x2 = s_flags->largeur - s_flags->precision;
	i = s_flags->largeur - s_flags->precision;
	if (var->i_plus && !(s_flags->c &= (1 << 0)))
		var->buf[var->i_buf++] = '+';
	if (((!ft_strchr(var->flags_stock, '.') && !s_flags->precision && !x) ||
	(x && s_flags->c < 16) || (ft_strchr(var->flags_stock, '.') &&
				s_flags->precision && x2 > var->len_str_hexa)))
	{
		if (!ft_strchr(var->flags_stock, '.'))
			var->buf[var->i_buf++] = '0';
	}
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
movl 0x78(%rdi), %r12d
movl 0x4(%rsi), %ebp
subl 0x8(%rsi), %ebp
cmpl $0x0, 0x7c(%rdi)
je 0x34de
movb (%r14), %al
andb $0x1, %al
movb %al, (%r14)
jne 0x34de
movq 0x8(%rbx), %rax
movslq 0x60(%rbx), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x60(%rbx)
movb $0x2b, (%rax,%rcx)
addl $-0xb, %r12d
leaq 0x18(%rbx), %r15
movq %r15, %rdi
movl $0x2e, %esi
callq 0x3fe4
testq %rax, %rax
je 0x3527
cmpl $0x1, %r12d
ja 0x3504
cmpb $0x10, (%r14)
jl 0x3534
movq %r15, %rdi
movl $0x2e, %esi
callq 0x3fe4
testq %rax, %rax
je 0x3558
cmpl $0x0, 0x8(%r14)
je 0x3558
cmpl 0x88(%rbx), %ebp
jg 0x3534
jmp 0x3558
cmpl $0x2, %r12d
jb 0x34f8
cmpl $0x0, 0x8(%r14)
jne 0x34f8
movq %r15, %rdi
movl $0x2e, %esi
callq 0x3fe4
testq %rax, %rax
jne 0x3558
movq 0x8(%rbx), %rax
movslq 0x60(%rbx), %rcx
leal 0x1(%rcx), %edx
movl %edx, 0x60(%rbx)
movb $0x30, (%rax,%rcx)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_c_makefile_star2_O3/Sigabort42[P]WoodyWoodPacker/libft/ft_printf/ft_stock_buf_base.c
// Function: ft_stock_buf_base
int			ft_stock_buf_base(t_var *var, t_flags *s_flags, int res_strcmp)
{
	int		i;

	i = 0;
	if (!res_strcmp && s_flags->m == 0 && s_flags->c >= 2 &&
	s_flags->c <= 16 && (!var->i_buf || (var->type >= TYPE_OCTAL &&
						var->type <= TYPE_OCTAL_MAJ)))
		ft_stock_buf_base3(var, s_flags);
	else if (((s_flags->c & (1 << 4)) && (var->type >= TYPE_HEXA &&
	var->type <= TYPE_HEXA_MAJ) && res_strcmp) || var->type == TYPE_ADDRESS)
	{
		i = 2;
		if ((var->type == TYPE_HEXA) || var->type == TYPE_ADDRESS)
			ft_memcpy(&var->buf_tmp[var->i_buf_tmp], "0x", var->i_buf_tmp += i);
		else if (var->type == TYPE_HEXA_MAJ)
		{
			ft_memcpy(&var->buf_tmp[var->i_buf_tmp], "0X", i);
			var->i_buf_tmp += i;
		}
	}
	else
		i = ft_stock_buf_base2(var, s_flags, res_strcmp);
	return (i);
}

// Assembly:
pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
testl %edx, %edx
je 0x356f
movb (%rsi), %al
jmp 0x35af
cmpb $0x0, 0xc(%rsi)
sete %cl
movb (%rsi), %al
movl %eax, %edi
addb $-0x2, %dil
cmpb $0xf, %dil
setb %dil
andb %cl, %dil
cmpb $0x1, %dil
jne 0x35af
cmpl $0x0, 0x60(%rbx)
je 0x35a0
movl 0x78(%rbx), %ecx
addl $-0xb, %ecx
cmpl $0x1, %ecx
ja 0x35af
movq %rbx, %rdi
callq 0x34a4
xorl %ebp, %ebp
jmp 0x3682
movl 0x78(%rbx), %ecx
testb $0x10, %al
je 0x35f1
testl %edx, %edx
setne %dil
leal -0xd(%rcx), %r8d
cmpl $0x2, %r8d
setb %r8b
testb %r8b, %dil
je 0x35f1
cmpl $0xd, %ecx
je 0x35f6
movslq 0x64(%rbx), %rdi
addq 0x10(%rbx), %rdi
leaq 0x1bf1(%rip), %rsi      # 0x51d2
movl $0x2, %edx
callq 0x4108
addl $0x2, 0x64(%rbx)
jmp 0x3614
cmpl $0xf, %ecx
jne 0x361b
movslq 0x64(%rbx), %rdx
movq 0x10(%rbx), %rdi
addq %rdx, %rdi
addq $0x2, %rdx
movl %edx, 0x64(%rbx)
leaq 0x1b7c(%rip), %rsi      # 0x518b
callq 0x4108
movl $0x2, %ebp
jmp 0x3682
addl $-0xb, %ecx
cmpl $0x2, %ecx
setae %cl
testb $0x10, %al
sete %al
xorl %ebp, %ebp
orb %cl, %al
jne 0x3682
testl %edx, %edx
je 0x3639
cmpl $0x0, 0x8(%rsi)
je 0x364e
leaq 0x18(%rbx), %rdi
movl $0x2e, %esi
callq 0x3fe4
testq %rax, %rax
jne 0x3682
jmp 0x3661
leaq 0x18(%rbx), %rdi
movl $0x2e, %esi
callq 0x3fe4
testq %rax, %rax
je 0x3639
movslq 0x64(%rbx), %rdi
addq 0x10(%rbx), %rdi
leaq 0x1b60(%rip), %rsi      # 0x51d0
movl $0x1, %edx
callq 0x4108
incl 0x64(%rbx)
movl $0x1, %ebp
movl %ebp, %eax
addq $0x8, %rsp
popq %rbx
popq %rbp
retq
nop
// File: /workspace/github_c_makefile_star2_O3/Sigabort42[P]WoodyWoodPacker/libft/ft_printf/ft_flags_stock2.c
// Function: ft_flags_stock2_5
void	ft_flags_stock2_5(t_var *var, t_flags *s_flags, char *str_hexa)
{
	ft_split2_5(s_flags, var);
	(var->k < 0) ? var->k = 0 : 0;
	if (s_flags->largeur > var->len_str_hexa)
		ft_memset(&var->buf_tmp[var->i_buf_tmp], ' ', var->i_buf_tmp += var->k);
	(var->type == TYPE_ADDRESS) ?
	ft_memcpy(&var->buf_tmp[var->i_buf_tmp], "0x", var->i_buf_tmp += 2) : 0;
	if (!(!var->res_strcmp && s_flags->m == 0))
	{
		ft_memcpy(&var->buf_tmp[var->i_buf_tmp], str_hexa,
		var->i_buf_tmp += var->len_str_hexa);
	}
	else if (!var->res_strcmp && s_flags->m == 0 && var->type >= TYPE_OCTAL
	&& var->type <= TYPE_OCTAL_MAJ && !ft_strchr(var->flags_stock, '.'))
	{
		ft_memcpy(&var->buf_tmp[var->i_buf_tmp], str_hexa,
		var->i_buf_tmp += var->len_str_hexa);
	}
	else if (var->type == TYPE_ADDRESS && !var->res_strcmp)
		ft_memcpy(&var->buf_tmp[var->i_buf_tmp], str_hexa,
		var->i_buf_tmp += var->len_str_hexa);
	(var->type == TYPE_ADDRESS) ?
	ft_memcpy(&var->buf[var->i_buf], var->buf_tmp, var->i_buf_tmp) :
	ft_memcpy(&var->buf[var->i_buf], var->buf_tmp,
	var->i_buf_tmp + var->len_str_hexa);
	var->i_buf += var->i_buf_tmp;
}

// Assembly:
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movq %rsi, %rdi
movq %rbx, %rsi
callq 0x3dac
movl 0x90(%rbx), %eax
testl %eax, %eax
jns 0x36e7
movl $0x0, 0x90(%rbx)
xorl %eax, %eax
movl 0x4(%r15), %ecx
cmpl 0x88(%rbx), %ecx
jle 0x3711
movslq 0x64(%rbx), %rcx
movq 0x10(%rbx), %rdi
addq %rcx, %rdi
movslq %eax, %rdx
addq %rcx, %rdx
movl %edx, 0x64(%rbx)
movl $0x20, %esi
callq 0x40e8
cmpl $0xf, 0x78(%rbx)
jne 0x3735
movslq 0x64(%rbx), %rdx
movq 0x10(%rbx), %rdi
addq %rdx, %rdi
addq $0x2, %rdx
movl %edx, 0x64(%rbx)
leaq 0x1a5b(%rip), %rsi      # 0x518b
callq 0x4108
cmpl $0x0, 0x8c(%rbx)
jne 0x3745
cmpb $0x0, 0xc(%r15)
je 0x3797
movslq 0x64(%rbx), %rax
movq 0x10(%rbx), %rdi
addq %rax, %rdi
movslq 0x88(%rbx), %rdx
addq %rax, %rdx
movl %edx, 0x64(%rbx)
movq %r14, %rsi
callq 0x4108
cmpl $0xf, 0x78(%rbx)
movq 0x8(%rbx), %rdi
movq 0x10(%rbx), %rsi
movslq 0x60(%rbx), %rax
movl 0x64(%rbx), %ecx
je 0x3780
addl 0x88(%rbx), %ecx
addq %rax, %rdi
movslq %ecx, %rdx
callq 0x4108
movl 0x64(%rbx), %eax
addl %eax, 0x60(%rbx)
popq %rbx
popq %r14
popq %r15
retq
movl 0x78(%rbx), %eax
leal -0xb(%rax), %ecx
cmpl $0x1, %ecx
ja 0x37b8
leaq 0x18(%rbx), %rdi
movl $0x2e, %esi
callq 0x3fe4
testq %rax, %rax
je 0x3745
movl 0x78(%rbx), %eax
cmpl $0xf, %eax
jne 0x3765
cmpl $0x0, 0x8c(%rbx)
jne 0x3765
jmp 0x3745
// File: /workspace/github_c_makefile_star2_O3/Sigabort42[P]WoodyWoodPacker/libft/ft_printf/ft_flags_stock2.c
// Function: ft_flags_stock2_4
void	ft_flags_stock2_4(t_var *var, t_flags *s_flags, char *str_hexa, int i)
{
	var->i_moins = ft_stock_moins(var, str_hexa);
	var->i_plus = ft_stock_plus(var, s_flags, str_hexa);
	i = ft_verif_flags_stock2_4(s_flags, var);
	var->k = s_flags->largeur - s_flags->precision - var->len_str_hexa -
	ft_stock_buf_base(var, s_flags, var->res_strcmp) - var->i_plus - i;
	(var->k < 0) ? var->k = 0 : 0;
	if (var->type == TYPE_BITWISE)
		var->k = s_flags->largeur - var->len_str_hexa;
	if (!ft_strchr(var->flags_stock, '.'))
		ft_memset(&var->buf_tmp[var->i_buf_tmp], '0', var->k);
	else
	{
		ft_memset(&var->buf_tmp[var->i_buf_tmp], ' ',
			s_flags->largeur - var->len_str_hexa);
		var->k = s_flags->largeur - var->len_str_hexa;
	}
	var->i_buf_tmp += var->k;
	ft_memcpy(&var->buf_tmp[var->i_buf_tmp], &str_hexa[var->i_moins],
	var->len_str_hexa);
	var->i_buf_tmp += var->len_str_hexa;
	ft_memcpy(&var->buf[var->i_buf], var->buf_tmp, var->i_buf_tmp +
	var->len_str_hexa);
	var->i_buf += s_flags->largeur;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
movq %rdx, %rsi
callq 0x4da8
movl %eax, 0x80(%rbx)
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x368c
movl %eax, 0x7c(%rbx)
movq %r14, %rdi
movq %rbx, %rsi
callq 0x3ce4
movl %eax, %ebp
movl 0x4(%r14), %r12d
movl 0x8c(%rbx), %edx
addl 0x8(%r14), %ebp
addl 0x88(%rbx), %ebp
movq %rbx, %rdi
movq %r14, %rsi
callq 0x3561
addl %ebp, %eax
addl 0x7c(%rbx), %eax
subl %eax, %r12d
xorl %eax, %eax
testl %r12d, %r12d
cmovgl %r12d, %eax
movl %eax, 0x90(%rbx)
cmpl $0x12, 0x78(%rbx)
jne 0x3854
movl 0x4(%r14), %eax
subl 0x88(%rbx), %eax
movl %eax, 0x90(%rbx)
leaq 0x18(%rbx), %rdi
movl $0x2e, %esi
callq 0x3fe4
movslq 0x64(%rbx), %rdi
addq 0x10(%rbx), %rdi
testq %rax, %rax
je 0x389b
movslq 0x4(%r14), %rdx
movslq 0x88(%rbx), %rax
subq %rax, %rdx
movl $0x20, %esi
callq 0x40e8
movl 0x4(%r14), %ecx
movl 0x88(%rbx), %eax
subl %eax, %ecx
movl %ecx, 0x90(%rbx)
jmp 0x38b8
movslq 0x90(%rbx), %rdx
movl $0x30, %esi
callq 0x40e8
movl 0x88(%rbx), %eax
movl 0x90(%rbx), %ecx
movslq 0x64(%rbx), %rdx
movslq %ecx, %rdi
addq %rdx, %rdi
movl %edi, 0x64(%rbx)
addq 0x10(%rbx), %rdi
movslq 0x80(%rbx), %rcx
addq %rcx, %r15
movslq %eax, %rdx
movq %r15, %rsi
callq 0x4108
movl 0x88(%rbx), %eax
movl 0x64(%rbx), %ecx
addl %eax, %ecx
movl %ecx, 0x64(%rbx)
movslq 0x60(%rbx), %rdi
addq 0x8(%rbx), %rdi
movq 0x10(%rbx), %rsi
addl %eax, %ecx
movslq %ecx, %rdx
callq 0x4108
movl 0x4(%r14), %eax
addl %eax, 0x60(%rbx)
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq