	.file	"120761.c"
	.intel_syntax noprefix
	.text
	.local	rc_param
	.comm	rc_param,64,32
	.globl	RateCtlInit
	.type	RateCtlInit, @function
RateCtlInit:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	QWORD PTR -16[rbp], xmm1
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	movsd	xmm0, QWORD PTR -8[rbp]
	movsd	QWORD PTR rc_param[rip], xmm0
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR rc_param[rip+8], eax
	movsd	xmm0, QWORD PTR -16[rbp]
	movsd	QWORD PTR rc_param[rip+16], xmm0
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, QWORD PTR -40[rbp]
	movsd	QWORD PTR rc_param[rip+56], xmm0
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, QWORD PTR -24[rbp]
	movsd	xmm0, QWORD PTR .LC0[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR rc_param[rip+40], xmm0
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, QWORD PTR -32[rbp]
	movsd	xmm0, QWORD PTR .LC0[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR rc_param[rip+48], xmm0
	movsd	xmm0, QWORD PTR -16[rbp]
	movsd	QWORD PTR rc_param[rip+24], xmm0
	movsd	xmm0, QWORD PTR -16[rbp]
	movsd	QWORD PTR rc_param[rip+32], xmm0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	RateCtlInit, .-RateCtlInit
	.globl	RateCtlGetQ
	.type	RateCtlGetQ, @function
RateCtlGetQ:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movsd	QWORD PTR -24[rbp], xmm0
	movsd	xmm0, QWORD PTR rc_param[rip]
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm1, QWORD PTR -8[rbp]
	movsd	xmm0, QWORD PTR .LC1[rip]
	addsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	RateCtlGetQ, .-RateCtlGetQ
	.globl	RateCtlUpdate
	.type	RateCtlUpdate, @function
RateCtlUpdate:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -52[rbp], edi
	movsd	xmm0, QWORD PTR rc_param[rip+24]
	movsd	QWORD PTR -40[rbp], xmm0
	movsd	xmm0, QWORD PTR rc_param[rip+40]
	movsd	QWORD PTR -32[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC0[rip]
	subsd	xmm0, QWORD PTR -32[rbp]
	movsd	QWORD PTR -24[rbp], xmm0
	movsd	xmm0, QWORD PTR -40[rbp]
	movapd	xmm1, xmm0
	mulsd	xmm1, QWORD PTR -24[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -52[rbp]
	mulsd	xmm0, QWORD PTR -32[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -40[rbp], xmm0
	movsd	xmm0, QWORD PTR -40[rbp]
	movsd	QWORD PTR rc_param[rip+24], xmm0
	movsd	xmm0, QWORD PTR rc_param[rip+16]
	movsd	QWORD PTR -16[rbp], xmm0
	movsd	xmm0, QWORD PTR -40[rbp]
	comisd	xmm0, QWORD PTR -16[rbp]
	jbe	.L31
	movsd	xmm0, QWORD PTR -40[rbp]
	movapd	xmm1, xmm0
	subsd	xmm1, QWORD PTR -16[rbp]
	movsd	xmm0, QWORD PTR -16[rbp]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -48[rbp], xmm0
	movsd	xmm1, QWORD PTR -16[rbp]
	movsd	xmm0, QWORD PTR .LC2[rip]
	mulsd	xmm0, xmm1
	comisd	xmm0, QWORD PTR -48[rbp]
	jbe	.L8
	movsd	xmm1, QWORD PTR -16[rbp]
	movsd	xmm0, QWORD PTR .LC2[rip]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -48[rbp], xmm0
	jmp	.L8
.L31:
	movsd	xmm0, QWORD PTR -16[rbp]
	movsd	QWORD PTR -48[rbp], xmm0
.L8:
	movsd	xmm0, QWORD PTR rc_param[rip+32]
	movsd	QWORD PTR -40[rbp], xmm0
	movsd	xmm0, QWORD PTR rc_param[rip+48]
	movsd	QWORD PTR -32[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC0[rip]
	subsd	xmm0, QWORD PTR -32[rbp]
	movsd	QWORD PTR -24[rbp], xmm0
	movsd	xmm0, QWORD PTR -40[rbp]
	movapd	xmm1, xmm0
	mulsd	xmm1, QWORD PTR -24[rbp]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -52[rbp]
	mulsd	xmm0, QWORD PTR -32[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -40[rbp], xmm0
	movsd	xmm0, QWORD PTR -40[rbp]
	movsd	QWORD PTR rc_param[rip+32], xmm0
	mov	eax, DWORD PTR max_quantizer[rip]
	mov	edx, DWORD PTR min_quantizer[rip]
	sub	eax, edx
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	edx, eax
	mov	eax, DWORD PTR min_quantizer[rip]
	add	eax, edx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm0, QWORD PTR -48[rbp]
	comisd	xmm0, QWORD PTR -40[rbp]
	jbe	.L10
	movsd	xmm1, QWORD PTR rc_param[rip]
	movsd	xmm2, QWORD PTR rc_param[rip+48]
	movsd	xmm0, QWORD PTR -48[rbp]
	subsd	xmm0, QWORD PTR -40[rbp]
	divsd	xmm0, QWORD PTR -48[rbp]
	movsd	xmm3, QWORD PTR .LC3[rip]
	divsd	xmm0, xmm3
	mulsd	xmm2, xmm0
	movsd	xmm0, QWORD PTR .LC0[rip]
	subsd	xmm0, xmm2
	mulsd	xmm0, xmm1
	movsd	QWORD PTR rc_param[rip], xmm0
.L10:
	movsd	xmm1, QWORD PTR rc_param[rip]
	mov	eax, DWORD PTR min_quantizer[rip]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	comisd	xmm0, xmm1
	jbe	.L12
	mov	eax, DWORD PTR min_quantizer[rip]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	QWORD PTR rc_param[rip], xmm0
.L12:
	movsd	xmm0, QWORD PTR -40[rbp]
	comisd	xmm0, QWORD PTR -48[rbp]
	jbe	.L14
	movsd	xmm0, QWORD PTR rc_param[rip]
	comisd	xmm0, QWORD PTR -8[rbp]
	jbe	.L32
	movsd	xmm1, QWORD PTR rc_param[rip]
	movsd	xmm0, QWORD PTR rc_param[rip+48]
	movsd	xmm3, QWORD PTR rc_param[rip+56]
	movapd	xmm2, xmm0
	divsd	xmm2, xmm3
	movsd	xmm0, QWORD PTR .LC0[rip]
	addsd	xmm0, xmm2
	mulsd	xmm0, xmm1
	movsd	QWORD PTR rc_param[rip], xmm0
	jmp	.L14
.L32:
	movsd	xmm1, QWORD PTR -48[rbp]
	movsd	xmm0, QWORD PTR .LC4[rip]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -40[rbp]
	comisd	xmm0, xmm1
	jbe	.L33
	movsd	xmm1, QWORD PTR rc_param[rip]
	movsd	xmm2, QWORD PTR rc_param[rip+48]
	movsd	xmm0, QWORD PTR .LC0[rip]
	addsd	xmm0, xmm2
	mulsd	xmm0, xmm1
	movsd	QWORD PTR rc_param[rip], xmm0
	jmp	.L14
.L33:
	movsd	xmm1, QWORD PTR rc_param[rip]
	movsd	xmm2, QWORD PTR rc_param[rip+48]
	movsd	xmm0, QWORD PTR -40[rbp]
	subsd	xmm0, QWORD PTR -48[rbp]
	divsd	xmm0, QWORD PTR -48[rbp]
	movsd	xmm3, QWORD PTR .LC3[rip]
	divsd	xmm0, xmm3
	mulsd	xmm2, xmm0
	movsd	xmm0, QWORD PTR .LC0[rip]
	addsd	xmm0, xmm2
	mulsd	xmm0, xmm1
	movsd	QWORD PTR rc_param[rip], xmm0
.L14:
	movsd	xmm0, QWORD PTR rc_param[rip]
	mov	eax, DWORD PTR max_quantizer[rip]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	comisd	xmm0, xmm1
	ja	.L30
	jmp	.L5
.L30:
	mov	eax, DWORD PTR max_quantizer[rip]
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	QWORD PTR rc_param[rip], xmm0
	nop
.L5:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	RateCtlUpdate, .-RateCtlUpdate
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1072693248
	.align 8
.LC1:
	.long	0
	.long	1071644672
	.align 8
.LC2:
	.long	0
	.long	1072168960
	.align 8
.LC3:
	.long	-1717986918
	.long	1070176665
	.align 8
.LC4:
	.long	858993459
	.long	1072902963
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"120761.c"
	.text
	.local	rc_param
	.comm	rc_param,64,8
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.align	2
	.global	RateCtlInit
	.syntax unified
	.arm
	.fpu softvfp
	.type	RateCtlInit, %function
RateCtlInit:
	@ args = 12, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-12]
	str	r1, [fp, #-8]
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r1, .L3
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r2, .L3
	ldr	r3, [fp, #4]
	str	r3, [r2, #8]
	ldr	r1, .L3
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	str	r2, [r1, #16]
	str	r3, [r1, #20]
	ldr	r0, [fp, #12]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L3
	str	r2, [r1, #56]
	str	r3, [r1, #60]
	ldr	r0, [fp, #4]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L3+4
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L3
	str	r2, [r1, #40]
	str	r3, [r1, #44]
	ldr	r0, [fp, #8]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L3+4
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L3
	str	r2, [r1, #48]
	str	r3, [r1, #52]
	ldr	r1, .L3
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	str	r2, [r1, #24]
	str	r3, [r1, #28]
	ldr	r1, .L3
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	str	r2, [r1, #32]
	str	r3, [r1, #36]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	rc_param
	.word	1072693248
	.size	RateCtlInit, .-RateCtlInit
	.global	__aeabi_dadd
	.global	__aeabi_d2iz
	.align	2
	.global	RateCtlGetQ
	.syntax unified
	.arm
	.fpu softvfp
	.type	RateCtlGetQ, %function
RateCtlGetQ:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	ldr	r3, .L7
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	mov	r2, #0
	ldr	r3, .L7+4
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	rc_param
	.word	1071644672
	.size	RateCtlGetQ, .-RateCtlGetQ
	.global	__aeabi_dsub
	.global	__aeabi_dmul
	.global	__aeabi_dcmpgt
	.global	__aeabi_dcmplt
	.align	2
	.global	RateCtlUpdate
	.syntax unified
	.arm
	.fpu softvfp
	.type	RateCtlUpdate, %function
RateCtlUpdate:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #56
	str	r0, [fp, #-72]
	ldr	r3, .L38
	add	r3, r3, #24
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	ldr	r3, .L38
	add	r3, r3, #40
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	mov	r0, #0
	ldr	r1, .L38+4
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r0, [fp, #-72]
	bl	__aeabi_i2d
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	ldr	r1, .L38
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	str	r2, [r1, #24]
	str	r3, [r1, #28]
	ldr	r3, .L38
	add	r3, r3, #16
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L35
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	mov	r2, #0
	ldr	r3, .L38+8
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L12
	mov	r2, #0
	ldr	r3, .L38+8
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	b	.L12
.L35:
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
.L12:
	ldr	r3, .L38
	add	r3, r3, #32
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	ldr	r3, .L38
	add	r3, r3, #48
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	mov	r0, #0
	ldr	r1, .L38+4
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r0, [fp, #-72]
	bl	__aeabi_i2d
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	ldr	r1, .L38
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	str	r2, [r1, #32]
	str	r3, [r1, #36]
	ldr	r3, .L38+12
	ldr	r2, [r3]
	ldr	r3, .L38+16
	ldr	r3, [r3]
	sub	r3, r2, r3
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, .L38+16
	ldr	r3, [r3]
	add	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	ldr	r3, .L38
	ldmia	r3, {r4-r5}
	ldr	r3, .L38
	add	r7, r3, #48
	ldmia	r7, {r6-r7}
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, .L38+20
	ldr	r3, .L38+24
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L38+4
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L38
	stm	r1, {r2-r3}
.L14:
	ldr	r3, .L38
	ldmia	r3, {r4-r5}
	ldr	r3, .L38+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L16
	ldr	r3, .L38+16
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L38
	stm	r1, {r2-r3}
.L16:
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L18
	ldr	r3, .L38
	ldmia	r3, {r2-r3}
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L36
	ldr	r3, .L38
	ldmia	r3, {r4-r5}
	ldr	r3, .L38
	add	r1, r3, #48
	ldmia	r1, {r0-r1}
	ldr	r3, .L38
	add	r3, r3, #56
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L38+4
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L38
	stm	r1, {r2-r3}
	b	.L18
.L36:
	ldr	r2, .L38+28
	ldr	r3, .L38+32
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L37
	ldr	r3, .L38
	ldmia	r3, {r4-r5}
	ldr	r3, .L38
	add	r1, r3, #48
	ldmia	r1, {r0-r1}
	mov	r2, #0
	ldr	r3, .L38+4
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L38
	stm	r1, {r2-r3}
	b	.L18
.L37:
	ldr	r3, .L38
	ldmia	r3, {r4-r5}
	ldr	r3, .L38
	add	r7, r3, #48
	ldmia	r7, {r6-r7}
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	sub	r1, fp, #60
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, .L38+20
	ldr	r3, .L38+24
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L38+4
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L38
	stm	r1, {r2-r3}
.L18:
	ldr	r3, .L38
	ldmia	r3, {r4-r5}
	ldr	r3, .L38+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L34
	b	.L9
.L34:
	ldr	r3, .L38+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L38
	stm	r1, {r2-r3}
	nop
.L9:
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L39:
	.align	2
.L38:
	.word	rc_param
	.word	1072693248
	.word	1072168960
	.word	max_quantizer
	.word	min_quantizer
	.word	-1717986918
	.word	1070176665
	.word	858993459
	.word	1072902963
	.size	RateCtlUpdate, .-RateCtlUpdate
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
