	.file	"extr_card.c_bitrev.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	bitrev, @function
bitrev:
.LFB0:
	.cfi_startproc
	endbr64
	xor	eax, eax
	xor	esi, esi
	mov	r9d, 1
	xor	r8d, r8d
	mov	r10d, 1
	mov	r11d, 31
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L10:
	mov	ecx, eax
	mov	edx, r10d
	sal	edx, cl
	mov	ecx, r11d
	sub	ecx, eax
	and	edx, edi
	sub	ecx, esi
	add	esi, 1
	sal	edx, cl
	or	r8d, edx
.L3:
	add	eax, 1
.L6:
	cmp	eax, 15
	jbe	.L10
	cmp	eax, 31
	je	.L8
	mov	ecx, eax
	mov	edx, r10d
	sal	edx, cl
	mov	ecx, r9d
	add	r9d, 2
	and	edx, edi
	sar	edx, cl
	or	r8d, edx
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L8:
	sar	edi, 31
	or	r8d, edi
	mov	eax, r8d
	ret
	.cfi_endproc
.LFE0:
	.size	bitrev, .-bitrev
	.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_card.c_bitrev.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	bitrev, %function
bitrev:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, #0
	push	{r4, r5, lr}
	mov	r5, #1
	mov	ip, r0
	mov	r1, r3
	mov	r0, r3
	mov	lr, r5
	b	.L6
.L10:
	orr	r0, r0, r4, lsl r2
	add	r1, r1, #1
.L3:
	add	r3, r3, #1
.L6:
	rsb	r2, r3, #31
	cmp	r3, #15
	sub	r2, r2, r1
	and	r4, ip, lr, lsl r3
	bls	.L10
	cmp	r3, #31
	andne	r2, ip, lr, lsl r3
	orrne	r0, r0, r2, asr r5
	addne	r5, r5, #2
	bne	.L3
.L11:
	orr	r0, r0, ip, asr #31
	pop	{r4, r5, pc}
	.size	bitrev, .-bitrev
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
