	.file	"extr_vecemu.c_ctuxs.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ctuxs, @function
ctuxs:
.LFB0:
	.cfi_startproc
	endbr64
	mov	ecx, edi
	mov	eax, edi
	shr	ecx, 23
	and	eax, 8388607
	movzx	ecx, cl
	cmp	ecx, 255
	jne	.L8
	xor	r8d, r8d
	test	eax, eax
	je	.L8
.L1:
	mov	eax, r8d
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	lea	esi, -127[rcx+rsi]
	xor	r8d, r8d
	test	esi, esi
	js	.L1
	test	edi, edi
	js	.L13
	cmp	esi, 31
	jg	.L14
	sal	eax, 8
	mov	ecx, 31
	or	eax, -2147483648
	sub	ecx, esi
	shr	eax, cl
	mov	r8d, eax
	mov	eax, r8d
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	mov	eax, DWORD PTR VSCR_SAT[rip]
	or	DWORD PTR [rdx], eax
	mov	eax, r8d
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	mov	eax, DWORD PTR VSCR_SAT[rip]
	mov	r8d, -1
	or	DWORD PTR [rdx], eax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	ctuxs, .-ctuxs
	.comm	VSCR_SAT,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_vecemu.c_ctuxs.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ctuxs, %function
ctuxs:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	lsr	r3, r0, #23
	and	r3, r3, #255
	str	lr, [sp, #-4]!
	sub	lr, r3, #255
	clz	lr, lr
	bic	ip, r0, #-16777216
	bic	ip, ip, #8388608
	cmp	ip, #0
	lsr	lr, lr, #5
	moveq	lr, #0
	cmp	lr, #0
	bne	.L5
	sub	r3, r3, #127
	adds	r3, r3, r1
	bmi	.L5
	cmp	r0, #0
	blt	.L9
	cmp	r3, #31
	ldrgt	r1, .L10
	ldrgt	r3, [r2]
	ldrgt	r1, [r1]
	mvngt	r0, #0
	lslle	r0, ip, #8
	orrgt	r3, r3, r1
	orrle	r0, r0, #-2147483648
	rsble	r3, r3, #31
	strgt	r3, [r2]
	lsrle	r0, r0, r3
	ldr	pc, [sp], #4
.L5:
	mov	r0, #0
	ldr	pc, [sp], #4
.L9:
	ldr	r1, .L10
	ldr	r3, [r2]
	ldr	r1, [r1]
	mov	r0, lr
	orr	r3, r3, r1
	str	r3, [r2]
	ldr	pc, [sp], #4
.L11:
	.align	2
.L10:
	.word	VSCR_SAT
	.size	ctuxs, .-ctuxs
	.comm	VSCR_SAT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
