	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CommentObject                  ## -- Begin function CommentObject
	.p2align	4, 0x90
_CommentObject:                         ## @CommentObject
	.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
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	movq	_OBJECT_DATABASE@GOTPCREL(%rip), %r13
	cmpl	(%r13), %edi
	jne	LBB0_3
## %bb.1:
	movq	%r13, %r12
	movq	_InvalidObjectAddress@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movl	8(%rax), %r14d
	movq	8(%rbx), %rdi
	callq	_strVal
	movq	%rax, %r13
	movq	%rax, %rdi
	movl	$1, %esi
	callq	_get_database_oid
	movl	%eax, %edi
	callq	_OidIsValid
	testl	%eax, %eax
	je	LBB0_19
## %bb.2:
	movl	(%rbx), %edi
	movq	%r12, %r13
LBB0_3:
	movq	8(%rbx), %rsi
	movq	_ShareUpdateExclusiveLock@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-48(%rbp), %rdx
	xorl	%r8d, %r8d
	callq	_get_object_address
	movq	%rax, %r15
	movl	%edx, %r14d
	movq	%rax, %r12
	shrq	$32, %r12
	xorl	%eax, %eax
	callq	_GetUserId
	movl	(%rbx), %esi
	movq	8(%rbx), %r8
	movq	-48(%rbp), %r9
	movl	%eax, %edi
	movq	%r15, %rdx
	movl	%r14d, %ecx
	callq	_check_object_ownership
	movl	(%rbx), %eax
	cmpl	$128, %eax
	jne	LBB0_11
## %bb.4:
	movq	-48(%rbp), %rax
	movq	(%rax), %rax
	movl	(%rax), %ecx
	movq	_RELKIND_RELATION@GOTPCREL(%rip), %rdx
	movl	$128, %eax
	cmpl	(%rdx), %ecx
	je	LBB0_11
## %bb.5:
	movq	_RELKIND_VIEW@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	je	LBB0_11
## %bb.6:
	movq	_RELKIND_MATVIEW@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	je	LBB0_11
## %bb.7:
	movq	_RELKIND_COMPOSITE_TYPE@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	je	LBB0_11
## %bb.8:
	movq	_RELKIND_FOREIGN_TABLE@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	je	LBB0_11
## %bb.9:
	movq	_RELKIND_PARTITIONED_TABLE@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	je	LBB0_11
## %bb.10:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_ERRCODE_WRONG_OBJECT_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	movq	-48(%rbp), %rdi
	callq	_RelationGetRelationName
	leaq	L_.str.1(%rip), %rdi
	movq	%rax, %rsi
	callq	_errmsg
	movl	%r13d, %edi
	movq	_OBJECT_DATABASE@GOTPCREL(%rip), %r13
	movl	%eax, %esi
	callq	_ereport
	movl	(%rbx), %eax
LBB0_11:
	movl	4(%rbx), %ecx
	cmpl	(%r13), %eax
	je	LBB0_14
## %bb.12:
	movq	_OBJECT_TABLESPACE@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	je	LBB0_14
## %bb.13:
	movq	_OBJECT_ROLE@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	je	LBB0_14
## %bb.15:
	movl	%r14d, %edi
	movl	%r12d, %esi
	movl	%r15d, %edx
	callq	_CreateComments
	jmp	LBB0_16
LBB0_14:
	movl	%r14d, %edi
	movl	%r12d, %esi
	movl	%ecx, %edx
	callq	_CreateSharedComments
