	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CopyReadLineText
_CopyReadLineText:                      ## @CopyReadLineText
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r8
	xorl	%edx, %edx
	cmpq	$0, 56(%rdi)
	je	LBB0_1
## %bb.2:
	movq	(%r8), %rax
	movq	8(%r8), %rcx
	movb	(%rax), %al
	movzbl	(%rcx), %ecx
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	cmpb	%cl, %al
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	cmovel	%edx, %ecx
	movl	%ecx, -68(%rbp)                 ## 4-byte Spill
	jmp	LBB0_3
LBB0_1:
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -72(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -68(%rbp)                   ## 4-byte Folded Spill
LBB0_3:
	movb	$0, -53(%rbp)
	movq	16(%r8), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	24(%r8), %r15d
	movl	28(%r8), %eax
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movb	$1, %r14b
	movl	$0, -76(%rbp)                   ## 4-byte Folded Spill
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %ebx
	cmpl	-80(%rbp), %r15d                ## 4-byte Folded Reload
	jl	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r8, %rdi
	callq	_CopyLoadRawBuf
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	movl	28(%r8), %eax
	xorl	%ebx, %ebx
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	jle	LBB0_60
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movslq	%ebx, %r13
	leaq	1(%r13), %r15
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movzbl	(%rax,%r13), %r12d
	movsbl	%r12b, %r10d
	cmpq	$0, 56(%r8)
	je	LBB0_16
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$92, %r12b
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$13, %r12b
	jne	LBB0_10
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	xorl	%edi, %edi
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	movq	%r15, %r13
	movl	%r14d, %r15d
	movl	%r10d, %r14d
	callq	_IF_NEED_REFILL_AND_NOT_EOF_CONTINUE
	movl	%r14d, %r10d
	movl	%r15d, %r14d
	movq	%r13, %r15
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movq	-48(%rbp), %r8                  ## 8-byte Reload
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	xorl	%esi, %esi
	movl	-76(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, %ecx
	sete	%sil
	movl	-68(%rbp), %edx                 ## 4-byte Reload
	cmpb	%dl, %r12b
	cmovnel	%ecx, %esi
	xorl	%eax, %eax
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	testl	%edi, %edi
	sete	%r9b
	cmovel	%ecx, %esi
	cmpb	%dl, %r12b
	movl	$0, %ecx
	cmovel	%esi, %ecx
	movl	%ecx, -76(%rbp)                 ## 4-byte Spill
	movl	%edi, %edx
	testl	%esi, %esi
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movb	%r9b, %al
	movl	%eax, %edx
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpb	-72(%rbp), %r12b                ## 1-byte Folded Reload
	cmovnel	-52(%rbp), %edx                 ## 4-byte Folded Reload
	testl	%edx, %edx
	je	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	32(%r8), %rax
	xorl	%ecx, %ecx
	movq	_EOL_NL@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	setne	%cl
	leal	(%rcx,%rcx,2), %eax
	addl	$10, %eax
	movl	$1, -52(%rbp)                   ## 4-byte Folded Spill
	cmpl	%r10d, %eax
	jne	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_4 Depth=1
	incl	68(%r8)
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$10, %r12b
	je	LBB0_30
LBB0_17:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$92, %r12b
	je	LBB0_36
## %bb.18:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$13, %r12b
	jne	LBB0_63
## %bb.19:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$0, 56(%r8)
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_63
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_36:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$0, 56(%r8)
	setne	%al
	notb	%r14b
	testb	%al, %r14b
	jne	LBB0_63
## %bb.37:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	%r10d, %r14d
	xorl	%edi, %edi
	callq	_IF_NEED_REFILL_AND_NOT_EOF_CONTINUE
	xorl	%edi, %edi
	callq	_IF_NEED_REFILL_AND_EOF_BREAK
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpb	$46, (%rax,%r15)
	je	LBB0_38
## %bb.62:                              ##   in Loop: Header=BB0_4 Depth=1
	addl	$2, %ebx
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	cmpq	$0, 56(%r8)
	cmovnel	%r15d, %ebx
	movl	%ebx, %r15d
	movl	%r14d, %r10d
	jmp	LBB0_63
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	cmpb	$10, %r12b
	jne	LBB0_17
LBB0_30:                                ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$0, 56(%r8)
	je	LBB0_32
## %bb.31:                              ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_32
LBB0_63:                                ##   in Loop: Header=BB0_4 Depth=1
	xorl	%r14d, %r14d
	cmpq	$0, 48(%r8)
	je	LBB0_4
## %bb.64:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	%r10d, %edi
	callq	_IS_HIGHBIT_SET
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	xorl	%r14d, %r14d
	testq	%rax, %rax
	je	LBB0_4
## %bb.65:                              ##   in Loop: Header=BB0_4 Depth=1
	movb	%r12b, -54(%rbp)
	movl	40(%r8), %edi
	leaq	-54(%rbp), %rsi
	callq	_pg_encoding_mblen
	movl	%eax, %r12d
	leal	-1(%r12), %ebx
	movl	%ebx, %edi
	callq	_IF_NEED_REFILL_AND_NOT_EOF_CONTINUE
	movl	%ebx, %edi
	callq	_IF_NEED_REFILL_AND_EOF_BREAK
	movq	-48(%rbp), %r8                  ## 8-byte Reload
	addl	%r12d, %r15d
	decl	%r15d
	xorl	%r14d, %r14d
	jmp	LBB0_4
LBB0_21:
	movq	32(%r8), %rax
	movq	_EOL_UNKNOWN@GOTPCREL(%rip), %rcx
	movq	_EOL_CRNL@GOTPCREL(%rip), %r14
	cmpq	(%rcx), %rax
	je	LBB0_23
## %bb.22:
	cmpq	(%r14), %rax
	je	LBB0_23
## %bb.28:
	xorl	%r12d, %r12d
	movq	_EOL_NL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_61
## %bb.29:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_ERRCODE_BAD_COPY_FILE_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r8, %rbx
	callq	_errcode
	cmpq	$0, 56(%rbx)
	leaq	L_.str(%rip), %rax
	leaq	L_.str.1(%rip), %rdi
	cmoveq	%rax, %rdi
	callq	_errmsg
	cmpq	$0, 56(%rbx)
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.3(%rip), %rdi
	cmoveq	%rax, %rdi
	callq	_errhint
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_ereport
	jmp	LBB0_61
LBB0_32:
	movq	32(%r8), %rax
	movq	_EOL_CR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_34
## %bb.33:
	movq	_EOL_CRNL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_35
LBB0_34:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_BAD_COPY_FILE_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 56(%rax)
	leaq	L_.str.4(%rip), %rax
	leaq	L_.str.5(%rip), %rdi
	cmoveq	%rax, %rdi
	callq	_errmsg
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 56(%rax)
	leaq	L_.str.6(%rip), %rax
	leaq	L_.str.7(%rip), %rdi
	cmoveq	%rax, %rdi
	callq	_errhint
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
	movq	-48(%rbp), %r8                  ## 8-byte Reload
LBB0_35:
	movq	_EOL_NL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%r8)
	xorl	%r12d, %r12d
	jmp	LBB0_61
LBB0_38:
	addq	$2, %r13
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	32(%rax), %rax
	movq	_EOL_CRNL@GOTPCREL(%rip), %r15
	movl	%r13d, %r14d
	cmpq	(%r15), %rax
	jne	LBB0_46
## %bb.39:
	xorl	%edi, %edi
	callq	_IF_NEED_REFILL_AND_NOT_EOF_CONTINUE
	movq	%rbx, %rax
	leal	3(%rbx), %r14d
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movb	(%rax,%r13), %al
	cmpb	$13, %al
	je	LBB0_46
## %bb.40:
	cmpb	$10, %al
	jne	LBB0_43
## %bb.41:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 56(%rax)
	jne	LBB0_46
## %bb.42:
	leaq	L_.str.8(%rip), %r13
	jmp	LBB0_45
LBB0_23:
	xorl	%r12d, %r12d
	xorl	%edi, %edi
	callq	_IF_NEED_REFILL_AND_NOT_EOF_CONTINUE
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpb	$10, (%rax,%r15)
	jne	LBB0_25
## %bb.24:
	movq	(%r14), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, 32(%rcx)
	jmp	LBB0_61
LBB0_25:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	32(%rcx), %rax
	cmpq	(%r14), %rax
	jne	LBB0_27
## %bb.26:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_BAD_COPY_FILE_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 56(%rax)
	leaq	L_.str(%rip), %rax
	leaq	L_.str.1(%rip), %rdi
	cmoveq	%rax, %rdi
	callq	_errmsg
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 56(%rax)
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.3(%rip), %rdi
	cmoveq	%rax, %rdi
	callq	_errhint
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
LBB0_27:
	movq	_EOL_CR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 32(%rcx)
	xorl	%r12d, %r12d
	jmp	LBB0_61
LBB0_43:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, 56(%rax)
	jne	LBB0_46
## %bb.44:
	leaq	L_.str.9(%rip), %r13
LBB0_45:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_ERRCODE_BAD_COPY_FILE_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movq	%r13, %rdi
	callq	_errmsg
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_46:
	xorl	%edi, %edi
	callq	_IF_NEED_REFILL_AND_NOT_EOF_CONTINUE
	movslq	%r14d, %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movb	(%rcx,%rax), %r13b
	cmpb	$10, %r13b
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	je	LBB0_50
## %bb.47:
	cmpb	$13, %r13b
	je	LBB0_50
## %bb.48:
	cmpq	$0, 56(%rax)
	jne	LBB0_50
## %bb.49:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_ERRCODE_BAD_COPY_FILE_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.9(%rip), %rdi
	callq	_errmsg
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ereport
	movq	-48(%rbp), %rax                 ## 8-byte Reload
LBB0_50:
	movq	32(%rax), %rdx
	movq	_EOL_NL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdx
	jne	LBB0_52
## %bb.51:
	cmpb	$10, %r13b
	jne	LBB0_56
LBB0_52:
	cmpq	(%r15), %rdx
	jne	LBB0_54
## %bb.53:
	cmpb	$10, %r13b
	jne	LBB0_56
LBB0_54:
	movq	_EOL_CR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rdx
	jne	LBB0_57
## %bb.55:
	cmpb	$13, %r13b
	je	LBB0_57
LBB0_56:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_ERRCODE_BAD_COPY_FILE_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str.8(%rip), %rdi
	callq	_errmsg
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_ereport
	movq	-48(%rbp), %rax                 ## 8-byte Reload
LBB0_57:
	incl	%r14d
	movslq	24(%rax), %rcx
	cmpl	%ecx, %ebx
	jle	LBB0_59
## %bb.58:
	leaq	64(%rax), %rdi
	movq	%rcx, %rsi
	addq	16(%rax), %rsi
	subl	%ecx, %ebx
	movl	%ebx, %edx
	callq	_appendBinaryStringInfo
	movq	-48(%rbp), %rax                 ## 8-byte Reload
LBB0_59:
	movl	%r14d, 24(%rax)
LBB0_60:
	movl	$1, %r12d
LBB0_61:
	movl	%r12d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REFILL_LINEBUF,4,2             ## @REFILL_LINEBUF
	.comm	_EOL_NL,8,3                     ## @EOL_NL
	.comm	_EOL_UNKNOWN,8,3                ## @EOL_UNKNOWN
	.comm	_EOL_CRNL,8,3                   ## @EOL_CRNL
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_BAD_COPY_FILE_FORMAT,4,2 ## @ERRCODE_BAD_COPY_FILE_FORMAT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"literal carriage return found in data"

L_.str.1:                               ## @.str.1
	.asciz	"unquoted carriage return found in data"

L_.str.2:                               ## @.str.2
	.asciz	"Use \"\\r\" to represent carriage return."

L_.str.3:                               ## @.str.3
	.asciz	"Use quoted CSV field to represent carriage return."

	.comm	_EOL_CR,8,3                     ## @EOL_CR
L_.str.4:                               ## @.str.4
	.asciz	"literal newline found in data"

L_.str.5:                               ## @.str.5
	.asciz	"unquoted newline found in data"

L_.str.6:                               ## @.str.6
	.asciz	"Use \"\\n\" to represent newline."

L_.str.7:                               ## @.str.7
	.asciz	"Use quoted CSV field to represent newline."

L_.str.8:                               ## @.str.8
	.asciz	"end-of-copy marker does not match previous newline style"

	.comm	_NO_END_OF_COPY_GOTO,4,2        ## @NO_END_OF_COPY_GOTO
L_.str.9:                               ## @.str.9
	.asciz	"end-of-copy marker corrupt"

	.no_dead_strip	_CopyReadLineText
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CopyReadLineText
_CopyReadLineText:                      ; @CopyReadLineText
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	ldr	x8, [x0, #56]
	cbz	x8, LBB0_2
; %bb.1:
	ldp	x8, x9, [x19]
	ldrb	w10, [x8]
	ldrb	w8, [x9]
	str	w10, [sp, #8]                   ; 4-byte Folded Spill
	cmp	w10, w8
	csel	w25, wzr, w8, eq
	b	LBB0_3
LBB0_2:
	str	wzr, [sp, #8]                   ; 4-byte Folded Spill
	mov	w25, #0
LBB0_3:
	mov	w27, #0
	mov	w26, #0
	strb	wzr, [sp, #15]
	ldr	x23, [x19, #16]
	mov	w21, #1
	ldp	w22, w28, [x19, #24]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w22, w28
	b.lt	LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_CopyLoadRawBuf
	ldr	w28, [x19, #28]
	cmp	w28, #1
	b.lt	LBB0_63
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w22, #0
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	sxtw	x24, w22
	ldrsb	w22, [x23, x24]
	and	w20, w22, #0xff
	ldr	x8, [x19, #56]
	cbz	x8, LBB0_15
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w20, #92
	ccmp	w20, #13, #4, ne
	b.ne	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #0
	bl	_IF_NEED_REFILL_AND_NOT_EOF_CONTINUE
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w26, #0
	cset	w8, eq
	cmp	w20, w25
	ccmp	w27, #0, #4, eq
	csel	w8, w8, w26, ne
	cmp	w20, w25
	csel	w26, w8, wzr, eq
	cmp	w27, #0
	cset	w9, eq
	cmp	w8, #0
	ldr	w8, [sp, #8]                    ; 4-byte Folded Reload
	ccmp	w20, w8, #0, eq
	csel	w8, w27, w9, ne
	cbz	w8, LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #32]
Lloh0:
	adrp	x9, _EOL_NL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EOL_NL@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	mov	w8, #13
	mov	w9, #10
	csel	w8, w9, w8, eq
	cmp	w8, w22
	b.ne	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x19, #68]
	add	w8, w8, #1
	str	w8, [x19, #68]
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w27, #1
	b	LBB0_15
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w27, #0
LBB0_15:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x22, x24, #1
	cmp	w20, #10
	b.eq	LBB0_20
; %bb.16:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	w20, #92
	b.eq	LBB0_22
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	w20, #13
	b.ne	LBB0_25
; %bb.18:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #56]
	cbz	x8, LBB0_28
; %bb.19:                               ;   in Loop: Header=BB0_4 Depth=1
	cbnz	w27, LBB0_25
	b	LBB0_28
LBB0_20:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #56]
	cbz	x8, LBB0_31
; %bb.21:                               ;   in Loop: Header=BB0_4 Depth=1
	cbnz	w27, LBB0_25
	b	LBB0_31
LBB0_22:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #56]
	cmp	x8, #0
	cset	w8, ne
	bic	w8, w8, w21
	tbnz	w8, #0, LBB0_25
; %bb.23:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w0, #0
	bl	_IF_NEED_REFILL_AND_NOT_EOF_CONTINUE
	mov	w0, #0
	bl	_IF_NEED_REFILL_AND_EOF_BREAK
	ldrb	w8, [x23, x22]
	cmp	w8, #46
	b.eq	LBB0_34
; %bb.24:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19, #56]
	add	w9, w24, #2
	cmp	x8, #0
	csel	w22, w9, w22, eq
LBB0_25:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w21, #0
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_4
; %bb.26:                               ;   in Loop: Header=BB0_4 Depth=1
	sxtb	w0, w20
	bl	_IS_HIGHBIT_SET
	mov	w21, #0
	cbz	x0, LBB0_4
; %bb.27:                               ;   in Loop: Header=BB0_4 Depth=1
	strb	w20, [sp, #14]
	ldr	w0, [x19, #40]
	add	x1, sp, #14
	bl	_pg_encoding_mblen
	sub	w20, w0, #1
	mov	x0, x20
	bl	_IF_NEED_REFILL_AND_NOT_EOF_CONTINUE
	mov	x0, x20
	bl	_IF_NEED_REFILL_AND_EOF_BREAK
	mov	w21, #0
	add	w22, w20, w22
	b	LBB0_4
LBB0_28:
	ldr	x8, [x19, #32]
Lloh3:
	adrp	x9, _EOL_UNKNOWN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EOL_UNKNOWN@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x20, _EOL_CRNL@GOTPAGE
Lloh7:
	ldr	x20, [x20, _EOL_CRNL@GOTPAGEOFF]
	ldr	x10, [x20]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_39
; %bb.29:
	mov	w0, #0
	bl	_IF_NEED_REFILL_AND_NOT_EOF_CONTINUE
	ldrb	w8, [x23, x22]
	cmp	w8, #10
	b.ne	LBB0_42
; %bb.30:
	mov	w0, #0
	ldr	x8, [x20]
	str	x8, [x19, #32]
	b	LBB0_64
LBB0_31:
	ldr	x8, [x19, #32]
Lloh8:
	adrp	x9, _EOL_CR@GOTPAGE
Lloh9:
	ldr	x9, [x9, _EOL_CR@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
Lloh11:
	adrp	x10, _EOL_CRNL@GOTPAGE
Lloh12:
	ldr	x10, [x10, _EOL_CRNL@GOTPAGEOFF]
Lloh13:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_33
; %bb.32:
Lloh14:
	adrp	x8, _ERROR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh16:
	ldr	w20, [x8]
Lloh17:
	adrp	x8, _ERRCODE_BAD_COPY_FILE_FORMAT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ERRCODE_BAD_COPY_FILE_FORMAT@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_errcode
	ldr	x8, [x19, #56]
Lloh20:
	adrp	x9, l_.str.5@PAGE
Lloh21:
	add	x9, x9, l_.str.5@PAGEOFF
Lloh22:
	adrp	x10, l_.str.4@PAGE
Lloh23:
	add	x10, x10, l_.str.4@PAGEOFF
	cmp	x8, #0
	csel	x0, x10, x9, eq
	bl	_errmsg
	ldr	x8, [x19, #56]
Lloh24:
	adrp	x9, l_.str.7@PAGE
Lloh25:
	add	x9, x9, l_.str.7@PAGEOFF
Lloh26:
	adrp	x10, l_.str.6@PAGE
Lloh27:
	add	x10, x10, l_.str.6@PAGEOFF
	cmp	x8, #0
	csel	x0, x10, x9, eq
	bl	_errhint
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
LBB0_33:
	mov	w0, #0
Lloh28:
	adrp	x8, _EOL_NL@GOTPAGE
Lloh29:
	ldr	x8, [x8, _EOL_NL@GOTPAGEOFF]
	b	LBB0_45
LBB0_34:
	add	x25, x24, #2
	ldr	x8, [x19, #32]
Lloh30:
	adrp	x22, _EOL_CRNL@GOTPAGE
Lloh31:
	ldr	x22, [x22, _EOL_CRNL@GOTPAGEOFF]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_49
; %bb.35:
	mov	x20, x25
	mov	w0, #0
	bl	_IF_NEED_REFILL_AND_NOT_EOF_CONTINUE
	add	w25, w24, #3
	ldrb	w8, [x23, x20]
	cmp	w8, #13
	b.eq	LBB0_49
; %bb.36:
	cmp	w8, #10
	b.ne	LBB0_46
; %bb.37:
	ldr	x8, [x19, #56]
	cbnz	x8, LBB0_49
; %bb.38:
Lloh32:
	adrp	x20, l_.str.8@PAGE
Lloh33:
	add	x20, x20, l_.str.8@PAGEOFF
	b	LBB0_48
LBB0_39:
Lloh34:
	adrp	x9, _EOL_NL@GOTPAGE
Lloh35:
	ldr	x9, [x9, _EOL_NL@GOTPAGEOFF]
Lloh36:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_41
; %bb.40:
Lloh37:
	adrp	x8, _ERROR@GOTPAGE
Lloh38:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh39:
	ldr	w20, [x8]
Lloh40:
	adrp	x8, _ERRCODE_BAD_COPY_FILE_FORMAT@GOTPAGE
Lloh41:
	ldr	x8, [x8, _ERRCODE_BAD_COPY_FILE_FORMAT@GOTPAGEOFF]
Lloh42:
	ldr	w0, [x8]
	bl	_errcode
	ldr	x8, [x19, #56]
Lloh43:
	adrp	x9, l_.str.1@PAGE
Lloh44:
	add	x9, x9, l_.str.1@PAGEOFF
Lloh45:
	adrp	x10, l_.str@PAGE
Lloh46:
	add	x10, x10, l_.str@PAGEOFF
	cmp	x8, #0
	csel	x0, x10, x9, eq
	bl	_errmsg
	ldr	x8, [x19, #56]
Lloh47:
	adrp	x9, l_.str.3@PAGE
Lloh48:
	add	x9, x9, l_.str.3@PAGEOFF
Lloh49:
	adrp	x10, l_.str.2@PAGE
Lloh50:
	add	x10, x10, l_.str.2@PAGEOFF
	cmp	x8, #0
	csel	x0, x10, x9, eq
	bl	_errhint
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
LBB0_41:
	mov	w0, #0
	b	LBB0_64
LBB0_42:
	ldr	x8, [x19, #32]
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_44
; %bb.43:
Lloh51:
	adrp	x8, _ERROR@GOTPAGE
Lloh52:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh53:
	ldr	w20, [x8]
Lloh54:
	adrp	x8, _ERRCODE_BAD_COPY_FILE_FORMAT@GOTPAGE
Lloh55:
	ldr	x8, [x8, _ERRCODE_BAD_COPY_FILE_FORMAT@GOTPAGEOFF]
Lloh56:
	ldr	w0, [x8]
	bl	_errcode
	ldr	x8, [x19, #56]
Lloh57:
	adrp	x9, l_.str.1@PAGE
Lloh58:
	add	x9, x9, l_.str.1@PAGEOFF
Lloh59:
	adrp	x10, l_.str@PAGE
Lloh60:
	add	x10, x10, l_.str@PAGEOFF
	cmp	x8, #0
	csel	x0, x10, x9, eq
	bl	_errmsg
	ldr	x8, [x19, #56]
Lloh61:
	adrp	x9, l_.str.3@PAGE
Lloh62:
	add	x9, x9, l_.str.3@PAGEOFF
Lloh63:
	adrp	x10, l_.str.2@PAGE
Lloh64:
	add	x10, x10, l_.str.2@PAGEOFF
	cmp	x8, #0
	csel	x0, x10, x9, eq
	bl	_errhint
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
LBB0_44:
	mov	w0, #0
Lloh65:
	adrp	x8, _EOL_CR@GOTPAGE
Lloh66:
	ldr	x8, [x8, _EOL_CR@GOTPAGEOFF]
LBB0_45:
	ldr	x8, [x8]
	str	x8, [x19, #32]
	b	LBB0_64
LBB0_46:
	ldr	x8, [x19, #56]
	cbnz	x8, LBB0_49
; %bb.47:
Lloh67:
	adrp	x20, l_.str.9@PAGE
Lloh68:
	add	x20, x20, l_.str.9@PAGEOFF
LBB0_48:
Lloh69:
	adrp	x8, _ERROR@GOTPAGE
Lloh70:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh71:
	ldr	w21, [x8]
Lloh72:
	adrp	x8, _ERRCODE_BAD_COPY_FILE_FORMAT@GOTPAGE
Lloh73:
	ldr	x8, [x8, _ERRCODE_BAD_COPY_FILE_FORMAT@GOTPAGEOFF]
Lloh74:
	ldr	w0, [x8]
	bl	_errcode
	mov	x0, x20
	bl	_errmsg
	mov	x1, x0
	mov	x0, x21
	bl	_ereport
LBB0_49:
	mov	w0, #0
	bl	_IF_NEED_REFILL_AND_NOT_EOF_CONTINUE
	ldrb	w23, [x23, w25, sxtw]
	cmp	w23, #10
	b.eq	LBB0_53
; %bb.50:
	cmp	w23, #13
	b.eq	LBB0_53
; %bb.51:
	ldr	x8, [x19, #56]
	cbnz	x8, LBB0_53
; %bb.52:
Lloh75:
	adrp	x8, _ERROR@GOTPAGE
Lloh76:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh77:
	ldr	w20, [x8]
Lloh78:
	adrp	x8, _ERRCODE_BAD_COPY_FILE_FORMAT@GOTPAGE
Lloh79:
	ldr	x8, [x8, _ERRCODE_BAD_COPY_FILE_FORMAT@GOTPAGEOFF]
Lloh80:
	ldr	w0, [x8]
	bl	_errcode
Lloh81:
	adrp	x0, l_.str.9@PAGE
Lloh82:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
LBB0_53:
	add	w21, w25, #1
	ldr	x8, [x19, #32]
Lloh83:
	adrp	x9, _EOL_NL@GOTPAGE
Lloh84:
	ldr	x9, [x9, _EOL_NL@GOTPAGEOFF]
Lloh85:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_55
; %bb.54:
	cmp	w23, #10
	b.ne	LBB0_59
LBB0_55:
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_57
; %bb.56:
	cmp	w23, #10
	b.ne	LBB0_59
LBB0_57:
Lloh86:
	adrp	x9, _EOL_CR@GOTPAGE
Lloh87:
	ldr	x9, [x9, _EOL_CR@GOTPAGEOFF]
Lloh88:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_60
; %bb.58:
	cmp	w23, #13
	b.eq	LBB0_60
LBB0_59:
Lloh89:
	adrp	x8, _ERROR@GOTPAGE
Lloh90:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh91:
	ldr	w20, [x8]
Lloh92:
	adrp	x8, _ERRCODE_BAD_COPY_FILE_FORMAT@GOTPAGE
Lloh93:
	ldr	x8, [x8, _ERRCODE_BAD_COPY_FILE_FORMAT@GOTPAGEOFF]
Lloh94:
	ldr	w0, [x8]
	bl	_errcode
Lloh95:
	adrp	x0, l_.str.8@PAGE
Lloh96:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
LBB0_60:
	ldrsw	x8, [x19, #24]
	cmp	w24, w8
	b.le	LBB0_62
; %bb.61:
	add	x0, x19, #64
	ldr	x9, [x19, #16]
	add	x1, x9, x8
	sub	w2, w24, w8
	bl	_appendBinaryStringInfo
LBB0_62:
	str	w21, [x19, #24]
LBB0_63:
	mov	w0, #1
LBB0_64:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpAdd	Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpAdd	Lloh95, Lloh96
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.cfi_endproc
                                        ; -- End function
	.comm	_REFILL_LINEBUF,4,2             ; @REFILL_LINEBUF
	.comm	_EOL_NL,8,3                     ; @EOL_NL
	.comm	_EOL_UNKNOWN,8,3                ; @EOL_UNKNOWN
	.comm	_EOL_CRNL,8,3                   ; @EOL_CRNL
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_BAD_COPY_FILE_FORMAT,4,2 ; @ERRCODE_BAD_COPY_FILE_FORMAT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"literal carriage return found in data"

l_.str.1:                               ; @.str.1
	.asciz	"unquoted carriage return found in data"

l_.str.2:                               ; @.str.2
	.asciz	"Use \"\\r\" to represent carriage return."

l_.str.3:                               ; @.str.3
	.asciz	"Use quoted CSV field to represent carriage return."

	.comm	_EOL_CR,8,3                     ; @EOL_CR
l_.str.4:                               ; @.str.4
	.asciz	"literal newline found in data"

l_.str.5:                               ; @.str.5
	.asciz	"unquoted newline found in data"

l_.str.6:                               ; @.str.6
	.asciz	"Use \"\\n\" to represent newline."

l_.str.7:                               ; @.str.7
	.asciz	"Use quoted CSV field to represent newline."

l_.str.8:                               ; @.str.8
	.asciz	"end-of-copy marker does not match previous newline style"

	.comm	_NO_END_OF_COPY_GOTO,4,2        ; @NO_END_OF_COPY_GOTO
l_.str.9:                               ; @.str.9
	.asciz	"end-of-copy marker corrupt"

	.no_dead_strip	_CopyReadLineText
.subsections_via_symbols
