; assembly | /* r2dec pseudo code output */ | /* bdlmt_eventscheduler.t/assume @ 0x428bb0 */ | #include | ; (fcn) method.int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_BloombergLP::bdlf::Bind_BloombergLP::bslmf.Nil__void____BloombergLP::bslmt::Barrier__BloombergLP::bdlmt::EventScheduler__BloombergLP::bslmt::TimedSemaphore___BloombergLP::bdlf::Bind_Bound () | int64_t method_int_BloombergLP::bslmt::ThreadUtil::createWithAllocator_BloombergLP::bdlf::Bind_BloombergLP::bslmf_Nil_void_BloombergLP::bslmt::Barrier_BloombergLP::bdlmt::EventScheduler_BloombergLP::bslmt::TimedSemaphore_BloombergLP::bdlf::Bind_Bound (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*, BloombergLP::bdlf::Bind > const&, BloombergLP::bslma::Allocator*) */ 0x00428bb0 push rbp | 0x00428bb1 push r15 | 0x00428bb3 push r14 | 0x00428bb5 push rbx | 0x00428bb6 sub rsp, 0x48 | 0x00428bba mov r14, rdx | r14 = rdx; 0x00428bbd mov rbp, rsi | 0x00428bc0 mov r15, rdi | r15 = rdi; 0x00428bc3 mov rax, qword [rdx] | rax = *(rdx); 0x00428bc6 mov esi, 0x58 | esi = 0x58; 0x00428bcb mov rdi, rdx | rdi = rdx; 0x00428bce call qword [rax + 0x10] | rax = uint64_t (*rax + 0x10)(void, void, void) (rbx, r14, r15); 0x00428bd1 mov rbx, rax | rbx = rax; 0x00428bd4 mov qword [rax], 0x428d40 | *(rax) = method.BloombergLP::bslmt::EntryPointFunctorAdapter_BloombergLP::bdlf::Bind_BloombergLP::bslmf.Nil__void____BloombergLP::bslmt::Barrier__BloombergLP::bdlmt::EventScheduler__BloombergLP::bslmt::TimedSemaphore___BloombergLP::bdlf::Bind_BoundTuple3_Bloo; 0x00428bdb mov rax, qword [rbp] | rax = *(rbp); 0x00428bdf mov qword [rbx + 8], rax | *((rbx + 8)) = rax; 0x00428be3 mov rax, qword [rbp + 8] | rax = *((rbp + 8)); 0x00428be7 mov qword [rbx + 0x10], rax | *((rbx + 0x10)) = rax; 0x00428beb mov rax, qword [rbp + 0x10] | rax = *((rbp + 0x10)); 0x00428bef mov qword [rbx + 0x18], rax | *((rbx + 0x18)) = rax; 0x00428bf3 mov rax, qword [rbp + 0x18] | rax = *((rbp + 0x18)); 0x00428bf7 mov qword [rbx + 0x20], rax | *((rbx + 0x20)) = rax; 0x00428bfb lea rdi, [rbx + 0x28] | 0x00428bff mov qword [rbx + 0x28], 0 | *((rbx + 0x28)) = 0; 0x00428c07 mov qword [rbx + 0x50], r14 | *((rbx + 0x50)) = r14; 0x00428c0b movaps xmm0, xmmword [rip + 0x3864e] | xmm0 = .comment; 0x00428c12 movups xmmword [rbx + 0x40], xmm0 | __asm ("movups xmmword [rbx + 0x40], xmm0"); 0x00428c16 mov ecx, 0x46490c | 0x00428c1b xor esi, esi | 0x00428c1d xor edx, edx | 0x00428c1f call 0x43df40 | bsl::basic_string,bsl::allocator>::privateAppend(char const*,unsigned long,char const*) (rbx + 0x28, 0, 0, "string<...>::assign(i,j): string too long"); 0x00428c24 mov rdi, rsp | 0x00428c27 call 0x4397e0 | BloombergLP::bslmt::ThreadAttributes::ThreadAttributes() (rsp); 0x00428c2c mov rsi, rsp | 0x00428c2f mov edx, 0x439350 | 0x00428c34 mov rdi, r15 | 0x00428c37 mov rcx, rbx | 0x00428c3a call 0x439cd0 | eax = BloombergLP::bslmt::ThreadUtilImpl::create(unsigned long*,BloombergLP::bslmt::ThreadAttributesconst&,void*(*)(void*),void*) (r15, rsp, sym.bslmt_EntryPointFunctorAdapter_invoker, rbx); 0x00428c3f mov ebp, eax | 0x00428c41 cmp qword [rsp + 0x38], 0x17 | | if (*((rsp + 0x38)) != 0x17) { 0x00428c47 je 0x428c59 | 0x00428c49 mov rsi, qword [rsp + 0x18] | rsi = *((rsp + 0x18)); 0x00428c4e mov rdi, qword [rsp + 0x40] | rdi = *((rsp + 0x40)); 0x00428c53 mov rax, qword [rdi] | rax = *(rdi); 0x00428c56 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x00428c59 test ebp, ebp | | if (ebp != 0) { 0x00428c5b je 0x428c86 | 0x00428c5d cmp qword [rbx + 0x48], 0x17 | | if (*((rbx + 0x48)) != 0x17) { 0x00428c62 je 0x428c72 | 0x00428c64 mov rsi, qword [rbx + 0x28] | rsi = *((rbx + 0x28)); 0x00428c68 mov rdi, qword [rbx + 0x50] | rdi = *((rbx + 0x50)); 0x00428c6c mov rax, qword [rdi] | rax = *(rdi); 0x00428c6f call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x00428c72 mov qword [rbx + 0x40], 0xffffffffffffffff | *((rbx + 0x40)) = 0xffffffffffffffff; 0x00428c7a mov rax, qword [r14] | rax = *(r14); 0x00428c7d mov rdi, r14 | rdi = r14; 0x00428c80 mov rsi, rbx | rsi = rbx; 0x00428c83 call qword [rax + 0x18] | uint64_t (*rax + 0x18)() (); | } 0x00428c86 mov eax, ebp | eax = ebp; 0x00428c88 add rsp, 0x48 | 0x00428c8c pop rbx | 0x00428c8d pop r14 | 0x00428c8f pop r15 | 0x00428c91 pop rbp | 0x00428c92 ret | return rax; | }