	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_tablespace_footer
_add_tablespace_footer:                 ## @add_tablespace_footer
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movq	%rdx, %rbx
	movq	%rdi, %r14
	movq	_RELKIND_RELATION@GOTPCREL(%rip), %rax
	cmpb	%sil, (%rax)
	je	LBB0_7
## %bb.1:
	movq	_RELKIND_MATVIEW@GOTPCREL(%rip), %rax
	cmpb	%sil, (%rax)
	je	LBB0_7
## %bb.2:
	movq	_RELKIND_INDEX@GOTPCREL(%rip), %rax
	cmpb	%sil, (%rax)
	je	LBB0_7
## %bb.3:
	movq	_RELKIND_PARTITIONED_TABLE@GOTPCREL(%rip), %rax
	cmpb	%sil, (%rax)
	je	LBB0_7
## %bb.4:
	movq	_RELKIND_PARTITIONED_INDEX@GOTPCREL(%rip), %rax
	cmpb	%sil, (%rax)
	je	LBB0_7
## %bb.5:
	testq	%rbx, %rbx
	je	LBB0_15
## %bb.6:
	movq	_RELKIND_TOASTVALUE@GOTPCREL(%rip), %rax
	cmpb	%sil, (%rax)
	je	LBB0_8
	jmp	LBB0_15
LBB0_7:
	testq	%rbx, %rbx
	je	LBB0_15
LBB0_8:
	leaq	-40(%rbp), %r12
	movq	%r12, %rdi
	callq	_initPQExpBuffer
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	movq	%rbx, %rdx
	callq	_printfPQExpBuffer
	movl	-40(%rbp), %edi
	callq	_PSQLexec
	testq	%rax, %rax
	je	LBB0_14
## %bb.9:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_PQntuples
	testq	%rax, %rax
	jle	LBB0_13
## %bb.10:
	testl	%r15d, %r15d
	je	LBB0_12
## %bb.11:
	leaq	L_.str.1(%rip), %rdi
	callq	__
	movq	%rax, %r15
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_PQgetvalue
	leaq	-40(%rbp), %rdi
	movq	%r15, %rsi
	movq	%rax, %rdx
	callq	_printfPQExpBuffer
	movl	-40(%rbp), %esi
	movq	%r14, %rdi
	callq	_printTableAddFooter
	jmp	LBB0_13
LBB0_12:
	movq	(%r14), %rax
	movq	(%rax), %rdx
	leaq	L_.str.2(%rip), %rsi
	leaq	-40(%rbp), %r15
	movq	%r15, %rdi
	callq	_printfPQExpBuffer
	leaq	L_.str.3(%rip), %rdi
	callq	__
	movq	%rax, %r12
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_PQgetvalue
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%rax, %rdx
	callq	_appendPQExpBuffer
	movl	-40(%rbp), %esi
	movq	%r14, %rdi
	callq	_printTableSetFooter
LBB0_13:
	movq	%rbx, %rdi
	callq	_PQclear
LBB0_14:
	leaq	-40(%rbp), %rdi
	callq	_termPQExpBuffer
LBB0_15:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RELKIND_RELATION,1,0           ## @RELKIND_RELATION
	.comm	_RELKIND_MATVIEW,1,0            ## @RELKIND_MATVIEW
	.comm	_RELKIND_INDEX,1,0              ## @RELKIND_INDEX
	.comm	_RELKIND_PARTITIONED_TABLE,1,0  ## @RELKIND_PARTITIONED_TABLE
	.comm	_RELKIND_PARTITIONED_INDEX,1,0  ## @RELKIND_PARTITIONED_INDEX
	.comm	_RELKIND_TOASTVALUE,1,0         ## @RELKIND_TOASTVALUE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SELECT spcname FROM pg_catalog.pg_tablespace\nWHERE oid = '%u';"

L_.str.1:                               ## @.str.1
	.asciz	"Tablespace: \"%s\""

L_.str.2:                               ## @.str.2
	.asciz	"%s"

L_.str.3:                               ## @.str.3
	.asciz	", tablespace \"%s\""

	.no_dead_strip	_add_tablespace_footer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_tablespace_footer
_add_tablespace_footer:                 ; @add_tablespace_footer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x3
	mov	x20, x2
	mov	x19, x0
	and	w8, w1, #0xff
Lloh0:
	adrp	x9, _RELKIND_RELATION@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RELKIND_RELATION@GOTPAGEOFF]
	ldrb	w9, [x9]
