	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtp_send_samples
_rtp_send_samples:                      ## @rtp_send_samples
	.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, %r12d
	movl	%edx, %ebx
	movq	%rsi, %r13
	movq	%rdi, %r15
	movq	(%rdi), %r14
	movl	%ecx, %edi
	movl	$8, %esi
	callq	_av_gcd
	movl	%eax, %ecx
	movl	%r12d, %eax
	cltd
	idivl	%ecx
	movl	%eax, %ecx
	movl	(%r14), %esi
	movl	%esi, %eax
	cltd
	idivl	%ecx
	movl	%edx, %ecx
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	testb	$7, %r12b
	je	LBB0_1
LBB0_2:
	testl	%ebx, %ebx
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	jle	LBB0_5
## %bb.3:
	subl	%ecx, %esi
	movq	8(%r14), %rax
	xorl	%ecx, %ecx
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, 16(%r14)
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	%ebx, %esi
	callq	_FFMIN
	movl	%eax, %r12d
	movq	16(%r14), %rdi
	movq	%r13, %rsi
	movl	%eax, %edx
	callq	_memcpy
	movq	16(%r14), %rcx
	movq	%rbx, %r15
	movslq	%r12d, %rbx
	addq	%rbx, %rcx
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	leal	(,%r12,8), %eax
	cltd
	movq	%rcx, 16(%r14)
	idivl	-44(%rbp)                       ## 4-byte Folded Reload
	cltq
	addq	24(%r14), %rax
	leaq	(%r13,%rbx,4), %r13
	movq	%rax, 32(%r14)
	movq	8(%r14), %rsi
	subq	%rsi, %rcx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rcx, %rdx
	xorl	%ecx, %ecx
	callq	_ff_rtp_send_data
	movl	16(%r14), %ecx
	movq	8(%r14), %rax
	subl	%eax, %ecx
	addl	%r12d, %ecx
                                        ## kill: def $ecx killed $ecx def $rcx
	subl	%ebx, %r15d
	movq	%r15, %rbx
	jg	LBB0_4
LBB0_5:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	leal	(,%rbx,8), %eax
	cltd
	idivl	-44(%rbp)                       ## 4-byte Folded Reload
	testl	%edx, %edx
	je	LBB0_2
## %bb.6:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_rtp_send_samples
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtp_send_samples
_rtp_send_samples:                      ; @rtp_send_samples
	.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	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	ldr	x25, [x0]
	mov	x0, x3
	mov	w1, #8
	bl	_av_gcd
	ldr	w8, [x25]
	tst	w19, #0x7
	b.eq	LBB0_5
LBB0_1:
	cmp	w20, #1
	b.lt	LBB0_4
; %bb.2:
	mov	w26, #0
	sdiv	w9, w19, w0
	sdiv	w8, w8, w9
	mul	w23, w8, w9
	ldr	x8, [x25, #8]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	str	x8, [x25, #16]
	mov	x0, x23
	mov	x1, x20
	bl	_FFMIN
	mov	x24, x0
	ldr	x0, [x25, #16]
	mov	x1, x21
	mov	x2, x24
	bl	_memcpy
	sxtw	x8, w24
	ldp	x1, x9, [x25, #8]
	add	x8, x9, x8
	sub	x2, x8, x1
	str	x8, [x25, #16]
	add	x21, x21, w24, sxtw #2
	sub	w20, w20, w24
	ldr	x8, [x25, #24]
	lsl	w9, w26, #3
	sdiv	w9, w9, w19
	add	x8, x8, w9, sxtw
	str	x8, [x25, #32]
	mov	x0, x22
	mov	w3, #0
	bl	_ff_rtp_send_data
	ldr	w9, [x25, #16]
	ldr	x8, [x25, #8]
	sub	w9, w9, w8
	add	w26, w26, w9
	cmp	w20, #0
	b.gt	LBB0_3
LBB0_4:
	mov	w0, #0
	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
LBB0_5:
	lsl	w9, w20, #3
	sdiv	w10, w9, w19
	msub	w9, w10, w19, w9
	cbz	w9, LBB0_1
; %bb.6:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	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
	b	_AVERROR
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_rtp_send_samples
.subsections_via_symbols
