	.file	"extr_sas_init.c_sas_get_linkerrors.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	sas_get_linkerrors, @function
sas_get_linkerrors:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	call	scsi_is_sas_phy_local@PLT
	test	rax, rax
	jne	.L5
	mov	rdi, rbp
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	sas_smp_get_phy_events@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	mov	edi, DWORD PTR 8[rbp]
	call	dev_to_shost@PLT
	mov	rdi, rax
	call	SHOST_TO_SAS_HA@PLT
	mov	rcx, QWORD PTR 0[rbp]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR [rax]
	mov	edi, DWORD PTR [rax]
	mov	rbp, QWORD PTR [rdx+rcx*8]
	call	to_sas_internal@PLT
	mov	rdi, rbp
	mov	esi, DWORD PTR PHY_FUNC_GET_EVENTS[rip]
	xor	edx, edx
	mov	rax, QWORD PTR [rax]
	pop	rbp
	.cfi_def_cfa_offset 8
	mov	rax, QWORD PTR [rax]
	jmp	rax
	.cfi_endproc
.LFE0:
	.size	sas_get_linkerrors, .-sas_get_linkerrors
	.comm	PHY_FUNC_GET_EVENTS,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_sas_init.c_sas_get_linkerrors.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sas_get_linkerrors, %function
sas_get_linkerrors:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r0
	bl	scsi_is_sas_phy_local
	cmp	r0, #0
	bne	.L5
	mov	r0, r4
	pop	{r4, lr}
	b	sas_smp_get_phy_events
.L5:
	ldr	r0, [r4, #4]
	bl	dev_to_shost
	bl	SHOST_TO_SAS_HA
	ldr	r1, [r0]
	ldr	r3, [r0, #4]
	ldr	r2, [r4]
	ldr	r0, [r1]
	ldr	r4, [r3, r2, lsl #2]
	bl	to_sas_internal
	ldr	r2, .L6
	ldr	r3, [r0]
	ldr	r1, [r2]
	mov	r0, r4
	pop	{r4, lr}
	mov	r2, #0
	ldr	r3, [r3]
	bx	r3
.L7:
	.align	2
.L6:
	.word	PHY_FUNC_GET_EVENTS
	.size	sas_get_linkerrors, .-sas_get_linkerrors
	.comm	PHY_FUNC_GET_EVENTS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
