// File: /workspace/github_cpp_makefile_star2_O1/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 0x2c98(%rip), %rsi      # 0x8311
movl $0x2, %ecx
movq %r14, %rdi
xorl %edx, %edx
callq 0x2290
cmpq $-0x1, %rax
je 0x5916
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, %esi
cmpq %r14, %rcx
je 0x5719
movq 0x70(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x5738
leaq 0x50(%rsp), %rdi
movl $0xf, %esi
cmpq %rdi, -0x10(%rdi)
je 0x5733
movq 0x50(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x5749
movq 0x40(%rsp), %rsi
leaq 0x60(%rsp), %rdi
callq 0x2090
jmp 0x5757
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 0x577a
movq %rsi, (%rsp)
movq (%rcx), %rdx
movq %rdx, 0x10(%rsp)
jmp 0x5780
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)
leaq 0x30(%rsp), %r15
movq %r15, -0x10(%r15)
movq 0x80(%rsp), %rsi
movq 0x88(%rsp), %rdx
addq %rsi, %rdx
leaq 0x20(%rsp), %rdi
callq 0x694e
leaq 0x10(%rsp), %r12
movq -0x10(%r12), %rcx
movq -0x8(%r12), %r8
movq 0x28(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
cmpq %r12, %rcx
je 0x57ea
movq 0x10(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x5805
movl $0xf, %esi
cmpq %r15, 0x20(%rsp)
je 0x5800
movq 0x30(%rsp), %rsi
cmpq %rsi, %rax
jbe 0x5814
movq 0x20(%rsp), %rsi
movq %rsp, %rdi
callq 0x2090
jmp 0x5822
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 0x5841
movq %rsi, (%rbx)
movq (%rcx), %rdx
movq %rdx, 0x10(%rbx)
jmp 0x5847
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 0x587a
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x21a0
movq (%rsp), %rdi
cmpq %r12, %rdi
je 0x5890
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x21a0
leaq 0x50(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x58ab
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x21a0
movq 0x60(%rsp), %rdi
cmpq %r14, %rdi
je 0x58c2
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x21a0
movq 0x56d7(%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 0x5904
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x21a0
movq %rbx, %rax
addq $0x228, %rsp            # imm = 0x228
popq %rbx
popq %r12
popq %r14
popq %r15
retq
movl $0x1, %edi
callq 0x20e0
leaq 0x5459(%rip), %rsi      # 0xad80
movq %rax, %rdi
xorl %edx, %edx
callq 0x2280
movq %rax, %rbx
movq 0x20(%rsp), %rdi
cmpq %r15, %rdi
je 0x5950
movq 0x30(%rsp), %rsi
incq %rsi
callq 0x21a0
jmp 0x5950
movq %rax, %rbx
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5970
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x21a0
jmp 0x5970
movq %rax, %rbx
leaq 0x50(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x5990
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x21a0
jmp 0x5990
movq %rax, %rbx
leaq 0x70(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x59b2
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x21a0
jmp 0x59b2
jmp 0x59af
movq %rax, %rbx
movq 0x55e7(%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 0x59f4
movq 0x90(%rsp), %rsi
incq %rsi
callq 0x21a0
movq %rbx, %rdi
callq 0x22a0
movq %rax, %rbx
jmp 0x59d3