	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function CopyReadAttributesCSV
_CopyReadAttributesCSV:                 ## @CopyReadAttributesCSV
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rdx
	cmpl	$0, 24(%rdi)
	jle	LBB0_1
## %bb.3:
	movq	(%rdx), %rax
	movq	8(%rdx), %rcx
	movb	(%rax), %bl
	movb	(%rcx), %al
	movb	%al, -42(%rbp)                  ## 1-byte Spill
	movq	16(%rdx), %rax
	movb	(%rax), %al
	movb	%al, -41(%rbp)                  ## 1-byte Spill
	leaq	48(%rdx), %r12
	movq	%r12, %rdi
	movq	%rdx, %r14
	callq	_resetStringInfo
	movq	80(%r14), %r13
	cmpq	%r13, 48(%r14)
	jle	LBB0_5
## %bb.4:
	movq	%r14, %r9
	jmp	LBB0_6
LBB0_1:
	xorl	%eax, %eax
	cmpq	$0, 80(%rdx)
	je	LBB0_38
## %bb.2:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_BAD_COPY_FILE_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
	xorl	%eax, %eax
	jmp	LBB0_38
LBB0_5:
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_enlargeStringInfo
	movq	%r14, %r9
	movq	80(%r14), %r13
LBB0_6:
	movq	56(%r9), %r14
	movq	88(%r9), %r12
	addq	%r12, %r13
	xorl	%ecx, %ecx
	movb	%bl, -43(%rbp)                  ## 1-byte Spill
	movb	-42(%rbp), %r10b                ## 1-byte Reload
	movb	-41(%rbp), %r8b                 ## 1-byte Reload
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movb	-42(%rbp), %r10b                ## 1-byte Reload
	movb	-41(%rbp), %r8b                 ## 1-byte Reload
	movq	%r14, %r9
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	-64(%rbp), %rax                 ## 8-byte Reload
LBB0_19:                                ##   in Loop: Header=BB0_7 Depth=1
	incq	%rcx
	movq	%rax, %r14
	testb	%r15b, %r15b
	je	LBB0_37
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
                                        ##       Child Loop BB0_24 Depth 3
                                        ##         Child Loop BB0_27 Depth 4
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movslq	24(%r9), %rsi
	cmpq	%rsi, %rcx
	jge	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	32(%r9), %rax
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_7 Depth=1
	leal	(%rsi,%rsi), %eax
	movl	%eax, 24(%r9)
	movq	32(%r9), %rdi
	shll	$4, %esi
                                        ## kill: def $esi killed $esi killed $rsi
	movq	%rcx, %rbx
	movq	%r9, %r15
	callq	_repalloc
	movq	%r15, %r9
	movb	-41(%rbp), %r8b                 ## 1-byte Reload
	movb	-42(%rbp), %r10b                ## 1-byte Reload
	movq	%rbx, %rcx
	movb	-43(%rbp), %bl                  ## 1-byte Reload
	movq	%rax, 32(%r15)
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r14, (%rax,%rcx,8)
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	cmpq	%r13, %rdi
	jae	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rdx
	movb	$1, %dil
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_24 Depth 3
                                        ##         Child Loop BB0_27 Depth 4
	leaq	1(%rdx), %r12
	movb	(%rdx), %cl
	cmpb	%bl, %cl
	sete	%r15b
	je	LBB0_13
## %bb.22:                              ##   in Loop: Header=BB0_12 Depth=2
	cmpb	%r10b, %cl
	je	LBB0_23
## %bb.32:                              ##   in Loop: Header=BB0_12 Depth=2
	movb	%cl, (%r14)
	incq	%r14
	movq	%r12, %rdx
	cmpq	%r13, %r12
	jb	LBB0_12
	jmp	LBB0_33
LBB0_23:                                ##   in Loop: Header=BB0_12 Depth=2
	movq	%r9, %r15
	incq	%rdx
	.p2align	4, 0x90
LBB0_24:                                ##   Parent Loop BB0_7 Depth=1
                                        ##     Parent Loop BB0_12 Depth=2
                                        ## =>    This Loop Header: Depth=3
                                        ##         Child Loop BB0_27 Depth 4
	movq	%rdx, %rbx
	cmpq	%r13, %rbx
	jb	LBB0_27
LBB0_26:                                ##   in Loop: Header=BB0_24 Depth=3
	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.1(%rip), %rdi
	callq	_errmsg
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ereport
	movb	-41(%rbp), %r8b                 ## 1-byte Reload
	movb	-42(%rbp), %r10b                ## 1-byte Reload
LBB0_27:                                ##   Parent Loop BB0_7 Depth=1
                                        ##     Parent Loop BB0_12 Depth=2
                                        ##       Parent Loop BB0_24 Depth=3
                                        ## =>      This Inner Loop Header: Depth=4
	leaq	1(%rbx), %rdx
	movzbl	(%rbx), %eax
	cmpb	%r8b, %al
	jne	LBB0_34
