// File: /workspace/github_c_makefile_star2_O1/randyrossi[P]fisher-modem/mkfilter/src/mkshape.C
// Function: main
global int main(int argc, char** argv) {
  readcmdline(argv);
  if (options & opt_l) {
    computefilter();
    printresults(argv);
  } else
    printf("OK!\n");
  return 0;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x10038, %rsp          # imm = 0x10038
movq %rsi, %r13
movq (%rsi), %rcx
xorl %ebp, %ebp
testq %rcx, %rcx
setne %bpl
xorl %eax, %eax
movl %eax, 0x7e60(%rip)      # 0x90c4
movl %eax, 0x7e5e(%rip)      # 0x90c8
movl %eax, 0x7e50(%rip)      # 0x90c0
movq (%rsi,%rbp,8), %rax
testq %rax, %rax
je 0x1414
cmpb $0x2d, (%rax)
jne 0x1a34
xorl %esi, %esi
testq %rcx, %rcx
setne %sil
xorl %ebx, %ebx
leaq 0x1df4(%rip), %r15      # 0x308c
leaq 0x1dc1(%rip), %r12      # 0x3060
movq %r13, 0x10(%rsp)
leal 0x1(%rsi), %r14d
incq %rax
xorl %r13d, %r13d
movzbl (%rax), %ecx
leal -0x62(%rcx), %edx
cmpl $0xa, %edx
ja 0x12c9
movslq (%r12,%rdx,4), %rcx
addq %r12, %rcx
jmpq *%rcx
movl $0x80, %ecx
jmp 0x1310
leal -0x72(%rcx), %edx
cmpl $0x6, %edx
ja 0x1318
movslq (%r15,%rdx,4), %rcx
addq %r15, %rcx
jmpq *%rcx
movl $0x4, %ecx
jmp 0x1310
movl $0x10, %ecx
jmp 0x1310
movl $0x1, %ecx
jmp 0x1310
movl $0x8, %ecx
jmp 0x1310
movl $0x2, %ecx
jmp 0x1310
movl $0x40, %ecx
jmp 0x1310
movl $0x100, %ecx            # imm = 0x100
jmp 0x1310
movl $0x20, %ecx
orl %ecx, %r13d
incq %rax
jmp 0x12ae
testl %ecx, %ecx
jne 0x1a34
testb $0x6, %r13b
je 0x1374
movl %ebx, 0x8(%rsp)
movslq %r14d, %rax
movq 0x10(%rsp), %r14
movq (%r14,%rax,8), %rdi
testq %rdi, %rdi
je 0x1a34
movq %rsi, %rbx
callq 0x1090
movsd %xmm0, 0x7d81(%rip)     # 0x90d0
movq 0x10(%r14,%rbp,8), %rdi
testq %rdi, %rdi
je 0x1a34
addl $0x3, %ebx
callq 0x1090
movsd %xmm0, 0x7d6b(%rip)     # 0x90d8
movl %ebx, %r14d
movl 0x8(%rsp), %ebx
testb $0x1e, %r13b
je 0x13b4
movslq %r14d, %rax
movq 0x10(%rsp), %rcx
movq (%rcx,%rax,8), %rdi
testq %rdi, %rdi
je 0x1a34
callq 0x10e0
movl %eax, 0x7d2e(%rip)      # 0x90c8
testb $0x1, %al
je 0x1a4a
movl $0xfffffdfe, %ecx       # imm = 0xFFFFFDFE
addl %ecx, %eax
cmpl %ecx, %eax
jbe 0x1a39
incl %r14d
testb %r13b, %r13b
jns 0x13e4
movslq %r14d, %rax
movq 0x10(%rsp), %rcx
movq (%rcx,%rax,8), %rdi
testq %rdi, %rdi
je 0x1a34
callq 0x10e0
movl %eax, 0x7ceb(%rip)      # 0x90c4
testl %eax, %eax
jle 0x1a53
incl %r14d
movl %r14d, %esi
orl %r13d, %ebx
movl %ebx, 0x7cd0(%rip)      # 0x90c0
movslq %r14d, %rbp
movq 0x10(%rsp), %r13
movq (%r13,%rbp,8), %rax
testq %rax, %rax
je 0x1414
cmpb $0x2d, (%rax)
je 0x12a4
testq %rax, %rax
jne 0x1a34
movl 0x7ca6(%rip), %eax      # 0x90c0
testb $0x1, %al
jne 0x142a
leaq 0x1e2a(%rip), %rbx      # 0x324f
jmp 0x1a18
movl %eax, %ecx
andl $0x1e, %ecx
addl $-0x2, %ecx
shrl %ecx
cmpl $0x2, %ecx
jb 0x144b
cmpl $0x3, %ecx
je 0x1719
cmpl $0x7, %ecx
jne 0x1a61
leaq 0x3c76(%rip), %rbx      # 0x50c8
xorl %r14d, %r14d
movsd 0x1bbb(%rip), %xmm2     # 0x3018
xorps %xmm0, %xmm0
cvtsi2sd %r14d, %xmm0
mulsd 0x1ba3(%rip), %xmm0     # 0x3010
mulsd %xmm2, %xmm0
callq 0x2083
movsd 0x1b9a(%rip), %xmm2     # 0x3018
movsd %xmm0, -0x8(%rbx)
movsd %xmm1, (%rbx)
incq %r14
addq $0x10, %rbx
cmpq $0x400, %r14            # imm = 0x400
jne 0x145d
testb $0x10, 0x7c22(%rip)     # 0x90c0
movsd 0x7c32(%rip), %xmm4     # 0x90d8
movsd 0x1b5a(%rip), %xmm3     # 0x3008
movsd 0x7c1a(%rip), %xmm0     # 0x90d0
movsd 0x1b62(%rip), %xmm1     # 0x3020
je 0x14d6
movapd %xmm1, %xmm5
jne 0x14e4
addsd %xmm3, %xmm4
mulsd %xmm0, %xmm4
jne 0x14ea
divsd %xmm0, %xmm1
jmp 0x14ee
movapd %xmm3, %xmm5
subsd %xmm4, %xmm5
mulsd %xmm0, %xmm5
je 0x14c6
movapd %xmm1, %xmm4
je 0x14d0
movapd %xmm3, %xmm1
movsd 0x1b32(%rip), %xmm0     # 0x3028
movsd %xmm1, 0x18(%rsp)
mulsd %xmm1, %xmm0
movsd %xmm0, 0x20(%rsp)
leaq 0x38(%rsp), %rbx
xorl %r14d, %r14d
movsd %xmm4, 0x8(%rsp)
movsd %xmm5, 0x28(%rsp)
xorps %xmm0, %xmm0
cvtsi2sd %r14d, %xmm0
mulsd %xmm2, %xmm0
ucomisd %xmm0, %xmm5
movapd %xmm3, %xmm1
jae 0x1581
xorpd %xmm1, %xmm1
ucomisd %xmm0, %xmm4
jb 0x1581
movsd 0x20(%rsp), %xmm1
divsd 0x7b90(%rip), %xmm1     # 0x90d8
subsd %xmm5, %xmm0
mulsd %xmm1, %xmm0
callq 0x1110
movsd 0x28(%rsp), %xmm5
movsd 0x8(%rsp), %xmm4
movsd 0x1a9f(%rip), %xmm3     # 0x3008
movsd 0x1aa7(%rip), %xmm2     # 0x3018
movapd %xmm0, %xmm1
addsd %xmm3, %xmm1
mulsd 0x1a9f(%rip), %xmm1     # 0x3020
movsd %xmm1, -0x8(%rbx)
movq $0x0, (%rbx)
incq %r14
addq $0x10, %rbx
cmpq $0x401, %r14            # imm = 0x401
jne 0x151a
testb $0x4, 0x7b18(%rip)      # 0x90c0
je 0x15e6
xorl %ebx, %ebx
xorpd %xmm1, %xmm1
movsd 0x30(%rsp,%rbx), %xmm0
ucomisd %xmm1, %xmm0
jb 0x15c2
sqrtsd %xmm0, %xmm0
jmp 0x15d3
callq 0x1060
xorpd %xmm1, %xmm1
movsd 0x1a45(%rip), %xmm2     # 0x3018
movsd %xmm0, 0x30(%rsp,%rbx)
addq $0x10, %rbx
cmpq $0x4010, %rbx           # imm = 0x4010
jne 0x15b0
testb $0x40, 0x7ad3(%rip)     # 0x90c0
je 0x1644
movl $0x1, %ebx
xorl %r14d, %r14d
xorps %xmm0, %xmm0
cvtsi2sd %ebx, %xmm0
mulsd 0x1a22(%rip), %xmm0     # 0x3028
mulsd %xmm2, %xmm0
movsd %xmm0, 0x8(%rsp)
callq 0x1040
movsd 0x19fb(%rip), %xmm2     # 0x3018
movsd 0x8(%rsp), %xmm1
divsd %xmm0, %xmm1
mulsd 0x40(%rsp,%r14), %xmm1
movsd %xmm1, 0x40(%rsp,%r14)
addq $0x10, %r14
incl %ebx
cmpq $0x4000, %r14           # imm = 0x4000
jne 0x15f7
xorl %eax, %eax
movsd 0x18(%rsp), %xmm1
movsd 0x30(%rsp,%rax), %xmm0
mulsd %xmm1, %xmm0
movsd %xmm0, 0x30(%rsp,%rax)
addq $0x10, %rax
cmpq $0x4010, %rax           # imm = 0x4010
jne 0x164c
movl $0x10, %eax
leaq 0x8020(%rsp), %rcx
movapd 0x30(%rsp,%rax), %xmm0
movapd %xmm0, (%rcx)
addq $0x10, %rax
addq $-0x10, %rcx
cmpq $0x4000, %rax           # imm = 0x4000
jne 0x1675
leaq 0x30(%rsp), %rdi
leaq 0x8030(%rsp), %rsi
movl $0x800, %ebx            # imm = 0x800
movl $0x800, %edx            # imm = 0x800
callq 0x1cf1
movslq 0x7a16(%rip), %rax      # 0x90c8
testq %rax, %rax
movsd 0x195b(%rip), %xmm1     # 0x3018
jle 0x17a9
leal -0x1(%rax), %ecx
shrl $0x1f, %ecx
addl %eax, %ecx
decl %ecx
sarl %ecx
shlq $0x3, %rax
subl %ecx, %ebx
xorl %ecx, %ecx
leaq 0x7a02(%rip), %rdx      # 0x90e0
leal 0x7ff(%rbx), %esi
testl %ebx, %ebx
cmovnsl %ebx, %esi
andl $0xfffff800, %esi       # imm = 0xFFFFF800
movl %ebx, %edi
subl %esi, %edi
movslq %edi, %rsi
shlq $0x4, %rsi
movsd 0x30(%rsp,%rsi), %xmm0
mulsd %xmm1, %xmm0
movsd %xmm0, (%rcx,%rdx)
addq $0x8, %rcx
incl %ebx
cmpq %rcx, %rax
jne 0x16de
jmp 0x17a9
testb $0x40, %al
jne 0x1a6a
movl 0x79a1(%rip), %eax      # 0x90c8
leal -0x1(%rax), %ecx
shrl $0x1f, %ecx
addl %eax, %ecx
decl %ecx
sarl %ecx
movslq %ecx, %rcx
leaq 0x79a3(%rip), %rdx      # 0x90e0
movq $0x0, (%rdx,%rcx,8)
cmpl $0x3, %eax
jl 0x17a9
cmpl $0x2, %ecx
movl $0x1, %eax
cmovgel %ecx, %eax
negq %rax
leaq (%rdx,%rcx,8), %rcx
movl $0x1, %edx
xorl %esi, %esi
movsd 0x189d(%rip), %xmm0     # 0x3008
movapd 0x18dd(%rip), %xmm1     # 0x3050
xorpd %xmm2, %xmm2
testb $0x1, %dl
je 0x178b
xorps %xmm3, %xmm3
cvtsi2sd %edx, %xmm3
movapd %xmm0, %xmm2
divsd %xmm3, %xmm2
movapd %xmm2, %xmm3
xorpd %xmm1, %xmm3
movlpd %xmm3, (%rcx,%rdx,8)
movsd %xmm2, -0x8(%rcx,%rsi,8)
incq %rdx
decq %rsi
cmpq %rsi, %rax
jne 0x1773
callq 0x1b38
callq 0x1bfa
testb $0x1, 0x7907(%rip)      # 0x90c1
je 0x17ca
leaq 0x1a55(%rip), %rdi      # 0x3218
xorl %eax, %eax
callq 0x1030
cmpq $0x0, (%r13)
je 0x1805
xorl %ebx, %ebx
movq 0x37ee(%rip), %r14      # 0x4fc8
testq %rbx, %rbx
je 0x17e9
movl $0x20, %edi
callq 0x10a0
leaq 0x1(%rbx), %r15
movq (%r13,%rbx,8), %rdi
movq (%r14), %rsi
callq 0x1070
cmpq $0x0, 0x8(%r13,%rbx,8)
movq %r15, %rbx
jne 0x17da
movl $0xa, %edi
callq 0x10a0
movl 0x78ab(%rip), %eax      # 0x90c0
movl 0x78ad(%rip), %ecx      # 0x90c8
testb $0x8, %al
jne 0x1848
testl %ecx, %ecx
jle 0x18c2
shlq $0x3, %rcx
xorpd %xmm0, %xmm0
xorl %edx, %edx
leaq 0x78a8(%rip), %rsi      # 0x90e0
addsd (%rdx,%rsi), %xmm0
addq $0x8, %rdx
cmpq %rdx, %rcx
jne 0x1838
jmp 0x18c6
leal -0x1(%rcx), %edx
shrl $0x1f, %edx
leal (%rcx,%rdx), %esi
decl %esi
xorl %edx, %edx
testb $0x2, %sil
sete %dl
cmpl %ecx, %edx
jge 0x18a8
movl %edx, %esi
leaq 0x7877(%rip), %rdi      # 0x90e0
leaq (%rdi,%rsi,8), %rdi
xorpd %xmm1, %xmm1
xorl %esi, %esi
movapd 0x17d5(%rip), %xmm2     # 0x3050
xorpd %xmm0, %xmm0
movsd (%rdi), %xmm3
ucomisd %xmm1, %xmm3
jbe 0x18ae
testb $0x1, %sil
jne 0x1893
xorpd %xmm2, %xmm3
addsd %xmm3, %xmm0
xorb $0x1, %sil
addl $0x2, %edx
addq $0x10, %rdi
cmpl %edx, %ecx
jg 0x187f
jmp 0x18ae
xorpd %xmm0, %xmm0
xorl %esi, %esi
testb $0x1, %sil
je 0x18bc
xorpd 0x1794(%rip), %xmm0     # 0x3050
addsd %xmm0, %xmm0
jmp 0x18c6
xorpd %xmm0, %xmm0
btl $0x8, %eax
jb 0x1979
leaq 0x1958(%rip), %rdi      # 0x322f
movb $0x1, %al
callq 0x1030
movl 0x77e4(%rip), %esi      # 0x90c8
decl %esi
leaq 0x1950(%rip), %rdi      # 0x323d
xorl %eax, %eax
callq 0x1030
movl 0x77ce(%rip), %esi      # 0x90c8
testl %esi, %esi
jle 0x1931
leaq 0x77db(%rip), %r14      # 0x90e0
xorl %r15d, %r15d
leaq 0x1925(%rip), %rbx      # 0x3234
movsd (%r14), %xmm0
movq %rbx, %rdi
movb $0x1, %al
callq 0x1030
incq %r15
movslq 0x77a0(%rip), %rsi      # 0x90c8
addq $0x8, %r14
cmpq %rsi, %r15
jl 0x190f
decl %esi
leaq 0x190c(%rip), %rdi      # 0x3246
xorl %ebp, %ebp
xorl %eax, %eax
callq 0x1030
leaq 0x1909(%rip), %rbx      # 0x3253
cmpl $0x2, 0x7777(%rip)      # 0x90c8
jl 0x1a18
leaq 0x17b2(%rip), %r14      # 0x3110
movq %r14, %rdi
callq 0x10d0
incl %ebp
movl 0x775a(%rip), %eax      # 0x90c8
decl %eax
cmpl %eax, %ebp
jl 0x195e
jmp 0x1a18
leaq 0x18d6(%rip), %rdi      # 0x3256
callq 0x10d0
leaq 0x190c(%rip), %rdi      # 0x3298
callq 0x10d0
leaq 0x1931(%rip), %rdi      # 0x32c9
callq 0x10d0
leaq 0x1877(%rip), %rdi      # 0x321b
xorl %eax, %eax
callq 0x1030
movl 0x7716(%rip), %r12d     # 0x90c8
leaq 0x1934(%rip), %rbx      # 0x32ed
testl %r12d, %r12d
jle 0x1a18
shrl %r12d
leaq 0x7718(%rip), %rax      # 0x90e0
leaq (%rax,%r12,8), %r13
leaq 0x184d(%rip), %r14      # 0x3220
leaq 0x184c(%rip), %r15      # 0x3226
testb $0x3, %r12b
setne %al
testq %r12, %r12
sete %cl
orb %al, %cl
jne 0x19f5
movq %r14, %rdi
xorl %eax, %eax
callq 0x1030
movsd (%r13), %xmm0
movq %r15, %rdi
movb $0x1, %al
callq 0x1030
incq %r12
movslq 0x76b9(%rip), %rax      # 0x90c8
addq $0x8, %r13
cmpq %rax, %r12
jl 0x19da
movq %rbx, %rdi
callq 0x10d0
xorl %eax, %eax
addq $0x10038, %rsp          # imm = 0x10038
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x1a73
leaq 0x1689(%rip), %rdi      # 0x30c9
movl $0x201, %esi            # imm = 0x201
callq 0x1ae8
leaq 0x1657(%rip), %rdi      # 0x30a8
jmp 0x1a5a
leaq 0x1696(%rip), %rdi      # 0x30f0
xorl %esi, %esi
callq 0x1ae8
leaq 0x1776(%rip), %rdi      # 0x31de
jmp 0x1a5a
leaq 0x178e(%rip), %rdi      # 0x31ff
jmp 0x1a5a