	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mov_write_single_packet
_mov_write_single_packet:               ## @mov_write_single_packet
	.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
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	16(%rdi), %r12
	movq	40(%r12), %r13
	movq	(%rsi), %rax
	leaq	(%rax,%rax,4), %r15
	shlq	$4, %r15
	movq	72(%r13,%r15), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movslq	8(%rsi), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	callq	_check_pkt
	testl	%eax, %eax
	js	LBB0_51
## %bb.1:
	movl	(%r12), %eax
	movq	_FF_MOV_FLAG_FRAG_DISCONT@GOTPCREL(%rip), %r8
	movl	(%r8), %ecx
	testl	%eax, %ecx
	je	LBB0_12
## %bb.2:
	movl	(%rbx), %edi
	testl	%edi, %edi
	jle	LBB0_11
## %bb.3:
	movq	%rbx, %r9
	movq	40(%r12), %rbx
	leaq	-1(%rdi), %rcx
	movl	%edi, %esi
	andl	$3, %esi
	cmpq	$3, %rcx
	jae	LBB0_5
## %bb.4:
	xorl	%ecx, %ecx
	jmp	LBB0_7
LBB0_5:
	andl	$-4, %edi
	xorl	%ecx, %ecx
	movq	%rbx, %rdx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	$1, (%rdx)
	movl	$1, 80(%rdx)
	movl	$1, 160(%rdx)
	movl	$1, 240(%rdx)
	addq	$4, %rcx
	addq	$320, %rdx                      ## imm = 0x140
	cmpq	%rcx, %rdi
	jne	LBB0_6
LBB0_7:
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.8:
	leaq	(%rcx,%rcx,4), %rcx
	shlq	$4, %rcx
	addq	%rcx, %rbx
	shlq	$4, %rsi
	leaq	(%rsi,%rsi,4), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movl	$1, (%rbx,%rdx)
	addq	$80, %rdx
	cmpq	%rdx, %rcx
	jne	LBB0_9
LBB0_10:
	movl	(%r8), %ecx
	movq	%r9, %rbx
LBB0_11:
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, (%r12)
LBB0_12:
	leaq	(%r15,%r13), %rcx
	addq	$72, %rcx
	movq	_FF_MOV_FLAG_NEGATIVE_CTS_OFFSETS@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_17
## %bb.13:
	movq	8(%r13,%r15), %rax
	movq	_AV_NOPTS_VALUE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_15
## %bb.14:
	leaq	(%r15,%r13), %rsi
	addq	$8, %rsi
	movq	16(%r14), %rax
	movq	24(%r14), %rdx
	subq	%rdx, %rax
	movq	%rax, (%rsi)
	jmp	LBB0_16
LBB0_15:
	movq	24(%r14), %rdx
LBB0_16:
	addq	%rax, %rdx
	movq	%rdx, 24(%r14)
LBB0_17:
	movq	(%rcx), %rax
	movq	(%rax), %rax
	movq	_AV_CODEC_ID_MP4ALS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_25
## %bb.18:
	movq	_AV_CODEC_ID_AAC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_25
## %bb.19:
	movq	_AV_CODEC_ID_AV1@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_25
## %bb.20:
	movq	_AV_CODEC_ID_FLAC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_25
LBB0_21:
	cmpl	$0, 8(%r14)
	je	LBB0_33
## %bb.22:
	cmpq	$0, 56(%r13,%r15)
	je	LBB0_38
## %bb.23:
	movq	(%r14), %rax
	movslq	(%rbx), %rcx
	cmpq	%rcx, %rax
	jae	LBB0_38
## %bb.24:
	movq	24(%r14), %rdi
	movq	64(%r13,%r15), %rcx
	subq	(%rcx), %rdi
	movq	8(%rbx), %rcx
	movq	(%rcx,%rax,8), %rax
	movl	(%rax), %esi
	movq	_AV_TIME_BASE_Q@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_av_rescale_q
	jmp	LBB0_39
LBB0_25:
	movl	$0, -44(%rbp)
	movq	_AV_PKT_DATA_NEW_EXTRADATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-44(%rbp), %rdx
	movq	%r14, %rdi
	callq	_av_packet_get_side_data
	testq	%rax, %rax
	je	LBB0_21
## %bb.26:
	movl	-44(%rbp), %edx
	testl	%edx, %edx
	jle	LBB0_21
## %bb.27:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	cmpl	8(%rcx), %edx
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	jne	LBB0_30
## %bb.28:
	movq	24(%rcx), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_21
## %bb.29:
	movl	-44(%rbp), %edx
