	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fileBeginForeignScan
_fileBeginForeignScan:                  ## @fileBeginForeignScan
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_EXEC_FLAG_EXPLAIN_ONLY@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	%rdi, %rbx
	movq	16(%rdi), %r14
	movl	8(%rdi), %edi
	callq	_RelationGetRelid
	leaq	-40(%rbp), %rsi
	leaq	-20(%rbp), %rdx
	leaq	-32(%rbp), %rcx
	movl	%eax, %edi
	callq	_fileGetOptions
	movq	-32(%rbp), %rdi
	movl	(%r14), %esi
	callq	_list_concat
	movq	%rax, -32(%rbp)
	movl	8(%rbx), %esi
	movq	-40(%rbp), %rdx
	movl	-20(%rbp), %ecx
	movq	_NIL@GOTPCREL(%rip), %rdi
	movl	(%rdi), %r9d
	movq	%rax, (%rsp)
	xorl	%edi, %edi
	xorl	%r8d, %r8d
	callq	_BeginCopyFrom
	movl	%eax, %r14d
	movl	$24, %edi
	callq	_palloc
	movq	-40(%rbp), %rcx
	movq	%rcx, (%rax)
	movl	-20(%rbp), %ecx
	movl	%ecx, 8(%rax)
	movq	-32(%rbp), %rcx
	movq	%rcx, 16(%rax)
	movl	%r14d, 12(%rax)
	movq	%rax, (%rbx)
LBB0_2:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EXEC_FLAG_EXPLAIN_ONLY,4,2     ## @EXEC_FLAG_EXPLAIN_ONLY
	.comm	_NIL,4,2                        ## @NIL
	.no_dead_strip	_fileBeginForeignScan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fileBeginForeignScan
_fileBeginForeignScan:                  ; @fileBeginForeignScan
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _EXEC_FLAG_EXPLAIN_ONLY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EXEC_FLAG_EXPLAIN_ONLY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w1
	b.ne	LBB0_2
; %bb.1:
	mov	x19, x0
	ldr	x20, [x0, #16]
	ldr	w0, [x0, #8]
	bl	_RelationGetRelid
	add	x1, sp, #24
	add	x2, sp, #20
	add	x3, sp, #8
	bl	_fileGetOptions
	ldr	x0, [sp, #8]
	ldr	w1, [x20]
	bl	_list_concat
	mov	x6, x0
	str	x0, [sp, #8]
	ldr	w1, [x19, #8]
	ldr	x2, [sp, #24]
	ldr	w3, [sp, #20]
Lloh3:
	adrp	x8, _NIL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _NIL@GOTPAGEOFF]
Lloh5:
	ldr	w5, [x8]
	mov	x0, #0
	mov	x4, #0
	bl	_BeginCopyFrom
	mov	x20, x0
	mov	w0, #24
	bl	_palloc
	ldr	x8, [sp, #24]
	str	x8, [x0]
	ldr	w8, [sp, #20]
	ldr	x9, [sp, #8]
	str	x9, [x0, #16]
	stp	w8, w20, [x0, #8]
	str	x0, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EXEC_FLAG_EXPLAIN_ONLY,4,2     ; @EXEC_FLAG_EXPLAIN_ONLY
	.comm	_NIL,4,2                        ; @NIL
	.no_dead_strip	_fileBeginForeignScan
.subsections_via_symbols
