	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ff_rtp_send_latm               ## -- Begin function ff_rtp_send_latm
	.p2align	4, 0x90
_ff_rtp_send_latm:                      ## @ff_rtp_send_latm
	.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
                                        ## kill: def $edx killed $edx def $rdx
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	leal	-7(%rdx), %r12d
	leaq	28(%rsi), %rcx
	cmpq	$0, (%rax)
	cmovnel	%edx, %r12d
	cmovneq	%rsi, %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %r13
	movslq	%r12d, %r15
	imulq	$-2139062143, %r15, %r14        ## imm = 0x80808081
	shrq	$32, %r14
	addl	%r15d, %r14d
	movl	%r14d, %eax
	shrl	$31, %eax
	sarl	$7, %r14d
	movq	(%r13), %rdi
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	leal	(%r14,%rax), %ebx
	movl	$255, %esi
	movl	%ebx, %edx
	callq	_memset
	movl	%ebx, %eax
	shll	$8, %eax
	movslq	%ebx, %rcx
	subl	%eax, %ebx
	addl	%r15d, %ebx
	movq	(%r13), %rax
	movl	%ebx, (%rax,%rcx,4)
	movl	16(%r13), %eax
	movl	%eax, 20(%r13)
	testl	%r15d, %r15d
	jle	LBB0_6
## %bb.1:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addl	%eax, %r14d
	incl	%r14d
	movslq	%r14d, %rax
	xorl	%r15d, %r15d
	shlq	$2, %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movslq	%r15d, %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rcx,%rax,4), %rsi
	xorl	%ecx, %ecx
	testl	%r12d, %r12d
	sete	%cl
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %edx
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	callq	_ff_rtp_send_data
	addl	%ebx, %r15d
	testl	%r12d, %r12d
	jle	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rsi
	testl	%r15d, %r15d
	movl	$0, %eax
	cmovel	%r14d, %eax
	cltq
	subq	%rax, %rsi
	movl	%r12d, %edi
	callq	_FFMIN
	movl	%eax, %ebx
	subl	%eax, %r12d
	testl	%r15d, %r15d
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r13), %rdi
	addq	-48(%rbp), %rdi                 ## 8-byte Folded Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%ebx, %edx
	callq	_memcpy
	movq	(%r13), %rsi
	leal	(%rbx,%r14), %edx
	xorl	%ecx, %ecx
	testl	%r12d, %r12d
	sete	%cl
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_5
LBB0_6:
	addq	$24, %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
	.globl	_ff_rtp_send_latm               ; -- Begin function ff_rtp_send_latm
	.p2align	2
_ff_rtp_send_latm:                      ; @ff_rtp_send_latm
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x1
	mov	x19, x0
	ldp	x8, x23, [x0]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	sub	w9, w2, #7
	mov	w10, #28
	cmp	x8, #0
	csel	x25, x10, xzr, eq
	csel	w20, w9, w2, eq
	mov	w8, #32897
	movk	w8, #32896, lsl #16
	smull	x8, w20, w8
	lsr	x8, x8, #32
	add	w8, w8, w20
	asr	w9, w8, #7
	add	w22, w9, w8, lsr #31
	ldr	x0, [x23]
	mov	w1, #255
	mov	x2, x22
	bl	_memset
	sub	w8, w22, w22, lsl #8
	add	w8, w20, w8
	ldr	x9, [x23]
	str	w8, [x9, w22, sxtw #2]
	ldr	w8, [x23, #16]
	str	w8, [x23, #20]
	cmp	w20, #1
	b.lt	LBB0_6
; %bb.1:
	mov	w24, #0
	add	x21, x21, x25
	sxtw	x8, w22
	add	x25, x8, #1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x1, x21, w24, sxtw #2
	cmp	w20, #0
	cset	w3, eq
	mov	x0, x19
	mov	x2, x22
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_ff_rtp_send_data
	add	w24, w22, w24
	cmp	w20, #0
	b.le	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23, #8]
	cmp	w24, #0
	csel	w9, w25, wzr, eq
	sub	x1, x8, w9, sxtw
	mov	x0, x20
	bl	_FFMIN
	mov	x22, x0
	sub	w20, w20, w0
	cbnz	w24, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x23]
	add	x0, x8, x25, lsl #2
	mov	x1, x21
	mov	x2, x22
	bl	_memcpy
	ldr	x1, [x23]
	add	w2, w22, w25
	cmp	w20, #0
	cset	w3, eq
	mov	x0, x19
	b	LBB0_3
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
