	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_libpqProcessFileList           ## -- Begin function libpqProcessFileList
	.p2align	4, 0x90
_libpqProcessFileList:                  ## @libpqProcessFileList
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_conn@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_PQexec
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_PQresultStatus
	movq	_PGRES_TUPLES_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_PQresultErrorMessage
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_pg_fatal
LBB0_2:
	movq	%r14, %rdi
	callq	_PQnfields
	cmpl	$4, %eax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_pg_fatal
LBB0_4:
	movq	%r14, %rdi
	callq	_PQntuples
	testl	%eax, %eax
	jle	LBB0_13
## %bb.5:
	xorl	%ebx, %ebx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	(%rax), %esi
	movl	%r13d, %edx
	movq	%r15, %rcx
	callq	_process_source_file
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=1
	incl	%ebx
	movq	%r14, %rdi
	callq	_PQntuples
	cmpl	%eax, %ebx
	jge	LBB0_13
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	callq	_PQgetvalue
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	$1, %edx
	callq	_PQgetvalue
	movq	%rax, %rdi
	callq	_atol
	movl	%eax, %r13d
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	$2, %edx
	callq	_PQgetvalue
	movq	%rax, %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_strcmp
	movq	%rax, %r12
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	$3, %edx
	callq	_PQgetvalue
	movq	%rax, %r15
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_PQgetisnull
	testq	%rax, %rax
	jne	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	_FILE_TYPE_REGULAR@GOTPCREL(%rip), %rax
	testq	%r12, %r12
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	_FILE_TYPE_DIRECTORY@GOTPCREL(%rip), %rax
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	cmpb	$0, (%r15)
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	_FILE_TYPE_SYMLINK@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_13:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PQclear                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"WITH RECURSIVE files (path, filename, size, isdir) AS (\n  SELECT '' AS path, filename, size, isdir FROM\n  (SELECT pg_ls_dir('.', true, false) AS filename) AS fn,\n        pg_stat_file(fn.filename, true) AS this\n  UNION ALL\n  SELECT parent.path || parent.filename || '/' AS path,\n         fn, this.size, this.isdir\n  FROM files AS parent,\n       pg_ls_dir(parent.path || parent.filename, true, false) AS fn,\n       pg_stat_file(parent.path || parent.filename || '/' || fn, true) AS this\n       WHERE parent.isdir = 't'\n)\nSELECT path || filename, size, isdir,\n       pg_tablespace_location(pg_tablespace.oid) AS link_target\nFROM files\nLEFT OUTER JOIN pg_tablespace ON files.path = 'pg_tblspc/'\n                             AND oid::text = files.filename\n"

	.comm	_conn,4,2                       ## @conn
	.comm	_PGRES_TUPLES_OK,8,3            ## @PGRES_TUPLES_OK
L_.str.1:                               ## @.str.1
	.asciz	"could not fetch file list: %s"

L_.str.2:                               ## @.str.2
	.asciz	"unexpected result set while fetching file list"

L_.str.3:                               ## @.str.3
	.asciz	"t"

	.comm	_FILE_TYPE_SYMLINK,4,2          ## @FILE_TYPE_SYMLINK
	.comm	_FILE_TYPE_DIRECTORY,4,2        ## @FILE_TYPE_DIRECTORY
	.comm	_FILE_TYPE_REGULAR,4,2          ## @FILE_TYPE_REGULAR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_libpqProcessFileList           ; -- Begin function libpqProcessFileList
	.p2align	2
_libpqProcessFileList:                  ; @libpqProcessFileList
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
Lloh0:
	adrp	x8, _conn@GOTPAGE
