; assembly | /* r2dec pseudo code output */ | /* bslmt_rwmutex.t/assume @ 0x408790 */ | #include | ; (fcn) method.int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_PingPongReader_BloombergLP::bslmt.RWMutex____unsigned_long__PingPongReader_BloombergLP::bslmt::RWMutex__const__BloombergLP::bslma::Allocator_ () | int64_t method_int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_PingPongReader_BloombergLP::bslmt_RWMutex_unsigned_long_PingPongReader_BloombergLP::bslmt::RWMutex_const_BloombergLP::bslma::Allocator_ (int64_t arg3, int64_t arg2, int64_t arg1) { | int64_t var_18h; | uint32_t var_38h; | int64_t var_40h; | rdx = arg3; | rsi = arg2; | rdi = arg1; | /* int BloombergLP::bslmt::ThreadUtil::createWithAllocator >(unsigned long*, PingPongReader const&, BloombergLP::bslma::Allocator*) */ 0x00408790 push rbp | 0x00408791 push r15 | 0x00408793 push r14 | 0x00408795 push rbx | 0x00408796 sub rsp, 0x48 | 0x0040879a mov r14, rdx | r14 = rdx; 0x0040879d mov rbp, rsi | 0x004087a0 mov r15, rdi | r15 = rdi; 0x004087a3 mov rax, qword [rdx] | rax = *(rdx); 0x004087a6 mov esi, 0x60 | esi = 0x60; 0x004087ab mov rdi, rdx | rdi = rdx; 0x004087ae call qword [rax + 0x10] | rax = uint64_t (*rax + 0x10)(void, void, void) (rbx, r14, r15); 0x004087b1 mov rbx, rax | rbx = rax; 0x004087b4 mov qword [rax], 0x408910 | *(rax) = method.BloombergLP::bslmt::EntryPointFunctorAdapter_PingPongReader_BloombergLP::bslmt::RWMutex___.invokerFunction_void_; 0x004087bb movups xmm0, xmmword [rbp] | __asm ("movups xmm0, xmmword [rbp]"); 0x004087bf movups xmm1, xmmword [rbp + 0x10] | __asm ("movups xmm1, xmmword [rbp + 0x10]"); 0x004087c3 movups xmmword [rax + 8], xmm0 | __asm ("movups xmmword [rax + 8], xmm0"); 0x004087c7 movups xmmword [rax + 0x18], xmm1 | __asm ("movups xmmword [rax + 0x18], xmm1"); 0x004087cb mov rax, qword [rbp + 0x20] | rax = *((rbp + 0x20)); 0x004087cf mov qword [rbx + 0x28], rax | *((rbx + 0x28)) = rax; 0x004087d3 lea rdi, [rbx + 0x30] | 0x004087d7 mov qword [rbx + 0x30], 0 | *((rbx + 0x30)) = 0; 0x004087df mov qword [rbx + 0x58], r14 | *((rbx + 0x58)) = r14; 0x004087e3 movaps xmm0, xmmword [rip + 0x2a3c6] | xmm0 = .comment; 0x004087ea movups xmmword [rbx + 0x48], xmm0 | __asm ("movups xmmword [rbx + 0x48], xmm0"); 0x004087ee mov ecx, 0x4330c9 | 0x004087f3 xor esi, esi | 0x004087f5 xor edx, edx | 0x004087f7 call 0x40f220 | bsl::basic_string,bsl::allocator>::privateAppend(char const*,unsigned long,char const*) (rbx + 0x30, 0, 0, "string<...>::assign(i,j): string too long"); 0x004087fc mov rdi, rsp | 0x004087ff call 0x40ccc0 | BloombergLP::bslmt::ThreadAttributes::ThreadAttributes() (rsp); 0x00408804 mov rsi, rsp | 0x00408807 mov edx, 0x40c1e0 | 0x0040880c mov rdi, r15 | 0x0040880f mov rcx, rbx | 0x00408812 call 0x40d1b0 | eax = BloombergLP::bslmt::ThreadUtilImpl::create(unsigned long*,BloombergLP::bslmt::ThreadAttributesconst&,void*(*)(void*),void*) (r15, rsp, sym.bslmt_EntryPointFunctorAdapter_invoker, rbx); 0x00408817 mov ebp, eax | 0x00408819 cmp qword [rsp + 0x38], 0x17 | | if (*((rsp + 0x38)) != 0x17) { 0x0040881f je 0x408831 | 0x00408821 mov rsi, qword [rsp + 0x18] | rsi = *((rsp + 0x18)); 0x00408826 mov rdi, qword [rsp + 0x40] | rdi = *((rsp + 0x40)); 0x0040882b mov rax, qword [rdi] | rax = *(rdi); 0x0040882e call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x00408831 test ebp, ebp | | if (ebp != 0) { 0x00408833 je 0x40885e | 0x00408835 cmp qword [rbx + 0x50], 0x17 | | if (*((rbx + 0x50)) != 0x17) { 0x0040883a je 0x40884a | 0x0040883c mov rsi, qword [rbx + 0x30] | rsi = *((rbx + 0x30)); 0x00408840 mov rdi, qword [rbx + 0x58] | rdi = *((rbx + 0x58)); 0x00408844 mov rax, qword [rdi] | rax = *(rdi); 0x00408847 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x0040884a mov qword [rbx + 0x48], 0xffffffffffffffff | *((rbx + 0x48)) = 0xffffffffffffffff; 0x00408852 mov rax, qword [r14] | rax = *(r14); 0x00408855 mov rdi, r14 | rdi = r14; 0x00408858 mov rsi, rbx | rsi = rbx; 0x0040885b call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x0040885e mov eax, ebp | eax = ebp; 0x00408860 add rsp, 0x48 | 0x00408864 pop rbx | 0x00408865 pop r14 | 0x00408867 pop r15 | 0x00408869 pop rbp | 0x0040886a ret | return rax; | }