	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function mov_read_mfra
LCPI0_0:
	.long	0x42cc0000                      ## float 102
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_mov_read_mfra:                         ## @mov_read_mfra
	.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	%rsi, %r12
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_avio_size
	movl	%eax, %r13d
	movq	%r12, %rdi
	callq	_avio_tell
	movl	%eax, %r15d
	leal	-4(%r13), %esi
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_avio_seek
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movq	%r12, %rdi
	callq	_avio_rb32
	testl	%eax, %eax
	js	LBB0_4
## %bb.3:
	movl	%eax, %r15d
	cmpl	%r13d, %eax
	jg	LBB0_4
## %bb.5:
	movl	%r15d, %esi
	negl	%esi
	movq	_SEEK_CUR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_avio_seek
	testl	%eax, %eax
	js	LBB0_6
## %bb.8:
	movq	%r12, %rdi
	callq	_avio_rb32
	cmpl	%r15d, %eax
	movq	_SEEK_SET@GOTPCREL(%rip), %r13
	jne	LBB0_9
## %bb.10:
	movq	%r12, %rdi
	callq	_avio_rb32
	movl	%eax, %ebx
	movss	LCPI0_0(%rip), %xmm0            ## xmm0 = mem[0],zero,zero,zero
	movl	$109, %edi
	movl	$114, %esi
	movl	$97, %edx
	callq	_MKBETAG
	movl	(%r14), %edi
	cmpl	%eax, %ebx
	jne	LBB0_11
## %bb.13:
	movq	_AV_LOG_VERBOSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	callq	_av_log
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_read_tfra
	testl	%eax, %eax
	js	LBB0_15
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=1
	testl	%eax, %eax
	je	LBB0_14
	jmp	LBB0_17
LBB0_1:
	movl	%eax, %ebx
	movq	_SEEK_SET@GOTPCREL(%rip), %r13
	jmp	LBB0_17
LBB0_4:
	movl	(%r14), %edi
	movq	_AV_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_av_log
	movl	$-1, %ebx
	jmp	LBB0_7
LBB0_6:
	movl	%eax, %ebx
LBB0_7:
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	movq	_SEEK_SET@GOTPCREL(%rip), %r13
	jmp	LBB0_17
LBB0_9:
	movl	(%r14), %edi
	movq	_AV_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_12
LBB0_11:
	movq	_AV_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
LBB0_12:
	callq	_av_log
	movl	$-1, %ebx
	movl	-44(%rbp), %r15d                ## 4-byte Reload
LBB0_17:
	movl	(%r13), %edx
	movq	%r12, %rdi
	movl	%r15d, %esi
	callq	_avio_seek
	testl	%eax, %eax
	jns	LBB0_19
## %bb.18:
	movl	%eax, %r15d
	movl	(%r14), %edi
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.4(%rip), %rdx
	callq	_av_log
	movl	%r15d, %ebx
LBB0_19:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movl	%eax, %ebx
	jmp	LBB0_17
	.cfi_endproc
                                        ## -- End function
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.comm	_AV_LOG_DEBUG,4,2               ## @AV_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"doesn't look like mfra (unreasonable size)\n"

	.comm	_SEEK_CUR,4,2                   ## @SEEK_CUR
L_.str.1:                               ## @.str.1
	.asciz	"doesn't look like mfra (size mismatch)\n"

L_.str.2:                               ## @.str.2
	.asciz	"doesn't look like mfra (tag mismatch)\n"

	.comm	_AV_LOG_VERBOSE,4,2             ## @AV_LOG_VERBOSE
L_.str.3:                               ## @.str.3
	.asciz	"stream has mfra\n"

	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
L_.str.4:                               ## @.str.4
	.asciz	"failed to seek back after looking for mfra\n"

	.no_dead_strip	_mov_read_mfra
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mov_read_mfra
_mov_read_mfra:                         ; @mov_read_mfra
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_avio_size
	mov	x23, x0
	mov	x0, x20
	bl	_avio_tell
	mov	x21, x0
	sub	w1, w23, #4
