	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function countdiffs
_countdiffs:                            ## @countdiffs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $ecx killed $ecx def $rcx
                                        ## kill: def $edx killed $edx def $rdx
	leal	(%rcx,%rdx), %r10d
	movl	$-1, %eax
	cmpl	%edx, %r10d
	jbe	LBB0_6
## %bb.1:
	movl	%edx, %edx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdi,%rdx), %eax
	cmpb	(%rsi,%rdx), %al
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rdx
	decl	%ecx
	jne	LBB0_2
## %bb.4:
	movl	$-1, %eax
	popq	%rbp
	retq
LBB0_5:
	movl	%edx, %eax
LBB0_6:
	cmpl	%r10d, %edx
	jae	LBB0_26
## %bb.7:
	movl	%edx, %ecx
	movl	%r10d, %r10d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_25:                                ##   in Loop: Header=BB0_8 Depth=1
	incq	%rcx
	cmpq	%rcx, %r10
	je	LBB0_26
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdi,%rcx), %edx
	cmpb	(%rsi,%rcx), %dl
	je	LBB0_25
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	incl	(%r8)
	movzbl	(%rsi,%rcx), %edx
	xorb	(%rdi,%rcx), %dl
	testb	$1, %dl
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	incl	(%r9)
	movzbl	(%rsi,%rcx), %edx
	xorb	(%rdi,%rcx), %dl
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	movzbl	%dl, %edx
	testb	$2, %dl
	jne	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_8 Depth=1
	testb	$4, %dl
	jne	LBB0_14
LBB0_15:                                ##   in Loop: Header=BB0_8 Depth=1
	testb	$8, %dl
	jne	LBB0_16
LBB0_17:                                ##   in Loop: Header=BB0_8 Depth=1
	testb	$16, %dl
	jne	LBB0_18
LBB0_19:                                ##   in Loop: Header=BB0_8 Depth=1
	testb	$32, %dl
	jne	LBB0_20
LBB0_21:                                ##   in Loop: Header=BB0_8 Depth=1
	testb	$64, %dl
	jne	LBB0_22
LBB0_23:                                ##   in Loop: Header=BB0_8 Depth=1
	testb	$-128, %dl
	je	LBB0_25
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_8 Depth=1
	incl	(%r9)
	movzbl	(%rsi,%rcx), %edx
	xorb	(%rdi,%rcx), %dl
	movzbl	%dl, %edx
	testb	$4, %dl
	je	LBB0_15
LBB0_14:                                ##   in Loop: Header=BB0_8 Depth=1
	incl	(%r9)
	movzbl	(%rsi,%rcx), %edx
	xorb	(%rdi,%rcx), %dl
	movzbl	%dl, %edx
	testb	$8, %dl
	je	LBB0_17
LBB0_16:                                ##   in Loop: Header=BB0_8 Depth=1
	incl	(%r9)
	movzbl	(%rsi,%rcx), %edx
	xorb	(%rdi,%rcx), %dl
	movzbl	%dl, %edx
	testb	$16, %dl
	je	LBB0_19
LBB0_18:                                ##   in Loop: Header=BB0_8 Depth=1
	incl	(%r9)
	movzbl	(%rsi,%rcx), %edx
	xorb	(%rdi,%rcx), %dl
	movzbl	%dl, %edx
	testb	$32, %dl
	je	LBB0_21
LBB0_20:                                ##   in Loop: Header=BB0_8 Depth=1
	incl	(%r9)
	movzbl	(%rsi,%rcx), %edx
	xorb	(%rdi,%rcx), %dl
	movzbl	%dl, %edx
	testb	$64, %dl
	je	LBB0_23
LBB0_22:                                ##   in Loop: Header=BB0_8 Depth=1
	incl	(%r9)
	movzbl	(%rsi,%rcx), %edx
	xorb	(%rdi,%rcx), %dl
	movzbl	%dl, %edx
	testb	$-128, %dl
	je	LBB0_25
LBB0_24:                                ##   in Loop: Header=BB0_8 Depth=1
	incl	(%r9)
	jmp	LBB0_25
