	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ov_time_seek_page              ## -- Begin function ov_time_seek_page
	.p2align	4, 0x90
_ov_time_seek_page:                     ## @ov_time_seek_page
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movq	_OPENED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_2
LBB0_1:
	movq	_OV_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	%rdi, %r12
	cmpl	$0, 32(%rdi)
	je	LBB0_3
## %bb.5:
	testq	%rsi, %rsi
	js	LBB0_1
## %bb.6:
	movl	8(%r12), %ecx
	testl	%ecx, %ecx
	jle	LBB0_7
## %bb.8:
	movl	$8, %r14d
	xorl	%r13d, %r13d
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_ov_time_total
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	addq	%r15, %rax
	cmpq	%rsi, %rax
	jg	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	16(%r12), %rcx
	addq	(%rcx,%r14), %rbx
	incq	%r13
	movslq	8(%r12), %rcx
	addq	$16, %r14
	movq	%rax, %r15
	cmpq	%rcx, %r13
	jl	LBB0_9
## %bb.12:
	movq	%rax, %r15
	cmpl	%ecx, %r13d
	je	LBB0_1
	jmp	LBB0_14
LBB0_3:
	movq	_OV_ENOSEEK@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	xorl	%r13d, %r13d
	cmpl	%ecx, %r13d
	je	LBB0_1
	jmp	LBB0_14
LBB0_10:
	movl	8(%r12), %ecx
	cmpl	%ecx, %r13d
	je	LBB0_1
LBB0_14:
	subq	%r15, %rsi
	movq	24(%r12), %rax
	movl	%r13d, %ecx
	imulq	(%rax,%rcx,8), %rsi
	movabsq	$2361183241434822607, %rcx      ## imm = 0x20C49BA5E353F7CF
	movq	%rsi, %rax
	imulq	%rcx
	movq	%rdx, %rsi
	shrq	$63, %rsi
	sarq	$7, %rdx
	addq	%rdx, %rsi
	addq	%rbx, %rsi
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ov_pcm_seek_page               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_OPENED,8,3                     ## @OPENED
	.comm	_OV_EINVAL,4,2                  ## @OV_EINVAL
	.comm	_OV_ENOSEEK,4,2                 ## @OV_ENOSEEK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ov_time_seek_page              ; -- Begin function ov_time_seek_page
	.p2align	2
_ov_time_seek_page:                     ; @ov_time_seek_page
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _OPENED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _OPENED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_2
LBB0_1:
Lloh3:
	adrp	x8, _OV_EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OV_EINVAL@GOTPAGEOFF]
	b	LBB0_10
LBB0_2:
	mov	x19, x0
	ldr	w8, [x0, #32]
	cbz	w8, LBB0_9
; %bb.3:
	mov	x20, x1
	tbnz	x1, #63, LBB0_1
; %bb.4:
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_11
; %bb.5:
	mov	x21, #0
	mov	x23, #0
	mov	x22, #0
	mov	w24, #8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_ov_time_total
	add	x9, x0, x23
	cmp	x9, x20
	b.gt	LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19, #16]
	ldr	x8, [x8, x24]
	add	x22, x8, x22
	add	x21, x21, #1
	ldrsw	x8, [x19, #8]
	add	x24, x24, #16
	mov	x23, x9
	cmp	x21, x8
	b.lt	LBB0_6
; %bb.8:
	mov	x23, x9
	cmp	w21, w8
	b.eq	LBB0_1
	b	LBB0_13
LBB0_9:
Lloh5:
	adrp	x8, _OV_ENOSEEK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _OV_ENOSEEK@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_11:
	mov	x22, #0
	mov	x23, #0
	mov	w21, #0
	cmp	w21, w8
	b.eq	LBB0_1
	b	LBB0_13
LBB0_12:
	ldr	w8, [x19, #8]
	cmp	w21, w8
	b.eq	LBB0_1
LBB0_13:
	sub	x8, x20, x23
	ldr	x9, [x19, #24]
	ldr	x9, [x9, w21, uxtw #3]
	mul	x8, x9, x8
	mov	x9, #63439
	movk	x9, #58195, lsl #16
	movk	x9, #39845, lsl #32
	movk	x9, #8388, lsl #48
	smulh	x8, x8, x9
	asr	x9, x8, #7
	add	x8, x9, x8, lsr #63
	add	x1, x8, x22
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ov_pcm_seek_page
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_OPENED,8,3                     ; @OPENED
	.comm	_OV_EINVAL,4,2                  ; @OV_EINVAL
	.comm	_OV_ENOSEEK,4,2                 ; @OV_ENOSEEK
.subsections_via_symbols
