	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sb_prepare                     ## -- Begin function sb_prepare
	.p2align	4, 0x90
_sb_prepare:                            ## @sb_prepare
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%ecx, %ebx
	movq	%rdi, %r14
	movq	%rdx, (%rdi)
	movl	%ecx, 8(%rdi)
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	movl	%ecx, %edx
	callq	_prepare_stats
	movl	%eax, 12(%r14)
	leal	-1(%rbx), %ecx
	cmpl	%ecx, %eax
	jne	LBB0_2
## %bb.1:
	movq	(%r14), %rcx
	movslq	%eax, %rdx
	cmpb	$0, (%rcx,%rdx)
	jne	LBB0_4
LBB0_2:
	cmpl	%ebx, %eax
	jge	LBB0_4
## %bb.3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_sb_truncate                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sb_prepare                     ; -- Begin function sb_prepare
	.p2align	2
_sb_prepare:                            ; @sb_prepare
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x3
	mov	x19, x0
	str	x2, [x0]
	str	w3, [x0, #8]
	mov	x0, x1
	mov	x1, x2
	mov	x2, x3
	bl	_prepare_stats
	str	w0, [x19, #12]
	sub	w8, w20, #1
	cmp	w0, w8
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x19]
	ldrb	w8, [x8, w0, sxtw]
	cmp	w8, #0
	ccmp	w0, w20, #0, eq
	b.ge	LBB0_4
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	cmp	w0, w20
	b.lt	LBB0_2
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_sb_truncate
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
