	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function PrintQueryTuples
_PrintQueryTuples:                      ## @PrintQueryTuples
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	_pset@GOTPCREL(%rip), %rbx
	cmpq	$0, 24(%rbx)
	movl	$1, %eax
	jne	LBB0_2
## %bb.1:
	movl	32(%rbx), %eax
LBB0_2:
	movl	%eax, -24(%rbp)
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.3:
	leaq	-40(%rbp), %rsi
	leaq	-28(%rbp), %rdx
	callq	_openQueryOutputFile
	testl	%eax, %eax
	je	LBB0_9
## %bb.4:
	cmpl	$0, -28(%rbp)
	je	LBB0_6
## %bb.5:
	xorl	%eax, %eax
	callq	_disable_sigpipe_trap
LBB0_6:
	movq	-40(%rbp), %rdx
	movl	(%rbx), %r8d
	leaq	-24(%rbp), %rsi
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_printQuery
	cmpl	$0, -28(%rbp)
	movq	-40(%rbp), %rdi
	je	LBB0_10
## %bb.7:
	callq	_pclose
	xorl	%eax, %eax
	callq	_restore_sigpipe_trap
	jmp	LBB0_11
LBB0_8:
	movq	8(%rbx), %rdx
	movl	(%rbx), %r8d
	leaq	-24(%rbp), %rsi
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	callq	_printQuery
	jmp	LBB0_11
LBB0_9:
	xorl	%eax, %eax
	jmp	LBB0_12
LBB0_10:
	callq	_fclose
LBB0_11:
	movl	$1, %eax
LBB0_12:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pset,40,3                      ## @pset
	.no_dead_strip	_PrintQueryTuples
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function PrintQueryTuples
_PrintQueryTuples:                      ; @PrintQueryTuples
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x20, _pset@GOTPAGE
Lloh1:
	ldr	x20, [x20, _pset@GOTPAGEOFF]
	ldr	w8, [x20, #32]
	ldp	x0, x9, [x20, #16]
	cmp	x9, #0
	csinc	w8, w8, wzr, eq
	str	w8, [sp, #24]
	cbz	x0, LBB0_6
; %bb.1:
	add	x1, sp, #16
	add	x2, sp, #12
	bl	_openQueryOutputFile
	cbz	w0, LBB0_9
; %bb.2:
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_4
; %bb.3:
	bl	_disable_sigpipe_trap
LBB0_4:
	ldr	x2, [sp, #16]
	ldr	w4, [x20]
	add	x1, sp, #24
	mov	x0, x19
	mov	w3, #0
	bl	_printQuery
	ldr	w8, [sp, #12]
	ldr	x0, [sp, #16]
	cbz	w8, LBB0_7
; %bb.5:
	bl	_pclose
	bl	_restore_sigpipe_trap
	b	LBB0_8
LBB0_6:
	ldr	x2, [x20, #8]
	ldr	w4, [x20]
	add	x1, sp, #24
	mov	x0, x19
	mov	w3, #0
	bl	_printQuery
	b	LBB0_8
LBB0_7:
	bl	_fclose
LBB0_8:
	mov	w0, #1
LBB0_9:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_pset,40,3                      ; @pset
	.no_dead_strip	_PrintQueryTuples
.subsections_via_symbols
