	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_spdist                         ## -- Begin function spdist
	.p2align	4, 0x90
_spdist:                                ## @spdist
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_TRIM@GOTPCREL(%rip), %rax
	movb	(%rax), %sil
	movb	(%rdi), %bl
	movl	%esi, %ecx
	andb	%bl, %cl
	movb	(%r14), %al
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, %edx
	andb	%sil, %dl
	cmpb	%dl, %cl
	jne	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	testb	%al, %al
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movzbl	1(%r15), %ebx
	incq	%r15
	movl	%esi, %ecx
	andb	%bl, %cl
	movzbl	1(%r14), %eax
	incq	%r14
	jmp	LBB0_1
LBB0_5:
	testb	%bl, %bl
	je	LBB0_15
## %bb.6:
	testb	%al, %al
	je	LBB0_13
## %bb.7:
	movb	1(%r15), %al
	testb	%al, %al
	je	LBB0_12
## %bb.8:
	movb	1(%r14), %bl
	testb	%bl, %bl
	je	LBB0_12
## %bb.9:
	andb	%sil, %bl
	cmpb	%bl, %cl
	jne	LBB0_12
## %bb.10:
	andb	%sil, %al
	cmpb	%al, %dl
	jne	LBB0_12
## %bb.11:
	leaq	2(%r15), %rdi
	leaq	2(%r14), %rsi
	callq	_EQ
	movq	%rax, %rcx
	movl	$1, %eax
	testq	%rcx, %rcx
	jne	LBB0_18
LBB0_12:
	leaq	1(%r15), %rdi
	leaq	1(%r14), %rsi
	callq	_EQ
	movq	%rax, %rcx
	movl	$3, %eax
	testq	%rcx, %rcx
	jne	LBB0_18
LBB0_13:
	leaq	1(%r15), %rdi
	movq	%r14, %rsi
	callq	_EQ
	movq	%rax, %rcx
	movl	$2, %eax
	testq	%rcx, %rcx
	jne	LBB0_18
## %bb.14:
	movb	(%r14), %al
LBB0_15:
	testb	%al, %al
	je	LBB0_17
## %bb.16:
	incq	%r14
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_EQ
	movq	%rax, %rcx
	movl	$1, %eax
	testq	%rcx, %rcx
	jne	LBB0_18
LBB0_17:
	movl	$4, %eax
	jmp	LBB0_18
LBB0_3:
	xorl	%eax, %eax
LBB0_18:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRIM,1,0                       ## @TRIM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_spdist                         ; -- Begin function spdist
	.p2align	2
_spdist:                                ; @spdist
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _TRIM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRIM@GOTPAGEOFF]
	ldrb	w8, [x8]
	ldrb	w12, [x0]
	and	w10, w8, w12
	ldrb	w9, [x1]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	and	w11, w9, w8
	cmp	w10, w11
	b.ne	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	cbz	w9, LBB0_14
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	ldrb	w9, [x20, #1]!
	ldrb	w12, [x19, #1]!
	and	w10, w8, w12
	b	LBB0_1
LBB0_4:
	cbz	w12, LBB0_16
; %bb.5:
	cbz	w9, LBB0_12
; %bb.6:
	mov	x21, x19
	ldrb	w9, [x21, #1]!
	cbz	w9, LBB0_10
; %bb.7:
	ldrb	w12, [x20, #1]
	cbz	w12, LBB0_10
; %bb.8:
	and	w12, w12, w8
	and	w8, w9, w8
	cmp	w10, w12
	ccmp	w11, w8, #0, eq
	b.ne	LBB0_10
; %bb.9:
	add	x0, x19, #2
	add	x1, x20, #2
	bl	_EQ
	cbnz	x0, LBB0_18
LBB0_10:
	add	x1, x20, #1
	mov	x0, x21
	bl	_EQ
	cbz	x0, LBB0_12
; %bb.11:
	mov	w0, #3
	b	LBB0_20
LBB0_12:
	add	x0, x19, #1
	mov	x1, x20
	bl	_EQ
	cbz	x0, LBB0_15
; %bb.13:
	mov	w0, #2
	b	LBB0_20
LBB0_14:
	mov	w0, #0
	b	LBB0_20
LBB0_15:
	ldrb	w9, [x20]
LBB0_16:
	cbz	w9, LBB0_19
; %bb.17:
	add	x1, x20, #1
	mov	x0, x19
	bl	_EQ
	cbz	x0, LBB0_19
LBB0_18:
	mov	w0, #1
	b	LBB0_20
LBB0_19:
	mov	w0, #4
LBB0_20:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_TRIM,1,0                       ; @TRIM
.subsections_via_symbols
