	.file	"extr_al_hal_udma_config.c_al_udma_m2s_pref_get.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	al_udma_m2s_pref_get
	.type	al_udma_m2s_pref_get, @function
al_udma_m2s_pref_get:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR [rdi]
	lea	rdi, 8[rax]
	call	al_reg_read32@PLT
	mov	edx, DWORD PTR UDMA_M2S_RD_DESC_PREF_CFG_1_FIFO_DEPTH_SHIFT[rip]
	mov	esi, DWORD PTR UDMA_M2S_RD_DESC_PREF_CFG_1_FIFO_DEPTH_MASK[rip]
	mov	edi, eax
	call	AL_REG_FIELD_GET@PLT
	mov	QWORD PTR 40[rbx], rax
	mov	rax, QWORD PTR 0[rbp]
	lea	rdi, 4[rax]
	call	al_reg_read32@PLT
	mov	esi, DWORD PTR UDMA_M2S_RD_DESC_PREF_CFG_2_MAX_DESC_PER_PKT_MASK[rip]
	mov	edx, DWORD PTR UDMA_M2S_RD_DESC_PREF_CFG_2_MAX_DESC_PER_PKT_SHIFT[rip]
	mov	edi, eax
	test	esi, eax
	mov	eax, DWORD PTR SRR[rip]
	cmove	eax, DWORD PTR STRICT[rip]
	mov	DWORD PTR 32[rbx], eax
	call	AL_REG_FIELD_GET@PLT
	mov	rdi, QWORD PTR 0[rbp]
	mov	QWORD PTR 24[rbx], rax
	call	al_reg_read32@PLT
	mov	edx, DWORD PTR UDMA_M2S_RD_DESC_PREF_CFG_3_MIN_BURST_BELOW_THR_SHIFT[rip]
	mov	esi, DWORD PTR UDMA_M2S_RD_DESC_PREF_CFG_3_MIN_BURST_BELOW_THR_MASK[rip]
	mov	edi, eax
	mov	ebp, eax
	call	AL_REG_FIELD_GET@PLT
	mov	edx, DWORD PTR UDMA_M2S_RD_DESC_PREF_CFG_3_MIN_BURST_ABOVE_THR_SHIFT[rip]
	mov	esi, DWORD PTR UDMA_M2S_RD_DESC_PREF_CFG_3_MIN_BURST_ABOVE_THR_MASK[rip]
	mov	edi, ebp
	mov	QWORD PTR 16[rbx], rax
	call	AL_REG_FIELD_GET@PLT
	mov	edx, DWORD PTR UDMA_M2S_RD_DESC_PREF_CFG_3_PREF_THR_SHIFT[rip]
	mov	esi, DWORD PTR UDMA_M2S_RD_DESC_PREF_CFG_3_PREF_THR_MASK[rip]
	mov	edi, ebp
	mov	QWORD PTR 8[rbx], rax
	call	AL_REG_FIELD_GET@PLT
	mov	QWORD PTR [rbx], rax
	add	rsp, 8
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	al_udma_m2s_pref_get, .-al_udma_m2s_pref_get
	.comm	UDMA_M2S_RD_DESC_PREF_CFG_3_PREF_THR_SHIFT,4,4
	.comm	UDMA_M2S_RD_DESC_PREF_CFG_3_PREF_THR_MASK,4,4
	.comm	UDMA_M2S_RD_DESC_PREF_CFG_3_MIN_BURST_BELOW_THR_SHIFT,4,4
	.comm	UDMA_M2S_RD_DESC_PREF_CFG_3_MIN_BURST_BELOW_THR_MASK,4,4
	.comm	UDMA_M2S_RD_DESC_PREF_CFG_3_MIN_BURST_ABOVE_THR_SHIFT,4,4
	.comm	UDMA_M2S_RD_DESC_PREF_CFG_3_MIN_BURST_ABOVE_THR_MASK,4,4
	.comm	UDMA_M2S_RD_DESC_PREF_CFG_2_MAX_DESC_PER_PKT_SHIFT,4,4
	.comm	UDMA_M2S_RD_DESC_PREF_CFG_2_MAX_DESC_PER_PKT_MASK,4,4
	.comm	UDMA_M2S_RD_DESC_PREF_CFG_1_FIFO_DEPTH_SHIFT,4,4
	.comm	UDMA_M2S_RD_DESC_PREF_CFG_1_FIFO_DEPTH_MASK,4,4
	.comm	STRICT,4,4
	.comm	SRR,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_al_hal_udma_config.c_al_udma_m2s_pref_get.c"
	.text
	.align	2
	.global	al_udma_m2s_pref_get
	.syntax unified
	.arm
	.fpu softvfp
	.type	al_udma_m2s_pref_get, %function
