	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ExecAlterOwnerStmt             ## -- Begin function ExecAlterOwnerStmt
	.p2align	4, 0x90
_ExecAlterOwnerStmt:                    ## @ExecAlterOwnerStmt
	.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	16(%rdi), %edi
	xorl	%esi, %esi
	callq	_get_rolespec_oid
	movl	%eax, %r14d
	movl	(%rbx), %eax
	leal	-128(%rax), %ecx
	cmpl	$23, %ecx
	ja	LBB0_14
## %bb.1:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_11:
	movq	8(%rbx), %rsi
	movq	_AccessExclusiveLock@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leaq	-48(%rbp), %rdx
	movl	%eax, %edi
	xorl	%r8d, %r8d
	callq	_get_object_address
	movq	%rax, %r15
	movq	%rax, %rbx
	shrq	$32, %rbx
	xorl	%edi, %edi
	cmpq	$0, -48(%rbp)
	sete	%dil
	callq	_Assert
	movq	_LargeObjectRelationId@GOTPCREL(%rip), %rax
	movl	%ebx, %edi
	cmpl	%ebx, (%rax)
	jne	LBB0_13
## %bb.12:
	movq	_LargeObjectMetadataRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
LBB0_13:
	movq	_RowExclusiveLock@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	callq	_table_open
	movq	%rax, %r12
	movq	%rax, %rdi
	movl	%r15d, %esi
	movl	%r14d, %edx
	callq	_AlterObjectOwner_internal
	movl	(%r13), %esi
	movq	%r12, %rdi
	callq	_table_close
	jmp	LBB0_15
LBB0_5:
	movq	_List@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%rbx), %rsi
	callq	_castNode
	movl	(%rbx), %edx
	movl	%eax, %edi
	movl	%r14d, %esi
	callq	_AlterTypeOwner
	jmp	LBB0_3
LBB0_10:
	movq	8(%rbx), %rdi
	callq	_strVal
	movl	%eax, %edi
	movl	%r14d, %esi
	callq	_AlterSubscriptionOwner
	jmp	LBB0_3
LBB0_4:
	movq	8(%rbx), %rdi
	callq	_strVal
	movl	%eax, %edi
	movl	%r14d, %esi
	callq	_AlterSchemaOwner
	jmp	LBB0_3
LBB0_9:
	movq	8(%rbx), %rdi
	callq	_strVal
	movl	%eax, %edi
	movl	%r14d, %esi
	callq	_AlterPublicationOwner
	jmp	LBB0_3
LBB0_7:
	movq	8(%rbx), %rdi
	callq	_strVal
	movl	%eax, %edi
	movl	%r14d, %esi
	callq	_AlterForeignServerOwner
	jmp	LBB0_3
LBB0_6:
	movq	8(%rbx), %rdi
	callq	_strVal
	movl	%eax, %edi
	movl	%r14d, %esi
	callq	_AlterForeignDataWrapperOwner
	jmp	LBB0_3
LBB0_8:
	movq	8(%rbx), %rdi
	callq	_strVal
	movl	%eax, %edi
	movl	%r14d, %esi
	callq	_AlterEventTriggerOwner
	jmp	LBB0_3
LBB0_2:
	movq	8(%rbx), %rdi
	callq	_strVal
	movl	%eax, %edi
	movl	%r14d, %esi
	callq	_AlterDatabaseOwner
LBB0_3:
	movq	%rax, %r15
	movq	%rax, %rbx
	shrq	$32, %rbx
LBB0_15:
	shlq	$32, %rbx
	movl	%r15d, %eax
	orq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movq	_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_elog
	movq	_InvalidObjectAddress@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	4(%rax), %ebx
	jmp	LBB0_15
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_5
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_10
	.long	L0_0_set_11
	.long	L0_0_set_4
	.long	L0_0_set_11
	.long	L0_0_set_9
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_7
	.long	L0_0_set_6
	.long	L0_0_set_8
	.long	L0_0_set_5
	.long	L0_0_set_2
	.long	L0_0_set_11
	.long	L0_0_set_11
	.long	L0_0_set_11
	.end_data_region
                                        ## -- End function
	.comm	_List,4,2                       ## @List
	.comm	_AccessExclusiveLock,4,2        ## @AccessExclusiveLock
	.comm	_LargeObjectRelationId,4,2      ## @LargeObjectRelationId
	.comm	_LargeObjectMetadataRelationId,4,2 ## @LargeObjectMetadataRelationId
	.comm	_RowExclusiveLock,4,2           ## @RowExclusiveLock
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unrecognized AlterOwnerStmt type: %d"

	.comm	_InvalidObjectAddress,8,2       ## @InvalidObjectAddress
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ExecAlterOwnerStmt             ; -- Begin function ExecAlterOwnerStmt
	.p2align	2
