// File: /workspace/github_c_makefile_star2_O1/LPD-EPFL[P]mctop/src/mctop_load.c
// Function: mctop_load
mctop_t*
mctop_load(const char* mct_file)
{
  clock_t cstart = clock();

#if defined(__sparc__)
  lgrp_cookie_initialize();
#endif

  char file_open[100], hostname[100];
  if (mct_file != NULL)
    {
      sprintf(file_open, "%s", mct_file);
    }
  else
    {
      if (gethostname(hostname, 100) != 0)
	{
	  perror("MCTOP Error: Could not get hostname!");
	}
      sprintf(file_open, "./desc/%s.mct", hostname);
    }

  FILE* ifile = fopen(file_open, "r");
  if (ifile == NULL)
    {
      sprintf(file_open, "/usr/share/mctop/%s.mct", hostname);
      ifile = fopen(file_open, "r");
      if (ifile == NULL)
	{
	  fprintf(stderr, "MCTOP Error: Cannot find MCT file!\n");
	  return NULL;
	}
      else
	{
	  fprintf(stdout, "MCTOP Info: Opened %s!\n", file_open);
	}
    }

  mctop_dtype_t type = MCTOP_DTYPE_N;

  uint n_hwcs, n_sockets, is_smt;
  char discard[4][30];
  int ret = fscanf(ifile, "%s %s %u %s %u %s %u",
		   discard[0], discard[1], &n_hwcs, discard[2], &n_sockets, discard[3], &is_smt);
  if (ret != 7)
    {
      fprintf(stderr, "MCTOP Error: Incorrect MCT file %s! Reason: Header line\n", file_open);
      return NULL;
    }

  uint64_t** lat_table = (uint64_t**) table_malloc(n_hwcs, n_hwcs, sizeof(uint64_t));
  uint64_t** mem_lat_table = (uint64_t**) table_calloc(n_hwcs, n_hwcs, sizeof(uint64_t));
  double** mem_bw_table_r = (double**) table_malloc(n_hwcs, n_sockets, sizeof(double));
  double** mem_bw_table1_r = (double**) table_malloc(n_hwcs, n_sockets, sizeof(double));
  double** mem_bw_table_w = (double**) table_malloc(n_hwcs, n_sockets, sizeof(double));
  double** mem_bw_table1_w = (double**) table_malloc(n_hwcs, n_sockets, sizeof(double));  
  double*** pow_measurements = NULL;
  mctop_cache_info_t* cache_info = NULL;

  uint8_t* have_data = calloc_assert(MCTOP_DTYPE_N, sizeof(uint8_t));

  uint correct = 1;
  for (uint x = 0; x < (n_hwcs * n_hwcs); x++)
    {
      uint xc, yc, lat;
      if (fscanf(ifile, "%u %u %u", &xc, &yc, &lat) != 3)
	{
	  correct = 0;
	  break;
	}
      lat_table[xc][yc] = lat;
    }

  while (correct)
    {
      char dtype[128];
      int param;
      if (fscanf(ifile, "%s %d", dtype, &param) == 2)
	{
	  type = mctop_dtype_get(dtype);
	  if (have_data[type])
	    {
	      fprintf(stderr, "MCTOP Warning: Duplicate data for %s in in %s!\n", 
		      mctop_dtypes[type], file_open);
	    }
	  have_data[type] = 1;
	  switch (type)
	    {
	    case MEM_LAT:
	      correct = mctop_load_mem_lat(ifile, n_hwcs, n_sockets, mem_lat_table);
	      break;
	    case MEM_BW_READ:
	      correct = mctop_load_mem_bw(ifile, n_sockets, mem_bw_table_r);
	      break;
	    case MEM_BW1_READ:
	      correct = mctop_load_mem_bw(ifile, n_sockets, mem_bw_table1_r);
	      break;
	    case MEM_BW_WRITE:
	      correct = mctop_load_mem_bw(ifile, n_sockets, mem_bw_table_w);
	      break;
	    case MEM_BW1_WRITE:
	      correct = mctop_load_mem_bw(ifile, n_sockets, mem_bw_table1_w);
	      break;
	    case CACHE:
	      cache_info = mctop_load_cache_info(cache_info, ifile, param);
	      correct = (cache_info != NULL);
	      break;
	    case POWER:
	      pow_measurements = mctop_power_measurements_create(n_sockets);
	      correct = mctop_load_pow_info(ifile, n_sockets, pow_measurements);
	      break;
	    case UKNOWN:
	    case MCTOP_DTYPE_N:	/* just for compilation warning */
	      correct = 0;
	      break;
	    }
	}
      else
	{
	  break;
	}
    }

  mctop_t* topo = NULL;
  if (correct)
    {
      uint64_t** mlat = have_data[MEM_LAT] ? mem_lat_table : NULL;
      topo = mctop_construct(lat_table, n_hwcs, mlat, n_sockets, NULL, is_smt);
      uint has_mem_bw_all = have_data[MEM_BW_READ] && have_data[MEM_BW1_READ] &&
      	have_data[MEM_BW_WRITE] && have_data[MEM_BW1_WRITE];
      uint has_mem_bw_any = have_data[MEM_BW_READ] && have_data[MEM_BW1_READ] &&
	have_data[MEM_BW_WRITE] && have_data[MEM_BW1_WRITE];
      if (has_mem_bw_all)
	{
	  mctop_mem_bandwidth_add(topo, mem_bw_table_r, mem_bw_table1_r, mem_bw_table_w, mem_bw_table1_w);
	}
      else if (has_mem_bw_any)
	{
	  fprintf(stderr, "MCTOP Warning: Incomplete memory bandwidth data in %s! Ignore.\n", file_open);
	}

      if (cache_info != NULL)
	{
	  mctop_cache_info_add(topo, cache_info);
	}

      if (have_data[POWER])
	{
	  mctop_pow_info_add(topo, pow_measurements);
	}
    }
  else
    {
      fprintf(stderr, "MCTOP Error: Incorrect MCT file %s! Reason: %s\n", file_open, mctop_dtypes[type]);
    }

  table_free((void**) lat_table, n_hwcs);
  table_free((void**) mem_lat_table, n_hwcs);
  table_free((void**) mem_bw_table_r, n_hwcs);
  table_free((void**) mem_bw_table1_r, n_hwcs);
  table_free((void**) mem_bw_table_w, n_hwcs);
  table_free((void**) mem_bw_table1_w, n_hwcs);
  if (pow_measurements != NULL)
    {
      mctop_power_measurements_free(pow_measurements, n_sockets);
    }
  fclose(ifile);

  free(have_data);

#ifdef __x86_64__
  if (topo->has_mem)
    {
      for (uint i = 0; i < topo->n_hwcs; i++)
	{
	  hw_context_t* hwc = &topo->hwcs[i];
	  socket_t* socket = hwc->socket;
	  if (unlikely(socket->local_node != numa_node_of_cpu(hwc->id)))
	    {
	      hwc->local_node_wrong = 1;
	      socket->local_node_wrong = 1;
	    }
	}
    }
#endif

  double dur = (clock() - cstart) / (double) CLOCKS_PER_SEC;
  printf("MCTOP Info: Topology loaded in %.3f ms\n", 1000 * dur);
  return topo;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x438, %rsp            # imm = 0x438
movq %rdi, %rbx
callq 0x20d0
movq %rax, %r14
testq %rbx, %rbx
je 0x91f7
leaq 0xc0(%rsp), %rdi
movq %rbx, %rsi
callq 0x2050
jmp 0x922f
leaq 0x230(%rsp), %rdi
movl $0x64, %esi
callq 0x2290
testl %eax, %eax
jne 0x9af7
leaq 0x2554(%rip), %rsi      # 0xb76c
leaq 0xc0(%rsp), %rdi
leaq 0x230(%rsp), %rdx
xorl %eax, %eax
callq 0x22b0
leaq 0x3df3(%rip), %rsi      # 0xd029
leaq 0xc0(%rsp), %rdi
callq 0x2240
testq %rax, %rax
jne 0x92a7
leaq 0x3df1(%rip), %rsi      # 0xd040
leaq 0xc0(%rsp), %rbx
leaq 0x230(%rsp), %rdx
movq %rbx, %rdi
xorl %eax, %eax
callq 0x22b0
leaq 0x3db9(%rip), %rsi      # 0xd029
movq %rbx, %rdi
callq 0x2240
testq %rax, %rax
je 0x9b08
movq %rax, %rbx
movq 0x7d3d(%rip), %rax      # 0x10fc8
movq (%rax), %rdi
leaq 0x3de7(%rip), %rsi      # 0xd07c
leaq 0xc0(%rsp), %rdx
xorl %eax, %eax
callq 0x2170
movq %rbx, %rax
leaq 0x1ce(%rsp), %rcx
leaq 0x1ec(%rsp), %r9
leaq 0x20a(%rsp), %r10
subq $0x8, %rsp
leaq 0x74(%rsp), %r11
leaq 0x10(%rsp), %rbx
leaq 0x3dc0(%rip), %rsi      # 0xd094
leaq 0x1b8(%rsp), %rdx
leaq 0xc(%rsp), %r8
movq %rax, 0x20(%rsp)
movq %rax, %rdi
xorl %eax, %eax
pushq %r11
pushq %r10
pushq %rbx
callq 0x2070
addq $0x20, %rsp
cmpl $0x7, %eax
jne 0x9a7a
movl 0x4(%rsp), %edi
movl $0x8, %edx
movq %rdi, %rsi
callq 0x9084
movq %rax, 0x60(%rsp)
movl 0x4(%rsp), %edi
movl $0x8, %edx
movq %rdi, %rsi
callq 0x90fd
movq %rax, 0x58(%rsp)
movl 0x4(%rsp), %edi
movl 0x8(%rsp), %esi
movl $0x8, %edx
callq 0x9084
movq %rax, 0x50(%rsp)
movl 0x4(%rsp), %edi
movl 0x8(%rsp), %esi
movl $0x8, %edx
callq 0x9084
movq %rax, 0x48(%rsp)
movl 0x4(%rsp), %edi
movl 0x8(%rsp), %esi
movl $0x8, %edx
callq 0x9084
movq %rax, 0x40(%rsp)
movl 0x4(%rsp), %edi
movl 0x8(%rsp), %esi
movl $0x8, %edx
callq 0x9084
movq %rax, 0x38(%rsp)
movl $0x8, %edi
movl $0x1, %esi
callq 0x2150
testq %rax, %rax
je 0x9b14
movq %r14, 0xa0(%rsp)
movl 0x4(%rsp), %ecx
imull %ecx, %ecx
testl %ecx, %ecx
movq %rax, 0x28(%rsp)
je 0x9438
movl $0x1, %ebx
leaq 0x3d1c(%rip), %r13      # 0xd0e2
leaq 0x130(%rsp), %r12
leaq 0x70(%rsp), %r15
xorl %ebp, %ebp
movq 0x18(%rsp), %r14
movq %r14, %rdi
movq %r13, %rsi
leaq 0x2a0(%rsp), %rdx
movq %r12, %rcx
movq %r15, %r8
xorl %eax, %eax
callq 0x2070
movl %eax, %ecx
movl $0x0, %eax
cmpl $0x3, %ecx
jne 0x9422
movl 0x70(%rsp), %eax
movl 0x2a0(%rsp), %edx
movq 0x60(%rsp), %rsi
movq (%rsi,%rdx,8), %rdx
movl 0x130(%rsp), %esi
movq %rax, (%rdx,%rsi,8)
movl %ebx, %eax
cmpl $0x3, %ecx
jne 0x9442
incl %ebp
movl 0x4(%rsp), %ecx
imull %ecx, %ecx
movl %eax, %ebx
cmpl %ecx, %ebp
jb 0x93da
jmp 0x9442
movl $0x1, %eax
movq 0x18(%rsp), %r14
movl $0x8, %ebx
leaq 0x3c9d(%rip), %r15      # 0xd0eb
leaq 0x130(%rsp), %rbp
movq $0x0, 0x20(%rsp)
xorl %r13d, %r13d
movq 0x28(%rsp), %r12
testl %eax, %eax
je 0x98a2
movq %r14, %rdi
movq %r15, %rsi
movq %rbp, %rdx
leaq 0x68(%rsp), %rcx
xorl %eax, %eax
callq 0x2070
movl %eax, %ecx
movl $0x1, %eax
cmpl $0x2, %ecx
jne 0x9897
movl %ecx, 0xc(%rsp)
leaq 0x7d91(%rip), %r14      # 0x11230
xorl %ebx, %ebx
movq (%r14), %rsi
movq %rbp, %rdi
callq 0x2160
testl %eax, %eax
je 0x94c2
incq %rbx
addq $0x8, %r14
cmpq $0x8, %rbx
jne 0x94a1
movl $0x8, %ebx
cmpl $0x7, %ebx
movl $0x7, %eax
cmovael %eax, %ebx
cmpb $0x0, (%r12,%rbx)
movq 0x18(%rsp), %r14
jne 0x9848
movb $0x1, (%r12,%rbx)
movl %ebx, %eax
leaq 0x3aa9(%rip), %rcx      # 0xcf94
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl 0x8(%rsp), %r15d
imull 0x4(%rsp), %r15d
testl %r15d, %r15d
sete %bpl
je 0x9880
movq %r14, %rdi
leaq 0x3bcc(%rip), %rsi      # 0xd0e2
leaq 0x2a0(%rsp), %rdx
leaq 0x70(%rsp), %rcx
leaq 0x30(%rsp), %r8
xorl %eax, %eax
callq 0x2070
cmpl $0x3, %eax
jne 0x9880
leal -0x1(%r15), %r12d
xorl %ebp, %ebp
movl 0x30(%rsp), %eax
movl 0x2a0(%rsp), %ecx
movq 0x58(%rsp), %rdx
movq (%rdx,%rcx,8), %rcx
movl 0x70(%rsp), %edx
movq %rax, (%rcx,%rdx,8)
cmpl %ebp, %r12d
je 0x9878
movq %r14, %rdi
leaq 0x3b75(%rip), %rsi      # 0xd0e2
leaq 0x2a0(%rsp), %rdx
leaq 0x70(%rsp), %rcx
leaq 0x30(%rsp), %r8
xorl %eax, %eax
callq 0x2070
incl %ebp
cmpl $0x3, %eax
je 0x953e
cmpl %r15d, %ebp
setae %bpl
jmp 0x987b
movl 0x8(%rsp), %esi
movq %r14, %rdi
movq 0x38(%rsp), %rdx
jmp 0x95d6
movl 0x8(%rsp), %esi
movq %r14, %rdi
movq 0x48(%rsp), %rdx
jmp 0x95d6
movl 0x8(%rsp), %esi
movq %r14, %rdi
movq 0x40(%rsp), %rdx
jmp 0x95d6
xorl %eax, %eax
jmp 0x9893
movl 0x8(%rsp), %esi
movq %r14, %rdi
movq 0x50(%rsp), %rdx
callq 0x9b33
jmp 0x9893
movl 0x68(%rsp), %r15d
movl %r15d, %edi
callq 0x8536
movq %rax, 0x10(%rsp)
movq %r15, 0x98(%rsp)
testq %r15, %r15
setne %bpl
je 0x96ed
movq 0x98(%rsp), %rax
negq %rax
movq %rax, 0xa8(%rsp)
movb $0x1, %bpl
movl $0x1, %r15d
movq %r14, %rdi
leaq 0x3b96(%rip), %rsi      # 0xd1c3
leaq 0x2a0(%rsp), %rdx
leaq 0xbc(%rsp), %rcx
leaq 0x304(%rsp), %r8
leaq 0x70(%rsp), %r9
xorl %eax, %eax
leaq 0xb0(%rsp), %r10
pushq %r10
leaq 0x3d4(%rsp), %r10
pushq %r10
leaq 0x40(%rsp), %r10
pushq %r10
leaq 0x380(%rsp), %r10
pushq %r10
callq 0x2070
addq $0x20, %rsp
movl %eax, %r12d
cmpl $0x8, %eax
jne 0x96b6
movq 0x70(%rsp), %rax
movq 0x10(%rsp), %rdx
movq 0x8(%rdx), %rcx
movq %rax, -0x8(%rcx,%r15,8)
movq 0x30(%rsp), %rax
movq 0x10(%rdx), %rcx
movq %rax, -0x8(%rcx,%r15,8)
movq 0xb0(%rsp), %rax
movq 0x18(%rdx), %rcx
movq %rax, -0x8(%rcx,%r15,8)
jmp 0x96c0
movq 0x10(%rsp), %rdi
callq 0x85db
cmpl $0x8, %r12d
jne 0x96ed
cmpq 0x98(%rsp), %r15
setb %bpl
movq 0xa8(%rsp), %rax
addq %r15, %rax
incq %rax
incq %r15
cmpq $0x1, %rax
jne 0x9623
testb $0x1, %bpl
leaq 0x39f3(%rip), %r15      # 0xd0eb
leaq 0x130(%rsp), %rbp
movl 0xc(%rsp), %ecx
jne 0x9723
movq 0x20(%rsp), %rdi
testq %rdi, %rdi
je 0x9719
callq 0x85db
movl 0xc(%rsp), %ecx
movq 0x10(%rsp), %rax
movq %rax, 0x20(%rsp)
xorl %eax, %eax
cmpq $0x0, 0x20(%rsp)
setne %al
movq 0x28(%rsp), %r12
jmp 0x9897
movl 0x8(%rsp), %edi
callq 0x89b7
movq %rax, %r13
xorl %r12d, %r12d
movl 0x8(%rsp), %eax
movl %eax, 0x10(%rsp)
xorl %ebp, %ebp
movq %r14, %rdi
leaq 0x3a83(%rip), %rsi      # 0xd1de
leaq 0x2a0(%rsp), %rdx
leaq 0x70(%rsp), %rcx
leaq 0x78(%rsp), %r8
leaq 0x80(%rsp), %r9
xorl %eax, %eax
leaq 0x90(%rsp), %r10
pushq %r10
leaq 0x90(%rsp), %r10
pushq %r10
callq 0x2070
addq $0x10, %rsp
cmpl $0x6, %eax
jne 0x983a
movl %ebp, %ebp
xorl %r15d, %r15d
movq %r15, %r14
movq (%r13,%r15,8), %rax
movq (%rax,%rbp,8), %rax
xorl %ecx, %ecx
movsd 0x70(%rsp,%rcx,8), %xmm0
movsd %xmm0, (%rax,%rcx,8)
incq %rcx
cmpq $0x5, %rcx
jne 0x97b0
leaq 0x1(%r14), %r15
cmpq $0x6, %r15
je 0x9825
movq 0x18(%rsp), %rdi
leaq 0x3a04(%rip), %rsi      # 0xd1de
leaq 0x2a0(%rsp), %rdx
leaq 0x70(%rsp), %rcx
leaq 0x78(%rsp), %r8
leaq 0x80(%rsp), %r9
xorl %eax, %eax
leaq 0x90(%rsp), %r10
pushq %r10
leaq 0x90(%rsp), %r10
pushq %r10
callq 0x2070
addq $0x10, %rsp
cmpl $0x6, %eax
je 0x97a2
cmpq $0x4, %r14
movq 0x18(%rsp), %r14
ja 0x982a
jmp 0x983a
movq 0x18(%rsp), %r14
incl %ebp
cmpl 0x10(%rsp), %ebp
seta %r12b
jbe 0x9751
movzbl %r12b, %eax
andl $0x1, %eax
movq 0x28(%rsp), %r12
jmp 0x9884
movq 0x77a1(%rip), %rax      # 0x10ff0
movq (%rax), %rdi
leaq 0x79d7(%rip), %rax      # 0x11230
movq (%rax,%rbx,8), %rdx
leaq 0x388d(%rip), %rsi      # 0xd0f1
leaq 0xc0(%rsp), %rcx
xorl %eax, %eax
callq 0x2170
jmp 0x94dd
movb $0x1, %bpl
movq 0x28(%rsp), %r12
movzbl %bpl, %eax
leaq 0x3860(%rip), %r15      # 0xd0eb
leaq 0x130(%rsp), %rbp
movl 0xc(%rsp), %ecx
cmpl $0x2, %ecx
je 0x9467
jmp 0x98a4
xorl %eax, %eax
testl %eax, %eax
je 0x9a9e
xorl %r15d, %r15d
cmpb $0x0, (%r12)
movq 0x58(%rsp), %rdx
cmoveq %r15, %rdx
movl 0x4(%rsp), %esi
movl 0x8(%rsp), %ecx
movl 0x6c(%rsp), %r9d
movq 0x60(%rsp), %rdi
xorl %r8d, %r8d
callq 0x6aec
movq %rax, %rbx
movb 0x1(%r12), %al
testb %al, %al
je 0x9902
cmpb $0x0, 0x2(%r12)
je 0x98ff
cmpb $0x0, 0x3(%r12)
je 0x98ff
cmpb $0x0, 0x4(%r12)
setne %r15b
jmp 0x9902
xorl %r15d, %r15d
testb %al, %al
je 0x9921
cmpb $0x0, 0x2(%r12)
je 0x9921
cmpb $0x0, 0x3(%r12)
je 0x9921
cmpb $0x0, 0x4(%r12)
setne %al
jmp 0x9923
xorl %eax, %eax
testb %r15b, %r15b
je 0x9946
movq %rbx, %rdi
movq 0x50(%rsp), %rsi
movq 0x48(%rsp), %rdx
movq 0x40(%rsp), %rcx
movq 0x38(%rsp), %r8
callq 0x8608
jmp 0x994e
testb %al, %al
jne 0x9ad2
movq 0x20(%rsp), %rsi
testq %rsi, %rsi
je 0x9960
movq %rbx, %rdi
callq 0x8603
cmpb $0x0, 0x6(%r12)
je 0x9973
movq %rbx, %rdi
movq %r13, %rsi
callq 0x8a9a
movl 0x4(%rsp), %esi
movq 0x60(%rsp), %rdi
callq 0x9193
movl 0x4(%rsp), %esi
movq 0x58(%rsp), %rdi
callq 0x9193
movl 0x4(%rsp), %esi
movq 0x50(%rsp), %rdi
callq 0x9193
movl 0x4(%rsp), %esi
movq 0x48(%rsp), %rdi
callq 0x9193
movl 0x4(%rsp), %esi
movq 0x40(%rsp), %rdi
callq 0x9193
movl 0x4(%rsp), %esi
movq 0x38(%rsp), %rdi
callq 0x9193
testq %r13, %r13
je 0x99d8
movl 0x8(%rsp), %esi
movq %r13, %rdi
callq 0x8a4c
movq %r14, %rdi
callq 0x20e0
movq %r12, %rdi
callq 0x2030
cmpl $0x0, 0x30(%rbx)
je 0x9a35
cmpl $0x0, 0x10(%rbx)
je 0x9a35
xorl %r14d, %r14d
xorl %r15d, %r15d
movq 0x40(%rbx), %r12
movq 0x10(%r12,%r14), %r13
movl 0x6c(%r13), %ebp
movl (%r12,%r14), %edi
callq 0x2250
cmpl %eax, %ebp
jne 0x9a25
incq %r15
movl 0x10(%rbx), %eax
addq $0x30, %r14
cmpq %rax, %r15
jb 0x99fa
jmp 0x9a35
movl $0x1, %eax
movl %eax, 0x28(%r12,%r14)
movl %eax, 0x68(%r13)
jmp 0x9a14
callq 0x20d0
subq 0xa0(%rsp), %rax
cvtsi2sd %rax, %xmm0
divsd 0x15c9(%rip), %xmm0     # 0xb018
mulsd 0x2e09(%rip), %xmm0     # 0xc860
leaq 0x3733(%rip), %rdi      # 0xd191
movb $0x1, %al
callq 0x2100
movq %rbx, %rax
addq $0x438, %rsp            # imm = 0x438
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x756f(%rip), %rax      # 0x10ff0
movq (%rax), %rdi
leaq 0x361e(%rip), %rsi      # 0xd0a9
xorl %ebx, %ebx
leaq 0xc0(%rsp), %rdx
xorl %eax, %eax
callq 0x2170
jmp 0x9a65
movq 0x754b(%rip), %rax      # 0x10ff0
movq (%rax), %rdi
movl %ebx, %eax
leaq 0x777f(%rip), %rcx      # 0x11230
movq (%rcx,%rax,8), %rcx
leaq 0x36a5(%rip), %rsi      # 0xd161
xorl %ebx, %ebx
leaq 0xc0(%rsp), %rdx
xorl %eax, %eax
callq 0x2170
jmp 0x9973
movq 0x7517(%rip), %rax      # 0x10ff0
movq (%rax), %rdi
leaq 0x363e(%rip), %rsi      # 0xd121
leaq 0xc0(%rsp), %rdx
xorl %eax, %eax
callq 0x2170
jmp 0x994e
leaq 0x1928(%rip), %rdi      # 0xb426
callq 0x2260
jmp 0x9211
callq 0x2a00
xorl %ebx, %ebx
jmp 0x9a65
leaq 0x382d(%rip), %rdi      # 0xd348
leaq 0x1fdd(%rip), %rsi      # 0xbaff
leaq 0x200b(%rip), %rcx      # 0xbb34
movl $0x69, %edx
callq 0x2110