	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function binary_search
_binary_search:                         ## @binary_search
	.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 $ecx killed $ecx def $rcx
	movl	%edx, %eax
	cmpl	%ecx, %edx
	jl	LBB0_1
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%r9d, %ecx
	cmpl	%ecx, %eax
	jge	LBB0_5
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%rcx,%rax), %r8d
	movl	%r8d, %r9d
	shrl	$31, %r9d
	addl	%r8d, %r9d
	sarl	%r9d
	movslq	%r9d, %rdx
	cmpl	%esi, (%rdi,%rdx,4)
	jae	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	incl	%r9d
	movl	%r9d, %eax
	cmpl	%ecx, %eax
	jl	LBB0_1
LBB0_5:
	cmpl	%eax, %ecx
	jne	LBB0_7
## %bb.6:
	movslq	%eax, %rcx
	cmpl	%esi, (%rdi,%rcx,4)
	je	LBB0_8
LBB0_7:
	movl	$-1, %eax
LBB0_8:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_binary_search
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function binary_search
_binary_search:                         ; @binary_search
	.cfi_startproc
; %bb.0:
	cmp	w2, w3
	b.ge	LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	w8, w3, w2
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w8, w8, #1
	ldr	w9, [x0, w8, sxtw #2]
	cmp	w9, w1
	csel	w3, w3, w8, lo
	csinc	w2, w2, w8, hs
	cmp	w2, w3
	b.lt	LBB0_1
LBB0_2:
	cmp	w3, w2
	b.ne	LBB0_4
; %bb.3:
	ldr	w8, [x0, w2, sxtw #2]
	cmp	w8, w1
	b.eq	LBB0_5
LBB0_4:
	mov	w2, #-1
LBB0_5:
	mov	x0, x2
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_binary_search
.subsections_via_symbols
