; assembly | /* r2dec pseudo code output */ | /* bdlmt_eventscheduler.t/none @ 0x42bd20 */ | #include | ; (fcn) method.int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_BloombergLP::bdlf::Bind_BloombergLP::bslmf.Nil__void____BloombergLP::bdlmt::EventScheduler__int__BloombergLP::bsls::AtomicInt__BloombergLP::bsls::AtomicInt__BloombergLP::bslmt::Barrier__ () | uint64_t method_int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_BloombergLP::bdlf::Bind_BloombergLP::bslmf_Nil_void_BloombergLP::bdlmt::EventScheduler_int_BloombergLP::bsls::AtomicInt_BloombergLP::bsls::AtomicInt_BloombergLP::bslmt::Barrier_ (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&, BloombergLP::bdlf::Bind > const&, BloombergLP::bslma::Allocator*) */ 0x0042bd20 push rbp | 0x0042bd21 push r15 | 0x0042bd23 push r14 | 0x0042bd25 push r13 | 0x0042bd27 push r12 | 0x0042bd29 push rbx | 0x0042bd2a push rax | 0x0042bd2b mov r14, rcx | r14 = rcx; 0x0042bd2e mov r12, rdx | r12 = rdx; 0x0042bd31 mov r15, rsi | r15 = rsi; 0x0042bd34 mov qword [rsp], rdi | *(rsp) = rdi; 0x0042bd38 cmp qword [rsi + 0x38], 0x17 | | if (*((rsi + 0x38)) != 0x17) { 0x0042bd3d je 0x42bd45 | 0x0042bd3f mov r13, qword [r15 + 0x18] | r13 = *((r15 + 0x18)); 0x0042bd43 jmp 0x42bd49 | | } else { 0x0042bd45 lea r13, [r15 + 0x18] | r13 = r15 + 0x18; | } 0x0042bd49 mov rbp, qword [r15 + 0x30] | rbp = *((r15 + 0x30)); 0x0042bd4d test r14, r14 | | if (r14 == 0) { 0x0042bd50 jne 0x42bd66 | 0x0042bd52 mov r14, qword [rip + 0x27592f] | r14 = BloombergLP::bslma::Default::s_defaultAllocator; 0x0042bd59 test r14, r14 | | if (r14 != 0) { 0x0042bd5c jne 0x42bd66 | goto label_0; | } 0x0042bd5e call 0x4381c0 | rax = BloombergLP::bslma::Default::determineAndReturnDefaultAllocator() (); 0x0042bd63 mov r14, rax | r14 = rax; | } | label_0: 0x0042bd66 mov rax, qword [r14] | rax = *(r14); 0x0042bd69 mov esi, 0x68 | esi = 0x68; 0x0042bd6e mov rdi, r14 | rdi = r14; 0x0042bd71 call qword [rax + 0x10] | rax = uint64_t (*rax + 0x10)() (); 0x0042bd74 mov rbx, rax | rbx = rax; 0x0042bd77 mov qword [rax], 0x42beb0 | *(rax) = method.BloombergLP::bslmt::EntryPointFunctorAdapter_BloombergLP::bdlf::Bind_BloombergLP::bslmf.Nil__void____BloombergLP::bdlmt::EventScheduler__int__BloombergLP::bsls::AtomicInt__BloombergLP::bsls::AtomicInt__BloombergLP::bslmt::Barrier___BloombergL; 0x0042bd7e mov rax, qword [r12] | rax = *(r12); 0x0042bd82 mov qword [rbx + 8], rax | *((rbx + 8)) = rax; 0x0042bd86 mov rax, qword [r12 + 8] | rax = *((r12 + 8)); 0x0042bd8b mov qword [rbx + 0x10], rax | *((rbx + 0x10)) = rax; 0x0042bd8f mov eax, dword [r12 + 0x10] | eax = *((r12 + 0x10)); 0x0042bd94 mov dword [rbx + 0x18], eax | *((rbx + 0x18)) = eax; 0x0042bd97 mov rax, qword [r12 + 0x18] | rax = *((r12 + 0x18)); 0x0042bd9c mov qword [rbx + 0x20], rax | *((rbx + 0x20)) = rax; 0x0042bda0 mov rax, qword [r12 + 0x20] | rax = *((r12 + 0x20)); 0x0042bda5 mov qword [rbx + 0x28], rax | *((rbx + 0x28)) = rax; 0x0042bda9 mov rax, qword [r12 + 0x28] | rax = *((r12 + 0x28)); 0x0042bdae mov qword [rbx + 0x30], rax | *((rbx + 0x30)) = rax; 0x0042bdb2 lea rdi, [rbx + 0x38] | 0x0042bdb6 mov qword [rbx + 0x38], 0 | *((rbx + 0x38)) = 0; 0x0042bdbe mov qword [rbx + 0x60], r14 | *((rbx + 0x60)) = r14; 0x0042bdc2 movaps xmm0, xmmword [rip + 0x35567] | xmm0 = .comment; 0x0042bdc9 movups xmmword [rbx + 0x50], xmm0 | __asm ("movups xmmword [rbx + 0x50], xmm0"); 0x0042bdcd mov ecx, 0x4649d6 | 0x0042bdd2 mov rsi, r13 | 0x0042bdd5 mov rdx, rbp | 0x0042bdd8 call 0x43dff0 | bsl::basic_string,bsl::allocator>::privateAppend(char const*,unsigned long,char const*) (rbx + 0x38, r13, rbp, "string<...>::assign(i,j): string too long"); 0x0042bddd mov edx, 0x4393c0 | 0x0042bde2 mov rdi, qword [rsp] | 0x0042bde6 mov rsi, r15 | 0x0042bde9 mov rcx, rbx | 0x0042bdec call 0x439d40 | eax = BloombergLP::bslmt::ThreadUtilImpl::create(unsigned long*,BloombergLP::bslmt::ThreadAttributesconst&,void*(*)(void*),void*) (*(rsp), r15, sym.bslmt_EntryPointFunctorAdapter_invoker, rbx); 0x0042bdf1 mov ebp, eax | 0x0042bdf3 test eax, eax | | if (eax != 0) { 0x0042bdf5 je 0x42be20 | 0x0042bdf7 cmp qword [rbx + 0x58], 0x17 | | if (*((rbx + 0x58)) != 0x17) { 0x0042bdfc je 0x42be0c | 0x0042bdfe mov rsi, qword [rbx + 0x38] | rsi = *((rbx + 0x38)); 0x0042be02 mov rdi, qword [rbx + 0x60] | rdi = *((rbx + 0x60)); 0x0042be06 mov rax, qword [rdi] | rax = *(rdi); 0x0042be09 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x0042be0c mov qword [rbx + 0x50], 0xffffffffffffffff | *((rbx + 0x50)) = 0xffffffffffffffff; 0x0042be14 mov rax, qword [r14] | rax = *(r14); 0x0042be17 mov rdi, r14 | rdi = r14; 0x0042be1a mov rsi, rbx | rsi = rbx; 0x0042be1d call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x0042be20 mov eax, ebp | eax = ebp; 0x0042be22 add rsp, 8 | 0x0042be26 pop rbx | 0x0042be27 pop r12 | 0x0042be29 pop r13 | 0x0042be2b pop r14 | 0x0042be2d pop r15 | 0x0042be2f pop rbp | 0x0042be30 ret | return rax; | }