	.file	"extr_sdma.h_sdma_build_ahg_descriptor.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	sdma_build_ahg_descriptor, @function
sdma_build_ahg_descriptor:
.LFB0:
	.cfi_startproc
	endbr64
	mov	r8, rcx
	mov	rcx, QWORD PTR SDMA_AHG_VALUE_SHIFT[rip]
	and	rdi, QWORD PTR SDMA_AHG_VALUE_MASK[rip]
	mov	eax, 1
	and	rsi, QWORD PTR SDMA_AHG_INDEX_MASK[rip]
	and	r8, QWORD PTR SDMA_AHG_FIELD_LEN_MASK[rip]
	sal	rdi, cl
	mov	rcx, QWORD PTR SDMA_AHG_UPDATE_ENABLE_SHIFT[rip]
	and	rdx, QWORD PTR SDMA_AHG_FIELD_START_MASK[rip]
	sal	rax, cl
	mov	rcx, QWORD PTR SDMA_AHG_INDEX_SHIFT[rip]
	or	edi, eax
	sal	rsi, cl
	mov	rcx, QWORD PTR SDMA_AHG_FIELD_LEN_SHIFT[rip]
	or	edi, esi
	sal	r8, cl
	mov	rcx, QWORD PTR SDMA_AHG_FIELD_START_SHIFT[rip]
	or	edi, r8d
	sal	rdx, cl
	mov	eax, edi
	or	eax, edx
	ret
	.cfi_endproc
.LFE0:
	.size	sdma_build_ahg_descriptor, .-sdma_build_ahg_descriptor
	.comm	SDMA_AHG_VALUE_SHIFT,8,8
	.comm	SDMA_AHG_VALUE_MASK,8,8
	.comm	SDMA_AHG_UPDATE_ENABLE_SHIFT,8,8
	.comm	SDMA_AHG_INDEX_SHIFT,8,8
	.comm	SDMA_AHG_INDEX_MASK,8,8
	.comm	SDMA_AHG_FIELD_START_SHIFT,8,8
	.comm	SDMA_AHG_FIELD_START_MASK,8,8
	.comm	SDMA_AHG_FIELD_LEN_SHIFT,8,8
	.comm	SDMA_AHG_FIELD_LEN_MASK,8,8
	.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_sdma.h_sdma_build_ahg_descriptor.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sdma_build_ahg_descriptor, %function
sdma_build_ahg_descriptor:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, #1
	push	{r4, r5, lr}
	ldr	lr, .L4
	ldr	r4, .L4+4
	ldr	lr, [lr]
	ldr	r4, [r4]
	ldr	r5, .L4+8
	and	r0, r0, lr
	ldr	lr, .L4+12
	ldr	r5, [r5]
	lsl	ip, ip, r4
	ldr	r4, .L4+16
	ldr	lr, [lr]
	orr	ip, ip, r0, lsl r5
	ldr	r5, [r4]
	ldr	r0, .L4+20
	and	r1, r1, lr
	ldr	r4, .L4+24
	ldr	lr, .L4+28
	ldr	r0, [r0]
	orr	ip, ip, r1, lsl r5
	ldr	r1, .L4+32
	ldr	r4, [r4]
	ldr	lr, [lr]
	and	r3, r3, r0
	ldr	r0, [r1]
	orr	ip, ip, r3, lsl r4
	and	r2, r2, lr
	orr	r0, ip, r2, lsl r0
	pop	{r4, r5, pc}
.L5:
	.align	2
.L4:
	.word	SDMA_AHG_VALUE_MASK
	.word	SDMA_AHG_UPDATE_ENABLE_SHIFT
	.word	SDMA_AHG_VALUE_SHIFT
	.word	SDMA_AHG_INDEX_MASK
	.word	SDMA_AHG_INDEX_SHIFT
	.word	SDMA_AHG_FIELD_LEN_MASK
	.word	SDMA_AHG_FIELD_LEN_SHIFT
	.word	SDMA_AHG_FIELD_START_MASK
	.word	SDMA_AHG_FIELD_START_SHIFT
	.size	sdma_build_ahg_descriptor, .-sdma_build_ahg_descriptor
	.comm	SDMA_AHG_VALUE_SHIFT,4,4
	.comm	SDMA_AHG_VALUE_MASK,4,4
	.comm	SDMA_AHG_UPDATE_ENABLE_SHIFT,4,4
	.comm	SDMA_AHG_INDEX_SHIFT,4,4
	.comm	SDMA_AHG_INDEX_MASK,4,4
	.comm	SDMA_AHG_FIELD_START_SHIFT,4,4
	.comm	SDMA_AHG_FIELD_START_MASK,4,4
	.comm	SDMA_AHG_FIELD_LEN_SHIFT,4,4
	.comm	SDMA_AHG_FIELD_LEN_MASK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
