	.file	"extr_xfs_log_recover.c_xlog_recover_get_buf_lsn.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	xlog_recover_get_buf_lsn, @function
xlog_recover_get_buf_lsn:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	mov	r13, QWORD PTR [rsi]
	call	xfs_sb_version_hascrc@PLT
	test	eax, eax
	je	.L41
	mov	edi, DWORD PTR 0[r13]
	call	be32_to_cpu@PLT
	add	eax, -128
	cmp	eax, 23
	ja	.L3
	lea	rdx, .L5[rip]
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L5:
	.long	.L11-.L5
	.long	.L12-.L5
	.long	.L4-.L5
	.long	.L4-.L5
	.long	.L4-.L5
	.long	.L4-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L11-.L5
	.long	.L11-.L5
	.long	.L11-.L5
	.long	.L3-.L5
	.long	.L3-.L5
	.long	.L11-.L5
	.long	.L11-.L5
	.long	.L41-.L5
	.long	.L11-.L5
	.long	.L11-.L5
	.long	.L11-.L5
	.long	.L4-.L5
	.long	.L4-.L5
	.long	.L4-.L5
	.long	.L4-.L5
	.text
	.p2align 4,,10
	.p2align 3
.L11:
	mov	edi, DWORD PTR 4[r13]
	call	be64_to_cpu@PLT
	mov	rsi, r13
	mov	r12, rax
.L14:
	cmp	r12, -1
	jne	.L43
	mov	edi, DWORD PTR 0[r13]
	call	be16_to_cpu@PLT
	cmp	eax, 136
	jle	.L40
	cmp	eax, 141
	jne	.L20
.L18:
	mov	edi, DWORD PTR 4[r13]
	call	be64_to_cpu@PLT
	mov	r12, rax
	cmp	rax, -1
	je	.L20
	mov	rsi, r13
	mov	rdi, rbp
	call	uuid_equal@PLT
	test	eax, eax
	je	.L41
.L1:
	mov	rax, r12
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L43:
	.cfi_restore_state
	lea	rdi, 4[rbp]
	call	uuid_equal@PLT
	test	eax, eax
	jne	.L1
	.p2align 4,,10
	.p2align 3
.L41:
	mov	r12, -1
.L44:
	mov	rax, r12
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	edi, DWORD PTR 0[r13]
	call	be16_to_cpu@PLT
	cmp	eax, 136
	jg	.L17
	.p2align 4,,10
	.p2align 3
.L40:
	cmp	eax, 134
	jg	.L18
.L20:
	mov	edi, DWORD PTR 0[r13]
	mov	r12, -1
	call	be16_to_cpu@PLT
	jmp	.L44
	.p2align 4,,10
	.p2align 3
.L4:
	mov	edi, DWORD PTR 12[r13]
	call	be64_to_cpu@PLT
	lea	rsi, 8[r13]
	mov	r12, rax
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L17:
	cmp	eax, 141
	jne	.L20
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L12:
	mov	edi, DWORD PTR 8[r13]
	call	be64_to_cpu@PLT
	mov	rdi, rbp
	mov	r12, rax
	call	xfs_sb_version_hasmetauuid@PLT
	lea	rsi, 4[r13]
	test	eax, eax
	cmove	rsi, r13
	jmp	.L14
	.cfi_endproc
.LFE0:
	.size	xlog_recover_get_buf_lsn, .-xlog_recover_get_buf_lsn
	.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_log_recover.c_xlog_recover_get_buf_lsn.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	xlog_recover_get_buf_lsn, %function
xlog_recover_get_buf_lsn:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r0
	ldr	r5, [r1]
	bl	xfs_sb_version_hascrc
	cmp	r0, #0
	beq	.L41
	ldr	r0, [r5]
	bl	be32_to_cpu
	sub	r0, r0, #128
	cmp	r0, #23
	ldrls	pc, [pc, r0, asl #2]
	b	.L3
.L5:
	.word	.L11
	.word	.L12
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L3
	.word	.L3
	.word	.L3
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L3
	.word	.L3
	.word	.L11
	.word	.L11
	.word	.L41
	.word	.L11
	.word	.L11
	.word	.L11
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
.L11:
	ldr	r0, [r5, #4]
	bl	be64_to_cpu
	mov	r1, r5
	mov	r4, r0
.L14:
	cmn	r4, #1
	bne	.L43
	ldr	r0, [r5]
	bl	be16_to_cpu
	cmp	r0, #136
	ble	.L40
	cmp	r0, #141
	bne	.L20
.L18:
	ldr	r0, [r5, #4]
	bl	be64_to_cpu
	cmn	r0, #1
	mov	r4, r0
	beq	.L20
	mov	r1, r5
	mov	r0, r6
	bl	uuid_equal
	cmp	r0, #0
	beq	.L41
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L43:
	add	r0, r6, #4
	bl	uuid_equal
	cmp	r0, #0
	bne	.L1
.L41:
	mvn	r4, #0
.L44:
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L3:
	ldr	r0, [r5]
	bl	be16_to_cpu
	cmp	r0, #136
	bgt	.L17
.L40:
	cmp	r0, #134
	bgt	.L18
.L20:
	ldr	r0, [r5]
	bl	be16_to_cpu
	mvn	r4, #0
	b	.L44
.L4:
	ldr	r0, [r5, #12]
	bl	be64_to_cpu
	add	r1, r5, #8
	mov	r4, r0
	b	.L14
.L17:
	cmp	r0, #141
	bne	.L20
	b	.L18
.L12:
	ldr	r0, [r5, #8]
	bl	be64_to_cpu
	mov	r4, r0
	mov	r0, r6
	bl	xfs_sb_version_hasmetauuid
	cmp	r0, #0
	moveq	r1, r5
	addne	r1, r5, #4
	b	.L14
	.size	xlog_recover_get_buf_lsn, .-xlog_recover_get_buf_lsn
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
