	.file	"extr_common.c_PrintQueryTuples.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	PrintQueryTuples, @function
PrintQueryTuples:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	sub	rsp, 32
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR pset[rip+32]
	cmp	QWORD PTR pset[rip+24], 0
	mov	DWORD PTR 8[rsp], eax
	je	.L2
	mov	DWORD PTR 8[rsp], 1
.L2:
	mov	rdi, QWORD PTR pset[rip+16]
	test	rdi, rdi
	je	.L3
	lea	rdx, 12[rsp]
	lea	rsi, 16[rsp]
	call	openQueryOutputFile@PLT
	test	eax, eax
	je	.L1
	mov	edx, DWORD PTR 12[rsp]
	test	edx, edx
	jne	.L13
.L6:
	mov	rdx, QWORD PTR 16[rsp]
	mov	rdi, rbp
	lea	rsi, 8[rsp]
	xor	ecx, ecx
	mov	r8d, DWORD PTR pset[rip]
	call	printQuery@PLT
	mov	eax, DWORD PTR 12[rsp]
	mov	rdi, QWORD PTR 16[rsp]
	test	eax, eax
	je	.L7
	call	pclose@PLT
	xor	eax, eax
	call	restore_sigpipe_trap@PLT
	mov	eax, 1
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L14
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	r8d, DWORD PTR pset[rip]
	mov	rdx, QWORD PTR pset[rip+8]
	lea	rsi, 8[rsp]
	xor	ecx, ecx
	mov	rdi, rbp
	call	printQuery@PLT
.L11:
	mov	eax, 1
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L7:
	call	fclose@PLT
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L13:
	xor	eax, eax
	call	disable_sigpipe_trap@PLT
	jmp	.L6
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	PrintQueryTuples, .-PrintQueryTuples
	.comm	pset,40,32
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_common.c_PrintQueryTuples.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	PrintQueryTuples, %function
PrintQueryTuples:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r4, .L21
	sub	sp, sp, #28
	ldr	r2, [r4, #12]
	ldr	r3, [r4, #16]
	cmp	r2, #0
	ldr	r2, .L21+4
	mov	r5, r0
	ldr	r2, [r2]
	str	r2, [sp, #20]
	mov	r2,#0
	str	r3, [sp, #8]
	movne	r3, #1
	strne	r3, [sp, #8]
	ldr	r3, [r4, #8]
	cmp	r3, #0
	beq	.L3
	mov	r0, r3
	add	r2, sp, #16
	add	r1, sp, #12
	bl	openQueryOutputFile
	cmp	r0, #0
	beq	.L1
	ldr	r3, [sp, #16]
	cmp	r3, #0
	bne	.L19
.L6:
	ldr	r3, [r4]
	mov	r0, r5
	str	r3, [sp]
	ldr	r2, [sp, #12]
	mov	r3, #0
	add	r1, sp, #8
	bl	printQuery
	ldr	r3, [sp, #16]
	ldr	r0, [sp, #12]
	cmp	r3, #0
	beq	.L7
	bl	pclose
	bl	restore_sigpipe_trap
	mov	r0, #1
.L1:
	ldr	r3, .L21+4
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L20
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, pc}
.L3:
	ldr	r2, [r4]
	add	r1, sp, #8
	str	r2, [sp]
	ldr	r2, [r4, #4]
	bl	printQuery
.L17:
	mov	r0, #1
	b	.L1
.L7:
	bl	fclose
	b	.L17
.L19:
	bl	disable_sigpipe_trap
	b	.L6
.L20:
	bl	__stack_chk_fail
.L22:
	.align	2
.L21:
	.word	pset
	.word	.LC0
	.size	PrintQueryTuples, .-PrintQueryTuples
	.comm	pset,20,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
