	.file	"extr_fe-auth.c_pg_SASL_continue.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"out of memory allocating SASL buffer (%d)\n"
	.align 8
.LC1:
	.string	"AuthenticationSASLFinal received from server, but SASL authentication was not completed\n"
	.text
	.p2align 4
	.type	pg_SASL_continue, @function
pg_SASL_continue:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	lea	edi, 1[rsi]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, edx
	sub	rsp, 40
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	malloc@PLT
	test	rax, rax
	je	.L22
	mov	rdx, r13
	mov	esi, r12d
	mov	rdi, rax
	mov	rbp, rax
	call	pqGetnchar@PLT
	test	rax, rax
	jne	.L23
	lea	rcx, 16[rsp]
	movsx	rax, r12d
	sub	rsp, 8
	.cfi_def_cfa_offset 88
	mov	edx, r12d
	mov	BYTE PTR 0[rbp+rax], 0
	lea	rax, 20[rsp]
	mov	edi, DWORD PTR 4[r13]
	mov	rsi, rbp
	push	rax
	.cfi_def_cfa_offset 96
	lea	r9, 24[rsp]
	lea	r8, 20[rsp]
	call	pg_fe_scram_exchange@PLT
	mov	rdi, rbp
	call	free@PLT
	pop	rdi
	.cfi_def_cfa_offset 88
	pop	r8
	.cfi_def_cfa_offset 80
	mov	ecx, DWORD PTR 4[rsp]
	test	ebx, ebx
	je	.L5
	mov	esi, DWORD PTR 8[rsp]
	test	esi, esi
	je	.L24
	test	ecx, ecx
	jne	.L10
.L11:
	mov	eax, DWORD PTR 12[rsp]
	test	eax, eax
	jne	.L9
.L20:
	mov	eax, DWORD PTR STATUS_ERROR[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	test	ecx, ecx
	jne	.L10
.L8:
	mov	edx, DWORD PTR 8[rsp]
	test	edx, edx
	jne	.L11
.L9:
	mov	eax, DWORD PTR STATUS_OK[rip]
.L1:
	mov	rbx, QWORD PTR 24[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L25
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L23:
	.cfi_restore_state
	mov	rdi, rbp
	call	free@PLT
	mov	eax, DWORD PTR STATUS_ERROR[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L24:
	test	ecx, ecx
	jne	.L26
.L7:
	lea	rdi, .LC1[rip]
	call	libpq_gettext@PLT
	mov	rdi, r13
	mov	esi, eax
	xor	eax, eax
	call	printfPQExpBuffer@PLT
	mov	eax, DWORD PTR STATUS_ERROR[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rdx, QWORD PTR 16[rsp]
	mov	esi, 112
	mov	rdi, r13
	call	pqPacketSend@PLT
	mov	rdi, QWORD PTR 16[rsp]
	mov	ebx, eax
	call	free@PLT
	cmp	DWORD PTR STATUS_OK[rip], ebx
	je	.L8
	jmp	.L20
	.p2align 4,,10
	.p2align 3
.L22:
	lea	rdi, .LC0[rip]
	call	libpq_gettext@PLT
	mov	edx, r12d
	mov	rdi, r13
	mov	esi, eax
	xor	eax, eax
	call	printfPQExpBuffer@PLT
	mov	eax, DWORD PTR STATUS_ERROR[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L26:
	mov	rdi, QWORD PTR 16[rsp]
	call	free@PLT
	jmp	.L7
.L25:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	pg_SASL_continue, .-pg_SASL_continue
	.comm	STATUS_OK,4,4
	.comm	STATUS_ERROR,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-auth.c_pg_SASL_continue.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"out of memory allocating SASL buffer (%d)\012\000"
	.align	2
.LC1:
	.ascii	"AuthenticationSASLFinal received from server, but S"
	.ascii	"ASL authentication was not completed\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pg_SASL_continue, %function
pg_SASL_continue:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L31
	sub	sp, sp, #44
	mov	r7, r0
	add	r0, r1, #1
	mov	r4, r1
	mov	r6, r2
	ldr	r3, [r3]
	str	r3, [sp, #36]
	mov	r3,#0
	bl	malloc
	subs	r5, r0, #0
	beq	.L25
	mov	r2, r7
	mov	r1, r4
	bl	pqGetnchar
	subs	r3, r0, #0
	bne	.L26
	add	ip, sp, #32
	add	r0, sp, #28
	strb	r3, [r5, r4]
	stmib	sp, {r0, ip}
	add	r1, sp, #24
	str	r1, [sp]
	mov	r2, r4
	mov	r1, r5
	add	r3, sp, #20
	ldr	r0, [r7, #4]
	bl	pg_fe_scram_exchange
	mov	r0, r5
	bl	free
	cmp	r6, #0
	bne	.L27
	ldr	r3, [sp, #24]
	cmp	r3, #0
	bne	.L10
.L8:
	ldr	r3, [sp, #28]
	cmp	r3, #0
	bne	.L11
.L9:
	ldr	r3, .L31+4
	ldr	r0, [r3]
.L1:
	ldr	r3, .L31
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L28
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L27:
	ldr	r2, [sp, #28]
	ldr	r3, [sp, #24]
	cmp	r2, #0
	beq	.L29
	cmp	r3, #0
	bne	.L10
.L11:
	ldr	r3, [sp, #32]
	cmp	r3, #0
	bne	.L9
.L23:
	ldr	r3, .L31+8
	ldr	r0, [r3]
	b	.L1
.L26:
	mov	r0, r5
	bl	free
	ldr	r3, .L31+8
	ldr	r0, [r3]
	b	.L1
.L10:
	mov	r1, #112
	ldr	r2, [sp, #20]
	mov	r0, r7
	bl	pqPacketSend
	mov	r4, r0
	ldr	r0, [sp, #20]
	bl	free
	ldr	r3, .L31+4
	ldr	r3, [r3]
	cmp	r3, r4
	beq	.L8
	b	.L23
.L29:
	cmp	r3, #0
	bne	.L30
.L7:
	ldr	r0, .L31+12
	bl	libpq_gettext
	mov	r1, r0
	mov	r0, r7
	bl	printfPQExpBuffer
	ldr	r3, .L31+8
	ldr	r0, [r3]
	b	.L1
.L30:
	ldr	r0, [sp, #20]
	bl	free
	b	.L7
.L28:
	bl	__stack_chk_fail
.L25:
	ldr	r0, .L31+16
	bl	libpq_gettext
	mov	r2, r4
	mov	r1, r0
	mov	r0, r7
	bl	printfPQExpBuffer
	ldr	r3, .L31+8
	ldr	r0, [r3]
	b	.L1
.L32:
	.align	2
.L31:
	.word	.LC2
	.word	STATUS_OK
	.word	STATUS_ERROR
	.word	.LC1
	.word	.LC0
	.size	pg_SASL_continue, .-pg_SASL_continue
	.comm	STATUS_OK,4,4
	.comm	STATUS_ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