## %bb.28:                              ##   in Loop: Header=BB0_27 Depth=4
	cmpq	%r13, %rdx
	jae	LBB0_34
## %bb.29:                              ##   in Loop: Header=BB0_27 Depth=4
	movzbl	(%rdx), %ecx
	cmpb	%r8b, %cl
	je	LBB0_31
## %bb.30:                              ##   in Loop: Header=BB0_27 Depth=4
	cmpb	%r10b, %cl
	jne	LBB0_34
LBB0_31:                                ##   in Loop: Header=BB0_27 Depth=4
	movb	%cl, (%r14)
	addq	$2, %rbx
	incq	%r14
	cmpq	%r13, %rbx
	jae	LBB0_26
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_34:                                ##   in Loop: Header=BB0_24 Depth=3
	cmpb	%r10b, %al
	je	LBB0_20
## %bb.35:                              ##   in Loop: Header=BB0_24 Depth=3
	movb	%al, (%r14)
	incq	%r14
	jmp	LBB0_24
LBB0_20:                                ##   in Loop: Header=BB0_12 Depth=2
	xorl	%edi, %edi
	cmpq	%r13, %rdx
	movq	%r15, %r9
	movb	-43(%rbp), %bl                  ## 1-byte Reload
	jb	LBB0_12
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_7 Depth=1
	leaq	1(%r14), %rax
	movb	$0, (%r14)
	xorl	%edx, %edx
	movq	%rdi, %r12
	xorl	%r15d, %r15d
	movq	%r14, %rsi
	cmpl	%edx, 40(%r9)
	jne	LBB0_19
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_33:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r12, %rdx
LBB0_13:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r14, %rsi
	leaq	1(%r14), %rax
	movb	$0, (%r14)
	testb	$1, %dil
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	je	LBB0_19
## %bb.14:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	subl	%edi, %edx
	cmpl	%edx, 40(%r9)
	jne	LBB0_19
LBB0_17:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	72(%r9), %esi
                                        ## kill: def $edx killed $edx killed $rdx
	movq	%r9, %r14
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_18
## %bb.36:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r14, %r9
	movq	32(%r14), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	$0, (%rax,%rcx,8)
	incq	%rcx
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	testb	%r15b, %r15b
	movb	-42(%rbp), %r10b                ## 1-byte Reload
	movb	-41(%rbp), %r8b                 ## 1-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	jne	LBB0_7
	jmp	LBB0_37
LBB0_21:
	movb	$0, (%r14)
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	incq	%rcx
	movq	%r14, %rsi
LBB0_37:
	xorl	%edi, %edi
	cmpb	$0, (%rsi)
	sete	%dil
	movq	%rcx, %r14
	movq	%r9, %r15
	movq	%rsi, %rbx
	callq	_Assert
	movq	%r14, %rax
	subl	56(%r15), %ebx
	movl	%ebx, 64(%r15)
LBB0_38:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.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	"extra data after last expected column"

