	.file	"extr_agheader.c_xchk_agf_xref_refcblks.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	xchk_agf_xref_refcblks, @function
xchk_agf_xref_refcblks:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 40
	.cfi_def_cfa_offset 64
	mov	edi, DWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	XFS_BUF_TO_AGF@PLT
	mov	edi, DWORD PTR 4[rbp]
	test	edi, edi
	jne	.L13
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L14
	add	rsp, 40
	.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
.L13:
	.cfi_restore_state
	lea	rsi, 16[rsp]
	mov	rbx, rax
	call	xfs_btree_count_blocks@PLT
	lea	rdx, 4[rbp]
	lea	rsi, 12[rsp]
	mov	rdi, rbp
	mov	DWORD PTR 12[rsp], eax
	call	xchk_should_check_xref@PLT
	test	eax, eax
	je	.L1
	mov	edi, DWORD PTR [rbx]
	call	be32_to_cpu@PLT
	cmp	rax, QWORD PTR 16[rsp]
	je	.L1
	mov	esi, DWORD PTR 0[rbp]
	mov	rdi, rbp
	call	xchk_block_xref_set_corrupt@PLT
	jmp	.L1
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	xchk_agf_xref_refcblks, .-xchk_agf_xref_refcblks
	.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_agheader.c_xchk_agf_xref_refcblks.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	xchk_agf_xref_refcblks, %function
xchk_agf_xref_refcblks:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	mov	r4, r0
	ldr	r3, .L15
	sub	sp, sp, #20
	ldr	r0, [r0]
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	XFS_BUF_TO_AGF
	ldr	r3, [r4, #4]
	cmp	r3, #0
	bne	.L13
.L1:
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, pc}
.L13:
	add	r1, sp, #4
	mov	r5, r0
	mov	r0, r3
	bl	xfs_btree_count_blocks
	mov	r3, r0
	add	r2, r4, #4
	mov	r0, r4
	add	r1, sp, #8
	str	r3, [sp, #8]
	bl	xchk_should_check_xref
	cmp	r0, #0
	beq	.L1
	ldr	r0, [r5]
	bl	be32_to_cpu
	ldr	r3, [sp, #4]
	cmp	r0, r3
	beq	.L1
	mov	r0, r4
	ldr	r1, [r4]
	bl	xchk_block_xref_set_corrupt
	b	.L1
.L14:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	.LC0
	.size	xchk_agf_xref_refcblks, .-xchk_agf_xref_refcblks
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
