	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prepare
_prepare:                               ## @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	%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
	movl	%ecx, %r14d
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, %rdi
	callq	_rewind
	movq	_SIZE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_MIN
	cltq
	imulq	$1374389535, %rax, %rax         ## imm = 0x51EB851F
	movq	%rax, %rcx
	shrq	$63, %rcx
	sarq	$35, %rax
	addl	%ecx, %eax
	cmpl	$101, %eax
	movl	$100, %ecx
	cmovael	%eax, %ecx
	movslq	%ecx, %r12
	leaq	3(%r12), %rdi
	movl	$4, %esi
	callq	_xcalloc
	movq	%rax, %r13
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movl	%r14d, -48(%rbp)                ## 4-byte Spill
	movl	%r14d, %esi
	callq	_readhash
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	%eax, %ebx
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, 4(%r13,%r15,4)
	incq	%r15
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-48(%rbp), %esi                 ## 4-byte Reload
	callq	_readhash
	movl	%eax, %ebx
	addq	$3, %r14
	testl	%eax, %eax
	je	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r12, %r15
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r14, %r12
	shrq	%r12
	leaq	3(%r12), %rsi
	movq	%r13, %rdi
	movl	$4, %edx
	callq	_xreallocarray
	movq	%rax, %r13
	jmp	LBB0_5
LBB0_1:
	xorl	%r15d, %r15d
LBB0_6:
	movq	_len@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	-44(%rbp), %rcx                 ## 4-byte Folded Reload
	movq	%r15, (%rax,%rcx,8)
	movq	_file@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%r13, (%rax,%rcx,8)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SIZE_MAX,4,2                   ## @SIZE_MAX
	.comm	_len,8,3                        ## @len
	.comm	_file,8,3                       ## @file
	.no_dead_strip	_prepare
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prepare
_prepare:                               ; @prepare
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x3
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
	mov	x0, x1
	bl	_rewind
Lloh0:
	adrp	x8, _SIZE_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SIZE_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_MIN
	mov	w8, #34079
	movk	w8, #20971, lsl #16
	smull	x8, w0, w8
	lsr	x9, x8, #63
	asr	x8, x8, #35
	add	w8, w8, w9
	mov	w9, #100
	cmp	w8, #100
	csel	w8, w8, w9, hi
	sxtw	x24, w8
	add	x0, x24, #3
	mov	w1, #4
	bl	_xcalloc
	mov	x22, x0
	mov	x0, x21
	mov	x1, x20
	bl	_readhash
	cbz	w0, LBB0_5
; %bb.1:
	mov	x23, x0
	mov	x25, #0
	mov	x26, #0
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x27, x26, #1
	add	x8, x22, x26, lsl #2
	str	w23, [x8, #4]
	mov	x0, x21
	mov	x1, x20
	bl	_readhash
	mov	x23, x0
	add	x25, x25, #3
	mov	x26, x27
	cbz	w0, LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x26, x24
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	lsr	x24, x25, #1
	add	x1, x24, #3
	mov	x0, x22
	mov	w2, #4
	bl	_xreallocarray
	mov	x22, x0
	b	LBB0_2
LBB0_5:
	mov	x27, #0
LBB0_6:
Lloh3:
	adrp	x8, _len@GOTPAGE
Lloh4:
	ldr	x8, [x8, _len@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	sbfiz	x9, x19, #3, #32
	str	x27, [x8, x9]
Lloh6:
	adrp	x8, _file@GOTPAGE
Lloh7:
	ldr	x8, [x8, _file@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	str	x22, [x8, x9]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SIZE_MAX,4,2                   ; @SIZE_MAX
	.comm	_len,8,3                        ; @len
	.comm	_file,8,3                       ; @file
	.no_dead_strip	_prepare
.subsections_via_symbols
