// File: /workspace/github_cpp_makefile_star2_O3/akitsu-sanae[P]adtpp/./include/utility.hpp
// Function: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> format<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
inline static std::string format(std::string const& str, Arg&& arg, Args&& ... args) {
    auto pos = str.find("{}");
    if (pos == std::string::npos)
        throw format_too_many_args{};
    std::string after = str.substr(pos+2, str.length());
    std::stringstream ss;
    ss << std::forward<Arg>(arg);
    return str.substr(0, pos) + ss.str() + format(after, args ...);

}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x228, %rsp            # imm = 0x228
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x2bfe(%rip), %rsi      # 0x8311
movl $0x2, %ecx
movq %r14, %rdi
xorl %edx, %edx
callq 0x2290
cmpq $-0x1, %rax
je 0x59aa
movq %rax, %r15
leaq 0x2(%rax), %rdx
movq 0x8(%r14), %rcx
leaq 0x80(%rsp), %rdi
movq %r14, %rsi
callq 0x21c0
leaq 0xa0(%rsp), %rdi
callq 0x2110
leaq 0xb0(%rsp), %rdi
movq (%r12), %rsi
movq 0x8(%r12), %rdx
callq 0x21e0
leaq 0x60(%rsp), %rdi
movq %r14, %rsi
xorl %edx, %edx
movq %r15, %rcx
callq 0x21c0
leaq 0xb8(%rsp), %rsi
leaq 0x40(%rsp), %rdi
callq 0x2250
leaq 0x70(%rsp), %r14
movq -0x10(%r14), %rcx
movq -0x8(%r14), %r8
movq 0x48(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %edi
cmpq %r14, %rcx
je 0x57b3
movq 0x70(%rsp), %rdi
movq 0x40(%rsp), %rsi
cmpq %rdi, %rax
jbe 0x57d6
leaq 0x50(%rsp), %r9
movl $0xf, %edi
cmpq %r9, %rsi
je 0x57d1
movq 0x50(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x57e2
leaq 0x60(%rsp), %rdi
callq 0x2090
jmp 0x57f0
leaq 0x40(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x21d0
leaq 0x10(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
je 0x5813
movq %rsi, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x5819
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x8(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
movq 0x80(%rsp), %rsi
leaq 0x30(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x88(%rsp), %rdx
addq %rsi, %rdx
leaq 0x20(%rsp), %rdi
callq 0x69d0
leaq 0x10(%rsp), %r12
movq -0x10(%r12), %rcx
movq -0x8(%r12), %r8
movq 0x28(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %edi
cmpq %r12, %rcx
je 0x5883
movq 0x10(%rsp), %rdi
movq 0x20(%rsp), %rsi
cmpq %rdi, %rax
jbe 0x58a1
movl $0xf, %edi
cmpq %r15, %rsi
je 0x589c
movq 0x30(%rsp), %rdi
cmpq %rdi, %rax
jbe 0x58ab
movq %rsp, %rdi
callq 0x2090
jmp 0x58b9
leaq 0x20(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x21d0
leaq 0x10(%rbx), %rdx
movq %rdx, (%rbx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
je 0x58d8
movq %rsi, (%rbx)
movq (%rcx), %rdx
movq %rdx, 0x10(%rbx)
jmp 0x58de
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x8(%rbx)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x5911
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x21a0
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x5927
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x21a0
leaq 0x50(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5942
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x21a0
movq 0x60(%rsp), %rdi
cmpq %r14, %rdi
je 0x5959
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x21a0
movq 0x5640(%rip), %rsi      # 0xafa0
leaq 0xa0(%rsp), %rdi
callq 0x2140
leaq 0x120(%rsp), %rdi
callq 0x20a0
leaq 0x90(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x599b
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x21a0
addq $0x228, %rsp            # imm = 0x228
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movl $0x1, %edi
callq 0x20e0
leaq 0x53c5(%rip), %rsi      # 0xad80
movq %rax, %rdi
xorl %edx, %edx
callq 0x2280
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x59e4
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x21a0
jmp 0x59e4
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5a04
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x21a0
jmp 0x5a04
movq %rax, %rbx
leaq 0x50(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5a24
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x21a0
jmp 0x5a24
movq %rax, %rbx
leaq 0x70(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5a46
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x21a0
jmp 0x5a46
jmp 0x5a43
movq %rax, %rbx
movq 0x5553(%rip), %rsi      # 0xafa0
leaq 0xa0(%rsp), %rdi
callq 0x2140
leaq 0x120(%rsp), %rdi
callq 0x20a0
leaq 0x90(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5a88
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x21a0
movq %rbx, %rdi
callq 0x22a0
movq %rax, %rbx
jmp 0x5a67