	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_db_and_rel_infos           ## -- Begin function get_db_and_rel_infos
	.p2align	4, 0x90
_get_db_and_rel_infos:                  ## @get_db_and_rel_infos
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	cmpq	$0, 8(%rdi)
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_free_db_and_rel_infos
LBB0_2:
	movq	%r14, %rdi
	callq	_get_db_infos
	cmpl	$0, (%r14)
	jle	LBB0_5
## %bb.3:
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rsi
	addq	%r15, %rsi
	movq	%r14, %rdi
	callq	_get_rel_infos
	incq	%rbx
	movslq	(%r14), %rax
	addq	$4, %r15
	cmpq	%rax, %rbx
	jl	LBB0_4
LBB0_5:
	cmpq	_old_cluster@GOTPCREL(%rip), %r14
	movq	_PG_VERBOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rax
	leaq	L_.str.1(%rip), %rsi
	cmoveq	%rax, %rsi
	callq	_pg_log
	movq	_log_opts@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.7:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_print_db_infos                 ## TAILCALL
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_old_cluster,16,3               ## @old_cluster
	.comm	_PG_VERBOSE,4,2                 ## @PG_VERBOSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\nsource databases:\n"

L_.str.1:                               ## @.str.1
	.asciz	"\ntarget databases:\n"

	.comm	_log_opts,8,3                   ## @log_opts
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_db_and_rel_infos           ; -- Begin function get_db_and_rel_infos
	.p2align	2
_get_db_and_rel_infos:                  ; @get_db_and_rel_infos
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_free_db_and_rel_infos
LBB0_2:
	mov	x0, x19
	bl	_get_db_infos
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x20, #0
	mov	x21, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x1, x8, x20
	mov	x0, x19
	bl	_get_rel_infos
	add	x21, x21, #1
	ldrsw	x8, [x19]
	add	x20, x20, #4
	cmp	x21, x8
	b.lt	LBB0_4
LBB0_5:
Lloh0:
	adrp	x8, _old_cluster@GOTPAGE
Lloh1:
	ldr	x8, [x8, _old_cluster@GOTPAGEOFF]
Lloh2:
	adrp	x9, _PG_VERBOSE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PG_VERBOSE@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x9]
Lloh5:
	adrp	x9, l_.str.1@PAGE
Lloh6:
	add	x9, x9, l_.str.1@PAGEOFF
Lloh7:
	adrp	x10, l_.str@PAGE
Lloh8:
	add	x10, x10, l_.str@PAGEOFF
	cmp	x19, x8
	csel	x1, x10, x9, eq
	bl	_pg_log
Lloh9:
	adrp	x8, _log_opts@GOTPAGE
Lloh10:
	ldr	x8, [x8, _log_opts@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.6:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_print_db_infos
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_old_cluster,16,3               ; @old_cluster
	.comm	_PG_VERBOSE,4,2                 ; @PG_VERBOSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\nsource databases:\n"

l_.str.1:                               ; @.str.1
	.asciz	"\ntarget databases:\n"

	.comm	_log_opts,8,3                   ; @log_opts
.subsections_via_symbols
