	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_typed_table_dependencies
_find_typed_table_dependencies:         ## @find_typed_table_dependencies
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movl	%edi, -48(%rbp)                 ## 4-byte Spill
	movq	_NIL@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	_RelationRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_AccessShareLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_table_open
	movl	%eax, %ebx
	movq	_Anum_pg_class_reloftype@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_BTEqualStrategyNumber@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_F_OIDEQ@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	callq	_ObjectIdGetDatum
	leaq	-52(%rbp), %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movl	%r12d, %edx
	movl	%r15d, %ecx
	movl	%eax, %r8d
	callq	_ScanKeyInit
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	movl	$1, %esi
	leaq	-52(%rbp), %rdx
	callq	_table_beginscan_catalog
	movl	%eax, %r15d
	movq	_ForwardScanDirection@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movl	%eax, %edi
	callq	_heap_getnext
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	_DROP_RESTRICT@GOTPCREL(%rip), %r12
	movl	%r15d, -48(%rbp)                ## 4-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	cltq
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_lappend_oid
	movq	%rax, %r14
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rbx), %esi
	movl	%r15d, %edi
	callq	_heap_getnext
	testq	%rax, %rax
	je	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rdi
	callq	_GETSTRUCT
	cmpq	%r13, (%r12)
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %r15
	movq	%r14, %r13
	movq	%r12, %r14
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_ERRCODE_DEPENDENT_OBJECTS_STILL_EXIST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_errcode
	leaq	L_.str(%rip), %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_errmsg
	leaq	L_.str.1(%rip), %rdi
	callq	_errhint
	movl	%r12d, %edi
	movq	%r14, %r12
	movq	%r13, %r14
	movq	%r15, %r13
	movl	-48(%rbp), %r15d                ## 4-byte Reload
	movl	%eax, %esi
	callq	_ereport
	jmp	LBB0_5
LBB0_6:
	movl	%r15d, %edi
	callq	_table_endscan
	movq	_AccessShareLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_table_close
	movq	%r14, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NIL,8,3                        ## @NIL
	.comm	_RelationRelationId,4,2         ## @RelationRelationId
	.comm	_AccessShareLock,4,2            ## @AccessShareLock
	.comm	_Anum_pg_class_reloftype,4,2    ## @Anum_pg_class_reloftype
	.comm	_BTEqualStrategyNumber,4,2      ## @BTEqualStrategyNumber
	.comm	_F_OIDEQ,4,2                    ## @F_OIDEQ
	.comm	_ForwardScanDirection,4,2       ## @ForwardScanDirection
	.comm	_DROP_RESTRICT,8,3              ## @DROP_RESTRICT
	.comm	_ERROR,4,2                      ## @ERROR
	.comm	_ERRCODE_DEPENDENT_OBJECTS_STILL_EXIST,4,2 ## @ERRCODE_DEPENDENT_OBJECTS_STILL_EXIST
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot alter type \"%s\" because it is the type of a typed table"

L_.str.1:                               ## @.str.1
	.asciz	"Use ALTER ... CASCADE to alter the typed tables too."

	.no_dead_strip	_find_typed_table_dependencies
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_typed_table_dependencies
_find_typed_table_dependencies:         ; @find_typed_table_dependencies
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x2
	mov	x21, x1
	mov	x23, x0
Lloh0:
	adrp	x8, _NIL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NIL@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
Lloh3:
	adrp	x8, _RelationRelationId@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RelationRelationId@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _AccessShareLock@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AccessShareLock@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_table_open
	mov	x22, x0
Lloh9:
	adrp	x8, _Anum_pg_class_reloftype@GOTPAGE
Lloh10:
	ldr	x8, [x8, _Anum_pg_class_reloftype@GOTPAGEOFF]
Lloh11:
	ldr	w24, [x8]
Lloh12:
	adrp	x8, _BTEqualStrategyNumber@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BTEqualStrategyNumber@GOTPAGEOFF]
Lloh14:
	ldr	w25, [x8]
