	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_parse_ratio                 ## -- Begin function av_parse_ratio
	.p2align	4, 0x90
_av_parse_ratio:                        ## @av_parse_ratio
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r13
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	%edx, %r15d
	movq	%rsi, %r12
	movq	%rdi, %rbx
	leaq	4(%rdi), %r14
	leaq	L_.str(%rip), %rsi
	leaq	-41(%rbp), %r8
	movq	%r12, %rdi
	movq	%r14, %rdx
	movq	%rbx, %rcx
	callq	_sscanf
	cmpl	$2, %eax
	jne	LBB0_1
## %bb.3:
	movl	(%rbx), %ecx
	movl	4(%rbx), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%r15d, %r8d
	callq	_av_reduce
	xorl	%r15d, %r15d
	jmp	LBB0_5
LBB0_1:
	movl	%r15d, %r14d
	movq	%r13, 32(%rsp)
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 24(%rsp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rsp)
	movq	$0, 16(%rsp)
	xorl	%r15d, %r15d
	leaq	-56(%rbp), %rdi
	movq	%r12, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_av_expr_parse_and_eval
	testl	%eax, %eax
	js	LBB0_4
## %bb.2:
	movsd	-56(%rbp), %xmm0                ## xmm0 = mem[0],zero
	movl	%r14d, %edi
	callq	_av_d2q
	movq	%rax, (%rbx)
	jmp	LBB0_5
LBB0_4:
	movl	%eax, %r15d
LBB0_5:
	movl	%r15d, %eax
	addq	$56, %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	"%d:%d%c"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_av_parse_ratio                 ; -- Begin function av_parse_ratio
	.p2align	2
_av_parse_ratio:                        ; @av_parse_ratio
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x23, x4
	mov	x22, x3
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	add	x24, x0, #4
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x4, sp, #47
	mov	x0, x21
	mov	x2, x24
	mov	x3, x20
	bl	_sscanf
	cmp	w0, #2
	b.ne	LBB0_2
; %bb.1:
	ldp	w3, w2, [x20]
	mov	x0, x24
	mov	x1, x20
	mov	x4, x19
	bl	_av_reduce
	mov	w0, #0
	b	LBB0_4
LBB0_2:
	str	x23, [sp, #16]
	str	w22, [sp, #8]
	add	x0, sp, #32
	str	xzr, [sp]
	mov	x1, x21
	mov	x2, #0
	mov	x3, #0
	mov	x4, #0
	mov	x5, #0
	mov	x6, #0
	mov	x7, #0
	bl	_av_expr_parse_and_eval
	tbnz	w0, #31, LBB0_4
; %bb.3:
	ldr	d0, [sp, #32]
	mov	x0, x19
	bl	_av_d2q
	mov	x8, x0
	mov	w0, #0
	str	x8, [x20]
LBB0_4:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d:%d%c"

.subsections_via_symbols
