Function at 0x1400793a0
Capabilities:
Get number of processors

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
cmp qword [rdx], 0
jne 0x140079786
xor esi, esi
xchg qword [rcx + 0x20], rsi
test rsi, rsi
je 0x140079786
mov rdi, qword [rdx + 8]
lock inc qword [rdi]
jle 0x140079786
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0xa0], 8
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0xb0], rcx
mov eax, dword [0x140120c68]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
movzx eax, byte [rax + 0x78]
test rax, rax
je 0x14007944d
cmp eax, 1
je 0x14007947c
jmp 0x1400794c2
mov eax, dword [0x140120c68]
mov rcx, qword gs:[0x58]
mov rbx, qword [rcx + rax*8]
lea rcx, [rbx + 0x28]
lea rdx, [0x14006c350]
call fcn.1400b5060
mov byte [rbx + 0x78], 1
mov al, 1
mov ecx, dword [0x140120c68]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
movabs rdx, 0x7fffffffffffffff
cmp qword [rcx + 0x28], rdx
jae 0x140079788
mov ecx, dword [0x140120c68]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp dword [rcx + 0x30], 2
jne 0x1400794ef
add rdi, 0x10
mov rcx, rsi
mov rdx, rdi
call fcn.1400797b0
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x80], 0
lea rsi, [rsp + 0x70]
jmp 0x140079717
movups xmm0, xmmword [rsp + 0x70]
movups xmm1, xmmword [rsp + 0x80]
movups xmm2, xmmword [rsp + 0x90]
movups xmm3, xmmword [rsp + 0xa0]
movaps xmmword [rsp + 0x20], xmm0
mov rcx, qword [rsp + 0xb0]
mov qword [rsp + 0x60], rcx
movaps xmmword [rsp + 0x50], xmm3
movaps xmmword [rsp + 0x40], xmm2
movaps xmmword [rsp + 0x30], xmm1
cmp qword [rsp + 0x20], 0
jne 0x140079786
cmp qword [rsp + 0x30], 0
jne 0x140079794
mov r12, qword [rsp + 0x38]
mov qword [rsp + 0x38], 0
test r12, r12
je 0x140079786
mov qword [rsp + 0x30], 0
test al, al
je 0x1400795a3
movzx eax, al
cmp eax, 1
je 0x1400795d0
lea rdi, [r12 + 0x40]
mov rcx, rdi
call fcn.140071810
mov rcx, rdi
call fcn.14006f1f0
mov rcx, r12
call fcn.1400781b0
mov edx, 0x70
mov r8d, 8
mov rcx, r12
call fcn.14004bad0
ud2
mov eax, dword [0x140120c68]
mov rcx, qword gs:[0x58]
mov rsi, qword [rcx + rax*8]
lea rcx, [rsi + 0x28]
lea rdx, [0x14006c350]
call fcn.1400b5060
mov byte [rsi + 0x78], 1
mov eax, dword [0x140120c68]
mov rcx, qword gs:[0x58]
mov rsi, qword [rcx + rax*8]
mov rbx, qword [rsi + 0x60]
lea rax, [rsp + 0x20]
mov qword [rsi + 0x60], rax
add rdi, 0x10
mov rcx, r12
mov rdx, rdi
call fcn.1400797b0
mov qword [rsi + 0x60], rbx
cmp qword [rsp + 0x30], 0
jne 0x1400797a0
mov qword [rsp + 0x30], 0xffffffffffffffff
mov rdi, qword [rsp + 0x38]
test rdi, rdi
je 0x140079706
mov r15, qword [rdi + 0x58]
test r15, r15
je 0x1400796c5
mov qword [rsp + 0x68], r12
mov rax, qword [rdi + 0x50]
mov rcx, qword [rdi + 0x40]
mov rbx, qword [rdi + 0x48]
xor edx, edx
cmp rax, rcx
mov r8, rcx
cmovb r8, rdx
sub rax, r8
mov r12, rcx
sub r12, rax
lea r13, [rax + r15]
mov r14, r15
sub r14, r12
cmovb r14, rdx
cmova r13, rcx
sub r13, rax
jne 0x14007973c
cmp r12, r15
mov r12, qword [rsp + 0x68]
jae 0x1400796c5
xor esi, esi
jmp 0x140079698
inc rsi
cmp r14, rsi
je 0x1400796c5
mov rcx, qword [rbx + rsi*8]
mov rax, 0xffffffffffffffc0
lock xadd qword [rcx], rax
cmp rax, 0x3f
jbe 0x140079786
and rax, 0xffffffffffffffc0
cmp rax, 0x40
jne 0x140079690
mov rax, qword [rcx + 0x10]
call qword [rax + 0x10]
jmp 0x140079690
mov rdx, qword [rdi + 0x40]
test rdx, rdx
je 0x1400796e1
mov rcx, qword [rdi + 0x48]
shl rdx, 3
mov r8d, 8
call fcn.14004bad0
mov rcx, rdi
call fcn.1400781b0
mov edx, 0x70
mov r8d, 8
mov rcx, rdi
call fcn.14004bad0
mov rax, qword [rsp + 0x30]
inc rax
jmp 0x140079708
xor eax, eax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], rax
lea rsi, [rsp + 0x20]
mov rcx, rsi
call fcn.14007a720
mov rcx, rsi
call fcn.140077ed0
nop
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rbp, [rbx + rax*8]
xor esi, esi
jmp 0x14007975c
inc rsi
cmp r13, rsi
je 0x14007967d
mov rcx, qword [rbp + rsi*8]
mov rax, 0xffffffffffffffc0
lock xadd qword [rcx], rax
cmp rax, 0x3f
jbe 0x140079786
and rax, 0xffffffffffffffc0
cmp rax, 0x40
jne 0x140079750
mov rax, qword [rcx + 0x10]
call qword [rax + 0x10]
jmp 0x140079750
ud2
lea rcx, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.39.2_src_runtimecontextcurrent.rs
call fcn.14006d9c0
lea rcx, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.39.2_src_runtime_schedulercurrent_threadmod.rs
call fcn.14006d9c0
lea rcx, str.C:Userslucak.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.39.2_src_runtime_schedulercurrent_threadmod.rs
call fcn.14006d9c0
int3