	.file	"extr_al_hal_udma_config.c_al_udma_m2s_comp_timeouts_get.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	al_udma_m2s_comp_timeouts_get
	.type	al_udma_m2s_comp_timeouts_get, @function
al_udma_m2s_comp_timeouts_get:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rax, QWORD PTR [rdi]
	mov	rbx, rsi
	lea	rdi, 8[rax]
	call	al_reg_read32@PLT
	test	DWORD PTR UDMA_M2S_COMP_CFG_1C_FORCE_RR[rip], eax
	mov	edx, DWORD PTR UDMA_M2S_COMP_CFG_1C_COMP_FIFO_DEPTH_SHIFT[rip]
	mov	rbp, rax
	mov	eax, DWORD PTR SRR[rip]
	cmove	eax, DWORD PTR STRICT[rip]
	test	DWORD PTR UDMA_M2S_COMP_CFG_1C_Q_PROMOTION[rip], ebp
	mov	esi, DWORD PTR UDMA_M2S_COMP_CFG_1C_COMP_FIFO_DEPTH_MASK[rip]
	mov	edi, ebp
	mov	DWORD PTR 36[rbx], eax
	mov	eax, DWORD PTR AL_TRUE[rip]
	cmove	eax, DWORD PTR AL_FALSE[rip]
	mov	DWORD PTR 32[rbx], eax
	call	AL_REG_FIELD_GET@PLT
	mov	edx, DWORD PTR UDMA_M2S_COMP_CFG_1C_UNACK_FIFO_DEPTH_SHIFT[rip]
	mov	esi, DWORD PTR UDMA_M2S_COMP_CFG_1C_UNACK_FIFO_DEPTH_MASK[rip]
	mov	edi, ebp
	mov	QWORD PTR 24[rbx], rax
	call	AL_REG_FIELD_GET@PLT
	mov	QWORD PTR 16[rbx], rax
	mov	rax, QWORD PTR [r12]
	lea	rdi, 4[rax]
	call	al_reg_read32@PLT
	mov	rdi, QWORD PTR [r12]
	mov	QWORD PTR 8[rbx], rax
	call	al_reg_read32@PLT
	mov	edx, DWORD PTR UDMA_M2S_COMP_CFG_APPLICATION_ACK_TOUT_SHIFT[rip]
	mov	esi, DWORD PTR UDMA_M2S_COMP_CFG_APPLICATION_ACK_TOUT_MASK[rip]
	mov	rdi, rax
	call	AL_REG_FIELD_GET@PLT
	mov	QWORD PTR [rbx], rax
	pop	rbx
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	al_udma_m2s_comp_timeouts_get, .-al_udma_m2s_comp_timeouts_get
	.comm	UDMA_M2S_COMP_CFG_APPLICATION_ACK_TOUT_SHIFT,4,4
	.comm	UDMA_M2S_COMP_CFG_APPLICATION_ACK_TOUT_MASK,4,4
	.comm	UDMA_M2S_COMP_CFG_1C_UNACK_FIFO_DEPTH_SHIFT,4,4
	.comm	UDMA_M2S_COMP_CFG_1C_UNACK_FIFO_DEPTH_MASK,4,4
	.comm	UDMA_M2S_COMP_CFG_1C_Q_PROMOTION,4,4
	.comm	UDMA_M2S_COMP_CFG_1C_FORCE_RR,4,4
	.comm	UDMA_M2S_COMP_CFG_1C_COMP_FIFO_DEPTH_SHIFT,4,4
	.comm	UDMA_M2S_COMP_CFG_1C_COMP_FIFO_DEPTH_MASK,4,4
	.comm	STRICT,4,4
	.comm	SRR,4,4
	.comm	AL_TRUE,4,4
	.comm	AL_FALSE,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_comp_timeouts_get.c"
	.text
	.align	2
	.global	al_udma_m2s_comp_timeouts_get
	.syntax unified
	.arm
	.fpu softvfp
	.type	al_udma_m2s_comp_timeouts_get, %function
al_udma_m2s_comp_timeouts_get:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r0
	ldr	r0, [r0]
	mov	r4, r1
	add	r0, r0, #8
	bl	al_reg_read32
	ldr	r3, .L8
	mov	r5, r0
	ldr	r3, [r3]
	tst	r0, r3
	ldrne	r3, .L8+4
	ldreq	r3, .L8+8
	ldr	r2, [r3]
	ldr	r3, .L8+12
	str	r2, [r4, #20]
	ldr	r3, [r3]
	ldr	r2, .L8+16
	tst	r0, r3
	ldrne	r3, .L8+20
	ldreq	r3, .L8+24
	ldr	r2, [r2]
	ldr	r1, [r3]
	ldr	r3, .L8+28
	str	r1, [r4, #16]
	ldr	r1, [r3]
	bl	AL_REG_FIELD_GET
	ldr	r3, .L8+32
	ldr	r2, .L8+36
	ldr	r1, [r3]
	ldr	r2, [r2]
	str	r0, [r4, #12]
	mov	r0, r5
	bl	AL_REG_FIELD_GET
	ldr	r3, [r6]
	str	r0, [r4, #8]
	add	r0, r3, #4
	bl	al_reg_read32
	mov	r3, r0
	ldr	r0, [r6]
	str	r3, [r4, #4]
	bl	al_reg_read32
	ldr	r3, .L8+40
	ldr	r2, .L8+44
	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}
.L9:
	.align	2
.L8:
	.word	UDMA_M2S_COMP_CFG_1C_FORCE_RR
	.word	SRR
	.word	STRICT
	.word	UDMA_M2S_COMP_CFG_1C_Q_PROMOTION
	.word	UDMA_M2S_COMP_CFG_1C_COMP_FIFO_DEPTH_SHIFT
	.word	AL_TRUE
	.word	AL_FALSE
	.word	UDMA_M2S_COMP_CFG_1C_COMP_FIFO_DEPTH_MASK
	.word	UDMA_M2S_COMP_CFG_1C_UNACK_FIFO_DEPTH_MASK
	.word	UDMA_M2S_COMP_CFG_1C_UNACK_FIFO_DEPTH_SHIFT
	.word	UDMA_M2S_COMP_CFG_APPLICATION_ACK_TOUT_MASK
	.word	UDMA_M2S_COMP_CFG_APPLICATION_ACK_TOUT_SHIFT
	.size	al_udma_m2s_comp_timeouts_get, .-al_udma_m2s_comp_timeouts_get
	.comm	UDMA_M2S_COMP_CFG_APPLICATION_ACK_TOUT_SHIFT,4,4
	.comm	UDMA_M2S_COMP_CFG_APPLICATION_ACK_TOUT_MASK,4,4
	.comm	UDMA_M2S_COMP_CFG_1C_UNACK_FIFO_DEPTH_SHIFT,4,4
	.comm	UDMA_M2S_COMP_CFG_1C_UNACK_FIFO_DEPTH_MASK,4,4
	.comm	UDMA_M2S_COMP_CFG_1C_Q_PROMOTION,4,4
	.comm	UDMA_M2S_COMP_CFG_1C_FORCE_RR,4,4
	.comm	UDMA_M2S_COMP_CFG_1C_COMP_FIFO_DEPTH_SHIFT,4,4
	.comm	UDMA_M2S_COMP_CFG_1C_COMP_FIFO_DEPTH_MASK,4,4
	.comm	STRICT,4,4
	.comm	SRR,4,4
	.comm	AL_TRUE,4,4
	.comm	AL_FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
