	.file	"extr_zfcp_sysfs.c_zfcp_sysfs_port_remove_store.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"syprs_1"
	.text
	.p2align 4
	.type	zfcp_sysfs_port_remove_store, @function
zfcp_sysfs_port_remove_store:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rcx
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	to_ccwdev@PLT
	mov	rdi, rax
	call	zfcp_ccw_adapter_by_cdev@PLT
	mov	r12d, DWORD PTR EINVAL[rip]
	neg	r12d
	test	rax, rax
	je	.L13
	xor	esi, esi
	lea	rdx, 4[rsp]
	mov	rdi, r13
	mov	rbp, rax
	call	kstrtoull@PLT
	test	rax, rax
	je	.L14
.L4:
	mov	rdi, rbp
	call	zfcp_ccw_adapter_put@PLT
	test	r12d, r12d
	je	.L6
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L15
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	esi, DWORD PTR 4[rsp]
	mov	rdi, rbp
	call	zfcp_get_port_by_wwpn@PLT
	mov	r13, rax
	test	rax, rax
	je	.L4
	mov	rdi, rax
	call	zfcp_sysfs_port_in_use@PLT
	test	rax, rax
	jne	.L16
	mov	rdi, rbp
	call	write_lock_irq@PLT
	lea	rdi, 4[r13]
	call	list_del@PLT
	mov	rdi, rbp
	call	write_unlock_irq@PLT
	mov	rdi, r13
	call	put_device@PLT
	lea	rdx, .LC0[rip]
	xor	esi, esi
	mov	rdi, r13
	call	zfcp_erp_port_shutdown@PLT
	mov	rdi, r13
	call	device_unregister@PLT
	mov	rdi, rbp
	call	zfcp_ccw_adapter_put@PLT
.L6:
	mov	r12d, ebx
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L13:
	mov	r12d, DWORD PTR ENODEV[rip]
	neg	r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L16:
	mov	r12d, DWORD PTR EBUSY[rip]
	mov	rdi, r13
	neg	r12d
	call	put_device@PLT
	jmp	.L4
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	zfcp_sysfs_port_remove_store, .-zfcp_sysfs_port_remove_store
	.comm	ENODEV,4,4
	.comm	EINVAL,4,4
	.comm	EBUSY,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_sysfs.c_zfcp_sysfs_port_remove_store.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"syprs_1\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	zfcp_sysfs_port_remove_store, %function
zfcp_sysfs_port_remove_store:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r7, r3
	ldr	r3, .L17
	sub	sp, sp, #12
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	mov	r5, r2
	bl	to_ccwdev
	bl	zfcp_ccw_adapter_by_cdev
	ldr	r3, .L17+4
	subs	r6, r0, #0
	ldr	r4, [r3]
	beq	.L13
	mov	r0, r5
	mov	r2, sp
	mov	r1, #0
	bl	kstrtoull
	cmp	r0, #0
	rsb	r4, r4, #0
	beq	.L14
.L4:
	mov	r0, r6
	bl	zfcp_ccw_adapter_put
	cmp	r4, #0
	beq	.L6
.L1:
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L14:
	mov	r0, r6
	ldr	r1, [sp]
	bl	zfcp_get_port_by_wwpn
	subs	r5, r0, #0
	beq	.L4
	bl	zfcp_sysfs_port_in_use
	subs	r4, r0, #0
	bne	.L16
	mov	r0, r6
	bl	write_lock_irq
	add	r0, r5, #4
	bl	list_del
	mov	r0, r6
	bl	write_unlock_irq
	mov	r0, r5
	bl	put_device
	mov	r1, r4
	ldr	r2, .L17+8
	mov	r0, r5
	bl	zfcp_erp_port_shutdown
	mov	r0, r5
	bl	device_unregister
	mov	r0, r6
	bl	zfcp_ccw_adapter_put
.L6:
	mov	r4, r7
	b	.L1
.L13:
	ldr	r3, .L17+12
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L1
.L16:
	ldr	r3, .L17+16
	mov	r0, r5
	ldr	r4, [r3]
	rsb	r4, r4, #0
	bl	put_device
	b	.L4
.L15:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	.LC1
	.word	EINVAL
	.word	.LC0
	.word	ENODEV
	.word	EBUSY
	.size	zfcp_sysfs_port_remove_store, .-zfcp_sysfs_port_remove_store
	.comm	ENODEV,4,4
	.comm	EINVAL,4,4
	.comm	EBUSY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
