	.file	"extr_xfs_btree.c___xfs_btree_check_sblock.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	__xfs_btree_check_sblock
	.type	__xfs_btree_check_sblock, @function
__xfs_btree_check_sblock:
.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, rcx
	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	rbx, rsi
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	r15, QWORD PTR 16[rdi]
	mov	r14d, DWORD PTR 8[rdi]
	mov	DWORD PTR 12[rsp], edx
	mov	rdi, r15
	call	xfs_sb_version_hascrc@PLT
	mov	r13d, eax
	test	eax, eax
	je	.L2
	lea	rdi, 32[rbx]
	mov	rsi, r15
	call	uuid_equal@PLT
	test	eax, eax
	je	.L18
	mov	r15, QWORD PTR 8[rbx]
	mov	edi, DWORD PTR XFS_BUF_DADDR_NULL[rip]
	test	r12, r12
	je	.L6
	mov	edi, DWORD PTR [r12]
.L6:
	call	cpu_to_be64@PLT
	cmp	r15, rax
	je	.L2
	.p2align 4,,10
	.p2align 3
.L18:
	mov	rax, QWORD PTR __this_address[rip]
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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	rdi, QWORD PTR [rbx]
	call	be32_to_cpu@PLT
	mov	esi, r14d
	mov	edi, r13d
	mov	r12, rax
	call	xfs_btree_magic@PLT
	cmp	r12, rax
	jne	.L18
	mov	edi, DWORD PTR 44[rbx]
	call	be16_to_cpu@PLT
	cmp	eax, DWORD PTR 12[rsp]
	jne	.L18
	mov	edi, DWORD PTR 40[rbx]
	call	be16_to_cpu@PLT
	mov	esi, DWORD PTR 12[rsp]
	mov	rdi, rbp
	mov	r12d, eax
	mov	rax, QWORD PTR 0[rbp]
	call	[QWORD PTR [rax]]
	cmp	r12d, eax
	jg	.L18
	mov	edi, DWORD PTR NULLAGBLOCK[rip]
	mov	r12, QWORD PTR 16[rbx]
	call	cpu_to_be32@PLT
	cmp	r12, rax
	je	.L10
	mov	rdi, QWORD PTR 16[rbx]
	call	be32_to_cpu@PLT
	mov	rdi, rbp
	mov	rsi, rax
	mov	eax, DWORD PTR 12[rsp]
	lea	edx, 1[rax]
	call	xfs_btree_check_sptr@PLT
	test	eax, eax
	je	.L18
.L10:
	mov	edi, DWORD PTR NULLAGBLOCK[rip]
	mov	r12, QWORD PTR 24[rbx]
	call	cpu_to_be32@PLT
	cmp	r12, rax
	je	.L12
	mov	rdi, QWORD PTR 24[rbx]
	call	be32_to_cpu@PLT
	mov	edx, DWORD PTR 12[rsp]
	mov	rdi, rbp
	mov	rsi, rax
	add	edx, 1
	call	xfs_btree_check_sptr@PLT
	test	eax, eax
	je	.L18
.L12:
	xor	eax, eax
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	__xfs_btree_check_sblock, .-__xfs_btree_check_sblock
	.comm	__this_address,8,8
	.comm	XFS_BUF_DADDR_NULL,4,4
	.comm	NULLAGBLOCK,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_xfs_btree.c___xfs_btree_check_sblock.c"
	.text
	.align	2
	.global	__xfs_btree_check_sblock
	.syntax unified
	.arm
	.fpu softvfp
	.type	__xfs_btree_check_sblock, %function
__xfs_btree_check_sblock:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r0
	ldr	r8, [r0, #8]
	mov	r5, r1
	mov	r0, r8
	mov	r7, r2
	mov	r10, r3
	ldr	r9, [r4, #4]
	bl	xfs_sb_version_hascrc
	subs	r6, r0, #0
	beq	.L2
	mov	r1, r8
	add	r0, r5, #16
	bl	uuid_equal
	cmp	r0, #0
	beq	.L17
	cmp	r10, #0
	ldreq	r3, .L19
	ldrne	r0, [r10]
	ldreq	r0, [r3]
	ldr	r8, [r5, #4]
	bl	cpu_to_be64
	cmp	r8, r0
	beq	.L2
.L17:
	ldr	r3, .L19+4
	ldr	r0, [r3]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L2:
	ldr	r0, [r5]
	bl	be32_to_cpu
	mov	r3, r0
	mov	r1, r9
	mov	r0, r6
	mov	r6, r3
	bl	xfs_btree_magic
	cmp	r6, r0
	bne	.L17
	ldr	r0, [r5, #24]
	bl	be16_to_cpu
	cmp	r0, r7
	bne	.L17
	ldr	r0, [r5, #20]
	bl	be16_to_cpu
	ldr	r3, [r4]
	mov	r6, r0
	mov	r1, r7
	mov	r0, r4
	ldr	r3, [r3]
	blx	r3
	cmp	r6, r0
	bgt	.L17
	ldr	r6, .L19+8
	ldr	r8, [r5, #8]
	ldr	r0, [r6]
	bl	cpu_to_be32
	cmp	r8, r0
	beq	.L10
	ldr	r0, [r5, #8]
	bl	be32_to_cpu
	add	r2, r7, #1
	mov	r1, r0
	mov	r0, r4
	bl	xfs_btree_check_sptr
	cmp	r0, #0
	beq	.L17
.L10:
	ldr	r0, [r6]
	ldr	r6, [r5, #12]
	bl	cpu_to_be32
	cmp	r6, r0
	beq	.L12
	ldr	r0, [r5, #12]
	bl	be32_to_cpu
	add	r2, r7, #1
	mov	r1, r0
	mov	r0, r4
	bl	xfs_btree_check_sptr
	cmp	r0, #0
	beq	.L17
.L12:
	mov	r0, #0
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L20:
	.align	2
.L19:
	.word	XFS_BUF_DADDR_NULL
	.word	__this_address
	.word	NULLAGBLOCK
	.size	__xfs_btree_check_sblock, .-__xfs_btree_check_sblock
	.comm	__this_address,4,4
	.comm	XFS_BUF_DADDR_NULL,4,4
	.comm	NULLAGBLOCK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
