	.file	"extr_mpt3sas_scsih.c__scsih_sas_device_discovery_error_event.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"SMP command sent to the expander (handle:0x%04x, sas_address:0x%016llx, physical_port:0x%02x) has failed\n"
	.align 8
.LC1:
	.string	"SMP command sent to the expander (handle:0x%04x, sas_address:0x%016llx, physical_port:0x%02x) has timed out\n"
	.text
	.p2align 4
	.type	_scsih_sas_device_discovery_error_event, @function
_scsih_sas_device_discovery_error_event:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rbx, QWORD PTR [rsi]
	mov	eax, DWORD PTR [rbx]
	cmp	eax, 128
	je	.L2
	cmp	eax, 129
	jne	.L1
	mov	edi, DWORD PTR 8[rbx]
	mov	r13d, DWORD PTR 4[rbx]
	call	le64_to_cpu@PLT
	mov	edi, DWORD PTR 12[rbx]
	mov	r12d, eax
	call	le16_to_cpu@PLT
	mov	r8d, r13d
	mov	ecx, r12d
	lea	rsi, .LC0[rip]
	mov	edx, eax
.L5:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	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
	jmp	ioc_warn@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	edi, DWORD PTR 8[rbx]
	mov	r13d, DWORD PTR 4[rbx]
	call	le64_to_cpu@PLT
	mov	edi, DWORD PTR 12[rbx]
	mov	r12d, eax
	call	le16_to_cpu@PLT
	mov	r8d, r13d
	mov	ecx, r12d
	lea	rsi, .LC1[rip]
	mov	edx, eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L1:
	add	rsp, 8
	.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
	.cfi_endproc
.LFE0:
	.size	_scsih_sas_device_discovery_error_event, .-_scsih_sas_device_discovery_error_event
	.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_mpt3sas_scsih.c__scsih_sas_device_discovery_error_event.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"SMP command sent to the expander (handle:0x%04x, sa"
	.ascii	"s_address:0x%016llx, physical_port:0x%02x) has fail"
	.ascii	"ed\012\000"
	.align	2
.LC1:
	.ascii	"SMP command sent to the expander (handle:0x%04x, sa"
	.ascii	"s_address:0x%016llx, physical_port:0x%02x) has time"
	.ascii	"d out\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_scsih_sas_device_discovery_error_event, %function
_scsih_sas_device_discovery_error_event:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r4, [r1]
	mov	r5, r0
	ldr	r3, [r4]
	sub	sp, sp, #8
	cmp	r3, #128
	beq	.L2
	cmp	r3, #129
	bne	.L1
	ldr	r0, [r4, #12]
	bl	le16_to_cpu
	mov	r6, r0
	ldr	r0, [r4, #8]
	bl	le64_to_cpu
	ldr	r1, [r4, #4]
	mov	r3, r0
	str	r1, [sp]
	mov	r2, r6
	mov	r0, r5
	ldr	r1, .L6
	bl	ioc_warn
.L1:
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r0, [r4, #12]
	bl	le16_to_cpu
	mov	r6, r0
	ldr	r0, [r4, #8]
	bl	le64_to_cpu
	ldr	r1, [r4, #4]
	mov	r3, r0
	str	r1, [sp]
	mov	r2, r6
	mov	r0, r5
	ldr	r1, .L6+4
	bl	ioc_warn
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L7:
	.align	2
.L6:
	.word	.LC0
	.word	.LC1
	.size	_scsih_sas_device_discovery_error_event, .-_scsih_sas_device_discovery_error_event
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
