	.file	"extr_siba_erom.c_siba_eio_read_4.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"core index %u out of range (ncores=%u)"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"invalid core offset %#jx"
	.text
	.p2align 4
	.type	siba_eio_read_4, @function
siba_eio_read_4:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rdx, QWORD PTR [rdi]
	mov	rbx, rdi
	cmp	rdx, rsi
	jle	.L6
.L2:
	movsx	rax, DWORD PTR SIBA_CORE_SIZE[rip]
	movsx	rsi, r12d
	sub	rax, 4
	cmp	rsi, rax
	ja	.L7
.L3:
	mov	rdi, rbp
	call	SIBA_CORE_OFFSET@PLT
	mov	edi, DWORD PTR 8[rbx]
	mov	edx, 4
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	lea	esi, [rax+r12]
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	bhnd_erom_io_read@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	xor	eax, eax
	call	panic@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L7:
	lea	rdi, .LC1[rip]
	xor	eax, eax
	call	panic@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	siba_eio_read_4, .-siba_eio_read_4
	.comm	SIBA_CORE_SIZE,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_siba_erom.c_siba_eio_read_4.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"core index %u out of range (ncores=%u)\000"
	.align	2
.LC1:
	.ascii	"invalid core offset %#jx\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	siba_eio_read_4, %function
siba_eio_read_4:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0]
	push	{r4, r5, r6, lr}
	cmp	r3, r1
	mov	r5, r0
	mov	r6, r1
	mov	r4, r2
	ble	.L6
.L2:
	ldr	r3, .L8
	ldr	r3, [r3]
	sub	r3, r3, #4
	cmp	r3, r4
	bcc	.L7
.L3:
	mov	r0, r6
	ldr	r5, [r5, #4]
	bl	SIBA_CORE_OFFSET
	mov	r2, #4
	add	r1, r0, r4
	mov	r0, r5
	pop	{r4, r5, r6, lr}
	b	bhnd_erom_io_read
.L6:
	mov	r2, r3
	ldr	r0, .L8+4
	bl	panic
	b	.L2
.L7:
	mov	r1, r4
	ldr	r0, .L8+8
	bl	panic
	b	.L3
.L9:
	.align	2
.L8:
	.word	SIBA_CORE_SIZE
	.word	.LC0
	.word	.LC1
	.size	siba_eio_read_4, .-siba_eio_read_4
	.comm	SIBA_CORE_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
