	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_hint_packets
_write_hint_packets:                    ## @write_hint_packets
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r13
	movl	%edx, %r12d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_avio_tell
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_avio_wb16
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_avio_wb16
	cmpl	$5, %r12d
	jl	LBB0_18
## %bb.1:
	leaq	24(%r13), %rax
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r14d, %eax
	addq	%rax, %r12
	movq	%r12, %r15
LBB0_17:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %r12d
	cmpl	$4, %ebx
	jle	LBB0_18
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_AV_RB32
	leal	-4(%r12), %ebx
	subl	%eax, %ebx
	jl	LBB0_18
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %r14d
	cmpl	$13, %eax
	jl	LBB0_18
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, -112(%rbp)                ## 8-byte Spill
	leaq	4(%r15), %r12
	movsbl	5(%r15), %edi
	callq	_RTP_PT_IS_RTCP
	testq	%rax, %rax
	jne	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	cmpl	(%r13), %r14d
	jle	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%r14d, (%r13)
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	leaq	6(%rbx), %rdi
	callq	_AV_RB16
	movl	%eax, %r15d
	leaq	8(%rbx), %rdi
	callq	_AV_RB32
	movq	8(%r13), %rcx
	testq	%rcx, %rcx
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	%eax, %rcx
	movq	%rcx, 8(%r13)
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %ebx
	subl	%ecx, %ebx
	testl	%ebx, %ebx
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	jle	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %ecx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	addq	%rcx, 16(%rdx)
	cltq
	movq	%rax, 8(%rdx)
	xorl	%ebx, %ebx
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	_AV_NOPTS_VALUE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	16(%rax), %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_avio_wb32
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	$2, %edx
	callq	_avio_write
	movq	%r13, %rdi
	movl	%r15d, %esi
	callq	_avio_wb16
	xorl	%esi, %esi
	testl	%ebx, %ebx
	setne	%sil
	shll	$2, %esi
	movq	%r13, %rdi
	callq	_avio_wb16
	movq	%r13, %rdi
	callq	_avio_tell
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_avio_wb16
	testl	%ebx, %ebx
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, %rdi
	movl	$16, %esi
	callq	_avio_wb32
	movq	%r13, %rdi
	movl	$12, %esi
	callq	_avio_wb32
	movq	%r13, %rdi
	leaq	L_.str(%rip), %rsi
	movl	$4, %edx
	callq	_avio_write
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_avio_wb32
LBB0_16:                                ##   in Loop: Header=BB0_2 Depth=1
	incl	-44(%rbp)                       ## 4-byte Folded Spill
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	leaq	16(%r15), %rdi
	leal	-12(%r14), %r12d
	movl	$0, -48(%rbp)
	movl	%r12d, %esi
	movq	%r13, %rdx
	leaq	-48(%rbp), %rcx
	movq	-96(%rbp), %r8                  ## 8-byte Reload
	callq	_describe_payload
	addq	%r12, %r15
	addq	$16, %r15
	movq	-112(%rbp), %rbx                ## 8-byte Reload
	subl	%r14d, %ebx
	addl	$-4, %ebx
	movq	%r13, %rdi
	callq	_avio_tell
	movq	%rax, %r14
	movq	_SEEK_SET@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	%r13, %rdi
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	callq	_avio_seek
	movl	-48(%rbp), %esi
	movq	%r13, %rdi
	callq	_avio_wb16
	movl	(%r12), %edx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_avio_seek
                                        ## kill: def $ebx killed $ebx killed $rbx
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_17
LBB0_18:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_avio_tell
	movq	%rax, %r15
	movq	_SEEK_SET@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	movq	%rbx, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	callq	_avio_seek
	movq	%rbx, %rdi
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	movl	%r12d, %esi
	callq	_avio_wb16
	movl	(%r14), %edx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_avio_seek
	movl	%r12d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_NOPTS_VALUE,8,3             ## @AV_NOPTS_VALUE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rtpo"

	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.no_dead_strip	_write_hint_packets
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_hint_packets
_write_hint_packets:                    ; @write_hint_packets
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x22, x4
	mov	x23, x3
	mov	x24, x2
	mov	x25, x1
	mov	x19, x0
	bl	_avio_tell
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	mov	x0, x19
	mov	w1, #0
	bl	_avio_wb16
	mov	x0, x19
	mov	w1, #0
	bl	_avio_wb16
	mov	w20, #0
	cmp	w24, #5
	b.lt	LBB0_17
