	.file	"extr_pnd2_edac.c_apl_get_registers.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	apl_get_registers, @function
apl_get_registers:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	esi, DWORD PTR b_cr_asym_2way_mem_region_mchbar[rip]
	lea	rdi, asym_2way[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	r12d, DWORD PTR ENODEV[rip]
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	RD_REG@PLT
	test	rax, rax
	jne	.L2
	mov	eax, DWORD PTR APL_NUM_CHANNELS[rip]
	neg	r12d
	xor	ebx, ebx
	xor	ebp, ebp
	test	eax, eax
	jle	.L1
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rax, QWORD PTR apl_dports[rip]
	mov	esi, DWORD PTR d_cr_drp0[rip]
	mov	edx, DWORD PTR [rax+rbx*4]
	mov	rax, QWORD PTR drp0[rip]
	lea	rdi, [rax+rbx*4]
	call	RD_REGP@PLT
	test	eax, eax
	cmove	r12d, ebp
	add	rbx, 1
	cmp	DWORD PTR APL_NUM_CHANNELS[rip], ebx
	jg	.L3
.L1:
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	r12d, DWORD PTR ENODEV[rip]
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	neg	r12d
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	apl_get_registers, .-apl_get_registers
	.comm	drp0,8,8
	.comm	d_cr_drp0,4,4
	.comm	b_cr_asym_2way_mem_region_mchbar,4,4
	.comm	asym_2way,4,4
	.comm	apl_dports,8,8
	.comm	ENODEV,4,4
	.comm	APL_NUM_CHANNELS,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_pnd2_edac.c_apl_get_registers.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	apl_get_registers, %function
apl_get_registers:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L10
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r6, .L10+4
	ldr	r1, [r3]
	ldr	r0, .L10+8
	ldr	r5, [r6]
	bl	RD_REG
	subs	r4, r0, #0
	bne	.L2
	ldr	r6, .L10+12
	rsb	r5, r5, #0
	ldr	r3, [r6]
	cmp	r3, #0
	ble	.L1
	ldr	r9, .L10+16
	ldr	r8, .L10+20
	ldr	r7, .L10+24
.L3:
	ldr	r3, [r9]
	ldr	r0, [r7]
	ldr	r2, [r3, r4, lsl #2]
	add	r0, r0, r4, lsl #2
	ldr	r1, [r8]
	bl	RD_REGP
	ldr	r3, [r6]
	cmp	r0, #0
	add	r4, r4, #1
	moveq	r5, #0
	cmp	r3, r4
	bgt	.L3
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
	ldr	r5, [r6]
	rsb	r5, r5, #0
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L11:
	.align	2
.L10:
	.word	b_cr_asym_2way_mem_region_mchbar
	.word	ENODEV
	.word	asym_2way
	.word	APL_NUM_CHANNELS
	.word	apl_dports
	.word	d_cr_drp0
	.word	drp0
	.size	apl_get_registers, .-apl_get_registers
	.comm	drp0,4,4
	.comm	d_cr_drp0,4,4
	.comm	b_cr_asym_2way_mem_region_mchbar,4,4
	.comm	asym_2way,4,4
	.comm	apl_dports,4,4
	.comm	ENODEV,4,4
	.comm	APL_NUM_CHANNELS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
