	.file	"extr_32086.c_read_unreal_index.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	read_unreal_index
	.type	read_unreal_index, @function
read_unreal_index:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	QWORD PTR u3fix[rip], 0
	mov	r8d, DWORD PTR [rdi]
	mov	eax, DWORD PTR 4[rdi]
	mov	edx, DWORD PTR 8[rdi]
	mov	r10d, DWORD PTR 12[rdi]
	jne	.L20
	mov	ecx, r8d
	mov	edi, DWORD PTR 16[rdi]
	mov	r9d, 1
	and	ecx, 64
	jne	.L21
.L4:
	mov	eax, r8d
	and	eax, 63
	or	eax, ecx
	mov	edx, eax
	neg	edx
	and	r8d, 128
	cmovne	eax, edx
	mov	DWORD PTR [rsi], eax
	mov	eax, r9d
	ret
	.p2align 4,,10
	.p2align 3
.L21:
	mov	ecx, eax
	mov	r9d, 2
	and	ecx, 128
	je	.L5
	mov	ecx, edx
	mov	r9d, 3
	and	ecx, 128
	je	.L6
	mov	r11d, r10d
	mov	r9d, 4
	and	r11d, 128
	jne	.L22
.L7:
	mov	ecx, r10d
	and	ecx, 127
	or	ecx, r11d
	sal	ecx, 7
.L6:
	and	edx, 127
	or	edx, ecx
	sal	edx, 7
	mov	ecx, edx
.L5:
	and	eax, 127
	or	eax, ecx
	sal	eax, 6
	mov	ecx, eax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L20:
	sal	eax, 8
	sal	edx, 16
	mov	ecx, r10d
	mov	r9d, 4
	or	edx, eax
	sal	ecx, 24
	mov	eax, r9d
	or	edx, r8d
	or	edx, ecx
	mov	DWORD PTR [rsi], edx
	ret
	.p2align 4,,10
	.p2align 3
.L22:
	sal	edi, 7
	mov	r9d, 5
	mov	r11d, edi
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	read_unreal_index, .-read_unreal_index
	.comm	u3fix,8,8
	.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_32086.c_read_unreal_index.c"
	.text
	.align	2
	.global	read_unreal_index
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_unreal_index, %function
read_unreal_index:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L19
	push	{r4, lr}
	ldr	r2, [r3]
	ldr	lr, [r0, #4]
	cmp	r2, #0
	ldr	r3, [r0]
	ldr	r2, [r0, #8]
	ldr	r4, [r0, #12]
	bne	.L18
	ands	ip, r3, #64
	ldr	r0, [r0, #16]
	moveq	r0, #1
	beq	.L4
	ands	ip, lr, #128
	moveq	r0, #2
	beq	.L5
	ands	ip, r2, #128
	moveq	r0, #3
	beq	.L6
	ands	ip, r4, #128
	lslne	ip, r0, #7
	moveq	r0, #4
	movne	r0, #5
	and	r4, r4, #127
	orr	ip, r4, ip
	lsl	ip, ip, #7
.L6:
	and	r2, r2, #127
	orr	ip, r2, ip
	lsl	ip, ip, #7
.L5:
	and	lr, lr, #127
	orr	lr, lr, ip
	lsl	ip, lr, #6
.L4:
	tst	r3, #128
	and	r3, r3, #63
	orr	r3, r3, ip
	rsbne	r3, r3, #0
	str	r3, [r1]
	pop	{r4, pc}
.L18:
	lsl	r2, r2, #16
	orr	r2, r2, lr, lsl #8
	orr	r3, r2, r3
	orr	r3, r3, r4, lsl #24
	mov	r0, #4
	str	r3, [r1]
	pop	{r4, pc}
.L20:
	.align	2
.L19:
	.word	u3fix
	.size	read_unreal_index, .-read_unreal_index
	.comm	u3fix,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
