	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movsd	%xmm0, -40(%rbp)                ## 8-byte Spill
	movq	(%rdi), %rax
	movq	_OPENED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_1
## %bb.2:
	movq	%rdi, %r14
	cmpl	$0, 32(%rdi)
	je	LBB0_3
## %bb.5:
	xorpd	%xmm2, %xmm2
	ucomisd	-40(%rbp), %xmm2                ## 8-byte Folded Reload
	ja	LBB0_1
## %bb.6:
	movl	8(%r14), %eax
	testl	%eax, %eax
	jle	LBB0_7
## %bb.8:
	xorpd	%xmm1, %xmm1
	movl	$8, %ebx
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movsd	%xmm1, -48(%rbp)                ## 8-byte Spill
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_ov_time_total
	movsd	-48(%rbp), %xmm2                ## 8-byte Reload
                                        ## xmm2 = mem[0],zero
	addsd	%xmm2, %xmm0
	ucomisd	-40(%rbp), %xmm0                ## 8-byte Folded Reload
	ja	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	24(%r14), %rax
	addq	(%rax,%rbx), %r15
	incq	%r12
	movslq	8(%r14), %rax
	addq	$16, %rbx
	movapd	%xmm0, %xmm1
	cmpq	%rax, %r12
	jl	LBB0_9
## %bb.12:
	movapd	%xmm0, %xmm2
	cmpl	%eax, %r12d
	jne	LBB0_14
	jmp	LBB0_1
LBB0_3:
	movq	_OV_ENOSEEK@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_7:
	xorl	%r15d, %r15d
	xorl	%r12d, %r12d
	cmpl	%eax, %r12d
	je	LBB0_1
LBB0_14:
	xorps	%xmm0, %xmm0
	cvtsi2sd	%r15, %xmm0
	movsd	-40(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	subsd	%xmm2, %xmm1
	movq	16(%r14), %rax
	movl	%r12d, %ecx
	mulsd	(%rax,%rcx,8), %xmm1
	addsd	%xmm0, %xmm1
	cvttsd2si	%xmm1, %rsi
	movq	%r14, %rdi
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ov_pcm_seek_page               ## TAILCALL
LBB0_10:
	movl	8(%r14), %eax
	cmpl	%eax, %r12d
	jne	LBB0_14
LBB0_1:
	movq	_OV_EINVAL@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.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	d9, d8, [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 b8, -56
	.cfi_offset b9, -64
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _OPENED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _OPENED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_12
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0, #32]
	cbz	w8, LBB0_8
; %bb.2:
	fmov	d8, d0
	fcmp	d0, #0.0
	b.mi	LBB0_12
; %bb.3:
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.4:
	mov	x20, #0
	mov	x21, #0
	movi	d9, #0000000000000000
	mov	w22, #8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_ov_time_total
	fadd	d0, d9, d0
	fcmp	d0, d8
	b.gt	LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19, #24]
	ldr	x8, [x8, x22]
	add	x21, x8, x21
	add	x20, x20, #1
	ldrsw	x8, [x19, #8]
	add	x22, x22, #16
	fmov	d9, d0
	cmp	x20, x8
	b.lt	LBB0_5
; %bb.7:
	fmov	d9, d0
	cmp	w20, w8
	b.ne	LBB0_10
	b	LBB0_12
LBB0_8:
Lloh3:
	adrp	x8, _OV_ENOSEEK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OV_ENOSEEK@GOTPAGEOFF]
	b	LBB0_13
LBB0_9:
	mov	x21, #0
	mov	w20, #0
	movi	d9, #0000000000000000
	cmp	w20, w8
	b.eq	LBB0_12
LBB0_10:
	scvtf	d0, x21
	ldr	x8, [x19, #16]
	ldr	d1, [x8, w20, uxtw #3]
	fsub	d2, d8, d9
	fmadd	d0, d2, d1, d0
	fcvtzs	x1, d0
	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	d9, d8, [sp], #64               ; 16-byte Folded Reload
	b	_ov_pcm_seek_page
LBB0_11:
	ldr	w8, [x19, #8]
	cmp	w20, w8
	b.ne	LBB0_10
LBB0_12:
Lloh5:
	adrp	x8, _OV_EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _OV_EINVAL@GOTPAGEOFF]
LBB0_13:
	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	d9, d8, [sp], #64               ; 16-byte Folded Reload
	ret
	.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
