	.file	"extr_disk-io.c_csum_tree_block.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	csum_tree_block, @function
csum_tree_block:
.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
	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
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	rbp, QWORD PTR 8[rdi]
	mov	rdi, QWORD PTR shash[rip]
	mov	QWORD PTR 8[rsp], rsi
	mov	esi, DWORD PTR 0[rbp]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	call	SHASH_DESC_ON_STACK@PLT
	mov	eax, DWORD PTR 0[rbp]
	mov	rdi, QWORD PTR shash[rip]
	mov	rbx, QWORD PTR BTRFS_CSUM_SIZE[rip]
	mov	DWORD PTR [rdi], eax
	call	crypto_shash_init@PLT
	mov	rbp, QWORD PTR [r12]
	sub	rbp, rbx
	je	.L2
	lea	rax, 16[rsp]
	lea	r15, 32[rsp]
	mov	QWORD PTR [rsp], rax
	lea	r14, 24[rsp]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rsi, QWORD PTR 32[rsp]
	add	rsi, QWORD PTR 24[rsp]
	mov	rdi, rbp
	sub	rsi, rbx
	call	min@PLT
	mov	rdi, QWORD PTR shash[rip]
	mov	rsi, rbx
	sub	rsi, QWORD PTR 24[rsp]
	mov	r13, rax
	add	rsi, QWORD PTR 16[rsp]
	mov	rdx, rax
	call	crypto_shash_update@PLT
	add	rbx, r13
	sub	rbp, r13
	je	.L2
.L4:
	mov	rcx, QWORD PTR [rsp]
	mov	rdi, r12
	mov	r9, r15
	mov	r8, r14
	mov	edx, 32
	mov	rsi, rbx
	call	map_private_extent_buffer@PLT
	mov	edi, eax
	mov	r13d, eax
	call	WARN_ON@PLT
	test	rax, rax
	je	.L12
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L13
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r13d
	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
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rbx, QWORD PTR 8[rsp]
	mov	rdx, QWORD PTR BTRFS_CSUM_SIZE[rip]
	xor	esi, esi
	xor	r13d, r13d
	mov	rdi, rbx
	call	memset@PLT
	mov	rdi, QWORD PTR shash[rip]
	mov	rsi, rbx
	call	crypto_shash_final@PLT
	jmp	.L1
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	csum_tree_block, .-csum_tree_block
	.comm	shash,8,8
	.comm	BTRFS_CSUM_SIZE,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_disk-io.c_csum_tree_block.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	csum_tree_block, %function
csum_tree_block:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r7, r0
	ldr	r4, [r0, #4]
	ldr	r8, .L14
	ldr	r3, .L14+4
	sub	sp, sp, #28
	mov	fp, r1
	ldr	r0, [r8]
	ldr	r1, [r4]
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	bl	SHASH_DESC_ON_STACK
	ldr	r3, [r4]
	ldr	r0, [r8]
	ldr	r2, .L14+8
	ldr	r4, [r2]
	str	r3, [r0]
	bl	crypto_shash_init
	ldr	r5, [r7]
	subs	r5, r5, r4
	beq	.L2
	add	r10, sp, #16
	add	r9, sp, #12
	b	.L4
.L12:
	ldr	r3, [sp, #16]
	ldr	r1, [sp, #12]
	mov	r0, r5
	add	r1, r1, r3
	sub	r1, r1, r4
	bl	min
	mov	r6, r0
	ldr	r3, [sp, #12]
	ldr	r1, [sp, #8]
	sub	r3, r4, r3
	mov	r2, r0
	add	r1, r1, r3
	ldr	r0, [r8]
	bl	crypto_shash_update
	subs	r5, r5, r6
	add	r4, r4, r6
	beq	.L2
.L4:
	mov	r2, #32
	mov	r1, r4
	add	r3, sp, #8
	mov	r0, r7
	stm	sp, {r9, r10}
	bl	map_private_extent_buffer
	mov	r6, r0
	bl	WARN_ON
	cmp	r0, #0
	beq	.L12
.L1:
	ldr	r3, .L14+4
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	mov	r0, r6
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	ldr	r3, .L14+8
	mov	r1, #0
	ldr	r2, [r3]
	mov	r0, fp
	bl	memset
	mov	r1, fp
	ldr	r0, [r8]
	bl	crypto_shash_final
	mov	r6, #0
	b	.L1
.L13:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	shash
	.word	.LC0
	.word	BTRFS_CSUM_SIZE
	.size	csum_tree_block, .-csum_tree_block
	.comm	shash,4,4
	.comm	BTRFS_CSUM_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
