	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function BeginCopyFrom
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_BeginCopyFrom
	.p2align	4, 0x90
_BeginCopyFrom:                         ## @BeginCopyFrom
	.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	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -160(%rbp)                 ## 8-byte Spill
	movl	%ecx, -108(%rbp)                ## 4-byte Spill
	movq	%rdx, -152(%rbp)                ## 8-byte Spill
	movl	%esi, %edx
	movq	%rdi, %r14
	movq	16(%rbp), %rax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -48(%rbp)
	movq	_InvalidOid@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	movq	%rax, (%rsp)
	xorl	%eax, %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	$1, %esi
	xorl	%ecx, %ecx
	callq	_BeginCopy
	movq	%rax, %r12
	movl	184(%rax), %edi
	callq	_MemoryContextSwitchTo
	movl	%eax, -112(%rbp)                ## 4-byte Spill
	movl	$0, (%r12)
	movq	_EOL_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 180(%r12)
	movl	120(%r12), %edi
	callq	_RelationGetRelationName
	movl	%eax, 176(%r12)
	leaq	148(%r12), %rdi
	xorps	%xmm0, %xmm0
	movups	%xmm0, 152(%r12)
	movq	$0, 168(%r12)
	callq	_initStringInfo
	leaq	144(%r12), %rdi
	callq	_initStringInfo
	movl	$0, 4(%r12)
	movq	_RAW_BUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	incl	%edi
	callq	_palloc
	movq	%rax, 8(%r12)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 128(%r12)
	testq	%r14, %r14
	je	LBB0_2
## %bb.1:
	movl	(%r14), %eax
	movl	%eax, 124(%r12)
LBB0_2:
	movl	120(%r12), %edi
	callq	_RelationGetDescr
	movq	%rax, -176(%rbp)                ## 8-byte Spill
	movl	(%rax), %r14d
	leal	(,%r14,4), %ebx
	movl	%ebx, %edi
	callq	_palloc
	movq	%rax, -128(%rbp)                ## 8-byte Spill
	movl	%ebx, %edi
	callq	_palloc
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	movl	%ebx, %edi
	callq	_palloc
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	leal	(,%r14,8), %edi
	callq	_palloc
	movq	%rax, -136(%rbp)                ## 8-byte Spill
	movl	$0, %eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	%r14, -168(%rbp)                ## 8-byte Spill
	testl	%r14d, %r14d
	jle	LBB0_15
