	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_find_inheritance_children      ## -- Begin function find_inheritance_children
	.p2align	4, 0x90
_find_inheritance_children:             ## @find_inheritance_children
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movl	%edi, %ebx
	movq	_NIL@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	callq	_has_subclass
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	$128, %edi
	callq	_palloc
	movq	%rax, %r13
	movq	_InheritsRelationId@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_AccessShareLock@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_table_open
	movl	%eax, %r15d
	movq	_Anum_pg_inherits_inhparent@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movq	_BTEqualStrategyNumber@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_F_OIDEQ@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%ebx, %edi
	callq	_ObjectIdGetDatum
	leaq	-64(%rbp), %rdi
	movl	-56(%rbp), %esi                 ## 4-byte Reload
	movl	%r12d, %edx
	movl	%r14d, %ecx
	movl	%eax, %r8d
	callq	_ScanKeyInit
	movq	_InheritsParentIndexId@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ebx, %ebx
	movl	%r15d, -60(%rbp)                ## 4-byte Spill
	movl	%r15d, %edi
	movl	$1, %edx
	xorl	%ecx, %ecx
	movl	$1, %r8d
	leaq	-64(%rbp), %r9
	callq	_systable_beginscan
	movl	%eax, %r12d
	movl	%eax, %edi
	callq	_systable_getnext
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:
	movl	$32, %r14d
	xorl	%ebx, %ebx
	movl	%r12d, -56(%rbp)                ## 4-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	leal	(%r14,%r14), %r12d
	shll	$3, %r14d
	movq	%r13, %rdi
	movl	%r14d, %esi
	callq	_repalloc
	movl	%r12d, %r14d
	movl	-56(%rbp), %r12d                ## 4-byte Reload
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %r13
	movl	%r15d, (%rax,%rbx,4)
	incq	%rbx
	movl	%r12d, %edi
	callq	_systable_getnext
	testq	%rax, %rax
	je	LBB0_8
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rdi
	callq	_GETSTRUCT
	movl	(%rax), %r15d
	movslq	%r14d, %rax
	cmpq	%rax, %rbx
	jge	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %rax
	jmp	LBB0_7
LBB0_8:
	movq	_AccessShareLock@GOTPCREL(%rip), %r15
	movl	%r12d, %edi
	callq	_systable_endscan
	movl	(%r15), %esi
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	callq	_table_close
	cmpl	$2, %ebx
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	jb	LBB0_10
## %bb.9:
	movq	_oid_cmp@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	$4, %edx
	callq	_qsort
	jmp	LBB0_11
LBB0_1:
	movq	(%r14), %r14
	jmp	LBB0_18
LBB0_10:
	testl	%ebx, %ebx
	je	LBB0_17
LBB0_11:
	movl	%ebx, %r12d
	xorl	%r15d, %r15d
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_lappend_oid
	movq	%rax, %r14
LBB0_16:                                ##   in Loop: Header=BB0_12 Depth=1
	incq	%r15
	cmpq	%r15, %r12
	je	LBB0_17
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r13,%r15,4), %ebx
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movq	_NoLock@GOTPCREL(%rip), %rcx
	cmpl	%eax, (%rcx)
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	%ebx, %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_LockRelationOid
	movq	%r13, %r12
	movq	%r14, %r13
	movq	_RELOID@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%ebx, %edi
	callq	_ObjectIdGetDatum
	movl	%r14d, %edi
	movq	%r13, %r14
	movq	%r12, %r13
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_SearchSysCacheExists1
	testl	%eax, %eax
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	%ebx, %edi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_UnlockRelationOid
	jmp	LBB0_16
LBB0_17:
	movq	%r13, %rdi
	callq	_pfree
LBB0_18:
	movq	%r14, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NIL,8,3                        ## @NIL
	.comm	_InheritsRelationId,4,2         ## @InheritsRelationId
	.comm	_AccessShareLock,4,2            ## @AccessShareLock
	.comm	_Anum_pg_inherits_inhparent,4,2 ## @Anum_pg_inherits_inhparent
	.comm	_BTEqualStrategyNumber,4,2      ## @BTEqualStrategyNumber
	.comm	_F_OIDEQ,4,2                    ## @F_OIDEQ
	.comm	_InheritsParentIndexId,4,2      ## @InheritsParentIndexId
	.comm	_oid_cmp,4,2                    ## @oid_cmp
	.comm	_NoLock,4,2                     ## @NoLock
	.comm	_RELOID,4,2                     ## @RELOID
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_find_inheritance_children      ; -- Begin function find_inheritance_children
	.p2align	2
_find_inheritance_children:             ; @find_inheritance_children
	.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, x1
	mov	x23, x0
Lloh0:
	adrp	x21, _NIL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _NIL@GOTPAGEOFF]
	ldr	x19, [x21]
	bl	_has_subclass
	cbz	w0, LBB0_6
