	.file	"extr_fe-protocol2.c_pqFunctionCall2.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	" "
.LC2:
	.string	"protocol error: id=0x%x\n"
	.text
	.p2align 4
	.globl	pqFunctionCall2
	.type	pqFunctionCall2, @function
pqFunctionCall2:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, esi
	mov	rsi, rdi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	xor	edi, edi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rcx
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, r9
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	movss	xmm0, DWORD PTR .LC0[rip]
	mov	r14d, DWORD PTR PGRES_FATAL_ERROR[rip]
	mov	DWORD PTR 12[rsp], r8d
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	pqPutMsgStart@PLT
	test	rax, rax
	js	.L4
	mov	rsi, r13
	lea	rdi, .LC1[rip]
	call	pqPuts@PLT
	test	rax, rax
	js	.L4
	mov	rdx, r13
	mov	esi, 4
	mov	edi, r15d
	call	pqPutInt@PLT
	test	rax, rax
	jne	.L4
	mov	edi, DWORD PTR 96[rsp]
	mov	rdx, r13
	mov	esi, 4
	call	pqPutInt@PLT
	test	rax, rax
	jne	.L4
	mov	esi, DWORD PTR 96[rsp]
	test	esi, esi
	jle	.L9
	mov	eax, DWORD PTR 96[rsp]
	sub	eax, 1
	sal	rax, 5
	lea	r15, 32[rbx+rax]
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L36:
	mov	edi, DWORD PTR 8[rbx]
	mov	rdx, r13
	mov	esi, 4
	call	pqPutInt@PLT
	test	rax, rax
	jne	.L4
.L10:
	add	rbx, 32
	cmp	rbx, r15
	je	.L9
.L8:
	mov	edi, DWORD PTR [rbx]
	mov	rdx, r13
	mov	esi, 4
	call	pqPutInt@PLT
	test	rax, rax
	jne	.L4
	cmp	QWORD PTR 24[rbx], 0
	jne	.L36
	mov	rdi, QWORD PTR 16[rbx]
	mov	esi, DWORD PTR [rbx]
	mov	rdx, r13
	call	pqPutnchar@PLT
	test	rax, rax
	je	.L10
	.p2align 4,,10
	.p2align 3
.L4:
	xor	eax, eax
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L37
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	rdi, r13
	call	pqPutMsgEnd@PLT
	test	rax, rax
	js	.L4
	mov	rdi, r13
	call	pqFlush@PLT
	test	rax, rax
	jne	.L4
	lea	rbx, 23[rsp]
	lea	r15, .L16[rip]
.L11:
	mov	eax, DWORD PTR 4[r13]
.L28:
	mov	DWORD PTR 0[r13], eax
	mov	rsi, r13
	mov	rdi, rbx
	call	pqGetc@PLT
	test	rax, rax
	jne	.L13
	movzx	edx, BYTE PTR 23[rsp]
	lea	eax, -65[rdx]
	cmp	al, 25
	ja	.L14
	movzx	eax, al
	movsx	rax, DWORD PTR [r15+rax*4]
	add	rax, r15
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L16:
	.long	.L20-.L16
	.long	.L14-.L16
	.long	.L14-.L16
	.long	.L14-.L16
	.long	.L19-.L16
	.long	.L14-.L16
	.long	.L14-.L16
	.long	.L14-.L16
	.long	.L14-.L16
	.long	.L14-.L16
	.long	.L14-.L16
	.long	.L14-.L16
	.long	.L14-.L16
	.long	.L18-.L16
	.long	.L14-.L16
	.long	.L14-.L16
	.long	.L14-.L16
	.long	.L14-.L16
	.long	.L14-.L16
	.long	.L14-.L16
	.long	.L14-.L16
	.long	.L17-.L16
	.long	.L14-.L16
	.long	.L14-.L16
	.long	.L14-.L16
	.long	.L15-.L16
	.text
.L22:
	mov	esi, DWORD PTR [r12]
	mov	rdi, rbp
	call	pqGetnchar@PLT
	test	eax, eax
	je	.L24
	.p2align 4,,10
	.p2align 3
.L13:
	xor	esi, esi
	mov	rdx, r13
	mov	edi, 1
	call	pqWait@PLT
	test	rax, rax
	jne	.L12
	mov	rdi, r13
	call	pqReadData@PLT
	test	rax, rax
	jns	.L11
.L12:
	mov	rdi, r13
	call	pqSaveErrorResult@PLT
