	.file	"extr_qla_mr.c_qlafx00_tgt_detach.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Detach TGT-ID: 0x%x\n"
	.text
	.p2align 4
	.type	qlafx00_tgt_detach, @function
qlafx00_tgt_detach:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r8d, esi
	mov	r12d, esi
	mov	rsi, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	lea	rcx, .LC0[rip]
	mov	edx, 20595
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	edi, DWORD PTR ql_log_info[rip]
	call	ql_log@PLT
	mov	esi, r12d
	mov	rdi, rbp
	call	qlafx00_get_fcport@PLT
	test	rax, rax
	je	.L1
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	mov	rsi, rax
	xor	ecx, ecx
	pop	rbp
	.cfi_def_cfa_offset 16
	xor	edx, edx
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	qla2x00_mark_device_lost@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	.cfi_restore_state
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	qlafx00_tgt_detach, .-qlafx00_tgt_detach
	.comm	ql_log_info,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_qla_mr.c_qlafx00_tgt_detach.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Detach TGT-ID: 0x%x\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	qlafx00_tgt_detach, %function
qlafx00_tgt_detach:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	mov	r4, r0
	mov	r5, r1
	sub	sp, sp, #12
	ldr	r3, .L5
	str	r1, [sp]
	ldr	r2, .L5+4
	mov	r1, r0
	ldr	r0, [r3]
	ldr	r3, .L5+8
	bl	ql_log
	mov	r1, r5
	mov	r0, r4
	bl	qlafx00_get_fcport
	subs	r1, r0, #0
	beq	.L1
	mov	r3, #0
	mov	r0, r4
	mov	r2, r3
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, lr}
	b	qla2x00_mark_device_lost
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, pc}
.L6:
	.align	2
.L5:
	.word	ql_log_info
	.word	20595
	.word	.LC0
	.size	qlafx00_tgt_detach, .-qlafx00_tgt_detach
	.comm	ql_log_info,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
