	.file	"extr_tfc_sess.c_ft_tport_create.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ft_tport_create, @function
ft_tport_create:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	lea	rdi, ft_lport_lock[rip]
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	call	lockdep_is_held@PLT
	mov	rdx, QWORD PTR FC_TYPE_FCP[rip]
	mov	esi, eax
	mov	rax, QWORD PTR 0[rbp]
	mov	edi, DWORD PTR [rax+rdx*4]
	call	rcu_dereference_protected@PLT
	test	rax, rax
	je	.L2
	cmp	QWORD PTR 8[rax], 0
	mov	r12, rax
	je	.L23
.L1:
	mov	rax, r12
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L23:
	.cfi_restore_state
	mov	rdi, rbp
	call	ft_lport_find_tpg@PLT
	test	rax, rax
	je	.L8
	mov	QWORD PTR 8[r12], rax
	mov	rax, r12
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rdi, rbp
	call	ft_lport_find_tpg@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L8
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	mov	edi, 24
	call	kzalloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L8
	mov	QWORD PTR 16[rax], rbp
	mov	QWORD PTR 8[rax], rbx
	mov	QWORD PTR [rbx], rax
	mov	eax, DWORD PTR FT_SESS_HASH_SIZE[rip]
	test	eax, eax
	jle	.L6
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L7:
	mov	rax, QWORD PTR [r12]
	lea	rdi, [rax+rbx*4]
	add	rbx, 1
	call	INIT_HLIST_HEAD@PLT
	cmp	DWORD PTR FT_SESS_HASH_SIZE[rip], ebx
	jg	.L7
.L6:
	mov	rax, QWORD PTR 0[rbp]
	mov	rdx, QWORD PTR FC_TYPE_FCP[rip]
	mov	rsi, r12
	mov	edi, DWORD PTR [rax+rdx*4]
	call	rcu_assign_pointer@PLT
	mov	rax, r12
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	xor	r12d, r12d
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	ft_tport_create, .-ft_tport_create
	.comm	ft_lport_lock,4,4
	.comm	GFP_KERNEL,4,4
	.comm	FT_SESS_HASH_SIZE,4,4
	.comm	FC_TYPE_FCP,8,8
	.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_tfc_sess.c_ft_tport_create.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ft_tport_create, %function
ft_tport_create:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r7, .L24
	ldr	r3, [r0]
	ldr	r2, [r7]
	mov	r6, r0
	ldr	r0, .L24+4
	ldr	r4, [r3, r2, lsl #2]
	bl	lockdep_is_held
	mov	r1, r0
	mov	r0, r4
	bl	rcu_dereference_protected
	subs	r4, r0, #0
	beq	.L2
	ldr	r3, [r4, #4]
	cmp	r3, #0
	beq	.L23
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L23:
	mov	r0, r6
	bl	ft_lport_find_tpg
	cmp	r0, #0
	strne	r0, [r4, #4]
	bne	.L1
.L8:
	mov	r4, #0
	b	.L1
.L2:
	mov	r0, r6
	bl	ft_lport_find_tpg
	subs	r5, r0, #0
	beq	.L8
	ldr	r3, .L24+8
	mov	r0, #12
	ldr	r1, [r3]
	bl	kzalloc
	subs	r4, r0, #0
	beq	.L8
	ldr	r8, .L24+12
	str	r6, [r4, #8]
	ldr	r3, [r8]
	str	r5, [r4, #4]
	cmp	r3, #0
	str	r4, [r5]
	ble	.L6
	mov	r5, #0
.L7:
	ldr	r0, [r4]
	add	r0, r0, r5, lsl #2
	bl	INIT_HLIST_HEAD
	ldr	r3, [r8]
	add	r5, r5, #1
	cmp	r3, r5
	bgt	.L7
.L6:
	ldr	r2, [r7]
	ldr	r3, [r6]
	mov	r1, r4
	ldr	r0, [r3, r2, lsl #2]
	bl	rcu_assign_pointer
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L25:
	.align	2
.L24:
	.word	FC_TYPE_FCP
	.word	ft_lport_lock
	.word	GFP_KERNEL
	.word	FT_SESS_HASH_SIZE
	.size	ft_tport_create, .-ft_tport_create
	.comm	ft_lport_lock,4,4
	.comm	GFP_KERNEL,4,4
	.comm	FT_SESS_HASH_SIZE,4,4
	.comm	FC_TYPE_FCP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