.L34:
	mov	rdi, r13
	call	pqPrepareAsyncResult@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L14:
	lea	rdi, .LC2[rip]
	mov	BYTE PTR 12[rsp], dl
	call	libpq_gettext@PLT
	movsx	edx, BYTE PTR 12[rsp]
	lea	rdi, 8[r13]
	mov	esi, eax
	call	printfPQExpBuffer@PLT
	mov	rdi, r13
	call	pqSaveErrorResult@PLT
	mov	eax, DWORD PTR 0[r13]
	mov	rdi, r13
	mov	DWORD PTR 4[r13], eax
	call	pqPrepareAsyncResult@PLT
	jmp	.L1
.L15:
	mov	eax, DWORD PTR 0[r13]
	mov	DWORD PTR 4[r13], eax
	mov	eax, DWORD PTR 12[r13]
	test	eax, eax
	jne	.L34
	mov	esi, r14d
	mov	rdi, r13
	call	PQmakeEmptyPGresult@PLT
	jmp	.L1
.L17:
	mov	rsi, r13
	mov	rdi, rbx
	call	pqGetc@PLT
	test	rax, rax
	jne	.L13
	movzx	edx, BYTE PTR 23[rsp]
	cmp	dl, 71
	je	.L38
.L21:
	cmp	dl, 48
	jne	.L14
	mov	r14d, DWORD PTR PGRES_COMMAND_OK[rip]
.L26:
	mov	eax, DWORD PTR 0[r13]
	mov	DWORD PTR 4[r13], eax
	jmp	.L28
.L18:
	xor	esi, esi
	mov	rdi, r13
	call	pqGetErrorNotice2@PLT
	test	eax, eax
	je	.L26
	jmp	.L13
.L19:
	mov	esi, 1
	mov	rdi, r13
	call	pqGetErrorNotice2@PLT
	test	eax, eax
	jne	.L13
	mov	r14d, DWORD PTR PGRES_FATAL_ERROR[rip]
	jmp	.L26
.L20:
	mov	rdi, r13
	call	getNotify@PLT
	test	eax, eax
	je	.L26
	jmp	.L13
.L38:
	mov	rdx, r13
	mov	esi, 4
	mov	rdi, r12
	call	pqGetInt@PLT
	test	eax, eax
	jne	.L13
	mov	ecx, DWORD PTR 12[rsp]
	mov	rdx, r13
	test	ecx, ecx
	je	.L22
	mov	esi, 4
	mov	rdi, rbp
	call	pqGetInt@PLT
	test	eax, eax
	jne	.L13
.L24:
	mov	rsi, r13
	mov	rdi, rbx
	call	pqGetc@PLT
	test	rax, rax
	jne	.L13
	movzx	edx, BYTE PTR 23[rsp]
	jmp	.L21
.L37:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	pqFunctionCall2, .-pqFunctionCall2
	.comm	PGRES_FATAL_ERROR,4,4
	.comm	PGRES_COMMAND_OK,4,4
	.section	.rodata.cst4,"aM",@progbits,4
	.align 4
.LC0:
	.long	1116471296
	.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-protocol2.c_pqFunctionCall2.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	" \000"
	.align	2
.LC1:
	.ascii	"protocol error: id=0x%x\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	pqFunctionCall2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pqFunctionCall2, %function
