	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function largesearch
_largesearch:                           ## @largesearch
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rax
	movl	(%rax), %r9d
	xorl	%eax, %eax
	testl	%r9d, %r9d
	jle	LBB0_8
## %bb.1:
	movq	(%rdi), %r8
	decl	%r9d
	xorl	%r10d, %r10d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	decl	%edx
	movl	%edx, %r9d
	cmpl	%r9d, %r10d
	jg	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%r10,%r9), %ecx
	movl	%ecx, %edx
	shrl	$31, %edx
	addl	%ecx, %edx
	sarl	%edx
	movslq	%edx, %rcx
	movl	(%r8,%rcx,4), %edi
	cmpl	%esi, %edi
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	jge	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	%edx
	movl	%edx, %r10d
	cmpl	%r9d, %r10d
	jle	LBB0_2
LBB0_8:
	popq	%rbp
	retq
LBB0_3:
	leaq	(%r8,%rcx,4), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_largesearch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function largesearch
_largesearch:                           ; @largesearch
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #8]
	ldr	w8, [x8]
	subs	w8, w8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	w9, #0
	ldr	x10, [x0]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	w11, w9, w8
	cmp	w11, #0
	cinc	w11, w11, lt
	asr	w11, w11, #1
	add	x0, x10, w11, sxtw #2
	ldr	w12, [x0]
	cmp	w12, w1
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	sub	w13, w11, #1
	cmp	w12, w1
	csel	w8, w8, w13, lt
	csinc	w9, w9, w11, ge
	cmp	w9, w8
	b.le	LBB0_2
LBB0_4:
	mov	x0, #0
LBB0_5:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_largesearch
.subsections_via_symbols