LBB0_30:
	movslq	%edx, %rdi
	movq	_AV_INPUT_BUFFER_PADDING_SIZE@GOTPCREL(%rip), %rax
	addq	(%rax), %rdi
	callq	_av_mallocz
	testq	%rax, %rax
	je	LBB0_52
## %bb.31:
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	24(%rax), %rdi
	callq	_av_free
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	%rdi, 24(%rax)
	movl	-44(%rbp), %edx
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_memcpy
	movl	-44(%rbp), %eax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, 8(%rcx)
	cmpl	$0, 8(%r14)
	jne	LBB0_21
## %bb.32:
	movl	$1, 4(%r12)
	jmp	LBB0_21
LBB0_38:
	xorl	%eax, %eax
LBB0_39:
	movq	8(%r12), %rcx
	testq	%rcx, %rcx
	je	LBB0_41
## %bb.40:
	cmpq	%rcx, %rax
	jge	LBB0_48
LBB0_41:
	movq	16(%r12), %rcx
	testq	%rcx, %rcx
	je	LBB0_43
## %bb.42:
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	addq	24(%r12), %rdx
	cmpq	%rcx, %rdx
	jge	LBB0_48
LBB0_43:
	movl	(%r12), %ecx
	movq	_FF_MOV_FLAG_FRAG_KEYFRAME@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_47
## %bb.44:
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	16(%rdx), %rdx
	movq	_AVMEDIA_TYPE_VIDEO@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_47
## %bb.45:
	leaq	(%r15,%r13), %rdx
	addq	$56, %rdx
	cmpq	$0, (%rdx)
	je	LBB0_47
## %bb.46:
	movq	_AV_PKT_FLAG_KEY@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, 32(%r14)
	jne	LBB0_48
LBB0_47:
	movq	_FF_MOV_FLAG_FRAG_EVERY_FRAME@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_50
LBB0_48:
	cmpq	32(%r12), %rax
	jl	LBB0_50
## %bb.49:
	movq	24(%r14), %rax
	movq	%rax, %rcx
	subq	16(%r13,%r15), %rcx
	movq	%rcx, 32(%r13,%r15)
	movq	16(%r14), %rcx
	movq	_AV_NOPTS_VALUE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	cmoveq	%rax, %rcx
	movq	%rcx, 40(%r13,%r15)
	movl	$1, 48(%r13,%r15)
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_mov_auto_flush_fragment
LBB0_50:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_ff_mov_write_packet
	jmp	LBB0_51
LBB0_33:
	movq	16(%r13,%r15), %rdx
	movq	_AV_NOPTS_VALUE@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	cmpq	(%rcx), %rdx
	jne	LBB0_51
## %bb.34:
	cmpl	$0, (%r13,%r15)
	je	LBB0_51
## %bb.35:
	leaq	(%r15,%r13), %rsi
	addq	$16, %rsi
	movq	24(%r14), %rdx
	movq	%rdx, (%rsi)
	movq	16(%r14), %rsi
	cmpq	(%rcx), %rsi
	jne	LBB0_53
## %bb.36:
	movq	$0, 24(%r13,%r15)
	jmp	LBB0_51
LBB0_52:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_AVERROR
	jmp	LBB0_51
LBB0_53:
	subq	%rdx, %rsi
	movq	%rsi, 24(%r13,%r15)
LBB0_51:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FF_MOV_FLAG_FRAG_DISCONT,4,2   ## @FF_MOV_FLAG_FRAG_DISCONT
	.comm	_FF_MOV_FLAG_NEGATIVE_CTS_OFFSETS,4,2 ## @FF_MOV_FLAG_NEGATIVE_CTS_OFFSETS
	.comm	_AV_NOPTS_VALUE,8,3             ## @AV_NOPTS_VALUE
	.comm	_AV_CODEC_ID_MP4ALS,8,3         ## @AV_CODEC_ID_MP4ALS
	.comm	_AV_CODEC_ID_AAC,8,3            ## @AV_CODEC_ID_AAC
	.comm	_AV_CODEC_ID_AV1,8,3            ## @AV_CODEC_ID_AV1
	.comm	_AV_CODEC_ID_FLAC,8,3           ## @AV_CODEC_ID_FLAC
	.comm	_AV_PKT_DATA_NEW_EXTRADATA,4,2  ## @AV_PKT_DATA_NEW_EXTRADATA
	.comm	_AV_INPUT_BUFFER_PADDING_SIZE,8,3 ## @AV_INPUT_BUFFER_PADDING_SIZE
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_AV_TIME_BASE_Q,4,2             ## @AV_TIME_BASE_Q
	.comm	_FF_MOV_FLAG_FRAG_KEYFRAME,4,2  ## @FF_MOV_FLAG_FRAG_KEYFRAME
	.comm	_AVMEDIA_TYPE_VIDEO,8,3         ## @AVMEDIA_TYPE_VIDEO
	.comm	_AV_PKT_FLAG_KEY,4,2            ## @AV_PKT_FLAG_KEY
	.comm	_FF_MOV_FLAG_FRAG_EVERY_FRAME,4,2 ## @FF_MOV_FLAG_FRAG_EVERY_FRAME
	.no_dead_strip	_mov_write_single_packet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mov_write_single_packet
