	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AlterTypeOwner_oid             ## -- Begin function AlterTypeOwner_oid
	.p2align	4, 0x90
_AlterTypeOwner_oid:                    ## @AlterTypeOwner_oid
	.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
	movl	%edx, %r12d
	movl	%esi, %r15d
	movl	%edi, %r13d
	movq	_TypeRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_RowExclusiveLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_table_open
	movl	%eax, %r14d
	movq	_TYPEOID@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%r13d, %edi
	callq	_ObjectIdGetDatum
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_SearchSysCache1
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_HeapTupleIsValid
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r13d, %edx
	callq	_elog
LBB0_2:
	movl	%ebx, %edi
	callq	_GETSTRUCT
	movq	(%rax), %rcx
	movq	_TYPTYPE_COMPOSITE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_4
## %bb.3:
	movl	8(%rax), %edi
	movq	_AccessExclusiveLock@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r15d, %esi
	movl	$1, %edx
	callq	_ATExecChangeOwner
	jmp	LBB0_5
LBB0_4:
	movl	%r13d, %edi
	movl	%r15d, %esi
	callq	_AlterTypeOwnerInternal
LBB0_5:
	testl	%r12d, %r12d
	movq	_TypeRelationId@GOTPCREL(%rip), %r12
	je	LBB0_7
## %bb.6:
	movl	(%r12), %edi
	movl	%r13d, %esi
	movl	%r15d, %edx
	callq	_changeDependencyOnOwner
LBB0_7:
	movl	(%r12), %edi
	movl	%r13d, %esi
	xorl	%edx, %edx
	callq	_InvokeObjectPostAlterHook
	movl	%ebx, %edi
	callq	_ReleaseSysCache
	movq	_RowExclusiveLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_table_close                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TypeRelationId,4,2             ## @TypeRelationId
	.comm	_RowExclusiveLock,4,2           ## @RowExclusiveLock
	.comm	_TYPEOID,4,2                    ## @TYPEOID
	.comm	_ERROR,4,2                      ## @ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cache lookup failed for type %u"

	.comm	_TYPTYPE_COMPOSITE,8,3          ## @TYPTYPE_COMPOSITE
	.comm	_AccessExclusiveLock,4,2        ## @AccessExclusiveLock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_AlterTypeOwner_oid             ; -- Begin function AlterTypeOwner_oid
	.p2align	2
_AlterTypeOwner_oid:                    ; @AlterTypeOwner_oid
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x25, _TypeRelationId@GOTPAGE
Lloh1:
	ldr	x25, [x25, _TypeRelationId@GOTPAGEOFF]
	ldr	w0, [x25]
Lloh2:
	adrp	x24, _RowExclusiveLock@GOTPAGE
Lloh3:
	ldr	x24, [x24, _RowExclusiveLock@GOTPAGEOFF]
	ldr	w1, [x24]
	bl	_table_open
	mov	x20, x0
Lloh4:
	adrp	x8, _TYPEOID@GOTPAGE
Lloh5:
	ldr	x8, [x8, _TYPEOID@GOTPAGEOFF]
Lloh6:
	ldr	w23, [x8]
	mov	x0, x19
	bl	_ObjectIdGetDatum
	mov	x1, x0
	mov	x0, x23
	bl	_SearchSysCache1
	mov	x23, x0
	bl	_HeapTupleIsValid
	cbnz	w0, LBB0_2
; %bb.1:
Lloh7:
	adrp	x8, _ERROR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	bl	_elog
LBB0_2:
	mov	x0, x23
	bl	_GETSTRUCT
	ldr	x8, [x0]
Lloh12:
	adrp	x9, _TYPTYPE_COMPOSITE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _TYPTYPE_COMPOSITE@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	ldr	w0, [x0, #8]
Lloh15:
	adrp	x8, _AccessExclusiveLock@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AccessExclusiveLock@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
	mov	x1, x21
	mov	w2, #1
	bl	_ATExecChangeOwner
	cbnz	w22, LBB0_5
	b	LBB0_6
LBB0_4:
	mov	x0, x19
	mov	x1, x21
	bl	_AlterTypeOwnerInternal
	cbz	w22, LBB0_6
LBB0_5:
	ldr	w0, [x25]
	mov	x1, x19
	mov	x2, x21
	bl	_changeDependencyOnOwner
LBB0_6:
	ldr	w0, [x25]
	mov	x1, x19
	mov	w2, #0
	bl	_InvokeObjectPostAlterHook
	mov	x0, x23
	bl	_ReleaseSysCache
	ldr	w1, [x24]
	mov	x0, x20
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_table_close
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_TypeRelationId,4,2             ; @TypeRelationId
	.comm	_RowExclusiveLock,4,2           ; @RowExclusiveLock
	.comm	_TYPEOID,4,2                    ; @TYPEOID
	.comm	_ERROR,4,2                      ; @ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cache lookup failed for type %u"

	.comm	_TYPTYPE_COMPOSITE,8,3          ; @TYPTYPE_COMPOSITE
	.comm	_AccessExclusiveLock,4,2        ; @AccessExclusiveLock
.subsections_via_symbols
