	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hb_dvdread_seek
_hb_dvdread_seek:                       ## @hb_dvdread_seek
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	4(%rdi), %r15d
	movl	8(%rdi), %ecx
	cmpl	%r15d, %ecx
	jl	LBB0_6
## %bb.1:
	movslq	%r15d, %rsi
	mulss	(%r14), %xmm0
	cvttss2si	%xmm0, %r12d
	movq	32(%r14), %rax
	movq	(%rax), %rdx
	leal	1(%rcx), %r8d
	negl	%r15d
	leaq	4(,%rsi,8), %rbx
	movl	%ecx, %esi
	notl	%esi
	movl	%r12d, %edi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	-4(%rdx,%rbx), %eax
	subl	(%rdx,%rbx), %eax
	incl	%eax
	subl	%eax, %edi
	jl	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	decl	%r15d
	addq	$8, %rbx
	movl	%edi, %r12d
	cmpl	%r15d, %esi
	jne	LBB0_2
## %bb.5:
	movl	%r8d, %r15d
	jmp	LBB0_6
LBB0_3:
	negl	%r15d
	movl	%r15d, 12(%r14)
	movq	$0, 40(%r14)
	movq	%r14, %rdi
	callq	_FindNextCell
	movq	32(%r14), %rax
	movq	(%rax), %rax
	addl	(%rax,%rbx), %r12d
	movl	%r12d, 16(%r14)
	movq	$0, 24(%r14)
	movl	8(%r14), %ecx
LBB0_6:
	xorl	%eax, %eax
	cmpl	%ecx, %r15d
	jg	LBB0_8
## %bb.7:
	movl	$2, 20(%r14)
	movl	$1, %eax
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_hb_dvdread_seek
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hb_dvdread_seek
_hb_dvdread_seek:                       ; @hb_dvdread_seek
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	ldp	w20, w8, [x0, #4]
	cmp	w8, w20
	b.lt	LBB0_5
; %bb.1:
	ldr	s1, [x19]
	fmul	s0, s1, s0
	fcvtzs	w22, s0
	sxtw	x11, w20
	ldr	x9, [x19, #32]
	ldr	x10, [x9]
	add	w9, w8, #1
	mov	w21, #4
	bfi	x21, x11, #3, #61
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x11, x10, x21
	ldp	w12, w11, [x11, #-4]
	sub	w11, w12, w11
	add	w11, w11, #1
	subs	w11, w22, w11
	b.lt	LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	w20, w20, #1
	add	x21, x21, #8
	mov	x22, x11
	cmp	w9, w20
	b.ne	LBB0_2
; %bb.4:
	mov	x20, x9
LBB0_5:
	cmp	w20, w8
	b.le	LBB0_8
LBB0_6:
	mov	w0, #0
	b	LBB0_9
LBB0_7:
	str	w20, [x19, #12]
	str	xzr, [x19, #40]
	mov	x0, x19
	bl	_FindNextCell
	ldr	x8, [x19, #32]
	ldr	x8, [x8]
	ldr	w8, [x8, x21]
	add	w8, w8, w22
	str	w8, [x19, #16]
	str	xzr, [x19, #24]
	ldr	w8, [x19, #8]
	cmp	w20, w8
	b.gt	LBB0_6
LBB0_8:
	mov	w8, #2
	str	w8, [x19, #20]
	mov	w0, #1
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_hb_dvdread_seek
.subsections_via_symbols
