	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rdt_parse_packet
_rdt_parse_packet:                      ## @rdt_parse_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
	movq	%r8, %r15
	movq	%rcx, %r14
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movl	$1, -48(%rbp)
	cmpq	$0, (%rsi)
	je	LBB0_1
LBB0_5:
	movq	8(%rbx), %rdi
	movq	16(%rbx), %rax
	movl	(%rdi), %esi
	movq	(%r12), %rcx
	movl	(%rax,%rcx,4), %ecx
	movq	%r12, %rdx
	movq	%r14, %r8
	callq	_ff_rm_retrieve_cache
	movq	%rax, (%rbx)
	testq	%rax, %rax
	jne	LBB0_8
## %bb.6:
	movq	8(%r12), %rax
	movq	(%rax), %rax
	movq	_AV_CODEC_ID_AAC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.7:
	movq	8(%rbx), %rdi
	callq	_avio_context_free
	jmp	LBB0_8
LBB0_1:
	movq	%r15, %r13
	movl	32(%rbp), %r15d
	movl	16(%rbp), %edx
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rsp)
	leaq	-44(%rbp), %rdi
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movq	%r9, %rsi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_ffio_init_context
	movq	_RTP_FLAG_KEY@GOTPCREL(%rip), %rax
	xorl	%edx, %edx
	andl	(%rax), %r15d
	setne	%dl
	addl	%edx, %edx
	movq	8(%rbx), %rdi
	movq	16(%rbx), %rax
	movq	(%r12), %rcx
	movl	(%rax,%rcx,4), %ecx
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movl	(%r13), %eax
	movl	%eax, 16(%rsp)
	leaq	-48(%rbp), %rax
	movq	%rax, (%rsp)
	movl	%edx, 8(%rsp)
	leaq	-44(%rbp), %r13
	movq	%r13, %rsi
	movq	%r12, %rdx
	movl	16(%rbp), %r8d
	movq	%r14, %r9
	callq	_ff_rm_parse_packet
	movl	%eax, %r15d
	movq	%r13, %rdi
	callq	_avio_tell
	testl	%r15d, %r15d
	js	LBB0_9
## %bb.2:
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_8
## %bb.3:
	movq	8(%r12), %rcx
	movq	(%rcx), %rcx
	movq	_AV_CODEC_ID_AAC@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	jne	LBB0_5
## %bb.4:
	movl	24(%rbx), %edi
	cltq
	leaq	(%rcx,%rax,4), %rsi
	movl	16(%rbp), %r13d
	subl	%eax, %r13d
	movl	%r13d, %edx
	callq	_memcpy
	movl	24(%rbx), %edi
	movq	$0, (%rsp)
	movl	%r13d, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_avio_alloc_context
	movq	8(%rbx), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_5
LBB0_8:
	movq	(%r12), %rax
	movq	%rax, (%r14)
	movl	(%r15), %eax
	movl	%eax, 8(%r14)
	xorl	%r15d, %r15d
	cmpq	$0, (%rbx)
	setg	%r15b
LBB0_9:
	movl	%r15d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RTP_FLAG_KEY,4,2               ## @RTP_FLAG_KEY
	.comm	_AV_CODEC_ID_AAC,8,3            ## @AV_CODEC_ID_AAC
	.no_dead_strip	_rdt_parse_packet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rdt_parse_packet
_rdt_parse_packet:                      ; @rdt_parse_packet
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x4
	mov	x19, x3
	mov	x22, x2
	mov	x21, x1
	mov	w8, #1
	str	w8, [sp, #12]
	ldr	x8, [x1]
	cbz	x8, LBB0_4
LBB0_1:
	ldp	x0, x8, [x21, #8]
	ldr	w1, [x0]
	ldr	x9, [x22]
	ldr	w3, [x8, x9, lsl #2]
	mov	x2, x22
	mov	x4, x19
	bl	_ff_rm_retrieve_cache
	str	x0, [x21]
	cbnz	x0, LBB0_8
; %bb.2:
	ldr	x8, [x22, #8]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _AV_CODEC_ID_AAC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AV_CODEC_ID_AAC@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.3:
	ldr	x0, [x21, #8]
	bl	_avio_context_free
	b	LBB0_8
LBB0_4:
	mov	x23, x6
	mov	x24, x5
	ldr	w25, [x29, #16]
	add	x0, sp, #8
	mov	x1, x5
	mov	x2, x6
	mov	w3, #0
	mov	x4, #0
	mov	x5, #0
	mov	x6, #0
	mov	x7, #0
	bl	_ffio_init_context
Lloh3:
	adrp	x8, _RTP_FLAG_KEY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RTP_FLAG_KEY@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w25
	cset	w8, ne
	lsl	w7, w8, #1
	ldp	x0, x8, [x21, #8]
	ldr	x9, [x22]
	ldr	w3, [x8, x9, lsl #2]
	ldr	w8, [x20]
	str	w8, [sp]
	add	x1, sp, #8
	add	x6, sp, #12
	mov	x2, x22
	mov	x4, x23
	mov	x5, x19
	bl	_ff_rm_parse_packet
	mov	x25, x0
	add	x0, sp, #8
	bl	_avio_tell
	tbnz	w25, #31, LBB0_9
; %bb.5:
	cbz	w25, LBB0_8
; %bb.6:
	ldr	x8, [x22, #8]
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _AV_CODEC_ID_AAC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _AV_CODEC_ID_AAC@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_1
; %bb.7:
	ldr	w8, [x21, #24]
	add	x1, x24, w0, sxtw #2
	sub	w23, w23, w0
	mov	x0, x8
	mov	x2, x23
	bl	_memcpy
	ldr	w0, [x21, #24]
	mov	x1, x23
	mov	w2, #0
	mov	x3, #0
	mov	x4, #0
	mov	x5, #0
	mov	x6, #0
	bl	_avio_alloc_context
	ldr	x8, [x21, #8]
	str	w0, [x8]
	b	LBB0_1
LBB0_8:
	ldr	x8, [x22]
	str	x8, [x19]
	ldr	w8, [x20]
	str	w8, [x19, #8]
	ldr	x8, [x21]
	cmp	x8, #0
	cset	w25, gt
LBB0_9:
	mov	x0, x25
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_RTP_FLAG_KEY,4,2               ; @RTP_FLAG_KEY
	.comm	_AV_CODEC_ID_AAC,8,3            ; @AV_CODEC_ID_AAC
	.no_dead_strip	_rdt_parse_packet
.subsections_via_symbols
