	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function closePGconn
_closePGconn:                           ## @closePGconn
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_sendTerminateConn
	movl	$0, (%rbx)
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_pqDropConnection
	movq	_CONNECTION_BAD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_PGASYNC_IDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rbx)
	movq	_PQTRANS_IDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	%rbx, %rdi
	callq	_pqClearAsyncResult
	leaq	4(%rbx), %rdi
	callq	_resetPQExpBuffer
	movq	%rbx, %rdi
	callq	_release_conn_addrinfo
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_pqDropServerData               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CONNECTION_BAD,4,2             ## @CONNECTION_BAD
	.comm	_PGASYNC_IDLE,4,2               ## @PGASYNC_IDLE
	.comm	_PQTRANS_IDLE,4,2               ## @PQTRANS_IDLE
	.no_dead_strip	_closePGconn
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function closePGconn
_closePGconn:                           ; @closePGconn
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_sendTerminateConn
	str	wzr, [x19]
	mov	x0, x19
	mov	w1, #1
	bl	_pqDropConnection
Lloh0:
	adrp	x8, _CONNECTION_BAD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CONNECTION_BAD@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #16]
Lloh3:
	adrp	x8, _PGASYNC_IDLE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PGASYNC_IDLE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _PQTRANS_IDLE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PQTRANS_IDLE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #8]
	mov	x0, x19
	bl	_pqClearAsyncResult
	add	x0, x19, #4
	bl	_resetPQExpBuffer
	mov	x0, x19
	bl	_release_conn_addrinfo
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pqDropServerData
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CONNECTION_BAD,4,2             ; @CONNECTION_BAD
	.comm	_PGASYNC_IDLE,4,2               ; @PGASYNC_IDLE
	.comm	_PQTRANS_IDLE,4,2               ; @PQTRANS_IDLE
	.no_dead_strip	_closePGconn
.subsections_via_symbols
