	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtp_send_ilbc
_rtp_send_ilbc:                         ## @rtp_send_ilbc
	.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	%edx, %r13d
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	8(%rdi), %rax
	movq	16(%rdi), %rbx
	movq	(%rax), %r15
	movq	8(%r15), %rdi
	xorl	%esi, %esi
	callq	_av_get_audio_frame_duration2
	movl	%eax, %ecx
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	8(%r15), %rax
	movslq	(%rax), %r15
	movl	%r13d, %eax
	cltd
	idivl	%r15d
	testl	%eax, %eax
	jle	LBB0_12
## %bb.1:
	movl	%eax, %r13d
	movslq	%ecx, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rax
	incl	%r13d
	leaq	(,%r15,4), %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	decl	%r13d
	addq	-56(%rbp), %r12                 ## 8-byte Folded Reload
	cmpl	$1, %r13d
	jbe	LBB0_12
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rax, %rax
	jle	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	32(%rbx), %rdi
	subq	40(%rbx), %rdi
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movl	(%r14), %edx
	movq	_AV_TIME_BASE_Q@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_av_compare_ts
	testq	%rax, %rax
	js	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %rsi
	movq	24(%rbx), %rdx
	subq	%rsi, %rdx
	movq	%r14, %rdi
	movl	$1, %ecx
	callq	_ff_rtp_send_data
	movq	$0, (%rbx)
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rbx), %rax
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	testq	%rax, %rax
	je	LBB0_5
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%rbx), %rdi
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %rdi
	movq	32(%rbx), %rax
	movq	%rdi, 24(%rbx)
	movq	%rax, 40(%rbx)
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rsi
	movl	%r15d, %edx
	callq	_memcpy
	movq	(%rbx), %rax
	incq	%rax
	movq	%rax, (%rbx)
	movq	24(%rbx), %rdx
	addq	%r15, %rdx
	movq	%rdx, 24(%rbx)
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	addq	%rcx, 32(%rbx)
	cmpq	8(%rbx), %rax
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %rsi
	subq	%rsi, %rdx
	movq	%r14, %rdi
	movl	$1, %ecx
	callq	_ff_rtp_send_data
	movq	$0, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_12:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_TIME_BASE_Q,4,2             ## @AV_TIME_BASE_Q
	.no_dead_strip	_rtp_send_ilbc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtp_send_ilbc
_rtp_send_ilbc:                         ; @rtp_send_ilbc
	.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
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	ldp	x8, x23, [x0, #8]
	ldr	x24, [x8]
	ldr	x0, [x24, #8]
	mov	w1, #0
	bl	_av_get_audio_frame_duration2
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	x8, [x24, #8]
	ldrsw	x21, [x8]
	sdiv	w9, w22, w21
	cmp	w9, #1
	b.lt	LBB0_12
; %bb.1:
	sxtw	x22, w0
	ldr	x8, [x23]
	add	w25, w9, #1
	lsl	x26, x21, #2
Lloh0:
	adrp	x27, _AV_TIME_BASE_Q@GOTPAGE
Lloh1:
	ldr	x27, [x27, _AV_TIME_BASE_Q@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	sub	w25, w25, #1
	add	x19, x19, x26
	cmp	w25, #1
	b.ls	LBB0_12
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x8, #1
	b.lt	LBB0_7
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	x8, x9, [x23, #32]
	sub	x0, x8, x9
	ldr	w1, [x24]
	ldr	w2, [x20]
	ldr	w3, [x27]
	bl	_av_compare_ts
	tbnz	x0, #63, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldp	x1, x8, [x23, #16]
	sub	x2, x8, x1
	mov	x0, x20
	mov	w3, #1
	bl	_ff_rtp_send_data
	str	xzr, [x23]
	b	LBB0_9
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x23]
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	cbz	x8, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x23, #24]
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [x23, #16]
	str	x0, [x23, #24]
	ldr	x8, [x23, #32]
	str	x8, [x23, #40]
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x1, x19
	mov	x2, x21
	bl	_memcpy
	ldp	x8, x10, [x23]
	add	x8, x8, #1
	str	x8, [x23]
	ldp	x9, x11, [x23, #24]
	add	x9, x9, x21
	add	x11, x11, x22
	stp	x9, x11, [x23, #24]
	cmp	x8, x10
	b.ne	LBB0_2
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x1, [x23, #16]
	sub	x2, x9, x1
	mov	x0, x20
	mov	w3, #1
	bl	_ff_rtp_send_data
	mov	x8, #0
	str	xzr, [x23]
	b	LBB0_2
LBB0_12:
	mov	w0, #0
	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 AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_TIME_BASE_Q,4,2             ; @AV_TIME_BASE_Q
	.no_dead_strip	_rtp_send_ilbc
.subsections_via_symbols
