// File: /workspace/github_c_makefile_star2_O0/annoroad[P]fqtools_plus/fqtools.c
// Function: readn
local int readn(struct space* space){
	if (!space->pool->term) return(0);
	readline* read1 = space->readclass->read1;
	if (!gzgets(g.gzfp1,read1->reads[0],1024)) return(0);
	else g.read1Count++;
	if (!gzgets(g.gzfp1,read1->reads[1],1024))	return(0);
	if (!gzgets(g.gzfp1,read1->reads[2],1024))	return(0);
	if (!gzgets(g.gzfp1,read1->reads[3],1024))	return(0);

	if (g.single_or_pair){
		readline* read2 = space->readclass->read2;
		if (!gzgets(g.gzfp2,read2->reads[0],1024)) return(0);
		else g.read2Count++;
		if (!gzgets(g.gzfp2,read2->reads[1],1024))	return(0);
		if (!gzgets(g.gzfp2,read2->reads[2],1024))	return(0);
		if (!gzgets(g.gzfp2,read2->reads[3],1024))	return(0);
	}
	return(1);
}

// Assembly:
subq $0x28, %rsp
movq %rdi, 0x18(%rsp)
movq 0x18(%rsp), %rax
movq 0x18(%rax), %rax
cmpb $0x0, 0x14(%rax)
jne 0x2da5
movl $0x0, 0x24(%rsp)
jmp 0x2f8c
movq 0x18(%rsp), %rax
movq 0x8(%rax), %rax
movq (%rax), %rax
movq %rax, 0x10(%rsp)
movq 0xa4d3(%rip), %rdi      # 0xd290
movq 0x10(%rsp), %rsi
addq $0x1d, %rsi
movl $0x400, %edx            # imm = 0x400
callq 0x2080
cmpq $0x0, %rax
jne 0x2de3
movl $0x0, 0x24(%rsp)
jmp 0x2f8c
movq 0xa42e(%rip), %rax      # 0xd218
addq $0x1, %rax
movq %rax, 0xa423(%rip)      # 0xd218
movq 0xa494(%rip), %rdi      # 0xd290
movq 0x10(%rsp), %rsi
addq $0x1d, %rsi
addq $0x400, %rsi            # imm = 0x400
movl $0x400, %edx            # imm = 0x400
callq 0x2080
cmpq $0x0, %rax
jne 0x2e29
movl $0x0, 0x24(%rsp)
jmp 0x2f8c
movq 0xa460(%rip), %rdi      # 0xd290
movq 0x10(%rsp), %rsi
addq $0x1d, %rsi
addq $0x800, %rsi            # imm = 0x800
movl $0x400, %edx            # imm = 0x400
callq 0x2080
cmpq $0x0, %rax
jne 0x2e5d
movl $0x0, 0x24(%rsp)
jmp 0x2f8c
movq 0xa42c(%rip), %rdi      # 0xd290
movq 0x10(%rsp), %rsi
addq $0x1d, %rsi
addq $0xc00, %rsi            # imm = 0xC00
movl $0x400, %edx            # imm = 0x400
callq 0x2080
cmpq $0x0, %rax
jne 0x2e91
movl $0x0, 0x24(%rsp)
jmp 0x2f8c
cmpb $0x0, 0xa340(%rip)      # 0xd1d8
je 0x2f84
movq 0x18(%rsp), %rax
movq 0x8(%rax), %rax
movq 0x8(%rax), %rax
movq %rax, 0x8(%rsp)
movq 0xa3e1(%rip), %rdi      # 0xd298
movq 0x8(%rsp), %rsi
addq $0x1d, %rsi
movl $0x400, %edx            # imm = 0x400
callq 0x2080
cmpq $0x0, %rax
jne 0x2edd
movl $0x0, 0x24(%rsp)
jmp 0x2f8c
movq 0xa33c(%rip), %rax      # 0xd220
addq $0x1, %rax
movq %rax, 0xa331(%rip)      # 0xd220
movq 0xa3a2(%rip), %rdi      # 0xd298
movq 0x8(%rsp), %rsi
addq $0x1d, %rsi
addq $0x400, %rsi            # imm = 0x400
movl $0x400, %edx            # imm = 0x400
callq 0x2080
cmpq $0x0, %rax
jne 0x2f20
movl $0x0, 0x24(%rsp)
jmp 0x2f8c
movq 0xa371(%rip), %rdi      # 0xd298
movq 0x8(%rsp), %rsi
addq $0x1d, %rsi
addq $0x800, %rsi            # imm = 0x800
movl $0x400, %edx            # imm = 0x400
callq 0x2080
cmpq $0x0, %rax
jne 0x2f51
movl $0x0, 0x24(%rsp)
jmp 0x2f8c
movq 0xa340(%rip), %rdi      # 0xd298
movq 0x8(%rsp), %rsi
addq $0x1d, %rsi
addq $0xc00, %rsi            # imm = 0xC00
movl $0x400, %edx            # imm = 0x400
callq 0x2080
cmpq $0x0, %rax
jne 0x2f82
movl $0x0, 0x24(%rsp)
jmp 0x2f8c
jmp 0x2f84
movl $0x1, 0x24(%rsp)
movl 0x24(%rsp), %eax
addq $0x28, %rsp
retq
nopw %cs:(%rax,%rax)