	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PQdisplayTuples                ## -- Begin function PQdisplayTuples
	.p2align	4, 0x90
_PQdisplayTuples:                       ## @PQdisplayTuples
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r13d
	movl	%r8d, -68(%rbp)                 ## 4-byte Spill
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %r14
	testq	%rcx, %rcx
	leaq	L_.str(%rip), %rax
	cmovneq	%rcx, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	callq	_PQnfields
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_PQntuples
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	testq	%r15, %r15
	jne	LBB0_2
## %bb.1:
	movq	_stdout@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
LBB0_2:
	movl	%ebx, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movl	%r13d, -72(%rbp)                ## 4-byte Spill
	je	LBB0_3
## %bb.4:
	leal	(,%rbx,4), %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_38
## %bb.5:
	movq	%rax, %r12
	testl	%ebx, %ebx
	jle	LBB0_14
## %bb.6:
	xorl	%r13d, %r13d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	incq	%r13
	cmpq	-56(%rbp), %r13                 ## 8-byte Folded Reload
	je	LBB0_13
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_PQfname
	movq	%rax, %rdi
	callq	_strlen
	movl	%eax, (%r12,%r13,4)
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=2
	incl	%ebx
	cmpl	%ebx, -44(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_12
LBB0_9:                                 ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%r13d, %edx
	callq	_PQgetlength
	cmpl	(%r12,%r13,4), %eax
	jle	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	movl	%eax, (%r12,%r13,4)
	jmp	LBB0_11
LBB0_13:
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
LBB0_14:
	cmpl	$0, -68(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_15
LBB0_26:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jg	LBB0_27
	jmp	LBB0_34
LBB0_3:
	xorl	%r12d, %r12d
	cmpl	$0, -68(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_26
LBB0_15:
	testl	%ebx, %ebx
	jle	LBB0_16
## %bb.17:
	xorl	%r13d, %r13d
	jmp	LBB0_18
	.p2align	4, 0x90
LBB0_20:                                ##   in Loop: Header=BB0_18 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_fputs
	incq	%r13
	cmpq	%r13, -56(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_21
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_PQfname
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_fputs
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_PQfname
	movq	%rax, %rdi
	callq	_strlen
	movl	(%r12,%r13,4), %esi
	movl	%eax, %edi
	movl	$32, %edx
	movq	%r15, %rcx
	callq	_fill
	jmp	LBB0_20
LBB0_21:
	movl	$10, %edi
	movq	%r15, %rsi
	callq	_fputc
	xorl	%ebx, %ebx
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_22 Depth=1
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_fputs
	incq	%rbx
	cmpq	%rbx, -56(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_25
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_22 Depth=1
	movl	(%r12,%rbx,4), %esi
	xorl	%edi, %edi
	movl	$45, %edx
	movq	%r15, %rcx
	callq	_fill
	jmp	LBB0_24
LBB0_16:
	movl	$10, %edi
	movq	%r15, %rsi
	callq	_fputc
LBB0_25:
	movl	$10, %edi
	movq	%r15, %rsi
	callq	_fputc
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_34
LBB0_27:
	xorl	%r13d, %r13d
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_33:                                ##   in Loop: Header=BB0_28 Depth=1
	movl	$10, %edi
	movq	%r15, %rsi
	callq	_fputc
	incl	%r13d
	cmpl	-44(%rbp), %r13d                ## 4-byte Folded Reload
	je	LBB0_34
LBB0_28:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_30 Depth 2
	cmpl	$0, -80(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_33
## %bb.29:                              ##   in Loop: Header=BB0_28 Depth=1
	xorl	%ebx, %ebx
	jmp	LBB0_30
	.p2align	4, 0x90
LBB0_32:                                ##   in Loop: Header=BB0_30 Depth=2
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	callq	_fputs
	incq	%rbx
	cmpq	%rbx, -56(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_33
LBB0_30:                                ##   Parent Loop BB0_28 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r14, %rdi
	movl	%r13d, %esi
	movl	%ebx, %edx
	callq	_PQgetvalue
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_fputs
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_32
## %bb.31:                              ##   in Loop: Header=BB0_30 Depth=2
	movq	%r14, %rdi
	movl	%r13d, %esi
	movl	%ebx, %edx
	callq	_PQgetvalue
	movq	%rax, %rdi
	callq	_strlen
	movl	(%r12,%rbx,4), %esi
	movl	%eax, %edi
	movl	$32, %edx
	movq	%r15, %rcx
	callq	_fill
	jmp	LBB0_32
LBB0_34:
	cmpl	$0, -72(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_36
## %bb.35:
	movq	%r14, %rdi
	callq	_PQntuples
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_PQntuples
	cmpl	$1, %eax
	leaq	L_.str.5(%rip), %rax
	leaq	L_.str.6(%rip), %rcx
	cmoveq	%rax, %rcx
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_fprintf
LBB0_36:
	movq	%r15, %rdi
	callq	_fflush
	testq	%r12, %r12
	je	LBB0_37
## %bb.39:
	movq	%r12, %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
LBB0_37:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_38:
	movq	_stderr@GOTPCREL(%rip), %rax
	movslq	(%rax), %rbx
	leaq	L_.str.1(%rip), %rdi
	callq	_libpq_gettext
	movq	%rbx, %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_fprintf
	xorl	%eax, %eax
	callq	_abort
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" "

	.comm	_stdout,8,3                     ## @stdout
	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"out of memory\n"

L_.str.4:                               ## @.str.4
	.asciz	"\nQuery returned %d row%s.\n"

L_.str.5:                               ## @.str.5
	.space	1

L_.str.6:                               ## @.str.6
	.asciz	"s"

	.comm	_DEFAULT_FIELD_SEP,8,3          ## @DEFAULT_FIELD_SEP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_PQdisplayTuples                ; -- Begin function PQdisplayTuples
	.p2align	2
_PQdisplayTuples:                       ; @PQdisplayTuples
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x5
	mov	x27, x4
	mov	x23, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, l_.str@PAGE
Lloh1:
	add	x8, x8, l_.str@PAGEOFF
	cmp	x3, #0
	csel	x24, x8, x3, eq
	bl	_PQnfields
	mov	x25, x0
	mov	x0, x20
	bl	_PQntuples
	mov	x26, x0
Lloh2:
	adrp	x8, _stdout@GOTPAGE
Lloh3:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x19, #0
	csel	x19, x8, x19, eq
	str	w22, [sp, #28]                  ; 4-byte Folded Spill
	cbz	w23, LBB0_13
; %bb.1:
	lsl	w0, w25, #2
	bl	_malloc
	cbz	x0, LBB0_37
; %bb.2:
	mov	x21, x0
	cmp	w25, #1
	b.lt	LBB0_11
; %bb.3:
	str	w27, [sp, #24]                  ; 4-byte Folded Spill
	mov	x28, #0
	mov	w27, w25
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x28, x28, #1
	cmp	x28, x27
	b.eq	LBB0_10
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	mov	x0, x20
	mov	x1, x28
	bl	_PQfname
	bl	_strlen
	str	w0, [x21, x28, lsl #2]
	cmp	w26, #1
	b.lt	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w22, #0
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=2
	add	w22, w22, #1
	cmp	w26, w22
	b.eq	LBB0_4
LBB0_8:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x20
	mov	x1, x22
	mov	x2, x28
	bl	_PQgetlength
	ldr	w8, [x21, x28, lsl #2]
	cmp	w0, w8
	b.le	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	str	w0, [x21, x28, lsl #2]
	b	LBB0_7
LBB0_10:
	ldr	w27, [sp, #24]                  ; 4-byte Folded Reload
LBB0_11:
	cbnz	w27, LBB0_14
LBB0_12:
	cmp	w26, #1
	b.ge	LBB0_25
	b	LBB0_32
LBB0_13:
	mov	x21, #0
	cbz	w27, LBB0_12
LBB0_14:
	cmp	w25, #0
	b.le	LBB0_23
; %bb.15:
	mov	x27, #0
	mov	w22, w25
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_17 Depth=1
	mov	x0, x24
	mov	x1, x19
	bl	_fputs
	add	x27, x27, #1
	cmp	x22, x27
	b.eq	LBB0_19
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x27
	bl	_PQfname
	mov	x1, x19
	bl	_fputs
	cbz	w23, LBB0_16
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	mov	x0, x20
	mov	x1, x27
	bl	_PQfname
	bl	_strlen
	ldr	w1, [x21, x27, lsl #2]
	mov	w2, #32
	mov	x3, x19
	bl	_fill
	b	LBB0_16
LBB0_19:
	mov	w0, #10
	mov	x1, x19
	bl	_fputc
	mov	x27, x21
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_21 Depth=1
	mov	x0, x24
	mov	x1, x19
	bl	_fputs
	add	x27, x27, #4
	subs	x22, x22, #1
	b.eq	LBB0_24
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	cbz	w23, LBB0_20
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	w1, [x27]
	mov	w0, #0
	mov	w2, #45
	mov	x3, x19
	bl	_fill
	b	LBB0_20
LBB0_23:
	mov	w0, #10
	mov	x1, x19
	bl	_fputc
LBB0_24:
	mov	w0, #10
	mov	x1, x19
	bl	_fputc
	cmp	w26, #1
	b.lt	LBB0_32
LBB0_25:
	mov	w27, #0
	mov	w22, w25
	b	LBB0_27
LBB0_26:                                ;   in Loop: Header=BB0_27 Depth=1
	mov	w0, #10
	mov	x1, x19
	bl	_fputc
	add	w27, w27, #1
	cmp	w27, w26
	b.eq	LBB0_32
LBB0_27:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_30 Depth 2
	cmp	w25, #1
	b.lt	LBB0_26
; %bb.28:                               ;   in Loop: Header=BB0_27 Depth=1
	mov	x28, #0
	b	LBB0_30
LBB0_29:                                ;   in Loop: Header=BB0_30 Depth=2
	mov	x0, x24
	mov	x1, x19
	bl	_fputs
	add	x28, x28, #1
	cmp	x22, x28
	b.eq	LBB0_26
LBB0_30:                                ;   Parent Loop BB0_27 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x20
	mov	x1, x27
	mov	x2, x28
	bl	_PQgetvalue
	mov	x1, x19
	bl	_fputs
	cbz	w23, LBB0_29
; %bb.31:                               ;   in Loop: Header=BB0_30 Depth=2
	mov	x0, x20
	mov	x1, x27
	mov	x2, x28
	bl	_PQgetvalue
	bl	_strlen
	ldr	w1, [x21, x28, lsl #2]
	mov	w2, #32
	mov	x3, x19
	bl	_fill
	b	LBB0_29
LBB0_32:
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	cbnz	w8, LBB0_34
; %bb.33:
	mov	x0, x20
	bl	_PQntuples
	mov	x22, x0
	mov	x0, x20
	bl	_PQntuples
Lloh5:
	adrp	x8, l_.str.6@PAGE
Lloh6:
	add	x8, x8, l_.str.6@PAGEOFF
Lloh7:
	adrp	x9, l_.str.5@PAGE
Lloh8:
	add	x9, x9, l_.str.5@PAGEOFF
	cmp	w0, #1
	csel	x8, x9, x8, eq
	stp	x22, x8, [sp]
Lloh9:
	adrp	x1, l_.str.4@PAGE
Lloh10:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_fprintf
LBB0_34:
	mov	x0, x19
	bl	_fflush
	cbz	x21, LBB0_36
; %bb.35:
	mov	x0, x21
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_free
LBB0_36:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_37:
Lloh11:
	adrp	x8, _stderr@GOTPAGE
Lloh12:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh13:
	ldrsw	x19, [x8]
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_libpq_gettext
	mov	x1, x0
	mov	x0, x19
	bl	_fprintf
	bl	_abort
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" "

	.comm	_stdout,8,3                     ; @stdout
	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"out of memory\n"

l_.str.4:                               ; @.str.4
	.asciz	"\nQuery returned %d row%s.\n"

l_.str.5:                               ; @.str.5
	.space	1

l_.str.6:                               ; @.str.6
	.asciz	"s"

	.comm	_DEFAULT_FIELD_SEP,8,3          ; @DEFAULT_FIELD_SEP
.subsections_via_symbols
