	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function libpqrcv_get_conninfo
_libpqrcv_get_conninfo:                 ## @libpqrcv_get_conninfo
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	xorl	%edi, %edi
	cmpq	$0, (%rbx)
	setne	%dil
	callq	_Assert
	leaq	-56(%rbp), %rdi
	callq	_initPQExpBuffer
	movq	(%rbx), %rdi
	callq	_PQconninfo
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	cmpq	$0, 8(%r13)
	jne	LBB0_3
	jmp	LBB0_11
LBB0_1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	leaq	L_.str.1(%rip), %rdi
	callq	__
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_errmsg
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_ereport
	cmpq	$0, 8(%r13)
	je	LBB0_11
LBB0_3:
	leaq	L_.str.5(%rip), %r12
	leaq	L_.str.2(%rip), %r14
	leaq	-56(%rbp), %r15
	movq	%r13, %rbx
	jmp	LBB0_4
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	8(%rbx), %rcx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_appendPQExpBuffer
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$0, 32(%rbx)
	leaq	24(%rbx), %rbx
	je	LBB0_11
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	16(%rbx), %edi
	movl	$68, %esi
	callq	_strchr
	testq	%rax, %rax
	jne	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$0, (%rax)
	je	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	16(%rbx), %edi
	movl	$42, %esi
	callq	_strchr
	cmpq	$0, -56(%rbp)
	leaq	L_.str.4(%rip), %rdx
	leaq	L_.str.3(%rip), %rcx
	cmoveq	%rcx, %rdx
	movq	%r12, %r8
	testq	%rax, %rax
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rbx), %r8
	jmp	LBB0_9
LBB0_11:
	movq	%r13, %rdi
	callq	_PQconninfoFree
	movq	-56(%rbp), %rdi
	movl	-48(%rbp), %esi
	callq	_PQExpBufferDataBroken
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	xorl	%ebx, %ebx
	jmp	LBB0_14
LBB0_13:
	movl	-48(%rbp), %edi
	callq	_pstrdup
	movq	%rax, %rbx
LBB0_14:
	leaq	-56(%rbp), %rdi
	callq	_termPQExpBuffer
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not parse connection string: %s"

L_.str.1:                               ## @.str.1
	.asciz	"out of memory"

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

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

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

L_.str.5:                               ## @.str.5
	.asciz	"********"

	.no_dead_strip	_libpqrcv_get_conninfo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function libpqrcv_get_conninfo
_libpqrcv_get_conninfo:                 ; @libpqrcv_get_conninfo
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
	ldr	x8, [x0]
	cmp	x8, #0
	cset	w0, ne
	bl	_Assert
	mov	x0, sp
	bl	_initPQExpBuffer
	ldr	x0, [x19]
	bl	_PQconninfo
	mov	x19, x0
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_3
	b	LBB0_11
LBB0_2:
Lloh0:
	adrp	x8, _ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
Lloh3:
	adrp	x0, l_.str.1@PAGE
Lloh4:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	__
	mov	x1, x0
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_11
LBB0_3:
	add	x21, x19, #16
Lloh7:
	adrp	x22, l_.str.4@PAGE
Lloh8:
	add	x22, x22, l_.str.4@PAGEOFF
Lloh9:
	adrp	x23, l_.str.3@PAGE
Lloh10:
	add	x23, x23, l_.str.3@PAGEOFF
Lloh11:
	adrp	x24, l_.str.5@PAGE
Lloh12:
	add	x24, x24, l_.str.5@PAGEOFF
Lloh13:
	adrp	x20, l_.str.2@PAGE
Lloh14:
	add	x20, x20, l_.str.2@PAGEOFF
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldur	x3, [x21, #-8]
	mov	x0, sp
	mov	x1, x20
	bl	_appendPQExpBuffer
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x21, #16]
	add	x21, x21, #24
	cbz	x8, LBB0_11
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	mov	w1, #68
	bl	_strchr
	cbnz	x0, LBB0_5
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldur	x8, [x21, #-16]
	cbz	x8, LBB0_5
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldrb	w8, [x8]
	cbz	w8, LBB0_5
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x21]
	mov	w1, #42
	bl	_strchr
	ldr	x8, [sp]
	cmp	x8, #0
	csel	x2, x23, x22, eq
	mov	x4, x24
	cbnz	x0, LBB0_4
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	ldur	x4, [x21, #-16]
	b	LBB0_4
LBB0_11:
	mov	x0, x19
	bl	_PQconninfoFree
	ldp	x0, x1, [sp]
	bl	_PQExpBufferDataBroken
	cbz	x0, LBB0_13
; %bb.12:
	mov	x19, #0
	b	LBB0_14
LBB0_13:
	ldr	w0, [sp, #8]
	bl	_pstrdup
	mov	x19, x0
LBB0_14:
	mov	x0, sp
	bl	_termPQExpBuffer
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not parse connection string: %s"

l_.str.1:                               ; @.str.1
	.asciz	"out of memory"

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

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

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

l_.str.5:                               ; @.str.5
	.asciz	"********"

	.no_dead_strip	_libpqrcv_get_conninfo
.subsections_via_symbols
