73 lines
1.2 KiB
ArmAsm
73 lines
1.2 KiB
ArmAsm
.file "sliming.cpp"
|
|
.text
|
|
.p2align 4
|
|
.globl _Z12isSlimeChunklii
|
|
.type _Z12isSlimeChunklii, @function
|
|
_Z12isSlimeChunklii:
|
|
.LFB7:
|
|
.cfi_startproc
|
|
endbr64
|
|
movl %esi, %eax
|
|
movl %edx, %ecx
|
|
imull %esi, %eax
|
|
imull %edx, %ecx
|
|
imull $5947611, %esi, %esi
|
|
imull $4987142, %eax, %eax
|
|
movslq %ecx, %rcx
|
|
imull $389711, %edx, %edx
|
|
imulq $4392871, %rcx, %rcx
|
|
movslq %esi, %rsi
|
|
cltq
|
|
addq %rdi, %rax
|
|
movslq %edx, %rdx
|
|
addq %rsi, %rax
|
|
addq %rcx, %rax
|
|
addq %rdx, %rax
|
|
movabsq $25303508018, %rdx
|
|
xorq %rdx, %rax
|
|
movabsq $281474976710655, %rdx
|
|
andq %rdx, %rax
|
|
movabsq $25214903917, %rdx
|
|
imulq %rdx, %rax
|
|
addq $11, %rax
|
|
shrq $17, %rax
|
|
andl $2147483647, %eax
|
|
imull $-858993459, %eax, %eax
|
|
rorl %eax
|
|
cmpl $429496729, %eax
|
|
setbe %al
|
|
ret
|
|
.cfi_endproc
|
|
.LFE7:
|
|
.size _Z12isSlimeChunklii, .-_Z12isSlimeChunklii
|
|
.section .text.startup,"ax",@progbits
|
|
.p2align 4
|
|
.globl main
|
|
.type main, @function
|
|
main:
|
|
.LFB8:
|
|
.cfi_startproc
|
|
endbr64
|
|
xorl %eax, %eax
|
|
ret
|
|
.cfi_endproc
|
|
.LFE8:
|
|
.size main, .-main
|
|
.ident "GCC: (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0"
|
|
.section .note.GNU-stack,"",@progbits
|
|
.section .note.gnu.property,"a"
|
|
.align 8
|
|
.long 1f - 0f
|
|
.long 4f - 1f
|
|
.long 5
|
|
0:
|
|
.string "GNU"
|
|
1:
|
|
.align 8
|
|
.long 0xc0000002
|
|
.long 3f - 2f
|
|
2:
|
|
.long 0x3
|
|
3:
|
|
.align 8
|
|
4:
|