	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getPublicationTables           ## -- Begin function getPublicationTables
	.p2align	4, 0x90
_getPublicationTables:                  ## @getPublicationTables
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %rax
	cmpq	$0, (%rax)
	jne	LBB0_13
## %bb.1:
	movq	%rdi, %r12
	cmpl	$100000, (%rdi)                 ## imm = 0x186A0
	jge	LBB0_2
LBB0_13:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	%edx, %r14d
	movq	%rsi, %r13
	xorl	%eax, %eax
	callq	_createPQExpBuffer
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	testl	%r14d, %r14d
	jle	LBB0_12
## %bb.3:
	movl	%r14d, %ecx
	xorl	%edx, %edx
	movq	_RELKIND_RELATION@GOTPCREL(%rip), %rsi
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	callq	_PQclear
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movq	_RELKIND_RELATION@GOTPCREL(%rip), %rsi
LBB0_11:                                ##   in Loop: Header=BB0_4 Depth=1
	incq	%rdx
	cmpq	%rcx, %rdx
	je	LBB0_12
LBB0_4:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
	movq	%rdx, %r15
	shlq	$5, %r15
	movq	(%r13,%r15), %rax
	cmpq	(%rsi), %rax
	jne	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_DUMP_COMPONENT_DEFINITION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%r13,%r15)
	je	LBB0_11
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	movq	16(%r13,%r15), %rax
	movl	(%rax), %esi
	movl	12(%r13,%r15), %edx
	leaq	L_.str(%rip), %rdi
	callq	_pg_log_info
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_resetPQExpBuffer
	movl	24(%r13,%r15), %edx
	movq	%rbx, %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_appendPQExpBuffer
	movl	(%rbx), %esi
	movq	_PGRES_TUPLES_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_ExecuteSqlQuery
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_PQntuples
	testl	%eax, %eax
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%eax, %r13d
	movq	%r12, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_PQfnumber
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_PQfnumber
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_PQfnumber
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	imull	$56, %r13d, %edi
	callq	_pg_malloc
	testl	%r13d, %r13d
	jle	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %rbx
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leaq	(%rax,%r15), %rcx
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	addq	%rax, %r15
	addq	$16, %r15
	movl	%r13d, %r14d
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_9:                                 ##   Parent Loop BB0_4 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	_DO_PUBLICATION_REL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	callq	_PQgetvalue
	movl	%eax, %edi
	callq	_atooid
	movq	%rax, 24(%rbx)
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_PQgetvalue
	movl	%eax, %edi
	callq	_atooid
	movq	%rax, 16(%rbx)
	movq	%rbx, %rdi
	callq	_AssignDumpId
	movq	(%r15), %rax
	movq	%rax, 8(%rbx)
	movl	-4(%r15), %eax
	movl	%eax, (%rbx)
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_PQgetvalue
	movl	%eax, %edi
	callq	_pg_strdup
	movl	%eax, 48(%rbx)
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	%rax, 40(%rbx)
	movq	%rbx, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_selectDumpablePublicationTable
	incq	%r13
	addq	$56, %rbx
	cmpq	%r13, %r14
	jne	LBB0_9
	jmp	LBB0_10
LBB0_12:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_destroyPQExpBuffer             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RELKIND_RELATION,8,3           ## @RELKIND_RELATION
	.comm	_DUMP_COMPONENT_DEFINITION,4,2  ## @DUMP_COMPONENT_DEFINITION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"reading publication membership for table \"%s.%s\""

L_.str.1:                               ## @.str.1
	.asciz	"SELECT pr.tableoid, pr.oid, p.pubname FROM pg_publication_rel pr, pg_publication p WHERE pr.prrelid = '%u'  AND p.oid = pr.prpubid"

	.comm	_PGRES_TUPLES_OK,4,2            ## @PGRES_TUPLES_OK
L_.str.2:                               ## @.str.2
	.asciz	"tableoid"

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

L_.str.4:                               ## @.str.4
	.asciz	"pubname"

	.comm	_DO_PUBLICATION_REL,4,2         ## @DO_PUBLICATION_REL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_getPublicationTables           ; -- Begin function getPublicationTables
	.p2align	2
