	.file	"extr_iscsi_target_login.c_iscsit_start_kthreads.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"bitmap_find_free_region() failed for iscsit_start_kthreads()\n"
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"%s"
	.section	.rodata.str1.8
	.align 8
.LC2:
	.string	"Unable to start iscsi_target_tx_thread\n"
	.align 8
.LC3:
	.string	"Unable to start iscsi_target_rx_thread\n"
	.text
	.p2align 4
	.globl	iscsit_start_kthreads
	.type	iscsit_start_kthreads, @function
iscsit_start_kthreads:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rdi, QWORD PTR iscsit_global[rip]
	call	spin_lock@PLT
	mov	edi, 1
	call	get_order@PLT
	mov	esi, DWORD PTR ISCSIT_BITMAP_BITS[rip]
	mov	edx, eax
	mov	rax, QWORD PTR iscsit_global[rip]
	mov	edi, DWORD PTR 4[rax]
	call	bitmap_find_free_region@PLT
	mov	rdi, QWORD PTR iscsit_global[rip]
	mov	QWORD PTR [rbx], rax
	call	spin_unlock@PLT
	cmp	QWORD PTR [rbx], 0
	js	.L9
	mov	edi, DWORD PTR iscsi_target_tx_thread[rip]
	mov	ecx, DWORD PTR ISCSI_TX_THREAD_NAME[rip]
	lea	rdx, .LC1[rip]
	mov	rsi, rbx
	call	kthread_run@PLT
	mov	QWORD PTR 16[rbx], rax
	mov	rdi, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L10
	mov	DWORD PTR 8[rbx], 1
	mov	edi, DWORD PTR iscsi_target_rx_thread[rip]
	mov	rsi, rbx
	lea	rdx, .LC1[rip]
	mov	ecx, DWORD PTR ISCSI_RX_THREAD_NAME[rip]
	call	kthread_run@PLT
	mov	QWORD PTR 24[rbx], rax
	mov	rdi, rax
	call	IS_ERR@PLT
	test	rax, rax
	jne	.L11
	mov	DWORD PTR 12[rbx], 1
	xor	r12d, r12d
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	lea	rdi, .LC2[rip]
	call	pr_err@PLT
	mov	rdi, QWORD PTR 16[rbx]
	call	PTR_ERR@PLT
	mov	r12d, eax