_mov_write_single_packet:               ; @mov_write_single_packet
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x25, [x0, #16]
	ldr	x23, [x25, #40]
	ldr	x24, [x1]
	mov	w8, #80
	madd	x21, x24, x8, x23
	ldr	x26, [x21, #72]!
	ldrsw	x27, [x1, #8]
	bl	_check_pkt
	tbnz	w0, #31, LBB0_48
; %bb.1:
	ldr	w8, [x25]
Lloh0:
	adrp	x9, _FF_MOV_FLAG_FRAG_DISCONT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FF_MOV_FLAG_FRAG_DISCONT@GOTPAGEOFF]
	ldr	w11, [x9]
	tst	w11, w8
	b.eq	LBB0_12
; %bb.2:
	ldr	w10, [x20]
	cmp	w10, #1
	b.lt	LBB0_11
; %bb.3:
	ldr	x11, [x25, #40]
	cmp	w10, #4
	b.hs	LBB0_5
; %bb.4:
	mov	x12, #0
	b	LBB0_8
LBB0_5:
	and	x12, x10, #0xfffffffc
	add	x13, x11, #160
	mov	w14, #1
	mov	x15, x12
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	stur	w14, [x13, #-160]
	stur	w14, [x13, #-80]
	str	w14, [x13]
	str	w14, [x13, #80]
	add	x13, x13, #320
	subs	x15, x15, #4
	b.ne	LBB0_6
; %bb.7:
	cmp	x12, x10
	b.eq	LBB0_10
LBB0_8:
	mov	w13, #80
	madd	x11, x12, x13, x11
	sub	x10, x10, x12
	mov	w12, #1
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	str	w12, [x11], #80
	subs	x10, x10, #1
	b.ne	LBB0_9
LBB0_10:
	ldr	w11, [x9]
LBB0_11:
	bic	w8, w8, w11
	str	w8, [x25]
LBB0_12:
Lloh2:
	adrp	x9, _FF_MOV_FLAG_NEGATIVE_CTS_OFFSETS@GOTPAGE
Lloh3:
	ldr	x9, [x9, _FF_MOV_FLAG_NEGATIVE_CTS_OFFSETS@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_17
; %bb.13:
	mov	w8, #80
	madd	x10, x24, x8, x23
	ldr	x8, [x10, #8]!
Lloh5:
	adrp	x9, _AV_NOPTS_VALUE@GOTPAGE
Lloh6:
	ldr	x9, [x9, _AV_NOPTS_VALUE@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_15
; %bb.14:
	ldp	x8, x9, [x19, #16]
	sub	x8, x8, x9
	str	x8, [x10]
	b	LBB0_16
LBB0_15:
	ldr	x9, [x19, #24]
LBB0_16:
	add	x8, x9, x8
	str	x8, [x19, #24]
LBB0_17:
	ldr	x8, [x21]
	ldr	x8, [x8]
Lloh8:
	adrp	x9, _AV_CODEC_ID_MP4ALS@GOTPAGE
Lloh9:
	ldr	x9, [x9, _AV_CODEC_ID_MP4ALS@GOTPAGEOFF]
Lloh10:
	adrp	x10, _AV_CODEC_ID_AAC@GOTPAGE
Lloh11:
	ldr	x10, [x10, _AV_CODEC_ID_AAC@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
Lloh13:
	ldr	x10, [x10]
Lloh14:
	adrp	x11, _AV_CODEC_ID_AV1@GOTPAGE
Lloh15:
	ldr	x11, [x11, _AV_CODEC_ID_AV1@GOTPAGEOFF]
Lloh16:
	adrp	x12, _AV_CODEC_ID_FLAC@GOTPAGE
Lloh17:
	ldr	x12, [x12, _AV_CODEC_ID_FLAC@GOTPAGEOFF]
Lloh18:
	ldr	x11, [x11]
Lloh19:
	ldr	x12, [x12]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	ccmp	x8, x11, #4, ne
	ccmp	x8, x12, #4, ne
	b.ne	LBB0_25
; %bb.18:
	str	wzr, [sp, #12]
Lloh20:
	adrp	x8, _AV_PKT_DATA_NEW_EXTRADATA@GOTPAGE
Lloh21:
	ldr	x8, [x8, _AV_PKT_DATA_NEW_EXTRADATA@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	add	x2, sp, #12
	mov	x0, x19
	bl	_av_packet_get_side_data
	ldr	w2, [sp, #12]
	cmp	x0, #0
	ccmp	w2, #1, #8, ne
	b.lt	LBB0_25
; %bb.19:
	mov	x21, x0
	ldr	w8, [x26, #8]
	cmp	w2, w8
	b.ne	LBB0_22
; %bb.20:
	ldr	x1, [x26, #24]
	mov	x0, x21
	bl	_memcmp
	cbz	x0, LBB0_25
; %bb.21:
	ldr	w2, [sp, #12]
LBB0_22:
Lloh23:
	adrp	x8, _AV_INPUT_BUFFER_PADDING_SIZE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _AV_INPUT_BUFFER_PADDING_SIZE@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	add	x0, x8, w2, sxtw
	bl	_av_mallocz
	cbz	x0, LBB0_46
; %bb.23:
	mov	x22, x0
	ldr	x0, [x26, #24]
	bl	_av_free
	str	x22, [x26, #24]
	ldr	w2, [sp, #12]
	mov	x0, x22
	mov	x1, x21
	bl	_memcpy
	ldr	w8, [sp, #12]
	str	w8, [x26, #8]
	ldr	w8, [x19, #8]
	cbnz	w8, LBB0_25
; %bb.24:
	mov	w8, #1
	str	w8, [x25, #4]
LBB0_25:
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_41
; %bb.26:
	mov	w8, #80
	madd	x21, x24, x8, x23
	ldr	x8, [x21, #56]!
	cbz	x8, LBB0_29
; %bb.27:
	ldr	x8, [x19]
	ldrsw	x9, [x20]
	cmp	x8, x9
	b.hs	LBB0_29
; %bb.28:
	ldr	x9, [x19, #24]
	mov	w10, #80
	madd	x10, x24, x10, x23
	ldr	x10, [x10, #64]
	ldr	x10, [x10]
	sub	x0, x9, x10
	ldr	x9, [x20, #8]
	ldr	x8, [x9, x8, lsl #3]
	ldr	w1, [x8]
Lloh26:
	adrp	x8, _AV_TIME_BASE_Q@GOTPAGE
Lloh27:
	ldr	x8, [x8, _AV_TIME_BASE_Q@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
	bl	_av_rescale_q
	ldr	x8, [x25, #8]
	cbnz	x8, LBB0_30
	b	LBB0_31
LBB0_29:
	mov	x0, #0
	ldr	x8, [x25, #8]
	cbz	x8, LBB0_31
LBB0_30:
	cmp	x0, x8
	b.ge	LBB0_38
LBB0_31:
	ldr	x8, [x25, #16]
	cbz	x8, LBB0_33
; %bb.32:
	ldr	x9, [x25, #24]
	add	x9, x9, x27
	cmp	x9, x8
	b.ge	LBB0_38
LBB0_33:
	ldr	w8, [x25]
Lloh29:
	adrp	x9, _FF_MOV_FLAG_FRAG_KEYFRAME@GOTPAGE
Lloh30:
	ldr	x9, [x9, _FF_MOV_FLAG_FRAG_KEYFRAME@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_37
; %bb.34:
	ldr	x9, [x26, #16]
Lloh32:
	adrp	x10, _AVMEDIA_TYPE_VIDEO@GOTPAGE
Lloh33:
	ldr	x10, [x10, _AVMEDIA_TYPE_VIDEO@GOTPAGEOFF]
Lloh34:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_37
; %bb.35:
	ldr	x9, [x21]
	cbz	x9, LBB0_37
; %bb.36:
	ldr	w9, [x19, #32]
Lloh35:
	adrp	x10, _AV_PKT_FLAG_KEY@GOTPAGE
Lloh36:
	ldr	x10, [x10, _AV_PKT_FLAG_KEY@GOTPAGEOFF]
Lloh37:
	ldr	w10, [x10]
	tst	w10, w9
	b.ne	LBB0_38
LBB0_37:
Lloh38:
	adrp	x9, _FF_MOV_FLAG_FRAG_EVERY_FRAME@GOTPAGE
Lloh39:
	ldr	x9, [x9, _FF_MOV_FLAG_FRAG_EVERY_FRAME@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_40
LBB0_38:
	ldr	x8, [x25, #32]
	cmp	x0, x8
	b.lt	LBB0_40
; %bb.39:
	mov	w8, #80
	madd	x8, x24, x8, x23
	ldr	x9, [x8, #16]
	ldp	x11, x10, [x19, #16]
	sub	x9, x10, x9
	str	x9, [x8, #32]
Lloh41:
	adrp	x9, _AV_NOPTS_VALUE@GOTPAGE
Lloh42:
	ldr	x9, [x9, _AV_NOPTS_VALUE@GOTPAGEOFF]
Lloh43:
	ldr	x9, [x9]
	cmp	x11, x9
	csel	x9, x10, x11, eq
	str	x9, [x8, #40]
	mov	w9, #1
	str	w9, [x8, #48]
	mov	x0, x20
	mov	w1, #0
	bl	_mov_auto_flush_fragment
LBB0_40:
	mov	x0, x20
	mov	x1, x19
	bl	_ff_mov_write_packet
	b	LBB0_48
LBB0_41:
	mov	w8, #80
	madd	x8, x24, x8, x23
	ldr	x10, [x8, #16]!
Lloh44:
	adrp	x9, _AV_NOPTS_VALUE@GOTPAGE
Lloh45:
	ldr	x9, [x9, _AV_NOPTS_VALUE@GOTPAGEOFF]
	ldr	x11, [x9]
	cmp	x10, x11
	b.ne	LBB0_45
; %bb.42:
	mov	w10, #80
	mul	x10, x24, x10
	ldr	w10, [x23, x10]
	cbz	w10, LBB0_45
; %bb.43:
	ldp	x11, x10, [x19, #16]
	str	x10, [x8]
	ldr	x8, [x9]
	cmp	x11, x8
	b.ne	LBB0_47
; %bb.44:
	mov	w0, #0
	mov	w8, #80
	madd	x8, x24, x8, x23
	str	xzr, [x8, #24]
	b	LBB0_48
LBB0_45:
	mov	w0, #0
	b	LBB0_48
LBB0_46:
Lloh46:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh47:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh48:
	ldr	w0, [x8]
	bl	_AVERROR
	b	LBB0_48
LBB0_47:
	mov	w0, #0
	sub	x8, x11, x10
	mov	w9, #80
	madd	x9, x24, x9, x23
	str	x8, [x9, #24]
LBB0_48:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh18
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh12
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
	.comm	_FF_MOV_FLAG_FRAG_DISCONT,4,2   ; @FF_MOV_FLAG_FRAG_DISCONT
	.comm	_FF_MOV_FLAG_NEGATIVE_CTS_OFFSETS,4,2 ; @FF_MOV_FLAG_NEGATIVE_CTS_OFFSETS
	.comm	_AV_NOPTS_VALUE,8,3             ; @AV_NOPTS_VALUE
	.comm	_AV_CODEC_ID_MP4ALS,8,3         ; @AV_CODEC_ID_MP4ALS
	.comm	_AV_CODEC_ID_AAC,8,3            ; @AV_CODEC_ID_AAC
	.comm	_AV_CODEC_ID_AV1,8,3            ; @AV_CODEC_ID_AV1
	.comm	_AV_CODEC_ID_FLAC,8,3           ; @AV_CODEC_ID_FLAC
	.comm	_AV_PKT_DATA_NEW_EXTRADATA,4,2  ; @AV_PKT_DATA_NEW_EXTRADATA
	.comm	_AV_INPUT_BUFFER_PADDING_SIZE,8,3 ; @AV_INPUT_BUFFER_PADDING_SIZE
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_AV_TIME_BASE_Q,4,2             ; @AV_TIME_BASE_Q
	.comm	_FF_MOV_FLAG_FRAG_KEYFRAME,4,2  ; @FF_MOV_FLAG_FRAG_KEYFRAME
	.comm	_AVMEDIA_TYPE_VIDEO,8,3         ; @AVMEDIA_TYPE_VIDEO
	.comm	_AV_PKT_FLAG_KEY,4,2            ; @AV_PKT_FLAG_KEY
	.comm	_FF_MOV_FLAG_FRAG_EVERY_FRAME,4,2 ; @FF_MOV_FLAG_FRAG_EVERY_FRAME
	.no_dead_strip	_mov_write_single_packet
.subsections_via_symbols
