; assembly | /* r2dec pseudo code output */ | /* bdlcc_deque.t/assume @ 0x494770 */ | #include | ; (fcn) method.int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_USAGE_EXAMPLE_1.ProducerFunctor__unsigned_long__USAGE_EXAMPLE_1::ProducerFunctor_const__BloombergLP::bslma::Allocator_ () | int64_t method_int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_USAGE_EXAMPLE_1_ProducerFunctor_unsigned_long_USAGE_EXAMPLE_1::ProducerFunctor_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*, USAGE_EXAMPLE_1::ProducerFunctor const&, BloombergLP::bslma::Allocator*) */ 0x00494770 push rbp | 0x00494771 push r15 | 0x00494773 push r14 | 0x00494775 push rbx | 0x00494776 sub rsp, 0x48 | 0x0049477a mov r14, rdx | r14 = rdx; 0x0049477d mov rbp, rsi | 0x00494780 mov r15, rdi | r15 = rdi; 0x00494783 mov rax, qword [rdx] | rax = *(rdx); 0x00494786 mov esi, 0x40 | esi = 0x40; 0x0049478b mov rdi, rdx | rdi = rdx; 0x0049478e call qword [rax + 0x10] | rax = uint64_t (*rax + 0x10)(void, void, void) (rbx, r14, r15); 0x00494791 mov rbx, rax | rbx = rax; 0x00494794 mov qword [rax], 0x4948e0 | *(rax) = method.BloombergLP::bslmt::EntryPointFunctorAdapter_USAGE_EXAMPLE_1::ProducerFunctor_.invokerFunction_void_; 0x0049479b mov rax, qword [rbp] | rax = *(rbp); 0x0049479f mov qword [rbx + 8], rax | *((rbx + 8)) = rax; 0x004947a3 lea rdi, [rbx + 0x10] | 0x004947a7 mov qword [rbx + 0x10], 0 | *((rbx + 0x10)) = 0; 0x004947af mov qword [rbx + 0x38], r14 | *((rbx + 0x38)) = r14; 0x004947b3 movaps xmm0, xmmword [rip + 0x51ad6] | xmm0 = .comment; 0x004947ba movups xmmword [rbx + 0x28], xmm0 | __asm ("movups xmmword [rbx + 0x28], xmm0"); 0x004947be mov ecx, 0x4e90b0 | 0x004947c3 xor esi, esi | 0x004947c5 xor edx, edx | 0x004947c7 call 0x4c2e20 | bsl::basic_string,bsl::allocator>::privateAppend(char const*,unsigned long,char const*) (rbx + 0x10, 0, 0, "string<...>::assign(i,j): string too long"); 0x004947cc mov rdi, rsp | 0x004947cf call 0x4be750 | BloombergLP::bslmt::ThreadAttributes::ThreadAttributes() (rsp); 0x004947d4 mov rsi, rsp | 0x004947d7 mov edx, 0x4be2b0 | 0x004947dc mov rdi, r15 | 0x004947df mov rcx, rbx | 0x004947e2 call 0x4bec40 | eax = BloombergLP::bslmt::ThreadUtilImpl::create(unsigned long*,BloombergLP::bslmt::ThreadAttributesconst&,void*(*)(void*),void*) (r15, rsp, sym.bslmt_EntryPointFunctorAdapter_invoker, rbx); 0x004947e7 mov ebp, eax | 0x004947e9 cmp qword [rsp + 0x38], 0x17 | | if (*((rsp + 0x38)) != 0x17) { 0x004947ef je 0x494801 | 0x004947f1 mov rsi, qword [rsp + 0x18] | rsi = *((rsp + 0x18)); 0x004947f6 mov rdi, qword [rsp + 0x40] | rdi = *((rsp + 0x40)); 0x004947fb mov rax, qword [rdi] | rax = *(rdi); 0x004947fe call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x00494801 test ebp, ebp | | if (ebp != 0) { 0x00494803 je 0x49482e | 0x00494805 cmp qword [rbx + 0x30], 0x17 | | if (*((rbx + 0x30)) != 0x17) { 0x0049480a je 0x49481a | 0x0049480c mov rsi, qword [rbx + 0x10] | rsi = *((rbx + 0x10)); 0x00494810 mov rdi, qword [rbx + 0x38] | rdi = *((rbx + 0x38)); 0x00494814 mov rax, qword [rdi] | rax = *(rdi); 0x00494817 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x0049481a mov qword [rbx + 0x28], 0xffffffffffffffff | *((rbx + 0x28)) = 0xffffffffffffffff; 0x00494822 mov rax, qword [r14] | rax = *(r14); 0x00494825 mov rdi, r14 | rdi = r14; 0x00494828 mov rsi, rbx | rsi = rbx; 0x0049482b call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x0049482e mov eax, ebp | eax = ebp; 0x00494830 add rsp, 0x48 | 0x00494834 pop rbx | 0x00494835 pop r14 | 0x00494837 pop r15 | 0x00494839 pop rbp | 0x0049483a ret | return rax; | }