	.file	"extr_btree.c_befs_bt_read_node.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"---> befs_bt_read_node()"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"befs_bt_read_node() failed to read node at %Lu"
	.align 8
.LC2:
	.string	"<--- befs_bt_read_node() ERROR"
	.section	.rodata.str1.1
.LC3:
	.string	"<--- befs_btree_read_node()"
	.text
	.p2align 4
	.type	befs_bt_read_node, @function
befs_bt_read_node:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	lea	rsi, .LC0[rip]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, ecx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdx
	sub	rsp, 24
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	DWORD PTR 4[rsp], 0
	call	befs_debug@PLT
	mov	rdi, QWORD PTR 48[rbx]
	test	rdi, rdi
	je	.L2
	call	brelse@PLT
.L2:
	lea	rcx, 4[rsp]
	mov	edx, r12d
	mov	rsi, r13
	mov	rdi, rbp
	call	befs_read_datastream@PLT
	mov	QWORD PTR 48[rbx], rax
	test	rax, rax
	je	.L11
	movsx	rsi, DWORD PTR 4[rsp]
	add	rsi, QWORD PTR [rax]
	mov	rdi, rbp
	mov	QWORD PTR [rbx], rsi
	call	befs_dump_index_node@PLT
	mov	rax, QWORD PTR [rbx]
	mov	rdi, rbp
	mov	esi, DWORD PTR 16[rax]
	call	fs64_to_cpu@PLT
	mov	rdi, rbp
	mov	QWORD PTR 40[rbx], rax
	mov	rax, QWORD PTR [rbx]
	mov	esi, DWORD PTR 12[rax]
	call	fs64_to_cpu@PLT
	mov	rdi, rbp
	mov	QWORD PTR 32[rbx], rax
	mov	rax, QWORD PTR [rbx]
	mov	esi, DWORD PTR 8[rax]
	call	fs64_to_cpu@PLT
	mov	rdi, rbp
	mov	QWORD PTR 24[rbx], rax
	mov	rax, QWORD PTR [rbx]
	mov	esi, DWORD PTR 4[rax]
	call	fs16_to_cpu@PLT
	mov	rdi, rbp
	mov	QWORD PTR 16[rbx], rax
	mov	rax, QWORD PTR [rbx]
	mov	esi, DWORD PTR [rax]
	call	fs16_to_cpu@PLT
	lea	rsi, .LC3[rip]
	mov	rdi, rbp
	mov	QWORD PTR 8[rbx], rax
	call	befs_debug@PLT
	mov	eax, DWORD PTR BEFS_OK[rip]
.L1:
	mov	rdx, QWORD PTR 8[rsp]
	xor	rdx, QWORD PTR fs:40
	jne	.L12
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.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
.L11:
	.cfi_restore_state
	mov	edx, r12d
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	call	befs_error@PLT
	lea	rsi, .LC2[rip]
	mov	rdi, rbp
	call	befs_debug@PLT
	mov	eax, DWORD PTR BEFS_ERR[rip]
	jmp	.L1
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	befs_bt_read_node, .-befs_bt_read_node
	.comm	BEFS_OK,4,4
	.comm	BEFS_ERR,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_btree.c_befs_bt_read_node.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"---> befs_bt_read_node()\000"
	.align	2
.LC1:
	.ascii	"befs_bt_read_node() failed to read node at %Lu\000"
	.align	2
.LC2:
	.ascii	"<--- befs_bt_read_node() ERROR\000"
	.align	2
.LC3:
	.ascii	"<--- befs_btree_read_node()\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	befs_bt_read_node, %function
befs_bt_read_node:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r4, r2
	mov	r2, #0
	mov	r6, r3
	ldr	r3, .L13
	sub	sp, sp, #12
	mov	r7, r1
	ldr	r1, .L13+4
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	mov	r5, r0
	str	r2, [sp]
	bl	befs_debug
	ldr	r0, [r4, #24]
	cmp	r0, #0
	beq	.L2
	bl	brelse
.L2:
	mov	r1, r7
	mov	r3, sp
	mov	r2, r6
	mov	r0, r5
	bl	befs_read_datastream
	cmp	r0, #0
	str	r0, [r4, #24]
	beq	.L11
	ldr	r1, [r0]
	ldr	r3, [sp]
	mov	r0, r5
	add	r1, r1, r3
	str	r1, [r4]
	bl	befs_dump_index_node
	ldr	r3, [r4]
	mov	r0, r5
	ldr	r1, [r3, #16]
	bl	fs64_to_cpu
	ldr	r3, [r4]
	str	r0, [r4, #20]
	ldr	r1, [r3, #12]
	mov	r0, r5
	bl	fs64_to_cpu
	ldr	r3, [r4]
	str	r0, [r4, #16]
	ldr	r1, [r3, #8]
	mov	r0, r5
	bl	fs64_to_cpu
	ldr	r3, [r4]
	str	r0, [r4, #12]
	ldr	r1, [r3, #4]
	mov	r0, r5
	bl	fs16_to_cpu
	ldr	r3, [r4]
	str	r0, [r4, #8]
	ldr	r1, [r3]
	mov	r0, r5
	bl	fs16_to_cpu
	ldr	r1, .L13+8
	str	r0, [r4, #4]
	mov	r0, r5
	bl	befs_debug
	ldr	r3, .L13+12
	ldr	r0, [r3]
.L1:
	ldr	r3, .L13
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L11:
	mov	r2, r6
	ldr	r1, .L13+16
	mov	r0, r5
	bl	befs_error
	mov	r0, r5
	ldr	r1, .L13+20
	bl	befs_debug
	ldr	r3, .L13+24
	ldr	r0, [r3]
	b	.L1
.L12:
	bl	__stack_chk_fail
.L14:
	.align	2
.L13:
	.word	.LC4
	.word	.LC0
	.word	.LC3
	.word	BEFS_OK
	.word	.LC1
	.word	.LC2
	.word	BEFS_ERR
	.size	befs_bt_read_node, .-befs_bt_read_node
	.comm	BEFS_OK,4,4
	.comm	BEFS_ERR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
