	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bisearch
_bisearch:                              ## @bisearch
	.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 $edx killed $edx def $rdx
	xorl	%eax, %eax
	cmpq	%rdi, (%rsi)
	jg	LBB0_11
## %bb.1:
	movslq	%edx, %rcx
	shlq	$4, %rcx
	cmpq	%rdi, 8(%rsi,%rcx)
	jl	LBB0_11
## %bb.2:
	testl	%edx, %edx
	js	LBB0_11
## %bb.3:
	xorl	%r8d, %r8d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_4 Depth=1
	incl	%ecx
	movl	%ecx, %r8d
	cmpl	%r8d, %edx
	jl	LBB0_10
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%r8,%rdx), %eax
	movl	%eax, %ecx
	shrl	$31, %ecx
	addl	%eax, %ecx
	sarl	%ecx
	movslq	%ecx, %rax
	shlq	$4, %rax
	cmpq	%rdi, 8(%rsi,%rax)
	jl	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%rdi, (%rsi,%rax)
	jle	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	decl	%ecx
	movl	%ecx, %edx
	cmpl	%r8d, %edx
	jge	LBB0_4
LBB0_10:
	xorl	%eax, %eax
LBB0_11:
	popq	%rbp
	retq
LBB0_7:
	movl	$1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_bisearch
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bisearch
_bisearch:                              ; @bisearch
	.cfi_startproc
; %bb.0:
	ldr	x8, [x1]
	cmp	x8, x0
	b.le	LBB0_3
LBB0_1:
	mov	w8, #0
LBB0_2:
	mov	x0, x8
	ret
LBB0_3:
	mov	w8, #0
	add	x9, x1, w2, sxtw #4
	ldr	x9, [x9, #8]
	cmp	x9, x0
	b.lt	LBB0_2
; %bb.4:
	tbnz	w2, #31, LBB0_2
; %bb.5:
	mov	w8, #0
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	w8, w9, #1
	cmp	w2, w8
	b.lt	LBB0_1
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	add	w9, w8, w2
	cmp	w9, #0
	cinc	w9, w9, lt
	asr	w10, w9, #1
	sbfx	x9, x9, #1, #31
	add	x10, x1, w10, sxtw #4
	ldr	x10, [x10, #8]
	cmp	x10, x0
	b.lt	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	lsl	x10, x9, #4
	ldr	x10, [x1, x10]
	cmp	x10, x0
	b.le	LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	sub	w2, w9, #1
	cmp	w2, w8
	b.ge	LBB0_7
	b	LBB0_1
LBB0_10:
	mov	w0, #1
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_bisearch
.subsections_via_symbols
