	.file	"extr_block-backend-fs.c_block_backend_fs_commit_block.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Failed to create path for block %s:%s.\n"
	.align 8
.LC1:
	.string	"[block bend] failed to commit block %s:%s: %s\n"
	.text
	.p2align 4
	.type	block_backend_fs_commit_block, @function
block_backend_fs_commit_block:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r12
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbx
	.cfi_offset 3, -32
	mov	rbx, rsi
	sub	rsp, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR SEAF_PATH_MAX[rip]
	mov	rcx, rsp
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L3
.L14:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L14
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L15
.L4:
	mov	rax, QWORD PTR BLOCK_WRITE[rip]
	xor	edi, edi
	cmp	QWORD PTR [rbx], rax
	mov	esi, -1
	sete	dil
	call	g_return_val_if_fail@PLT
	mov	ecx, DWORD PTR 12[rbx]
	mov	esi, DWORD PTR 8[rbx]
	mov	rdi, r12
	mov	r8d, DWORD PTR 20[rbx]
	mov	rdx, rsp
	call	get_block_path@PLT
	mov	rdi, rsp
	call	create_parent_path@PLT
	test	rax, rax
	js	.L16
	mov	edi, DWORD PTR 16[rbx]
	mov	rsi, rsp
	call	g_rename@PLT
	test	rax, rax
	js	.L17
	xor	eax, eax
.L1:
	mov	rbx, QWORD PTR -24[rbp]
	xor	rbx, QWORD PTR fs:40
	jne	.L18
	lea	rsp, -16[rbp]
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
.L16:
	mov	edx, DWORD PTR 8[rbx]
	mov	esi, DWORD PTR 12[rbx]
	lea	rdi, .LC0[rip]
	xor	eax, eax
	call	seaf_warning@PLT
	mov	eax, -1
	jmp	.L1
.L17:
	mov	edi, DWORD PTR errno[rip]
	call	strerror@PLT
	mov	edx, DWORD PTR 8[rbx]
	mov	esi, DWORD PTR 12[rbx]
	lea	rdi, .LC1[rip]
	mov	ecx, eax
	xor	eax, eax
	call	seaf_warning@PLT
	mov	eax, -1
	jmp	.L1
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	block_backend_fs_commit_block, .-block_backend_fs_commit_block
	.comm	errno,4,4
	.comm	SEAF_PATH_MAX,4,4
	.comm	BLOCK_WRITE,8,8
	.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_block-backend-fs.c_block_backend_fs_commit_block.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Failed to create path for block %s:%s.\012\000"
	.align	2
.LC1:
	.ascii	"[block bend] failed to commit block %s:%s: %s\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	block_backend_fs_commit_block, %function
block_backend_fs_commit_block:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, fp, lr}
	add	fp, sp, #16
	sub	sp, sp, #20
	ldr	r2, .L11
	mov	r5, r0
	ldr	r2, [r2]
	ldr	r0, [r1]
	mov	r4, r1
	sub	r0, r0, r2
	clz	r0, r0
	ldr	r3, .L11+4
	mvn	r1, #0
	ldr	r3, [r3]
	lsr	r0, r0, #5
	add	r3, r3, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	ldr	r3, .L11+8
	add	r6, sp, #8
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	bl	g_return_val_if_fail
	ldr	r3, [r4, #16]
	mov	r2, r6
	str	r3, [sp]
	ldmib	r4, {r1, r3}
	mov	r0, r5
	bl	get_block_path
	mov	r0, r6
	bl	create_parent_path
	cmp	r0, #0
	blt	.L8
	mov	r1, r6
	ldr	r0, [r4, #12]
	bl	g_rename
	cmp	r0, #0
	movge	r0, #0
	blt	.L9
.L1:
	ldr	r3, .L11+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	sub	sp, fp, #16
	@ sp needed
	pop	{r4, r5, r6, fp, pc}
.L8:
	ldr	r2, [r4, #4]
	ldr	r1, [r4, #8]
	ldr	r0, .L11+12
	bl	seaf_warning
	mvn	r0, #0
	b	.L1
.L9:
	ldr	r3, .L11+16
	ldr	r5, [r4, #8]
	ldr	r0, [r3]
	ldr	r4, [r4, #4]
	bl	strerror
	mov	r2, r4
	mov	r3, r0
	mov	r1, r5
	ldr	r0, .L11+20
	bl	seaf_warning
	mvn	r0, #0
	b	.L1
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	BLOCK_WRITE
	.word	SEAF_PATH_MAX
	.word	.LC2
	.word	.LC0
	.word	errno
	.word	.LC1
	.size	block_backend_fs_commit_block, .-block_backend_fs_commit_block
	.comm	errno,4,4
	.comm	SEAF_PATH_MAX,4,4
	.comm	BLOCK_WRITE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
