	.file	"extr_Ppmd7Dec.c_Range_DecodeBit.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	Range_DecodeBit, @function
Range_DecodeBit:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR [rdi]
	mov	r8d, esi
	mov	edx, DWORD PTR 4[rdi]
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	esi, eax
	sar	esi, 14
	imul	esi, r8d
	cmp	edx, esi
	jge	.L2
	mov	DWORD PTR [rdi], esi
	xor	r12d, r12d
	call	Range_Normalize@PLT
	mov	eax, r12d
	pop	r12
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	sub	edx, esi
	sub	eax, esi
	mov	r12d, 1
	mov	DWORD PTR 4[rdi], edx
	mov	DWORD PTR [rdi], eax
	call	Range_Normalize@PLT
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	Range_DecodeBit, .-Range_DecodeBit
	.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_Ppmd7Dec.c_Range_DecodeBit.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	Range_DecodeBit, %function
Range_DecodeBit:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldm	r0, {r2, ip}
	asr	r3, r2, #14
	mul	r1, r3, r1
	cmp	ip, r1
	push	{r4, lr}
	movlt	r4, #0
	movge	r4, #1
	subge	ip, ip, r1
	subge	r1, r2, r1
	stmge	r0, {r1, ip}
	strlt	r1, [r0]
	bl	Range_Normalize
	mov	r0, r4
	pop	{r4, pc}
	.size	Range_DecodeBit, .-Range_DecodeBit
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
