	.file	"extr_fe-connect.c_pqDropConnection.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	pqDropConnection
	.type	pqDropConnection, @function
pqDropConnection:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	pqsecure_close@PLT
	mov	rdi, QWORD PTR [rbx]
	mov	rax, QWORD PTR PGINVALID_SOCKET[rip]
	cmp	rdi, rax
	je	.L2
	call	closesocket@PLT
	mov	rax, QWORD PTR PGINVALID_SOCKET[rip]
.L2:
	mov	QWORD PTR [rbx], rax
	test	ebp, ebp
	je	.L3
	mov	QWORD PTR 64[rbx], 0
	mov	QWORD PTR 72[rbx], 0
	mov	QWORD PTR 80[rbx], 0
.L3:
	mov	rdi, QWORD PTR 8[rbx]
	mov	QWORD PTR 56[rbx], 0
	test	rdi, rdi
	je	.L1
	call	pg_fe_scram_free@PLT
	mov	QWORD PTR 8[rbx], 0
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	pqDropConnection, .-pqDropConnection
	.comm	PGINVALID_SOCKET,8,8
	.comm	GSS_C_NO_BUFFER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_fe-connect.c_pqDropConnection.c"
	.text
	.align	2
	.global	pqDropConnection
	.syntax unified
	.arm
	.fpu softvfp
	.type	pqDropConnection, %function
pqDropConnection:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r6, .L13
	mov	r5, r1
	bl	pqsecure_close
	ldr	r0, [r4]
	ldr	r3, [r6]
	cmp	r0, r3
	beq	.L2
	bl	closesocket
	ldr	r3, [r6]
.L2:
	cmp	r5, #0
	str	r3, [r4]
	mov	r5, #0
	movne	r3, #0
	ldr	r0, [r4, #4]
	strne	r3, [r4, #36]
	strne	r3, [r4, #40]
	strne	r3, [r4, #44]
	cmp	r0, r5
	str	r5, [r4, #32]
	popeq	{r4, r5, r6, pc}
	bl	pg_fe_scram_free
	str	r5, [r4, #4]
	pop	{r4, r5, r6, pc}
.L14:
	.align	2
.L13:
	.word	PGINVALID_SOCKET
	.size	pqDropConnection, .-pqDropConnection
	.comm	PGINVALID_SOCKET,4,4
	.comm	GSS_C_NO_BUFFER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
