	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_mms_read_header             ## -- Begin function ff_mms_read_header
	.p2align	4, 0x90
_ff_mms_read_header:                    ## @ff_mms_read_header
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	(%rdi), %esi
	subl	4(%rdi), %esi
	movl	%edx, %edi
	callq	_FFMIN
	movl	%eax, %r14d
	movslq	4(%rbx), %rsi
	addq	8(%rbx), %rsi
	movq	%r15, %rdi
	movl	%eax, %edx
	callq	_memcpy
	movl	4(%rbx), %eax
	cmpl	(%rbx), %eax
	jne	LBB0_2
## %bb.1:
	leaq	8(%rbx), %rdi
	callq	_av_freep
	movl	4(%rbx), %eax
LBB0_2:
	addl	%r14d, %eax
	movl	%eax, 4(%rbx)
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	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	_ff_mms_read_header             ; -- Begin function ff_mms_read_header
	.p2align	2
_ff_mms_read_header:                    ; @ff_mms_read_header
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x22, x1
	mov	x19, x0
	ldp	w8, w9, [x0]
	sub	w1, w8, w9
	mov	x0, x2
	bl	_FFMIN
	mov	x20, x0
	mov	x21, x19
	ldr	x8, [x21, #8]!
	ldrsw	x9, [x19, #4]
	add	x1, x8, x9
	mov	x0, x22
	mov	x2, x20
	bl	_memcpy
	ldp	w9, w8, [x19]
	cmp	w8, w9
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_av_freep
	ldr	w8, [x19, #4]
LBB0_2:
	add	w8, w8, w20
	str	w8, [x19, #4]
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
