	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function compute_collisions
_compute_collisions:                    ## @compute_collisions
	.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	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_collision_init
	cmpl	$0, (%r12)
	jle	LBB0_11
## %bb.1:
	xorl	%r14d, %r14d
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edi
	movl	$16, %esi
	callq	_xcalloc
	movq	%rax, %rbx
	addq	$12, %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	callq	_strhash
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %esi
	callq	_hashmap_entry_init
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_hashmap_put
	movq	%r13, (%rbx)
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	addq	$8, %rbx
	movq	8(%r15), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_string_list_insert
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r14
	movslq	(%r12), %rax
	cmpq	%rax, %r14
	jge	LBB0_11
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rax
	movq	(%rax,%r14,8), %r15
	movzbl	(%r15), %eax
	cmpb	$82, %al
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$65, %al
	jne	LBB0_10
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r15), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_check_dir_renamed
	testq	%rax, %rax
	je	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r15), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_apply_dir_rename
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %r13
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rsi
	callq	_collision_find_entry
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_free
	jmp	LBB0_9
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_compute_collisions
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function compute_collisions
_compute_collisions:                    ; @compute_collisions
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	bl	_collision_init
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.1:
	mov	x25, #0
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #1
	mov	w1, #16
	bl	_xcalloc
	mov	x23, x0
	add	x24, x0, #12
	mov	x0, x22
	bl	_strhash
	mov	x1, x0
	mov	x0, x24
	bl	_hashmap_entry_init
	mov	x0, x21
	mov	x1, x24
	bl	_hashmap_put
	str	x22, [x23]
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x0, x23, #8
	ldr	x8, [x26, #8]
	ldr	w1, [x8]
	bl	_string_list_insert
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x25, x25, #1
	ldrsw	x8, [x19]
	cmp	x25, x8
	b.ge	LBB0_11
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	x26, [x8, x25, lsl #3]
	ldrb	w8, [x26]
	cmp	w8, #82
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w8, #65
	b.ne	LBB0_4
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x26, #8]
	ldr	w0, [x8]
	mov	x1, x20
	bl	_check_dir_renamed
	cbz	x0, LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x26, #8]
	ldr	w1, [x8]
	bl	_apply_dir_rename
	cbz	x0, LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x22, x0
	mov	x0, x21
	mov	x1, x22
	bl	_collision_find_entry
	cbz	x0, LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x23, x0
	mov	x0, x22
	bl	_free
	b	LBB0_3
LBB0_11:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_compute_collisions
.subsections_via_symbols
