	.file	"extr_ibmvfc.c_ibmvfc_tgt_adisc_done.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"ADISC succeeded\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"ADISC failed: %s (%x:%x) %s (%x) %s (%x) rc=0x%02X\n"
	.text
	.p2align 4
	.type	ibmvfc_tgt_adisc_done, @function
ibmvfc_tgt_adisc_done:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	r13, QWORD PTR [rdi]
	mov	r12, QWORD PTR 16[rdi]
	mov	r14, QWORD PTR 8[rdi]
	mov	edi, DWORD PTR 16[r13]
	call	be16_to_cpu@PLT
	sub	DWORD PTR 4[r14], 1
	mov	esi, DWORD PTR IBMVFC_TGT_ACTION_NONE[rip]
	mov	rdi, r12
	mov	ebx, eax
	call	ibmvfc_set_tgt_action@PLT
	lea	rdi, 4[r12]
	call	del_timer@PLT
	cmp	ebx, 128
	je	.L2
	cmp	ebx, 130
	je	.L3
	mov	esi, DWORD PTR IBMVFC_TGT_ACTION_DEL_RPORT[rip]
	mov	rdi, r12
	call	ibmvfc_set_tgt_action@PLT
	mov	rax, QWORD PTR 8[r13]
	mov	edi, DWORD PTR 4[rax]
	call	be32_to_cpu@PLT
	sar	eax, 16
	movzx	r15d, al
	mov	rax, QWORD PTR 8[r13]
	mov	edi, DWORD PTR 4[rax]
	call	be32_to_cpu@PLT
	movzx	eax, ah
	mov	edi, eax
	mov	DWORD PTR 28[rsp], eax
	call	ibmvfc_get_ls_explain@PLT
	mov	edi, r15d
	mov	DWORD PTR 24[rsp], eax
	call	ibmvfc_get_fc_type@PLT
	mov	edi, DWORD PTR 0[r13]
	mov	DWORD PTR 20[rsp], eax
	call	be16_to_cpu@PLT
	mov	edi, DWORD PTR 4[r13]
	mov	DWORD PTR 16[rsp], eax
	call	be16_to_cpu@PLT
	mov	edi, DWORD PTR 0[r13]
	mov	DWORD PTR 12[rsp], eax
	call	be16_to_cpu@PLT
	mov	edi, DWORD PTR 4[r13]
	mov	DWORD PTR 8[rsp], eax
	call	be16_to_cpu@PLT
	mov	esi, DWORD PTR 8[rsp]
	mov	edi, eax
	call	ibmvfc_get_cmd_error@PLT
	push	rbx
	.cfi_def_cfa_offset 104
	mov	r10d, DWORD PTR 36[rsp]
	mov	rdi, r12
	mov	edx, eax
	lea	rsi, .LC1[rip]
	push	r10
	.cfi_def_cfa_offset 112
	mov	r11d, DWORD PTR 40[rsp]
	push	r11
	.cfi_def_cfa_offset 120
	push	r15
	.cfi_def_cfa_offset 128
	mov	r9d, DWORD PTR 52[rsp]
	mov	r8d, DWORD PTR 48[rsp]
	mov	ecx, DWORD PTR 44[rsp]
	call	tgt_info@PLT
	add	rsp, 32
	.cfi_def_cfa_offset 96
.L3:
	mov	esi, DWORD PTR ibmvfc_release_tgt[rip]
	mov	rdi, r12
	call	kref_put@PLT
	mov	rdi, rbp
	call	ibmvfc_free_event@PLT
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rdi, r14
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	wake_up@PLT
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	lea	rsi, .LC0[rip]
	mov	rdi, r12
	call	tgt_dbg@PLT
	mov	rsi, r12
	mov	rdi, r13
	call	ibmvfc_adisc_needs_plogi@PLT
	test	eax, eax
	je	.L3
	mov	esi, DWORD PTR IBMVFC_TGT_ACTION_DEL_RPORT[rip]
	mov	rdi, r12
	call	ibmvfc_set_tgt_action@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	ibmvfc_tgt_adisc_done, .-ibmvfc_tgt_adisc_done
	.comm	ibmvfc_release_tgt,4,4
	.comm	IBMVFC_TGT_ACTION_NONE,4,4
	.comm	IBMVFC_TGT_ACTION_DEL_RPORT,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_ibmvfc.c_ibmvfc_tgt_adisc_done.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"ADISC succeeded\012\000"
	.align	2
