	.file	"extr_ocelot_io.c___ocelot_read_ix.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	__ocelot_read_ix
	.type	__ocelot_read_ix, @function
__ocelot_read_ix:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	xor	edi, edi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rsi
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rcx, QWORD PTR TARGET_OFFSET[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	shr	r13, cl
	test	r13, r13
	sete	dil
	call	WARN_ON@PLT
	mov	rax, QWORD PTR [r12]
	and	rbx, QWORD PTR REG_MASK[rip]
	mov	rdx, rsp
	mov	rax, QWORD PTR [rax+r13*8]
	mov	rsi, QWORD PTR [rax+rbx*8]
	mov	rax, QWORD PTR 8[r12]
	mov	edi, DWORD PTR [rax+r13*4]
	add	rsi, rbp
	call	regmap_read@PLT
	mov	rax, QWORD PTR [rsp]
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L5
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	__ocelot_read_ix, .-__ocelot_read_ix
	.comm	TARGET_OFFSET,8,8
	.comm	REG_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_ocelot_io.c___ocelot_read_ix.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	__ocelot_read_ix
	.syntax unified
	.arm
	.fpu softvfp
	.type	__ocelot_read_ix, %function
__ocelot_read_ix:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r6, r0
	mov	r4, r1
	mov	r7, r2
	ldr	r3, .L6
	ldr	r2, .L6+4
	ldr	r5, [r3]
	sub	sp, sp, #12
	lsrs	r5, r1, r5
	moveq	r0, #1
	movne	r0, #0
	ldr	r2, [r2]
	str	r2, [sp, #4]
	mov	r2,#0
	bl	WARN_ON
	ldr	r2, .L6+8
	ldr	r3, [r6]
	ldr	r1, [r2]
	ldr	r3, [r3, r5, lsl #2]
	and	r4, r4, r1
	ldr	r1, [r3, r4, lsl #2]
	ldr	r3, [r6, #4]
	mov	r2, sp
	ldr	r0, [r3, r5, lsl #2]
	add	r1, r7, r1
	bl	regmap_read
	ldr	r3, .L6+4
	ldr	r0, [sp]
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	TARGET_OFFSET
	.word	.LC0
	.word	REG_MASK
	.size	__ocelot_read_ix, .-__ocelot_read_ix
	.comm	TARGET_OFFSET,4,4
	.comm	REG_MASK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
