// File: /workspace/github_c_makefile_star2_O0/genometools[P]genometools/src/extended/assembly_stats_calculator.c
// Function: gt_assembly_stats_calculator_nstat
GtUword gt_assembly_stats_calculator_nstat(GtAssemblyStatsCalculator *asc,
    GtUword n)
{
  Nstats nstats;
  gt_assert(n > 0);
  gt_assert(n < (GtUword)100UL);
  nstats.min[0] = (GtUint64) (asc->sumlength * ((float)n / 100U));
  nstats.nvalue[0] = 0;
  nstats.lvalue[0] = 0;
  nstats.done[0] = false;
  nstats.nofstats = 1U;
  nstats.current_len = 0;
  nstats.current_num = 0;
  nstats.half_num = (GtUint64) (asc->numofseq >> 1);
  nstats.fourth_num = nstats.half_num >> 1;
  nstats.three_fourth_num = nstats.fourth_num + nstats.half_num;
  nstats.median = 0;
  nstats.first_quartile = 0;
  nstats.third_quartile = 0;
  gt_disc_distri_foreach_in_reverse_order(asc->lengths, calcNstats, &nstats);
  return nstats.nvalue[0];
}

// Assembly:
subq $0x268, %rsp            # imm = 0x268
movq %rdi, 0x260(%rsp)
movq %rsi, 0x258(%rsp)
cmpq $0x0, 0x258(%rsp)
ja 0x13339a
movq 0x508c37(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x3e2ca0(%rip), %rsi    # 0x516013
leaq 0x416170(%rip), %rdx    # 0x5494ea
leaq 0x416124(%rip), %rcx    # 0x5494a5
leaq 0x416098(%rip), %r8     # 0x549420
movl $0x9f, %r9d
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x13339c
jmp 0x13339e
cmpq $0x64, 0x258(%rsp)
jb 0x1333e1
movq 0x508bf0(%rip), %rax    # 0x63bfa0
movq (%rax), %rdi
leaq 0x3e2c59(%rip), %rsi    # 0x516013
leaq 0x416107(%rip), %rdx    # 0x5494c8
leaq 0x4160dd(%rip), %rcx    # 0x5494a5
leaq 0x416051(%rip), %r8     # 0x549420
movl $0xa0, %r9d
movb $0x0, %al
callq 0x199f0
callq 0x19370
jmp 0x1333e3
movq 0x260(%rsp), %rax
movq 0x8(%rax), %rax
movq %rax, %rdx
shrq %rdx
movl %eax, %ecx
andl $0x1, %ecx
orq %rdx, %rcx
cvtsi2ss %rcx, %xmm0
addss %xmm0, %xmm0
cvtsi2ss %rax, %xmm1
movss %xmm1, 0x18(%rsp)
testq %rax, %rax
movss %xmm0, 0x1c(%rsp)
js 0x133428
movss 0x18(%rsp), %xmm0
movss %xmm0, 0x1c(%rsp)
movss 0x1c(%rsp), %xmm0
movss %xmm0, 0xc(%rsp)
movq 0x258(%rsp), %rax
movq %rax, %rdx
shrq %rdx
movl %eax, %ecx
andl $0x1, %ecx
orq %rdx, %rcx
cvtsi2ss %rcx, %xmm0
addss %xmm0, %xmm0
cvtsi2ss %rax, %xmm1
movss %xmm1, 0x10(%rsp)
testq %rax, %rax
movss %xmm0, 0x14(%rsp)
js 0x133475
movss 0x10(%rsp), %xmm0
movss %xmm0, 0x14(%rsp)
movss 0xc(%rsp), %xmm0
movss 0x14(%rsp), %xmm1
movss 0x3f1f0f(%rip), %xmm2   # 0x525398
divss %xmm2, %xmm1
mulss %xmm1, %xmm0
movaps %xmm0, %xmm1
cvttss2si %xmm1, %rax
movq %rax, %rdx
sarq $0x3f, %rdx
movss 0x415f74(%rip), %xmm1   # 0x54941c
subss %xmm1, %xmm0
cvttss2si %xmm0, %rcx
andq %rdx, %rcx
orq %rcx, %rax
movq %rax, 0x100(%rsp)
movq $0x0, 0x160(%rsp)
movq $0x0, 0x1b0(%rsp)
movb $0x0, 0x70(%rsp)
movl $0x1, 0x250(%rsp)
movq $0x0, 0x80(%rsp)
movq $0x0, 0x88(%rsp)
movq 0x260(%rsp), %rax
movq (%rax), %rax
shrq %rax
movq %rax, 0xa0(%rsp)
movq 0xa0(%rsp), %rax
shrq %rax
movq %rax, 0x98(%rsp)
movq 0x98(%rsp), %rax
addq 0xa0(%rsp), %rax
movq %rax, 0x158(%rsp)
movq $0x0, 0xf8(%rsp)
movq $0x0, 0x90(%rsp)
movq $0x0, 0x150(%rsp)
movq 0x260(%rsp), %rax
movq 0x28(%rax), %rdi
leaq 0x29(%rip), %rsi        # 0x1335a0
leaq 0x20(%rsp), %rdx
callq 0xa5730
movq 0x160(%rsp), %rax
addq $0x268, %rsp            # imm = 0x268
retq
nopw %cs:(%rax,%rax)