	.file	"extr_be_mgmt.c_beiscsi_boot_logout_sess.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	beiscsi_boot_logout_sess
	.type	beiscsi_boot_logout_sess, @function
beiscsi_boot_logout_sess:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	lea	r13, 8[rdi]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	mov	rdi, r13
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	mutex_lock@PLT
	lea	rsi, 4[rsp]
	mov	rdi, rbp
	call	alloc_mcc_wrb@PLT
	test	rax, rax
	je	.L7
	mov	r12, rax
	mov	rdi, rax
	call	embedded_payload@PLT
	xor	ecx, ecx
	mov	edx, 1
	mov	rdi, r12
	mov	esi, 8
	mov	rbx, rax
	call	be_wrb_hdr_prepare@PLT
	mov	edx, DWORD PTR OPCODE_ISCSI_INI_SESSION_LOGOUT_TARGET[rip]
	mov	esi, DWORD PTR CMD_SUBSYSTEM_ISCSI_INI[rip]
	mov	ecx, 8
	lea	rdi, 4[rbx]
	call	be_cmd_hdr_prepare@PLT
	mov	eax, DWORD PTR 4[rbp]
	mov	rdx, QWORD PTR 16[rbp]
	mov	edi, DWORD PTR MCC_TAG_STATE_ASYNC[rip]
	mov	DWORD PTR [rbx], eax
	mov	eax, DWORD PTR 4[rsp]
	mov	DWORD PTR 0[rbp], eax
	lea	rsi, 4[rdx+rax*8]
	call	set_bit@PLT
	mov	edx, DWORD PTR 4[rsp]
	mov	rax, QWORD PTR 16[rbp]
	mov	rdi, rbp
	mov	ecx, DWORD PTR beiscsi_boot_process_compl[rip]
	mov	rsi, rdx
	mov	DWORD PTR [rax+rdx*8], ecx
	call	be_mcc_notify@PLT
	mov	rdi, r13
	call	mutex_unlock@PLT
	mov	eax, DWORD PTR 4[rsp]
.L1:
	mov	rbx, QWORD PTR 8[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L8
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
.L7:
	.cfi_restore_state
	mov	rdi, r13
	call	mutex_unlock@PLT
	xor	eax, eax
	jmp	.L1
.L8:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	beiscsi_boot_logout_sess, .-beiscsi_boot_logout_sess
	.comm	beiscsi_boot_process_compl,4,4
	.comm	OPCODE_ISCSI_INI_SESSION_LOGOUT_TARGET,4,4
	.comm	MCC_TAG_STATE_ASYNC,4,4
	.comm	CMD_SUBSYSTEM_ISCSI_INI,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_be_mgmt.c_beiscsi_boot_logout_sess.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	beiscsi_boot_logout_sess
	.syntax unified
	.arm
	.fpu softvfp
	.type	beiscsi_boot_logout_sess, %function
beiscsi_boot_logout_sess:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r4, r0
	ldr	r3, .L9
	add	r7, r0, #8
	sub	sp, sp, #12
	mov	r0, r7
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	mutex_lock
	mov	r0, r4
	mov	r1, sp
	bl	alloc_mcc_wrb
	subs	r5, r0, #0
	beq	.L7
	bl	embedded_payload
	mov	r6, r0
	mov	r3, #0
	mov	r2, #1
	mov	r1, #8
	mov	r0, r5
	bl	be_wrb_hdr_prepare
	ldr	r3, .L9+4
	ldr	r2, .L9+8
	ldr	r1, [r3]
	ldr	r2, [r2]
	mov	r3, #8
	add	r0, r6, #4
	bl	be_cmd_hdr_prepare
	ldr	r3, [sp]
	ldr	r1, [r4, #12]
	ldr	r0, [r4, #4]
	ldr	r2, .L9+12
	add	r1, r1, r3, lsl #3
	str	r0, [r6]
	add	r1, r1, #4
	ldr	r0, [r2]
	str	r3, [r4]
	bl	set_bit
	ldr	r3, .L9+16
	ldr	r1, [sp]
	ldr	r2, [r3]
	ldr	r3, [r4, #12]
	mov	r0, r4
	str	r2, [r3, r1, lsl #3]
	bl	be_mcc_notify
	mov	r0, r7
	bl	mutex_unlock
	ldr	r0, [sp]
.L1:
	ldr	r3, .L9
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L8
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L7:
	mov	r0, r7
	bl	mutex_unlock
	mov	r0, r5
	b	.L1
.L8:
	bl	__stack_chk_fail
.L10:
	.align	2
.L9:
	.word	.LC0
	.word	CMD_SUBSYSTEM_ISCSI_INI
	.word	OPCODE_ISCSI_INI_SESSION_LOGOUT_TARGET
	.word	MCC_TAG_STATE_ASYNC
	.word	beiscsi_boot_process_compl
	.size	beiscsi_boot_logout_sess, .-beiscsi_boot_logout_sess
	.comm	beiscsi_boot_process_compl,4,4
	.comm	OPCODE_ISCSI_INI_SESSION_LOGOUT_TARGET,4,4
	.comm	MCC_TAG_STATE_ASYNC,4,4
	.comm	CMD_SUBSYSTEM_ISCSI_INI,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
