	.file	"extr_zfcp_ccw.c_zfcp_ccw_suspend.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"ccsusp2"
.LC1:
	.string	"ccsusp1"
	.text
	.p2align 4
	.type	zfcp_ccw_suspend, @function
zfcp_ccw_suspend:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	call	dev_get_drvdata@PLT
	test	rax, rax
	je	.L2
	lea	rdi, zfcp_data[rip]
	mov	rbp, rax
	call	mutex_lock@PLT
	mov	ecx, DWORD PTR ZFCP_STATUS_ADAPTER_SUSPENDED[rip]
	xor	edx, edx
	mov	rdi, rbp
	mov	r8d, DWORD PTR ZFCP_SET[rip]
	lea	rsi, .LC0[rip]
	call	zfcp_erp_modify_adapter_status@PLT
	xor	ecx, ecx
	lea	rdx, .LC1[rip]
	xor	esi, esi
	mov	rdi, rbp
	call	zfcp_erp_adapter_shutdown@PLT
	mov	rdi, rbp
	call	zfcp_erp_wait@PLT
	lea	rdi, zfcp_data[rip]
	call	mutex_unlock@PLT
.L2:
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	zfcp_ccw_suspend, .-zfcp_ccw_suspend
	.comm	zfcp_data,4,4
	.comm	ZFCP_STATUS_ADAPTER_SUSPENDED,4,4
	.comm	ZFCP_SET,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_zfcp_ccw.c_zfcp_ccw_suspend.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"ccsusp2\000"
	.align	2
.LC1:
	.ascii	"ccsusp1\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	zfcp_ccw_suspend, %function
zfcp_ccw_suspend:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	sub	sp, sp, #8
	bl	dev_get_drvdata
	subs	r4, r0, #0
	beq	.L2
	ldr	r0, .L8
	bl	mutex_lock
	ldr	r2, .L8+4
	ldr	r3, .L8+8
	ldr	r2, [r2]
	ldr	r3, [r3]
	ldr	r1, .L8+12
	str	r2, [sp]
	mov	r0, r4
	mov	r2, #0
	bl	zfcp_erp_modify_adapter_status
	mov	r3, #0
	ldr	r2, .L8+16
	mov	r1, r3
	mov	r0, r4
	bl	zfcp_erp_adapter_shutdown
	mov	r0, r4
	bl	zfcp_erp_wait
	ldr	r0, .L8
	bl	mutex_unlock
.L2:
	mov	r0, #0
	add	sp, sp, #8
	@ sp needed
	pop	{r4, pc}
.L9:
	.align	2
.L8:
	.word	zfcp_data
	.word	ZFCP_SET
	.word	ZFCP_STATUS_ADAPTER_SUSPENDED
	.word	.LC0
	.word	.LC1
	.size	zfcp_ccw_suspend, .-zfcp_ccw_suspend
	.comm	zfcp_data,4,4
	.comm	ZFCP_STATUS_ADAPTER_SUSPENDED,4,4
	.comm	ZFCP_SET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
