	.file	"extr_mp4.c_WriteFragmentMDAT.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"mdat"
	.text
	.p2align 4
	.type	WriteFragmentMDAT, @function
WriteFragmentMDAT:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	r14, QWORD PTR 8[rdi]
	lea	rdi, .LC0[rip]
	mov	rbx, rsi
	call	box_new@PLT
	test	rax, rax
	je	.L1
	mov	rdi, rax
	mov	rbp, rax
	call	bo_size@PLT
	xor	edi, edi
	cmp	rax, 8
	sete	dil
	call	assert@PLT
	mov	rdi, rbp
	call	bo_size@PLT
	mov	rdi, rbp
	lea	rsi, [rax+rbx]
	call	box_fix@PLT
	mov	rdi, rbp
	call	bo_size@PLT
	add	QWORD PTR [r14], rax
	mov	rsi, QWORD PTR 16[rbp]
	mov	edi, DWORD PTR [r12]
	call	sout_AccessOutWrite@PLT
	mov	rdi, rbp
	call	free@PLT
	mov	eax, DWORD PTR 8[r14]
	test	eax, eax
	je	.L1
	xor	r13d, r13d
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rdx, QWORD PTR 16[r14]
	mov	eax, r13d
	mov	rbx, QWORD PTR [rdx+rax*8]
	mov	rbp, QWORD PTR 8[rbx]
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L6:
	mov	rsi, QWORD PTR 8[rbp]
	mov	edi, DWORD PTR [r12]
	mov	rax, QWORD PTR 16[rsi]
	add	QWORD PTR [r14], rax
	mov	rax, QWORD PTR 8[rsi]
	add	DWORD PTR 16[rbx], eax
	mov	eax, DWORD PTR BLOCK_FLAG_TYPE_I[rip]
	not	eax
	and	DWORD PTR [rsi], eax
	call	sout_AccessOutWrite@PLT
	mov	rax, QWORD PTR 0[rbp]
	mov	rdi, rbp
	mov	QWORD PTR 8[rbx], rax
	call	free@PLT
	mov	rbp, QWORD PTR 8[rbx]
	test	rbp, rbp
	je	.L13
.L5:
	test	rbp, rbp
	jne	.L6
	add	r13d, 1
	cmp	DWORD PTR 8[r14], r13d
	ja	.L7
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	QWORD PTR [rbx], 0
	add	r13d, 1
	cmp	DWORD PTR 8[r14], r13d
	ja	.L7
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	WriteFragmentMDAT, .-WriteFragmentMDAT
	.comm	BLOCK_FLAG_TYPE_I,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_mp4.c_WriteFragmentMDAT.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"mdat\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	WriteFragmentMDAT, %function
WriteFragmentMDAT:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r6, r0
	ldr	r0, .L17
	mov	r5, r1
	ldr	r8, [r6, #4]
	bl	box_new
	subs	r4, r0, #0
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
	bl	bo_size
	sub	r0, r0, #8
	clz	r0, r0
	lsr	r0, r0, #5
	bl	assert
	mov	r0, r4
	bl	bo_size
	add	r1, r0, r5
	mov	r0, r4
	bl	box_fix
	mov	r0, r4
	bl	bo_size
	ldr	r3, [r8]
	ldr	r1, [r4, #8]
	add	r3, r3, r0
	str	r3, [r8]
	ldr	r0, [r6]
	bl	sout_AccessOutWrite
	mov	r0, r4
	bl	free
	ldr	r3, [r8, #4]
	cmp	r3, #0
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
	mov	r7, #0
	ldr	r9, .L17+4
.L7:
	ldr	r3, [r8, #8]
	ldr	r5, [r3, r7, lsl #2]
	ldr	r4, [r5, #4]
	b	.L5
.L6:
	ldr	r1, [r4, #4]
	ldr	r0, [r8]
	ldr	r3, [r1]
	ldr	r10, [r1, #8]
	ldr	lr, [r1, #4]
	ldr	r2, [r5, #8]
	ldr	ip, [r9]
	add	r2, r2, lr
	bic	r3, r3, ip
	add	r0, r0, r10
	str	r0, [r8]
	str	r2, [r5, #8]
	ldr	r0, [r6]
	str	r3, [r1]
	bl	sout_AccessOutWrite
	ldr	r3, [r4]
	mov	r0, r4
	str	r3, [r5, #4]
	bl	free
	ldr	r4, [r5, #4]
	cmp	r4, #0
	beq	.L16
.L5:
	cmp	r4, #0
	bne	.L6
.L13:
	ldr	r3, [r8, #4]
	add	r7, r7, #1
	cmp	r3, r7
	bhi	.L7
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L16:
	str	r4, [r5]
	b	.L13
.L18:
	.align	2
.L17:
	.word	.LC0
	.word	BLOCK_FLAG_TYPE_I
	.size	WriteFragmentMDAT, .-WriteFragmentMDAT
	.comm	BLOCK_FLAG_TYPE_I,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
