	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function store_packet
_store_packet:                          ## @store_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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	16(%rbp), %r13d
	cmpl	$1, %r13d
	jle	LBB0_1
## %bb.2:
	movq	%rdi, %r14
	movl	(%r9), %r12d
	movl	%r12d, %eax
	shrl	$3, %eax
	movl	%eax, %ebx
	andl	$7, %ebx
	cmpl	$6, %ebx
	jb	LBB0_4
## %bb.3:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_1
LBB0_4:
	andl	$7, %r12d
	cmpl	%ebx, %r12d
	jbe	LBB0_6
## %bb.5:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	movl	%r12d, %ecx
	movl	%ebx, %r8d
	xorl	%eax, %eax
	callq	_av_log
	jmp	LBB0_1
LBB0_6:
	movq	%rsi, %r10
	cmpl	(%rsi), %ebx
	movq	%rdx, -72(%rbp)                 ## 8-byte Spill
	jne	LBB0_7
## %bb.24:
	leaq	4(%r10), %r11
	movl	4(%r10), %edi
	cmpl	%edi, %r12d
	jge	LBB0_9
## %bb.25:
	cmpl	$0, 8(%r10)
	jne	LBB0_8
## %bb.26:
	movq	%r8, %r15
	movl	%ebx, %esi
	subl	%edi, %esi
	jl	LBB0_35
## %bb.27:
	movq	%r11, %r12
	movslq	%edi, %r11
	movq	16(%r10), %r8
	subl	%edi, %eax
	incl	%eax
	andl	$3, %eax
	je	LBB0_31
## %bb.28:
	movq	%r11, %rdi
	shlq	$4, %rdi
	addq	%r8, %rdi
	negl	%eax
	xorl	%edx, %edx
LBB0_29:                                ## =>This Inner Loop Header: Depth=1
	movl	$0, (%rdi)
	decq	%rdx
	addq	$16, %rdi
	cmpl	%edx, %eax
	jne	LBB0_29
## %bb.30:
	subq	%rdx, %r11
LBB0_31:
	leal	1(%rbx), %eax
	cmpl	$3, %esi
	jb	LBB0_34
## %bb.32:
	subl	%r11d, %ebx
	incl	%ebx
	shlq	$4, %r11
	leaq	(%r11,%r8), %rdx
	addq	$48, %rdx
LBB0_33:                                ## =>This Inner Loop Header: Depth=1
	movl	$0, -48(%rdx)
	movl	$0, -32(%rdx)
	movl	$0, -16(%rdx)
	movl	$0, (%rdx)
	addq	$64, %rdx
	addl	$-4, %ebx
	jne	LBB0_33
LBB0_34:
	movl	%eax, (%r12)
LBB0_35:
	cmpl	$5, %r13d
	jae	LBB0_1
