	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_default_tablespace       ## -- Begin function check_default_tablespace
	.p2align	4, 0x90
_check_default_tablespace:              ## @check_default_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rdi, %r14
	xorl	%eax, %eax
	callq	_IsTransactionState
	movl	$1, %ebx
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	_MyDatabaseId@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_InvalidOid@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_7
## %bb.2:
	movq	(%r14), %rdi
	cmpb	$0, (%rdi)
	je	LBB0_7
## %bb.3:
	movl	$1, %ebx
	movl	$1, %esi
	callq	_get_tablespace_oid
	movl	%eax, %edi
	callq	_OidIsValid
	testl	%eax, %eax
	jne	LBB0_7
## %bb.4:
	movq	_PGC_S_TEST@GOTPCREL(%rip), %rax
	cmpq	%r15, (%rax)
	jne	LBB0_6
## %bb.5:
	movq	_NOTICE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_ERRCODE_UNDEFINED_OBJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movq	(%r14), %rsi
	leaq	L_.str(%rip), %rdi
	callq	_errmsg
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_ereport
	jmp	LBB0_7
LBB0_6:
	movq	(%r14), %rsi
	leaq	L_.str.1(%rip), %rdi
	callq	_GUC_check_errdetail
	xorl	%ebx, %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MyDatabaseId,8,3               ## @MyDatabaseId
	.comm	_InvalidOid,8,3                 ## @InvalidOid
	.comm	_PGC_S_TEST,8,3                 ## @PGC_S_TEST
	.comm	_NOTICE,4,2                     ## @NOTICE
	.comm	_ERRCODE_UNDEFINED_OBJECT,4,2   ## @ERRCODE_UNDEFINED_OBJECT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tablespace \"%s\" does not exist"

L_.str.1:                               ## @.str.1
	.asciz	"Tablespace \"%s\" does not exist."

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_default_tablespace       ; -- Begin function check_default_tablespace
	.p2align	2
_check_default_tablespace:              ; @check_default_tablespace
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x2
	mov	x19, x0
	bl	_IsTransactionState
	cbz	x0, LBB0_6
; %bb.1:
Lloh0:
	adrp	x8, _MyDatabaseId@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MyDatabaseId@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _InvalidOid@GOTPAGE
Lloh4:
	ldr	x9, [x9, _InvalidOid@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_6
; %bb.2:
	ldr	x0, [x19]
	ldrb	w8, [x0]
	cbz	w8, LBB0_6
; %bb.3:
	mov	w21, #1
	mov	w1, #1
	bl	_get_tablespace_oid
	bl	_OidIsValid
	cbnz	w0, LBB0_7
; %bb.4:
Lloh6:
	adrp	x8, _PGC_S_TEST@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PGC_S_TEST@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x8, x20
	b.ne	LBB0_8
; %bb.5:
Lloh9:
	adrp	x8, _NOTICE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _NOTICE@GOTPAGEOFF]
Lloh11:
	ldr	w20, [x8]
Lloh12:
	adrp	x8, _ERRCODE_UNDEFINED_OBJECT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ERRCODE_UNDEFINED_OBJECT@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_errcode
	ldr	x1, [x19]
Lloh15:
	adrp	x0, l_.str@PAGE
Lloh16:
	add	x0, x0, l_.str@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
LBB0_6:
	mov	w21, #1
LBB0_7:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_8:
	ldr	x1, [x19]
Lloh17:
	adrp	x0, l_.str.1@PAGE
Lloh18:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_GUC_check_errdetail
	mov	w21, #0
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_MyDatabaseId,8,3               ; @MyDatabaseId
	.comm	_InvalidOid,8,3                 ; @InvalidOid
	.comm	_PGC_S_TEST,8,3                 ; @PGC_S_TEST
	.comm	_NOTICE,4,2                     ; @NOTICE
	.comm	_ERRCODE_UNDEFINED_OBJECT,4,2   ; @ERRCODE_UNDEFINED_OBJECT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tablespace \"%s\" does not exist"

l_.str.1:                               ; @.str.1
	.asciz	"Tablespace \"%s\" does not exist."

.subsections_via_symbols
