// File: /workspace/github_cpp_makefile_star2_O1/afborchert[P]fmt/test_suite.cpp
// Function: bool special_testcase<char, void*>(int, char const*, char const*, void*&&)
bool special_testcase(int expected_count,
      const CharT* expected_string,
      const CharT* format, Values&&... values) {
   ++testcases;
   bool ok = true;
   std::basic_ostringstream<CharT> os;
   auto count = fmt::printf(os, format, std::forward<Values>(values)...);
   if ((count < 0 || expected_count < 0) && count != expected_count) {
      print("special test for \"%s\" fails,", format);
      print(" fmt returns %d but we expected %d\n", count, expected_count);
      print_values(1, values...);
      return false;
   }
   if (count != expected_count) {
      ok = false;
   }
   std::basic_string<CharT> fmt_str(os.str());
   std::basic_string<CharT> expected_str(expected_string);
   if (fmt_str != expected_str) {
      ok = false;
   }
   if (ok) {
      ++successful; return true;
   } else {
      print("special test for \"%s\" fails:\n", format);
      if (count != expected_count) {
	 print("   fmt returns:           %d\n", count);
	 print("   expected return value: %d\n", expected_count);
      }
      print("   fmt delivers:          \"%s\"\n", fmt_str);
      print("   expected:              \"%s\"\n", expected_str);
      print_values(1, values...);
      return false;
   }
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x1d0, %rsp            # imm = 0x1D0
movq %rcx, %rbx
movq %rsi, %r15
movl %edi, 0x4(%rsp)
movq %rdx, 0x10(%rsp)
incl 0x47d07(%rip)           # 0x5432c
leaq 0x58(%rsp), %r14
movq %r14, %rdi
callq 0x6420
movq 0x10(%rsp), %rsi
movq %r14, %rdi
movq %rbx, %rdx
callq 0x4076d
movl %eax, %r14d
movl %eax, 0x8(%rsp)
movl 0x4(%rsp), %r12d
orl %r12d, %eax
setns %al
cmpl %r12d, %r14d
sete %bpl
orb %bpl, %al
je 0xc6ad
leaq 0x60(%rsp), %rsi
leaq 0x38(%rsp), %rdi
callq 0x64e0
leaq 0x18(%rsp), %rdi
leaq 0xf(%rsp), %rdx
movq %r15, %rsi
callq 0xdec4
movq 0x40(%rsp), %rdx
cmpq 0x20(%rsp), %rdx
jne 0xc6f6
testq %rdx, %rdx
je 0xc6f8
xorl %r12d, %r14d
movq 0x18(%rsp), %rsi
movq 0x38(%rsp), %rdi
callq 0x6360
orl %r14d, %eax
sete %bpl
jmp 0xc6f8
movq 0x4791c(%rip), %rdi     # 0x53fd0
leaq 0x38964(%rip), %rsi     # 0x4501f
leaq 0x10(%rsp), %rdx
callq 0xcfa8
movq 0x47904(%rip), %rdi     # 0x53fd0
leaq 0x38969(%rip), %rsi     # 0x4503c
leaq 0x8(%rsp), %rdx
leaq 0x4(%rsp), %rcx
callq 0x11827
movq (%rbx), %rsi
movl $0x1, %edi
callq 0x40bfe
xorl %ebp, %ebp
jmp 0xc7cd
xorl %ebp, %ebp
testb %bpl, %bpl
je 0xc708
incl 0x47c25(%rip)           # 0x54328
jmp 0xc797
movq 0x478c1(%rip), %rdi     # 0x53fd0
leaq 0x3894a(%rip), %rsi     # 0x45060
leaq 0x10(%rsp), %rdx
callq 0xcfa8
movl 0x8(%rsp), %eax
cmpl 0x4(%rsp), %eax
je 0xc75a
movq 0x4789f(%rip), %rdi     # 0x53fd0
leaq 0x38946(%rip), %rsi     # 0x4507e
leaq 0x8(%rsp), %rdx
callq 0x1c162
movq 0x47887(%rip), %rdi     # 0x53fd0
leaq 0x3894c(%rip), %rsi     # 0x4509c
leaq 0x4(%rsp), %rdx
callq 0x1c162
movq 0x4786f(%rip), %rdi     # 0x53fd0
leaq 0x38952(%rip), %rsi     # 0x450ba
leaq 0x38(%rsp), %rdx
callq 0x40cf9
movq 0x47857(%rip), %rdi     # 0x53fd0
leaq 0x3895a(%rip), %rsi     # 0x450da
leaq 0x18(%rsp), %rdx
callq 0x40cf9
movq (%rbx), %rsi
movl $0x1, %edi
callq 0x40bfe
leaq 0x28(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xc7b2
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x6340
leaq 0x48(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xc7cd
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x6340
movq 0x477e4(%rip), %rsi     # 0x53fb8
leaq 0x58(%rsp), %rdi
callq 0x61c0
leaq 0xc8(%rsp), %rdi
callq 0x6100
movl %ebp, %eax
addq $0x1d0, %rsp            # imm = 0x1D0
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
jmp 0xc822
jmp 0xc83f
movq %rax, %rbx
leaq 0x28(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xc822
movq 0x28(%rsp), %rsi
incq %rsi
callq 0x6340
leaq 0x48(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xc842
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x6340
jmp 0xc842
movq %rax, %rbx
movq 0x4776f(%rip), %rsi     # 0x53fb8
leaq 0x58(%rsp), %rdi
callq 0x61c0
leaq 0xc8(%rsp), %rdi
callq 0x6100
movq %rbx, %rdi
callq 0x6580