	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_rtp_send_vc2hq              ## -- Begin function ff_rtp_send_vc2hq
	.p2align	4, 0x90
_ff_rtp_send_vc2hq:                     ## @ff_rtp_send_vc2hq
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	testl	%edx, %edx
	jle	LBB0_8
## %bb.1:
	movq	%rsi, %rbx
	movslq	%edx, %rax
	leaq	(%rsi,%rax,4), %r14
	leaq	LJTI0_0(%rip), %r15
	jmp	LBB0_2
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %edx
	callq	_avpriv_report_missing_feature
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%rbx,%r13,4), %rbx
	cmpq	%r14, %rbx
	jae	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	16(%rbx), %r12d
	leaq	20(%rbx), %rdi
	callq	_AV_RB32
	movq	%rax, %r13
	leal	-128(%r12), %eax
	cmpl	$4, %eax
	ja	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	(%r15,%rax,4), %rax
	addq	%r15, %rax
	jmpq	*%rax
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_DIRAC_DATA_UNIT_HEADER_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%rbx,%rax,4), %rcx
	movq	%r13, %r8
	subq	%rax, %r8
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %esi
	xorl	%edx, %edx
	xorl	%r9d, %r9d
	pushq	$0
	pushq	$0
	callq	_send_packet
	addq	$16, %rsp
	jmp	LBB0_7
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_DIRAC_DATA_UNIT_HEADER_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%rbx,%rax,4), %rsi
	movq	%r13, %rdx
	subq	%rax, %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	callq	_send_picture
	jmp	LBB0_7
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_4
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.comm	_DIRAC_DATA_UNIT_HEADER_SIZE,8,3 ## @DIRAC_DATA_UNIT_HEADER_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VC-2 parse code %d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_rtp_send_vc2hq              ; -- Begin function ff_rtp_send_vc2hq
	.p2align	2
_ff_rtp_send_vc2hq:                     ; @ff_rtp_send_vc2hq
	.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
	cmp	w2, #1
	b.lt	LBB0_8
; %bb.1:
	mov	x19, x3
	mov	x20, x1
	mov	x21, x0
	add	x25, x1, w2, sxtw #2
Lloh0:
	adrp	x22, l_.str@PAGE
Lloh1:
	add	x22, x22, l_.str@PAGEOFF
Lloh2:
	adrp	x26, _DIRAC_DATA_UNIT_HEADER_SIZE@GOTPAGE
Lloh3:
	ldr	x26, [x26, _DIRAC_DATA_UNIT_HEADER_SIZE@GOTPAGEOFF]
Lloh4:
	adrp	x27, lJTI0_0@PAGE
Lloh5:
	add	x27, x27, lJTI0_0@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	mov	x1, x22
	mov	x2, x24
	bl	_avpriv_report_missing_feature
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x20, x20, x23, lsl #2
	cmp	x20, x25
	b.hs	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w24, [x20, #16]
	add	x0, x20, #20
	bl	_AV_RB32
	mov	x23, x0
	sub	w8, w24, #128
	cmp	w8, #4
	b.hi	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	adr	x9, LBB0_3
	ldrb	w10, [x27, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x26]
	add	x3, x20, x8, lsl #2
	sub	x4, x23, x8
	mov	x0, x21
	mov	x1, x24
	mov	w2, #0
	mov	w5, #0
	mov	w6, #0
	mov	w7, #0
	bl	_send_packet
	b	LBB0_3
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x26]
	add	x1, x20, x8, lsl #2
	sub	x2, x23, x8
	mov	x0, x21
	mov	x3, x19
	bl	_send_picture
	b	LBB0_3
LBB0_8:
	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
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_3-LBB0_3)>>2
                                        ; -- End function
	.comm	_DIRAC_DATA_UNIT_HEADER_SIZE,8,3 ; @DIRAC_DATA_UNIT_HEADER_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VC-2 parse code %d"

.subsections_via_symbols
