	.file	"extr_dm-crypt.c_kcryptd_crypt_write_io_submit.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	kcryptd_crypt_write_io_submit, @function
kcryptd_crypt_write_io_submit:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, esi
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	r13, QWORD PTR 24[rdi]
	mov	r12, QWORD PTR 40[rdi]
	mov	edi, DWORD PTR 32[rdi]
	call	unlikely@PLT
	test	rax, rax
	jne	.L22
	mov	edi, DWORD PTR 16[rbp]
	call	BUG_ON@PLT
	mov	rax, QWORD PTR 0[rbp]
	add	rax, QWORD PTR [r12]
	xor	edi, edi
	mov	QWORD PTR 0[r13], rax
	test	ebx, ebx
	sete	dil
	call	likely@PLT
	test	rax, rax
	je	.L3
	mov	edi, DWORD PTR DM_CRYPT_NO_OFFLOAD[rip]
	lea	rsi, 28[r12]
	call	test_bit@PLT
	test	rax, rax
	jne	.L23
.L3:
	lea	r14, 8[r12]
	xor	esi, esi
	lea	r13, 16[r12]
	mov	rdi, r14
	call	spin_lock_irqsave@PLT
	mov	rdi, r13
	call	RB_EMPTY_ROOT@PLT
	test	rax, rax
	jne	.L24
.L4:
	mov	r15, QWORD PTR 16[r12]
	mov	rbx, QWORD PTR 0[rbp]
	mov	r12, r13
	test	r15, r15
	jne	.L8
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L10:
	mov	r15, rax
.L8:
	mov	rdi, r15
	call	crypt_io_from_node@PLT
	mov	r12, QWORD PTR [r12]
	cmp	QWORD PTR [rax], rbx
	jle	.L7
	add	r12, 8
.L7:
	mov	rax, QWORD PTR [r12]
	test	rax, rax
	jne	.L10
.L5:
	add	rbp, 8
	mov	rdx, r12
	mov	rsi, r15
	mov	rdi, rbp
	call	rb_link_node@PLT
	mov	rsi, r13
	mov	rdi, rbp
	call	rb_insert_color@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rdi, r14
	xor	esi, esi
	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
	jmp	spin_unlock_irqrestore@PLT
	.p2align 4,,10
	.p2align 3
.L22:
	.cfi_restore_state
	mov	rsi, r13
	mov	rdi, r12
	call	crypt_free_buffer_pages@PLT
	mov	rdi, r13
	call	bio_put@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rdi, rbp
	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
	jmp	crypt_dec_pending@PLT
	.p2align 4,,10
	.p2align 3
.L24:
	.cfi_restore_state
	mov	edi, DWORD PTR 24[r12]
	call	wake_up_process@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L23:
	add	rsp, 8
	.cfi_def_cfa_offset 56
	mov	rdi, r13
	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
	jmp	generic_make_request@PLT
	.cfi_endproc
.LFE0:
	.size	kcryptd_crypt_write_io_submit, .-kcryptd_crypt_write_io_submit
	.comm	DM_CRYPT_NO_OFFLOAD,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_dm-crypt.c_kcryptd_crypt_write_io_submit.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	kcryptd_crypt_write_io_submit, %function
kcryptd_crypt_write_io_submit:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r6, r0
	ldr	r0, [r0, #16]
	mov	r5, r1
	ldr	r7, [r6, #12]
	ldr	r4, [r6, #20]
	bl	unlikely
	cmp	r0, #0
	bne	.L22
	ldr	r0, [r6, #8]
	bl	BUG_ON
	clz	r0, r5
	ldr	r3, [r4]
	ldr	r2, [r6]
	lsr	r0, r0, #5
	add	r3, r3, r2
	str	r3, [r7]
	bl	likely
	cmp	r0, #0
	beq	.L3
	ldr	r3, .L25
	add	r1, r4, #16
	ldr	r0, [r3]
	bl	test_bit
	cmp	r0, #0
	bne	.L23
.L3:
	add	r9, r4, #4
	mov	r1, #0
	mov	r0, r9
	add	r8, r4, #8
	bl	spin_lock_irqsave
	mov	r0, r8
	bl	RB_EMPTY_ROOT
	cmp	r0, #0
	bne	.L24
.L4:
	ldr	r5, [r4, #8]
	ldr	r7, [r6]
	cmp	r5, #0
	mov	r4, r8
	bne	.L8
	b	.L5
.L10:
	mov	r5, r3
.L8:
	mov	r0, r5
	bl	crypt_io_from_node
	ldr	r3, [r0]
	ldr	r4, [r4]
	cmp	r3, r7
	addgt	r4, r4, #4
	ldr	r3, [r4]
	cmp	r3, #0
	bne	.L10
.L5:
	add	r6, r6, #4
	mov	r2, r4
	mov	r1, r5
	mov	r0, r6
	bl	rb_link_node
	mov	r1, r8
	mov	r0, r6
	bl	rb_insert_color
	mov	r0, r9
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r1, #0
	b	spin_unlock_irqrestore
.L22:
	mov	r1, r7
	mov	r0, r4
	bl	crypt_free_buffer_pages
	mov	r0, r7
	bl	bio_put
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	crypt_dec_pending
.L24:
	ldr	r0, [r4, #12]
	bl	wake_up_process
	b	.L4
.L23:
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	generic_make_request
.L26:
	.align	2
.L25:
	.word	DM_CRYPT_NO_OFFLOAD
	.size	kcryptd_crypt_write_io_submit, .-kcryptd_crypt_write_io_submit
	.comm	DM_CRYPT_NO_OFFLOAD,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