.LC1:
	.ascii	"ADISC failed: %s (%x:%x) %s (%x) %s (%x) rc=0x%02X\012"
	.ascii	"\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ibmvfc_tgt_adisc_done, %function
ibmvfc_tgt_adisc_done:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r0
	ldr	r7, [r0]
	ldr	r5, [r0, #8]
	sub	sp, sp, #36
	ldr	r0, [r7, #12]
	ldr	r8, [r4, #4]
	bl	be16_to_cpu
	mov	r6, r0
	ldr	r3, [r8, #4]
	ldr	r2, .L14
	sub	r3, r3, #1
	ldr	r1, [r2]
	str	r3, [r8, #4]
	mov	r0, r5
	bl	ibmvfc_set_tgt_action
	add	r0, r5, #4
	bl	del_timer
	cmp	r6, #128
	beq	.L2
	cmp	r6, #130
	beq	.L3
	ldr	r3, .L14+4
	mov	r0, r5
	ldr	r1, [r3]
	bl	ibmvfc_set_tgt_action
	ldr	r3, [r7, #8]
	ldr	r0, [r3, #4]
	bl	be32_to_cpu
	ldr	r3, [r7, #8]
	asr	r9, r0, #16
	ldr	r0, [r3, #4]
	bl	be32_to_cpu
	mov	r10, r0
	ldr	r0, [r7, #4]
	bl	be16_to_cpu
	mov	fp, r0
	ldr	r0, [r7]
	bl	be16_to_cpu
	mov	r1, r0
	mov	r0, fp
	bl	ibmvfc_get_cmd_error
	mov	fp, r0
	ldr	r0, [r7, #4]
	bl	be16_to_cpu
	mov	r3, r0
	ldr	r0, [r7]
	mov	r7, r3
	bl	be16_to_cpu
	mov	r2, r0
	and	r9, r9, #255
	mov	r0, r9
	str	r2, [sp, #28]
	bl	ibmvfc_get_fc_type
	mov	r3, r0
	asr	r10, r10, #8
	and	r10, r10, #255
	mov	r0, r10
	str	r3, [sp, #24]
	bl	ibmvfc_get_ls_explain
	ldr	r2, [sp, #28]
	ldr	r3, [sp, #24]
	str	r2, [sp]
	str	r3, [sp, #4]
	str	r0, [sp, #12]
	mov	r3, r7
	mov	r2, fp
	mov	r0, r5
	ldr	r1, .L14+8
	str	r10, [sp, #16]
	str	r9, [sp, #8]
	str	r6, [sp, #20]
	bl	tgt_info
.L3:
	ldr	r3, .L14+12
	mov	r0, r5
	ldr	r1, [r3]
	bl	kref_put
	mov	r0, r4
	bl	ibmvfc_free_event
	mov	r0, r8
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	wake_up
.L2:
	ldr	r1, .L14+16
	mov	r0, r5
	bl	tgt_dbg
	mov	r1, r5
	mov	r0, r7
	bl	ibmvfc_adisc_needs_plogi
	cmp	r0, #0
	beq	.L3
	ldr	r3, .L14+4
	mov	r0, r5
	ldr	r1, [r3]
	bl	ibmvfc_set_tgt_action
	b	.L3
.L15:
	.align	2
.L14:
	.word	IBMVFC_TGT_ACTION_NONE
	.word	IBMVFC_TGT_ACTION_DEL_RPORT
	.word	.LC1
	.word	ibmvfc_release_tgt
	.word	.LC0
	.size	ibmvfc_tgt_adisc_done, .-ibmvfc_tgt_adisc_done
	.comm	ibmvfc_release_tgt,4,4
	.comm	IBMVFC_TGT_ACTION_NONE,4,4
	.comm	IBMVFC_TGT_ACTION_DEL_RPORT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
