	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_tablespace
_get_tablespace:                        ## @get_tablespace
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -40(%rbp)
	movq	_InvalidOid@GOTPCREL(%rip), %rax
	cmpq	%rdi, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_MyDatabaseTableSpace@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
LBB0_2:
	movq	_TableSpaceCacheHash@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	testl	%edi, %edi
	jne	LBB0_4
## %bb.3:
	xorl	%eax, %eax
	callq	_InitializeTableSpaceCache
	movl	(%r12), %edi
LBB0_4:
	movq	_HASH_FIND@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-40(%rbp), %rsi
	xorl	%ecx, %ecx
	callq	_hash_search
	testq	%rax, %rax
	jne	LBB0_12
## %bb.5:
	movq	_TABLESPACEOID@GOTPCREL(%rip), %r14
	movl	(%r14), %ebx
	movq	-40(%rbp), %rdi
	callq	_ObjectIdGetDatum
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_SearchSysCache1
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_HeapTupleIsValid
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	movl	(%r14), %edi
	movq	_Anum_pg_tablespace_spcoptions@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-44(%rbp), %rcx
	movl	%ebx, %esi
	callq	_SysCacheGetAttr
	cmpl	$0, -44(%rbp)
	je	LBB0_9
## %bb.8:
	xorl	%r14d, %r14d
	jmp	LBB0_10
LBB0_6:
	xorl	%r14d, %r14d
	jmp	LBB0_11
LBB0_9:
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_tablespace_reloptions
	movq	%rax, %r15
	movq	_CacheMemoryContext@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r15, %rdi
	callq	_VARSIZE
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_MemoryContextAlloc
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_VARSIZE
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%eax, %edx
	callq	_memcpy
LBB0_10:
	movl	%ebx, %edi
	callq	_ReleaseSysCache
LBB0_11:
	movl	(%r12), %edi
	movq	_HASH_ENTER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-40(%rbp), %rsi
	xorl	%ecx, %ecx
	callq	_hash_search
	movq	%r14, (%rax)
LBB0_12:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_InvalidOid,8,3                 ## @InvalidOid
	.comm	_MyDatabaseTableSpace,8,3       ## @MyDatabaseTableSpace
	.comm	_TableSpaceCacheHash,4,2        ## @TableSpaceCacheHash
	.comm	_HASH_FIND,4,2                  ## @HASH_FIND
	.comm	_TABLESPACEOID,4,2              ## @TABLESPACEOID
	.comm	_Anum_pg_tablespace_spcoptions,4,2 ## @Anum_pg_tablespace_spcoptions
	.comm	_CacheMemoryContext,4,2         ## @CacheMemoryContext
	.comm	_HASH_ENTER,4,2                 ## @HASH_ENTER
	.no_dead_strip	_get_tablespace
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_tablespace
_get_tablespace:                        ; @get_tablespace
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	str	x0, [sp, #8]
Lloh0:
	adrp	x8, _InvalidOid@GOTPAGE
Lloh1:
	ldr	x8, [x8, _InvalidOid@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x0
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _MyDatabaseTableSpace@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MyDatabaseTableSpace@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [sp, #8]
LBB0_2:
Lloh6:
	adrp	x22, _TableSpaceCacheHash@GOTPAGE
Lloh7:
	ldr	x22, [x22, _TableSpaceCacheHash@GOTPAGEOFF]
	ldr	w0, [x22]
	cbnz	w0, LBB0_4
; %bb.3:
	bl	_InitializeTableSpaceCache
	ldr	w0, [x22]
LBB0_4:
Lloh8:
	adrp	x8, _HASH_FIND@GOTPAGE
Lloh9:
	ldr	x8, [x8, _HASH_FIND@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	add	x1, sp, #8
	mov	x3, #0
	bl	_hash_search
	cbnz	x0, LBB0_12
; %bb.5:
Lloh11:
	adrp	x20, _TABLESPACEOID@GOTPAGE
Lloh12:
	ldr	x20, [x20, _TABLESPACEOID@GOTPAGEOFF]
	ldr	w19, [x20]
	ldr	x0, [sp, #8]
	bl	_ObjectIdGetDatum
	mov	x1, x0
	mov	x0, x19
	bl	_SearchSysCache1
	mov	x19, x0
	bl	_HeapTupleIsValid
	cbz	w0, LBB0_8
; %bb.6:
	ldr	w0, [x20]
Lloh13:
	adrp	x8, _Anum_pg_tablespace_spcoptions@GOTPAGE
Lloh14:
	ldr	x8, [x8, _Anum_pg_tablespace_spcoptions@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	add	x3, sp, #4
	mov	x1, x19
	bl	_SysCacheGetAttr
	ldr	w8, [sp, #4]
	cbz	w8, LBB0_9
; %bb.7:
	mov	x20, #0
	b	LBB0_10
LBB0_8:
	mov	x20, #0
	b	LBB0_11
LBB0_9:
	mov	w1, #0
	bl	_tablespace_reloptions
	mov	x21, x0
Lloh16:
	adrp	x8, _CacheMemoryContext@GOTPAGE
Lloh17:
	ldr	x8, [x8, _CacheMemoryContext@GOTPAGEOFF]
Lloh18:
	ldr	w20, [x8]
	bl	_VARSIZE
	mov	x1, x0
	mov	x0, x20
	bl	_MemoryContextAlloc
	mov	x20, x0
	mov	x0, x21
	bl	_VARSIZE
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_memcpy
LBB0_10:
	mov	x0, x19
	bl	_ReleaseSysCache
LBB0_11:
	ldr	w0, [x22]
Lloh19:
	adrp	x8, _HASH_ENTER@GOTPAGE
Lloh20:
	ldr	x8, [x8, _HASH_ENTER@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	add	x1, sp, #8
	mov	x3, #0
	bl	_hash_search
	str	x20, [x0]
LBB0_12:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_InvalidOid,8,3                 ; @InvalidOid
	.comm	_MyDatabaseTableSpace,8,3       ; @MyDatabaseTableSpace
	.comm	_TableSpaceCacheHash,4,2        ; @TableSpaceCacheHash
	.comm	_HASH_FIND,4,2                  ; @HASH_FIND
	.comm	_TABLESPACEOID,4,2              ; @TABLESPACEOID
	.comm	_Anum_pg_tablespace_spcoptions,4,2 ; @Anum_pg_tablespace_spcoptions
	.comm	_CacheMemoryContext,4,2         ; @CacheMemoryContext
	.comm	_HASH_ENTER,4,2                 ; @HASH_ENTER
	.no_dead_strip	_get_tablespace
.subsections_via_symbols