L_.str.1:                               ## @.str.1
	.asciz	"unterminated CSV quoted field"

	.no_dead_strip	_CopyReadAttributesCSV
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function CopyReadAttributesCSV
_CopyReadAttributesCSV:                 ; @CopyReadAttributesCSV
	.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	x10, x0
	ldr	w8, [x0, #24]
	cmp	w8, #0
	b.le	LBB0_34
; %bb.1:
	ldp	x8, x9, [x10]
	ldrb	w24, [x8]
	ldrb	w25, [x9]
	ldr	x8, [x10, #16]
	ldrb	w26, [x8]
	add	x20, x10, #48
	mov	x0, x20
	str	x10, [sp, #8]                   ; 8-byte Folded Spill
	bl	_resetStringInfo
	ldr	x10, [sp, #8]                   ; 8-byte Folded Reload
	ldr	x8, [x10, #48]
	ldr	x1, [x10, #80]
	cmp	x8, x1
	b.gt	LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_enlargeStringInfo
	ldr	x10, [sp, #8]                   ; 8-byte Folded Reload
	ldr	x1, [x10, #80]
LBB0_3:
	mov	x20, #0
	ldr	x28, [x10, #56]
	ldr	x22, [x10, #88]
	add	x27, x22, x1
Lloh0:
	adrp	x21, _ERROR@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ERROR@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x28, x19
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x19, x28
	add	x20, x20, #1
	mov	x22, x11
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x28, x21
Lloh2:
	adrp	x21, _ERROR@GOTPAGE
Lloh3:
	ldr	x21, [x21, _ERROR@GOTPAGEOFF]
	tbz	w23, #0, LBB0_37
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
                                        ;       Child Loop BB0_18 Depth 3
	ldrsw	x8, [x10, #24]
	cmp	x20, x8
	b.ge	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x0, [x10, #32]
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_7 Depth=1
	lsl	w9, w8, #1
	str	w9, [x10, #24]
	ldr	x0, [x10, #32]
	lsl	w1, w8, #4
	bl	_repalloc
	ldr	x10, [sp, #8]                   ; 8-byte Folded Reload
	str	x0, [x10, #32]
LBB0_10:                                ;   in Loop: Header=BB0_7 Depth=1
	str	x28, [x0, x20, lsl #3]
	cmp	x22, x27
	b.hs	LBB0_25
; %bb.11:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	w9, #1
	mov	x8, x22
LBB0_12:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_18 Depth 3
	mov	x10, x8
	ldrb	w11, [x8], #1
	cmp	w11, w24
	cset	w23, eq
	b.eq	LBB0_26
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=2
	cmp	w11, w25
	b.eq	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=2
	strb	w11, [x28], #1
	cmp	x8, x27
	b.lo	LBB0_12
	b	LBB0_27
LBB0_15:                                ;   in Loop: Header=BB0_12 Depth=2
	add	x19, x10, #1
	b	LBB0_18
LBB0_16:                                ;   in Loop: Header=BB0_18 Depth=3
	strb	w10, [x28]
	add	x8, x19, #2
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=3
	add	x28, x28, #1
	mov	x19, x8
LBB0_18:                                ;   Parent Loop BB0_7 Depth=1
                                        ;     Parent Loop BB0_12 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	cmp	x19, x27
	b.lo	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=3
	ldr	w23, [x21]
Lloh4:
	adrp	x8, _ERRCODE_BAD_COPY_FILE_FORMAT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ERRCODE_BAD_COPY_FILE_FORMAT@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_errcode
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x23
	bl	_ereport
LBB0_20:                                ;   in Loop: Header=BB0_18 Depth=3
	mov	x8, x19
	ldrb	w9, [x8], #1
	cmp	w9, w26
	ccmp	x8, x27, #2, eq
	b.hs	LBB0_22
; %bb.21:                               ;   in Loop: Header=BB0_18 Depth=3
	ldrb	w10, [x8]
	cmp	w10, w26
	ccmp	w10, w25, #4, ne
	b.eq	LBB0_16
LBB0_22:                                ;   in Loop: Header=BB0_18 Depth=3
	cmp	w9, w25
	b.eq	LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_18 Depth=3
	strb	w9, [x28]
	b	LBB0_17
LBB0_24:                                ;   in Loop: Header=BB0_12 Depth=2
	mov	w9, #0
	cmp	x8, x27
	b.lo	LBB0_12
	b	LBB0_36
LBB0_25:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	w2, #0
	mov	w23, #0
	mov	x21, x28
	strb	wzr, [x21], #1
	mov	x11, x22
	mov	x19, x28
	b	LBB0_29
LBB0_26:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x8, x10
LBB0_27:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x21, x28
	strb	wzr, [x21], #1
	add	x11, x10, #1
	tbz	w9, #0, LBB0_32
; %bb.28:                               ;   in Loop: Header=BB0_7 Depth=1
	sub	w2, w8, w22
	mov	x19, x28
	ldr	x10, [sp, #8]                   ; 8-byte Folded Reload
LBB0_29:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x10, #40]
	cmp	w8, w2
	b.ne	LBB0_4
; %bb.30:                               ;   in Loop: Header=BB0_7 Depth=1
	str	x11, [sp]                       ; 8-byte Folded Spill
	ldr	w1, [x10, #72]
	mov	x0, x22
	mov	x22, x10
	bl	_strncmp
	cbz	x0, LBB0_33
; %bb.31:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x28, x19
	mov	x10, x22
	ldr	x11, [sp]                       ; 8-byte Folded Reload
	b	LBB0_5
LBB0_32:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x10, [sp, #8]                   ; 8-byte Folded Reload
	b	LBB0_5
LBB0_33:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x22, #32]
	str	xzr, [x8, x20, lsl #3]
	add	x20, x20, #1
	mov	x10, x22
	ldr	x22, [sp]                       ; 8-byte Folded Reload
	b	LBB0_6
LBB0_34:
	ldr	x8, [x10, #80]
	cbz	x8, LBB0_39
; %bb.35:
Lloh9:
	adrp	x8, _ERROR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh11:
	ldr	w19, [x8]
Lloh12:
	adrp	x8, _ERRCODE_BAD_COPY_FILE_FORMAT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ERRCODE_BAD_COPY_FILE_FORMAT@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_errcode
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x19
	bl	_ereport
	mov	w20, #0
	b	LBB0_38
LBB0_36:
	strb	wzr, [x28]
	add	x20, x20, #1
	mov	x19, x28
	ldr	x10, [sp, #8]                   ; 8-byte Folded Reload
LBB0_37:
	ldrb	w8, [x19]
	cmp	w8, #0
	cset	w0, eq
	mov	x21, x10
	bl	_Assert
	ldr	w8, [x21, #56]
	sub	w8, w19, w8
	str	w8, [x21, #64]
LBB0_38:
	mov	x0, x20
	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
LBB0_39:
	mov	w20, #0
	b	LBB0_38
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.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	"extra data after last expected column"

l_.str.1:                               ; @.str.1
	.asciz	"unterminated CSV quoted field"

	.no_dead_strip	_CopyReadAttributesCSV
.subsections_via_symbols