## %bb.3:
	xorl	%r14d, %r14d
	movq	-120(%rbp), %r13                ## 8-byte Reload
	movq	-128(%rbp), %r15                ## 8-byte Reload
	xorl	%eax, %eax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	-80(%rbp), %r12                 ## 8-byte Reload
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	incq	%r14
	addq	$4, %r15
	addq	$4, %r13
	cmpq	%r14, -168(%rbp)                ## 8-byte Folded Reload
	je	LBB0_15
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	-176(%rbp), %rdi                ## 8-byte Reload
	movl	%r14d, %esi
	callq	_TupleDescAttr
	cmpq	$0, 8(%rax)
	jne	LBB0_14
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %rbx
	cmpq	$0, 56(%r12)
	movl	4(%rax), %edi
	leaq	-84(%rbp), %rsi
	movq	%r13, %rdx
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	callq	_getTypeBinaryInputInfo
	jmp	LBB0_8
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	callq	_getTypeInputInfo
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	-84(%rbp), %edi
	movq	%r15, %rsi
	callq	_fmgr_info
	movl	48(%r12), %edi
	leaq	1(%r14), %r12
	movl	%r12d, %esi
	callq	_list_member_int
	testl	%eax, %eax
	jne	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$0, (%rbx)
	jne	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movl	120(%rax), %edi
	movl	%r12d, %esi
	callq	_build_column_default
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %rdi
	callq	_expression_planner
	movq	%rax, %rbx
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_ExecInitExpr
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	movslq	%edx, %rdx
	movq	-136(%rbp), %rcx                ## 8-byte Reload
	movq	%rax, (%rcx,%rdx,8)
	movq	-144(%rbp), %rax                ## 8-byte Reload
	movl	%r14d, (%rax,%rdx,4)
	incl	%edx
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	cmpl	$0, -96(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rdi
	callq	_contain_volatile_functions_not_nextval
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	jmp	LBB0_13
LBB0_15:
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movq	%rax, 112(%r12)
	movq	-120(%rbp), %rax                ## 8-byte Reload
	movq	%rax, 104(%r12)
	movq	-144(%rbp), %rax                ## 8-byte Reload
	movq	%rax, 16(%r12)
	movq	-136(%rbp), %rax                ## 8-byte Reload
	movq	%rax, 96(%r12)
	movq	-96(%rbp), %rax                 ## 8-byte Reload
	movl	%eax, 24(%r12)
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movl	%eax, 28(%r12)
	movl	-108(%rbp), %eax                ## 4-byte Reload
	movl	%eax, 32(%r12)
	movq	-160(%rbp), %rcx                ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_17
## %bb.16:
	movq	_COPY_CALLBACK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 88(%r12)
	movq	%rcx, 80(%r12)
LBB0_34:
	cmpq	$0, 56(%r12)
	je	LBB0_53
## %bb.35:
	leaq	-64(%rbp), %rsi
	movq	%r12, %rdi
	movl	$11, %edx
	movl	$11, %ecx
	callq	_CopyGetData
	cmpl	$11, %eax
	jne	LBB0_37
## %bb.36:
	movq	_BinarySignature@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-64(%rbp), %rdi
	movl	$11, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_38
LBB0_37:
	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.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_38:
	leaq	-68(%rbp), %rsi
	movq	%r12, %rdi
	callq	_CopyGetInt32
	testl	%eax, %eax
	jne	LBB0_40
## %bb.39:
	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.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_40:
	movl	-68(%rbp), %eax
	testl	$65536, %eax                    ## imm = 0x10000
	je	LBB0_42
## %bb.41:
	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.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
	movl	-68(%rbp), %eax
LBB0_42:
	andl	$-65537, %eax                   ## imm = 0xFFFEFFFF
	movl	%eax, -68(%rbp)
	cmpl	$65536, %eax                    ## imm = 0x10000
	jb	LBB0_44
## %bb.43:
	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.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_44:
	leaq	-68(%rbp), %rsi
	movq	%r12, %rdi
	callq	_CopyGetInt32
	testl	%eax, %eax
	je	LBB0_46
## %bb.45:
	movl	-68(%rbp), %eax
	testl	%eax, %eax
	jns	LBB0_47
LBB0_46:
	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.9(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
	movl	-68(%rbp), %eax
LBB0_47:
	leal	-1(%rax), %ecx
	movl	%ecx, -68(%rbp)
	testl	%eax, %eax
	jle	LBB0_52
## %bb.48:
	leaq	-64(%rbp), %r15
	movq	_ERRCODE_BAD_COPY_FILE_FORMAT@GOTPCREL(%rip), %r13
	leaq	L_.str.10(%rip), %r14
	jmp	LBB0_49
	.p2align	4, 0x90
LBB0_51:                                ##   in Loop: Header=BB0_49 Depth=1
	movl	-68(%rbp), %eax
	leal	-1(%rax), %ecx
	movl	%ecx, -68(%rbp)
	testl	%eax, %eax
	jle	LBB0_52
LBB0_49:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	$1, %edx
	movl	$1, %ecx
	callq	_CopyGetData
	cmpl	$1, %eax
	je	LBB0_51
## %bb.50:                              ##   in Loop: Header=BB0_49 Depth=1
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	(%r13), %edi
	callq	_errcode
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
	jmp	LBB0_51
LBB0_52:
	cmpq	$0, 56(%r12)
	jne	LBB0_54
LBB0_53:
	movl	48(%r12), %edi
	callq	_list_length
                                        ## kill: def $eax killed $eax def $rax
	movl	%eax, 36(%r12)
	leal	(,%rax,8), %edi
	callq	_palloc
	movq	%rax, 40(%r12)
LBB0_54:
	movl	-112(%rbp), %edi                ## 4-byte Reload
	callq	_MemoryContextSwitchTo
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_56
## %bb.55:
	movq	%r12, %rax
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movq	-152(%rbp), %rdi                ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_18
## %bb.21:
	callq	_pstrdup
	movl	%eax, 64(%r12)
	cmpl	$0, 32(%r12)
	je	LBB0_24
## %bb.22:
	movq	_PG_BINARY_R@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_OpenPipeStream
	movq	%rax, 72(%r12)
	testq	%rax, %rax
	jne	LBB0_34
## %bb.23:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_errcode_for_file_access
	movl	64(%r12), %esi
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_33
LBB0_18:
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_Assert
	movq	_whereToSendOutput@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_DestRemote@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_20
## %bb.19:
	movq	%r12, %rdi
	callq	_ReceiveCopyBegin
	jmp	LBB0_34
LBB0_24:
	movq	_PG_BINARY_R@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_AllocateFile
	movq	%rax, 72(%r12)
	testq	%rax, %rax
	jne	LBB0_29
## %bb.25:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_errcode_for_file_access
	movl	64(%r12), %esi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movq	_ENOENT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_27
## %bb.26:
	movq	_EACCES@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_28
LBB0_27:
	leaq	L_.str.2(%rip), %rdi
	callq	_errhint
	movl	%eax, %r15d
LBB0_28:
	movl	%r14d, %edi
	movl	%r15d, %esi
	callq	_ereport
	movq	72(%r12), %rax
LBB0_29:
	movq	%rax, %rdi
	callq	_fileno
	leaq	-64(%rbp), %rsi
	movl	%eax, %edi
	callq	_fstat
	testq	%rax, %rax
	je	LBB0_31
## %bb.30:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%eax, %eax
	callq	_errcode_for_file_access
	movl	64(%r12), %esi
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_31:
	movl	-64(%rbp), %edi
	callq	_S_ISDIR
	testq	%rax, %rax
	je	LBB0_34
## %bb.32:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_WRONG_OBJECT_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movl	64(%r12), %esi
	leaq	L_.str.4(%rip), %rdi
LBB0_33:
	xorl	%eax, %eax
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
	jmp	LBB0_34
LBB0_20:
	movq	_stdin@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 72(%r12)
	jmp	LBB0_34
LBB0_56:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_InvalidOid,4,2                 ## @InvalidOid
	.comm	_EOL_UNKNOWN,4,2                ## @EOL_UNKNOWN
	.comm	_RAW_BUF_SIZE,4,2               ## @RAW_BUF_SIZE
	.comm	_COPY_CALLBACK,4,2              ## @COPY_CALLBACK
	.comm	_whereToSendOutput,8,3          ## @whereToSendOutput
	.comm	_DestRemote,8,3                 ## @DestRemote
	.comm	_stdin,8,3                      ## @stdin
	.comm	_PG_BINARY_R,4,2                ## @PG_BINARY_R
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not execute command \"%s\": %m"

	.comm	_errno,4,2                      ## @errno
L_.str.1:                               ## @.str.1
	.asciz	"could not open file \"%s\" for reading: %m"

	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_EACCES,4,2                     ## @EACCES
L_.str.2:                               ## @.str.2
	.asciz	"COPY FROM instructs the PostgreSQL server process to read a file. You may want a client-side facility such as psql's \\copy."

L_.str.3:                               ## @.str.3
	.asciz	"could not stat file \"%s\": %m"

	.comm	_ERRCODE_WRONG_OBJECT_TYPE,4,2  ## @ERRCODE_WRONG_OBJECT_TYPE
L_.str.4:                               ## @.str.4
	.asciz	"\"%s\" is a directory"

	.comm	_BinarySignature,4,2            ## @BinarySignature
	.comm	_ERRCODE_BAD_COPY_FILE_FORMAT,4,2 ## @ERRCODE_BAD_COPY_FILE_FORMAT
L_.str.5:                               ## @.str.5
	.asciz	"COPY file signature not recognized"

L_.str.6:                               ## @.str.6
	.asciz	"invalid COPY file header (missing flags)"

L_.str.7:                               ## @.str.7
	.asciz	"invalid COPY file header (WITH OIDS)"

L_.str.8:                               ## @.str.8
	.asciz	"unrecognized critical flags in COPY file header"

L_.str.9:                               ## @.str.9
	.asciz	"invalid COPY file header (missing length)"

L_.str.10:                              ## @.str.10
	.asciz	"invalid COPY file header (wrong length)"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_BeginCopyFrom                  ; -- Begin function BeginCopyFrom
	.p2align	2
_BeginCopyFrom:                         ; @BeginCopyFrom
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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
	str	x4, [sp, #48]                   ; 8-byte Folded Spill
	str	w3, [sp, #44]                   ; 4-byte Folded Spill
	str	x2, [sp, #16]                   ; 8-byte Folded Spill
	mov	x2, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _InvalidOid@GOTPAGE
Lloh4:
	ldr	x8, [x8, _InvalidOid@GOTPAGEOFF]
Lloh5:
	ldr	w4, [x8]
	mov	w1, #1
	mov	x3, #0
	bl	_BeginCopy
	mov	x19, x0
	ldr	w0, [x0, #184]
	bl	_MemoryContextSwitchTo
	str	w0, [sp, #60]                   ; 4-byte Folded Spill
	str	wzr, [x19]
Lloh6:
	adrp	x8, _EOL_UNKNOWN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EOL_UNKNOWN@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19, #180]
	ldr	w0, [x19, #120]
	bl	_RelationGetRelationName
	str	w0, [x19, #176]
	add	x0, x19, #148
	stp	xzr, xzr, [x19, #160]
	str	xzr, [x19, #152]
	bl	_initStringInfo
	add	x0, x19, #144
	bl	_initStringInfo
	str	wzr, [x19, #4]
Lloh9:
	adrp	x8, _RAW_BUF_SIZE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RAW_BUF_SIZE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	add	w0, w8, #1
	bl	_palloc
	str	x0, [x19, #8]
	stp	xzr, xzr, [x19, #128]
	cbz	x20, LBB0_2
; %bb.1:
	ldr	w8, [x20]
	str	w8, [x19, #124]
LBB0_2:
	ldr	w0, [x19, #120]
	bl	_RelationGetDescr
	mov	x25, x0
	ldr	w27, [x0]
	lsl	w20, w27, #2
	mov	x0, x20
	bl	_palloc
	mov	x24, x0
	mov	x0, x20
	bl	_palloc
	mov	x26, x0
	mov	x0, x20
	bl	_palloc
	str	x0, [sp, #72]                   ; 8-byte Folded Spill
	lsl	w0, w27, #3
	bl	_palloc
	str	x0, [sp, #64]                   ; 8-byte Folded Spill
	cmp	w27, #1
	stp	x26, x24, [sp, #24]             ; 16-byte Folded Spill
	b.lt	LBB0_14
; %bb.3:
	mov	x22, #0
	mov	w28, #0
	mov	w20, #0
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x22, x22, #1
	add	x24, x24, #4
	add	x26, x26, #4
	cmp	x27, x22
	b.eq	LBB0_15
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x25
	mov	x1, x22
	bl	_TupleDescAttr
	ldr	x8, [x0, #8]
	cbnz	x8, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x21, x0
	ldr	x8, [x19, #56]
	ldr	w0, [x0, #4]
	add	x1, sp, #84
	mov	x2, x26
	cbz	x8, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_getTypeBinaryInputInfo
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	bl	_getTypeInputInfo
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [sp, #84]
	mov	x1, x24
	bl	_fmgr_info
	ldr	w0, [x19, #48]
	add	x23, x22, #1
	mov	x1, x23
	bl	_list_member_int
	cbnz	w0, LBB0_4
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x21]
	cbnz	w8, LBB0_4
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x19, #120]
	mov	x1, x23
	bl	_build_column_default
	cbz	x0, LBB0_4
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	bl	_expression_planner
	mov	x21, x0
	mov	x1, #0
	bl	_ExecInitExpr
	ldr	x8, [sp, #64]                   ; 8-byte Folded Reload
	str	x0, [x8, w28, sxtw #3]
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	str	w22, [x8, w28, sxtw #2]
	add	w28, w28, #1
	cbnz	w20, LBB0_4
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	bl	_contain_volatile_functions_not_nextval
	mov	x20, x0
	b	LBB0_4
LBB0_14:
	mov	w20, #0
	mov	w28, #0
LBB0_15:
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	ldr	x8, [sp, #72]                   ; 8-byte Folded Reload
	str	x8, [x19, #16]
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	stp	x8, x9, [x19, #104]
	ldr	x8, [sp, #64]                   ; 8-byte Folded Reload
	str	x8, [x19, #96]
	stp	w20, w28, [x19, #24]
	ldr	w8, [sp, #44]                   ; 4-byte Folded Reload
	str	w8, [x19, #32]
	ldr	x9, [sp, #48]                   ; 8-byte Folded Reload
	cbz	x9, LBB0_38
; %bb.16:
Lloh12:
	adrp	x8, _COPY_CALLBACK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _COPY_CALLBACK@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x19, #88]
	str	x9, [x19, #80]
LBB0_17:
	ldr	x8, [x19, #56]
	cbz	x8, LBB0_35
; %bb.18:
	add	x1, sp, #88
	mov	x0, x19
	mov	w2, #11
	mov	w3, #11
	bl	_CopyGetData
Lloh15:
	adrp	x22, _ERROR@GOTPAGE
Lloh16:
	ldr	x22, [x22, _ERROR@GOTPAGEOFF]
Lloh17:
	adrp	x23, _ERRCODE_BAD_COPY_FILE_FORMAT@GOTPAGE
Lloh18:
	ldr	x23, [x23, _ERRCODE_BAD_COPY_FILE_FORMAT@GOTPAGEOFF]
	cmp	w0, #11
	b.ne	LBB0_20
; %bb.19:
Lloh19:
	adrp	x8, _BinarySignature@GOTPAGE
Lloh20:
	ldr	x8, [x8, _BinarySignature@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	add	x0, sp, #88
	mov	w2, #11
	bl	_memcmp
	cbz	x0, LBB0_21
LBB0_20:
	ldr	w20, [x22]
	ldr	w0, [x23]
	bl	_errcode
Lloh22:
	adrp	x0, l_.str.5@PAGE
Lloh23:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
LBB0_21:
	add	x1, sp, #80
	mov	x0, x19
	bl	_CopyGetInt32
	cbz	w0, LBB0_42
; %bb.22:
	ldr	w8, [sp, #80]
	tbz	w8, #16, LBB0_24
LBB0_23:
	ldr	w20, [x22]
	ldr	w0, [x23]
	bl	_errcode
Lloh24:
	adrp	x0, l_.str.7@PAGE
Lloh25:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
	ldr	w8, [sp, #80]
LBB0_24:
	and	w8, w8, #0xfffeffff
	str	w8, [sp, #80]
	cmp	w8, #16, lsl #12                ; =65536
	b.lo	LBB0_26
; %bb.25:
	ldr	w20, [x22]
	ldr	w0, [x23]
	bl	_errcode
Lloh26:
	adrp	x0, l_.str.8@PAGE
Lloh27:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
LBB0_26:
	add	x1, sp, #80
	mov	x0, x19
	bl	_CopyGetInt32
	cbz	w0, LBB0_28
; %bb.27:
	ldr	w8, [sp, #80]
	tbz	w8, #31, LBB0_29
LBB0_28:
	ldr	w20, [x22]
	ldr	w0, [x23]
	bl	_errcode
Lloh28:
	adrp	x0, l_.str.9@PAGE
Lloh29:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
	ldr	w8, [sp, #80]
LBB0_29:
	subs	w8, w8, #1
	str	w8, [sp, #80]
	b.lt	LBB0_34
; %bb.30:
Lloh30:
	adrp	x20, l_.str.10@PAGE
Lloh31:
	add	x20, x20, l_.str.10@PAGEOFF
	b	LBB0_32
LBB0_31:                                ;   in Loop: Header=BB0_32 Depth=1
	ldr	w8, [sp, #80]
	sub	w9, w8, #1
	str	w9, [sp, #80]
	cmp	w8, #0
	b.le	LBB0_34
LBB0_32:                                ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #88
	mov	x0, x19
	mov	w2, #1
	mov	w3, #1
	bl	_CopyGetData
	cmp	w0, #1
	b.eq	LBB0_31
; %bb.33:                               ;   in Loop: Header=BB0_32 Depth=1
	ldr	w21, [x22]
	ldr	w0, [x23]
	bl	_errcode
	mov	x0, x20
	bl	_errmsg
	mov	x1, x0
	mov	x0, x21
	bl	_ereport
	b	LBB0_31
LBB0_34:
	ldr	x8, [x19, #56]
	cbnz	x8, LBB0_36
LBB0_35:
	ldr	w0, [x19, #48]
	bl	_list_length
	str	w0, [x19, #36]
	lsl	w0, w0, #3
	bl	_palloc
	str	x0, [x19, #40]
LBB0_36:
	ldr	w0, [sp, #60]                   ; 4-byte Folded Reload
	bl	_MemoryContextSwitchTo
	ldur	x8, [x29, #-88]
Lloh32:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh33:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_57
; %bb.37:
	mov	x0, x19
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_38:
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	cbz	x0, LBB0_43
; %bb.39:
	bl	_pstrdup
	str	w0, [x19, #64]
	ldr	w8, [x19, #32]
	cbz	w8, LBB0_45
; %bb.40:
Lloh35:
	adrp	x8, _PG_BINARY_R@GOTPAGE
Lloh36:
	ldr	x8, [x8, _PG_BINARY_R@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	bl	_OpenPipeStream
	str	x0, [x19, #72]
	cbnz	x0, LBB0_17
; %bb.41:
Lloh38:
	adrp	x8, _ERROR@GOTPAGE
Lloh39:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh40:
	ldr	w20, [x8]
	bl	_errcode_for_file_access
	ldr	w8, [x19, #64]
	str	x8, [sp]
Lloh41:
	adrp	x0, l_.str@PAGE
Lloh42:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_56
LBB0_42:
	ldr	w20, [x22]
	ldr	w0, [x23]
	bl	_errcode
Lloh43:
	adrp	x0, l_.str.6@PAGE
Lloh44:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
	ldr	w8, [sp, #80]
	tbnz	w8, #16, LBB0_23
	b	LBB0_24
LBB0_43:
	cmp	w8, #0
	cset	w0, eq
	bl	_Assert
Lloh45:
	adrp	x8, _whereToSendOutput@GOTPAGE
Lloh46:
	ldr	x8, [x8, _whereToSendOutput@GOTPAGEOFF]
Lloh47:
	ldr	x8, [x8]
Lloh48:
	adrp	x9, _DestRemote@GOTPAGE
Lloh49:
	ldr	x9, [x9, _DestRemote@GOTPAGEOFF]
Lloh50:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_49
; %bb.44:
	mov	x0, x19
	bl	_ReceiveCopyBegin
	b	LBB0_17
LBB0_45:
Lloh51:
	adrp	x8, _PG_BINARY_R@GOTPAGE
Lloh52:
	ldr	x8, [x8, _PG_BINARY_R@GOTPAGEOFF]
Lloh53:
	ldr	w1, [x8]
	bl	_AllocateFile
	str	x0, [x19, #72]
	cbnz	x0, LBB0_52
; %bb.46:
Lloh54:
	adrp	x8, _errno@GOTPAGE
Lloh55:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh56:
	ldr	w21, [x8]
Lloh57:
	adrp	x8, _ERROR@GOTPAGE
Lloh58:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh59:
	ldr	w20, [x8]
	bl	_errcode_for_file_access
	ldr	w8, [x19, #64]
	str	x8, [sp]
Lloh60:
	adrp	x0, l_.str.1@PAGE
Lloh61:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errmsg
Lloh62:
	adrp	x8, _ENOENT@GOTPAGE
Lloh63:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh64:
	ldr	w8, [x8]
	cmp	w21, w8
	b.eq	LBB0_50
; %bb.47:
Lloh65:
	adrp	x8, _EACCES@GOTPAGE
Lloh66:
	ldr	x8, [x8, _EACCES@GOTPAGEOFF]
Lloh67:
	ldr	w8, [x8]
	cmp	w21, w8
	b.eq	LBB0_50
; %bb.48:
	mov	w1, #0
	b	LBB0_51
LBB0_49:
Lloh68:
	adrp	x8, _stdin@GOTPAGE
Lloh69:
	ldr	x8, [x8, _stdin@GOTPAGEOFF]
Lloh70:
	ldr	x8, [x8]
	str	x8, [x19, #72]
	b	LBB0_17
LBB0_50:
Lloh71:
	adrp	x0, l_.str.2@PAGE
Lloh72:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_errhint
	mov	x1, x0
LBB0_51:
	mov	x0, x20
	bl	_ereport
	ldr	x0, [x19, #72]
LBB0_52:
	bl	_fileno
	add	x1, sp, #88
	bl	_fstat
	cbz	x0, LBB0_54
; %bb.53:
Lloh73:
	adrp	x8, _ERROR@GOTPAGE
Lloh74:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh75:
	ldr	w20, [x8]
	bl	_errcode_for_file_access
	ldr	w8, [x19, #64]
	str	x8, [sp]
Lloh76:
	adrp	x0, l_.str.3@PAGE
Lloh77:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
LBB0_54:
	ldr	w0, [sp, #88]
	bl	_S_ISDIR
	cbz	x0, LBB0_17
; %bb.55:
Lloh78:
	adrp	x8, _ERROR@GOTPAGE
Lloh79:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh80:
	ldr	w20, [x8]
Lloh81:
	adrp	x8, _ERRCODE_WRONG_OBJECT_TYPE@GOTPAGE
Lloh82:
	ldr	x8, [x8, _ERRCODE_WRONG_OBJECT_TYPE@GOTPAGEOFF]
Lloh83:
	ldr	w0, [x8]
	bl	_errcode
	ldr	w8, [x19, #64]
	str	x8, [sp]
Lloh84:
	adrp	x0, l_.str.4@PAGE
Lloh85:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_56:
	bl	_errmsg
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
	b	LBB0_17
LBB0_57:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpAdd	Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpAdd	Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh81, Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.cfi_endproc
                                        ; -- End function
	.comm	_InvalidOid,4,2                 ; @InvalidOid
	.comm	_EOL_UNKNOWN,4,2                ; @EOL_UNKNOWN
	.comm	_RAW_BUF_SIZE,4,2               ; @RAW_BUF_SIZE
	.comm	_COPY_CALLBACK,4,2              ; @COPY_CALLBACK
	.comm	_whereToSendOutput,8,3          ; @whereToSendOutput
	.comm	_DestRemote,8,3                 ; @DestRemote
	.comm	_stdin,8,3                      ; @stdin
	.comm	_PG_BINARY_R,4,2                ; @PG_BINARY_R
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not execute command \"%s\": %m"

	.comm	_errno,4,2                      ; @errno
l_.str.1:                               ; @.str.1
	.asciz	"could not open file \"%s\" for reading: %m"

	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_EACCES,4,2                     ; @EACCES
l_.str.2:                               ; @.str.2
	.asciz	"COPY FROM instructs the PostgreSQL server process to read a file. You may want a client-side facility such as psql's \\copy."

l_.str.3:                               ; @.str.3
	.asciz	"could not stat file \"%s\": %m"

	.comm	_ERRCODE_WRONG_OBJECT_TYPE,4,2  ; @ERRCODE_WRONG_OBJECT_TYPE
l_.str.4:                               ; @.str.4
	.asciz	"\"%s\" is a directory"

	.comm	_BinarySignature,4,2            ; @BinarySignature
	.comm	_ERRCODE_BAD_COPY_FILE_FORMAT,4,2 ; @ERRCODE_BAD_COPY_FILE_FORMAT
l_.str.5:                               ; @.str.5
	.asciz	"COPY file signature not recognized"

l_.str.6:                               ; @.str.6
	.asciz	"invalid COPY file header (missing flags)"

l_.str.7:                               ; @.str.7
	.asciz	"invalid COPY file header (WITH OIDS)"

l_.str.8:                               ; @.str.8
	.asciz	"unrecognized critical flags in COPY file header"

l_.str.9:                               ; @.str.9
	.asciz	"invalid COPY file header (missing length)"

l_.str.10:                              ; @.str.10
	.asciz	"invalid COPY file header (wrong length)"

.subsections_via_symbols