_ExecAlterOwnerStmt:                    ; @ExecAlterOwnerStmt
	.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
	ldr	w0, [x0, #16]
	mov	w1, #0
	bl	_get_rolespec_oid
	ldr	w8, [x20]
	sub	w9, w8, #128
	cmp	w9, #23
	b.hi	LBB0_13
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x10, lJTI0_0@PAGE
Lloh1:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
	ldr	x1, [x20, #8]
Lloh2:
	adrp	x9, _AccessExclusiveLock@GOTPAGE
Lloh3:
	ldr	x9, [x9, _AccessExclusiveLock@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x9]
	add	x2, sp, #8
	mov	x0, x8
	mov	w4, #0
	bl	_get_object_address
	mov	x20, x0
	lsr	x22, x0, #32
	ldr	x8, [sp, #8]
	cmp	x8, #0
	cset	w0, eq
	bl	_Assert
Lloh5:
	adrp	x8, _LargeObjectRelationId@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LargeObjectRelationId@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _LargeObjectMetadataRelationId@GOTPAGE
Lloh9:
	ldr	x9, [x9, _LargeObjectMetadataRelationId@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	cmp	w8, w22
	csel	w0, w9, w22, eq
Lloh11:
	adrp	x23, _RowExclusiveLock@GOTPAGE
Lloh12:
	ldr	x23, [x23, _RowExclusiveLock@GOTPAGEOFF]
	ldr	w1, [x23]
	bl	_table_open
	mov	x21, x0
	mov	x1, x20
	mov	x2, x19
	bl	_AlterObjectOwner_internal
	ldr	w1, [x23]
	mov	x0, x21
	bl	_table_close
	mov	x0, x20
	mov	x8, x22
	b	LBB0_11
LBB0_3:
Lloh13:
	adrp	x8, _List@GOTPAGE
Lloh14:
	ldr	x8, [x8, _List@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	ldr	x1, [x20, #8]
	bl	_castNode
	ldr	w2, [x20]
	mov	x1, x19
	bl	_AlterTypeOwner
	b	LBB0_10
LBB0_4:
	ldr	x0, [x20, #8]
	bl	_strVal
	mov	x1, x19
	bl	_AlterSubscriptionOwner
	b	LBB0_10
LBB0_5:
	ldr	x0, [x20, #8]
	bl	_strVal
	mov	x1, x19
	bl	_AlterSchemaOwner
	b	LBB0_10
LBB0_6:
	ldr	x0, [x20, #8]
	bl	_strVal
	mov	x1, x19
	bl	_AlterPublicationOwner
	b	LBB0_10
LBB0_7:
	ldr	x0, [x20, #8]
	bl	_strVal
	mov	x1, x19
	bl	_AlterForeignServerOwner
	b	LBB0_10
LBB0_8:
	ldr	x0, [x20, #8]
	bl	_strVal
	mov	x1, x19
	bl	_AlterForeignDataWrapperOwner
	b	LBB0_10
LBB0_9:
	ldr	x0, [x20, #8]
	bl	_strVal
	mov	x1, x19
	bl	_AlterEventTriggerOwner
LBB0_10:
	lsr	x8, x0, #32
                                        ; kill: def $w0 killed $w0 killed $x0 def $x0
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
LBB0_11:
	mov	w0, w0
	bfi	x0, x8, #32, #32
	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
LBB0_12:
	ldr	x0, [x20, #8]
	bl	_strVal
	mov	x1, x19
	bl	_AlterDatabaseOwner
	lsr	x8, x0, #32
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	b	LBB0_11
LBB0_13:
Lloh16:
	adrp	x9, _ERROR@GOTPAGE
Lloh17:
	ldr	x9, [x9, _ERROR@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x9]
Lloh19:
	adrp	x1, l_.str@PAGE
Lloh20:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x8
	bl	_elog
Lloh21:
	adrp	x8, _InvalidObjectAddress@GOTPAGE
Lloh22:
	ldr	x8, [x8, _InvalidObjectAddress@GOTPAGEOFF]
	ldp	w0, w8, [x8]
	b	LBB0_11
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.comm	_List,4,2                       ; @List
	.comm	_AccessExclusiveLock,4,2        ; @AccessExclusiveLock
	.comm	_LargeObjectRelationId,4,2      ; @LargeObjectRelationId
	.comm	_LargeObjectMetadataRelationId,4,2 ; @LargeObjectMetadataRelationId
	.comm	_RowExclusiveLock,4,2           ; @RowExclusiveLock
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unrecognized AlterOwnerStmt type: %d"

	.comm	_InvalidObjectAddress,8,2       ; @InvalidObjectAddress
.subsections_via_symbols
