// File: /workspace/github_c_makefile_star2_O0/ukontainer[P]sqlite-bench/benchmark.c
// Function: stop
static void stop(const char* name) {
  double finish = now_micros() * 1e-6;

  if (done_ < 1) done_ = 1;

  if (bytes_ > 0) {
    char *rate = malloc(sizeof(char) * 100);;
    snprintf(rate, strlen(rate), "%6.1f MB/s",
              (bytes_ / 1048576.0) / (finish - start_));
    if (message_ && !strcmp(message_, "")) {
      message_ = strcat(strcat(rate, " "), message_);
    } else {
      message_ = rate;
    }
  }

  fprintf(stderr, "%-12s : %11.3f micros/op;%s%s\n",
          name,
          (finish - start_) * 1e6 / done_,
          (!message_ || !strcmp(message_, "") ? "" : " "),
          (!message_) ? "" : message_);
  if (FLAGS_raw) {
    raw_print(stdout, &raw_);
  }
  if (FLAGS_histogram) {
    fprintf(stderr, "Microseconds per op:\n%s\n",
            histogram_to_string(&hist_));
  }
  fflush(stdout);
  fflush(stderr);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
callq 0x4a9f50
movq %rax, %xmm0
movaps 0x1740a3(%rip), %xmm1   # 0x577030
punpckldq %xmm1, %xmm0    # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
movapd 0x1740a7(%rip), %xmm1   # 0x577040
subpd %xmm1, %xmm0
movaps %xmm0, %xmm1
unpckhpd %xmm0, %xmm0            # xmm0 = xmm0[1,1]
addsd %xmm1, %xmm0
movsd 0x174060(%rip), %xmm1   # 0x577010
mulsd %xmm1, %xmm0
movsd %xmm0, -0x10(%rbp)
cmpl $0x1, 0x1cf928(%rip)    # 0x5d28e8
jge 0x402fcc
movl $0x1, 0x1cf91c(%rip)    # 0x5d28e8
cmpq $0x0, 0x1cf934(%rip)    # 0x5d2908
jle 0x40308b
movl $0x64, %edi
callq 0x4d4850
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x20(%rbp)
movq -0x18(%rbp), %rdi
callq 0x4010f8
movq -0x20(%rbp), %rdi
movq %rax, %rsi
cvtsi2sdq 0x1cf8ff(%rip), %xmm0 # 0x5d2908
movsd 0x17400f(%rip), %xmm1   # 0x577020
divsd %xmm1, %xmm0
movsd -0x10(%rbp), %xmm1
subsd 0x1cf916(%rip), %xmm1   # 0x5d2938
divsd %xmm1, %xmm0
leaq 0x174484(%rip), %rdx    # 0x5774b1
movb $0x1, %al
callq 0x4b4180
cmpq $0x0, 0x1cf8f4(%rip)    # 0x5d2930
je 0x40307e
movq 0x1cf8eb(%rip), %rdi    # 0x5d2930
leaq 0x19cec1(%rip), %rsi    # 0x59ff0d
callq 0x4010c0
cmpl $0x0, %eax
jne 0x40307e
movq -0x18(%rbp), %rdi
leaq 0x17d89e(%rip), %rsi    # 0x5808ff
callq 0x401060
movq %rax, %rdi
movq 0x1cf8c0(%rip), %rsi    # 0x5d2930
callq 0x401060
movq %rax, 0x1cf8b4(%rip)    # 0x5d2930
jmp 0x403089
movq -0x18(%rbp), %rax
movq %rax, 0x1cf8a7(%rip)    # 0x5d2930
jmp 0x40308b
movq $0x5d07a8, %rax         # imm = 0x5D07A8
movq (%rax), %rax
movq %rax, -0x40(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x38(%rbp)
movsd -0x10(%rbp), %xmm0
subsd 0x1cf88a(%rip), %xmm0   # 0x5d2938
movsd 0x173f52(%rip), %xmm1   # 0x577008
mulsd %xmm1, %xmm0
cvtsi2sdl 0x1cf826(%rip), %xmm1 # 0x5d28e8
divsd %xmm1, %xmm0
movsd %xmm0, -0x30(%rbp)
movb $0x1, %al
cmpq $0x0, 0x1cf85b(%rip)    # 0x5d2930
movb %al, -0x21(%rbp)
je 0x4030f8
movq 0x1cf84f(%rip), %rdi    # 0x5d2930
leaq 0x19ce25(%rip), %rsi    # 0x59ff0d
callq 0x4010c0
cmpl $0x0, %eax
setne %al
xorb $-0x1, %al
movb %al, -0x21(%rbp)
movb -0x21(%rbp), %dl
leaq 0x17d7fd(%rip), %rax    # 0x5808ff
leaq 0x19ce04(%rip), %rcx    # 0x59ff0d
testb $0x1, %dl
cmovneq %rcx, %rax
movq %rax, -0x48(%rbp)
cmpq $0x0, 0x1cf814(%rip)    # 0x5d2930
jne 0x40312b
leaq 0x19cde8(%rip), %rax    # 0x59ff0d
movq %rax, -0x50(%rbp)
jmp 0x403136
movq 0x1cf7fe(%rip), %rax    # 0x5d2930
movq %rax, -0x50(%rbp)
movq -0x48(%rbp), %rcx
movsd -0x30(%rbp), %xmm0
movq -0x38(%rbp), %rdx
movq -0x40(%rbp), %rdi
movq -0x50(%rbp), %r8
leaq 0x17436a(%rip), %rsi    # 0x5774bc
movb $0x1, %al
callq 0x4b40c0
movq $0x5d2955, %rax         # imm = 0x5D2955
testb $0x1, (%rax)
je 0x40317b
movq $0x5d07b0, %rax         # imm = 0x5D07B0
movq (%rax), %rdi
leaq 0x1cf75a(%rip), %rsi    # 0x5d28d0
callq 0x404d50
movq $0x5d2954, %rax         # imm = 0x5D2954
testb $0x1, (%rax)
je 0x4031b6
movq $0x5d07a8, %rax         # imm = 0x5D07A8
movq (%rax), %rax
movq %rax, -0x58(%rbp)
leaq 0x1cf23c(%rip), %rdi    # 0x5d23d8
callq 0x4037b0
movq -0x58(%rbp), %rdi
movq %rax, %rdx
leaq 0x17432c(%rip), %rsi    # 0x5774db
movb $0x0, %al
callq 0x4b40c0
movq $0x5d07b0, %rax         # imm = 0x5D07B0
movq (%rax), %rdi
callq 0x4c2800
movq $0x5d07a8, %rax         # imm = 0x5D07A8
movq (%rax), %rdi
callq 0x4c2800
addq $0x60, %rsp
popq %rbp
retq
nopw (%rax,%rax)