	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_bisec_srch2               ## -- Begin function mbfl_bisec_srch2
	.p2align	4, 0x90
_mbfl_bisec_srch2:                      ## @mbfl_bisec_srch2
	.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
	movzwl	(%rsi), %ecx
	xorl	%eax, %eax
	cmpl	%edi, %ecx
	je	LBB0_8
## %bb.1:
	cmpl	$2, %edx
	jl	LBB0_7
## %bb.2:
	xorl	%r8d, %r8d
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %edx
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%edx, %eax
	subl	%r8d, %eax
	cmpl	$1, %eax
	jle	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%rdx,%r8), %eax
	sarl	%eax
	movslq	%eax, %rcx
	movzwl	(%rsi,%rcx,2), %ecx
	cmpl	%edi, %ecx
	jg	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %r8d
	jl	LBB0_6
LBB0_8:
	popq	%rbp
	retq
LBB0_7:
	movl	$-1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mbfl_bisec_srch2               ; -- Begin function mbfl_bisec_srch2
	.p2align	2
_mbfl_bisec_srch2:                      ; @mbfl_bisec_srch2
	.cfi_startproc
; %bb.0:
	ldrh	w8, [x1]
	cmp	w8, w0
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	ret
LBB0_2:
	cmp	w2, #2
	b.lt	LBB0_9
; %bb.3:
	mov	w9, #0
	b	LBB0_6
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	x2, x8
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	sub	w8, w2, w9
	cmp	w8, #1
	b.le	LBB0_9
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	w8, w2, w9
	asr	w8, w8, #1
	ldrh	w10, [x1, w8, sxtw #1]
	cmp	w10, w0
	b.gt	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x9, x8
	b.lt	LBB0_5
; %bb.8:
	mov	x0, x8
	ret
LBB0_9:
	mov	w8, #-1
	mov	x0, x8
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
