	.file	"extr_xfs_da_btree.c_xfs_da_get_buf.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	xfs_da_get_buf
	.type	xfs_da_get_buf, @function
xfs_da_get_buf:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, r8
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rsi
	mov	esi, edx
	mov	edx, ecx
	mov	rdi, rbx
	mov	ecx, r9d
	sub	rsp, 32
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	QWORD PTR [r8], 0
	lea	r14, 8[rsp]
	lea	r9, 12[rsp]
	lea	r8, 16[rsp]
	mov	QWORD PTR 16[rsp], r14
	mov	DWORD PTR 12[rsp], 1
	call	xfs_dabuf_map@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L2
	cmp	eax, -1
	mov	eax, 0
	cmove	r12d, eax
.L3:
	mov	rdi, QWORD PTR 16[rsp]
	cmp	rdi, r14
	je	.L1
	call	kmem_free@PLT
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L14
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rax, QWORD PTR [rbx]
	mov	ecx, DWORD PTR 12[rsp]
	xor	r8d, r8d
	mov	rdi, r13
	mov	rdx, QWORD PTR 16[rsp]
	mov	esi, DWORD PTR [rax]
	call	xfs_trans_get_buf_map@PLT
	mov	rsi, rax
	test	rax, rax
	je	.L4
	mov	ebx, DWORD PTR [rax]
	test	ebx, ebx
	jne	.L15
.L6:
	mov	QWORD PTR 0[rbp], rsi
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	mov	eax, DWORD PTR EIO[rip]
	test	eax, eax
	je	.L6
	neg	eax
	mov	r12d, eax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rdi, r13
	mov	r12d, ebx
	call	xfs_trans_brelse@PLT
	jmp	.L3
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	xfs_da_get_buf, .-xfs_da_get_buf
	.comm	EIO,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_da_btree.c_xfs_da_get_buf.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	xfs_da_get_buf
	.syntax unified
	.arm
	.fpu softvfp
	.type	xfs_da_get_buf, %function
xfs_da_get_buf:
	@ args = 8, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r1
	mov	r4, #0
	mov	ip, #1
	sub	sp, sp, #24
	mov	r1, r2
	mov	r2, r3
	ldr	r3, .L16
	ldr	r8, [sp, #48]
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	add	lr, sp, #16
	add	r3, sp, #12
	str	r4, [r8]
	mov	r6, r0
	stm	sp, {r3, lr}
	mov	r0, r5
	ldr	r3, [sp, #52]
	add	r7, sp, #8
	str	ip, [sp, #16]
	str	r7, [sp, #12]
	bl	xfs_dabuf_map
	subs	r4, r0, #0
	beq	.L2
	cmn	r4, #1
	moveq	r4, #0
.L3:
	ldr	r0, [sp, #12]
	cmp	r0, r7
	beq	.L1
	bl	kmem_free
.L1:
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	mov	r0, r4
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L2:
	ldr	r2, [r5]
	mov	r0, r6
	ldr	r1, [r2]
	ldr	r3, [sp, #16]
	ldr	r2, [sp, #12]
	str	r4, [sp]
	bl	xfs_trans_get_buf_map
	subs	r1, r0, #0
	beq	.L4
	ldr	r5, [r1]
	cmp	r5, #0
	bne	.L15
.L6:
	str	r1, [r8]
	b	.L3
.L4:
	ldr	r3, .L16+4
	ldr	r3, [r3]
	cmp	r3, #0
	rsbne	r4, r3, #0
	bne	.L3
	b	.L6
.L15:
	mov	r0, r6
	bl	xfs_trans_brelse
	mov	r4, r5
	b	.L3
.L14:
	bl	__stack_chk_fail
.L17:
	.align	2
.L16:
	.word	.LC0
	.word	EIO
	.size	xfs_da_get_buf, .-xfs_da_get_buf
	.comm	EIO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
