// File: /workspace/github_cpp_makefile_star2_O2/afborchert[P]fmt/./printf.hpp
// Function: bool fmt::impl::print_value<char, std::char_traits<char>>(std::basic_ostream<char, std::char_traits<char>>&, fmt::impl::format_segment<char> const&, char 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
subq $0x18, %rsp
movq %rdx, %r14
movq %rdi, %rbx
movzwl 0x24(%rsi), %eax
testb $0x1, %al
jne 0xbca0
testb $0x8, %al
jne 0xbcad
testb $0x4, %al
jne 0xbcbf
btl $0x8, %eax
jb 0xbced
movq %rbx, %rdi
movq %r14, %rsi
callq 0x6380
jmp 0xbccf
movq %rbx, %rdi
movq %r14, %rsi
callq 0x62a0
jmp 0xbccf
leaq 0x10(%rsp), %rdx
movq %r14, (%rdx)
movq %rbx, %rdi
callq 0xbdca
jmp 0xbccf
leaq 0x10(%rsp), %rdx
movq %r14, (%rdx)
movq %rbx, %rdi
callq 0xc019
movq (%rbx), %rax
movq -0x18(%rax), %rax
testb $0x5, 0x20(%rbx,%rax)
sete %al
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq 0x40(%rsi), %r15
xorl %eax, %eax
testq %r15, %r15
movl $0x0, %ecx
cmovgq %r15, %rcx
cmpq %rax, %rcx
je 0xbd13
cmpb $0x0, (%r14,%rax)
je 0xbd10
incq %rax
jmp 0xbcff
movq %rax, %r15
movq 0x38(%rsi), %rax
xorl %ecx, %ecx
subq %r15, %rax
cmovgq %rax, %rcx
movq %rcx, 0x8(%rsp)
movq (%rbx), %rax
movq -0x18(%rax), %rax
movl $0xb0, %r13d
andl 0x18(%rbx,%rax), %r13d
cmpl $0x20, %r13d
jne 0xbd94
testq %r15, %r15
jle 0xbd50
movq %rbx, %rdi
movq %r14, %rsi
movq %r15, %rdx
callq 0x6470
cmpl $0x20, %r13d
jne 0xbccf
xorl %r14d, %r14d
movq 0x8(%rsp), %rax
testq %rax, %rax
cmovgq %rax, %r14
pushq $0x20
popq %rbp
subq $0x1, %r14
jb 0xbccf
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl %ebp, %esi
callq 0x6370
movsbl %al, %esi
movq %rbx, %rdi
callq 0x6050
jmp 0xbd6c
xorl %r12d, %r12d
movq 0x8(%rsp), %rax
testq %rax, %rax
cmovgq %rax, %r12
pushq $0x20
popq %rbp
subq $0x1, %r12
jb 0xbd3d
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl %ebp, %esi
callq 0x6370
movsbl %al, %esi
movq %rbx, %rdi
callq 0x6050
jmp 0xbda6