	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function duration_to_bytepos
_duration_to_bytepos:                   ## @duration_to_bytepos
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	imull	(%rdi), %esi
	movslq	%esi, %rax
	imulq	$1801439851, %rax, %rbx         ## imm = 0x6B5FCA6B
	movq	%rbx, %rax
	shrq	$63, %rax
	sarq	$54, %rbx
	addl	%eax, %ebx
	movl	%ebx, %eax
	cltd
	idivl	4(%rdi)
	subl	%edx, %ebx
	movl	8(%rdi), %edi
	callq	_BYTES_FROM_MEDIATIME
	addl	%eax, %ebx
	movl	%ebx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_MEDIATIME_FROM_BYTES           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_duration_to_bytepos
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function duration_to_bytepos
_duration_to_bytepos:                   ; @duration_to_bytepos
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldp	w8, w19, [x0]
	mul	w8, w8, w1
	mov	w9, #51819
	movk	w9, #27487, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	asr	x8, x8, #54
	add	w8, w8, w9
	sdiv	w20, w8, w19
	ldr	w0, [x0, #8]
	bl	_BYTES_FROM_MEDIATIME
	madd	w0, w20, w19, w0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_MEDIATIME_FROM_BYTES
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_duration_to_bytepos
.subsections_via_symbols
