// File: /workspace/github_cpp_makefile_star2_O3/Falldog[P]dcinja/src/include/nlohmann/json.hpp
// Function: nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>>::merge_patch(nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, long, unsigned long, double, std::allocator, nlohmann::adl_serializer, std::vector<unsigned char, std::allocator<unsigned char>>> const&)
void merge_patch(const basic_json& apply_patch)
    {
        if (apply_patch.is_object())
        {
            if (!is_object())
            {
                *this = object();
            }
            for (auto it = apply_patch.begin(); it != apply_patch.end(); ++it)
            {
                if (it.value().is_null())
                {
                    erase(it.key());
                }
                else
                {
                    operator[](it.key()).merge_patch(it.value());
                }
            }
        }
        else
        {
            *this = apply_patch;
        }
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rsi, %r14
movq %rdi, %rbx
cmpb $0x1, (%rsi)
jne 0xed4f
cmpb $0x1, (%rbx)
je 0xec6c
leaq 0x38(%rsp), %r15
movq %r15, %rdi
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
movl $0x1, %r8d
callq 0x4ceda
movq %r15, %rdi
callq 0x24080
movb (%rbx), %al
movb (%r15), %cl
movb %cl, (%rbx)
movb %al, (%r15)
leaq 0x40(%rsp), %r12
movq 0x8(%rbx), %rax
movq (%r12), %rcx
movq %rcx, 0x8(%rbx)
movq %rax, (%r12)
movq %rbx, %rdi
callq 0x24080
movq %r15, %rdi
callq 0x24080
movzbl -0x8(%r12), %esi
movq %r12, %rdi
callq 0x3bf6e
movabsq $-0x8000000000000000, %r13 # imm = 0x8000000000000000
leaq 0x48(%rsp), %r15
movq %r14, (%r15)
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%r15)
movq %r13, 0x18(%r15)
movq %r15, %rdi
callq 0x37874
leaq 0x8(%rsp), %r12
movq %r14, (%r12)
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%r12)
movq %r13, 0x18(%r12)
movq %r12, %rdi
callq 0x378d8
movq %r15, %rdi
movq %r12, %rsi
callq 0x37930
testb %al, %al
jne 0xeda1
leaq 0x10(%rsp), %rbp
leaq 0x48(%rsp), %r15
leaq 0x8(%rsp), %r12
movq %r15, %rdi
callq 0x370c8
movb (%rax), %r13b
movq %r15, %rdi
callq 0x4ce02
movq %rbx, %rdi
movq %rax, %rsi
testb %r13b, %r13b
je 0xed0e
callq 0xf01c
movq %rax, %r13
movq %r15, %rdi
callq 0x370c8
movq %r13, %rdi
movq %rax, %rsi
callq 0xebec
jmp 0xed13
callq 0x4ccda
movq %r15, %rdi
callq 0x3781c
movq %r14, 0x8(%rsp)
xorps %xmm0, %xmm0
movups %xmm0, (%rbp)
movabsq $-0x8000000000000000, %rax # imm = 0x8000000000000000
movq %rax, 0x20(%rsp)
movq %r12, %rdi
callq 0x378d8
movq %r15, %rdi
movq %r12, %rsi
callq 0x37930
testb %al, %al
je 0xecd3
jmp 0xeda1
leaq 0x28(%rsp), %r15
movq %r15, %rdi
movq %r14, %rsi
callq 0x26f9c
movq %r15, %rdi
callq 0x24080
movb (%rbx), %al
movb (%r15), %cl
movb %cl, (%rbx)
movb %al, (%r15)
leaq 0x30(%rsp), %r14
movq 0x8(%rbx), %rax
movq (%r14), %rcx
movq %rcx, 0x8(%rbx)
movq %rax, (%r14)
movq %rbx, %rdi
callq 0x24080
movq %r15, %rdi
callq 0x24080
movzbl -0x8(%r14), %esi
movq %r14, %rdi
callq 0x3bf6e
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq