	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function unique_in_midx
_unique_in_midx:                        ## @unique_in_midx
	.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	$0, -48(%rbp)
	movq	(%rdi), %r12
	testq	%r12, %r12
	je	LBB0_5
## %bb.1:
	movq	%rsi, %r15
	movq	%rdi, %r14
	leaq	-48(%rbp), %rdx
	movq	%rsi, %rdi
	movq	%r14, %rsi
	callq	_bsearch_midx
	movq	-48(%rbp), %r13
	cmpq	%r12, %r13
	jge	LBB0_5
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, 8(%r15)
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	-56(%rbp), %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	callq	_nth_midxed_object_oid
	movq	%rax, %rbx
	movl	(%r15), %esi
	movl	4(%r15), %edi
	movl	(%rax), %edx
	callq	_match_sha
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_update_candidates
	incq	%r13
	cmpq	%r13, %r12
	jne	LBB0_2
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_unique_in_midx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function unique_in_midx
_unique_in_midx:                        ; @unique_in_midx
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	str	xzr, [sp, #8]
	ldr	x23, [x0]
	cbz	x23, LBB0_5
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	add	x2, sp, #8
	mov	x0, x1
	mov	x1, x20
	bl	_bsearch_midx
	ldr	x21, [sp, #8]
	cmp	x21, x23
	b.ge	LBB0_5
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19, #8]
	cbnz	w8, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, sp
	mov	x1, x20
	mov	x2, x21
	bl	_nth_midxed_object_oid
	mov	x22, x0
	ldp	w1, w0, [x19]
	ldr	w2, [x22]
	bl	_match_sha
	cbz	w0, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x0, x19
	mov	x1, x22
	bl	_update_candidates
	add	x21, x21, #1
	cmp	x23, x21
	b.ne	LBB0_2
LBB0_5:
	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
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_unique_in_midx
.subsections_via_symbols
