Function at 0x14000ad20
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
mov rsi, rdx
mov rdi, rcx
lea rax, str.removeChunkFromMatrix
mov qword [rsp + 0x60], rax
lea r12, str._home_neko_.choosenim_toolchains_nim_2.0.2_lib_system_alloc.nim
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x68], 0
mov word [rsp + 0x78], 0
mov eax, dword [0x140682508]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea r15, [rax + 0x2ac8]
mov rax, qword [rax + 0x2ac8]
test rax, rax
je 0x14000adb1
movzx ecx, word [rax + 0x22]
add ecx, 1
mov word [rsp + 0x7a], cx
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x58]
mov qword [r15], rax
movzx eax, cx
cmp eax, 0x7d0
jne 0x14000adc5
call fcn.1400153a0
jmp 0x14000adc5
mov word [rsp + 0x7a], 0
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x58]
mov qword [r15], rax
mov qword [rsp + 0x68], 0xe5
mov rbx, qword [rsi + 8]
lea rax, str.mappingInsert
mov qword [rsp + 0x90], rax
mov qword [rsp + 0xa0], r12
mov qword [rsp + 0x98], 0
mov word [rsp + 0xa8], 0
mov rax, qword [r15]
test rax, rax
je 0x14000ae3a
movzx ecx, word [rax + 0x22]
add ecx, 1
mov word [rsp + 0xaa], cx
mov qword [rsp + 0x88], rax
lea rax, [rsp + 0x88]
mov qword [r15], rax
movzx eax, cx
cmp eax, 0x7d0
jne 0x14000ae57
call fcn.1400153a0
jmp 0x14000ae57
mov word [rsp + 0xaa], 0
mov qword [rsp + 0x88], rax
lea rax, [rsp + 0x88]
mov qword [r15], rax
mov qword [rsp + 0x98], 0xcc
lea rax, str.msbit
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], 0
mov word [rsp + 0x48], 0
mov rax, qword [r15]
test rax, rax
je 0x14000aeb6
movzx ecx, word [rax + 0x22]
add ecx, 1
mov word [rsp + 0x4a], cx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x28]
mov qword [r15], rax
movzx eax, cx
cmp eax, 0x7d0
jne 0x14000aeca
call fcn.1400153a0
jmp 0x14000aeca
mov word [rsp + 0x4a], 0
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x28]
mov qword [r15], rax
xor ecx, ecx
cmp ebx, 0x100
setae cl
shl rcx, 3
xor eax, eax
cmp ebx, 0x1000000
setae al
cmp ebx, 0x10000
lea rax, [rax*8 + 0x10]
cmovb rax, rcx
mov edx, ebx
mov ecx, eax
shr rdx, cl
lea rcx, [0x140046ba0]
movsx rdx, byte [rdx + rcx]
lea r13, [rax + rdx]
mov rcx, qword [r15]
mov rcx, qword [rcx]
mov qword [r15], rcx
lea ecx, [r13 - 5]
sar rbx, cl
mov rcx, qword [r15]
mov rcx, qword [rcx]
mov qword [r15], rcx
mov rcx, qword [rsi + 0x18]
test rcx, rcx
je 0x14000af37
mov r8, qword [rsi + 0x20]
mov qword [rcx + 0x20], r8
lea rcx, [rbx - 0x20]
lea r14, [rax + rdx]
add r14, 0xfffffffffffffffa
mov rax, qword [rsi + 0x20]
test rax, rax
je 0x14000af54
mov rdx, qword [rsi + 0x18]
mov qword [rax + 0x18], rdx
mov rax, r14
shl rax, 8
add rax, rdi
cmp qword [rax + rcx*8 + 0x868], rsi
jne 0x14000b09a
lea rax, [rax + rcx*8]
add rax, 0x868
mov rcx, qword [rsi + 0x18]
mov qword [rax], rcx
test rcx, rcx
jne 0x14000b09a
mov qword [rsp + 0x68], 0xdf
lea rbp, str.clearBit
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], 0
mov word [rsp + 0x48], 0
mov rax, qword [r15]
test rax, rax
je 0x14000afe6
movzx ecx, word [rax + 0x22]
add ecx, 1
mov word [rsp + 0x4a], cx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x28]
mov qword [r15], rax
movzx ecx, cx
cmp ecx, 0x7d0
jne 0x14000affa
call fcn.1400153a0
mov rax, qword [r15]
jmp 0x14000affa
mov word [rsp + 0x4a], 0
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x28]
mov qword [r15], rax
mov edx, 0xfffffffe
mov ecx, ebx
rol edx, cl
and dword [rdi + r13*4 + 0x7ec], edx
mov rax, qword [rax]
mov qword [r15], rax
jne 0x14000b09a
mov qword [rsp + 0x68], 0xe2
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], 0
mov word [rsp + 0x48], 0
mov rax, qword [r15]
test rax, rax
je 0x14000b070
movzx ecx, word [rax + 0x22]
add ecx, 1
mov word [rsp + 0x4a], cx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x28]
mov qword [r15], rax
movzx ecx, cx
cmp ecx, 0x7d0
jne 0x14000b084
call fcn.1400153a0
mov rax, qword [r15]
jmp 0x14000b084
mov word [rsp + 0x4a], 0
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x28]
mov qword [r15], rax
mov edx, 0xfffffffe
mov ecx, r14d
rol edx, cl
and dword [rdi + 0x800], edx
mov rax, qword [rax]
mov qword [r15], rax
xorps xmm0, xmm0
movups xmmword [rsi + 0x18], xmm0
mov rax, qword [r15]
mov rax, qword [rax]
mov qword [r15], rax
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret