; assembly | /* r2dec pseudo code output */ | /* bslmt_rwmutex.t/assume @ 0x409bf0 */ | #include | ; (fcn) method.int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_ContentionWriter_BloombergLP::bslmt.ReaderWriterLock____unsigned_long__BloombergLP::bslmt::ThreadAttributes_const__ContentionWriter_BloombergLP::bslmt::ReaderWriterLock__const__BloombergLP () | int64_t method_int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_ContentionWriter_BloombergLP::bslmt_ReaderWriterLock_unsigned_long_BloombergLP::bslmt::ThreadAttributes_const_ContentionWriter_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&, ContentionWriter const&, BloombergLP::bslma::Allocator*) */ 0x00409bf0 push rbp | 0x00409bf1 push r15 | 0x00409bf3 push r14 | 0x00409bf5 push r13 | 0x00409bf7 push r12 | 0x00409bf9 push rbx | 0x00409bfa push rax | 0x00409bfb mov r14, rcx | r14 = rcx; 0x00409bfe mov r12, rdx | r12 = rdx; 0x00409c01 mov r15, rsi | r15 = rsi; 0x00409c04 mov qword [rsp], rdi | *(rsp) = rdi; 0x00409c08 mov r13, qword [rsi + 0x30] | r13 = *((rsi + 0x30)); 0x00409c0c cmp qword [rsi + 0x38], 0x17 | | if (*((rsi + 0x38)) != 0x17) { 0x00409c11 je 0x409c19 | 0x00409c13 mov rbp, qword [r15 + 0x18] | rbp = *((r15 + 0x18)); 0x00409c17 jmp 0x409c1d | | } else { 0x00409c19 lea rbp, [r15 + 0x18] | rbp = r15 + 0x18; | } 0x00409c1d mov rax, qword [r14] | rax = *(r14); 0x00409c20 mov esi, 0x58 | esi = 0x58; 0x00409c25 mov rdi, r14 | rdi = r14; 0x00409c28 call qword [rax + 0x10] | rax = uint64_t (*rax + 0x10)() (); 0x00409c2b mov rbx, rax | rbx = rax; 0x00409c2e mov qword [rax], 0x409d40 | *(rax) = method.BloombergLP::bslmt::EntryPointFunctorAdapter_ContentionWriter_BloombergLP::bslmt::ReaderWriterLock___.invokerFunction_void_; 0x00409c35 movups xmm0, xmmword [r12] | __asm ("movups xmm0, xmmword [r12]"); 0x00409c3a movups xmm1, xmmword [r12 + 0x10] | __asm ("movups xmm1, xmmword [r12 + 0x10]"); 0x00409c40 movups xmmword [rax + 8], xmm0 | __asm ("movups xmmword [rax + 8], xmm0"); 0x00409c44 movups xmmword [rax + 0x18], xmm1 | __asm ("movups xmmword [rax + 0x18], xmm1"); 0x00409c48 lea rdi, [rax + 0x28] | 0x00409c4c mov qword [rax + 0x28], 0 | *((rax + 0x28)) = 0; 0x00409c54 mov qword [rax + 0x50], r14 | *((rax + 0x50)) = r14; 0x00409c58 movaps xmm0, xmmword [rip + 0x28f51] | xmm0 = .comment; 0x00409c5f movups xmmword [rax + 0x40], xmm0 | __asm ("movups xmmword [rax + 0x40], xmm0"); 0x00409c63 mov ecx, 0x4330c9 | 0x00409c68 mov rsi, rbp | 0x00409c6b mov rdx, r13 | 0x00409c6e 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"); 0x00409c73 mov edx, 0x40c1e0 | 0x00409c78 mov rdi, qword [rsp] | 0x00409c7c mov rsi, r15 | 0x00409c7f mov rcx, rbx | 0x00409c82 call 0x40d1b0 | eax = BloombergLP::bslmt::ThreadUtilImpl::create(unsigned long*,BloombergLP::bslmt::ThreadAttributesconst&,void*(*)(void*),void*) (*(rsp), r15, sym.bslmt_EntryPointFunctorAdapter_invoker, rbx); 0x00409c87 mov ebp, eax | 0x00409c89 test eax, eax | | if (eax != 0) { 0x00409c8b je 0x409cb6 | 0x00409c8d cmp qword [rbx + 0x48], 0x17 | | if (*((rbx + 0x48)) != 0x17) { 0x00409c92 je 0x409ca2 | 0x00409c94 mov rsi, qword [rbx + 0x28] | rsi = *((rbx + 0x28)); 0x00409c98 mov rdi, qword [rbx + 0x50] | rdi = *((rbx + 0x50)); 0x00409c9c mov rax, qword [rdi] | rax = *(rdi); 0x00409c9f call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x00409ca2 mov qword [rbx + 0x40], 0xffffffffffffffff | *((rbx + 0x40)) = 0xffffffffffffffff; 0x00409caa mov rax, qword [r14] | rax = *(r14); 0x00409cad mov rdi, r14 | rdi = r14; 0x00409cb0 mov rsi, rbx | rsi = rbx; 0x00409cb3 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x00409cb6 mov eax, ebp | eax = ebp; 0x00409cb8 add rsp, 8 | 0x00409cbc pop rbx | 0x00409cbd pop r12 | 0x00409cbf pop r13 | 0x00409cc1 pop r14 | 0x00409cc3 pop r15 | 0x00409cc5 pop rbp | 0x00409cc6 ret | return rax; | }