	.file	"extr_arm-spe-pkt-decoder.c_arm_spe_get_alignment.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	arm_spe_get_alignment, @function
arm_spe_get_alignment:
.LFB0:
	.cfi_startproc
	endbr64
	movzx	ecx, BYTE PTR [rdi]
	mov	eax, 1
	and	ecx, 15
	add	ecx, 1
	sal	eax, cl
	movsx	rcx, eax
	cmp	rcx, rsi
	ja	.L5
	mov	ecx, DWORD PTR ARM_SPE_PAD[rip]
	mov	DWORD PTR [rdx], ecx
	lea	edx, -1[rax]
	and	edi, edx
	sub	eax, edi
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	mov	eax, DWORD PTR ARM_SPE_NEED_MORE_BYTES[rip]
	ret
	.cfi_endproc
.LFE0:
	.size	arm_spe_get_alignment, .-arm_spe_get_alignment
	.comm	ARM_SPE_PAD,4,4
	.comm	ARM_SPE_NEED_MORE_BYTES,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_arm-spe-pkt-decoder.c_arm_spe_get_alignment.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	arm_spe_get_alignment, %function
arm_spe_get_alignment:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	mov	r3, #1
	ldrb	ip, [r0]	@ zero_extendqisi2
	and	ip, ip, #15
	add	ip, ip, r3
	cmp	r1, r3, lsl ip
	ldrcs	r1, .L5
	lsl	r3, r3, ip
	ldrcc	r3, .L5+4
	ldrcs	r1, [r1]
	subcs	ip, r3, #1
	ldrcc	r0, [r3]
	andcs	r0, r0, ip
	strcs	r1, [r2]
	subcs	r0, r3, r0
	bx	lr
.L6:
	.align	2
.L5:
	.word	ARM_SPE_PAD
	.word	ARM_SPE_NEED_MORE_BYTES
	.size	arm_spe_get_alignment, .-arm_spe_get_alignment
	.comm	ARM_SPE_PAD,4,4
	.comm	ARM_SPE_NEED_MORE_BYTES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
