	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_abbrev_len_for_midx
_find_abbrev_len_for_midx:              ## @find_abbrev_len_for_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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$0, -36(%rbp)
	movl	(%rdi), %ebx
	testl	%ebx, %ebx
	je	LBB0_11
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	16(%rsi), %rdi
	leaq	-36(%rbp), %rdx
	movq	%r15, %rsi
	callq	_bsearch_midx
	movq	$0, 8(%r14)
	movl	-36(%rbp), %edx
	testl	%eax, %eax
	je	LBB0_4
## %bb.2:
	decl	%ebx
	cmpl	%ebx, %edx
	jge	LBB0_7
## %bb.3:
	incl	%edx
LBB0_4:
	leaq	-32(%rbp), %rdi
	movq	%r15, %rsi
	callq	_nth_midxed_object_oid
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	leaq	-32(%rbp), %rdi
	movq	%r14, %rsi
	callq	_extend_abbrev_len
LBB0_6:
	movl	-36(%rbp), %edx
LBB0_7:
	testl	%edx, %edx
	jle	LBB0_10
## %bb.8:
	decl	%edx
	leaq	-32(%rbp), %rdi
	movq	%r15, %rsi
	callq	_nth_midxed_object_oid
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	leaq	-32(%rbp), %rdi
	movq	%r14, %rsi
	callq	_extend_abbrev_len
LBB0_10:
	movq	(%r14), %rax
	movq	%rax, 8(%r14)
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_find_abbrev_len_for_midx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_abbrev_len_for_midx
_find_abbrev_len_for_midx:              ; @find_abbrev_len_for_midx
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	str	wzr, [sp, #12]
	ldr	w21, [x0]
	cbz	w21, LBB0_11
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	ldr	x0, [x1, #16]
	add	x2, sp, #12
	mov	x1, x20
	bl	_bsearch_midx
	str	xzr, [x19, #8]
	ldr	w2, [sp, #12]
	cbz	w0, LBB0_4
; %bb.2:
	sub	w8, w21, #1
	cmp	w2, w8
	b.ge	LBB0_7
; %bb.3:
	add	w2, w2, #1
LBB0_4:
	add	x0, sp, #8
	mov	x1, x20
	bl	_nth_midxed_object_oid
	cbz	x0, LBB0_6
; %bb.5:
	add	x0, sp, #8
	mov	x1, x19
	bl	_extend_abbrev_len
LBB0_6:
	ldr	w2, [sp, #12]
LBB0_7:
	subs	w2, w2, #1
	b.lt	LBB0_10
; %bb.8:
	add	x0, sp, #8
	mov	x1, x20
	bl	_nth_midxed_object_oid
	cbz	x0, LBB0_10
; %bb.9:
	add	x0, sp, #8
	mov	x1, x19
	bl	_extend_abbrev_len
LBB0_10:
	ldr	x8, [x19]
	str	x8, [x19, #8]
LBB0_11:
	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
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_find_abbrev_len_for_midx
.subsections_via_symbols
