// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/core/hashtable.c
// Function: gt_ht_reinit
static void
gt_ht_reinit(GtHashtable *ht, HashElemInfo table_info, unsigned short size_log,
             unsigned short high_mul, unsigned short low_mul)
{
  htsize_t table_size;
  gt_assert(high_mul > low_mul);
  gt_assert(low_mul > 0 && high_mul < FILL_DIVISOR);
  ht->table_info = table_info;
  ht->table_size_log = size_log;
  ht->table_mask = (table_size = 1 << size_log) - 1;
  if (ht->no_ma)
    ht->table = realloc(ht->table, table_info.elem_size * table_size);
  else
    ht->table = gt_realloc(ht->table, table_info.elem_size * table_size);
  ht->high_fill_mul = high_mul;
  ht->high_fill
    = (GtUint64)ht->high_fill_mul * table_size / FILL_DIVISOR;
  ht->low_fill_mul = low_mul;
  ht->low_fill
    = (GtUint64)ht->low_fill_mul * table_size / FILL_DIVISOR;
  {
    uint32_t i;
    if (ht->no_ma)
      ht->links.table = realloc(ht->links.table,
                                sizeof (*(ht->links.table)) * table_size);
    else
      ht->links.table = gt_realloc(ht->links.table,
                                   sizeof (*(ht->links.table)) * table_size);
    for (i = 0; i < table_size; ++i)
      ht->links.table[i] = free_mark;
    ht->get_link = gt_ht_get_table_link;
    ht->set_link = gt_ht_set_table_link;
  }
}

// Assembly:
subq $0x28, %rsp
movw %cx, %ax
movw %dx, %cx
movw %si, %dx
leaq 0x30(%rsp), %rsi
movq %rsi, 0x8(%rsp)
movq %rdi, 0x20(%rsp)
movw %dx, 0x1e(%rsp)
movw %cx, 0x1c(%rsp)
movw %ax, 0x1a(%rsp)
movzwl 0x1c(%rsp), %eax
movzwl 0x1a(%rsp), %ecx
cmpl %ecx, %eax
jg 0x88631
movq 0x12b9d8(%rip), %rax    # 0x1b3fd8
movq (%rax), %rdi
leaq 0xd5a5c(%rip), %rsi     # 0x15e066
leaq 0xe6561(%rip), %rdx     # 0x16eb72
leaq 0xe656d(%rip), %rcx     # 0x16eb85
leaq 0xe6326(%rip), %r8      # 0x16e945
movl $0x62, %r9d
movb $0x0, %al
callq 0xb890
callq 0xb2e0
jmp 0x88633
jmp 0x88635
movzwl 0x1a(%rsp), %eax
cmpl $0x0, %eax
jle 0x8864b
movzwl 0x1c(%rsp), %eax
cmpl $0x100, %eax            # imm = 0x100
jl 0x88683
movq 0x12b986(%rip), %rax    # 0x1b3fd8
movq (%rax), %rdi
leaq 0xd5a0a(%rip), %rsi     # 0x15e066
leaq 0xe652f(%rip), %rdx     # 0x16eb92
leaq 0xe651b(%rip), %rcx     # 0x16eb85
leaq 0xe62d4(%rip), %r8      # 0x16e945
movl $0x63, %r9d
movb $0x0, %al
callq 0xb890
callq 0xb2e0
jmp 0x88685
movq 0x8(%rsp), %rsi
movq 0x20(%rsp), %rdi
movl $0x30, %edx
callq 0xb500
movw 0x1e(%rsp), %cx
movq 0x20(%rsp), %rax
movw %cx, 0x60(%rax)
movzwl 0x1e(%rsp), %ecx
movl $0x1, %eax
shll %cl, %eax
movl %eax, %ecx
movl %ecx, 0x14(%rsp)
subl $0x1, %ecx
movq 0x20(%rsp), %rax
movl %ecx, 0x48(%rax)
movq 0x20(%rsp), %rax
testb $0x1, 0x78(%rax)
je 0x886fc
movq 0x8(%rsp), %rax
movq 0x20(%rsp), %rcx
movq 0x30(%rcx), %rdi
movq 0x10(%rax), %rsi
movl 0x14(%rsp), %eax
imulq %rax, %rsi
callq 0xba30
movq %rax, %rcx
movq 0x20(%rsp), %rax
movq %rcx, 0x30(%rax)
jmp 0x88733
movq 0x8(%rsp), %rax
movq 0x20(%rsp), %rcx
movq 0x30(%rcx), %rdi
movq 0x10(%rax), %rsi
movl 0x14(%rsp), %eax
imulq %rax, %rsi
leaq 0xe6228(%rip), %rdx     # 0x16e945
movl $0x6a, %ecx
callq 0xd730
movq %rax, %rcx
movq 0x20(%rsp), %rax
movq %rcx, 0x30(%rax)
movw 0x1c(%rsp), %cx
movq 0x20(%rsp), %rax
movw %cx, 0x62(%rax)
movq 0x20(%rsp), %rax
movzwl 0x62(%rax), %eax
movl 0x14(%rsp), %ecx
imulq %rcx, %rax
shrq $0x8, %rax
movl %eax, %ecx
movq 0x20(%rsp), %rax
movl %ecx, 0x4c(%rax)
movw 0x1a(%rsp), %cx
movq 0x20(%rsp), %rax
movw %cx, 0x64(%rax)
movq 0x20(%rsp), %rax
movzwl 0x64(%rax), %eax
movl 0x14(%rsp), %ecx
imulq %rcx, %rax
shrq $0x8, %rax
movl %eax, %ecx
movq 0x20(%rsp), %rax
movl %ecx, 0x50(%rax)
movq 0x20(%rsp), %rax
testb $0x1, 0x78(%rax)
je 0x887be
movq 0x20(%rsp), %rax
movq 0x58(%rax), %rdi
movl 0x14(%rsp), %eax
movl %eax, %esi
shlq $0x2, %rsi
callq 0xba30
movq %rax, %rcx
movq 0x20(%rsp), %rax
movq %rcx, 0x58(%rax)
jmp 0x887ee
movq 0x20(%rsp), %rax
movq 0x58(%rax), %rdi
movl 0x14(%rsp), %eax
movl %eax, %esi
shlq $0x2, %rsi
leaq 0xe616d(%rip), %rdx     # 0x16e945
movl $0x78, %ecx
callq 0xd730
movq %rax, %rcx
movq 0x20(%rsp), %rax
movq %rcx, 0x58(%rax)
movl $0x0, 0x10(%rsp)
movl 0x10(%rsp), %eax
cmpl 0x14(%rsp), %eax
jae 0x88821
movq 0x20(%rsp), %rax
movq 0x58(%rax), %rax
movl 0x10(%rsp), %ecx
movl $0xffffffff, (%rax,%rcx,4) # imm = 0xFFFFFFFF
movl 0x10(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x10(%rsp)
jmp 0x887f6
movq 0x20(%rsp), %rax
leaq -0x15ad(%rip), %rcx     # 0x87280
movq %rcx, 0x38(%rax)
movq 0x20(%rsp), %rax
leaq 0x1143(%rip), %rcx      # 0x89980
movq %rcx, 0x40(%rax)
addq $0x28, %rsp
retq
nopw %cs:(%rax,%rax)