Lloh0:
	adrp	x25, _SEEK_SET@GOTPAGE
Lloh1:
	ldr	x25, [x25, _SEEK_SET@GOTPAGEOFF]
	ldr	w2, [x25]
	mov	x0, x20
	bl	_avio_seek
	tbnz	w0, #31, LBB0_9
; %bb.1:
	mov	x0, x20
	bl	_avio_rb32
	tbnz	w0, #31, LBB0_10
; %bb.2:
	mov	x24, x0
	cmp	w0, w23
	b.gt	LBB0_10
; %bb.3:
	neg	w1, w24
Lloh2:
	adrp	x8, _SEEK_CUR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SEEK_CUR@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_avio_seek
	tbnz	w0, #31, LBB0_9
; %bb.4:
	mov	x0, x20
	bl	_avio_rb32
	cmp	w0, w24
	b.ne	LBB0_11
; %bb.5:
	mov	x0, x20
	bl	_avio_rb32
	mov	x22, x0
	mov	w8, #1120665600
	fmov	s0, w8
	mov	w0, #109
	mov	w1, #114
	mov	w2, #97
	bl	_MKBETAG
	mov	x8, x0
	ldr	w0, [x19]
	cmp	w22, w8
	b.ne	LBB0_12
; %bb.6:
Lloh5:
	adrp	x8, _AV_LOG_VERBOSE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AV_LOG_VERBOSE@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x2, l_.str.3@PAGE
Lloh9:
	add	x2, x2, l_.str.3@PAGEOFF
	bl	_av_log
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_read_tfra
	tbnz	w0, #31, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	w22, #0
	cbz	w0, LBB0_7
	b	LBB0_14
LBB0_9:
	mov	x22, x0
	b	LBB0_14
LBB0_10:
	ldr	w0, [x19]
Lloh10:
	adrp	x8, _AV_LOG_DEBUG@GOTPAGE
Lloh11:
	ldr	x8, [x8, _AV_LOG_DEBUG@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x2, l_.str@PAGE
Lloh14:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_13
LBB0_11:
	ldr	w0, [x19]
Lloh15:
	adrp	x8, _AV_LOG_DEBUG@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AV_LOG_DEBUG@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
Lloh18:
	adrp	x2, l_.str.1@PAGE
Lloh19:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_13
LBB0_12:
Lloh20:
	adrp	x8, _AV_LOG_DEBUG@GOTPAGE
Lloh21:
	ldr	x8, [x8, _AV_LOG_DEBUG@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
Lloh23:
	adrp	x2, l_.str.2@PAGE
Lloh24:
	add	x2, x2, l_.str.2@PAGEOFF
LBB0_13:
	bl	_av_log
	mov	w22, #-1
LBB0_14:
	ldr	w2, [x25]
	mov	x0, x20
	mov	x1, x21
	bl	_avio_seek
	tbz	w0, #31, LBB0_16
; %bb.15:
	mov	x20, x0
	ldr	w0, [x19]
Lloh25:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh26:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
Lloh28:
	adrp	x2, l_.str.4@PAGE
Lloh29:
	add	x2, x2, l_.str.4@PAGEOFF
	bl	_av_log
	mov	x22, x20
LBB0_16:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.comm	_AV_LOG_DEBUG,4,2               ; @AV_LOG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"doesn't look like mfra (unreasonable size)\n"

	.comm	_SEEK_CUR,4,2                   ; @SEEK_CUR
l_.str.1:                               ; @.str.1
	.asciz	"doesn't look like mfra (size mismatch)\n"

l_.str.2:                               ; @.str.2
	.asciz	"doesn't look like mfra (tag mismatch)\n"

	.comm	_AV_LOG_VERBOSE,4,2             ; @AV_LOG_VERBOSE
l_.str.3:                               ; @.str.3
	.asciz	"stream has mfra\n"

	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
l_.str.4:                               ; @.str.4
	.asciz	"failed to seek back after looking for mfra\n"

	.no_dead_strip	_mov_read_mfra
.subsections_via_symbols
