	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function ff_rtp_send_h261
LCPI0_0:
	.long	1                               ## 0x1
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_ff_rtp_send_h261
	.p2align	4, 0x90
_ff_rtp_send_h261:                      ## @ff_rtp_send_h261
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %r15
	movl	16(%r15), %eax
	movl	%eax, 20(%r15)
	testl	%edx, %edx
	jle	LBB0_9
## %bb.1:
	movl	%edx, %r13d
	movq	%rsi, %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	xorl	%r12d, %r12d
	cmpl	%ebx, %r13d
	sete	%r12b
	movq	_RTP_H261_HEADER_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	shlq	$2, %rdi
	addq	(%r15), %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_memcpy
	movq	(%r15), %rsi
	movslq	%ebx, %rbx
	movq	_RTP_H261_HEADER_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	addq	%rbx, %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %ecx
	callq	_ff_rtp_send_data
	leaq	(%r14,%rbx,4), %r14
	subl	%ebx, %r13d
	jle	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [1,0,0,0]
	movups	%xmm0, (%rax)
	cmpl	$1, %r13d
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$0, (%r14)
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$1, 4(%r14)
	je	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str(%rip), %rdx
	callq	_av_log
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r15), %rdi
	movq	_RTP_H261_HEADER_SIZE@GOTPCREL(%rip), %rax
	subq	(%rax), %rdi
	movl	%r13d, %esi
	callq	_FFMIN
	movl	%eax, %ebx
	cmpl	%r13d, %eax
	jge	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	%ebx, %rax
	leaq	(%r14,%rax,4), %rsi
	movq	%r14, %rdi
	callq	_find_resync_marker_reverse
	movq	%rax, %rbx
	subq	%r14, %rbx
	shrq	$2, %rbx
	jmp	LBB0_8
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RTP/H.261 packet not cut at a GOB boundary, not signaled correctly\n"

	.comm	_RTP_H261_HEADER_SIZE,8,3       ## @RTP_H261_HEADER_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function ff_rtp_send_h261
lCPI0_0:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_ff_rtp_send_h261
	.p2align	2
_ff_rtp_send_h261:                      ; @ff_rtp_send_h261
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	ldr	x25, [x0]
	ldr	w8, [x25, #16]
	str	w8, [x25, #20]
	cmp	w2, #1
	b.lt	LBB0_9
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	str	q0, [sp]                        ; 16-byte Folded Spill
Lloh2:
	adrp	x26, _AV_LOG_WARNING@GOTPAGE
Lloh3:
	ldr	x26, [x26, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh4:
	adrp	x22, l_.str@PAGE
Lloh5:
	add	x22, x22, l_.str@PAGEOFF
Lloh6:
	adrp	x27, _RTP_H261_HEADER_SIZE@GOTPAGE
Lloh7:
	ldr	x27, [x27, _RTP_H261_HEADER_SIZE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	subs	w19, w19, w23
	cset	w24, eq
	ldr	x8, [x25]
	ldr	x9, [x27]
	add	x0, x8, x9, lsl #2
	mov	x1, x20
	mov	x2, x23
	bl	_memcpy
	ldr	x1, [x25]
	ldr	x8, [x27]
	sxtw	x9, w23
	add	x2, x8, x9
	mov	x0, x21
	mov	x3, x24
	bl	_ff_rtp_send_data
	add	x20, x20, w23, sxtw #2
	cmp	w19, #0
	b.le	LBB0_9
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25]
	ldr	q0, [sp]                        ; 16-byte Folded Reload
	str	q0, [x8]
	cmp	w19, #1
	b.eq	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x20]
	cbnz	w8, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x20, #4]
	cmp	w8, #1
	b.eq	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w1, [x26]
	mov	x0, x21
	mov	x2, x22
	bl	_av_log
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x25, #8]
	ldr	x9, [x27]
	sub	x0, x8, x9
	mov	x1, x19
	bl	_FFMIN
	mov	x23, x0
	cmp	w0, w19
	b.ge	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x1, x20, w23, sxtw #2
	mov	x0, x20
	bl	_find_resync_marker_reverse
	sub	x8, x0, x20
	lsr	x23, x8, #2
                                        ; kill: def $w23 killed $w23 killed $x23 def $x23
	b	LBB0_2
LBB0_9:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RTP/H.261 packet not cut at a GOB boundary, not signaled correctly\n"

	.comm	_RTP_H261_HEADER_SIZE,8,3       ; @RTP_H261_HEADER_SIZE
.subsections_via_symbols
