	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pqDropConnection               ## -- Begin function pqDropConnection
	.p2align	4, 0x90
_pqDropConnection:                      ## @pqDropConnection
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_pqsecure_close
	movq	(%rbx), %rdi
	movq	_PGINVALID_SOCKET@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rdi
	je	LBB0_2
## %bb.1:
	callq	_closesocket
	movq	(%r15), %rdi
LBB0_2:
	movq	%rdi, (%rbx)
	testl	%r14d, %r14d
	je	LBB0_4
## %bb.3:
	xorps	%xmm0, %xmm0
	movups	%xmm0, 64(%rbx)
	movq	$0, 80(%rbx)
LBB0_4:
	movq	$0, 56(%rbx)
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	callq	_pg_fe_scram_free
	movq	$0, 8(%rbx)
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PGINVALID_SOCKET,8,3           ## @PGINVALID_SOCKET
	.comm	_GSS_C_NO_BUFFER,4,2            ## @GSS_C_NO_BUFFER
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pqDropConnection               ; -- Begin function pqDropConnection
	.p2align	2
_pqDropConnection:                      ; @pqDropConnection
	.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	x20, x1
	mov	x19, x0
	bl	_pqsecure_close
	ldr	x0, [x19]
Lloh0:
	adrp	x21, _PGINVALID_SOCKET@GOTPAGE
Lloh1:
	ldr	x21, [x21, _PGINVALID_SOCKET@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x0, x8
	b.eq	LBB0_2
; %bb.1:
	bl	_closesocket
	ldr	x0, [x21]
LBB0_2:
	str	x0, [x19]
	cbz	w20, LBB0_4
; %bb.3:
	stp	xzr, xzr, [x19, #64]
	str	xzr, [x19, #80]
LBB0_4:
	str	xzr, [x19, #56]
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_6
; %bb.5:
	bl	_pg_fe_scram_free
	str	xzr, [x19, #8]
LBB0_6:
	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 AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PGINVALID_SOCKET,8,3           ; @PGINVALID_SOCKET
	.comm	_GSS_C_NO_BUFFER,4,2            ; @GSS_C_NO_BUFFER
.subsections_via_symbols