Lloh15:
	adrp	x8, _F_OIDEQ@GOTPAGE
Lloh16:
	ldr	x8, [x8, _F_OIDEQ@GOTPAGEOFF]
Lloh17:
	ldr	w26, [x8]
	mov	x0, x23
	bl	_ObjectIdGetDatum
	mov	x4, x0
	add	x0, sp, #12
	mov	x1, x24
	mov	x2, x25
	mov	x3, x26
	bl	_ScanKeyInit
	add	x2, sp, #12
	str	w22, [sp, #8]                   ; 4-byte Folded Spill
	mov	x0, x22
	mov	w1, #1
	bl	_table_beginscan_catalog
	mov	x23, x0
Lloh18:
	adrp	x28, _ForwardScanDirection@GOTPAGE
Lloh19:
	ldr	x28, [x28, _ForwardScanDirection@GOTPAGEOFF]
	ldr	w1, [x28]
	bl	_heap_getnext
	cbz	x0, LBB0_6
; %bb.1:
Lloh20:
	adrp	x27, _DROP_RESTRICT@GOTPAGE
Lloh21:
	ldr	x27, [x27, _DROP_RESTRICT@GOTPAGEOFF]
Lloh22:
	adrp	x24, l_.str@PAGE
Lloh23:
	add	x24, x24, l_.str@PAGEOFF
Lloh24:
	adrp	x22, _ERRCODE_DEPENDENT_OBJECTS_STILL_EXIST@GOTPAGE
Lloh25:
	ldr	x22, [x22, _ERRCODE_DEPENDENT_OBJECTS_STILL_EXIST@GOTPAGEOFF]
Lloh26:
	adrp	x25, l_.str.1@PAGE
Lloh27:
	add	x25, x25, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	sxtw	x8, w0
	ldr	w1, [x8]
	mov	x0, x19
	bl	_lappend_oid
	mov	x19, x0
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w1, [x28]
	mov	x0, x23
	bl	_heap_getnext
	cbz	x0, LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	bl	_GETSTRUCT
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	x8, [x27]
	cmp	x8, x20
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh28:
	adrp	x8, _ERROR@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh30:
	ldr	w26, [x8]
	ldr	w0, [x22]
	bl	_errcode
	mov	x0, x24
	mov	x1, x21
	bl	_errmsg
	mov	x0, x25
	bl	_errhint
	mov	x1, x0
	mov	x0, x26
	bl	_ereport
	b	LBB0_3
LBB0_6:
	mov	x0, x23
	bl	_table_endscan
Lloh31:
	adrp	x8, _AccessShareLock@GOTPAGE
Lloh32:
	ldr	x8, [x8, _AccessShareLock@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	ldr	w0, [sp, #8]                    ; 4-byte Folded Reload
	bl	_table_close
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_NIL,8,3                        ; @NIL
	.comm	_RelationRelationId,4,2         ; @RelationRelationId
	.comm	_AccessShareLock,4,2            ; @AccessShareLock
	.comm	_Anum_pg_class_reloftype,4,2    ; @Anum_pg_class_reloftype
	.comm	_BTEqualStrategyNumber,4,2      ; @BTEqualStrategyNumber
	.comm	_F_OIDEQ,4,2                    ; @F_OIDEQ
	.comm	_ForwardScanDirection,4,2       ; @ForwardScanDirection
	.comm	_DROP_RESTRICT,8,3              ; @DROP_RESTRICT
	.comm	_ERROR,4,2                      ; @ERROR
	.comm	_ERRCODE_DEPENDENT_OBJECTS_STILL_EXIST,4,2 ; @ERRCODE_DEPENDENT_OBJECTS_STILL_EXIST
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot alter type \"%s\" because it is the type of a typed table"

l_.str.1:                               ; @.str.1
	.asciz	"Use ALTER ... CASCADE to alter the typed tables too."

	.no_dead_strip	_find_typed_table_dependencies
.subsections_via_symbols
