	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rfc4175_handle_packet
_rfc4175_handle_packet:                 ## @rfc4175_handle_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	%r9, %rbx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movl	32(%rbp), %eax
	movl	%eax, -56(%rbp)                 ## 4-byte Spill
	movl	16(%rbp), %r15d
	movq	(%r8), %rax
	xorl	%ecx, %ecx
	cmpq	(%rsi), %rax
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_6
## %bb.1:
	movq	%r8, %r14
	movq	%rdi, %r13
	cmpq	$0, 8(%rsi)
	je	LBB0_2
## %bb.3:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r13, %rdi
	callq	_av_log
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_rfc4175_finalize_packet
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	$1, %r12d
	jmp	LBB0_4
LBB0_2:
	xorl	%r12d, %r12d
LBB0_4:
	movl	16(%rsi), %edi
	callq	_av_malloc
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%rax, 8(%rsi)
	movq	(%r14), %rcx
	movq	%rcx, (%rsi)
	testq	%rax, %rax
	movl	%r12d, %ecx
	je	LBB0_5
LBB0_6:
	leaq	8(%rbx), %r14
	addl	$-2, %r15d
	addq	$24, %rbx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$5, %r15d
	jle	LBB0_8
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	addl	$-6, %r15d
	leaq	24(%rbx), %r13
	testb	$-128, (%rbx)
	movq	%r13, %rbx
	jne	LBB0_7
## %bb.11:
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	addq	$-16, %r13
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	20(%rsi), %ecx
	cmpl	%ecx, %r15d
	jl	LBB0_8
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	(%r14), %ebx
	shll	$8, %ebx
	orl	4(%r14), %ebx
	movl	%ebx, %eax
	cltd
	idivl	%ecx
	testl	%edx, %edx
	jne	LBB0_8
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	16(%r14), %r12d
	movl	%r12d, %edx
	andl	$127, %edx
	shll	$8, %edx
	orl	20(%r14), %edx
	movl	8(%r14), %eax
	andl	$127, %eax
	shll	$8, %eax
	orl	12(%r14), %eax
	cmpl	%r15d, %ebx
	cmovgel	%r15d, %ebx
	imull	24(%rsi), %eax
	addl	%edx, %eax
	imull	%ecx, %eax
	cltd
	idivl	28(%rsi)
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%rbx), %ecx
	cmpl	16(%rsi), %ecx
	jg	LBB0_8
## %bb.15:                              ##   in Loop: Header=BB0_12 Depth=1
	movslq	%eax, %rdi
	shlq	$2, %rdi
	addq	8(%rsi), %rdi
	movq	%r13, %rsi
	movl	%ebx, %edx
	callq	_memcpy
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movslq	%ebx, %rax
	leaq	(%r13,%rax,4), %r13
	subl	%eax, %r15d
	addq	$24, %r14
	testb	$-128, %r12b
	jne	LBB0_12
## %bb.16:
	movq	_RTP_FLAG_MARKER@GOTPCREL(%rip), %rax
	movl	-56(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, (%rax)
	je	LBB0_17
## %bb.20:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edx
	movq	%rsi, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rfc4175_finalize_packet        ## TAILCALL
LBB0_8:
	movq	_AVERROR_INVALIDDATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_9:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_AV_LOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%r13, %rdi
	callq	_av_log
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_19:
	movl	(%rax), %edi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_17:
	xorl	%eax, %eax
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_9
## %bb.18:
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_ERROR,4,2               ## @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Missed previous RTP Marker\n"

L_.str.1:                               ## @.str.1
	.asciz	"Out of memory.\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_AVERROR_INVALIDDATA,4,2        ## @AVERROR_INVALIDDATA
	.comm	_RTP_FLAG_MARKER,4,2            ## @RTP_FLAG_MARKER
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.no_dead_strip	_rfc4175_handle_packet
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rfc4175_handle_packet
_rfc4175_handle_packet:                 ; @rfc4175_handle_packet
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x23, x6
	mov	x22, x5
	mov	x19, x3
	mov	x21, x2
	mov	x20, x1
	ldr	w26, [x29, #16]
	ldr	x8, [x4]
	ldr	x9, [x1]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	w27, #0
	b	LBB0_6
LBB0_2:
	mov	x25, x4
	mov	x24, x0
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_4
; %bb.3:
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, x24
	bl	_av_log
	ldr	w2, [x21]
	mov	x0, x20
	mov	x1, x19
	bl	_rfc4175_finalize_packet
	mov	w27, #1
	b	LBB0_5
LBB0_4:
	mov	w27, #0
LBB0_5:
	ldr	w0, [x20, #16]
	bl	_av_malloc
	ldr	x8, [x25]
	stp	x8, x0, [x20]
	cbz	x0, LBB0_18
LBB0_6:
	add	x24, x22, #8
	sub	w25, w23, #2
	add	x8, x22, #24
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w25, #5
	b.le	LBB0_16
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	sub	w25, w25, #6
	ldrb	w9, [x8], #24
	tbnz	w9, #7, LBB0_7
; %bb.9:
	sub	x22, x8, #16
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x20, #20]
	cmp	w25, w8
	b.lt	LBB0_16
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldp	w9, w10, [x24]
	orr	w9, w10, w9, lsl #8
	sdiv	w10, w9, w8
	msub	w10, w10, w8, w9
	cbnz	w10, LBB0_16
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	ldp	w28, w10, [x24, #16]
	ubfiz	w11, w28, #8, #7
	orr	w10, w10, w11
	ldp	w11, w12, [x24, #8]
	ubfiz	w11, w11, #8, #7
	orr	w11, w11, w12
	ldp	w12, w13, [x20, #24]
	madd	w10, w11, w12, w10
	cmp	w9, w25
	csel	w23, w9, w25, lt
	mul	w8, w10, w8
	sdiv	w8, w8, w13
	ldr	w9, [x20, #16]
	add	w10, w8, w23
	cmp	w10, w9
	b.gt	LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x9, [x20, #8]
	add	x0, x9, w8, sxtw #2
	mov	x1, x22
	mov	x2, x23
	bl	_memcpy
	add	x22, x22, w23, sxtw #2
	sub	w25, w25, w23
	add	x24, x24, #24
	tbnz	w28, #7, LBB0_10
; %bb.14:
Lloh5:
	adrp	x8, _RTP_FLAG_MARKER@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RTP_FLAG_MARKER@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w8, w26
	b.eq	LBB0_20
; %bb.15:
	ldr	w2, [x21]
	mov	x0, x20
	mov	x1, x19
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_rfc4175_finalize_packet
LBB0_16:
Lloh8:
	adrp	x8, _AVERROR_INVALIDDATA@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AVERROR_INVALIDDATA@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
LBB0_17:
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_18:
Lloh11:
	adrp	x8, _AV_LOG_ERROR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AV_LOG_ERROR@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x2, l_.str.1@PAGE
Lloh15:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x24
	bl	_av_log
Lloh16:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_19:
	ldr	w0, [x8]
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_AVERROR
LBB0_20:
	cbz	w27, LBB0_22
; %bb.21:
	mov	w0, #0
	b	LBB0_17
LBB0_22:
Lloh18:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
	b	LBB0_19
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_ERROR,4,2               ; @AV_LOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Missed previous RTP Marker\n"

l_.str.1:                               ; @.str.1
	.asciz	"Out of memory.\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_AVERROR_INVALIDDATA,4,2        ; @AVERROR_INVALIDDATA
	.comm	_RTP_FLAG_MARKER,4,2            ; @RTP_FLAG_MARKER
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.no_dead_strip	_rfc4175_handle_packet
.subsections_via_symbols
