	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function findParentsByOid
_findParentsByOid:                      ## @findParentsByOid
	.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, %r14
	testl	%edx, %edx
	jle	LBB0_1
## %bb.3:
	movq	%rsi, %rbx
	movq	24(%r14), %r15
	movl	%edx, %r12d
	leaq	-1(%r12), %rcx
	movl	%r12d, %r8d
	andl	$3, %r8d
	cmpq	$3, %rcx
	jae	LBB0_5
## %bb.4:
	xorl	%ecx, %ecx
	xorl	%edi, %edi
	jmp	LBB0_7
LBB0_1:
	movl	$0, (%r14)
	jmp	LBB0_2
LBB0_5:
	movl	%r12d, %edx
	andl	$-4, %edx
	leaq	48(%rbx), %rsi
	xorl	%ecx, %ecx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	cmpq	%r15, -48(%rsi)
	sete	%al
	addl	%edi, %eax
	xorl	%edi, %edi
	cmpq	%r15, -32(%rsi)
	sete	%dil
	addl	%eax, %edi
	xorl	%eax, %eax
	cmpq	%r15, -16(%rsi)
	sete	%al
	addl	%edi, %eax
	xorl	%edi, %edi
	cmpq	%r15, (%rsi)
	sete	%dil
	addl	%eax, %edi
	addq	$4, %rcx
	addq	$64, %rsi
	cmpq	%rcx, %rdx
	jne	LBB0_6
LBB0_7:
	testq	%r8, %r8
	je	LBB0_10
## %bb.8:
	shlq	$4, %rcx
	addq	%rbx, %rcx
	shlq	$4, %r8
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	cmpq	%r15, (%rcx,%rdx)
	sete	%al
	addl	%eax, %edi
	addq	$16, %rdx
	cmpq	%rdx, %r8
	jne	LBB0_9
LBB0_10:
	movl	%edi, (%r14)
	testl	%edi, %edi
	je	LBB0_2
## %bb.11:
	shll	$3, %edi
	callq	_pg_malloc
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, 8(%r14)
	addq	$8, %rbx
	xorl	%r14d, %r14d
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_12 Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movslq	%r14d, %rcx
	incl	%r14d
	movq	%r13, (%rax,%rcx,8)
LBB0_16:                                ##   in Loop: Header=BB0_12 Depth=1
	addq	$16, %rbx
	decq	%r12
	je	LBB0_17
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	cmpq	%r15, -8(%rbx)
	jne	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	(%rbx), %edi
	callq	_findTableByOid
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	(%rbx), %esi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	16(%rax), %edx
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rcx
	callq	_pg_log_error
	movl	$1, %edi
	callq	_exit_nicely
	jmp	LBB0_15
LBB0_2:
	movq	$0, 8(%r14)
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed sanity check, parent OID %u of table \"%s\" (OID %u) not found"

	.no_dead_strip	_findParentsByOid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function findParentsByOid
_findParentsByOid:                      ; @findParentsByOid
	.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	x19, x0
	cmp	w2, #0
	b.le	LBB0_3
; %bb.1:
	mov	x21, x1
	ldr	x20, [x19, #24]
	mov	w23, w2
	cmp	w2, #9
	b.hs	LBB0_4
; %bb.2:
	mov	x8, #0
	mov	w9, #0
	b	LBB0_7
LBB0_3:
	str	wzr, [x19]
	b	LBB0_16
LBB0_4:
	ands	x8, x23, #0x7
	mov	w9, #8
	csel	x8, x9, x8, eq
	sub	x8, x23, x8
	dup.2d	v1, x20
	movi.2d	v0, #0000000000000000
	add	x9, x21, #64
	mov	x10, x8
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
	movi.2d	v4, #0000000000000000
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	sub	x11, x9, #64
	ld2.2d	{ v5, v6 }, [x11]
	sub	x11, x9, #32
	ld2.2d	{ v16, v17 }, [x11]
	mov	x11, x9
	ld2.2d	{ v18, v19 }, [x11], #32
	ld2.2d	{ v20, v21 }, [x11]
	cmeq.2d	v5, v5, v1
	xtn.2s	v5, v5
	cmeq.2d	v6, v16, v1
	xtn.2s	v6, v6
	cmeq.2d	v7, v18, v1
	xtn.2s	v7, v7
	cmeq.2d	v16, v20, v1
	xtn.2s	v16, v16
	sub.2s	v0, v0, v5
	sub.2s	v2, v2, v6
	sub.2s	v3, v3, v7
	sub.2s	v4, v4, v16
	add	x9, x9, #128
	subs	x10, x10, #8
	b.ne	LBB0_5
; %bb.6:
	add.2s	v0, v2, v0
	add.2s	v0, v3, v0
	add.2s	v0, v4, v0
	addp.2s	v0, v0, v0
	fmov	w9, s0
LBB0_7:
	add	x10, x21, x8, lsl #4
	sub	x8, x23, x8
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x10], #16
	cmp	x11, x20
	cinc	w9, w9, eq
	subs	x8, x8, #1
	b.ne	LBB0_8
; %bb.9:
	str	w9, [x19]
	cbz	w9, LBB0_16
; %bb.10:
	lsl	w0, w9, #3
	bl	_pg_malloc
	mov	w24, #0
	str	x0, [x19, #8]
	add	x25, x21, #8
Lloh0:
	adrp	x21, l_.str@PAGE
Lloh1:
	add	x21, x21, l_.str@PAGEOFF
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	x8, [x19, #8]
	str	x22, [x8, w24, sxtw #3]
	add	w24, w24, #1
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x25, x25, #16
	subs	x23, x23, #1
	b.eq	LBB0_17
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldur	x8, [x25, #-8]
	cmp	x8, x20
	b.ne	LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w0, [x25]
	bl	_findTableByOid
	mov	x22, x0
	cbnz	x0, LBB0_11
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w1, [x25]
	ldr	w2, [x19, #16]
	mov	x0, x21
	mov	x3, x20
	bl	_pg_log_error
	mov	w0, #1
	bl	_exit_nicely
	b	LBB0_11
LBB0_16:
	str	xzr, [x19, #8]
LBB0_17:
	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
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed sanity check, parent OID %u of table \"%s\" (OID %u) not found"

	.no_dead_strip	_findParentsByOid
.subsections_via_symbols
