	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function compare_sl
_compare_sl:                            ## @compare_sl
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r14d
	movq	%r8, %r15
	movq	%rcx, %r13
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movl	(%rsi), %eax
	leal	(%rax,%rax,2), %edx
	movq	%r12, %rdi
	movq	%rcx, %rsi
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	$1, 4(%rbx)
	movl	(%rbx), %eax
	leal	(%rax,%rax,2), %edx
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_memcpy
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	incl	(%rax)
LBB0_2:
	movl	(%rbx), %eax
	leal	(%rax,%rax,2), %edx
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	cmpl	$0, 8(%rbx)
	je	LBB0_5
## %bb.4:
	movl	12(%rbx), %eax
	jmp	LBB0_6
LBB0_5:
	movl	%r14d, 12(%rbx)
	movl	%r14d, %eax
LBB0_6:
	subl	%eax, %r14d
	incl	%r14d
	movl	%r14d, 8(%rbx)
LBB0_7:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_compare_sl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function compare_sl
_compare_sl:                            ; @compare_sl
	.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
	mov	x19, x5
	mov	x21, x4
	mov	x24, x3
	mov	x22, x2
	mov	x20, x1
	mov	x23, x0
	ldr	w8, [x1]
	add	w2, w8, w8, lsl #1
	mov	x0, x22
	mov	x1, x3
	bl	_memcmp
	cbz	x0, LBB0_2
; %bb.1:
	mov	w8, #1
	str	w8, [x20, #4]
	ldr	w8, [x20]
	add	w2, w8, w8, lsl #1
	mov	x0, x24
	mov	x1, x22
	bl	_memcpy
	ldr	w8, [x23]
	add	w8, w8, #1
	str	w8, [x23]
LBB0_2:
	ldr	w8, [x20]
	add	w2, w8, w8, lsl #1
	mov	x0, x22
	mov	x1, x21
	bl	_memcmp
	cbz	x0, LBB0_7
; %bb.3:
	ldr	w8, [x20, #8]
	cbz	w8, LBB0_5
; %bb.4:
	ldr	w8, [x20, #12]
	b	LBB0_6
LBB0_5:
	str	w19, [x20, #12]
	mov	x8, x19
LBB0_6:
	sub	w8, w19, w8
	add	w8, w8, #1
	str	w8, [x20, #8]
LBB0_7:
	mov	w0, #0
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_compare_sl
.subsections_via_symbols
