// File: DoubleString[P]eph_converter/src/B2bDecoder.cpp
// Function: B2b::B2b()
B2b::B2b(){
	lbdtime = false;
	mjd0 = mjd1 = 0;
	sod0 = sod1 = 0.0;
	/******* if want to use the whole prn list,use this code to update cprn_list,other wise will use  ******/
	cprn_list.clear();
	for(int i = 0 ; i < 32;i++){
		char cprn[4] = {0};
		sprintf(cprn,"G%02d",i + 1);
		cprn_list.push_back(cprn);
	}
	for(int i = 0 ; i < 59;i++){
		char cprn[4] = {0};
		sprintf(cprn,"C%02d",i + 1);
		cprn_list.push_back(cprn);
	}
	/***********************************************************************************/
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xd0, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x80(%rbp)
addq $0x20, %rdi
movq %rdi, -0xa0(%rbp)
callq 0x6090
movq -0x80(%rbp), %rdi
addq $0xd48, %rdi            # imm = 0xD48
movq %rdi, -0x98(%rbp)
callq 0x60d0
movq -0x80(%rbp), %rdi
addq $0xd60, %rdi            # imm = 0xD60
movq %rdi, -0x90(%rbp)
callq 0x60f0
movq -0x80(%rbp), %rdi
addq $0xd78, %rdi            # imm = 0xD78
movq %rdi, -0x88(%rbp)
callq 0x6110
movq -0x80(%rbp), %rdi
movl $0x0, 0x8(%rdi)
movl $0x0, 0x4(%rdi)
movl $0x0, (%rdi)
xorps %xmm0, %xmm0
movsd %xmm0, 0x18(%rdi)
xorps %xmm0, %xmm0
movsd %xmm0, 0x10(%rdi)
addq $0xd78, %rdi            # imm = 0xD78
callq 0x6130
movl $0x0, -0xc(%rbp)
cmpl $0x20, -0xc(%rbp)
jge 0x38c3
movl $0x0, -0x10(%rbp)
movl -0xc(%rbp), %edx
incl %edx
leaq 0x1386c(%rip), %rsi     # 0x17080
xorl %eax, %eax
leaq -0x10(%rbp), %rdi
movq %rdi, -0xb0(%rbp)
callq 0x3080
movq -0x80(%rbp), %rax
addq $0xd78, %rax            # imm = 0xD78
movq %rax, -0xb8(%rbp)
leaq -0x31(%rbp), %rdi
movq %rdi, -0xa8(%rbp)
callq 0x34e0
movq -0xb0(%rbp), %rsi
movq -0xa8(%rbp), %rdx
leaq -0x30(%rbp), %rdi
callq 0x33d0
jmp 0x3860
movq -0xb8(%rbp), %rdi
leaq -0x30(%rbp), %rsi
callq 0x6150
jmp 0x3872
leaq -0x30(%rbp), %rdi
callq 0x31c0
leaq -0x31(%rbp), %rdi
callq 0x3310
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0x37f7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x38b5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x31c0
leaq -0x31(%rbp), %rdi
callq 0x3310
jmp 0x399c
movl $0x0, -0x48(%rbp)
cmpl $0x3b, -0x48(%rbp)
jge 0x3993
movl $0x0, -0x4c(%rbp)
movl -0x48(%rbp), %edx
incl %edx
leaq 0x1379f(%rip), %rsi     # 0x17086
xorl %eax, %eax
leaq -0x4c(%rbp), %rdi
movq %rdi, -0xc8(%rbp)
callq 0x3080
movq -0x80(%rbp), %rax
addq $0xd78, %rax            # imm = 0xD78
movq %rax, -0xd0(%rbp)
leaq -0x71(%rbp), %rdi
movq %rdi, -0xc0(%rbp)
callq 0x34e0
movq -0xc8(%rbp), %rsi
movq -0xc0(%rbp), %rdx
leaq -0x70(%rbp), %rdi
callq 0x33d0
jmp 0x3933
movq -0xd0(%rbp), %rdi
leaq -0x70(%rbp), %rsi
callq 0x6150
jmp 0x3945
leaq -0x70(%rbp), %rdi
callq 0x31c0
leaq -0x71(%rbp), %rdi
callq 0x3310
movl -0x48(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x48(%rbp)
jmp 0x38ca
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x3988
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x70(%rbp), %rdi
callq 0x31c0
leaq -0x71(%rbp), %rdi
callq 0x3310
jmp 0x399c
addq $0xd0, %rsp
popq %rbp
retq
movq -0x88(%rbp), %rdi
callq 0x6180
movq -0x90(%rbp), %rdi
callq 0x61e0
movq -0x98(%rbp), %rdi
callq 0x6240
movq -0xa0(%rbp), %rdi
callq 0x62a0
movq -0x40(%rbp), %rdi
callq 0x34d0
nopw %cs:(%rax,%rax)