	.file	"extr_arc.c_arc_cksum_verify.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"buffer modified while frozen!"
	.text
	.p2align 4
	.type	arc_cksum_verify, @function
arc_cksum_verify:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 24
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR zfs_flags[rip]
	test	DWORD PTR ZFS_DEBUG_MODIFY[rip], eax
	jne	.L14
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L15
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	.cfi_restore_state
	mov	rbp, QWORD PTR 8[rdi]
	mov	rbx, rdi
	call	ARC_BUF_COMPRESSED@PLT
	test	rax, rax
	jne	.L1
	mov	rdi, rbp
	call	HDR_HAS_L1HDR@PLT
	mov	edi, eax
	call	ASSERT@PLT
	mov	rdi, rbp
	call	mutex_enter@PLT
	cmp	QWORD PTR 8[rbp], 0
	je	.L6
	mov	rdi, rbp
	call	HDR_IO_ERROR@PLT
	test	rax, rax
	jne	.L6
	mov	rdi, rbx
	call	arc_buf_size@PLT
	mov	edi, DWORD PTR [rbx]
	xor	edx, edx
	lea	rcx, 4[rsp]
	mov	esi, eax
	call	fletcher_2_native@PLT
	mov	rax, QWORD PTR 8[rbp]
	mov	esi, DWORD PTR 4[rsp]
	mov	edi, DWORD PTR [rax]
	call	ZIO_CHECKSUM_EQUAL@PLT
	test	eax, eax
	je	.L16
.L6:
	mov	rdi, rbp
	call	mutex_exit@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L16:
	lea	rdi, .LC0[rip]
	call	panic@PLT
	jmp	.L6
.L15:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	arc_cksum_verify, .-arc_cksum_verify
	.comm	zfs_flags,4,4
	.comm	ZFS_DEBUG_MODIFY,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_arc.c_arc_cksum_verify.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"buffer modified while frozen!\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	arc_cksum_verify, %function
arc_cksum_verify:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r2, .L17
	ldr	r3, .L17+4
	ldr	r2, [r2]
	ldr	r3, [r3]
	ldr	r1, .L17+8
	sub	sp, sp, #8
	tst	r2, r3
	ldr	r1, [r1]
	str	r1, [sp, #4]
	mov	r1,#0
	bne	.L14
.L1:
	ldr	r3, .L17+8
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L15
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L14:
	mov	r4, r0
	ldr	r5, [r0, #4]
	bl	ARC_BUF_COMPRESSED
	cmp	r0, #0
	bne	.L1
	mov	r0, r5
	bl	HDR_HAS_L1HDR
	bl	ASSERT
	mov	r0, r5
	bl	mutex_enter
	ldr	r3, [r5, #4]
	cmp	r3, #0
	beq	.L6
	mov	r0, r5
	bl	HDR_IO_ERROR
	subs	r6, r0, #0
	bne	.L6
	mov	r0, r4
	ldr	r4, [r4]
	bl	arc_buf_size
	mov	r2, r6
	mov	r1, r0
	mov	r3, sp
	mov	r0, r4
	bl	fletcher_2_native
	ldr	r3, [r5, #4]
	ldr	r1, [sp]
	ldr	r0, [r3]
	bl	ZIO_CHECKSUM_EQUAL
	cmp	r0, #0
	beq	.L16
.L6:
	mov	r0, r5
	bl	mutex_exit
	b	.L1
.L16:
	ldr	r0, .L17+12
	bl	panic
	b	.L6
.L15:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	zfs_flags
	.word	ZFS_DEBUG_MODIFY
	.word	.LC1
	.word	.LC0
	.size	arc_cksum_verify, .-arc_cksum_verify
	.comm	zfs_flags,4,4
	.comm	ZFS_DEBUG_MODIFY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