Lloh2:
	adrp	x10, _RELKIND_MATVIEW@GOTPAGE
Lloh3:
	ldr	x10, [x10, _RELKIND_MATVIEW@GOTPAGEOFF]
	ldrb	w10, [x10]
Lloh4:
	adrp	x11, _RELKIND_INDEX@GOTPAGE
Lloh5:
	ldr	x11, [x11, _RELKIND_INDEX@GOTPAGEOFF]
	ldrb	w11, [x11]
Lloh6:
	adrp	x12, _RELKIND_PARTITIONED_TABLE@GOTPAGE
Lloh7:
	ldr	x12, [x12, _RELKIND_PARTITIONED_TABLE@GOTPAGEOFF]
	ldrb	w12, [x12]
Lloh8:
	adrp	x13, _RELKIND_PARTITIONED_INDEX@GOTPAGE
Lloh9:
	ldr	x13, [x13, _RELKIND_PARTITIONED_INDEX@GOTPAGEOFF]
	ldrb	w13, [x13]
	cmp	w9, w8
	ccmp	w10, w8, #4, ne
	ccmp	w11, w8, #4, ne
	ccmp	w12, w8, #4, ne
	ccmp	w13, w8, #4, ne
	b.ne	LBB0_2
; %bb.1:
	cbnz	x20, LBB0_4
	b	LBB0_11
LBB0_2:
	cbz	x20, LBB0_11
; %bb.3:
Lloh10:
	adrp	x9, _RELKIND_TOASTVALUE@GOTPAGE
Lloh11:
	ldr	x9, [x9, _RELKIND_TOASTVALUE@GOTPAGEOFF]
	ldrb	w9, [x9]
	cmp	w9, w8
	b.ne	LBB0_11
LBB0_4:
	add	x0, sp, #8
	bl	_initPQExpBuffer
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #8
	mov	x2, x20
	bl	_printfPQExpBuffer
	ldr	w0, [sp, #8]
	bl	_PSQLexec
	cbz	x0, LBB0_10
; %bb.5:
	mov	x20, x0
	bl	_PQntuples
	cmp	x0, #1
	b.lt	LBB0_9
; %bb.6:
	cbz	w21, LBB0_8
; %bb.7:
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x21, x0
	mov	x0, x20
	mov	w1, #0
	mov	w2, #0
	bl	_PQgetvalue
	mov	x2, x0
	add	x0, sp, #8
	mov	x1, x21
	bl	_printfPQExpBuffer
	ldr	w1, [sp, #8]
	mov	x0, x19
	bl	_printTableAddFooter
	b	LBB0_9
LBB0_8:
	ldr	x8, [x19]
	ldr	x2, [x8]
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x0, sp, #8
	bl	_printfPQExpBuffer
Lloh18:
	adrp	x0, l_.str.3@PAGE
Lloh19:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	__
	mov	x21, x0
	mov	x0, x20
	mov	w1, #0
	mov	w2, #0
	bl	_PQgetvalue
	mov	x2, x0
	add	x0, sp, #8
	mov	x1, x21
	bl	_appendPQExpBuffer
	ldr	w1, [sp, #8]
	mov	x0, x19
	bl	_printTableSetFooter
LBB0_9:
	mov	x0, x20
	bl	_PQclear
LBB0_10:
	add	x0, sp, #8
	bl	_termPQExpBuffer
LBB0_11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_RELKIND_RELATION,1,0           ; @RELKIND_RELATION
	.comm	_RELKIND_MATVIEW,1,0            ; @RELKIND_MATVIEW
	.comm	_RELKIND_INDEX,1,0              ; @RELKIND_INDEX
	.comm	_RELKIND_PARTITIONED_TABLE,1,0  ; @RELKIND_PARTITIONED_TABLE
	.comm	_RELKIND_PARTITIONED_INDEX,1,0  ; @RELKIND_PARTITIONED_INDEX
	.comm	_RELKIND_TOASTVALUE,1,0         ; @RELKIND_TOASTVALUE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SELECT spcname FROM pg_catalog.pg_tablespace\nWHERE oid = '%u';"

l_.str.1:                               ; @.str.1
	.asciz	"Tablespace: \"%s\""

l_.str.2:                               ; @.str.2
	.asciz	"%s"

l_.str.3:                               ; @.str.3
	.asciz	", tablespace \"%s\""

	.no_dead_strip	_add_tablespace_footer
.subsections_via_symbols