; %bb.1:
	mov	w20, #0
	add	x8, x23, #24
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x25, x27, w28, uxtw
	mov	x24, x21
	cmp	w24, #4
	b.le	LBB0_17
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x25
	bl	_AV_RB32
	sub	w8, w24, #4
	subs	w21, w8, w0
	b.lt	LBB0_17
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x28, x0
	cmp	w0, #13
	b.lt	LBB0_17
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x27, x25, #4
	ldrsb	w0, [x25, #5]
	bl	_RTP_PT_IS_RTCP
	cbnz	x0, LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x23]
	cmp	w28, w8
	b.le	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	str	w28, [x23]
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x0, x25, #6
	bl	_AV_RB16
	mov	x26, x0
	add	x0, x25, #8
	bl	_AV_RB32
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	x8, [x23, #8]
	cbnz	x8, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	sxtw	x8, w0
	str	x8, [x23, #8]
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	sub	w21, w0, w8
	cmp	w21, #1
	b.lt	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
                                        ; kill: def $w0 killed $w0 killed $x0 def $x0
	sxtw	x8, w0
	ldr	x9, [x23, #16]
	add	x9, x9, w21, uxtw
	stp	x8, x9, [x23, #8]
	mov	w21, #0
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x22]
Lloh0:
	adrp	x9, _AV_NOPTS_VALUE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AV_NOPTS_VALUE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x23, #16]
	str	x8, [x22]
LBB0_14:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	mov	w1, #0
	bl	_avio_wb32
	mov	x0, x19
	mov	x1, x27
	mov	w2, #2
	bl	_avio_write
	mov	x0, x19
	mov	x1, x26
	bl	_avio_wb16
	cmp	w21, #0
	cset	w8, ne
	lsl	w1, w8, #2
	mov	x0, x19
	bl	_avio_wb16
	mov	x0, x19
	bl	_avio_tell
	mov	x26, x0
	mov	x0, x19
	mov	w1, #0
	bl	_avio_wb16
	cbz	w21, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	mov	w1, #16
	bl	_avio_wb32
	mov	x0, x19
	mov	w1, #12
	bl	_avio_wb32
	mov	x0, x19
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #4
	bl	_avio_write
	mov	x0, x19
	mov	x1, x21
	bl	_avio_wb32
LBB0_16:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w20, w20, #1
	add	x21, x25, #16
	sub	w25, w28, #12
	str	wzr, [sp, #28]
	add	x3, sp, #28
	mov	x0, x21
	mov	x1, x25
	mov	x2, x19
	ldr	x4, [sp, #16]                   ; 8-byte Folded Reload
	bl	_describe_payload
	add	x25, x21, x25
	sub	w8, w24, w28
	sub	w24, w8, #4
	mov	x0, x19
	bl	_avio_tell
	mov	x21, x0
Lloh5:
	adrp	x27, _SEEK_SET@GOTPAGE
Lloh6:
	ldr	x27, [x27, _SEEK_SET@GOTPAGEOFF]
	ldr	w2, [x27]
	mov	x0, x19
	mov	x1, x26
	bl	_avio_seek
	ldr	w1, [sp, #28]
	mov	x0, x19
	bl	_avio_wb16
	ldr	w2, [x27]
	mov	x0, x19
	mov	x1, x21
	bl	_avio_seek
	cmp	w24, #4
	b.gt	LBB0_3
LBB0_17:
	mov	x0, x19
	bl	_avio_tell
	mov	x21, x0
Lloh7:
	adrp	x22, _SEEK_SET@GOTPAGE
Lloh8:
	ldr	x22, [x22, _SEEK_SET@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	x0, x19
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	bl	_avio_seek
	mov	x0, x19
	mov	x1, x20
	bl	_avio_wb16
	ldr	w2, [x22]
	mov	x0, x19
	mov	x1, x21
	bl	_avio_seek
	mov	x0, x20
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_NOPTS_VALUE,8,3             ; @AV_NOPTS_VALUE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rtpo"

	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.no_dead_strip	_write_hint_packets
.subsections_via_symbols
