// File: /workspace/github_cpp_makefile_star2_O1/Pyboon[P]sage/isi_sage.cpp
// Function: IsiSage::run()
void IsiSage::run(){
    // antenna response and CIR init
    ReadCIR();
    ReadAntennaResponse();
    ParamsInit();
    ParamsIterationUpdate();
    string save_path = config.path_result + "/spot_" + to_string(spot) + "_" + to_string(cycle_idx);
    SaveResult(save_path);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xe8, %rsp
movq %rdi, %rbx
movq (%rdi), %rax
callq *0x10(%rax)
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x18(%rax)
movq %rbx, %rdi
callq 0x6c9e
movq %rbx, %rdi
callq 0xb626
leaq 0x38(%rsp), %r12
movq %r12, -0x10(%r12)
movq 0x48(%rbx), %rsi
movq 0x50(%rbx), %rdx
addq %rsi, %rdx
leaq 0x28(%rsp), %r14
movq %r14, %rdi
callq 0x434a
leaq 0xed23(%rip), %rsi      # 0x1d89f
movq %r14, %rdi
callq 0x34b0
movl 0x150(%rbx), %r14d
movl %r14d, %ebp
negl %ebp
cmovsl %r14d, %ebp
movl $0x1, %r15d
cmpl $0xa, %ebp
jb 0xebe8
movl $0x4, %r15d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %ebp, %ecx
cmpl $0x63, %ecx
jbe 0xebdf
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0xebe5
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0xebe8
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r15d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0xebac
addl $-0x3, %r15d
jmp 0xebe8
addl $-0x2, %r15d
jmp 0xebe8
decl %r15d
shrl $0x1f, %r14d
leal (%r15,%r14), %esi
leaq 0x18(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x8(%rsp), %rdi
movl $0x2d, %edx
callq 0x3300
addq 0x8(%rsp), %r14
movq %r14, %rdi
movl %r15d, %esi
movl %ebp, %edx
callq 0xf91b
movq 0x28(%rsp), %rcx
movq 0x30(%rsp), %r8
movq 0x10(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
cmpq %r12, %rcx
je 0xec3c
movq 0x38(%rsp), %rsi
cmpq %rsi, %rax
jbe 0xec57
movl $0xf, %esi
cmpq %r13, 0x8(%rsp)
je 0xec52
movq 0x18(%rsp), %rsi
cmpq %rsi, %rax
jbe 0xec68
movq 0x8(%rsp), %rsi
leaq 0x28(%rsp), %rdi
callq 0x30d0
jmp 0xec76
leaq 0x8(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x32c0
leaq 0x78(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
je 0xec9a
movq %rsi, 0x68(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x78(%rsp)
jmp 0xeca0
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x70(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
leaq 0xebe0(%rip), %rsi      # 0x1d8a4
leaq 0x68(%rsp), %rdi
callq 0x34b0
leaq 0xb8(%rsp), %rsi
movq %rsi, -0x10(%rsi)
movq (%rax), %rdx
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rdx
je 0xed01
movq %rsi, %r12
movq %rdx, 0xa8(%rsp)
movq (%rcx), %rdx
movq %rdx, 0xb8(%rsp)
jmp 0xed0a
movups (%rcx), %xmm0
movq %rsi, %r12
movups %xmm0, (%rsi)
movq 0x8(%rax), %rdx
movq %rdx, 0xb0(%rsp)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movl 0x154(%rbx), %r14d
movl %r14d, %ebp
negl %ebp
cmovsl %r14d, %ebp
movl $0x1, %r15d
cmpl $0xa, %ebp
jb 0xed89
movl $0x4, %r15d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %ebp, %ecx
cmpl $0x63, %ecx
jbe 0xed80
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0xed86
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0xed89
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r15d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0xed4d
addl $-0x3, %r15d
jmp 0xed89
addl $-0x2, %r15d
jmp 0xed89
decl %r15d
shrl $0x1f, %r14d
leal (%r15,%r14), %esi
leaq 0x98(%rsp), %r13
movq %r13, -0x10(%r13)
leaq 0x88(%rsp), %rdi
movl $0x2d, %edx
callq 0x3300
addq 0x88(%rsp), %r14
movq %r14, %rdi
movl %r15d, %esi
movl %ebp, %edx
callq 0xf91b
movq 0xa8(%rsp), %rcx
movq 0xb0(%rsp), %r8
movq 0x90(%rsp), %rdx
leaq (%rdx,%r8), %rax
movl $0xf, %esi
cmpq %r12, %rcx
je 0xedf2
movq 0xb8(%rsp), %rsi
cmpq %rsi, %rax
jbe 0xee13
movl $0xf, %esi
cmpq %r13, 0x88(%rsp)
je 0xee0e
movq 0x98(%rsp), %rsi
cmpq %rsi, %rax
jbe 0xee2a
movq 0x88(%rsp), %rsi
leaq 0xa8(%rsp), %rdi
callq 0x30d0
jmp 0xee3b
leaq 0x88(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x32c0
leaq 0x58(%rsp), %rdx
movq %rdx, -0x10(%rdx)
movq (%rax), %rsi
leaq 0x10(%rax), %rcx
cmpq %rcx, %rsi
je 0xee5f
movq %rsi, 0x48(%rsp)
movq (%rcx), %rdx
movq %rdx, 0x58(%rsp)
jmp 0xee65
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
movq %rax, %rdx
addq $0x8, %rdx
movq 0x8(%rax), %rsi
movq %rsi, 0x50(%rsp)
movq %rcx, (%rax)
movq $0x0, (%rdx)
movb $0x0, (%rcx)
movq 0x88(%rsp), %rdi
cmpq %r13, %rdi
je 0xee9f
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x32b0
movq 0xa8(%rsp), %rdi
cmpq %r12, %rdi
leaq 0x18(%rsp), %r12
je 0xeec1
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x32b0
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
leaq 0x38(%rsp), %r14
je 0xeee1
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x32b0
movq 0x8(%rsp), %rdi
cmpq %r12, %rdi
je 0xeef8
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x32b0
movq 0x28(%rsp), %rdi
cmpq %r14, %rdi
je 0xef0f
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x32b0
leaq 0xd8(%rsp), %r14
movq %r14, -0x10(%r14)
movq 0x48(%rsp), %rsi
movq 0x50(%rsp), %rdx
addq %rsi, %rdx
leaq 0xc8(%rsp), %rdi
callq 0x434a
leaq 0xc8(%rsp), %rsi
movq %rbx, %rdi
callq 0xe714
movq 0xc8(%rsp), %rdi
cmpq %r14, %rdi
je 0xef62
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x32b0
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xef7d
movq 0x58(%rsp), %rsi
incq %rsi
callq 0x32b0
addq $0xe8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
movq 0xc8(%rsp), %rdi
cmpq %r14, %rdi
je 0xefb4
movq 0xd8(%rsp), %rsi
incq %rsi
callq 0x32b0
jmp 0xefb4
movq %rax, %rbx
leaq 0x58(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf074
movq 0x58(%rsp), %rsi
jmp 0xf06c
movq %rax, %rbx
movq 0x88(%rsp), %rdi
cmpq %r13, %rdi
je 0xeff5
movq 0x98(%rsp), %rsi
incq %rsi
callq 0x32b0
jmp 0xeff5
movq %rax, %rbx
movq 0xa8(%rsp), %rdi
cmpq %r12, %rdi
je 0xf017
movq 0xb8(%rsp), %rsi
incq %rsi
callq 0x32b0
jmp 0xf017
movq %rax, %rbx
leaq 0x78(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0xf037
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x32b0
jmp 0xf037
movq %rax, %rbx
movq 0x8(%rsp), %rdi
leaq 0x18(%rsp), %rax
cmpq %rax, %rdi
je 0xf058
movq 0x18(%rsp), %rsi
incq %rsi
callq 0x32b0
jmp 0xf058
movq %rax, %rbx
movq 0x28(%rsp), %rdi
leaq 0x38(%rsp), %rax
cmpq %rax, %rdi
je 0xf074
movq 0x38(%rsp), %rsi
incq %rsi
callq 0x32b0
movq %rbx, %rdi
callq 0x3460
movq %rax, %rbx
movq 0x28(%rsp), %rdi
cmpq %r12, %rdi
jne 0xf067
jmp 0xf074
nop