	.file	"extr_tc-arm.c_encode_arm_shift.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	encode_arm_shift, @function
encode_arm_shift:
.LFB0:
	.cfi_startproc
	endbr64
	movsx	rdi, edi
	mov	edx, DWORD PTR inst[rip]
	sal	rdi, 4
	add	rdi, QWORD PTR inst[rip+8]
	mov	eax, DWORD PTR [rdi]
	cmp	eax, DWORD PTR SHIFT_RRX[rip]
	je	.L6
	sal	eax, 5
	or	eax, edx
	cmp	QWORD PTR 8[rdi], 0
	mov	DWORD PTR inst[rip], eax
	je	.L4
	mov	edx, DWORD PTR 4[rdi]
	sal	edx, 8
	or	edx, DWORD PTR SHIFT_BY_REG[rip]
	or	eax, edx
	mov	DWORD PTR inst[rip], eax
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	mov	eax, DWORD PTR BFD_RELOC_ARM_SHIFT_IMM[rip]
	mov	DWORD PTR inst[rip+4], eax
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	mov	eax, DWORD PTR SHIFT_ROR[rip]
	sal	eax, 5
	or	eax, edx
	mov	DWORD PTR inst[rip], eax
	ret
	.cfi_endproc
.LFE0:
	.size	encode_arm_shift, .-encode_arm_shift
	.comm	inst,16,16
	.comm	SHIFT_RRX,4,4
	.comm	SHIFT_ROR,4,4
	.comm	SHIFT_BY_REG,4,4
	.comm	BFD_RELOC_ARM_SHIFT_IMM,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_tc-arm.c_encode_arm_shift.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	encode_arm_shift, %function
encode_arm_shift:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	r2, .L7
	ldr	ip, .L7+4
	ldr	r3, [r2, #8]
	add	r0, r0, r0, lsl #1
	ldr	r1, [r3, r0, lsl #2]
	ldr	ip, [ip]
	add	r0, r3, r0, lsl #2
	cmp	r1, ip
	ldr	r3, [r2]
	beq	.L6
	ldr	ip, [r0, #8]
	orr	r3, r3, r1, lsl #5
	cmp	ip, #0
	ldrne	r1, .L7+8
	str	r3, [r2]
	ldrne	r1, [r1]
	ldreq	r3, .L7+12
	ldrne	r0, [r0, #4]
	ldreq	r3, [r3]
	orrne	r1, r1, r0, lsl #8
	orrne	r3, r1, r3
	strne	r3, [r2]
	streq	r3, [r2, #4]
	bx	lr
.L6:
	ldr	r1, .L7+16
	ldr	r1, [r1]
	orr	r3, r3, r1, lsl #5
	str	r3, [r2]
	bx	lr
.L8:
	.align	2
.L7:
	.word	inst
	.word	SHIFT_RRX
	.word	SHIFT_BY_REG
	.word	BFD_RELOC_ARM_SHIFT_IMM
	.word	SHIFT_ROR
	.size	encode_arm_shift, .-encode_arm_shift
	.comm	inst,12,4
	.comm	SHIFT_RRX,4,4
	.comm	SHIFT_ROR,4,4
	.comm	SHIFT_BY_REG,4,4
	.comm	BFD_RELOC_ARM_SHIFT_IMM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