LBB0_26:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_countdiffs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function countdiffs
_countdiffs:                            ; @countdiffs
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w2 killed $w2 def $x2
	mov	x8, x0
	add	w10, w3, w2
	cmp	w10, w2
	b.ls	LBB0_5
; %bb.1:
	mov	w2, w2
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w9, [x8, x2]
	ldrb	w11, [x1, x2]
	cmp	w9, w11
	b.ne	LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x2, x2, #1
	subs	w3, w3, #1
	b.ne	LBB0_2
; %bb.4:
	mov	w0, #-1
	ret
LBB0_5:
	mov	w0, #-1
	cmp	w2, w10
	b.lo	LBB0_7
	b	LBB0_26
LBB0_6:
	mov	x0, x2
	cmp	w2, w10
	b.hs	LBB0_26
LBB0_7:
	mov	w11, w2
	add	x8, x8, x11
	add	x9, x1, x11
	sub	x10, x10, x11
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x8, x8, #1
	add	x9, x9, #1
	subs	x10, x10, #1
	b.eq	LBB0_26
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x8]
	ldrb	w12, [x9]
	cmp	w11, w12
	b.eq	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w11, [x4]
	add	w11, w11, #1
	str	w11, [x4]
	ldrb	w11, [x8]
	ldrb	w12, [x9]
	eor	w11, w12, w11
	tbnz	w11, #0, LBB0_18
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	tbnz	w11, #1, LBB0_19
LBB0_12:                                ;   in Loop: Header=BB0_9 Depth=1
	tbnz	w11, #2, LBB0_20
LBB0_13:                                ;   in Loop: Header=BB0_9 Depth=1
	tbnz	w11, #3, LBB0_21
LBB0_14:                                ;   in Loop: Header=BB0_9 Depth=1
	tbnz	w11, #4, LBB0_22
LBB0_15:                                ;   in Loop: Header=BB0_9 Depth=1
	tbnz	w11, #5, LBB0_23
LBB0_16:                                ;   in Loop: Header=BB0_9 Depth=1
	tbnz	w11, #6, LBB0_24
LBB0_17:                                ;   in Loop: Header=BB0_9 Depth=1
	tbz	w11, #7, LBB0_8
	b	LBB0_25
LBB0_18:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	w11, [x5]
	add	w11, w11, #1
	str	w11, [x5]
	ldrb	w11, [x8]
	ldrb	w12, [x9]
	eor	w11, w12, w11
	tbz	w11, #1, LBB0_12
LBB0_19:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	w11, [x5]
	add	w11, w11, #1
	str	w11, [x5]
	ldrb	w11, [x8]
	ldrb	w12, [x9]
	eor	w11, w12, w11
	tbz	w11, #2, LBB0_13
LBB0_20:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	w11, [x5]
	add	w11, w11, #1
	str	w11, [x5]
	ldrb	w11, [x8]
	ldrb	w12, [x9]
	eor	w11, w12, w11
	tbz	w11, #3, LBB0_14
LBB0_21:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	w11, [x5]
	add	w11, w11, #1
	str	w11, [x5]
	ldrb	w11, [x8]
	ldrb	w12, [x9]
	eor	w11, w12, w11
	tbz	w11, #4, LBB0_15
LBB0_22:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	w11, [x5]
	add	w11, w11, #1
	str	w11, [x5]
	ldrb	w11, [x8]
	ldrb	w12, [x9]
	eor	w11, w12, w11
	tbz	w11, #5, LBB0_16
LBB0_23:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	w11, [x5]
	add	w11, w11, #1
	str	w11, [x5]
	ldrb	w11, [x8]
	ldrb	w12, [x9]
	eor	w11, w12, w11
	tbz	w11, #6, LBB0_17
LBB0_24:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	w11, [x5]
	add	w11, w11, #1
	str	w11, [x5]
	ldrb	w11, [x8]
	ldrb	w12, [x9]
	eor	w11, w12, w11
	tbz	w11, #7, LBB0_8
LBB0_25:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	w11, [x5]
	add	w11, w11, #1
	str	w11, [x5]
	b	LBB0_8
LBB0_26:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_countdiffs
.subsections_via_symbols
