; assembly | /* r2dec pseudo code output */ | /* bslmt_rwmutex.t/assume @ 0x409ff0 */ | #include | ; (fcn) method.int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_ContentionReader_BloombergLP::bslmt.ReaderWriterLock____unsigned_long__BloombergLP::bslmt::ThreadAttributes_const__ContentionReader_BloombergLP::bslmt::ReaderWriterLock__const__BloombergLP () | int64_t method_int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_ContentionReader_BloombergLP::bslmt_ReaderWriterLock_unsigned_long_BloombergLP::bslmt::ThreadAttributes_const_ContentionReader_BloombergLP::bslmt::ReaderWriterLock_const_BloombergLP (int64_t arg4, int64_t arg3, uint32_t arg2, int64_t arg1) { | rcx = arg4; | rdx = arg3; | rsi = arg2; | rdi = arg1; | /* int BloombergLP::bslmt::ThreadUtil::createWithAllocator >(unsigned long*, BloombergLP::bslmt::ThreadAttributes const&, ContentionReader const&, BloombergLP::bslma::Allocator*) */ 0x00409ff0 push rbp | 0x00409ff1 push r15 | 0x00409ff3 push r14 | 0x00409ff5 push r13 | 0x00409ff7 push r12 | 0x00409ff9 push rbx | 0x00409ffa push rax | 0x00409ffb mov r14, rcx | r14 = rcx; 0x00409ffe mov r12, rdx | r12 = rdx; 0x0040a001 mov r15, rsi | r15 = rsi; 0x0040a004 mov qword [rsp], rdi | *(rsp) = rdi; 0x0040a008 mov r13, qword [rsi + 0x30] | r13 = *((rsi + 0x30)); 0x0040a00c cmp qword [rsi + 0x38], 0x17 | | if (*((rsi + 0x38)) != 0x17) { 0x0040a011 je 0x40a019 | 0x0040a013 mov rbp, qword [r15 + 0x18] | rbp = *((r15 + 0x18)); 0x0040a017 jmp 0x40a01d | | } else { 0x0040a019 lea rbp, [r15 + 0x18] | rbp = r15 + 0x18; | } 0x0040a01d mov rax, qword [r14] | rax = *(r14); 0x0040a020 mov esi, 0x58 | esi = 0x58; 0x0040a025 mov rdi, r14 | rdi = r14; 0x0040a028 call qword [rax + 0x10] | rax = uint64_t (*rax + 0x10)() (); 0x0040a02b mov rbx, rax | rbx = rax; 0x0040a02e mov qword [rax], 0x40a140 | *(rax) = method.BloombergLP::bslmt::EntryPointFunctorAdapter_ContentionReader_BloombergLP::bslmt::ReaderWriterLock___.invokerFunction_void_; 0x0040a035 movups xmm0, xmmword [r12] | __asm ("movups xmm0, xmmword [r12]"); 0x0040a03a movups xmm1, xmmword [r12 + 0x10] | __asm ("movups xmm1, xmmword [r12 + 0x10]"); 0x0040a040 movups xmmword [rax + 8], xmm0 | __asm ("movups xmmword [rax + 8], xmm0"); 0x0040a044 movups xmmword [rax + 0x18], xmm1 | __asm ("movups xmmword [rax + 0x18], xmm1"); 0x0040a048 lea rdi, [rax + 0x28] | 0x0040a04c mov qword [rax + 0x28], 0 | *((rax + 0x28)) = 0; 0x0040a054 mov qword [rax + 0x50], r14 | *((rax + 0x50)) = r14; 0x0040a058 movaps xmm0, xmmword [rip + 0x28b51] | xmm0 = .comment; 0x0040a05f movups xmmword [rax + 0x40], xmm0 | __asm ("movups xmmword [rax + 0x40], xmm0"); 0x0040a063 mov ecx, 0x4330c9 | 0x0040a068 mov rsi, rbp | 0x0040a06b mov rdx, r13 | 0x0040a06e call 0x40f220 | bsl::basic_string,bsl::allocator>::privateAppend(char const*,unsigned long,char const*) (rax + 0x28, rbp, r13, "string<...>::assign(i,j): string too long"); 0x0040a073 mov edx, 0x40c1e0 | 0x0040a078 mov rdi, qword [rsp] | 0x0040a07c mov rsi, r15 | 0x0040a07f mov rcx, rbx | 0x0040a082 call 0x40d1b0 | eax = BloombergLP::bslmt::ThreadUtilImpl::create(unsigned long*,BloombergLP::bslmt::ThreadAttributesconst&,void*(*)(void*),void*) (*(rsp), r15, sym.bslmt_EntryPointFunctorAdapter_invoker, rbx); 0x0040a087 mov ebp, eax | 0x0040a089 test eax, eax | | if (eax != 0) { 0x0040a08b je 0x40a0b6 | 0x0040a08d cmp qword [rbx + 0x48], 0x17 | | if (*((rbx + 0x48)) != 0x17) { 0x0040a092 je 0x40a0a2 | 0x0040a094 mov rsi, qword [rbx + 0x28] | rsi = *((rbx + 0x28)); 0x0040a098 mov rdi, qword [rbx + 0x50] | rdi = *((rbx + 0x50)); 0x0040a09c mov rax, qword [rdi] | rax = *(rdi); 0x0040a09f call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x0040a0a2 mov qword [rbx + 0x40], 0xffffffffffffffff | *((rbx + 0x40)) = 0xffffffffffffffff; 0x0040a0aa mov rax, qword [r14] | rax = *(r14); 0x0040a0ad mov rdi, r14 | rdi = r14; 0x0040a0b0 mov rsi, rbx | rsi = rbx; 0x0040a0b3 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x0040a0b6 mov eax, ebp | eax = ebp; 0x0040a0b8 add rsp, 8 | 0x0040a0bc pop rbx | 0x0040a0bd pop r12 | 0x0040a0bf pop r13 | 0x0040a0c1 pop r14 | 0x0040a0c3 pop r15 | 0x0040a0c5 pop rbp | 0x0040a0c6 ret | return rax; | }