	.file	"735312.c"
	.intel_syntax noprefix
	.text
	.globl	__ashrsi3
	.type	__ashrsi3, @function
__ashrsi3:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	DWORD PTR -36[rbp], edi
	mov	eax, esi
	mov	WORD PTR -40[rbp], ax
	cmp	WORD PTR -40[rbp], 15
	jg	.L2
	movzx	eax, WORD PTR -36[rbp]
	movzx	edx, ax
	movsx	eax, WORD PTR -40[rbp]
	mov	ecx, eax
	sar	edx, cl
	mov	eax, edx
	mov	WORD PTR -24[rbp], ax
	movzx	eax, WORD PTR -34[rbp]
	movzx	edx, ax
	movsx	eax, WORD PTR -40[rbp]
	mov	ecx, eax
	sar	edx, cl
	mov	eax, edx
	mov	WORD PTR -22[rbp], ax
	cmp	WORD PTR -40[rbp], 0
	je	.L3
	movsx	edx, WORD PTR -40[rbp]
	mov	eax, 16
	sub	eax, edx
	mov	DWORD PTR -16[rbp], eax
	movzx	eax, WORD PTR -34[rbp]
	movzx	eax, ax
	mov	esi, 15
	mov	edi, eax
	mov	eax, 0
	call	__builtin_asri@PLT
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -16[rbp]
	mov	edx, DWORD PTR -12[rbp]
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	mov	DWORD PTR -8[rbp], eax
	movzx	eax, WORD PTR -22[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -8[rbp]
	or	eax, edx
	mov	WORD PTR -22[rbp], ax
	movzx	eax, WORD PTR -34[rbp]
	movzx	edx, ax
	mov	eax, DWORD PTR -16[rbp]
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	mov	DWORD PTR -4[rbp], eax
	movzx	eax, WORD PTR -24[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	or	eax, edx
	mov	WORD PTR -24[rbp], ax
	jmp	.L3
.L2:
	movzx	eax, WORD PTR -34[rbp]
	movzx	edx, ax
	movsx	eax, WORD PTR -40[rbp]
	mov	ecx, eax
	sar	edx, cl
	mov	eax, edx
	mov	WORD PTR -24[rbp], ax
	movzx	eax, WORD PTR -34[rbp]
	movzx	eax, ax
	mov	esi, 15
	mov	edi, eax
	mov	eax, 0
	call	__builtin_asri@PLT
	mov	WORD PTR -22[rbp], ax
	cmp	WORD PTR -40[rbp], 16
	je	.L3
	movzx	eax, WORD PTR -22[rbp]
	movzx	edx, ax
	movsx	ecx, WORD PTR -40[rbp]
	mov	eax, 16
	sub	eax, ecx
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	mov	DWORD PTR -20[rbp], eax
	movzx	eax, WORD PTR -24[rbp]
	mov	edx, eax
	mov	eax, DWORD PTR -20[rbp]
	or	eax, edx
	mov	WORD PTR -24[rbp], ax
.L3:
	mov	eax, DWORD PTR -24[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	__ashrsi3, .-__ashrsi3
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"735312.c"
	.text
	.align	2
	.global	__ashrsi3
	.syntax unified
	.arm
	.fpu softvfp
	.type	__ashrsi3, %function
__ashrsi3:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-32]
	mov	r3, r1
	strh	r3, [fp, #-34]	@ movhi
	ldrsh	r3, [fp, #-34]
	cmp	r3, #15
	bgt	.L2
	ldrh	r3, [fp, #-32]
	mov	r2, r3
	ldrsh	r3, [fp, #-34]
	asr	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-28]	@ movhi
	ldrh	r3, [fp, #-30]
	mov	r2, r3
	ldrsh	r3, [fp, #-34]
	asr	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-26]	@ movhi
	ldrsh	r3, [fp, #-34]
	cmp	r3, #0
	beq	.L3
	ldrsh	r3, [fp, #-34]
	rsb	r3, r3, #16
	str	r3, [fp, #-20]
	ldrh	r3, [fp, #-30]
	mov	r1, #15
	mov	r0, r3
	bl	__builtin_asri
	str	r0, [fp, #-16]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-20]
	lsl	r3, r2, r3
	str	r3, [fp, #-12]
	ldrh	r3, [fp, #-26]
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #16
	asr	r3, r3, #16
	orr	r3, r2, r3
	lsl	r3, r3, #16
	asr	r3, r3, #16
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-26]	@ movhi
	ldrh	r3, [fp, #-30]
	mov	r2, r3
	ldr	r3, [fp, #-20]
	lsl	r3, r2, r3
	str	r3, [fp, #-8]
	ldrh	r3, [fp, #-28]
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #16
	asr	r3, r3, #16
	orr	r3, r2, r3
	lsl	r3, r3, #16
	asr	r3, r3, #16
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-28]	@ movhi
	b	.L3
.L2:
	ldrh	r3, [fp, #-30]
	mov	r2, r3
	ldrsh	r3, [fp, #-34]
	asr	r3, r2, r3
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-28]	@ movhi
	ldrh	r3, [fp, #-30]
	mov	r1, #15
	mov	r0, r3
	bl	__builtin_asri
	mov	r3, r0
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-26]	@ movhi
	ldrsh	r3, [fp, #-34]
	cmp	r3, #16
	beq	.L3
	ldrh	r3, [fp, #-26]
	mov	r2, r3
	ldrsh	r3, [fp, #-34]
	rsb	r3, r3, #16
	lsl	r3, r2, r3
	str	r3, [fp, #-24]
	ldrh	r3, [fp, #-28]
	lsl	r3, r3, #16
	asr	r2, r3, #16
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #16
	asr	r3, r3, #16
	orr	r3, r2, r3
	lsl	r3, r3, #16
	asr	r3, r3, #16
	lsl	r3, r3, #16
	lsr	r3, r3, #16
	strh	r3, [fp, #-28]	@ movhi
.L3:
	ldr	r3, [fp, #-28]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	__ashrsi3, .-__ashrsi3
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
