	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function dvdtime2msec
LCPI0_0:
	.long	30                              ## 0x1e
	.long	30                              ## 0x1e
	.space	4
	.space	4
LCPI0_1:
	.short	5                               ## 0x5
	.short	0                               ## 0x0
	.short	5                               ## 0x5
	.short	0                               ## 0x0
	.space	2
	.space	2
	.space	2
	.space	2
LCPI0_2:
	.long	15                              ## 0xf
	.long	15                              ## 0xf
	.space	4
	.space	4
LCPI0_3:
	.long	60000                           ## 0xea60
	.long	1000                            ## 0x3e8
	.space	4
	.space	4
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
LCPI0_4:
	.quad	0x408f400000000000              ## double 1000
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_dvdtime2msec:                          ## @dvdtime2msec
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %ecx
	movl	4(%rdi), %eax
	movq	%rax, %rdx
	shrq	$3, %rdx
	andl	$30, %edx
	leaq	(%rdx,%rdx,4), %rdx
	andl	$15, %eax
	addq	%rdx, %rax
	movq	8(%rdi), %xmm0                  ## xmm0 = mem[0],zero
	movdqa	%xmm0, %xmm1
	psrld	$3, %xmm1
	pand	LCPI0_0(%rip), %xmm1
	pmaddwd	LCPI0_1(%rip), %xmm1
	imulq	$3600000, %rax, %rax            ## imm = 0x36EE80
	pand	LCPI0_2(%rip), %xmm0
	paddd	%xmm1, %xmm0
	pmulld	LCPI0_3(%rip), %xmm0
	movd	%xmm0, %edx
	addq	%rax, %rdx
	pextrd	$1, %xmm0, %eax
	addq	%rdx, %rax
	testb	$64, %cl
	je	LBB0_2
## %bb.1:
	movq	%rcx, %rdx
	shrq	$3, %rdx
	andl	$24, %edx
	leaq	l___const.dvdtime2msec.frames_per_s(%rip), %rsi
	movl	%ecx, %edi
	shrl	$3, %edi
	andl	$6, %edi
	leal	(%rdi,%rdi,4), %edi
	andl	$15, %ecx
	addl	%edi, %ecx
	xorps	%xmm0, %xmm0
	cvtsi2sd	%ecx, %xmm0
	mulsd	LCPI0_4(%rip), %xmm0
	divsd	(%rdx,%rsi), %xmm0
	movl	%eax, %eax
	xorps	%xmm1, %xmm1
	cvtsi2sd	%rax, %xmm1
	addsd	%xmm0, %xmm1
	cvttsd2si	%xmm1, %rax
LBB0_2:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @__const.dvdtime2msec.frames_per_s
l___const.dvdtime2msec.frames_per_s:
	.quad	0xbff0000000000000              ## double -1
	.quad	0x4039000000000000              ## double 25
	.quad	0xbff0000000000000              ## double -1
	.quad	0x403df851eb851eb8              ## double 29.969999999999999

	.no_dead_strip	_dvdtime2msec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function dvdtime2msec
lCPI0_0:
	.long	60000                           ; 0xea60
	.long	1000                            ; 0x3e8
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_dvdtime2msec:                          ; @dvdtime2msec
	.cfi_startproc
; %bb.0:
	ldp	w8, w9, [x0]
	lsr	x10, x9, #3
	and	x10, x10, #0x1e
	add	x10, x10, x10, lsl #2
	and	x9, x9, #0xf
	add	x9, x10, x9
	mov	w10, #61056
	movk	w10, #54, lsl #16
	ldr	d0, [x0, #8]
	ushr.2s	v1, v0, #3
	movi.2s	v2, #30
	and.8b	v1, v1, v2
	movi.2s	v2, #5
	movi.2s	v3, #15
	and.8b	v0, v0, v3
	mla.2s	v0, v1, v2
Lloh0:
	adrp	x11, lCPI0_0@PAGE
Lloh1:
	ldr	d1, [x11, lCPI0_0@PAGEOFF]
	mul.2s	v0, v0, v1
	mov.s	w11, v0[1]
	fmov	w12, s0
	madd	x9, x9, x10, x12
	add	x0, x9, x11
	tbz	w8, #6, LBB0_2
; %bb.1:
	ubfx	x9, x8, #6, #2
Lloh2:
	adrp	x10, l___const.dvdtime2msec.frames_per_s@PAGE
Lloh3:
	add	x10, x10, l___const.dvdtime2msec.frames_per_s@PAGEOFF
	ldr	d0, [x10, x9, lsl #3]
	ubfx	x9, x8, #3, #29
	and	w9, w9, #0x6
	lsr	w10, w9, #1
	bfi	w9, w10, #3, #2
	and	w8, w8, #0xf
	add	w8, w9, w8
	scvtf	d1, w8
	mov	x8, #70368744177664
	movk	x8, #16527, lsl #48
	fmov	d2, x8
	fmul	d1, d1, d2
	fdiv	d0, d1, d0
	ucvtf	d1, w0
	fadd	d0, d0, d1
	fcvtzs	x0, d0
LBB0_2:
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
	.loh AdrpLdr	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	3                               ; @__const.dvdtime2msec.frames_per_s
l___const.dvdtime2msec.frames_per_s:
	.quad	0xbff0000000000000              ; double -1
	.quad	0x4039000000000000              ; double 25
	.quad	0xbff0000000000000              ; double -1
	.quad	0x403df851eb851eb8              ; double 29.969999999999999

	.no_dead_strip	_dvdtime2msec
.subsections_via_symbols
