	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_rtp_send_mpegvideo          ## -- Begin function ff_rtp_send_mpegvideo
	.p2align	4, 0x90
_ff_rtp_send_mpegvideo:                 ## @ff_rtp_send_mpegvideo
	.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	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	testl	%edx, %edx
	jle	LBB0_16
## %bb.1:
	movslq	%edx, %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movslq	(%rax), %rax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	leaq	-4(%rax), %r12
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	movl	$1, %r13d
	movq	%r12, -96(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%edx, %r15d
	movl	$1, %ecx
	xorl	%r14d, %r14d
LBB0_15:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	%ecx, -64(%rbp)                 ## 4-byte Spill
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	shll	$16, %eax
	shll	$13, %r14d
	shll	$12, %r13d
	shll	$11, %ecx
	orl	%r13d, %ecx
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	shll	$8, %edx
	orl	%eax, %edx
	orl	%r14d, %edx
	orl	%ecx, %edx
	movq	-104(%rbp), %r12                ## 8-byte Reload
	movq	8(%r12), %rbx
	movl	%edx, %eax
	sarl	$24, %eax
	movl	%eax, (%rbx)
	movl	%edx, %eax
	sarl	$16, %eax
	movl	%eax, 4(%rbx)
	movl	%edx, %eax
	sarl	$8, %eax
	movl	%eax, 8(%rbx)
	leaq	16(%rbx), %rdi
	movl	%edx, 12(%rbx)
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rsi
	movl	%r15d, %edx
	callq	_memcpy
	movslq	%r15d, %r14
	leaq	(%rbx,%r14,4), %rdx
	addq	$16, %rdx
	movl	16(%r12), %eax
	movl	%eax, 20(%r12)
	movq	8(%r12), %rsi
	subq	%rsi, %rdx
	shrq	$2, %rdx
	xorl	%ecx, %ecx
	movl	-68(%rbp), %ebx                 ## 4-byte Reload
	cmpl	%r14d, %ebx
	sete	%cl
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_ff_rtp_send_data
	leaq	(%r13,%r14,4), %r13
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movl	-64(%rbp), %r13d                ## 4-byte Reload
	subl	%r14d, %ebx
	movl	%ebx, %edx
	movq	-96(%rbp), %r12                 ## 8-byte Reload
	jle	LBB0_16
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_5 Depth 2
	cmpl	%edx, %r12d
	movl	%edx, -68(%rbp)                 ## 4-byte Spill
	jge	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r14d, %r14d
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_5:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	$-1, -60(%rbp)
	movq	%rbx, %rdi
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	leaq	-60(%rbp), %rdx
	callq	_avpriv_find_start_code
	movl	-60(%rbp), %ecx
	movl	%ecx, %edx
	andl	$-256, %edx
	cmpl	$256, %edx                      ## imm = 0x100
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=2
	cmpl	$256, %ecx                      ## imm = 0x100
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=2
	movl	(%rax), %edx
	movl	4(%rax), %esi
	movl	%esi, %edi
	shrl	$3, %edi
	andl	$7, %edi
	movl	%edi, -52(%rbp)                 ## 4-byte Spill
	shll	$2, %edx
	sarl	$6, %esi
	orl	%edx, %esi
	movl	%esi, -56(%rbp)                 ## 4-byte Spill
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=2
	cmpl	$440, %ecx                      ## imm = 0x1B8
	movl	$1, %ecx
	cmovel	%ecx, %r14d
	movq	%rax, %r15
	subq	-48(%rbp), %r15                 ## 8-byte Folded Reload
	sarq	$2, %r15
	addq	$-4, %r15
	cmpq	%r12, %r15
	jg	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=2
	movq	%rax, %rbx
	testl	%r13d, %r13d
	jne	LBB0_5
LBB0_14:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %ecx
	jmp	LBB0_15
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %r15
	subq	-48(%rbp), %r15                 ## 8-byte Folded Reload
	cmpq	$17, %r15
	jl	LBB0_6
## %bb.12:                              ##   in Loop: Header=BB0_2 Depth=1
	subq	%rbx, %rax
	sarq	$2, %rax
	cmpq	-88(%rbp), %rax                 ## 8-byte Folded Reload
	jge	LBB0_6
## %bb.13:                              ##   in Loop: Header=BB0_2 Depth=1
	shrq	$2, %r15
	addl	$-4, %r15d
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	%r12d, %r15d
	xorl	%ecx, %ecx
	jmp	LBB0_15
LBB0_16:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function ff_rtp_send_mpegvideo
lCPI0_0:
	.long	4294967272                      ; 0xffffffe8
	.long	4294967280                      ; 0xfffffff0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_ff_rtp_send_mpegvideo
	.p2align	2
_ff_rtp_send_mpegvideo:                 ; @ff_rtp_send_mpegvideo
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	d9, d8, [sp, #32]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	str	x0, [sp, #16]                   ; 8-byte Folded Spill
	cmp	w2, #1
	b.lt	LBB0_14
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	w26, #0
	str	wzr, [sp, #24]                  ; 4-byte Folded Spill
	add	x22, x1, w2, sxtw #2
	ldr	x8, [sp, #16]                   ; 8-byte Folded Reload
	ldr	x25, [x8]
	ldrsw	x8, [x25]
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	sub	x28, x8, #4
	mov	w27, #-1
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d8, [x8, lCPI0_0@PAGEOFF]
	mov	w24, #1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w21, #0
	mov	w27, #1
	mov	x23, x19
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	lsl	w8, w24, #12
	bfi	w8, w27, #11, #1
	ldr	w9, [sp, #24]                   ; 4-byte Folded Reload
	orr	w8, w8, w9, lsl #8
	orr	w8, w8, w26, lsl #16
	orr	w8, w8, w21, lsl #13
	ldr	x9, [x25, #8]
	dup.2s	v0, w8
	sshl.2s	v0, v0, v8
	str	d0, [x9]
	asr	w10, w8, #8
	add	x24, x9, #16
	stp	w10, w8, [x9, #8]
	mov	x0, x24
	mov	x1, x20
	mov	x2, x23
	bl	_memcpy
	sbfiz	x21, x23, #2, #32
	ldr	w8, [x25, #16]
	str	w8, [x25, #20]
	ldr	x1, [x25, #8]
	add	x8, x24, x21
	sub	x8, x8, x1
	lsr	x2, x8, #2
	subs	w19, w19, w23
	cset	w3, eq
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_ff_rtp_send_data
	add	x20, x20, x21
	mov	x24, x27
	cmp	w19, #0
	mov	w27, #-1
	b.le	LBB0_14
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	cmp	w28, w19
	b.ge	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w21, #0
	mov	x23, x20
LBB0_6:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	str	w27, [sp, #28]
	add	x2, sp, #28
	mov	x0, x23
	mov	x1, x22
	bl	_avpriv_find_start_code
	ldr	w8, [sp, #28]
	and	w9, w8, #0xffffff00
	cmp	w9, #256
	b.ne	LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	cmp	w8, #256
	b.ne	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=2
	ldp	w10, w9, [x0]
	ubfx	w11, w9, #3, #3
	str	w11, [sp, #24]                  ; 4-byte Folded Spill
	lsl	w10, w10, #2
	orr	w26, w10, w9, asr #6
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=2
	cmp	w8, #440
	csinc	w21, w21, wzr, ne
	sub	x8, x0, x20
	asr	x8, x8, #2
	sub	x8, x8, #4
	cmp	x8, x28
	b.gt	LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=2
	mov	x23, x0
	cbnz	w24, LBB0_6
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w27, #1
	mov	x23, x8
	b	LBB0_3
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w27, #0
	mov	x23, x28
	b	LBB0_3
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	sub	x8, x23, x20
	sub	x9, x0, x23
	lsr	x10, x8, #2
	sub	w10, w10, #4
	ldr	x11, [sp, #8]                   ; 8-byte Folded Reload
	cmp	x11, x9, asr #2
	csel	w9, w28, w10, le
	mov	w10, #1
	csel	w10, wzr, w10, le
	cmp	x8, #17
	csel	w23, w28, w9, lt
	csel	w27, wzr, w10, lt
	b	LBB0_3
LBB0_14:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
