	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function createNewConnection
_createNewConnection:                   ## @createNewConnection
	.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
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_remoteConnHash@GOTPCREL(%rip), %r12
	cmpq	$0, (%r12)
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_createConnHash
	movq	%rax, (%r12)
LBB0_2:
	movq	%r14, %rdi
	callq	_pstrdup
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	$1, %edx
	callq	_truncate_identifier
	movq	(%r12), %rdi
	movq	_HASH_ENTER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-36(%rbp), %rcx
	movq	%rbx, %rsi
	callq	_hash_search
	movq	%rax, %rbx
	cmpl	$0, -36(%rbp)
	je	LBB0_4
## %bb.3:
	movl	(%r15), %edi
	callq	_PQfinish
	movq	%r15, %rdi
	callq	_pfree
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_ERRCODE_DUPLICATE_OBJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	callq	_errmsg
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_4:
	movq	%r15, 8(%rbx)
	movl	(%rbx), %edi
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_strlcpy
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_remoteConnHash,8,3             ## @remoteConnHash
	.comm	_HASH_ENTER,4,2                 ## @HASH_ENTER
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_DUPLICATE_OBJECT,4,2   ## @ERRCODE_DUPLICATE_OBJECT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"duplicate connection name"

	.no_dead_strip	_createNewConnection
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function createNewConnection
_createNewConnection:                   ; @createNewConnection
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x22, _remoteConnHash@GOTPAGE
Lloh1:
	ldr	x22, [x22, _remoteConnHash@GOTPAGEOFF]
	ldr	x8, [x22]
	cbnz	x8, LBB0_2
; %bb.1:
	bl	_createConnHash
	str	x0, [x22]
LBB0_2:
	mov	x0, x19
	bl	_pstrdup
	mov	x21, x0
	bl	_strlen
	mov	x1, x0
	mov	x0, x21
	mov	w2, #1
	bl	_truncate_identifier
	ldr	x0, [x22]
Lloh2:
	adrp	x8, _HASH_ENTER@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HASH_ENTER@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	add	x3, sp, #12
	mov	x1, x21
	bl	_hash_search
	mov	x21, x0
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_4
; %bb.3:
	ldr	w0, [x20]
	bl	_PQfinish
	mov	x0, x20
	bl	_pfree
Lloh5:
	adrp	x8, _ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w22, [x8]
Lloh8:
	adrp	x8, _ERRCODE_DUPLICATE_OBJECT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ERRCODE_DUPLICATE_OBJECT@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_errcode
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x22
	bl	_ereport
LBB0_4:
	str	x20, [x21, #8]
	ldr	w0, [x21]
	mov	x1, x19
	mov	w2, #4
	bl	_strlcpy
	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	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_remoteConnHash,8,3             ; @remoteConnHash
	.comm	_HASH_ENTER,4,2                 ; @HASH_ENTER
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_DUPLICATE_OBJECT,4,2   ; @ERRCODE_DUPLICATE_OBJECT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"duplicate connection name"

	.no_dead_strip	_createNewConnection
.subsections_via_symbols
