	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_default_table_access_method ## -- Begin function check_default_table_access_method
	.p2align	4, 0x90
_check_default_table_access_method:     ## @check_default_table_access_method
	.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	%rdi, %rbx
	movq	(%rdi), %rdi
	cmpb	$0, (%rdi)
	je	LBB0_1
## %bb.2:
	movq	%rdx, %r15
	callq	_strlen
	movq	_NAMEDATALEN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	cmpq	%rdx, %rax
	jge	LBB0_3
## %bb.4:
	xorl	%eax, %eax
	callq	_IsTransactionState
	movl	$1, %r14d
	testq	%rax, %rax
	je	LBB0_11
## %bb.5:
	movq	_MyDatabaseId@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_InvalidOid@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_11
## %bb.6:
	movq	(%rbx), %rdi
	movl	$1, %r14d
	movl	$1, %esi
	callq	_get_table_am_oid
	movl	%eax, %edi
	callq	_OidIsValid
	testl	%eax, %eax
	jne	LBB0_11
## %bb.7:
	movq	_PGC_S_TEST@GOTPCREL(%rip), %rax
	cmpq	%r15, (%rax)
	jne	LBB0_9
## %bb.8:
	movq	_NOTICE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_ERRCODE_UNDEFINED_OBJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movq	(%rbx), %rsi
	leaq	L_.str.3(%rip), %rdi
	callq	_errmsg
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_ereport
	jmp	LBB0_11
LBB0_1:
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
LBB0_10:
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_GUC_check_errdetail
	jmp	LBB0_11
LBB0_3:
	decq	%rdx
	leaq	L_.str.2(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_GUC_check_errdetail
LBB0_11:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	(%rbx), %rsi
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s cannot be empty."

L_.str.1:                               ## @.str.1
	.asciz	"default_table_access_method"

	.comm	_NAMEDATALEN,8,3                ## @NAMEDATALEN
L_.str.2:                               ## @.str.2
	.asciz	"%s is too long (maximum %d characters)."

	.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
L_.str.3:                               ## @.str.3
	.asciz	"table access method \"%s\" does not exist"

L_.str.4:                               ## @.str.4
	.asciz	"Table access method \"%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_table_access_method ; -- Begin function check_default_table_access_method
	.p2align	2
_check_default_table_access_method:     ; @check_default_table_access_method
	.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
	mov	x19, x0
	ldr	x0, [x0]
	ldrb	w8, [x0]
	cbz	w8, LBB0_5
; %bb.1:
	mov	x20, x2
	bl	_strlen
Lloh0:
	adrp	x8, _NAMEDATALEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NAMEDATALEN@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ge	LBB0_6
; %bb.2:
	bl	_IsTransactionState
	cbz	x0, LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _MyDatabaseId@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MyDatabaseId@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _InvalidOid@GOTPAGE
Lloh7:
	ldr	x9, [x9, _InvalidOid@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_10
LBB0_4:
	mov	w21, #1
	b	LBB0_9
LBB0_5:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_7
LBB0_6:
	sub	x8, x8, #1
	str	x8, [sp]
Lloh11:
	adrp	x0, l_.str.2@PAGE
Lloh12:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_7:
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_8:
	bl	_GUC_check_errdetail
	mov	w21, #0
LBB0_9:
	mov	x0, x21
	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
LBB0_10:
	ldr	x0, [x19]
	mov	w21, #1
	mov	w1, #1
	bl	_get_table_am_oid
	bl	_OidIsValid
	cbnz	w0, LBB0_9
; %bb.11:
Lloh15:
	adrp	x8, _PGC_S_TEST@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PGC_S_TEST@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	cmp	x8, x20
	b.ne	LBB0_13
; %bb.12:
Lloh18:
	adrp	x8, _NOTICE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _NOTICE@GOTPAGEOFF]
Lloh20:
	ldr	w20, [x8]
Lloh21:
	adrp	x8, _ERRCODE_UNDEFINED_OBJECT@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ERRCODE_UNDEFINED_OBJECT@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	bl	_errcode
	ldr	x1, [x19]
Lloh24:
	adrp	x0, l_.str.3@PAGE
Lloh25:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x20
	bl	_ereport
	mov	w21, #1
	b	LBB0_9
LBB0_13:
	ldr	x1, [x19]
Lloh26:
	adrp	x0, l_.str.4@PAGE
Lloh27:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s cannot be empty."

l_.str.1:                               ; @.str.1
	.asciz	"default_table_access_method"

	.comm	_NAMEDATALEN,8,3                ; @NAMEDATALEN
l_.str.2:                               ; @.str.2
	.asciz	"%s is too long (maximum %d characters)."

	.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
l_.str.3:                               ; @.str.3
	.asciz	"table access method \"%s\" does not exist"

l_.str.4:                               ; @.str.4
	.asciz	"Table access method \"%s\" does not exist."

.subsections_via_symbols