LBB0_16:
	movq	-48(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_18
## %bb.17:
	movq	_NoLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_relation_close
	jmp	LBB0_18
LBB0_19:
	movq	%r15, %r12
	shrq	$32, %r12
	movq	_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_ERRCODE_UNDEFINED_DATABASE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	movq	%r13, %rsi
	callq	_errmsg
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_ereport
LBB0_18:
	shlq	$32, %r12
	movl	%r15d, %eax
	orq	%r12, %rax
	movl	%r14d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_InvalidObjectAddress,12,2      ## @InvalidObjectAddress
	.comm	_OBJECT_DATABASE,4,2            ## @OBJECT_DATABASE
	.comm	_WARNING,4,2                    ## @WARNING
	.comm	_ERRCODE_UNDEFINED_DATABASE,4,2 ## @ERRCODE_UNDEFINED_DATABASE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"database \"%s\" does not exist"

	.comm	_ShareUpdateExclusiveLock,4,2   ## @ShareUpdateExclusiveLock
	.comm	_RELKIND_RELATION,4,2           ## @RELKIND_RELATION
	.comm	_RELKIND_VIEW,4,2               ## @RELKIND_VIEW
	.comm	_RELKIND_MATVIEW,4,2            ## @RELKIND_MATVIEW
	.comm	_RELKIND_COMPOSITE_TYPE,4,2     ## @RELKIND_COMPOSITE_TYPE
	.comm	_RELKIND_FOREIGN_TABLE,4,2      ## @RELKIND_FOREIGN_TABLE
	.comm	_RELKIND_PARTITIONED_TABLE,4,2  ## @RELKIND_PARTITIONED_TABLE
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_WRONG_OBJECT_TYPE,4,2  ## @ERRCODE_WRONG_OBJECT_TYPE
L_.str.1:                               ## @.str.1
	.asciz	"\"%s\" is not a table, view, materialized view, composite type, or foreign table"

	.comm	_OBJECT_TABLESPACE,4,2          ## @OBJECT_TABLESPACE
	.comm	_OBJECT_ROLE,4,2                ## @OBJECT_ROLE
	.comm	_NoLock,4,2                     ## @NoLock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_CommentObject                  ; -- Begin function CommentObject
	.p2align	2
_CommentObject:                         ; @CommentObject
	.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	x22, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x24, _OBJECT_DATABASE@GOTPAGE
Lloh1:
	ldr	x24, [x24, _OBJECT_DATABASE@GOTPAGEOFF]
	ldr	w8, [x24]
	cmp	w0, w8
	b.ne	LBB0_3
; %bb.1:
Lloh2:
	adrp	x8, _InvalidObjectAddress@GOTPAGE
Lloh3:
	ldr	x8, [x8, _InvalidObjectAddress@GOTPAGEOFF]
	ldr	x19, [x8]
	ldr	w20, [x8, #8]
	ldr	x0, [x22, #8]
	bl	_strVal
	mov	x23, x0
	mov	w1, #1
	bl	_get_database_oid
	bl	_OidIsValid
	cbz	w0, LBB0_15
; %bb.2:
	ldr	w0, [x22]
LBB0_3:
	ldr	x1, [x22, #8]
Lloh4:
	adrp	x8, _ShareUpdateExclusiveLock@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ShareUpdateExclusiveLock@GOTPAGEOFF]
Lloh6:
	ldr	w3, [x8]
	add	x2, sp, #8
	mov	w4, #0
	bl	_get_object_address
	mov	x19, x0
	mov	x20, x1
	lsr	x21, x0, #32
	bl	_GetUserId
	ldr	w1, [x22]
	ldr	x4, [x22, #8]
	and	x3, x20, #0xffffffff
	ldr	x5, [sp, #8]
	mov	x2, x19
	bl	_check_object_ownership
	ldr	w8, [x22]
	cmp	w8, #128
	b.ne	LBB0_11
; %bb.4:
	ldr	x8, [sp, #8]
	ldr	x8, [x8]
	ldr	w9, [x8]
Lloh7:
	adrp	x8, _RELKIND_RELATION@GOTPAGE
Lloh8:
	ldr	x8, [x8, _RELKIND_RELATION@GOTPAGEOFF]
Lloh9:
	ldr	w10, [x8]
	mov	w8, #128
	cmp	w9, w10
	b.eq	LBB0_11
; %bb.5:
Lloh10:
	adrp	x10, _RELKIND_VIEW@GOTPAGE
Lloh11:
	ldr	x10, [x10, _RELKIND_VIEW@GOTPAGEOFF]
Lloh12:
	ldr	w10, [x10]
	cmp	w9, w10
	b.eq	LBB0_11
; %bb.6:
Lloh13:
	adrp	x10, _RELKIND_MATVIEW@GOTPAGE
Lloh14:
	ldr	x10, [x10, _RELKIND_MATVIEW@GOTPAGEOFF]
Lloh15:
	ldr	w10, [x10]
	cmp	w9, w10
	b.eq	LBB0_11
; %bb.7:
Lloh16:
	adrp	x10, _RELKIND_COMPOSITE_TYPE@GOTPAGE
Lloh17:
	ldr	x10, [x10, _RELKIND_COMPOSITE_TYPE@GOTPAGEOFF]
Lloh18:
	ldr	w10, [x10]
	cmp	w9, w10
	b.eq	LBB0_11
; %bb.8:
Lloh19:
	adrp	x10, _RELKIND_FOREIGN_TABLE@GOTPAGE
Lloh20:
	ldr	x10, [x10, _RELKIND_FOREIGN_TABLE@GOTPAGEOFF]
Lloh21:
	ldr	w10, [x10]
	cmp	w9, w10
	b.eq	LBB0_11
; %bb.9:
Lloh22:
	adrp	x10, _RELKIND_PARTITIONED_TABLE@GOTPAGE
Lloh23:
	ldr	x10, [x10, _RELKIND_PARTITIONED_TABLE@GOTPAGEOFF]
Lloh24:
	ldr	w10, [x10]
	cmp	w9, w10
	b.eq	LBB0_11
; %bb.10:
Lloh25:
	adrp	x8, _ERROR@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh27:
	ldr	w23, [x8]
Lloh28:
	adrp	x8, _ERRCODE_WRONG_OBJECT_TYPE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ERRCODE_WRONG_OBJECT_TYPE@GOTPAGEOFF]
Lloh30:
	ldr	w0, [x8]
	bl	_errcode
	ldr	x0, [sp, #8]
	bl	_RelationGetRelationName
	mov	x1, x0
Lloh31:
	adrp	x0, l_.str.1@PAGE
Lloh32:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_errmsg
	mov	x1, x0
	mov	x0, x23
	bl	_ereport
	ldr	w8, [x22]
LBB0_11:
	ldr	w9, [x24]
Lloh33:
	adrp	x10, _OBJECT_TABLESPACE@GOTPAGE
Lloh34:
	ldr	x10, [x10, _OBJECT_TABLESPACE@GOTPAGEOFF]
Lloh35:
	adrp	x11, _OBJECT_ROLE@GOTPAGE
Lloh36:
	ldr	x11, [x11, _OBJECT_ROLE@GOTPAGEOFF]
Lloh37:
	ldr	w10, [x10]
Lloh38:
	ldr	w11, [x11]
	ldr	w3, [x22, #4]
	cmp	w8, w9
	ccmp	w8, w10, #4, ne
	mov	x0, x20
	mov	x1, x21
	ccmp	w8, w11, #4, ne
	b.ne	LBB0_13
; %bb.12:
	mov	x2, x3
	bl	_CreateSharedComments
	ldr	x0, [sp, #8]
	cbnz	x0, LBB0_14
	b	LBB0_16
LBB0_13:
	mov	x2, x19
	bl	_CreateComments
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_16
LBB0_14:
Lloh39:
	adrp	x8, _NoLock@GOTPAGE
Lloh40:
	ldr	x8, [x8, _NoLock@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	bl	_relation_close
	b	LBB0_16
LBB0_15:
	lsr	x21, x19, #32
Lloh42:
	adrp	x8, _WARNING@GOTPAGE
Lloh43:
	ldr	x8, [x8, _WARNING@GOTPAGEOFF]
Lloh44:
	ldr	w22, [x8]
Lloh45:
	adrp	x8, _ERRCODE_UNDEFINED_DATABASE@GOTPAGE
Lloh46:
	ldr	x8, [x8, _ERRCODE_UNDEFINED_DATABASE@GOTPAGEOFF]
Lloh47:
	ldr	w0, [x8]
	bl	_errcode
Lloh48:
	adrp	x0, l_.str@PAGE
Lloh49:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x23
	bl	_errmsg
	mov	x1, x0
	mov	x0, x22
	bl	_ereport
LBB0_16:
	bfi	x19, x21, #32, #32
	mov	w1, w20
	mov	x0, x19
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh37
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_InvalidObjectAddress,12,2      ; @InvalidObjectAddress
	.comm	_OBJECT_DATABASE,4,2            ; @OBJECT_DATABASE
	.comm	_WARNING,4,2                    ; @WARNING
	.comm	_ERRCODE_UNDEFINED_DATABASE,4,2 ; @ERRCODE_UNDEFINED_DATABASE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"database \"%s\" does not exist"

	.comm	_ShareUpdateExclusiveLock,4,2   ; @ShareUpdateExclusiveLock
	.comm	_RELKIND_RELATION,4,2           ; @RELKIND_RELATION
	.comm	_RELKIND_VIEW,4,2               ; @RELKIND_VIEW
	.comm	_RELKIND_MATVIEW,4,2            ; @RELKIND_MATVIEW
	.comm	_RELKIND_COMPOSITE_TYPE,4,2     ; @RELKIND_COMPOSITE_TYPE
	.comm	_RELKIND_FOREIGN_TABLE,4,2      ; @RELKIND_FOREIGN_TABLE
	.comm	_RELKIND_PARTITIONED_TABLE,4,2  ; @RELKIND_PARTITIONED_TABLE
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_WRONG_OBJECT_TYPE,4,2  ; @ERRCODE_WRONG_OBJECT_TYPE
l_.str.1:                               ; @.str.1
	.asciz	"\"%s\" is not a table, view, materialized view, composite type, or foreign table"

	.comm	_OBJECT_TABLESPACE,4,2          ; @OBJECT_TABLESPACE
	.comm	_OBJECT_ROLE,4,2                ; @OBJECT_ROLE
	.comm	_NoLock,4,2                     ; @NoLock
.subsections_via_symbols
