	.file	"extr_x86emu.c_shld_long.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	shld_long, @function
shld_long:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	cmp	ecx, 31
	jg	.L2
	mov	eax, ecx
	sar	eax, 31
	shr	eax, 27
	add	ecx, eax
	and	ecx, 31
	mov	ebx, ecx
	sub	ebx, eax
	jne	.L11
.L3:
	mov	edi, DWORD PTR F_OF[rip]
	mov	r12d, ebp
	call	CLEAR_FLAG@PLT
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	eax, 32
	mov	r12d, esi
	mov	ecx, ebx
	mov	edi, 1
	sub	eax, ebx
	sal	r12d, cl
	mov	ecx, eax
	sal	edi, cl
	shr	edx, cl
	and	edi, esi
	mov	esi, DWORD PTR F_CF[rip]
	or	r12d, edx
	call	CONDITIONAL_SET_FLAG@PLT
	mov	esi, DWORD PTR F_ZF[rip]
	xor	edi, edi
	test	r12d, r12d
	sete	dil
	call	CONDITIONAL_SET_FLAG@PLT
	mov	esi, DWORD PTR F_SF[rip]
	mov	edi, r12d
	and	edi, -2147483648
	call	CONDITIONAL_SET_FLAG@PLT
	mov	ebp, DWORD PTR F_PF[rip]
	movzx	edi, r12b
	call	PARITY@PLT
	mov	edi, eax
	mov	esi, ebp
	call	CONDITIONAL_SET_FLAG@PLT
	cmp	ebx, 1
	jne	.L5
	mov	edi, DWORD PTR F_CF[rip]
	mov	ebp, DWORD PTR F_OF[rip]
	call	ACCESS_FLAG@PLT
	xor	edi, edi
	mov	esi, ebp
	mov	r8, rax
	mov	eax, r12d
	shr	eax, 31
	test	r8, r8
	setne	dil
	xor	edi, eax
	call	CONDITIONAL_SET_FLAG@PLT
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	sub	ecx, 1
	mov	edi, esi
	mov	esi, DWORD PTR F_CF[rip]
	xor	r12d, r12d
	sal	edi, cl
	and	edi, -2147483648
	call	CONDITIONAL_SET_FLAG@PLT
	mov	edi, DWORD PTR F_OF[rip]
	call	CLEAR_FLAG@PLT
	mov	edi, DWORD PTR F_SF[rip]
	call	CLEAR_FLAG@PLT
	mov	edi, DWORD PTR F_PF[rip]
	call	SET_FLAG@PLT
	mov	edi, DWORD PTR F_ZF[rip]
	call	SET_FLAG@PLT
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	mov	ebp, r12d
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	shld_long, .-shld_long
	.comm	F_ZF,4,4
	.comm	F_SF,4,4
	.comm	F_PF,4,4
	.comm	F_OF,4,4
	.comm	F_CF,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_x86emu.c_shld_long.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	shld_long, %function
shld_long:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	cmp	r3, #31
	push	{r4, r5, r6, lr}
	bgt	.L2
	rsbs	r0, r3, #0
	and	r0, r0, #31
	and	r4, r3, #31
	rsbpl	r4, r0, #0
	cmp	r4, #0
	bne	.L11
.L3:
	mov	r5, r1
	ldr	r3, .L12
	ldr	r0, [r3]
	bl	CLEAR_FLAG
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L11:
	mov	r0, #1
	rsb	r3, r4, #32
	ldr	r6, .L12+4
	lsr	r2, r2, r3
	orr	r5, r2, r1, lsl r4
	and	r0, r1, r0, lsl r3
	ldr	r1, [r6]
	bl	CONDITIONAL_SET_FLAG
	clz	r0, r5
	ldr	r3, .L12+8
	lsr	r0, r0, #5
	ldr	r1, [r3]
	bl	CONDITIONAL_SET_FLAG
	ldr	r3, .L12+12
	and	r0, r5, #-2147483648
	ldr	r1, [r3]
	bl	CONDITIONAL_SET_FLAG
	and	r0, r5, #255
	bl	PARITY
	ldr	r3, .L12+16
	ldr	r1, [r3]
	bl	CONDITIONAL_SET_FLAG
	cmp	r4, #1
	bne	.L5
	ldr	r0, [r6]
	bl	ACCESS_FLAG
	subs	r0, r0, #0
	movne	r0, #1
	ldr	r3, .L12
	eor	r0, r0, r5, lsr #31
	ldr	r1, [r3]
	bl	CONDITIONAL_SET_FLAG
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L2:
	mov	r5, #0
	ldr	r2, .L12+4
	sub	r3, r3, #1
	lsl	r3, r1, r3
	and	r0, r3, #-2147483648
	ldr	r1, [r2]
	bl	CONDITIONAL_SET_FLAG
	ldr	r3, .L12
	ldr	r0, [r3]
	bl	CLEAR_FLAG
	ldr	r3, .L12+12
	ldr	r0, [r3]
	bl	CLEAR_FLAG
	ldr	r3, .L12+16
	ldr	r0, [r3]
	bl	SET_FLAG
	ldr	r3, .L12+8
	ldr	r0, [r3]
	bl	SET_FLAG
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L5:
	mov	r1, r5
	b	.L3
.L13:
	.align	2
.L12:
	.word	F_OF
	.word	F_CF
	.word	F_ZF
	.word	F_SF
	.word	F_PF
	.size	shld_long, .-shld_long
	.comm	F_ZF,4,4
	.comm	F_SF,4,4
	.comm	F_PF,4,4
	.comm	F_OF,4,4
	.comm	F_CF,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
