	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gen_hashes                     ## -- Begin function gen_hashes
	.p2align	4, 0x90
_gen_hashes:                            ## @gen_hashes
	.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
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_prepare_watchcat_str
	movq	_prep_lbuf_res@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r14
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	cmpb	$0, (%rax)
	je	LBB0_8
## %bb.2:
	xorl	%ebx, %ebx
	movl	$1, %r8d
	xorl	%edx, %edx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$1, %cl
	sbbl	$-1, %edx
	testq	%rsi, %rsi
	cmoveq	%r8, %rsi
	movq	%rsi, (%r14,%rbx,8)
	incq	%rbx
	movslq	%edx, %rcx
	cmpb	$0, (%rax,%rcx)
	je	LBB0_8
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movslq	%edx, %rdi
	addq	%rax, %rdi
	movl	$3213211, %esi                  ## imm = 0x31079B
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbq	(%rdi), %rcx
	testq	%rcx, %rcx
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	cmpb	$43, %cl
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=2
	imulq	$999983, %rsi, %rsi             ## imm = 0xF422F
	addq	%rcx, %rsi
	incl	%edx
	incq	%rdi
	jmp	LBB0_4
LBB0_8:
	movq	_MAX_NAME_SIZE@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	(%rax), %ebx
	setl	%dil
	callq	_assert
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_dl_qsort_ll
	movq	%r14, %rdi
	movl	%ebx, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_dl_unique_ll                   ## TAILCALL
LBB0_9:
	movq	$0, (%r14)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_prep_lbuf_res,8,3              ## @prep_lbuf_res
	.comm	_MAX_NAME_SIZE,4,2              ## @MAX_NAME_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gen_hashes                     ; -- Begin function gen_hashes
	.p2align	2
_gen_hashes:                            ; @gen_hashes
	.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	w1, #0
	bl	_prepare_watchcat_str
Lloh0:
	adrp	x8, _prep_lbuf_res@GOTPAGE
Lloh1:
	ldr	x8, [x8, _prep_lbuf_res@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
	cbz	x0, LBB0_8
; %bb.1:
	ldrb	w8, [x0]
	cbz	w8, LBB0_9
; %bb.2:
	mov	x20, #0
	mov	w8, #0
	mov	w9, #16943
	movk	w9, #15, lsl #16
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	w13, #0
	cinc	w8, w8, ne
	cmp	x11, #0
	csinc	x11, x11, xzr, ne
	add	x20, x10, #1
	str	x11, [x19, x10, lsl #3]
	ldrb	w10, [x0, w8, sxtw]
	cbz	w10, LBB0_10
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
	mov	x10, x20
	add	x12, x0, w8, sxtw
	mov	w11, #1947
	movk	w11, #49, lsl #16
LBB0_5:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w14, [x12]
	sxtb	x13, w14
	cbz	w14, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=2
	cmp	w14, #43
	b.eq	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=2
	madd	x11, x11, x9, x13
	add	w8, w8, #1
	add	x12, x12, #1
	b	LBB0_5
LBB0_8:
	str	xzr, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_9:
	mov	w20, #0
LBB0_10:
Lloh3:
	adrp	x8, _MAX_NAME_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_NAME_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w20, w8
	cset	w0, lt
	bl	_assert
	mov	x0, x19
	mov	x1, x20
	bl	_dl_qsort_ll
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dl_unique_ll
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_prep_lbuf_res,8,3              ; @prep_lbuf_res
	.comm	_MAX_NAME_SIZE,4,2              ; @MAX_NAME_SIZE
.subsections_via_symbols
