; assembly | /* r2dec pseudo code output */ | /* bdlmt_multiprioritythreadpool.t/assume @ 0x40ca90 */ | #include | ; (fcn) method.int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_MULTIPRIORITYTHREADPOOL_CASE_10.ProducerThread__unsigned_long__MULTIPRIORITYTHREADPOOL_CASE_10::ProducerThread_const__BloombergLP::bslma::Allocator_ () | int64_t method_int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_MULTIPRIORITYTHREADPOOL_CASE_10_ProducerThread_unsigned_long_MULTIPRIORITYTHREADPOOL_CASE_10::ProducerThread_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*, MULTIPRIORITYTHREADPOOL_CASE_10::ProducerThread const&, BloombergLP::bslma::Allocator*) */ 0x0040ca90 push rbp | 0x0040ca91 push r15 | 0x0040ca93 push r14 | 0x0040ca95 push rbx | 0x0040ca96 sub rsp, 0x48 | 0x0040ca9a mov r14, rdx | r14 = rdx; 0x0040ca9d mov rbp, rsi | 0x0040caa0 mov r15, rdi | r15 = rdi; 0x0040caa3 mov rax, qword [rdx] | rax = *(rdx); 0x0040caa6 mov esi, 0x40 | esi = 0x40; 0x0040caab mov rdi, rdx | rdi = rdx; 0x0040caae call qword [rax + 0x10] | rax = uint64_t (*rax + 0x10)(void, void, void) (rbx, r14, r15); 0x0040cab1 mov rbx, rax | rbx = rax; 0x0040cab4 mov qword [rax], 0x40cc00 | *(rax) = method.BloombergLP::bslmt::EntryPointFunctorAdapter_MULTIPRIORITYTHREADPOOL_CASE_10::ProducerThread_.invokerFunction_void_; 0x0040cabb mov eax, dword [rbp] | eax = *(rbp); 0x0040cabe mov dword [rbx + 8], eax | *((rbx + 8)) = eax; 0x0040cac1 lea rdi, [rbx + 0x10] | 0x0040cac5 mov qword [rbx + 0x10], 0 | *((rbx + 0x10)) = 0; 0x0040cacd mov qword [rbx + 0x38], r14 | *((rbx + 0x38)) = r14; 0x0040cad1 movaps xmm0, xmmword [rip + 0x2b658] | xmm0 = .comment; 0x0040cad8 movups xmmword [rbx + 0x28], xmm0 | __asm ("movups xmmword [rbx + 0x28], xmm0"); 0x0040cadc mov ecx, 0x438ebf | 0x0040cae1 xor esi, esi | 0x0040cae3 xor edx, edx | 0x0040cae5 call 0x414130 | bsl::basic_string,bsl::allocator>::privateAppend(char const*,unsigned long,char const*) (rbx + 0x10, 0, 0, "string<...>::assign(i,j): string too long"); 0x0040caea mov rdi, rsp | 0x0040caed call 0x411450 | BloombergLP::bslmt::ThreadAttributes::ThreadAttributes() (rsp); 0x0040caf2 mov rsi, rsp | 0x0040caf5 mov edx, 0x410c50 | 0x0040cafa mov rdi, r15 | 0x0040cafd mov rcx, rbx | 0x0040cb00 call 0x411940 | eax = BloombergLP::bslmt::ThreadUtilImpl::create(unsigned long*,BloombergLP::bslmt::ThreadAttributesconst&,void*(*)(void*),void*) (r15, rsp, sym.bslmt_EntryPointFunctorAdapter_invoker, rbx); 0x0040cb05 mov ebp, eax | 0x0040cb07 cmp qword [rsp + 0x38], 0x17 | | if (*((rsp + 0x38)) != 0x17) { 0x0040cb0d je 0x40cb1f | 0x0040cb0f mov rsi, qword [rsp + 0x18] | rsi = *((rsp + 0x18)); 0x0040cb14 mov rdi, qword [rsp + 0x40] | rdi = *((rsp + 0x40)); 0x0040cb19 mov rax, qword [rdi] | rax = *(rdi); 0x0040cb1c call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x0040cb1f test ebp, ebp | | if (ebp != 0) { 0x0040cb21 je 0x40cb4c | 0x0040cb23 cmp qword [rbx + 0x30], 0x17 | | if (*((rbx + 0x30)) != 0x17) { 0x0040cb28 je 0x40cb38 | 0x0040cb2a mov rsi, qword [rbx + 0x10] | rsi = *((rbx + 0x10)); 0x0040cb2e mov rdi, qword [rbx + 0x38] | rdi = *((rbx + 0x38)); 0x0040cb32 mov rax, qword [rdi] | rax = *(rdi); 0x0040cb35 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x0040cb38 mov qword [rbx + 0x28], 0xffffffffffffffff | *((rbx + 0x28)) = 0xffffffffffffffff; 0x0040cb40 mov rax, qword [r14] | rax = *(r14); 0x0040cb43 mov rdi, r14 | rdi = r14; 0x0040cb46 mov rsi, rbx | rsi = rbx; 0x0040cb49 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x0040cb4c mov eax, ebp | eax = ebp; 0x0040cb4e add rsp, 0x48 | 0x0040cb52 pop rbx | 0x0040cb53 pop r14 | 0x0040cb55 pop r15 | 0x0040cb57 pop rbp | 0x0040cb58 ret | return rax; | }