pqFunctionCall2:
	@ args = 12, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r9, r3
	ldr	r10, .L39
	ldr	r3, .L39+4
	sub	sp, sp, #12
	mov	r5, r0
	mov	r6, r1
	mov	r8, r2
	mov	r1, #0
	mov	r2, r0
	ldr	r0, .L39+8
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	ldr	fp, [r10]
	ldr	r4, [sp, #52]
	ldr	r7, [sp, #56]
	bl	pqPutMsgStart
	cmp	r0, #0
	blt	.L4
	mov	r1, r5
	ldr	r0, .L39+12
	bl	pqPuts
	cmp	r0, #0
	blt	.L4
	mov	r0, r6
	mov	r2, r5
	mov	r1, #4
	bl	pqPutInt
	cmp	r0, #0
	bne	.L4
	mov	r2, r5
	mov	r1, #4
	mov	r0, r7
	bl	pqPutInt
	subs	r6, r0, #0
	bne	.L4
	cmp	r7, #0
	bgt	.L8
	b	.L9
.L36:
	mov	r1, #4
	ldr	r0, [r4, #4]
	bl	pqPutInt
	cmp	r0, #0
	bne	.L4
.L10:
	add	r6, r6, #1
	cmp	r7, r6
	add	r4, r4, #16
	beq	.L9
.L8:
	mov	r2, r5
	mov	r1, #4
	ldr	r0, [r4]
	bl	pqPutInt
	cmp	r0, #0
	bne	.L4
	ldr	r3, [r4, #12]
	mov	r2, r5
	cmp	r3, #0
	bne	.L36
	ldr	r1, [r4]
	ldr	r0, [r4, #8]
	bl	pqPutnchar
	cmp	r0, #0
	beq	.L10
.L4:
	mov	r0, #0
.L1:
	ldr	r3, .L39+4
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L37
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L9:
	mov	r0, r5
	bl	pqPutMsgEnd
	cmp	r0, #0
	blt	.L4
	mov	r0, r5
	bl	pqFlush
	cmp	r0, #0
	bne	.L4
	ldr	r4, .L39+16
.L11:
	ldr	r3, [r5, #4]
.L28:
	mov	r1, r5
	str	r3, [r5]
	add	r0, sp, #3
	bl	pqGetc
	cmp	r0, #0
	bne	.L13
	ldrb	r3, [sp, #3]	@ zero_extendqisi2
	sub	r3, r3, #65
	cmp	r3, #25
	ldrls	pc, [pc, r3, asl #2]
	b	.L14
.L16:
	.word	.L20
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L19
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L18
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L17
	.word	.L14
	.word	.L14
	.word	.L14
	.word	.L15
.L22:
	mov	r0, r8
	ldr	r1, [r9]
	bl	pqGetnchar
	cmp	r0, #0
	beq	.L24
.L13:
	mov	r2, r5
	mov	r1, #0
	mov	r0, #1
	bl	pqWait
	cmp	r0, #0
	bne	.L12
	mov	r0, r5
	bl	pqReadData
	cmp	r0, #0
	bge	.L11
.L12:
	mov	r0, r5
	bl	pqSaveErrorResult
.L34:
	mov	r0, r5
	bl	pqPrepareAsyncResult
	b	.L1
.L14:
	ldr	r0, .L39+20
	bl	libpq_gettext
	ldrb	r2, [sp, #3]	@ zero_extendqisi2
	mov	r1, r0
	add	r0, r5, #8
	bl	printfPQExpBuffer
	mov	r0, r5
	bl	pqSaveErrorResult
	ldr	r3, [r5]
	mov	r0, r5
	str	r3, [r5, #4]
	bl	pqPrepareAsyncResult
	b	.L1
.L15:
	ldr	r2, [r5, #12]
	ldr	r3, [r5]
	cmp	r2, #0
	str	r3, [r5, #4]
	bne	.L34
	mov	r1, fp
	mov	r0, r5
	bl	PQmakeEmptyPGresult
	b	.L1
.L17:
	mov	r1, r5
	add	r0, sp, #3
	bl	pqGetc
	cmp	r0, #0
	bne	.L13
	ldrb	r3, [sp, #3]	@ zero_extendqisi2
	cmp	r3, #71
	beq	.L38
.L21:
	cmp	r3, #48
	bne	.L14
	ldr	fp, [r4]
.L26:
	ldr	r3, [r5]
	str	r3, [r5, #4]
	b	.L28
.L19:
	mov	r1, #1
	mov	r0, r5
	bl	pqGetErrorNotice2
	cmp	r0, #0
	bne	.L13
	ldr	fp, [r10]
	b	.L26
.L18:
	mov	r1, #0
	mov	r0, r5
	bl	pqGetErrorNotice2
	cmp	r0, #0
	beq	.L26
	b	.L13
.L20:
	mov	r0, r5
	bl	getNotify
	cmp	r0, #0
	beq	.L26
	b	.L13
.L38:
	mov	r2, r5
	mov	r1, #4
	mov	r0, r9
	bl	pqGetInt
	cmp	r0, #0
	bne	.L13
	ldr	r3, [sp, #48]
	mov	r2, r5
	cmp	r3, #0
	beq	.L22
	mov	r1, #4
	mov	r0, r8
	bl	pqGetInt
	cmp	r0, #0
	bne	.L13
.L24:
	mov	r1, r5
	add	r0, sp, #3
	bl	pqGetc
	cmp	r0, #0
	bne	.L13
	ldrb	r3, [sp, #3]	@ zero_extendqisi2
	b	.L21
.L37:
	bl	__stack_chk_fail
.L40:
	.align	2
.L39:
	.word	PGRES_FATAL_ERROR
	.word	.LC2
	.word	1116471296
	.word	.LC0
	.word	PGRES_COMMAND_OK
	.word	.LC1
	.size	pqFunctionCall2, .-pqFunctionCall2
	.comm	PGRES_FATAL_ERROR,4,4
	.comm	PGRES_COMMAND_OK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