## %bb.36:
	movl	28(%r10), %edi
	movq	%r9, %rsi
	movl	%r13d, %edx
	movq	%r10, %rbx
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r12
	callq	_memcpy
	movl	%r13d, 12(%rbx)
	movl	(%r15), %eax
	movl	%eax, 24(%rbx)
	movq	_RTP_NOTS_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
	movl	$0, 4(%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	%r12, %rcx
	movq	%r15, %r8
	movq	-48(%rbp), %r9                  ## 8-byte Reload
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_return_stored_frame            ## TAILCALL
LBB0_7:
	movl	%ebx, (%r10)
	movq	16(%r10), %rax
	movl	$0, (%rax)
	movl	$0, 16(%rax)
	movl	$0, 32(%rax)
	movl	$0, 48(%rax)
	movl	$0, 64(%rax)
	movl	$0, 80(%rax)
	leaq	4(%r10), %r11
LBB0_8:
	xorl	%edi, %edi
LBB0_9:
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	cmpl	%edi, %r12d
	jle	LBB0_18
## %bb.10:
	movq	16(%r10), %r8
	movslq	%edi, %rcx
	movl	%r12d, %esi
	subl	%edi, %esi
	movq	%rcx, %rdx
	notq	%rdx
	addq	%r12, %rdx
	andq	$3, %rsi
	je	LBB0_14
## %bb.11:
	movq	%rcx, %rdi
	shlq	$4, %rdi
	addq	%r8, %rdi
	negq	%rsi
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	$0, (%rdi)
	decq	%rax
	addq	$16, %rdi
	cmpq	%rax, %rsi
	jne	LBB0_12
## %bb.13:
	subq	%rax, %rcx
LBB0_14:
	cmpq	$3, %rdx
	jb	LBB0_17
## %bb.15:
	movq	%r12, %rdx
	subq	%rcx, %rdx
	shlq	$4, %rcx
	leaq	(%rcx,%r8), %rax
	addq	$48, %rax
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movl	$0, -48(%rax)
	movl	$0, -32(%rax)
	movl	$0, -16(%rax)
	movl	$0, (%rax)
	addq	$64, %rax
	addq	$-4, %rdx
	jne	LBB0_16
LBB0_17:
	movl	%r12d, (%r11)
LBB0_18:
	movq	%r10, -64(%rbp)                 ## 8-byte Spill
	movq	%r11, -56(%rbp)                 ## 8-byte Spill
	movl	%r12d, (%r11)
	movl	4(%r9), %r15d
	movq	_frame_sizes@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%r9, %r14
	callq	_FF_ARRAY_ELEMS
	cmpl	%eax, %r15d
	jge	LBB0_1
## %bb.19:
	leaq	4(%r14), %rdx
	movq	_frame_sizes@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	(%rdx), %rcx
	movslq	(%rax,%rcx,4), %r15
	cmpl	%r13d, %r15d
	jge	LBB0_1
## %bb.20:
	movq	%r14, %rax
	movl	%r15d, %r14d
	notl	%r14d
	addl	%r13d, %r14d
	cmpl	$5, %r14d
	jb	LBB0_21
LBB0_1:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_38:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	-96(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_av_new_packet
	testl	%eax, %eax
	js	LBB0_38
## %bb.22:
	movq	%r15, %rax
	incq	%rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	4(%r13), %edi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movl	%r15d, %edx
	callq	_memcpy
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %eax
	movl	%eax, (%r13)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %r15
	movslq	4(%rax), %r13
	shlq	$4, %r13
	movl	%r14d, (%r15,%r13)
	movq	$0, 8(%r15,%r13)
	movl	4(%r15,%r13), %edi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rax,%rcx,4), %rsi
	movl	%r14d, %edx
	callq	_memcpy
	movl	(%r15,%r13), %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	sete	%al
	movq	-64(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, 8(%rdx)
	cmpl	%ebx, %r12d
	jne	LBB0_37
## %bb.23:
	xorl	%eax, %eax
	testl	%ecx, %ecx
	setne	%al
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	$0, (%rcx)
	jmp	LBB0_38
LBB0_37:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	incl	(%rax)
	xorl	%eax, %eax
	jmp	LBB0_38
	.cfi_endproc
                                        ## -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid interleave size %d\n"

L_.str.1:                               ## @.str.1
	.asciz	"Invalid interleave index %d/%d\n"

	.comm	_RTP_NOTS_VALUE,4,2             ## @RTP_NOTS_VALUE
	.comm	_frame_sizes,8,3                ## @frame_sizes
	.no_dead_strip	_store_packet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function store_packet
_store_packet:                          ; @store_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
	cmp	w6, #1
	b.le	LBB0_33
; %bb.1:
	mov	x20, x5
	mov	x26, x0
	ldr	w8, [x5]
	ubfx	w24, w8, #3, #3
	cmp	w24, #6
	b.lo	LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x26
	mov	x3, x24
	bl	_av_log
	b	LBB0_33
LBB0_3:
	and	x25, x8, #0x7
	cmp	w25, w24
	b.ls	LBB0_5
; %bb.4:
Lloh5:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	str	x24, [sp]
Lloh8:
	adrp	x2, l_.str.1@PAGE
Lloh9:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x26
	mov	x3, x25
	bl	_av_log
	b	LBB0_33
LBB0_5:
	mov	x23, x6
	mov	x21, x3
	mov	x22, x2
	mov	x19, x1
	ldr	w8, [x1]
	cmp	w24, w8
	b.ne	LBB0_9
; %bb.6:
	mov	x15, x19
	ldr	w8, [x15, #4]!
	cmp	w25, w8
	b.ge	LBB0_10
; %bb.7:
	ldr	w9, [x19, #8]
	cbz	w9, LBB0_24
; %bb.8:
	mov	w8, #0
	b	LBB0_10
LBB0_9:
	mov	w8, #0
	str	w24, [x19]
	ldr	x9, [x19, #16]
	str	wzr, [x9]
	str	wzr, [x9, #16]
	str	wzr, [x9, #32]
	str	wzr, [x9, #48]
	str	wzr, [x9, #64]
	str	wzr, [x9, #80]
	add	x15, x19, #4
LBB0_10:
	cmp	w25, w8
	b.le	LBB0_18
; %bb.11:
	ldr	x9, [x19, #16]
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
	sxtw	x12, w8
	sub	x10, x25, x12
	mov	x8, x12
	cmp	x10, #4
	b.lo	LBB0_15
; %bb.12:
	and	x11, x10, #0xfffffffffffffffc
	add	x8, x11, x12
	add	x12, x9, x12, lsl #4
	add	x12, x12, #32
	mov	x13, x11
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	stur	wzr, [x12, #-32]
	stur	wzr, [x12, #-16]
	str	wzr, [x12]
	str	wzr, [x12, #16]
	add	x12, x12, #64
	subs	x13, x13, #4
	b.ne	LBB0_13
; %bb.14:
	cmp	x10, x11
	b.eq	LBB0_17
LBB0_15:
	add	x9, x9, x8, lsl #4
	sub	x8, x25, x8
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	str	wzr, [x9], #16
	subs	x8, x8, #1
	b.ne	LBB0_16
LBB0_17:
	str	w25, [x15]
LBB0_18:
	str	x22, [sp, #8]                   ; 8-byte Folded Spill
	str	w25, [x15]
	mov	x26, x20
	ldr	w28, [x26, #4]!
Lloh10:
	adrp	x27, _frame_sizes@GOTPAGE
Lloh11:
	ldr	x27, [x27, _frame_sizes@GOTPAGEOFF]
	ldr	x0, [x27]
	mov	x22, x15
	bl	_FF_ARRAY_ELEMS
	cmp	w28, w0
	b.ge	LBB0_33
; %bb.19:
	ldr	x8, [x27]
	ldrsw	x9, [x26]
	ldr	w27, [x8, x9, lsl #2]
	cmp	w27, w23
	b.ge	LBB0_33
; %bb.20:
	mvn	w8, w27
	add	w23, w8, w23
	cmp	w23, #5
	b.hs	LBB0_33
; %bb.21:
	mov	x28, x22
	mov	x0, x21
	mov	x1, x27
	bl	_av_new_packet
	tbnz	w0, #31, LBB0_34
; %bb.22:
	add	w22, w27, #1
	ldr	w0, [x21, #4]
	mov	x1, x26
	mov	x2, x27
	bl	_memcpy
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	ldr	w8, [x8]
	str	w8, [x21]
	ldr	x8, [x19, #16]
	ldrsw	x9, [x19, #4]
	add	x21, x8, x9, lsl #4
	str	w23, [x21]
	str	xzr, [x21, #8]
	ldr	w0, [x21, #4]
	add	x1, x20, w22, sxtw #2
	mov	x2, x23
	bl	_memcpy
	ldr	w8, [x21]
	cmp	w8, #0
	cset	w9, eq
	str	w9, [x19, #8]
	cmp	w25, w24
	b.ne	LBB0_36
; %bb.23:
	cmp	w8, #0
	cset	w0, ne
	str	wzr, [x28]
	b	LBB0_34
LBB0_24:
	mov	x27, x4
	subs	w11, w24, w8
	b.lt	LBB0_32
; %bb.25:
	sxtw	x13, w8
	ldr	x9, [x19, #16]
	add	w8, w24, #1
	mov	x10, x13
	cmp	w11, #3
	b.lo	LBB0_29
; %bb.26:
	add	x11, x11, #1
	and	x12, x11, #0x1fffffffc
	add	x10, x12, x13
	add	x13, x9, x13, lsl #4
	add	x13, x13, #32
	mov	x14, x12
LBB0_27:                                ; =>This Inner Loop Header: Depth=1
	stur	wzr, [x13, #-32]
	stur	wzr, [x13, #-16]
	str	wzr, [x13]
	str	wzr, [x13, #16]
	add	x13, x13, #64
	subs	x14, x14, #4
	b.ne	LBB0_27
; %bb.28:
	cmp	x11, x12
	b.eq	LBB0_31
LBB0_29:
	add	x9, x9, x10, lsl #4
	sub	w10, w24, w10
	add	w10, w10, #1
LBB0_30:                                ; =>This Inner Loop Header: Depth=1
	str	wzr, [x9], #16
	subs	w10, w10, #1
	b.ne	LBB0_30
LBB0_31:
	str	w8, [x15]
LBB0_32:
	cmp	w23, #5
	b.lo	LBB0_35
LBB0_33:
Lloh12:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
LBB0_34:
	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_35:
	ldr	w0, [x19, #28]
	mov	x1, x20
	mov	x2, x23
	bl	_memcpy
	str	w23, [x19, #12]
	ldr	w8, [x27]
	str	w8, [x19, #24]
Lloh15:
	adrp	x8, _RTP_NOTS_VALUE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _RTP_NOTS_VALUE@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [x27]
	str	wzr, [x19, #4]
	mov	x0, x26
	mov	x1, x19
	mov	x2, x22
	mov	x3, x21
	mov	x4, x27
	mov	x5, x20
	mov	x6, x23
	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	_return_stored_frame
LBB0_36:
	mov	w0, #0
	ldr	w8, [x28]
	add	w8, w8, #1
	str	w8, [x28]
	b	LBB0_34
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid interleave size %d\n"

l_.str.1:                               ; @.str.1
	.asciz	"Invalid interleave index %d/%d\n"

	.comm	_RTP_NOTS_VALUE,4,2             ; @RTP_NOTS_VALUE
	.comm	_frame_sizes,8,3                ; @frame_sizes
	.no_dead_strip	_store_packet
.subsections_via_symbols
