	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_findObjectByCatalogId          ## -- Begin function findObjectByCatalogId
	.p2align	4, 0x90
_findObjectByCatalogId:                 ## @findObjectByCatalogId
	.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, %r15
	movq	_catalogIdMapValid@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	jne	LBB0_6
## %bb.1:
	movq	_catalogIdMap@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:
	callq	_free
LBB0_3:
	movq	_catalogIdMap@GOTPCREL(%rip), %r14
	movq	_numCatalogIds@GOTPCREL(%rip), %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_getDumpableObjects
	movl	(%rbx), %esi
	cmpl	$2, %esi
	jl	LBB0_5
## %bb.4:
	movq	(%r14), %rdi
	movq	_DOCatalogIdCompare@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	$8, %edx
	callq	_qsort
LBB0_5:
	movl	$1, (%r12)
LBB0_6:
	movq	_numCatalogIds@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	jle	LBB0_15
## %bb.7:
	movq	%r15, %r12
	shrq	$32, %r12
	movq	_catalogIdMap@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r14
	decl	%eax
	leaq	(%r14,%rax,8), %r13
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_8 Depth=1
	addq	$-8, %rbx
	movq	%rbx, %r13
	cmpq	%r13, %r14
	ja	LBB0_15
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rax
	subq	%r14, %rax
	movq	%rax, %rcx
	sarq	$3, %rcx
	shrq	$63, %rax
	addq	%rcx, %rax
	andq	$-2, %rax
	leaq	(%r14,%rax,4), %rbx
	movq	(%r14,%rax,4), %rax
	movl	4(%rax), %edi
	movl	%r12d, %esi
	callq	_oidcmp
	testl	%eax, %eax
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	(%rbx), %rax
	movl	(%rax), %edi
	movl	%r15d, %esi
	callq	_oidcmp
	testl	%eax, %eax
	je	LBB0_10
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	testl	%eax, %eax
	jns	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_8 Depth=1
	addq	$8, %rbx
	movq	%rbx, %r14
	cmpq	%r13, %r14
	jbe	LBB0_8
LBB0_15:
	xorl	%eax, %eax
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	(%rbx), %rax
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_catalogIdMapValid,4,2          ## @catalogIdMapValid
	.comm	_catalogIdMap,8,3               ## @catalogIdMap
	.comm	_numCatalogIds,4,2              ## @numCatalogIds
	.comm	_DOCatalogIdCompare,4,2         ## @DOCatalogIdCompare
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_findObjectByCatalogId          ; -- Begin function findObjectByCatalogId
	.p2align	2
_findObjectByCatalogId:                 ; @findObjectByCatalogId
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x0
Lloh0:
	adrp	x23, _catalogIdMapValid@GOTPAGE
Lloh1:
	ldr	x23, [x23, _catalogIdMapValid@GOTPAGEOFF]
	ldr	w8, [x23]
Lloh2:
	adrp	x22, _catalogIdMap@GOTPAGE
Lloh3:
	ldr	x22, [x22, _catalogIdMap@GOTPAGEOFF]
Lloh4:
	adrp	x20, _numCatalogIds@GOTPAGE
Lloh5:
	ldr	x20, [x20, _numCatalogIds@GOTPAGEOFF]
	cbnz	w8, LBB0_6
; %bb.1:
	ldr	x0, [x22]
	cbz	x0, LBB0_3
; %bb.2:
	bl	_free
LBB0_3:
Lloh6:
	adrp	x21, _catalogIdMap@GOTPAGE
Lloh7:
	ldr	x21, [x21, _catalogIdMap@GOTPAGEOFF]
	mov	x0, x21
	mov	x1, x20
	bl	_getDumpableObjects
	ldr	w1, [x20]
	cmp	w1, #2
	b.lt	LBB0_5
; %bb.4:
	ldr	x0, [x21]
Lloh8:
	adrp	x8, _DOCatalogIdCompare@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DOCatalogIdCompare@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	mov	w2, #8
	bl	_qsort
LBB0_5:
	mov	w8, #1
	str	w8, [x23]
LBB0_6:
	ldr	w8, [x20]
	subs	w8, w8, #1
	b.lt	LBB0_12
; %bb.7:
	lsr	x20, x19, #32
	ldr	x21, [x22]
	add	x22, x21, w8, uxtw #3
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x8, x23, #8
	sub	x9, x23, #8
	cmp	w0, #0
	csel	x21, x8, x21, lt
	csel	x22, x22, x9, lt
	cmp	x21, x22
	b.hi	LBB0_12
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	sub	x8, x22, x21
	asr	x8, x8, #3
	cmp	x8, #0
	cinc	x8, x8, lt
	lsl	x8, x8, #2
	and	x8, x8, #0xfffffffffffffff8
	add	x23, x21, x8
	ldr	x8, [x23]
	ldr	w0, [x8, #4]
	mov	x1, x20
	bl	_oidcmp
	cbnz	w0, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x23]
	ldr	w0, [x8]
	mov	x1, x19
	bl	_oidcmp
	cbnz	w0, LBB0_8
; %bb.11:
	ldr	x0, [x23]
	b	LBB0_13
LBB0_12:
	mov	x0, #0
LBB0_13:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_catalogIdMapValid,4,2          ; @catalogIdMapValid
	.comm	_catalogIdMap,8,3               ; @catalogIdMap
	.comm	_numCatalogIds,4,2              ; @numCatalogIds
	.comm	_DOCatalogIdCompare,4,2         ; @DOCatalogIdCompare
.subsections_via_symbols
