	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mpegvideo_parse
_mpegvideo_parse:                       ## @mpegvideo_parse
	.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	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	%r8, -56(%rbp)
	movl	%r9d, -44(%rbp)
	movq	_PARSER_FLAG_COMPLETE_FRAMES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_2
## %bb.1:
	movl	%r9d, %r12d
	jmp	LBB0_4
LBB0_2:
	movq	16(%rbx), %r14
	movq	%r14, %rdi
	movq	%r8, %rsi
	movl	%r9d, %edx
	movq	%rbx, %rcx
	callq	_ff_mpeg1_find_frame_end
	movl	%eax, %r12d
	leaq	-56(%rbp), %rdx
	leaq	-44(%rbp), %rcx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_ff_combine_frame
	testq	%rax, %rax
	js	LBB0_6
## %bb.3:
	movq	-56(%rbp), %r8
	movl	-44(%rbp), %r9d
LBB0_4:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r8, %rdx
	movl	%r9d, %ecx
	callq	_mpegvideo_extract_headers
	movl	8(%rbx), %r14d
	movl	(%r13), %edi
	callq	_av_q2d
	movl	4(%rbx), %r8d
	leaq	L_.str(%rip), %rsi
	xorl	%edi, %edi
	movl	%r14d, %edx
	movl	%eax, %ecx
	callq	_ff_dlog
	movq	-56(%rbp), %rax
	movq	%rax, (%r15)
	movl	-44(%rbp), %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
LBB0_5:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	$0, (%r15)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	$0, (%rax)
	movl	-44(%rbp), %r12d
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_PARSER_FLAG_COMPLETE_FRAMES,4,2 ## @PARSER_FLAG_COMPLETE_FRAMES
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pict_type=%d frame_rate=%0.3f repeat_pict=%d\n"

	.no_dead_strip	_mpegvideo_parse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mpegvideo_parse
_mpegvideo_parse:                       ; @mpegvideo_parse
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x3
	mov	x20, x2
	mov	x23, x1
	mov	x22, x0
	str	x4, [sp, #8]
	str	w5, [sp, #4]
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _PARSER_FLAG_COMPLETE_FRAMES@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PARSER_FLAG_COMPLETE_FRAMES@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	x21, x5
	b	LBB0_4
LBB0_2:
	ldr	x24, [x22, #16]
	mov	x0, x24
	mov	x1, x4
	mov	x2, x5
	mov	x3, x22
	bl	_ff_mpeg1_find_frame_end
	mov	x21, x0
	add	x2, sp, #8
	add	x3, sp, #4
	mov	x0, x24
	mov	x1, x21
	bl	_ff_combine_frame
	tbnz	x0, #63, LBB0_6
; %bb.3:
	ldr	x4, [sp, #8]
	ldr	w5, [sp, #4]
LBB0_4:
	mov	x0, x22
	mov	x1, x23
	mov	x2, x4
	mov	x3, x5
	bl	_mpegvideo_extract_headers
	ldr	w24, [x22, #8]
	ldr	w0, [x23]
	bl	_av_q2d
	mov	x3, x0
	ldr	w4, [x22, #4]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, #0
	mov	x2, x24
	bl	_ff_dlog
	ldr	x8, [sp, #8]
	str	x8, [x20]
	ldr	w8, [sp, #4]
	str	w8, [x19]
LBB0_5:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_6:
	str	xzr, [x20]
	str	wzr, [x19]
	ldr	w21, [sp, #4]
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_PARSER_FLAG_COMPLETE_FRAMES,4,2 ; @PARSER_FLAG_COMPLETE_FRAMES
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pict_type=%d frame_rate=%0.3f repeat_pict=%d\n"

	.no_dead_strip	_mpegvideo_parse
.subsections_via_symbols
