// File: /workspace/github_cpp_makefile_star2_O1/afborchert[P]fmt/./printf.hpp
// Function: bool fmt::impl::print_value<wchar_t, std::char_traits<wchar_t>>(std::basic_ostream<wchar_t, std::char_traits<wchar_t>>&, fmt::impl::format_segment<wchar_t> const&, wchar_t const*)
inline bool print_value(std::basic_ostream<CharT, Traits>& out,
      const format_segment<CharT>& fseg, const CharT* value) {
   if (fseg.flags & is_pointer) {
      /* %p given: print pointer value */
      out << static_cast<const void*>(value);
   } else if (fseg.flags & is_unsigned) {
      /* print it as an unsigned integer value */
      print_value(out, fseg, reinterpret_cast<std::uintptr_t>(value));
   } else if (fseg.flags & is_integer) {
      /* print it as a signed integer value */
      print_value(out, fseg, reinterpret_cast<std::intptr_t>(value));
   } else {
      if (fseg.flags & precision) {
	 integer precision = fseg.precision;
	 for (integer i = 0; i < precision; ++i) {
	    if (!value[i]) {
	       precision = i; break;
	    }
	 }
	 integer padding = 0;
	 if (fseg.width > precision) {
	    padding = fseg.width - precision;
	 }
	 bool left = (out.flags() & std::ios_base::adjustfield) ==
		  std::ios_base::left;
	 if (!left) {
	    for (integer i = 0; i < padding; ++i) {
	       out.put(out.widen(' '));
	    }
	 }
	 if (precision > 0) {
	    out.write(value, precision);
	 }
	 if (left) {
	    for (integer i = 0; i < padding; ++i) {
	       out.put(out.widen(' '));
	    }
	 }
      } else {
	 out << value;
      }
   }
   return !!out;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rdi, %rbx
movzwl 0x24(%rsi), %eax
testb $0x1, %al
jne 0xfd86
testb $0x8, %al
jne 0xfd93
testb $0x4, %al
jne 0xfda3
btl $0x8, %eax
jb 0xfdcf
testq %r14, %r14
je 0xfdeb
movq %r14, %rdi
callq 0x62a0
movq %rbx, %rdi
movq %r14, %rsi
movq %rax, %rdx
callq 0x6130
jmp 0xfdb1
movq %rbx, %rdi
movq %r14, %rsi
callq 0x64c0
jmp 0xfdb1
movq %rsp, %rdx
movq %r14, (%rdx)
movq %rbx, %rdi
callq 0xfec6
jmp 0xfdb1
movq %rsp, %rdx
movq %r14, (%rdx)
movq %rbx, %rdi
callq 0x101c4
movq (%rbx), %rax
movq -0x18(%rax), %rax
testb $0x5, 0x20(%rbx,%rax)
sete %al
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x40(%rsi), %r15
testq %r15, %r15
jle 0xfe07
xorl %eax, %eax
cmpl $0x0, (%r14,%rax,4)
je 0xfe04
incq %rax
cmpq %rax, %r15
jne 0xfdda
jmp 0xfe07
movq (%rbx), %rax
movq -0x18(%rax), %rax
leaq (%rbx,%rax), %rdi
movl 0x20(%rbx,%rax), %esi
orl $0x1, %esi
callq 0x6490
jmp 0xfdb1
movq %rax, %r15
movq 0x38(%rsi), %rax
xorl %r12d, %r12d
subq %r15, %rax
cmovgq %rax, %r12
movq (%rbx), %rax
movq -0x18(%rax), %rax
movl $0xb0, %ebp
andl 0x18(%rbx,%rax), %ebp
cmpl $0x20, %ebp
je 0xfe63
testq %r12, %r12
jle 0xfe63
xorl %r13d, %r13d
movq (%rbx), %rax
movq -0x18(%rax), %rax
movq 0xf0(%rbx,%rax), %rdi
testq %rdi, %rdi
je 0xfec1
movq (%rdi), %rax
movl $0x20, %esi
callq *0x50(%rax)
movq %rbx, %rdi
movl %eax, %esi
callq 0x62c0
incq %r13
cmpq %r12, %r13
jl 0xfe32
testq %r15, %r15
jle 0xfe76
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x65c0
cmpl $0x20, %ebp
jne 0xfdb1
testq %r12, %r12
jle 0xfdb1
xorl %r14d, %r14d
movq (%rbx), %rax
movq -0x18(%rax), %rax
movq 0xf0(%rbx,%rax), %rdi
testq %rdi, %rdi
je 0xfec1
movq (%rdi), %rax
movl $0x20, %esi
callq *0x50(%rax)
movq %rbx, %rdi
movl %eax, %esi
callq 0x62c0
incq %r14
cmpq %r12, %r14
jl 0xfe8b
jmp 0xfdb1
callq 0x63d0