	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mov_add_tfra_entries
_mov_add_tfra_entries:                  ## @mov_add_tfra_entries
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	(%rsi), %eax
	testl	%eax, %eax
	jle	LBB0_12
## %bb.1:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	%edx, %ecx
	imulq	$56, %rcx, %rsi
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%r12,%r13), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	40(%r13,%r12), %rbx
	decl	%r14d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_avio_tell
	leaq	(%r14,%r14,4), %rcx
	movl	%eax, 32(%rbx,%rcx,8)
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%rbx,%rcx,8)
	movq	16(%r13,%r12), %rax
	movq	32(%r13,%r12), %rsi
	addq	8(%r13,%r12), %rax
	movq	(%rsi), %rdi
	leaq	(%rax,%rdi), %rdx
	movq	%rdx, 8(%rbx,%rcx,8)
	movq	24(%r13,%r12), %rdx
	movq	8(%rsi), %rsi
	addq	%rdi, %rsi
	subq	%rsi, %rdx
	addq	%rdi, %rax
	movq	%rdx, 16(%rbx,%rcx,8)
	js	LBB0_9
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	$0, 24(%rbx,%rcx,8)
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	callq	_mov_write_tfrf_tags
	movl	(%r14), %eax
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	movslq	%eax, %rcx
	addq	$56, %r12
	cmpq	%rcx, %r15
	jge	LBB0_12
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %r13
	testl	%edx, %edx
	js	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	%r12, %rsi
	jne	LBB0_11
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, 48(%r13,%r12)
	je	LBB0_11
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13,%r12), %r14d
	incl	%r14d
	movl	%r14d, (%r13,%r12)
	cmpl	4(%r13,%r12), %r14d
	jb	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_MOV_FRAG_INFO_ALLOC_INCREMENT@GOTPCREL(%rip), %rax
	addl	(%rax), %r14d
	leaq	(%r12,%r13), %rdi
	addq	$40, %rdi
	movl	%r14d, %esi
	movl	$40, %edx
	callq	_av_reallocp_array
	testq	%rax, %rax
	jne	LBB0_13
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r14d, 4(%r13,%r12)
	movl	(%r13,%r12), %r14d
	jmp	LBB0_8
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%rbx,%rcx,8), %rsi
	addq	$8, %rsi
	addq	%rax, %rdx
	movq	%rdx, 8(%rsi)
	movq	$0, (%rsi)
	jmp	LBB0_10
LBB0_12:
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MOV_FRAG_INFO_ALLOC_INCREMENT,4,2 ## @MOV_FRAG_INFO_ALLOC_INCREMENT
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_mov_add_tfra_entries
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mov_add_tfra_entries
_mov_add_tfra_entries:                  ; @mov_add_tfra_entries
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	str	w3, [sp, #12]                   ; 4-byte Folded Spill
	ldr	w8, [x1]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.1:
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	mov	x25, #0
	mov	x26, #0
	mov	w9, #56
	umull	x22, w2, w9
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x24, [x28, #40]
	sub	w27, w8, #1
	mov	x0, x19
	bl	_avio_tell
	mov	w14, #40
	umaddl	x8, w27, w14, x24
	str	w0, [x8, #32]
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	str	w9, [x8]
	ldp	x9, x10, [x28, #8]
	ldp	x12, x11, [x28, #24]
	ldp	x13, x11, [x11]
	add	x9, x10, x9
	add	x10, x9, x13
	mov	x9, x8
	str	x10, [x9, #8]!
	add	x11, x13, x11
	sub	x11, x12, x11
	str	x11, [x8, #16]!
	tbnz	x10, #63, LBB0_11
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	madd	x8, x27, x14, x24
	str	xzr, [x8, #24]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x23
	bl	_mov_write_tfrf_tags
	ldr	w8, [x21]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x26, x26, #1
	add	x25, x25, #56
	cmp	x26, w8, sxtw
	b.ge	LBB0_12
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x21, #8]
	tbnz	w20, #31, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	x22, x25
	b.ne	LBB0_4
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x23, x9, x25
	ldr	w10, [x23, #48]
	cbz	w10, LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x28, x9, x25
	ldp	w8, w9, [x28]
	add	w8, w8, #1
	str	w8, [x28]
	cmp	w8, w9
	b.lo	LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh0:
	adrp	x9, _MOV_FRAG_INFO_ALLOC_INCREMENT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MOV_FRAG_INFO_ALLOC_INCREMENT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	add	w24, w9, w8
	add	x0, x28, #40
	mov	x1, x24
	mov	w2, #40
	bl	_av_reallocp_array
	cbnz	x0, LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	str	w24, [x28, #4]
	ldr	w8, [x28]
	b	LBB0_2
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x10, x11, x10
	str	x10, [x8]
	str	xzr, [x9]
	b	LBB0_3
LBB0_12:
	mov	w0, #0
	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
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_13:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	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
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_AVERROR
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_MOV_FRAG_INFO_ALLOC_INCREMENT,4,2 ; @MOV_FRAG_INFO_ALLOC_INCREMENT
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_mov_add_tfra_entries
.subsections_via_symbols
