// File: /workspace/github_cpp_makefile_star2_O2/ChanTsune[P]py_string/./py_string.hpp
// Function: bool py::format_parser::format<char const*, nullptr>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
bool format(std::string r, T target, std::string &dst)
  {
    std::smatch sub;
    std::stringstream stm;
    stm << target;
    string str = stm.str();
    bool result = std::regex_match(r, sub, format_spce_regex);
    if (result) {
      char fill_char = util::_get_fill_char(sub.str(2));
      size_t pad_size = util::_get_size(sub.str(7));

      if (sub.str(3) == "^") {
        dst = str.center(pad_size, fill_char);
      } else if (sub.str(3) == ">") {
        dst = str.rjust(pad_size, fill_char);
      } else {
        dst = str.ljust(pad_size, fill_char);
      }
    }
    return result;
  }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x238, %rsp            # imm = 0x238
movq %rdx, %r12
movq %rsi, %r15
movq %rdi, %r14
xorps %xmm0, %xmm0
movaps %xmm0, -0x60(%rbp)
movaps %xmm0, -0x70(%rbp)
leaq -0x258(%rbp), %rdi
callq 0x4240
leaq -0x248(%rbp), %rdi
movq %r15, %rsi
callq 0x42f0
leaq -0x240(%rbp), %rsi
leaq -0x50(%rbp), %rdi
callq 0x44b0
leaq -0x90(%rbp), %rdi
leaq -0x50(%rbp), %rsi
callq 0x4440
leaq -0x50(%rbp), %rdi
callq 0x4170
leaq 0xed35(%rip), %rdx      # 0x23718
leaq -0x70(%rbp), %rsi
movq %r14, %rdi
xorl %ecx, %ecx
callq 0x133b4
movl %eax, %r14d
testb %al, %al
je 0x14b30
leaq -0xd0(%rbp), %rdi
leaq -0x70(%rbp), %rsi
pushq $0x2
popq %rdx
callq 0x13152
cmpq $0x0, -0xc8(%rbp)
je 0x14a24
movq -0xd0(%rbp), %rax
movb (%rax), %bl
jmp 0x14a26
movb $0x20, %bl
leaq -0xd0(%rbp), %rdi
callq 0x4170
leaq -0xb0(%rbp), %rdi
leaq -0x70(%rbp), %rsi
pushq $0x7
popq %rdx
callq 0x13152
leaq -0xb0(%rbp), %rdi
callq 0x133d4
movq %rax, %r15
movq %r12, -0x30(%rbp)
leaq -0xb0(%rbp), %rdi
callq 0x4170
leaq -0x50(%rbp), %rdi
leaq -0x70(%rbp), %rsi
pushq $0x3
popq %rdx
callq 0x13152
leaq 0x3098(%rip), %rsi      # 0x17b13
leaq -0x50(%rbp), %r12
movq %r12, %rdi
callq 0xa554
movl %eax, %r13d
movq %r12, %rdi
callq 0x4170
testb %r13b, %r13b
je 0x14ab7
movsbl %bl, %ecx
leaq -0x50(%rbp), %rdi
leaq -0x90(%rbp), %rsi
movq %r15, %rdx
callq 0x14208
leaq -0x50(%rbp), %r15
movq -0x30(%rbp), %rdi
jmp 0x14b20
leaq -0x50(%rbp), %rdi
leaq -0x70(%rbp), %rsi
pushq $0x3
popq %rdx
callq 0x13152
leaq 0x3085(%rip), %rsi      # 0x17b53
movq %r12, %rdi
callq 0xa554
movl %eax, %r13d
movq %r12, %rdi
callq 0x4170
testb %r13b, %r13b
je 0x14b02
movsbl %bl, %ecx
leaq -0x50(%rbp), %rdi
leaq -0x90(%rbp), %rsi
movq %r15, %rdx
callq 0x14334
movq -0x30(%rbp), %rdi
jmp 0x14b1c
movsbl %bl, %ecx
leaq -0x50(%rbp), %rdi
leaq -0x90(%rbp), %rsi
movq %r15, %rdx
callq 0x1415c
movq -0x30(%rbp), %rdi
leaq -0x50(%rbp), %r15
movq %r15, %rsi
callq 0x43e0
movq %r15, %rdi
callq 0x4170
leaq -0x90(%rbp), %rdi
callq 0x4170
leaq -0x258(%rbp), %rdi
callq 0x4280
leaq -0x70(%rbp), %rdi
callq 0x10b62
movl %r14d, %eax
addq $0x238, %rsp            # imm = 0x238
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x14b85
jmp 0x14b85
jmp 0x14b85
jmp 0x14b85
jmp 0x14b85
movq %rax, %rbx
leaq -0xb0(%rbp), %rdi
callq 0x4170
jmp 0x14b88
jmp 0x14b85
jmp 0x14b85
movq %rax, %rbx
leaq -0x90(%rbp), %rdi
jmp 0x14b98
movq %rax, %rbx
leaq -0x50(%rbp), %rdi
callq 0x4170
jmp 0x14ba4
jmp 0x14ba1
movq %rax, %rbx
leaq -0x258(%rbp), %rdi
callq 0x4280
leaq -0x70(%rbp), %rdi
callq 0x10b62
movq %rbx, %rdi
callq 0x4540
movq %rax, %rbx
jmp 0x14bb0