	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetForeignTable                ## -- Begin function GetForeignTable
	.p2align	4, 0x90
_GetForeignTable:                       ## @GetForeignTable
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	movq	_FOREIGNTABLEREL@GOTPCREL(%rip), %r13
	movl	(%r13), %ebx
	callq	_ObjectIdGetDatum
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_SearchSysCache1
	movl	%eax, %r15d
	movl	%eax, %edi
	callq	_HeapTupleIsValid
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edx
	callq	_elog
LBB0_2:
	movl	%r15d, %edi
	callq	_GETSTRUCT
	movq	%rax, %r12
	movl	$12, %edi
	callq	_palloc
	movq	%rax, %rbx
	movl	%r14d, 8(%rax)
	movl	(%r12), %eax
	movl	%eax, 4(%rbx)
	movl	(%r13), %edi
	movq	_Anum_pg_foreign_table_ftoptions@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-44(%rbp), %rcx
	movl	%r15d, %esi
	callq	_SysCacheGetAttr
	cmpl	$0, -44(%rbp)
	je	LBB0_4
## %bb.3:
	movq	_NIL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_5
LBB0_4:
	movl	%eax, %edi
	callq	_untransformRelOptions
LBB0_5:
	movl	%eax, (%rbx)
	movl	%r15d, %edi
	callq	_ReleaseSysCache
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FOREIGNTABLEREL,4,2            ## @FOREIGNTABLEREL
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cache lookup failed for foreign table %u"

	.comm	_Anum_pg_foreign_table_ftoptions,4,2 ## @Anum_pg_foreign_table_ftoptions
	.comm	_NIL,4,2                        ## @NIL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GetForeignTable                ; -- Begin function GetForeignTable
	.p2align	2
_GetForeignTable:                       ; @GetForeignTable
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x0
Lloh0:
	adrp	x23, _FOREIGNTABLEREL@GOTPAGE
Lloh1:
	ldr	x23, [x23, _FOREIGNTABLEREL@GOTPAGEOFF]
	ldr	w19, [x23]
	bl	_ObjectIdGetDatum
	mov	x1, x0
	mov	x0, x19
	bl	_SearchSysCache1
	mov	x19, x0
	bl	_HeapTupleIsValid
	cbnz	w0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x20
	bl	_elog
LBB0_2:
	mov	x0, x19
	bl	_GETSTRUCT
	mov	x22, x0
	mov	w0, #12
	bl	_palloc
	mov	x21, x0
	ldr	w8, [x22]
	stp	w8, w20, [x0, #4]
	ldr	w0, [x23]
Lloh7:
	adrp	x8, _Anum_pg_foreign_table_ftoptions@GOTPAGE
Lloh8:
	ldr	x8, [x8, _Anum_pg_foreign_table_ftoptions@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	add	x3, sp, #12
	mov	x1, x19
	bl	_SysCacheGetAttr
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_4
; %bb.3:
Lloh10:
	adrp	x8, _NIL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _NIL@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	b	LBB0_5
LBB0_4:
	bl	_untransformRelOptions
LBB0_5:
	str	w0, [x21]
	mov	x0, x19
	bl	_ReleaseSysCache
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_FOREIGNTABLEREL,4,2            ; @FOREIGNTABLEREL
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cache lookup failed for foreign table %u"

	.comm	_Anum_pg_foreign_table_ftoptions,4,2 ; @Anum_pg_foreign_table_ftoptions
	.comm	_NIL,4,2                        ; @NIL
.subsections_via_symbols
