	.file	"extr_mpt3sas_ctl.c__ctl_diag_trigger_mpi_store.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	_ctl_diag_trigger_mpi_store, @function
_ctl_diag_trigger_mpi_store:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	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	r12, rcx
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	class_to_shost@PLT
	mov	rdi, rax
	call	shost_priv@PLT
	xor	esi, esi
	mov	rdi, rax
	mov	rbp, rax
	call	spin_lock_irqsave@PLT
	mov	rsi, r12
	mov	edi, 4
	lea	r14, 8[rbp]
	call	min@PLT
	mov	edx, 8
	xor	esi, esi
	mov	rdi, r14
	mov	r12d, eax
	call	memset@PLT
	mov	edx, r12d
	mov	rsi, r13
	mov	rdi, r14
	call	memcpy@PLT
	mov	rax, QWORD PTR NUM_VALID_ENTRIES[rip]
	cmp	QWORD PTR 8[rbp], rax
	jle	.L2
	mov	QWORD PTR 8[rbp], rax
.L2:
	mov	rdi, rbp
	xor	esi, esi
	call	spin_unlock_irqrestore@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
	.cfi_endproc
.LFE0:
	.size	_ctl_diag_trigger_mpi_store, .-_ctl_diag_trigger_mpi_store
	.comm	NUM_VALID_ENTRIES,8,8
	.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_ctl.c__ctl_diag_trigger_mpi_store.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_ctl_diag_trigger_mpi_store, %function
_ctl_diag_trigger_mpi_store:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r2
	mov	r5, r3
	bl	class_to_shost
	bl	shost_priv
	mov	r1, #0
	mov	r4, r0
	bl	spin_lock_irqsave
	mov	r1, r5
	mov	r0, #4
	bl	min
	mov	r3, #0
	mov	r5, r0
	add	r0, r4, #4
	strb	r3, [r4, #4]
	mov	r1, r6
	mov	r2, r5
	strb	r3, [r0, #1]
	strb	r3, [r0, #2]
	strb	r3, [r0, #3]
	bl	memcpy
	ldr	r3, .L5
	ldr	r2, [r4, #4]
	ldr	r3, [r3]
	mov	r0, r4
	cmp	r2, r3
	mov	r1, #0
	strgt	r3, [r4, #4]
	bl	spin_unlock_irqrestore
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L6:
	.align	2
.L5:
	.word	NUM_VALID_ENTRIES
	.size	_ctl_diag_trigger_mpi_store, .-_ctl_diag_trigger_mpi_store
	.comm	NUM_VALID_ENTRIES,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
