	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function w9966_findlen
_w9966_findlen:                         ## @w9966_findlen
	.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 $esi killed $esi def $rsi
	leal	1(%rsi), %ecx
	cmpl	%edx, %ecx
	jge	LBB0_6
## %bb.1:
	movl	%edx, %r8d
	movl	%esi, %r9d
	shll	$6, %r9d
	subl	%esi, %edi
	movl	%edi, %r10d
	negl	%r10d
	cmovsl	%edi, %r10d
	decl	%edi
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%esi, %eax
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%ecx
	decl	%edi
	movl	%eax, %esi
	cmpl	%r8d, %ecx
	jge	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r9d, %eax
	cltd
	idivl	%ecx
	testl	%edx, %edx
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%edi, %edx
	negl	%edx
	cmovsl	%edi, %edx
	movl	%ecx, %eax
	cmpl	%r10d, %edx
	cmovll	%edx, %r10d
	jle	LBB0_5
LBB0_6:
	movl	%esi, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_w9966_findlen
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function w9966_findlen
_w9966_findlen:                         ; @w9966_findlen
	.cfi_startproc
; %bb.0:
	add	w8, w1, #1
	cmp	w8, w2
	b.ge	LBB0_6
; %bb.1:
	lsl	w9, w1, #6
	subs	w11, w0, w1
	cneg	w10, w11, mi
	sub	w11, w11, #1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x1, x8
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w8, w8, #1
	sub	w11, w11, #1
	cmp	w8, w2
	b.ge	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	sdiv	w12, w9, w8
	msub	w12, w12, w8, w9
	cbnz	w12, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w11, #0
	cneg	w12, w11, mi
	cmp	w12, w10
	csel	w10, w12, w10, lt
	b.le	LBB0_2
LBB0_6:
	mov	x0, x1
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_w9966_findlen
.subsections_via_symbols
