	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ## -- Begin function av_guess_frame_rate
LCPI0_0:
	.quad	0x4051800000000000              ## double 70
LCPI0_1:
	.quad	0x406a400000000000              ## double 210
LCPI0_2:
	.quad	0x3fe6666666666666              ## double 0.69999999999999996
LCPI0_3:
	.quad	0x3ff0000000000000              ## double 1
LCPI0_5:
	.quad	0x3fb999999999999a              ## double 0.10000000000000001
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
LCPI0_4:
	.quad	0x7fffffffffffffff              ## double NaN
	.quad	0x7fffffffffffffff              ## double NaN
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_av_guess_frame_rate
	.p2align	4, 0x90
_av_guess_frame_rate:                   ## @av_guess_frame_rate
	.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
	movq	%rsi, %r15
	movq	24(%rsi), %r13
	movq	32(%rsi), %rbx
	movq	(%rsi), %rax
	movq	8(%rsi), %r12
	movq	(%rax), %rax
	movq	8(%rax), %rcx
	movq	16(%rax), %rdx
	movq	16(%rsi), %r14
	testq	%r12, %r12
	jle	LBB0_8
## %bb.1:
	testq	%r14, %r14
	jle	LBB0_8
## %bb.2:
	testq	%r13, %r13
	jle	LBB0_8
## %bb.3:
	testq	%rbx, %rbx
	jle	LBB0_8
## %bb.4:
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_av_q2d
	movsd	LCPI0_0(%rip), %xmm1            ## xmm1 = mem[0],zero
	ucomisd	%xmm0, %xmm1
	jbe	LBB0_5
## %bb.6:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_av_q2d
	ucomisd	LCPI0_1(%rip), %xmm0
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	jbe	LBB0_8
## %bb.7:
	movq	%r12, %r13
	movq	%r14, %rbx
	jmp	LBB0_8
LBB0_5:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
LBB0_8:
	movq	(%r15), %rax
	movq	(%rax), %rax
	cmpl	$2, (%rax)
	jl	LBB0_15
## %bb.9:
	testq	%rcx, %rcx
	jle	LBB0_15
## %bb.10:
	testq	%rdx, %rdx
	jle	LBB0_15
## %bb.11:
	testq	%r13, %r13
	je	LBB0_14
## %bb.12:
	movq	%rcx, %rdi
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r15
	movq	%rdx, %rsi
	callq	_av_q2d
	movsd	%xmm0, -48(%rbp)                ## 8-byte Spill
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_av_q2d
	mulsd	LCPI0_2(%rip), %xmm0
	ucomisd	-48(%rbp), %xmm0                ## 8-byte Folded Reload
	jbe	LBB0_15
## %bb.13:
	movq	%r12, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	movq	%rbx, %rcx
	callq	_av_div_q
	movq	%rax, %rdi
	movq	%rdx, %rsi
	callq	_av_q2d
	movsd	LCPI0_3(%rip), %xmm1            ## xmm1 = mem[0],zero
	subsd	%xmm0, %xmm1
	andpd	LCPI0_4(%rip), %xmm1
	ucomisd	LCPI0_5(%rip), %xmm1
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%r15, %rdx
	jbe	LBB0_15
LBB0_14:
	movq	%rcx, %r13
	movq	%rdx, %rbx
LBB0_15:
	movq	%r13, %rax
	movq	%rbx, %rdx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_guess_frame_rate            ; -- Begin function av_guess_frame_rate
	.p2align	2
_av_guess_frame_rate:                   ; @av_guess_frame_rate
	.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	x25, x1
	ldp	x20, x19, [x1, #24]
	ldp	x8, x23, [x1]
	ldr	x8, [x8]
	ldp	x22, x21, [x8, #8]
	ldr	x24, [x1, #16]
	cmp	x23, #1
	ccmp	x24, #1, #8, ge
	ccmp	x20, #1, #8, ge
	ccmp	x19, #1, #8, ge
	b.lt	LBB0_3
; %bb.1:
	mov	x0, x23
	mov	x1, x24
	bl	_av_q2d
	mov	x8, #140737488355328
	movk	x8, #16465, lsl #48
	fmov	d1, x8
	fcmp	d0, d1
	b.pl	LBB0_3
; %bb.2:
	mov	x0, x20
	mov	x1, x19
	bl	_av_q2d
	mov	x8, #70368744177664
	movk	x8, #16490, lsl #48
	fmov	d1, x8
	fcmp	d0, d1
	csel	x20, x20, x23, le
	csel	x19, x19, x24, le
LBB0_3:
	ldr	x8, [x25]
	ldr	x8, [x8]
	ldr	w8, [x8]
	cmp	w8, #2
	ccmp	x22, #1, #8, ge
	ccmp	x21, #1, #8, ge
	b.ge	LBB0_5
LBB0_4:
	mov	x0, x20
	mov	x1, x19
	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
LBB0_5:
	cbz	x20, LBB0_8
; %bb.6:
	mov	x0, x22
	mov	x1, x21
	bl	_av_q2d
	fmov	d8, d0
	mov	x0, x20
	mov	x1, x19
	bl	_av_q2d
	mov	x8, #7378697629483820646
	movk	x8, #16358, lsl #48
	fmov	d1, x8
	fmul	d0, d0, d1
	fcmp	d8, d0
	b.pl	LBB0_4
; %bb.7:
	mov	x0, x23
	mov	x1, x24
	mov	x2, x20
	mov	x3, x19
	bl	_av_div_q
	bl	_av_q2d
	fmov	d1, #1.00000000
	fabd	d0, d1, d0
	mov	x8, #-7378697629483820647
	movk	x8, #39322
	movk	x8, #16313, lsl #48
	fmov	d1, x8
	fcmp	d0, d1
	b.le	LBB0_4
LBB0_8:
	mov	x20, x22
	mov	x19, x21
	b	LBB0_4
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
