// File: /workspace/github_cpp_makefile_star2_O1/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 0x21d0
movsbl %al, %edx
leaq -0x68(%rbp), %rsi
movq %rbx, %rdi
callq 0x2370
leaq -0x68(%rbp), %r14
cmpq $0x0, -0x60(%rbp)
jne 0xb016
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %edx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2370
jmp 0xafeb
leaq 0x6417(%rip), %rsi      # 0x11434
leaq -0x68(%rbp), %rdi
callq 0x20a0
testl %eax, %eax
je 0xb06b
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0xb043
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x2200
movq -0x68(%rbp), %rdi
leaq -0x58(%rbp), %rax
cmpq %rax, %rdi
je 0xb05c
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x2200
addq $0x48, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq -0x48(%rbp), %rsi
movq %rbx, %rdi
callq 0x2270
leaq 0x63c4(%rip), %rsi      # 0x11442
leaq -0x48(%rbp), %rdi
callq 0x20a0
testl %eax, %eax
jne 0xb173
movq 0x9f5a(%rip), %r14      # 0x14ff0
leaq 0x63c3(%rip), %rsi      # 0x11460
movl $0x1b, %edx
movq %r14, %rdi
callq 0x2230
movq (%r14), %rax
addq -0x18(%rax), %r14
movq %r14, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq 0x9f28(%rip), %rdi      # 0x14ff0
callq 0x2040
movq %rax, %rdi
callq 0x2150
leaq -0x48(%rbp), %r14
leaq 0xa548(%rip), %r12      # 0x15628
movq 0x9f09(%rip), %r13      # 0x14ff0
movq (%rbx), %rax
movq -0x18(%rax), %rax
testb $0x5, 0x20(%rbx,%rax)
jne 0xb02a
movq %rbx, %rdi
movq %r14, %rsi
callq 0x2270
movq (%rax), %rcx
movq -0x18(%rcx), %rcx
testb $0x5, 0x20(%rax,%rcx)
jne 0xb129
movq %r14, %rdi
leaq 0x6360(%rip), %rsi      # 0x1147c
callq 0x20a0
testl %eax, %eax
je 0xb02a
movq %r12, %rdi
movq %r14, %rsi
callq 0xd5a2
movq -0x48(%rbp), %rsi
movq -0x40(%rbp), %rdx
movq %r13, %rdi
callq 0x2230
movq %rax, %r15
movq (%rax), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq %r15, %rdi
callq 0x2040
movq %rax, %rdi
callq 0x2150
jmp 0xb0e7
movq 0x9e76(%rip), %rdi      # 0x14ff0
leaq 0x62c3(%rip), %rsi      # 0x11444
movl $0x1b, %edx
callq 0x2230
movq 0x9e5e(%rip), %rdi      # 0x14ff0
callq 0x2100
movl $0x1, %edi
callq 0x2250
jmp 0xb1a5
jmp 0xb1a5
movq %rax, %rbx
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0xb1c1
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x2200
movq -0x68(%rbp), %rdi
leaq -0x58(%rbp), %rax
cmpq %rax, %rdi
je 0xb1da
movq -0x58(%rbp), %rsi
incq %rsi
callq 0x2200
movq %rbx, %rdi
callq 0x2340