	.file	"extr_range_encoder.h_rc_shift_low.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	rc_shift_low, @function
rc_shift_low:
.LFB0:
	.cfi_startproc
	endbr64
	mov	r11, rcx
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L8:
	mov	r10d, DWORD PTR [rdi]
	mov	ecx, 32
	movsx	rax, DWORD PTR 16[rdi]
	mov	r8d, r10d
	sar	r8d, cl
	movsx	r8, r8d
	add	rax, r8
	mov	QWORD PTR [rsi+r9*8], rax
	add	QWORD PTR [rdx], 1
	sub	QWORD PTR 8[rdi], 1
	mov	DWORD PTR 16[rdi], 255
	je	.L7
.L3:
	mov	r9, QWORD PTR [rdx]
	cmp	r9, r11
	jne	.L8
	mov	eax, 1
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	mov	ecx, DWORD PTR RC_SHIFT_BITS[rip]
	mov	eax, r10d
	and	r10d, 16777215
	mov	QWORD PTR 8[rdi], 1
	shr	eax, 24
	sal	r10d, cl
	mov	DWORD PTR 16[rdi], eax
	xor	eax, eax
	mov	DWORD PTR [rdi], r10d
	ret
	.cfi_endproc
.LFE0:
	.size	rc_shift_low, .-rc_shift_low
	.comm	RC_SHIFT_BITS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_range_encoder.h_rc_shift_low.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rc_shift_low, %function
rc_shift_low:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, #32
	ldr	r5, [r0]
	cmp	r5, #-16777216
	asr	r4, r5, r4
	blt	.L2
	cmp	r4, #0
	beq	.L10
.L2:
	mov	r6, #255
	b	.L5
.L12:
	ldr	ip, [r0, #8]
	add	ip, ip, r4
	str	ip, [r1, lr, lsl #2]
	ldr	ip, [r2]
	add	ip, ip, #1
	str	ip, [r2]
	ldr	ip, [r0, #4]
	str	r6, [r0, #8]
	sub	ip, ip, #1
	cmp	ip, #0
	str	ip, [r0, #4]
	beq	.L11
.L5:
	ldr	lr, [r2]
	cmp	lr, r3
	bne	.L12
	mov	r0, #1
	pop	{r4, r5, r6, pc}
.L10:
	ldr	r3, [r0, #4]
	add	r3, r3, #1
.L3:
	ldr	r2, .L13
	bic	r5, r5, #-16777216
	ldr	r2, [r2]
	str	r3, [r0, #4]
	lsl	r5, r5, r2
	str	r5, [r0]
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L11:
	lsr	r2, r5, #24
	mov	r3, #1
	str	r2, [r0, #8]
	b	.L3
.L14:
	.align	2
.L13:
	.word	RC_SHIFT_BITS
	.size	rc_shift_low, .-rc_shift_low
	.comm	RC_SHIFT_BITS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
