	.file	"extr_test-fs.c_read_cb.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"test-bu"
	.text
	.p2align 4
	.type	read_cb, @function
read_cb:
.LFB0:
	.cfi_startproc
	endbr64
	lea	rax, read_req[rip]
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	cmp	rdi, rax
	sete	dil
	movzx	edi, dil
	call	ASSERT@PLT
	mov	rax, QWORD PTR UV_FS_READ[rip]
	xor	edi, edi
	cmp	QWORD PTR 0[rbp], rax
	sete	dil
	call	ASSERT@PLT
	mov	rdi, QWORD PTR 8[rbp]
	not	rdi
	shr	rdi, 63
	call	ASSERT@PLT
	mov	rdi, rbp
	add	DWORD PTR read_cb_count[rip], 1
	call	uv_fs_req_cleanup@PLT
	cmp	DWORD PTR read_cb_count[rip], 1
	je	.L6
	mov	edi, DWORD PTR buf[rip]
	lea	rsi, .LC0[rip]
	call	strcmp@PLT
	xor	edi, edi
	test	rax, rax
	sete	dil
	call	ASSERT@PLT
	mov	edi, DWORD PTR loop[rip]
	mov	ecx, DWORD PTR close_cb[rip]
	lea	rsi, close_req[rip]
	mov	edx, DWORD PTR open_req1[rip]
	call	uv_fs_close@PLT
	xor	edi, edi
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	test	eax, eax
	sete	dil
	jmp	ASSERT@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	rsi, QWORD PTR test_buf[rip]
	mov	edi, DWORD PTR buf[rip]
	call	strcmp@PLT
	xor	edi, edi
	test	rax, rax
	sete	dil
	call	ASSERT@PLT
	mov	edi, DWORD PTR loop[rip]
	mov	edx, DWORD PTR open_req1[rip]
	mov	ecx, 7
	mov	r8d, DWORD PTR ftruncate_cb[rip]
	lea	rsi, ftruncate_req[rip]
	call	uv_fs_ftruncate@PLT
	xor	edi, edi
	pop	rbp
	.cfi_def_cfa_offset 8
	test	eax, eax
	sete	dil
	jmp	ASSERT@PLT
	.cfi_endproc
.LFE0:
	.size	read_cb, .-read_cb
	.comm	test_buf,8,8
	.comm	read_req,16,16
	.comm	read_cb_count,4,4
	.comm	open_req1,4,4
	.comm	loop,4,4
	.comm	ftruncate_req,4,4
	.comm	ftruncate_cb,4,4
	.comm	close_req,4,4
	.comm	close_cb,4,4
	.comm	buf,4,4
	.comm	UV_FS_READ,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_test-fs.c_read_cb.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"test-bu\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	read_cb, %function
read_cb:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	mov	r4, r0
	ldr	r0, .L7
	sub	sp, sp, #12
	sub	r0, r4, r0
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ASSERT
	ldr	r3, .L7+4
	ldr	r0, [r4]
	ldr	r3, [r3]
	ldr	r5, .L7+8
	sub	r0, r0, r3
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ASSERT
	ldr	r0, [r4, #4]
	mvn	r0, r0
	lsr	r0, r0, #31
	bl	ASSERT
	ldr	r3, [r5]
	mov	r0, r4
	add	r3, r3, #1
	str	r3, [r5]
	bl	uv_fs_req_cleanup
	ldr	r3, [r5]
	cmp	r3, #1
	beq	.L6
	ldr	r3, .L7+12
	ldr	r1, .L7+16
	ldr	r0, [r3]
	bl	strcmp
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ASSERT
	ldr	r1, .L7+20
	ldr	r3, .L7+24
	ldr	r2, .L7+28
	ldr	r0, [r1]
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r1, .L7+32
	bl	uv_fs_close
.L3:
	clz	r0, r0
	lsr	r0, r0, #5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, lr}
	b	ASSERT
.L6:
	ldr	r2, .L7+36
	ldr	r3, .L7+12
	ldr	r1, [r2]
	ldr	r0, [r3]
	bl	strcmp
	clz	r0, r0
	lsr	r0, r0, #5
	bl	ASSERT
	ldr	r3, .L7+40
	ldr	r2, .L7+28
	ldr	r1, [r3]
	ldr	r3, .L7+20
	str	r1, [sp]
	ldr	r2, [r2]
	ldr	r0, [r3]
	ldr	r1, .L7+44
	mov	r3, #7
	bl	uv_fs_ftruncate
	b	.L3
.L8:
	.align	2
.L7:
	.word	read_req
	.word	UV_FS_READ
	.word	read_cb_count
	.word	buf
	.word	.LC0
	.word	loop
	.word	close_cb
	.word	open_req1
	.word	close_req
	.word	test_buf
	.word	ftruncate_cb
	.word	ftruncate_req
	.size	read_cb, .-read_cb
	.comm	test_buf,4,4
	.comm	read_req,8,4
	.comm	read_cb_count,4,4
	.comm	open_req1,4,4
	.comm	loop,4,4
	.comm	ftruncate_req,4,4
	.comm	ftruncate_cb,4,4
	.comm	close_req,4,4
	.comm	close_cb,4,4
	.comm	buf,4,4
	.comm	UV_FS_READ,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
