	.file	"extr_scsi_transport_sas.c_sas_smp_dispatch.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"space for a smp response is missing\n"
	.text
	.p2align 4
	.type	sas_smp_dispatch, @function
sas_smp_dispatch:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	xor	r13d, r13d
	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
	mov	edi, DWORD PTR [rdi]
	call	dev_to_shost@PLT
	mov	edi, DWORD PTR 0[rbp]
	mov	r12, rax
	call	scsi_is_host_device@PLT
	test	eax, eax
	je	.L9
.L2:
	mov	eax, DWORD PTR 4[rbp]
	test	eax, eax
	je	.L10
	mov	edi, DWORD PTR [r12]
	call	to_sas_internal@PLT
	mov	rdx, r13
	mov	rsi, r12
	mov	rdi, rbp
	mov	rax, QWORD PTR [rax]
	call	[QWORD PTR [rax]]
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	edi, DWORD PTR 0[rbp]
	lea	rsi, .LC0[rip]
	call	dev_warn@PLT
	mov	esi, DWORD PTR EINVAL[rip]
	mov	rdi, rbp
	xor	edx, edx
	neg	esi
	call	bsg_job_done@PLT
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	edi, DWORD PTR 0[rbp]
	call	dev_to_rphy@PLT
	mov	r13, rax
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	sas_smp_dispatch, .-sas_smp_dispatch
	.comm	EINVAL,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_scsi_transport_sas.c_sas_smp_dispatch.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"space for a smp response is missing\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sas_smp_dispatch, %function
sas_smp_dispatch:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	r0, [r0]
	bl	dev_to_shost
	mov	r5, r0
	ldr	r0, [r4]
	bl	scsi_is_host_device
	cmp	r0, #0
	movne	r7, #0
	beq	.L8
.L2:
	ldr	r6, [r4, #4]
	cmp	r6, #0
	beq	.L9
	ldr	r0, [r5]
	bl	to_sas_internal
	ldr	r3, [r0]
	mov	r2, r7
	mov	r1, r5
	mov	r0, r4
	ldr	r3, [r3]
	blx	r3
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	ldr	r1, .L10
	ldr	r0, [r4]
	bl	dev_warn
	ldr	r3, .L10+4
	mov	r2, r6
	ldr	r1, [r3]
	mov	r0, r4
	rsb	r1, r1, #0
	bl	bsg_job_done
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	ldr	r0, [r4]
	bl	dev_to_rphy
	mov	r7, r0
	b	.L2
.L11:
	.align	2
.L10:
	.word	.LC0
	.word	EINVAL
	.size	sas_smp_dispatch, .-sas_smp_dispatch
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
