	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_mov_add_hinted_packet       ## -- Begin function ff_mov_add_hinted_packet
	.p2align	4, 0x90
_ff_mov_add_hinted_packet:              ## @ff_mov_add_hinted_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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rdi), %rax
	movq	(%rax), %r15
	movslq	%edx, %rax
	shlq	$4, %rax
	movq	8(%r15,%rax), %rbx
	movq	$0, -48(%rbp)
	movq	$0, -56(%rbp)
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.3:
	cmpq	$0, (%rbx)
	je	LBB0_4
## %bb.5:
	movl	%edx, %r12d
	movq	%rsi, %r13
	movq	%rdi, %r14
	addq	%rax, %r15
	testq	%r8, %r8
	je	LBB0_7
## %bb.6:
	movq	%r15, %rdi
	movq	%r8, %rsi
	movl	%r9d, %edx
	jmp	LBB0_8
LBB0_1:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %edi
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_7:
	movq	24(%r13), %rsi
	movl	(%r13), %edx
	movq	%r15, %rdi
LBB0_8:
	callq	_sample_queue_push
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	%r13, -104(%rbp)                ## 8-byte Spill
	movq	%r13, %rdx
	movq	%r14, %rcx
	xorl	%r8d, %r8d
	callq	_ff_write_chained
	movq	(%rbx), %rdi
	leaq	-48(%rbp), %rsi
	callq	_avio_close_dyn_buf
	movl	%eax, %r13d
	movq	_RTP_MAX_PACKET_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_ffio_open_dyn_packet_buf
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_15
## %bb.9:
	testl	%r13d, %r13d
	jle	LBB0_15
## %bb.10:
	leaq	-56(%rbp), %rdi
	callq	_avio_open_dyn_buf
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_15
## %bb.11:
	leaq	-96(%rbp), %rdi
	callq	_av_init_packet
	movq	-56(%rbp), %rdi
	movq	-48(%rbp), %rsi
	leaq	-84(%rbp), %r8
	movl	%r13d, %edx
	movq	%r15, %rcx
	callq	_write_hint_packets
	movl	%eax, -60(%rbp)                 ## 4-byte Spill
	leaq	-48(%rbp), %r13
	movq	%r13, %rdi
	callq	_av_freep
	movq	-56(%rbp), %rdi
	movq	%r13, %rsi
	callq	_avio_close_dyn_buf
	movl	%eax, -96(%rbp)
	movq	-48(%rbp), %rax
	movq	%rax, -72(%rbp)
	movl	-84(%rbp), %eax
	movl	%eax, -80(%rbp)
	movl	%r12d, -92(%rbp)
	movq	_AV_PKT_FLAG_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	testl	%eax, 8(%rcx)
	je	LBB0_13
## %bb.12:
	orl	%eax, -88(%rbp)
LBB0_13:
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	jle	LBB0_15
## %bb.14:
	leaq	-96(%rbp), %rsi
	movq	%r14, %rdi
	callq	_ff_mov_write_packet
LBB0_15:
	movq	-48(%rbp), %rdi
	callq	_av_free
	movq	%r15, %rdi
	callq	_sample_queue_retain
	movl	%ebx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_RTP_MAX_PACKET_SIZE,4,2        ## @RTP_MAX_PACKET_SIZE
	.comm	_AV_PKT_FLAG_KEY,4,2            ## @AV_PKT_FLAG_KEY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_mov_add_hinted_packet       ; -- Begin function ff_mov_add_hinted_packet
	.p2align	2
_ff_mov_add_hinted_packet:              ; @ff_mov_add_hinted_packet
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	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
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	add	x19, x8, w2, sxtw #4
	ldr	x23, [x19, #8]
	stp	xzr, xzr, [sp, #32]
	cbz	x23, LBB0_4
; %bb.1:
	ldr	x8, [x23]
	cbz	x8, LBB0_5
; %bb.2:
	mov	x22, x2
	mov	x21, x1
	mov	x20, x0
	cbz	x4, LBB0_7
; %bb.3:
	mov	x0, x19
	mov	x1, x4
	mov	x2, x5
	b	LBB0_8
LBB0_4:
Lloh0:
	adrp	x8, _ENOENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh2:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	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
	add	sp, sp, #128
	b	_AVERROR
LBB0_7:
	ldr	x1, [x21, #24]
	ldr	w2, [x21]
	mov	x0, x19
LBB0_8:
	bl	_sample_queue_push
	mov	x0, x23
	mov	w1, #0
	mov	x2, x21
	mov	x3, x20
	mov	w4, #0
	bl	_ff_write_chained
	ldr	x0, [x23]
	add	x1, sp, #40
	bl	_avio_close_dyn_buf
	mov	x24, x0
Lloh4:
	adrp	x8, _RTP_MAX_PACKET_SIZE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _RTP_MAX_PACKET_SIZE@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_ffio_open_dyn_packet_buf
	mov	x23, x0
	tbnz	w0, #31, LBB0_15
; %bb.9:
	cmp	w24, #1
	b.lt	LBB0_15
; %bb.10:
	add	x0, sp, #32
	bl	_avio_open_dyn_buf
	mov	x23, x0
	tbnz	w0, #31, LBB0_15
; %bb.11:
	mov	x25, sp
	mov	x0, sp
	bl	_av_init_packet
	ldp	x0, x1, [sp, #32]
	add	x4, x25, #12
	mov	x2, x24
	mov	x3, x19
	bl	_write_hint_packets
	mov	x24, x0
	add	x0, sp, #40
	bl	_av_freep
	ldr	x0, [sp, #32]
	add	x1, sp, #40
	bl	_avio_close_dyn_buf
	ldr	x8, [sp, #40]
	str	x8, [sp, #24]
	ldr	w8, [sp, #12]
	str	w8, [sp, #16]
	stp	w0, w22, [sp]
	ldr	w9, [x21, #8]
Lloh7:
	adrp	x8, _AV_PKT_FLAG_KEY@GOTPAGE
Lloh8:
	ldr	x8, [x8, _AV_PKT_FLAG_KEY@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	tst	w8, w9
	b.eq	LBB0_13
; %bb.12:
	ldr	w9, [sp, #8]
	orr	w8, w9, w8
	str	w8, [sp, #8]
LBB0_13:
	cmp	w24, #1
	b.lt	LBB0_15
; %bb.14:
	mov	x1, sp
	mov	x0, x20
	bl	_ff_mov_write_packet
LBB0_15:
	ldr	x0, [sp, #40]
	bl	_av_free
	mov	x0, x19
	bl	_sample_queue_retain
	mov	x0, x23
	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
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_RTP_MAX_PACKET_SIZE,4,2        ; @RTP_MAX_PACKET_SIZE
	.comm	_AV_PKT_FLAG_KEY,4,2            ; @AV_PKT_FLAG_KEY
.subsections_via_symbols
