; assembly | /* r2dec pseudo code output */ | /* bdlcc_singleproducersingleconsumerboundedqueue.t/assume @ 0x412660 */ | #include | ; (fcn) method.int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_BloombergLP::bdlf::Bind_BloombergLP::bslmf.Nil__void____BloombergLP::bdlcc::SingleProducerSingleConsumerBoundedQueue_my_WorkRequest____BloombergLP::bdlf::Bind_BoundTuple1_BloombergLP::bdlcc () | int64_t method_int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_BloombergLP::bdlf::Bind_BloombergLP::bslmf_Nil_void_BloombergLP::bdlcc::SingleProducerSingleConsumerBoundedQueue_my_WorkRequest_BloombergLP::bdlf::Bind_BoundTuple1_BloombergLP::bdlcc (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*), BloombergLP::bdlf::Bind_BoundTuple1*> > >(unsigned long*, BloombergLP::bslmt::ThreadAttributes const&, BloombergLP::bdlf::Bind*), BloombergLP::bdlf::Bind_BoundTuple1*> > const&, BloombergLP::bslma::Allocator*) */ 0x00412660 push rbp | 0x00412661 push r15 | 0x00412663 push r14 | 0x00412665 push r13 | 0x00412667 push r12 | 0x00412669 push rbx | 0x0041266a push rax | 0x0041266b mov r14, rcx | r14 = rcx; 0x0041266e mov r12, rdx | r12 = rdx; 0x00412671 mov r15, rsi | r15 = rsi; 0x00412674 mov qword [rsp], rdi | *(rsp) = rdi; 0x00412678 mov r13, qword [rsi + 0x30] | r13 = *((rsi + 0x30)); 0x0041267c cmp qword [rsi + 0x38], 0x17 | | if (*((rsi + 0x38)) != 0x17) { 0x00412681 je 0x412689 | 0x00412683 mov rbp, qword [r15 + 0x18] | rbp = *((r15 + 0x18)); 0x00412687 jmp 0x41268d | | } else { 0x00412689 lea rbp, [r15 + 0x18] | rbp = r15 + 0x18; | } 0x0041268d mov rax, qword [r14] | rax = *(r14); 0x00412690 mov esi, 0x48 | esi = 0x48; 0x00412695 mov rdi, r14 | rdi = r14; 0x00412698 call qword [rax + 0x10] | rax = uint64_t (*rax + 0x10)() (); 0x0041269b mov rbx, rax | rbx = rax; 0x0041269e mov qword [rax], 0x4127b0 | *(rax) = method.BloombergLP::bslmt::EntryPointFunctorAdapter_BloombergLP::bdlf::Bind_BloombergLP::bslmf.Nil__void____BloombergLP::bdlcc::SingleProducerSingleConsumerBoundedQueue_my_WorkRequest____BloombergLP::bdlf::Bind_BoundTuple1_BloombergLP::bdlcc::SinglePro; 0x004126a5 mov rax, qword [r12] | rax = *(r12); 0x004126a9 mov qword [rbx + 8], rax | *((rbx + 8)) = rax; 0x004126ad mov rax, qword [r12 + 8] | rax = *((r12 + 8)); 0x004126b2 mov qword [rbx + 0x10], rax | *((rbx + 0x10)) = rax; 0x004126b6 lea rdi, [rbx + 0x18] | 0x004126ba mov qword [rbx + 0x18], 0 | *((rbx + 0x18)) = 0; 0x004126c2 mov qword [rbx + 0x40], r14 | *((rbx + 0x40)) = r14; 0x004126c6 movaps xmm0, xmmword [rip + 0x2a8f3] | xmm0 = .comment; 0x004126cd movups xmmword [rbx + 0x30], xmm0 | __asm ("movups xmmword [rbx + 0x30], xmm0"); 0x004126d1 mov ecx, 0x43e1e2 | 0x004126d6 mov rsi, rbp | 0x004126d9 mov rdx, r13 | 0x004126dc call 0x419030 | bsl::basic_string,bsl::allocator>::privateAppend(char const*,unsigned long,char const*) (rbx + 0x18, rbp, r13, "string<...>::assign(i,j): string too long"); 0x004126e1 mov edx, 0x415f90 | 0x004126e6 mov rdi, qword [rsp] | 0x004126ea mov rsi, r15 | 0x004126ed mov rcx, rbx | 0x004126f0 call 0x416660 | eax = BloombergLP::bslmt::ThreadUtilImpl::create(unsigned long*,BloombergLP::bslmt::ThreadAttributesconst&,void*(*)(void*),void*) (*(rsp), r15, sym.bslmt_EntryPointFunctorAdapter_invoker, rbx); 0x004126f5 mov ebp, eax | 0x004126f7 test eax, eax | | if (eax != 0) { 0x004126f9 je 0x412724 | 0x004126fb cmp qword [rbx + 0x38], 0x17 | | if (*((rbx + 0x38)) != 0x17) { 0x00412700 je 0x412710 | 0x00412702 mov rsi, qword [rbx + 0x18] | rsi = *((rbx + 0x18)); 0x00412706 mov rdi, qword [rbx + 0x40] | rdi = *((rbx + 0x40)); 0x0041270a mov rax, qword [rdi] | rax = *(rdi); 0x0041270d call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x00412710 mov qword [rbx + 0x30], 0xffffffffffffffff | *((rbx + 0x30)) = 0xffffffffffffffff; 0x00412718 mov rax, qword [r14] | rax = *(r14); 0x0041271b mov rdi, r14 | rdi = r14; 0x0041271e mov rsi, rbx | rsi = rbx; 0x00412721 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x00412724 mov eax, ebp | eax = ebp; 0x00412726 add rsp, 8 | 0x0041272a pop rbx | 0x0041272b pop r12 | 0x0041272d pop r13 | 0x0041272f pop r14 | 0x00412731 pop r15 | 0x00412733 pop rbp | 0x00412734 ret | return rax; | }