; %bb.1:
	mov	w0, #128
	bl	_palloc
	mov	x21, x0
Lloh2:
	adrp	x8, _InheritsRelationId@GOTPAGE
Lloh3:
	ldr	x8, [x8, _InheritsRelationId@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x27, _AccessShareLock@GOTPAGE
Lloh6:
	ldr	x27, [x27, _AccessShareLock@GOTPAGEOFF]
	ldr	w1, [x27]
	bl	_table_open
	mov	x22, x0
Lloh7:
	adrp	x8, _Anum_pg_inherits_inhparent@GOTPAGE
Lloh8:
	ldr	x8, [x8, _Anum_pg_inherits_inhparent@GOTPAGEOFF]
Lloh9:
	ldr	w24, [x8]
Lloh10:
	adrp	x8, _BTEqualStrategyNumber@GOTPAGE
Lloh11:
	ldr	x8, [x8, _BTEqualStrategyNumber@GOTPAGEOFF]
Lloh12:
	ldr	w25, [x8]
Lloh13:
	adrp	x8, _F_OIDEQ@GOTPAGE
Lloh14:
	ldr	x8, [x8, _F_OIDEQ@GOTPAGEOFF]
Lloh15:
	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
Lloh16:
	adrp	x8, _InheritsParentIndexId@GOTPAGE
Lloh17:
	ldr	x8, [x8, _InheritsParentIndexId@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	add	x5, sp, #12
	mov	x0, x22
	mov	w2, #1
	mov	x3, #0
	mov	w4, #1
	bl	_systable_beginscan
	mov	x23, x0
	bl	_systable_getnext
	cbz	x0, LBB0_7
; %bb.2:
	mov	x25, #0
	mov	w26, #32
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x24, x25, #1
	str	w28, [x21, x25, lsl #2]
	mov	x0, x23
	bl	_systable_getnext
	mov	x25, x24
	cbz	x0, LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	bl	_GETSTRUCT
	ldr	w28, [x0]
	cmp	x25, w26, sxtw
	b.lt	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	lsl	w24, w26, #1
	lsl	w1, w26, #3
	mov	x0, x21
	bl	_repalloc
	mov	x21, x0
	mov	x26, x24
	b	LBB0_3
LBB0_6:
	ldr	x19, [x21]
	b	LBB0_18
LBB0_7:
	mov	w24, #0
LBB0_8:
	mov	x0, x23
	bl	_systable_endscan
	ldr	w1, [x27]
	mov	x0, x22
	bl	_table_close
	cmp	w24, #2
	b.lo	LBB0_10
; %bb.9:
Lloh19:
	adrp	x8, _oid_cmp@GOTPAGE
Lloh20:
	ldr	x8, [x8, _oid_cmp@GOTPAGEOFF]
Lloh21:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x1, x24
	mov	w2, #4
	bl	_qsort
	b	LBB0_11
LBB0_10:
	cbz	w24, LBB0_17
LBB0_11:
Lloh22:
	adrp	x25, _NoLock@GOTPAGE
Lloh23:
	ldr	x25, [x25, _NoLock@GOTPAGEOFF]
Lloh24:
	adrp	x26, _RELOID@GOTPAGE
Lloh25:
	ldr	x26, [x26, _RELOID@GOTPAGEOFF]
	mov	x27, x21
	mov	w24, w24
	b	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x19
	mov	x1, x22
	bl	_lappend_oid
	mov	x19, x0
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x27, x27, #4
	subs	x24, x24, #1
	b.eq	LBB0_17
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	w22, [x27]
	ldr	w8, [x25]
	cmp	w8, w20
	b.eq	LBB0_12
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x22
	mov	x1, x20
	bl	_LockRelationOid
	ldr	w23, [x26]
	mov	x0, x22
	bl	_ObjectIdGetDatum
	mov	x1, x0
	mov	x0, x23
	bl	_SearchSysCacheExists1
	cbnz	w0, LBB0_12
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x0, x22
	mov	x1, x20
	bl	_UnlockRelationOid
	b	LBB0_13
LBB0_17:
	mov	x0, x21
	bl	_pfree
LBB0_18:
	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	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_NIL,8,3                        ; @NIL
	.comm	_InheritsRelationId,4,2         ; @InheritsRelationId
	.comm	_AccessShareLock,4,2            ; @AccessShareLock
	.comm	_Anum_pg_inherits_inhparent,4,2 ; @Anum_pg_inherits_inhparent
	.comm	_BTEqualStrategyNumber,4,2      ; @BTEqualStrategyNumber
	.comm	_F_OIDEQ,4,2                    ; @F_OIDEQ
	.comm	_InheritsParentIndexId,4,2      ; @InheritsParentIndexId
	.comm	_oid_cmp,4,2                    ; @oid_cmp
	.comm	_NoLock,4,2                     ; @NoLock
	.comm	_RELOID,4,2                     ; @RELOID
.subsections_via_symbols