_getPublicationTables:                  ; @getPublicationTables
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	cbnz	x8, LBB0_2
; %bb.1:
	mov	x23, x0
	ldr	w8, [x0]
	mov	w9, #34464
	movk	w9, #1, lsl #16
	cmp	w8, w9
	b.ge	LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_3:
	mov	x22, x2
	mov	x20, x1
	bl	_createPQExpBuffer
	str	x0, [sp, #24]                   ; 8-byte Folded Spill
	cmp	w22, #1
	b.lt	LBB0_13
; %bb.4:
	mov	x21, #0
Lloh0:
	adrp	x10, _RELKIND_RELATION@GOTPAGE
Lloh1:
	ldr	x10, [x10, _RELKIND_RELATION@GOTPAGEOFF]
	mov	w11, w22
	stp	x11, x20, [sp, #8]              ; 16-byte Folded Spill
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x27
	bl	_PQclear
	ldp	x11, x20, [sp, #8]              ; 16-byte Folded Reload
Lloh2:
	adrp	x10, _RELKIND_RELATION@GOTPAGE
Lloh3:
	ldr	x10, [x10, _RELKIND_RELATION@GOTPAGEOFF]
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x21, x21, #1
	cmp	x21, x11
	b.eq	LBB0_13
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
	add	x19, x20, x21, lsl #5
	ldr	x8, [x19]
	ldr	x9, [x10]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x19, #8]
Lloh4:
	adrp	x9, _DUMP_COMPONENT_DEFINITION@GOTPAGE
Lloh5:
	ldr	x9, [x9, _DUMP_COMPONENT_DEFINITION@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x22, x20, x21, lsl #5
	ldr	w2, [x22, #12]!
	mov	x9, x22
	ldr	x8, [x9, #4]!
	str	x9, [sp, #32]                   ; 8-byte Folded Spill
	ldr	w1, [x8]
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pg_log_info
	ldr	x20, [sp, #24]                  ; 8-byte Folded Reload
	mov	x0, x20
	bl	_resetPQExpBuffer
	str	x22, [sp, #40]                  ; 8-byte Folded Spill
	ldr	w2, [x22, #12]
	mov	x0, x20
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_appendPQExpBuffer
	ldr	w1, [x20]
Lloh11:
	adrp	x8, _PGRES_TUPLES_OK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PGRES_TUPLES_OK@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x23
	bl	_ExecuteSqlQuery
	mov	x27, x0
	bl	_PQntuples
	cbz	w0, LBB0_5
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x20, x0
	mov	x0, x27
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_PQfnumber
	mov	x28, x0
	mov	x0, x27
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_PQfnumber
	mov	x24, x0
	mov	x0, x27
Lloh18:
	adrp	x1, l_.str.4@PAGE
Lloh19:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_PQfnumber
	mov	x25, x0
	mov	w8, #56
	mul	w0, w20, w8
	bl	_pg_malloc
	cmp	w20, #1
	b.lt	LBB0_5
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x26, x0
	mov	x22, #0
	mov	w20, w20
LBB0_12:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
Lloh20:
	adrp	x8, _DO_PUBLICATION_REL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _DO_PUBLICATION_REL@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	str	w8, [x26, #32]
	mov	x0, x27
	mov	x1, x22
	mov	x2, x28
	bl	_PQgetvalue
	bl	_atooid
	str	x0, [x26, #24]
	mov	x0, x27
	mov	x1, x22
	mov	x2, x24
	bl	_PQgetvalue
	bl	_atooid
	str	x0, [x26, #16]
	mov	x0, x26
	bl	_AssignDumpId
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	ldr	x8, [x8]
	str	x8, [x26, #8]
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	ldr	w8, [x8]
	str	w8, [x26]
	mov	x0, x27
	mov	x1, x22
	mov	x2, x25
	bl	_PQgetvalue
	bl	_pg_strdup
	str	w0, [x26, #48]
	str	x19, [x26, #40]
	mov	x0, x26
	mov	x1, x23
	bl	_selectDumpablePublicationTable
	add	x22, x22, #1
	add	x26, x26, #56
	cmp	x20, x22
	b.ne	LBB0_12
	b	LBB0_5
LBB0_13:
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_destroyPQExpBuffer
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_RELKIND_RELATION,8,3           ; @RELKIND_RELATION
	.comm	_DUMP_COMPONENT_DEFINITION,4,2  ; @DUMP_COMPONENT_DEFINITION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"reading publication membership for table \"%s.%s\""

l_.str.1:                               ; @.str.1
	.asciz	"SELECT pr.tableoid, pr.oid, p.pubname FROM pg_publication_rel pr, pg_publication p WHERE pr.prrelid = '%u'  AND p.oid = pr.prpubid"

	.comm	_PGRES_TUPLES_OK,4,2            ; @PGRES_TUPLES_OK
l_.str.2:                               ; @.str.2
	.asciz	"tableoid"

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

l_.str.4:                               ; @.str.4
	.asciz	"pubname"

	.comm	_DO_PUBLICATION_REL,4,2         ; @DO_PUBLICATION_REL
.subsections_via_symbols
