	.file	"extr_fsl_rio.c_fsl_rio_config_read.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"fsl_rio_config_read: index %d destid %d hopcount %d offset %8.8x len %d\n"
	.text
	.p2align 4
	.type	fsl_rio_config_read, @function
fsl_rio_config_read:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, r9d
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	movsx	rbp, r8d
	sal	r12d, 22
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	ebx, ecx
	mov	r13, QWORD PTR [rdi]
	mov	r8d, ebp
	lea	rdi, .LC0[rip]
	sal	ebx, 12
	call	pr_debug@PLT
	mov	esi, ebx
	mov	ebx, ebp
	mov	rdi, QWORD PTR 8[r13]
	sar	ebx, 9
	or	esi, ebx
	or	esi, r12d
	call	out_be32@PLT
	mov	rax, QWORD PTR 0[r13]
	lea	rdi, [rax+rbp*4]
	cmp	r14d, 1
	je	.L2
	cmp	r14d, 2
	je	.L3
	call	in_be32@PLT
	mov	rdx, QWORD PTR 48[rsp]
	mov	DWORD PTR [rdx], eax
	xor	eax, eax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	call	in_8@PLT
	mov	rdx, QWORD PTR 48[rsp]
	mov	DWORD PTR [rdx], eax
	xor	eax, eax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	call	in_be16@PLT
	mov	rcx, QWORD PTR 48[rsp]
	mov	DWORD PTR [rcx], eax
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	fsl_rio_config_read, .-fsl_rio_config_read
	.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_fsl_rio.c_fsl_rio_config_read.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"fsl_rio_config_read: index %d destid %d hopcount %d"
	.ascii	" offset %8.8x len %d\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fsl_rio_config_read, %function
fsl_rio_config_read:
	@ args = 12, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, r0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r3
	mov	r6, r2
	sub	sp, sp, #8
	ldr	r5, [sp, #32]
	ldr	r4, [sp, #36]
	str	r5, [sp]
	str	r4, [sp, #4]
	ldr	r0, .L9
	ldr	r8, [ip]
	bl	pr_debug
	asr	r1, r5, #9
	orr	r1, r1, r7, lsl #12
	ldr	r0, [r8, #4]
	orr	r1, r1, r6, lsl #22
	bl	out_be32
	ldr	r0, [r8]
	cmp	r4, #1
	add	r0, r0, r5, lsl #2
	beq	.L2
	cmp	r4, #2
	beq	.L3
	bl	in_be32
	ldr	r3, [sp, #40]
	str	r0, [r3]
	mov	r0, #0
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	bl	in_8
	ldr	r3, [sp, #40]
	str	r0, [r3]
	mov	r0, #0
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L3:
	bl	in_be16
	ldr	r3, [sp, #40]
	str	r0, [r3]
	mov	r0, #0
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	.align	2
.L9:
	.word	.LC0
	.size	fsl_rio_config_read, .-fsl_rio_config_read
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
