	.file	"extr_g_journal.c_g_journal_copy_read_done.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Error while reading data from %s (error=%d)."
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC1:
	.string	"READ DONE"
	.text
	.p2align 4
	.type	g_journal_copy_read_done, @function
g_journal_copy_read_done:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	rsi, QWORD PTR GJ_BIO_COPY[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	cmp	QWORD PTR [rdi], rsi
	sete	dil
	movzx	edi, dil
	call	KASSERT@PLT
	mov	rax, QWORD PTR 40[rbp]
	mov	rcx, QWORD PTR 8[rbp]
	mov	r12, QWORD PTR 32[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rbx, QWORD PTR [rax]
	test	rcx, rcx
	jne	.L6
	mov	eax, DWORD PTR 16[rbp]
	mov	rsi, QWORD PTR [rbx]
	mov	rdi, r12
	mov	DWORD PTR 16[r12], eax
	call	g_io_request@PLT
	mov	rsi, rbp
	mov	edi, 4
	lea	rdx, .LC1[rip]
	call	GJ_LOGREQ@PLT
	mov	rdi, rbp
	call	g_destroy_bio@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	rax, QWORD PTR 24[rbp]
	lea	rsi, .LC0[rip]
	xor	edi, edi
	mov	edx, DWORD PTR [rax]
	call	GJ_DEBUG@PLT
	mov	esi, DWORD PTR 20[rbp]
	mov	edi, DWORD PTR 16[rbp]
	call	gj_free@PLT
	mov	rdi, r12
	call	g_destroy_bio@PLT
	mov	rdi, rbp
	call	g_destroy_bio@PLT
	sub	DWORD PTR 8[rbx], 1
	mov	eax, 1
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	g_journal_copy_read_done, .-g_journal_copy_read_done
	.comm	GJ_BIO_COPY,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_g_journal.c_g_journal_copy_read_done.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Error while reading data from %s (error=%d).\000"
	.align	2
.LC1:
	.ascii	"READ DONE\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	g_journal_copy_read_done, %function
g_journal_copy_read_done:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L7
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r1, [r3]
	mov	r4, r0
	ldr	r0, [r0]
	sub	r0, r0, r1
	clz	r0, r0
	lsr	r0, r0, #5
	bl	KASSERT
	ldr	r3, [r4, #24]
	ldr	r5, [r4, #4]
	ldr	r3, [r3]
	cmp	r5, #0
	ldr	r7, [r3]
	ldr	r6, [r4, #20]
	bne	.L6
	ldr	r3, [r4, #8]
	ldr	r1, [r7]
	mov	r0, r6
	str	r3, [r6, #8]
	bl	g_io_request
	mov	r1, r4
	ldr	r2, .L7+4
	mov	r0, #4
	bl	GJ_LOGREQ
	mov	r0, r4
	bl	g_destroy_bio
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	mov	r3, r5
	mov	r5, #1
	ldr	r2, [r4, #16]
	ldr	r1, .L7+8
	ldr	r2, [r2]
	mov	r0, #0
	bl	GJ_DEBUG
	ldr	r1, [r4, #12]
	ldr	r0, [r4, #8]
	bl	gj_free
	mov	r0, r6
	bl	g_destroy_bio
	mov	r0, r4
	bl	g_destroy_bio
	ldr	r3, [r7, #4]
	mov	r0, r5
	sub	r3, r3, #1
	str	r3, [r7, #4]
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	.align	2
.L7:
	.word	GJ_BIO_COPY
	.word	.LC1
	.word	.LC0
	.size	g_journal_copy_read_done, .-g_journal_copy_read_done
	.comm	GJ_BIO_COPY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
