	.file	"extr_al_hal_serdes_25g.c_al_serdes_25g_bist_rx_status.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	al_serdes_25g_bist_rx_status, @function
al_serdes_25g_bist_rx_status:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rcx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, esi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, r8
	sub	rsp, 32
	.cfi_def_cfa_offset 80
	mov	ecx, DWORD PTR SERDES_25G_LANE_RX_BIST_STATUS_STATE_MASK[rip]
	mov	edx, DWORD PTR SERDES_25G_LANE_RX_BIST_STATUS_ADDR[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	r8d, DWORD PTR SERDES_25G_LANE_RX_BIST_STATUS_STATE_SHIFT[rip]
	lea	r9, 8[rsp]
	call	al_serdes_25g_reg_masked_read@PLT
	cmp	DWORD PTR 8[rsp], 3
	je	.L2
	mov	eax, DWORD PTR AL_FALSE[rip]
	mov	DWORD PTR 0[r13], eax
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L7
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	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
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	eax, DWORD PTR AL_TRUE[rip]
	lea	r9, 12[rsp]
	mov	esi, r12d
	mov	rdi, rbp
	mov	DWORD PTR 0[r13], eax
	mov	eax, DWORD PTR AL_FALSE[rip]
	mov	DWORD PTR [r14], eax
	mov	r8d, DWORD PTR SERDES_25G_LANE_RX_BIST_BER_STATUS0_BIT_ERROR_COUNT_7_0_SHIFT[rip]
	mov	ecx, DWORD PTR SERDES_25G_LANE_RX_BIST_BER_STATUS0_BIT_ERROR_COUNT_7_0_MASK[rip]
	mov	edx, DWORD PTR SERDES_25G_LANE_RX_BIST_BER_STATUS0_ADDR[rip]
	call	al_serdes_25g_reg_masked_read@PLT
	lea	r9, 16[rsp]
	mov	esi, r12d
	mov	rdi, rbp
	mov	r8d, DWORD PTR SERDES_25G_LANE_RX_BIST_BER_STATUS1_BIT_ERROR_COUNT_15_8_SHIFT[rip]
	mov	ecx, DWORD PTR SERDES_25G_LANE_RX_BIST_BER_STATUS1_BIT_ERROR_COUNT_15_8_MASK[rip]
	mov	edx, DWORD PTR SERDES_25G_LANE_RX_BIST_BER_STATUS1_ADDR[rip]
	call	al_serdes_25g_reg_masked_read@PLT
	lea	r9, 20[rsp]
	mov	esi, r12d
	mov	rdi, rbp
	mov	edx, DWORD PTR SERDES_25G_LANE_RX_BIST_BER_STATUS2_ADDR[rip]
	mov	r8d, DWORD PTR SERDES_25G_LANE_RX_BIST_BER_STATUS2_BIT_ERROR_COUNT_23_16_SHIFT[rip]
	mov	ecx, DWORD PTR SERDES_25G_LANE_RX_BIST_BER_STATUS2_BIT_ERROR_COUNT_23_16_MASK[rip]
	call	al_serdes_25g_reg_masked_read@PLT
	mov	eax, DWORD PTR 16[rsp]
	mov	edx, DWORD PTR 20[rsp]
	sal	eax, 8
	sal	edx, 16
	add	eax, DWORD PTR 12[rsp]
	add	eax, edx
	mov	DWORD PTR [rbx], eax
	jmp	.L1
.L7:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	al_serdes_25g_bist_rx_status, .-al_serdes_25g_bist_rx_status
	.comm	SERDES_25G_LANE_RX_BIST_STATUS_STATE_SHIFT,4,4
	.comm	SERDES_25G_LANE_RX_BIST_STATUS_STATE_MASK,4,4
	.comm	SERDES_25G_LANE_RX_BIST_STATUS_ADDR,4,4
	.comm	SERDES_25G_LANE_RX_BIST_BER_STATUS2_BIT_ERROR_COUNT_23_16_SHIFT,4,4
	.comm	SERDES_25G_LANE_RX_BIST_BER_STATUS2_BIT_ERROR_COUNT_23_16_MASK,4,4
	.comm	SERDES_25G_LANE_RX_BIST_BER_STATUS2_ADDR,4,4
	.comm	SERDES_25G_LANE_RX_BIST_BER_STATUS1_BIT_ERROR_COUNT_15_8_SHIFT,4,4
	.comm	SERDES_25G_LANE_RX_BIST_BER_STATUS1_BIT_ERROR_COUNT_15_8_MASK,4,4
	.comm	SERDES_25G_LANE_RX_BIST_BER_STATUS1_ADDR,4,4
	.comm	SERDES_25G_LANE_RX_BIST_BER_STATUS0_BIT_ERROR_COUNT_7_0_SHIFT,4,4
	.comm	SERDES_25G_LANE_RX_BIST_BER_STATUS0_BIT_ERROR_COUNT_7_0_MASK,4,4
	.comm	SERDES_25G_LANE_RX_BIST_BER_STATUS0_ADDR,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_serdes_25g.c_al_serdes_25g_bist_rx_status.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	al_serdes_25g_bist_rx_status, %function
al_serdes_25g_bist_rx_status:
	@ args = 4, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r2
	ldr	r2, .L8
	sub	sp, sp, #32
	ldr	r5, [r2]
	mov	r6, r3
	ldr	r2, .L8+4
	ldr	r3, .L8+8
	str	r5, [sp]
	ldr	ip, .L8+12
	add	lr, sp, #12
	ldr	r2, [r2]
	ldr	r3, [r3]
	str	lr, [sp, #4]
	ldr	ip, [ip]
	str	ip, [sp, #28]
	mov	ip,#0
	mov	r5, r0
	mov	r7, r1
	ldr	r8, [sp, #56]
	bl	al_serdes_25g_reg_masked_read
	ldr	r2, [sp, #12]
	cmp	r2, #3
	beq	.L2
	ldr	r3, .L8+16
	ldr	r3, [r3]
	str	r3, [r4]
.L1:
	ldr	r3, .L8+12
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L7
	add	sp, sp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r2, .L8+20
	ldr	r3, .L8+16
	ldr	r1, [r2]
	ldr	r2, .L8+24
	str	r1, [r4]
	ldr	r1, [r3]
	ldr	r3, .L8+28
	str	r1, [r6]
	ldr	r0, [r2]
	ldr	r2, .L8+32
	str	r0, [sp]
	add	r1, sp, #16
	ldr	r3, [r3]
	ldr	r2, [r2]
	mov	r0, r5
	str	r1, [sp, #4]
	mov	r1, r7
	bl	al_serdes_25g_reg_masked_read
	ldr	r2, .L8+36
	ldr	r3, .L8+40
	ldr	r0, [r2]
	ldr	r2, .L8+44
	str	r0, [sp]
	add	r1, sp, #20
	ldr	r3, [r3]
	ldr	r2, [r2]
	mov	r0, r5
	str	r1, [sp, #4]
	mov	r1, r7
	bl	al_serdes_25g_reg_masked_read
	ldr	r2, .L8+48
	ldr	r3, .L8+52
	ldr	lr, [r2]
	ldr	r2, .L8+56
	str	lr, [sp]
	add	ip, sp, #24
	ldr	r3, [r3]
	ldr	r2, [r2]
	mov	r1, r7
	mov	r0, r5
	str	ip, [sp, #4]
	bl	al_serdes_25g_reg_masked_read
	ldr	r1, [sp, #20]
	ldr	r3, [sp, #16]
	ldr	r2, [sp, #24]
	add	r3, r3, r1, lsl #8
	add	r3, r3, r2, lsl #16
	str	r3, [r8]
	b	.L1
.L7:
	bl	__stack_chk_fail
.L9:
	.align	2
.L8:
	.word	SERDES_25G_LANE_RX_BIST_STATUS_STATE_SHIFT
	.word	SERDES_25G_LANE_RX_BIST_STATUS_ADDR
	.word	SERDES_25G_LANE_RX_BIST_STATUS_STATE_MASK
	.word	.LC0
	.word	AL_FALSE
	.word	AL_TRUE
	.word	SERDES_25G_LANE_RX_BIST_BER_STATUS0_BIT_ERROR_COUNT_7_0_SHIFT
	.word	SERDES_25G_LANE_RX_BIST_BER_STATUS0_BIT_ERROR_COUNT_7_0_MASK
	.word	SERDES_25G_LANE_RX_BIST_BER_STATUS0_ADDR
	.word	SERDES_25G_LANE_RX_BIST_BER_STATUS1_BIT_ERROR_COUNT_15_8_SHIFT
	.word	SERDES_25G_LANE_RX_BIST_BER_STATUS1_BIT_ERROR_COUNT_15_8_MASK
	.word	SERDES_25G_LANE_RX_BIST_BER_STATUS1_ADDR
	.word	SERDES_25G_LANE_RX_BIST_BER_STATUS2_BIT_ERROR_COUNT_23_16_SHIFT
	.word	SERDES_25G_LANE_RX_BIST_BER_STATUS2_BIT_ERROR_COUNT_23_16_MASK
	.word	SERDES_25G_LANE_RX_BIST_BER_STATUS2_ADDR
	.size	al_serdes_25g_bist_rx_status, .-al_serdes_25g_bist_rx_status
	.comm	SERDES_25G_LANE_RX_BIST_STATUS_STATE_SHIFT,4,4
	.comm	SERDES_25G_LANE_RX_BIST_STATUS_STATE_MASK,4,4
	.comm	SERDES_25G_LANE_RX_BIST_STATUS_ADDR,4,4
	.comm	SERDES_25G_LANE_RX_BIST_BER_STATUS2_BIT_ERROR_COUNT_23_16_SHIFT,4,4
	.comm	SERDES_25G_LANE_RX_BIST_BER_STATUS2_BIT_ERROR_COUNT_23_16_MASK,4,4
	.comm	SERDES_25G_LANE_RX_BIST_BER_STATUS2_ADDR,4,4
	.comm	SERDES_25G_LANE_RX_BIST_BER_STATUS1_BIT_ERROR_COUNT_15_8_SHIFT,4,4
	.comm	SERDES_25G_LANE_RX_BIST_BER_STATUS1_BIT_ERROR_COUNT_15_8_MASK,4,4
	.comm	SERDES_25G_LANE_RX_BIST_BER_STATUS1_ADDR,4,4
	.comm	SERDES_25G_LANE_RX_BIST_BER_STATUS0_BIT_ERROR_COUNT_7_0_SHIFT,4,4
	.comm	SERDES_25G_LANE_RX_BIST_BER_STATUS0_BIT_ERROR_COUNT_7_0_MASK,4,4
	.comm	SERDES_25G_LANE_RX_BIST_BER_STATUS0_ADDR,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
