// File: /workspace/github_cpp_makefile_star2_O3/suhasjains[P]AMR-Solver/src/input.cpp
// Function: std::read_scalar_fields(std::basic_ifstream<char, std::char_traits<char>>&)
void read_scalar_fields(ifstream& file) {

	string line, str;

	//Skips if a line is empty		
	getline(file, line);
	while(line.empty()) {
		getline(file, line);
	}

	if(line=="scalar_fields") {

		file >> str;
                if(str != "{") {
                        cerr << "Expected an opening bracket" <<endl;
                        exit(1);
                }
		
		cerr << "\nUser defined scalar fields" << endl;

		while(file) { 
	
		
			if(file >> str && str == "}") break;
                        else    myOctree::scalar_fields.push_back(str);
			cerr << str << endl;

		}	
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdi, %rbx
leaq -0x58(%rbp), %rcx
movq %rcx, -0x10(%rcx)
xorl %eax, %eax
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
leaq -0x38(%rbp), %rcx
movq %rcx, -0x10(%rcx)
movq %rax, -0x8(%rcx)
movb %al, (%rcx)
movq (%rdi), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21e0
movsbl %al, %edx
leaq -0x68(%rbp), %rsi
movq %rbx, %rdi
callq 0x2380
leaq -0x68(%rbp), %r14
cmpq $0x0, -0x60(%rbp)
jne 0xb01a
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21e0
movsbl %al, %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2380
jmp 0xafef
leaq 0x6441(%rip), %rsi      # 0x11462
leaq -0x68(%rbp), %rdi
callq 0x20a0
testl %eax, %eax
je 0xb06f
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0xb047
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x2210
movq -0x68(%rbp), %rdi
leaq -0x58(%rbp), %rax
cmpq %rax, %rdi
je 0xb060
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x2210
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq -0x48(%rbp), %rsi
movq %rbx, %rdi
callq 0x2280
leaq 0x63ee(%rip), %rsi      # 0x11470
leaq -0x48(%rbp), %rdi
callq 0x20a0
testl %eax, %eax
jne 0xb177
movq 0x9f56(%rip), %r14      # 0x14ff0
leaq 0x63ed(%rip), %rsi      # 0x1148e
movl $0x1b, %edx
movq %r14, %rdi
callq 0x2240
movq (%r14), %rax
addq -0x18(%rax), %r14
movq %r14, %rdi
movl $0xa, %esi
callq 0x21e0
movsbl %al, %esi
movq 0x9f24(%rip), %rdi      # 0x14ff0
callq 0x2040
movq %rax, %rdi
callq 0x2160
leaq -0x48(%rbp), %r14
leaq 0xa554(%rip), %r12      # 0x15638
movq 0x9f05(%rip), %r13      # 0x14ff0
movq (%rbx), %rax
movq -0x18(%rax), %rax
testb $0x5, 0x20(%rbx,%rax)
jne 0xb02e
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2280
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0xb12d
movq %r14, %rdi
leaq 0x638a(%rip), %rsi      # 0x114aa
callq 0x20a0
testl %eax, %eax
je 0xb02e
movq %r12, %rdi
movq %r14, %rsi
callq 0xd5a6
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
movq %r13, %rdi
callq 0x2240
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x21e0
movsbl %al, %esi
movq %r15, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2160
jmp 0xb0eb
movq 0x9e72(%rip), %rdi      # 0x14ff0
leaq 0x62ed(%rip), %rsi      # 0x11472
movl $0x1b, %edx
callq 0x2240
movq 0x9e5a(%rip), %rdi      # 0x14ff0
callq 0x2100
movl $0x1, %edi
callq 0x2260
jmp 0xb1a9
jmp 0xb1a9
movq %rax, %rbx
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0xb1c5
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x2210
movq -0x68(%rbp), %rdi
leaq -0x58(%rbp), %rax
cmpq %rax, %rdi
je 0xb1de
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x2210
movq %rbx, %rdi
callq 0x2350