al_udma_m2s_pref_get:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r0
	ldr	r0, [r0]
	mov	r4, r1
	add	r0, r0, #8
	bl	al_reg_read32
	ldr	r3, .L6
	ldr	r2, .L6+4
	ldr	r1, [r3]
	ldr	r2, [r2]
	bl	AL_REG_FIELD_GET
	ldr	r3, [r5]
	str	r0, [r4, #20]
	add	r0, r3, #4
	bl	al_reg_read32
	ldr	r3, .L6+8
	ldr	r1, [r3]
	tst	r1, r0
	ldrne	r3, .L6+12
	ldreq	r3, .L6+16
	ldr	r2, [r3]
	ldr	r3, .L6+20
	str	r2, [r4, #16]
	ldr	r2, [r3]
	bl	AL_REG_FIELD_GET
	mov	r3, r0
	ldr	r0, [r5]
	str	r3, [r4, #12]
	bl	al_reg_read32
	ldr	r3, .L6+24
	ldr	r2, .L6+28
	ldr	r1, [r3]
	ldr	r2, [r2]
	mov	r5, r0
	bl	AL_REG_FIELD_GET
	ldr	r3, .L6+32
	ldr	r2, .L6+36
	ldr	r1, [r3]
	str	r0, [r4, #8]
	ldr	r2, [r2]
	mov	r0, r5
	bl	AL_REG_FIELD_GET
	mov	r1, r0
	ldr	r3, .L6+40
	ldr	r2, .L6+44
	str	r1, [r4, #4]
	mov	r0, r5
	ldr	r1, [r3]
	ldr	r2, [r2]
	bl	AL_REG_FIELD_GET
	mov	r3, r0
	mov	r0, #0
	str	r3, [r4]
	pop	{r4, r5, r6, pc}
.L7:
	.align	2
.L6:
	.word	UDMA_M2S_RD_DESC_PREF_CFG_1_FIFO_DEPTH_MASK
	.word	UDMA_M2S_RD_DESC_PREF_CFG_1_FIFO_DEPTH_SHIFT
	.word	UDMA_M2S_RD_DESC_PREF_CFG_2_MAX_DESC_PER_PKT_MASK
	.word	SRR
	.word	STRICT
	.word	UDMA_M2S_RD_DESC_PREF_CFG_2_MAX_DESC_PER_PKT_SHIFT
	.word	UDMA_M2S_RD_DESC_PREF_CFG_3_MIN_BURST_BELOW_THR_MASK
	.word	UDMA_M2S_RD_DESC_PREF_CFG_3_MIN_BURST_BELOW_THR_SHIFT
	.word	UDMA_M2S_RD_DESC_PREF_CFG_3_MIN_BURST_ABOVE_THR_MASK
	.word	UDMA_M2S_RD_DESC_PREF_CFG_3_MIN_BURST_ABOVE_THR_SHIFT
	.word	UDMA_M2S_RD_DESC_PREF_CFG_3_PREF_THR_MASK
	.word	UDMA_M2S_RD_DESC_PREF_CFG_3_PREF_THR_SHIFT
	.size	al_udma_m2s_pref_get, .-al_udma_m2s_pref_get
	.comm	UDMA_M2S_RD_DESC_PREF_CFG_3_PREF_THR_SHIFT,4,4
	.comm	UDMA_M2S_RD_DESC_PREF_CFG_3_PREF_THR_MASK,4,4
	.comm	UDMA_M2S_RD_DESC_PREF_CFG_3_MIN_BURST_BELOW_THR_SHIFT,4,4
	.comm	UDMA_M2S_RD_DESC_PREF_CFG_3_MIN_BURST_BELOW_THR_MASK,4,4
	.comm	UDMA_M2S_RD_DESC_PREF_CFG_3_MIN_BURST_ABOVE_THR_SHIFT,4,4
	.comm	UDMA_M2S_RD_DESC_PREF_CFG_3_MIN_BURST_ABOVE_THR_MASK,4,4
	.comm	UDMA_M2S_RD_DESC_PREF_CFG_2_MAX_DESC_PER_PKT_SHIFT,4,4
	.comm	UDMA_M2S_RD_DESC_PREF_CFG_2_MAX_DESC_PER_PKT_MASK,4,4
	.comm	UDMA_M2S_RD_DESC_PREF_CFG_1_FIFO_DEPTH_SHIFT,4,4
	.comm	UDMA_M2S_RD_DESC_PREF_CFG_1_FIFO_DEPTH_MASK,4,4
	.comm	STRICT,4,4
	.comm	SRR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
