	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function avformat_transfer_internal_stream_timing_info
LCPI0_0:
	.quad	0x3f60624dd2f1a9fc              ## double 0.002
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_avformat_transfer_internal_stream_timing_info
	.p2align	4, 0x90
_avformat_transfer_internal_stream_timing_info: ## @avformat_transfer_internal_stream_timing_info
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	16(%rdx), %rax
	movq	32(%rdx), %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	32(%rsi), %r12
	leaq	16(%r12), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, 16(%r12)
	movl	4(%rdi), %edi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_1
## %bb.6:
	movq	_AVFMT_VARIABLE_FPS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r14)
	jne	LBB0_14
## %bb.7:
	movl	4(%r14), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_av_match_name
	testl	%eax, %eax
	jne	LBB0_14
## %bb.8:
	movq	_AVFMT_TBCF_AUTO@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_12
## %bb.9:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, 20(%rax)
	je	LBB0_12
## %bb.10:
	movl	%ebx, %r14d
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	16(%rbx), %rdi
	callq	_av_q2d
	cvtsi2sdl	(%rbx), %xmm1
	movl	%r14d, %ebx
	mulsd	%xmm0, %xmm1
	movsd	%xmm1, -56(%rbp)                ## 8-byte Spill
	movq	16(%r13), %rdi
	callq	_av_q2d
	movsd	-56(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	ucomisd	%xmm0, %xmm1
	jbe	LBB0_12
## %bb.11:
	movq	16(%r13), %rdi
	callq	_av_q2d
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	ucomisd	%xmm0, %xmm1
	ja	LBB0_13
LBB0_12:
	movq	_AVFMT_TBCF_DECODER@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_14
LBB0_13:
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	16(%rdx), %rax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	imull	(%rdx), %eax
	movl	%eax, (%rcx)
	jmp	LBB0_14
LBB0_1:
	movq	_AVFMT_TBCF_AUTO@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_4
## %bb.2:
	movl	%ebx, %r14d
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	16(%rbx), %rdi
	callq	_av_q2d
	cvtsi2sdl	(%rbx), %xmm1
	movl	%r14d, %ebx
	mulsd	%xmm0, %xmm1
	movsd	%xmm1, -56(%rbp)                ## 8-byte Spill
	movq	16(%r13), %rdi
	callq	_av_q2d
	addsd	%xmm0, %xmm0
	movsd	-56(%rbp), %xmm1                ## 8-byte Reload
                                        ## xmm1 = mem[0],zero
	ucomisd	%xmm0, %xmm1
	jbe	LBB0_4
## %bb.3:
	movq	16(%r13), %rdi
	callq	_av_q2d
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	ucomisd	%xmm0, %xmm1
	ja	LBB0_5
LBB0_4:
	movq	_AVFMT_TBCF_DECODER@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_14
LBB0_5:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	16(%rcx), %rax
	movq	%rax, 16(%r12)
	movl	(%rcx), %ecx
	imull	%eax, %ecx
	movl	%ecx, 16(%r12)
	shrq	$31, %rax
	andl	$-2, %eax
	movl	%eax, 20(%r12)
	movl	$2, (%r12)
LBB0_14:
	movq	8(%r12), %rbx
	leaq	L_.str.2(%rip), %rdi
	callq	_AV_RL32
	cmpq	%rax, %rbx
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_16
## %bb.15:
	movq	8(%r15), %rax
	movq	(%rax), %r14
	leaq	L_.str.2(%rip), %rdi
	callq	_AV_RL32
	cmpq	%rax, %r14
	jne	LBB0_20
LBB0_16:
	movslq	16(%rbx), %rax
	testq	%rax, %rax
	jle	LBB0_20
## %bb.17:
	movl	20(%rbx), %ecx
	cmpl	%ecx, %eax
	jge	LBB0_20
## %bb.18:
	imulq	$121, %rax, %rax
	movslq	%ecx, %rcx
	cmpq	%rcx, %rax
	jle	LBB0_20
## %bb.19:
	movq	16(%rbx), %rax
	movq	%rax, (%r13)
LBB0_20:
	cmpl	$0, (%r15)
	je	LBB0_21
## %bb.22:
	movq	(%r15), %rdi
	callq	_av_inv_q
	movq	%rax, (%r13)
	movq	%rax, %rcx
	shrq	$32, %rcx
	jmp	LBB0_23
LBB0_21:
	movl	16(%r12), %eax
	movl	20(%r12), %ecx
LBB0_23:
	addq	$20, %r12
	movslq	%eax, %rdx
	movslq	%ecx, %rcx
	movq	_INT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_av_reduce
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"avi"

	.comm	_AVFMT_TBCF_AUTO,4,2            ## @AVFMT_TBCF_AUTO
	.comm	_AVFMT_TBCF_DECODER,4,2         ## @AVFMT_TBCF_DECODER
	.comm	_AVFMT_VARIABLE_FPS,4,2         ## @AVFMT_VARIABLE_FPS
L_.str.1:                               ## @.str.1
	.asciz	"mov,mp4,3gp,3g2,psp,ipod,ismv,f4v"

L_.str.2:                               ## @.str.2
	.asciz	"tmcd"

	.comm	_INT_MAX,4,2                    ## @INT_MAX
	.comm	_AVFMT_TBCF_R_FRAMERATE,4,2     ## @AVFMT_TBCF_R_FRAMERATE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_avformat_transfer_internal_stream_timing_info ; -- Begin function avformat_transfer_internal_stream_timing_info
	.p2align	2
_avformat_transfer_internal_stream_timing_info: ; @avformat_transfer_internal_stream_timing_info
	.cfi_startproc
; %bb.0:
	stp	d9, d8, [sp, #-96]!             ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset b8, -88
	.cfi_offset b9, -96
	mov	x21, x3
	mov	x22, x2
	mov	x20, x1
	mov	x23, x0
	ldr	x25, [x2, #32]
	ldr	x24, [x1, #32]
	ldr	x8, [x2, #16]
	mov	x19, x24
	str	x8, [x19, #16]!
	ldr	w0, [x0, #4]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_9
; %bb.1:
	ldr	w8, [x23]
Lloh2:
	adrp	x9, _AVFMT_VARIABLE_FPS@GOTPAGE
Lloh3:
	ldr	x9, [x9, _AVFMT_VARIABLE_FPS@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_14
; %bb.2:
	ldr	w0, [x23, #4]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_av_match_name
	cbnz	w0, LBB0_14
; %bb.3:
Lloh7:
	adrp	x8, _AVFMT_TBCF_AUTO@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AVFMT_TBCF_AUTO@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_7
; %bb.4:
	ldr	w8, [x25, #20]
	cbz	w8, LBB0_7
; %bb.5:
	ldr	x0, [x25, #16]
	bl	_av_q2d
	ldr	s1, [x25]
	sshll.2d	v1, v1, #0
	scvtf	d1, d1
	fmul	d8, d0, d1
	ldr	x0, [x22, #16]
	bl	_av_q2d
	fcmp	d8, d0
	b.le	LBB0_7
; %bb.6:
	ldr	x0, [x22, #16]
	bl	_av_q2d
	mov	x8, #43516
	movk	x8, #54001, lsl #16
	movk	x8, #25165, lsl #32
	movk	x8, #16224, lsl #48
	fmov	d1, x8
	fcmp	d0, d1
	b.mi	LBB0_8
LBB0_7:
Lloh10:
	adrp	x8, _AVFMT_TBCF_DECODER@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AVFMT_TBCF_DECODER@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_14
LBB0_8:
	ldr	x8, [x25, #16]
	str	x8, [x19]
	ldr	w9, [x25]
	mul	w8, w9, w8
	str	w8, [x19]
	b	LBB0_14
LBB0_9:
Lloh13:
	adrp	x8, _AVFMT_TBCF_AUTO@GOTPAGE
Lloh14:
	ldr	x8, [x8, _AVFMT_TBCF_AUTO@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_12
; %bb.10:
	ldr	x0, [x25, #16]
	bl	_av_q2d
	ldr	s1, [x25]
	sshll.2d	v1, v1, #0
	scvtf	d1, d1
	fmul	d8, d0, d1
	ldr	x0, [x22, #16]
	bl	_av_q2d
	fadd	d0, d0, d0
	fcmp	d8, d0
	b.le	LBB0_12
; %bb.11:
	ldr	x0, [x22, #16]
	bl	_av_q2d
Lloh16:
	adrp	x8, _AVFMT_TBCF_DECODER@GOTPAGE
Lloh17:
	ldr	x8, [x8, _AVFMT_TBCF_DECODER@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	mov	x9, #43516
	movk	x9, #54001, lsl #16
	movk	x9, #25165, lsl #32
	movk	x9, #16224, lsl #48
	fmov	d1, x9
	fcmp	d0, d1
	ccmp	w8, w21, #4, pl
	b.eq	LBB0_13
	b	LBB0_14
LBB0_12:
Lloh19:
	adrp	x8, _AVFMT_TBCF_DECODER@GOTPAGE
Lloh20:
	ldr	x8, [x8, _AVFMT_TBCF_DECODER@GOTPAGEOFF]
Lloh21:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_14
LBB0_13:
	ldr	x8, [x25, #16]
	str	x8, [x24, #16]
	ldr	w9, [x25]
	mul	w9, w9, w8
	lsr	x8, x8, #31
	and	w8, w8, #0xfffffffe
	stp	w9, w8, [x24, #16]
	mov	w8, #2
	str	w8, [x24]
LBB0_14:
	ldr	x21, [x24, #8]
Lloh22:
	adrp	x0, l_.str.2@PAGE
Lloh23:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_AV_RL32
	cmp	x21, x0
	b.eq	LBB0_16
; %bb.15:
	ldr	x8, [x20, #8]
	ldr	x21, [x8]
Lloh24:
	adrp	x0, l_.str.2@PAGE
Lloh25:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_AV_RL32
	cmp	x21, x0
	b.ne	LBB0_18
LBB0_16:
	ldp	w8, w9, [x25, #16]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
	mov	w10, #121
	mul	x10, x8, x10
	sxtw	x11, w9
	cmp	w8, #1
	ccmp	w8, w9, #0, ge
	ccmp	x10, x11, #4, lt
	b.le	LBB0_18
; %bb.17:
	ldr	x8, [x25, #16]
	str	x8, [x19]
LBB0_18:
	ldr	w8, [x20]
	cbz	w8, LBB0_20
; %bb.19:
	ldr	x0, [x20]
	bl	_av_inv_q
	str	x0, [x19]
	lsr	x8, x0, #32
	b	LBB0_21
LBB0_20:
	ldp	w0, w8, [x24, #16]
LBB0_21:
	add	x1, x24, #20
                                        ; kill: def $w0 killed $w0 killed $x0 def $x0
	sxtw	x2, w0
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	sxtw	x3, w8
Lloh26:
	adrp	x8, _INT_MAX@GOTPAGE
Lloh27:
	ldr	x8, [x8, _INT_MAX@GOTPAGEOFF]
Lloh28:
	ldr	w4, [x8]
	mov	x0, x19
	bl	_av_reduce
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp], #96               ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"avi"

	.comm	_AVFMT_TBCF_AUTO,4,2            ; @AVFMT_TBCF_AUTO
	.comm	_AVFMT_TBCF_DECODER,4,2         ; @AVFMT_TBCF_DECODER
	.comm	_AVFMT_VARIABLE_FPS,4,2         ; @AVFMT_VARIABLE_FPS
l_.str.1:                               ; @.str.1
	.asciz	"mov,mp4,3gp,3g2,psp,ipod,ismv,f4v"

l_.str.2:                               ; @.str.2
	.asciz	"tmcd"

	.comm	_INT_MAX,4,2                    ; @INT_MAX
	.comm	_AVFMT_TBCF_R_FRAMERATE,4,2     ; @AVFMT_TBCF_R_FRAMERATE
.subsections_via_symbols
