// File: /workspace/github_c_makefile_star2_O0/mvermeulen[P]wspy/topdown.c
// Function: print_software
void print_software(struct counter_group *cgroup,enum output_format oformat){
  int i;
  struct counter_info *task_info = find_ci_label(cgroup,"task-clock");
  double task_time = (double) task_info->value / 1000000000.0;
  struct counter_info *cinfo;
  if (oformat == PRINT_CSV_HEADER){
    return;
  }
  for (i=0;i<cgroup->ncounters;i++){
    fprintf(outfile,"%-20s %-14lu",cgroup->cinfo[i].label,cgroup->cinfo[i].value);
    if (!strcmp(cgroup->cinfo[i].label,"task-clock") ||
	!strcmp(cgroup->cinfo[i].label,"cpu-clock")){
      fprintf(outfile," # %4.3f seconds",
	     (double) cgroup->cinfo[i].value / 1000000000.0);
    } else {
      fprintf(outfile," # %4.3f/sec",cgroup->cinfo[i].value / task_time);
	     
    }
    fprintf(outfile,"\n");
  }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq -0x8(%rbp), %rdi
leaq 0x3b8a(%rip), %rsi      # 0xe934
callq 0x6930
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rax
movq 0x30(%rax), %xmm0
movaps 0x2b6d(%rip), %xmm1     # 0xd930
punpckldq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
movapd 0x2b71(%rip), %xmm1     # 0xd940
subpd %xmm1, %xmm0
movaps %xmm0, %xmm1
unpckhpd %xmm0, %xmm0            # xmm0 = xmm0[1,1]
addsd %xmm1, %xmm0
movsd 0x23f2(%rip), %xmm1     # 0xd1d8
divsd %xmm1, %xmm0
movsd %xmm0, -0x20(%rbp)
cmpl $0x2, -0xc(%rbp)
jne 0xadfa
jmp 0xaf7d
movl $0x0, -0x10(%rbp)
movl -0x10(%rbp), %eax
movq -0x8(%rbp), %rcx
cmpl 0xc(%rcx), %eax
jge 0xaf7d
leaq 0x82f0(%rip), %rax      # 0x13108
movq (%rax), %rdi
movq -0x8(%rbp), %rax
movq 0x18(%rax), %rax
movslq -0x10(%rbp), %rcx
imulq $0x58, %rcx, %rcx
addq %rcx, %rax
movq (%rax), %rdx
movq -0x8(%rbp), %rax
movq 0x18(%rax), %rax
movslq -0x10(%rbp), %rcx
imulq $0x58, %rcx, %rcx
addq %rcx, %rax
movq 0x30(%rax), %rcx
leaq 0x4bbf(%rip), %rsi      # 0xfa0e
movb $0x0, %al
callq 0x31d0
movq -0x8(%rbp), %rax
movq 0x18(%rax), %rax
movslq -0x10(%rbp), %rcx
imulq $0x58, %rcx, %rcx
addq %rcx, %rax
movq (%rax), %rdi
leaq 0x3ac1(%rip), %rsi      # 0xe934
callq 0x31b0
cmpl $0x0, %eax
je 0xaea4
movq -0x8(%rbp), %rax
movq 0x18(%rax), %rax
movslq -0x10(%rbp), %rcx
imulq $0x58, %rcx, %rcx
addq %rcx, %rax
movq (%rax), %rdi
leaq 0x3a90(%rip), %rsi      # 0xe92a
callq 0x31b0
cmpl $0x0, %eax
jne 0xaf02
leaq 0x825d(%rip), %rax      # 0x13108
movq (%rax), %rdi
movq -0x8(%rbp), %rax
movq 0x18(%rax), %rax
movslq -0x10(%rbp), %rcx
imulq $0x58, %rcx, %rcx
movq 0x30(%rax,%rcx), %xmm0
movaps 0x2a65(%rip), %xmm1     # 0xd930
punpckldq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
movapd 0x2a69(%rip), %xmm1     # 0xd940
subpd %xmm1, %xmm0
movaps %xmm0, %xmm1
unpckhpd %xmm0, %xmm0            # xmm0 = xmm0[1,1]
addsd %xmm1, %xmm0
movsd 0x22ea(%rip), %xmm1     # 0xd1d8
divsd %xmm1, %xmm0
leaq 0x4b22(%rip), %rsi      # 0xfa1b
movb $0x1, %al
callq 0x31d0
jmp 0xaf57
leaq 0x81ff(%rip), %rax      # 0x13108
movq (%rax), %rdi
movq -0x8(%rbp), %rax
movq 0x18(%rax), %rax
movslq -0x10(%rbp), %rcx
imulq $0x58, %rcx, %rcx
movq 0x30(%rax,%rcx), %xmm0
movaps 0x2a07(%rip), %xmm1     # 0xd930
punpckldq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
movapd 0x2a0b(%rip), %xmm1     # 0xd940
subpd %xmm1, %xmm0
movaps %xmm0, %xmm1
unpckhpd %xmm0, %xmm0            # xmm0 = xmm0[1,1]
addsd %xmm1, %xmm0
divsd -0x20(%rbp), %xmm0
leaq 0x4adc(%rip), %rsi      # 0xfa2c
movb $0x1, %al
callq 0x31d0
leaq 0x81aa(%rip), %rax      # 0x13108
movq (%rax), %rdi
leaq 0x3f28(%rip), %rsi      # 0xee90
movb $0x0, %al
callq 0x31d0
movl -0x10(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rbp)
jmp 0xae01
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)