	.file	"extr_segment.c___create_discard_cmd.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	__create_discard_cmd, @function
__create_discard_cmd:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, rsi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rcx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, r8
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	call	SM_I@PLT
	xor	esi, esi
	test	rbx, rbx
	mov	rdi, r12
	mov	rbp, QWORD PTR [rax]
	sete	sil
	call	f2fs_bug_on@PLT
	mov	rdi, rbx
	mov	r12, QWORD PTR 8[rbp]
	call	plist_idx@PLT
	mov	esi, DWORD PTR GFP_NOFS[rip]
	mov	edi, DWORD PTR discard_cmd_slab[rip]
	lea	r9, [r12+rax*4]
	mov	QWORD PTR 8[rsp], r9
	call	f2fs_kmem_cache_alloc@PLT
	lea	r8, 12[rax]
	mov	r12, rax
	mov	rdi, r8
	mov	QWORD PTR [rsp], r8
	call	INIT_LIST_HEAD@PLT
	mov	eax, DWORD PTR D_PREP[rip]
	mov	QWORD PTR 80[r12], r15
	lea	rdi, 16[r12]
	mov	QWORD PTR 72[r12], r14
	mov	QWORD PTR 64[r12], r13
	mov	QWORD PTR 56[r12], rbx
	mov	QWORD PTR 48[r12], 0
	mov	DWORD PTR 40[r12], eax
	mov	QWORD PTR 32[r12], 0
	mov	QWORD PTR 24[r12], 0
	call	init_completion@PLT
	mov	r9, QWORD PTR 8[rsp]
	mov	r8, QWORD PTR [rsp]
	mov	rsi, r9
	mov	rdi, r8
	call	list_add_tail@PLT
	lea	rdi, 8[r12]
	call	spin_lock_init@PLT
	mov	QWORD PTR [r12], 0
	lea	rdi, 4[rbp]
	call	atomic_inc@PLT
	add	DWORD PTR 0[rbp], ebx
	add	rsp, 24
	.cfi_def_cfa_offset 56
	mov	rax, r12
	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
	ret
	.cfi_endproc
.LFE0:
	.size	__create_discard_cmd, .-__create_discard_cmd
	.comm	discard_cmd_slab,4,4
	.comm	GFP_NOFS,4,4
	.comm	D_PREP,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_segment.c___create_discard_cmd.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	__create_discard_cmd, %function
__create_discard_cmd:
	@ args = 4, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #12
	mov	r10, r2
	ldr	r5, [sp, #48]
	mov	fp, r1
	mov	r9, r3
	mov	r4, r0
	bl	SM_I
	clz	r1, r5
	mov	r3, r0
	lsr	r1, r1, #5
	ldr	r6, [r3]
	mov	r0, r4
	bl	f2fs_bug_on
	mov	r0, r5
	ldr	r8, [r6, #8]
	bl	plist_idx
	mov	r3, r0
	ldr	r2, .L4
	ldr	r1, .L4+4
	ldr	r0, [r2]
	ldr	r1, [r1]
	add	r8, r8, r3, lsl #2
	bl	f2fs_kmem_cache_alloc
	mov	r7, #0
	mov	r4, r0
	add	r3, r0, #8
	mov	r0, r3
	str	r3, [sp, #4]
	bl	INIT_LIST_HEAD
	ldr	r2, .L4+8
	str	r5, [r4, #32]
	ldr	r2, [r2]
	str	fp, [r4, #44]
	str	r2, [r4, #24]
	str	r10, [r4, #40]
	str	r9, [r4, #36]
	str	r7, [r4, #28]
	str	r7, [r4, #20]
	str	r7, [r4, #16]
	add	r0, r4, #12
	bl	init_completion
	ldr	r3, [sp, #4]
	mov	r1, r8
	mov	r0, r3
	bl	list_add_tail
	add	r0, r4, #4
	bl	spin_lock_init
	str	r7, [r4]
	add	r0, r6, #4
	bl	atomic_inc
	mov	r0, r4
	ldr	r3, [r6]
	add	r5, r5, r3
	str	r5, [r6]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L5:
	.align	2
.L4:
	.word	discard_cmd_slab
	.word	GFP_NOFS
	.word	D_PREP
	.size	__create_discard_cmd, .-__create_discard_cmd
	.comm	discard_cmd_slab,4,4
	.comm	GFP_NOFS,4,4
	.comm	D_PREP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
