	.file	"extr_mpt3sas_scsih.c__scsih_fw_event_add.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	_scsih_fw_event_add, @function
_scsih_fw_event_add:
.LFB0:
	.cfi_startproc
	endbr64
	cmp	QWORD PTR 8[rdi], 0
	je	.L1
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	xor	r13d, r13d
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	mov	rsi, r13
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	lea	r14, 4[r12]
	mov	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	spin_lock_irqsave@PLT
	mov	rdi, r12
	call	fw_event_work_get@PLT
	mov	rdi, r14
	call	INIT_LIST_HEAD@PLT
	lea	rsi, 16[rbp]
	mov	rdi, r14
	call	list_add_tail@PLT
	mov	esi, DWORD PTR _firmware_event_work[rip]
	mov	rdi, r12
	call	INIT_WORK@PLT
	mov	rdi, r12
	call	fw_event_work_get@PLT
	mov	rdi, QWORD PTR 8[rbp]
	mov	rsi, r12
	call	queue_work@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	rsi, r13
	mov	rdi, rbp
	pop	rbp
	.cfi_restore 6
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_restore 12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_restore 13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_restore 14
	.cfi_def_cfa_offset 8
	jmp	spin_unlock_irqrestore@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	ret
	.cfi_endproc
.LFE0:
	.size	_scsih_fw_event_add, .-_scsih_fw_event_add
	.comm	_firmware_event_work,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_mpt3sas_scsih.c__scsih_fw_event_add.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	_scsih_fw_event_add, %function
_scsih_fw_event_add:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #4]
	cmp	r3, #0
	bxeq	lr
	push	{r4, r5, r6, r7, r8, lr}
	mov	r6, #0
	mov	r4, r1
	mov	r5, r0
	mov	r1, r6
	bl	spin_lock_irqsave
	add	r7, r4, #4
	mov	r0, r4
	bl	fw_event_work_get
	mov	r0, r7
	bl	INIT_LIST_HEAD
	add	r1, r5, #8
	mov	r0, r7
	bl	list_add_tail
	ldr	r3, .L7
	mov	r0, r4
	ldr	r1, [r3]
	bl	INIT_WORK
	mov	r0, r4
	bl	fw_event_work_get
	mov	r1, r4
	ldr	r0, [r5, #4]
	bl	queue_work
	mov	r1, r6
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, lr}
	b	spin_unlock_irqrestore
.L8:
	.align	2
.L7:
	.word	_firmware_event_work
	.size	_scsih_fw_event_add, .-_scsih_fw_event_add
	.comm	_firmware_event_work,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
