	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hash_chars
_hash_chars:                            ## @hash_chars
	.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	(%rsi), %r13
	movl	8(%rsi), %r14d
	callq	_diff_filespec_is_binary
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_INITIAL_HASH_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	$1, %r15d
	movl	%r12d, %ecx
	shll	%cl, %r15d
	movl	$4, %edi
	movl	%r15d, %esi
	callq	_st_mult
	movl	$12, %edi
	movl	%eax, %esi
	callq	_st_add
	movl	%eax, %edi
	callq	_xmalloc
	movq	%rax, %rbx
	movl	%r12d, (%rax)
	movl	%r12d, %edi
	callq	_INITIAL_FREE
	movl	%eax, 8(%rbx)
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	4(%rbx), %edi
	shll	$2, %r15d
	xorl	%r12d, %r12d
	xorl	%esi, %esi
	movl	%r15d, %edx
	callq	_memset
	testq	%r14, %r14
	je	LBB0_1
## %bb.2:
	movq	%r14, %rsi
	leaq	-1(%r14), %r9
	xorl	%r14d, %r14d
	xorl	%edx, %edx
	xorl	%r15d, %r15d
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	imull	$97, %r15d, %edx
	addl	%edx, %eax
	xorl	%r15d, %r15d
	xorl	%edx, %edx
	movq	_HASHBASE@GOTPCREL(%rip), %rdi
	divl	(%rdi)
	movq	%r8, %rdi
	movq	%rsi, %r12
	movl	%edx, %esi
	movl	%ecx, %edx
	movq	%r9, %rbx
	callq	_add_spanhash
	movq	%rbx, %r9
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	%r12, %rsi
	movq	%rax, %r8
	xorl	%edx, %edx
	xorl	%r12d, %r12d
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r14
	cmpl	%r14d, %esi
	je	LBB0_12
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%r13,%r14), %ebx
	testl	%edi, %edi
	jne	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$13, %bl
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	%r14d, %r9d
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$10, 1(%r13,%r14)
	je	LBB0_11
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movzbl	%bl, %ecx
	movl	%edx, %eax
	shldl	$7, %r15d, %eax
	addl	%ecx, %eax
	shldl	$7, %edx, %r15d
	leal	1(%r12), %ecx
	cmpl	$62, %r12d
	jg	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$10, %bl
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %edx
	movl	%ecx, %r12d
	jmp	LBB0_11
LBB0_1:
	movq	-56(%rbp), %r8                  ## 8-byte Reload
LBB0_12:
	movb	(%r8), %cl
	movl	$1, %esi
	shlq	%cl, %rsi
	movl	4(%r8), %edi
	movq	_spanhash_cmp@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r8, %rbx
	callq	_QSORT
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INITIAL_HASH_SIZE,4,2          ## @INITIAL_HASH_SIZE
	.comm	_HASHBASE,4,2                   ## @HASHBASE
	.comm	_spanhash_cmp,4,2               ## @spanhash_cmp
	.no_dead_strip	_hash_chars
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hash_chars
_hash_chars:                            ; @hash_chars
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	x24, [x1]
	ldr	w23, [x1, #8]
	bl	_diff_filespec_is_binary
	mov	x19, x0
Lloh0:
	adrp	x8, _INITIAL_HASH_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INITIAL_HASH_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	mov	w8, #1
	lsl	w22, w8, w21
	mov	w0, #4
	mov	x1, x22
	bl	_st_mult
	mov	x1, x0
	mov	w0, #12
	bl	_st_add
	bl	_xmalloc
	mov	x20, x0
	str	w21, [x0]
	mov	x0, x21
	bl	_INITIAL_FREE
	str	w0, [x20, #8]
	ldr	w0, [x20, #4]
	lsl	w2, w22, #2
	mov	w1, #0
	bl	_memset
	cbz	w23, LBB0_10
; %bb.1:
	mov	w10, #0
	mov	w9, #0
	mov	w8, #0
	add	x21, x24, #1
	mov	w22, #97
Lloh3:
	adrp	x24, _HASHBASE@GOTPAGE
Lloh4:
	ldr	x24, [x24, _HASHBASE@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	madd	w8, w8, w22, w9
	ldr	w9, [x24]
	udiv	w10, w8, w9
	msub	w1, w10, w9, w8
	mov	x0, x20
	bl	_add_spanhash
	mov	x20, x0
	mov	w8, #0
	mov	w9, #0
	mov	w2, #0
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #1
	mov	x10, x2
	cbz	w23, LBB0_10
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x12, x23
	ldurb	w11, [x21, #-1]
	sub	w23, w23, #1
	cbnz	w19, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w11, #13
	ccmp	w12, #1, #4, eq
	b.eq	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w12, [x21]
	cmp	w12, #10
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x2, x10
	b	LBB0_3
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	extr	w12, w9, w8, #25
	extr	w8, w8, w9, #25
	add	w9, w12, w11
	add	w2, w10, #1
	cmp	w10, #62
	b.gt	LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w11, #10
	b.ne	LBB0_3
	b	LBB0_2
LBB0_10:
	ldp	w8, w0, [x20]
	mov	w9, #1
	lsl	x1, x9, x8
Lloh5:
	adrp	x8, _spanhash_cmp@GOTPAGE
Lloh6:
	ldr	x8, [x8, _spanhash_cmp@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	bl	_QSORT
	mov	x0, x20
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_INITIAL_HASH_SIZE,4,2          ; @INITIAL_HASH_SIZE
	.comm	_HASHBASE,4,2                   ; @HASHBASE
	.comm	_spanhash_cmp,4,2               ; @spanhash_cmp
	.no_dead_strip	_hash_chars
.subsections_via_symbols