Lloh1:
	ldr	x8, [x8, _conn@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_PQexec
	mov	x19, x0
	bl	_PQresultStatus
Lloh5:
	adrp	x8, _PGRES_TUPLES_OK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PGRES_TUPLES_OK@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_PQresultErrorMessage
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pg_fatal
LBB0_2:
	mov	x0, x19
	bl	_PQnfields
	cmp	w0, #4
	b.eq	LBB0_4
; %bb.3:
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pg_fatal
LBB0_4:
	mov	x0, x19
	bl	_PQntuples
	cmp	w0, #1
	b.lt	LBB0_9
; %bb.5:
	mov	w20, #0
Lloh12:
	adrp	x26, _FILE_TYPE_DIRECTORY@GOTPAGE
Lloh13:
	ldr	x26, [x26, _FILE_TYPE_DIRECTORY@GOTPAGEOFF]
Lloh14:
	adrp	x27, _FILE_TYPE_REGULAR@GOTPAGE
Lloh15:
	ldr	x27, [x27, _FILE_TYPE_REGULAR@GOTPAGEOFF]
Lloh16:
	adrp	x21, l_.str.3@PAGE
Lloh17:
	add	x21, x21, l_.str.3@PAGEOFF
Lloh18:
	adrp	x28, _FILE_TYPE_SYMLINK@GOTPAGE
Lloh19:
	ldr	x28, [x28, _FILE_TYPE_SYMLINK@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	w20, w20, #1
	mov	x0, x19
	bl	_PQntuples
	cmp	w20, w0
	b.ge	LBB0_9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	bl	_PQgetvalue
	mov	x22, x0
	mov	x0, x19
	mov	x1, x20
	mov	w2, #1
	bl	_PQgetvalue
	bl	_atol
	mov	x23, x0
	mov	x0, x19
	mov	x1, x20
	mov	w2, #2
	bl	_PQgetvalue
	mov	x1, x21
	bl	_strcmp
	mov	x25, x0
	mov	x0, x19
	mov	x1, x20
	mov	w2, #3
	bl	_PQgetvalue
	mov	x24, x0
	mov	x0, x19
	mov	w1, #0
	mov	w2, #1
	bl	_PQgetisnull
	cbnz	x0, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldrb	w8, [x24]
	cmp	x25, #0
	csel	x9, x26, x27, eq
	cmp	w8, #0
	csel	x8, x9, x28, eq
	ldr	w1, [x8]
	mov	x0, x22
	mov	x2, x23
	mov	x3, x24
	bl	_process_source_file
	b	LBB0_6
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_PQclear
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WITH RECURSIVE files (path, filename, size, isdir) AS (\n  SELECT '' AS path, filename, size, isdir FROM\n  (SELECT pg_ls_dir('.', true, false) AS filename) AS fn,\n        pg_stat_file(fn.filename, true) AS this\n  UNION ALL\n  SELECT parent.path || parent.filename || '/' AS path,\n         fn, this.size, this.isdir\n  FROM files AS parent,\n       pg_ls_dir(parent.path || parent.filename, true, false) AS fn,\n       pg_stat_file(parent.path || parent.filename || '/' || fn, true) AS this\n       WHERE parent.isdir = 't'\n)\nSELECT path || filename, size, isdir,\n       pg_tablespace_location(pg_tablespace.oid) AS link_target\nFROM files\nLEFT OUTER JOIN pg_tablespace ON files.path = 'pg_tblspc/'\n                             AND oid::text = files.filename\n"

	.comm	_conn,4,2                       ; @conn
	.comm	_PGRES_TUPLES_OK,8,3            ; @PGRES_TUPLES_OK
l_.str.1:                               ; @.str.1
	.asciz	"could not fetch file list: %s"

l_.str.2:                               ; @.str.2
	.asciz	"unexpected result set while fetching file list"

l_.str.3:                               ; @.str.3
	.asciz	"t"

	.comm	_FILE_TYPE_SYMLINK,4,2          ; @FILE_TYPE_SYMLINK
	.comm	_FILE_TYPE_DIRECTORY,4,2        ; @FILE_TYPE_DIRECTORY
	.comm	_FILE_TYPE_REGULAR,4,2          ; @FILE_TYPE_REGULAR
.subsections_via_symbols
