	.file	"extr_zfcp_scsi.c_zfcp_scsi_rport_register.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"scpaddy"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"Registering port 0x%016Lx failed\n"
	.text
	.p2align 4
	.type	zfcp_scsi_rport_register, @function
zfcp_scsi_rport_register:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	sub	rsp, 32
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	cmp	QWORD PTR 8[rdi], 0
	je	.L8
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L9
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	eax, DWORD PTR 44[rdi]
	mov	r8d, DWORD PTR ZFCP_PSEUDO_ERP_ACTION_RPORT_ADD[rip]
	mov	rdx, rdi
	mov	rbp, rdi
	mov	rsi, QWORD PTR 32[rdi]
	xor	ecx, ecx
	mov	DWORD PTR 16[rsp], eax
	mov	rax, QWORD PTR 24[rdi]
	mov	r9d, r8d
	mov	QWORD PTR 8[rsp], rax
	mov	eax, DWORD PTR 40[rdi]
	lea	rdi, .LC0[rip]
	mov	DWORD PTR 4[rsp], eax
	mov	eax, DWORD PTR FC_RPORT_ROLE_FCP_TARGET[rip]
	mov	DWORD PTR [rsp], eax
	call	zfcp_dbf_rec_trig_lock@PLT
	mov	rax, QWORD PTR 32[rbp]
	xor	esi, esi
	mov	rdx, rsp
	mov	edi, DWORD PTR 8[rax]
	call	fc_remote_port_add@PLT
	test	rax, rax
	je	.L10
	mov	edx, DWORD PTR 20[rbp]
	mov	rdi, rbp
	mov	DWORD PTR 8[rax], edx
	mov	edx, DWORD PTR 16[rbp]
	mov	DWORD PTR 4[rax], edx
	mov	QWORD PTR 8[rbp], rax
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR 0[rbp], eax
	call	zfcp_unit_queue_scsi_scan@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rax, QWORD PTR 32[rbp]
	mov	rdx, QWORD PTR 24[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, QWORD PTR [rax]
	call	dev_err@PLT
	jmp	.L1
.L9:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	zfcp_scsi_rport_register, .-zfcp_scsi_rport_register
	.comm	ZFCP_PSEUDO_ERP_ACTION_RPORT_ADD,4,4
	.comm	FC_RPORT_ROLE_FCP_TARGET,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_scsi.c_zfcp_scsi_rport_register.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"scpaddy\000"
	.align	2
.LC1:
	.ascii	"Registering port 0x%016Lx failed\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	zfcp_scsi_rport_register, %function
zfcp_scsi_rport_register:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r5, [r0, #4]
	ldr	r3, .L11
	sub	sp, sp, #36
	cmp	r5, #0
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	beq	.L8
.L1:
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, pc}
.L8:
	mov	r4, r0
	ldr	r3, .L11+4
	ldr	r2, .L11+8
	ldr	r3, [r3]
	ldr	r1, [r0, #28]
	ldr	r2, [r2]
	ldr	r0, [r0, #16]
	ldr	ip, [r4, #24]
	str	r3, [sp, #4]
	str	r3, [sp]
	str	r2, [sp, #12]
	mov	r3, r5
	mov	r2, r4
	str	r1, [sp, #24]
	str	r0, [sp, #20]
	ldr	r1, [r4, #20]
	ldr	r0, .L11+12
	str	ip, [sp, #16]
	bl	zfcp_dbf_rec_trig_lock
	ldr	r3, [r4, #20]
	mov	r1, r5
	ldr	r0, [r3, #4]
	add	r2, sp, #12
	bl	fc_remote_port_add
	subs	r3, r0, #0
	beq	.L10
	ldr	r0, [r4, #12]
	ldr	r1, [r4, #8]
	ldr	r2, [r3]
	str	r0, [r3, #8]
	str	r1, [r3, #4]
	mov	r0, r4
	stm	r4, {r2, r3}
	bl	zfcp_unit_queue_scsi_scan
	b	.L1
.L10:
	ldr	r1, [r4, #20]
	ldr	r2, [r4, #16]
	ldr	r0, [r1]
	asr	r3, r2, #31
	ldr	r1, .L11+16
	bl	dev_err
	b	.L1
.L9:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	.LC2
	.word	ZFCP_PSEUDO_ERP_ACTION_RPORT_ADD
	.word	FC_RPORT_ROLE_FCP_TARGET
	.word	.LC0
	.word	.LC1
	.size	zfcp_scsi_rport_register, .-zfcp_scsi_rport_register
	.comm	ZFCP_PSEUDO_ERP_ACTION_RPORT_ADD,4,4
	.comm	FC_RPORT_ROLE_FCP_TARGET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
