	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function search_frag_moof_offset
_search_frag_moof_offset:               ## @search_frag_moof_offset
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movslq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	8(%rdi), %r8
	cmpq	%rsi, -8(%r8,%rax,8)
	jl	LBB0_5
## %bb.2:
	testl	%eax, %eax
	jle	LBB0_5
## %bb.3:
	movl	$-1, %edx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	leal	(%rdx,%rax), %edi
	sarl	%edi
	movslq	%edi, %rdi
	cmpq	%rsi, (%r8,%rdi,8)
	cmovgel	%edi, %eax
	cmovgl	%edx, %edi
	movl	%eax, %ecx
	subl	%edi, %ecx
	movl	%edi, %edx
	cmpl	$1, %ecx
	jg	LBB0_4
LBB0_5:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_6:
	xorl	%eax, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_search_frag_moof_offset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function search_frag_moof_offset
_search_frag_moof_offset:               ; @search_frag_moof_offset
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	ldr	w0, [x0]
	cbz	w0, LBB0_4
; %bb.1:
	ldr	x8, [x8, #8]
	sub	w9, w0, #1
	ldr	x9, [x8, w9, sxtw #3]
	cmp	x9, x1
	ccmp	w0, #1, #8, ge
	b.lt	LBB0_4
; %bb.2:
	mov	w9, #-1
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	add	w10, w9, w0
	asr	w10, w10, #1
	ldr	x11, [x8, w10, sxtw #3]
	cmp	x11, x1
	csel	w0, w0, w10, lt
	csel	w9, w9, w10, gt
	sub	w10, w0, w9
	cmp	w10, #1
	b.gt	LBB0_3
LBB0_4:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_search_frag_moof_offset
.subsections_via_symbols
