	.file	"extr_logicalfuncs.c_LogicalOutputWrite.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"too much output for sql interface"
	.text
	.p2align 4
	.type	LogicalOutputWrite, @function
LogicalOutputWrite:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, esi
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rdi
	sub	rsp, 32
	.cfi_def_cfa_offset 80
	mov	rdx, QWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR MaxAllocSize[rip]
	sub	rax, QWORD PTR VARHDRSZ[rip]
	cmp	QWORD PTR [rdx], rax
	jg	.L7
.L2:
	lea	r13, 12[rsp]
	mov	edx, 12
	xor	esi, esi
	mov	rbp, QWORD PTR 8[rbx]
	mov	rdi, r13
	call	memset@PLT
	mov	edi, r14d
	call	LSNGetDatum@PLT
	mov	edi, r12d
	mov	DWORD PTR [rsp], eax
	call	TransactionIdGetDatum@PLT
	mov	DWORD PTR 4[rsp], eax
	mov	eax, DWORD PTR 12[rbp]
	test	eax, eax
	je	.L8
.L3:
	mov	rax, QWORD PTR [rbx]
	mov	rsi, QWORD PTR [rax]
	mov	edi, DWORD PTR 8[rax]
	call	cstring_to_text_with_len@PLT
	mov	edi, eax
	call	PointerGetDatum@PLT
	mov	esi, DWORD PTR 4[rbp]
	mov	edi, DWORD PTR 8[rbp]
	mov	rdx, rsp
	mov	rcx, r13
	mov	DWORD PTR 8[rsp], eax
	call	tuplestore_putvalues@PLT
	add	DWORD PTR 0[rbp], 1
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L9
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	edi, DWORD PTR ERROR[rip]
	lea	rsi, .LC0[rip]
	call	elog@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rax, QWORD PTR [rbx]
	mov	r14, QWORD PTR [rax]
	mov	r12d, DWORD PTR 8[rax]
	xor	eax, eax
	call	GetDatabaseEncoding@PLT
	xor	ecx, ecx
	mov	edi, eax
	mov	rdx, r14
	mov	esi, r12d
	call	pg_verify_mbstr@PLT
	mov	edi, eax
	call	Assert@PLT
	jmp	.L3
.L9:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	LogicalOutputWrite, .-LogicalOutputWrite
	.comm	VARHDRSZ,8,8
	.comm	MaxAllocSize,8,8
	.comm	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_logicalfuncs.c_LogicalOutputWrite.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"too much output for sql interface\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	LogicalOutputWrite, %function
LogicalOutputWrite:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L10
	ldr	ip, .L10+4
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r0, [r0]
	ldr	r3, [r3]
	ldr	ip, [ip]
	ldr	r0, [r0]
	sub	r3, r3, ip
	cmp	r0, r3
	ldr	r3, .L10+8
	sub	sp, sp, #32
	mov	r5, r1
	mov	r6, r2
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	bgt	.L7
.L2:
	mov	r3, #0
	mov	r0, r5
	str	r3, [sp, #16]
	ldr	r5, [r4, #4]
	str	r3, [sp, #20]
	str	r3, [sp, #24]
	bl	LSNGetDatum
	mov	r3, r0
	mov	r0, r6
	str	r3, [sp, #4]
	bl	TransactionIdGetDatum
	ldr	r6, [r5, #12]
	str	r0, [sp, #8]
	cmp	r6, #0
	beq	.L8
.L3:
	ldr	r3, [r4]
	ldr	r1, [r3]
	ldr	r0, [r3, #4]
	bl	cstring_to_text_with_len
	bl	PointerGetDatum
	mov	ip, r0
	ldr	r1, [r5, #4]
	ldr	r0, [r5, #8]
	add	r3, sp, #16
	add	r2, sp, #4
	str	ip, [sp, #12]
	bl	tuplestore_putvalues
	ldr	r3, [r5]
	add	r3, r3, #1
	str	r3, [r5]
	ldr	r3, .L10+8
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	add	sp, sp, #32
	@ sp needed
	pop	{r4, r5, r6, pc}
.L7:
	ldr	r3, .L10+12
	ldr	r1, .L10+16
	ldr	r0, [r3]
	bl	elog
	b	.L2
.L8:
	bl	GetDatabaseEncoding
	ldr	r1, [r4]
	mov	r3, r6
	ldr	r2, [r1]
	ldr	r1, [r1, #4]
	bl	pg_verify_mbstr
	bl	Assert
	b	.L3
.L9:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	MaxAllocSize
	.word	VARHDRSZ
	.word	.LC1
	.word	ERROR
	.word	.LC0
	.size	LogicalOutputWrite, .-LogicalOutputWrite
	.comm	VARHDRSZ,4,4
	.comm	MaxAllocSize,4,4
	.comm	ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
