	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mpl2_decode_frame
_mpl2_decode_frame:                     ## @mpl2_decode_frame
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	(%rcx), %rbx
	movq	(%rdi), %r13
	movq	_AV_BPRINT_SIZE_UNLIMITED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	callq	_av_bprint_init
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.1:
	cmpq	$0, 8(%r12)
	jle	LBB0_4
## %bb.2:
	cmpb	$0, (%rbx)
	je	LBB0_4
## %bb.3:
	leaq	-48(%rbp), %rdi
	movq	%rbx, %rsi
	callq	_mpl2_event_to_ass
	testl	%eax, %eax
	je	LBB0_5
LBB0_4:
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	callq	_av_bprint_finalize
LBB0_6:
	xorl	%eax, %eax
	cmpq	$0, (%r15)
	setg	%al
	movl	%eax, (%r14)
	movl	8(%r12), %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	-48(%rbp), %esi
	movl	(%r13), %edx
	leal	1(%rdx), %eax
	movl	%eax, (%r13)
	movq	%r15, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_ff_ass_add_rect
	movl	%eax, %ebx
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	callq	_av_bprint_finalize
	testl	%ebx, %ebx
	jns	LBB0_6
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_BPRINT_SIZE_UNLIMITED,4,2   ## @AV_BPRINT_SIZE_UNLIMITED
	.no_dead_strip	_mpl2_decode_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mpl2_decode_frame
_mpl2_decode_frame:                     ; @mpl2_decode_frame
	.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	x21, x1
	ldr	x22, [x3]
	ldr	x23, [x0]
Lloh0:
	adrp	x8, _AV_BPRINT_SIZE_UNLIMITED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_BPRINT_SIZE_UNLIMITED@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x0, sp, #8
	mov	w1, #0
	bl	_av_bprint_init
	cbz	x22, LBB0_4
; %bb.1:
	ldr	x8, [x19, #8]
	cmp	x8, #1
	b.lt	LBB0_4
; %bb.2:
	ldrb	w8, [x22]
	cbz	w8, LBB0_4
; %bb.3:
	add	x0, sp, #8
	mov	x1, x22
	bl	_mpl2_event_to_ass
	cbz	w0, LBB0_7
LBB0_4:
	add	x0, sp, #8
	mov	x1, #0
	bl	_av_bprint_finalize
LBB0_5:
	ldr	x8, [x21]
	cmp	x8, #0
	cset	w8, gt
	str	w8, [x20]
	ldr	w22, [x19, #8]
LBB0_6:
	mov	x0, x22
	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_7:
	ldr	w1, [sp, #8]
	ldr	w2, [x23]
	add	w8, w2, #1
	str	w8, [x23]
	mov	x0, x21
	mov	w3, #0
	mov	x4, #0
	mov	x5, #0
	bl	_ff_ass_add_rect
	mov	x22, x0
	add	x0, sp, #8
	mov	x1, #0
	bl	_av_bprint_finalize
	tbz	w22, #31, LBB0_5
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_BPRINT_SIZE_UNLIMITED,4,2   ; @AV_BPRINT_SIZE_UNLIMITED
	.no_dead_strip	_mpl2_decode_frame
.subsections_via_symbols