.L5:
	mov	rdi, QWORD PTR iscsit_global[rip]
	call	spin_lock@PLT
	mov	edi, 1
	call	get_order@PLT
	mov	rsi, QWORD PTR [rbx]
	mov	edx, eax
	mov	rax, QWORD PTR iscsit_global[rip]
	mov	edi, DWORD PTR 4[rax]
	call	bitmap_release_region@PLT
	mov	rdi, QWORD PTR iscsit_global[rip]
	call	spin_unlock@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	lea	rdi, .LC0[rip]
	call	pr_err@PLT
	mov	r12d, DWORD PTR ENOMEM[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	neg	r12d
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	lea	rdi, .LC3[rip]
	call	pr_err@PLT
	mov	rdi, QWORD PTR 24[rbx]
	call	PTR_ERR@PLT
	mov	rsi, QWORD PTR 16[rbx]
	mov	edi, DWORD PTR SIGINT[rip]
	mov	edx, 1
	mov	r12d, eax
	call	send_sig@PLT
	mov	rdi, QWORD PTR 16[rbx]
	call	kthread_stop@PLT
	mov	DWORD PTR 8[rbx], 0
	jmp	.L5
	.cfi_endproc
.LFE0:
	.size	iscsit_start_kthreads, .-iscsit_start_kthreads
	.comm	iscsit_global,8,8
	.comm	iscsi_target_tx_thread,4,4
	.comm	iscsi_target_rx_thread,4,4
	.comm	SIGINT,4,4
	.comm	ISCSI_TX_THREAD_NAME,4,4
	.comm	ISCSI_RX_THREAD_NAME,4,4
	.comm	ISCSIT_BITMAP_BITS,4,4
	.comm	ENOMEM,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_iscsi_target_login.c_iscsit_start_kthreads.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"bitmap_find_free_region() failed for iscsit_start_k"
	.ascii	"threads()\012\000"
	.align	2
.LC1:
	.ascii	"%s\000"
	.align	2
.LC2:
	.ascii	"Unable to start iscsi_target_tx_thread\012\000"
	.align	2
.LC3:
	.ascii	"Unable to start iscsi_target_rx_thread\012\000"
	.text
	.align	2
	.global	iscsit_start_kthreads
	.syntax unified
	.arm
	.fpu softvfp
	.type	iscsit_start_kthreads, %function
iscsit_start_kthreads:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r5, .L12
	mov	r4, r0
	ldr	r0, [r5]
	bl	spin_lock
	ldr	r3, .L12+4
	ldr	r2, [r5]
	mov	r0, #1
	ldr	r7, [r3]
	ldr	r6, [r2, #4]
	bl	get_order
	mov	r1, r7
	mov	r2, r0
	mov	r0, r6
	bl	bitmap_find_free_region
	mov	r3, r0
	ldr	r0, [r5]
	str	r3, [r4]
	bl	spin_unlock
	ldr	r3, [r4]
	cmp	r3, #0
	blt	.L9
	ldr	r2, .L12+8
	ldr	r3, .L12+12
	mov	r1, r4
	ldr	r3, [r3]
	ldr	r0, [r2]
	ldr	r2, .L12+16
	bl	kthread_run
	str	r0, [r4, #12]
	bl	IS_ERR
	subs	r7, r0, #0
	bne	.L10
	mov	r8, #1
	ldr	r2, .L12+20
	ldr	r3, .L12+24
	mov	r1, r4
	ldr	r3, [r3]
	ldr	r0, [r2]
	str	r8, [r4, #4]
	ldr	r2, .L12+16
	bl	kthread_run
	str	r0, [r4, #16]
	bl	IS_ERR
	subs	r6, r0, #0
	streq	r8, [r4, #8]
	bne	.L11
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	ldr	r0, .L12+28
	bl	pr_err
	ldr	r0, [r4, #12]
	bl	PTR_ERR
	mov	r6, r0
.L5:
	ldr	r0, [r5]
	bl	spin_lock
	ldr	r3, [r5]
	mov	r0, #1
	ldr	r7, [r4]
	ldr	r4, [r3, #4]
	bl	get_order
	mov	r1, r7
	mov	r2, r0
	mov	r0, r4
	bl	bitmap_release_region
	ldr	r0, [r5]
	bl	spin_unlock
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, pc}
.L9:
	ldr	r0, .L12+32
	bl	pr_err
	ldr	r3, .L12+36
	ldr	r6, [r3]
	rsb	r6, r6, #0
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	ldr	r0, .L12+40
	bl	pr_err
	ldr	r0, [r4, #16]
	bl	PTR_ERR
	ldr	r3, .L12+44
	mov	r2, r8
	ldr	r1, [r4, #12]
	mov	r6, r0
	ldr	r0, [r3]
	bl	send_sig
	ldr	r0, [r4, #12]
	bl	kthread_stop
	str	r7, [r4, #4]
	b	.L5
.L13:
	.align	2
.L12:
	.word	iscsit_global
	.word	ISCSIT_BITMAP_BITS
	.word	iscsi_target_tx_thread
	.word	ISCSI_TX_THREAD_NAME
	.word	.LC1
	.word	iscsi_target_rx_thread
	.word	ISCSI_RX_THREAD_NAME
	.word	.LC2
	.word	.LC0
	.word	ENOMEM
	.word	.LC3
	.word	SIGINT
	.size	iscsit_start_kthreads, .-iscsit_start_kthreads
	.comm	iscsit_global,4,4
	.comm	iscsi_target_tx_thread,4,4
	.comm	iscsi_target_rx_thread,4,4
	.comm	SIGINT,4,4
	.comm	ISCSI_TX_THREAD_NAME,4,4
	.comm	ISCSI_RX_THREAD_NAME,4,4
	.comm	ISCSIT_BITMAP_BITS,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
