	.file	"extr_test-fs-copyfile.c_touch_file.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"a"
	.text
	.p2align 4
	.type	touch_file, @function
touch_file:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	rdx, rdi
	xor	r9d, r9d
	xor	edi, edi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	ecx, DWORD PTR O_WRONLY[rip]
	mov	r8d, DWORD PTR S_IWUSR[rip]
	mov	r14, rsp
	or	r8d, DWORD PTR S_IRUSR[rip]
	or	ecx, DWORD PTR O_CREAT[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	or	ecx, DWORD PTR O_TRUNC[rip]
	mov	rsi, r14
	call	uv_fs_open@PLT
	mov	rdi, r14
	mov	r13d, eax
	call	uv_fs_req_cleanup@PLT
	mov	edi, r13d
	not	edi
	shr	edi, 31
	call	ASSERT@PLT
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	uv_buf_init@PLT
	mov	DWORD PTR 4[rsp], eax
	test	ebp, ebp
	je	.L2
	xor	r15d, r15d
	lea	r12, 4[rsp]
	.p2align 4,,10
	.p2align 3
.L3:
	sub	rsp, 8
	.cfi_def_cfa_offset 88
	mov	r9d, r15d
	mov	edx, r13d
	mov	r8d, 1
	push	0
	.cfi_def_cfa_offset 96
	mov	rcx, r12
	mov	rsi, r14
	xor	edi, edi
	add	r15d, 1
	call	uv_fs_write@PLT
	mov	rdi, r14
	mov	ebx, eax
	call	uv_fs_req_cleanup@PLT
	not	ebx
	mov	edi, ebx
	shr	edi, 31
	call	ASSERT@PLT
	pop	rax
	.cfi_def_cfa_offset 88
	pop	rdx
	.cfi_def_cfa_offset 80
	cmp	ebp, r15d
	jne	.L3
.L2:
	xor	ecx, ecx
	mov	edx, r13d
	mov	rsi, r14
	xor	edi, edi
	call	uv_fs_close@PLT
	mov	rdi, r14
	mov	ebx, eax
	call	uv_fs_req_cleanup@PLT
	xor	edi, edi
	test	ebx, ebx
	sete	dil
	call	ASSERT@PLT
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L11
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
.L11:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	touch_file, .-touch_file
	.comm	S_IWUSR,4,4
	.comm	S_IRUSR,4,4
	.comm	O_WRONLY,4,4
	.comm	O_TRUNC,4,4
	.comm	O_CREAT,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_test-fs-copyfile.c_touch_file.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"a\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	touch_file, %function
touch_file:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r4, #0
	mov	r2, r0
	mov	r7, r1
	ldr	r0, .L12
	ldr	r1, .L12+4
	ldr	r0, [r0]
	ldr	r1, [r1]
	ldr	ip, .L12+8
	ldr	r3, .L12+12
	ldr	lr, .L12+16
	sub	sp, sp, #36
	ldr	ip, [ip]
	ldr	r3, [r3]
	orr	r1, r1, r0
	ldr	lr, [lr]
	stm	sp, {r1, r4}
	orr	r3, ip, r3
	ldr	ip, .L12+20
	orr	r3, r3, lr
	add	r1, sp, #20
	mov	r0, r4
	ldr	ip, [ip]
	str	ip, [sp, #28]
	mov	ip,#0
	bl	uv_fs_open
	mov	r6, r0
	add	r0, sp, #20
	bl	uv_fs_req_cleanup
	cmp	r6, r4
	movlt	r0, #0
	movge	r0, #1
	bl	ASSERT
	mov	r1, #1
	ldr	r0, .L12+24
	bl	uv_buf_init
	cmp	r7, r4
	str	r0, [sp, #24]
	beq	.L2
	mov	r9, #1
	mov	r8, r4
.L3:
	mov	r2, r6
	add	r3, sp, #24
	add	r1, sp, #20
	stmib	sp, {r4, r8}
	mov	r0, #0
	str	r9, [sp]
	bl	uv_fs_write
	mov	r5, r0
	add	r0, sp, #20
	bl	uv_fs_req_cleanup
	mvn	r0, r5
	add	r4, r4, #1
	lsr	r0, r0, #31
	bl	ASSERT
	cmp	r7, r4
	bne	.L3
.L2:
	mov	r3, #0
	mov	r2, r6
	mov	r0, r3
	add	r1, sp, #20
	bl	uv_fs_close
	mov	r4, r0
	add	r0, sp, #20
	bl	uv_fs_req_cleanup
	clz	r0, r4
	lsr	r0, r0, #5
	bl	ASSERT
	ldr	r3, .L12+20
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L11
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L11:
	bl	__stack_chk_fail
.L13:
	.align	2
.L12:
	.word	S_IRUSR
	.word	S_IWUSR
	.word	O_WRONLY
	.word	O_CREAT
	.word	O_TRUNC
	.word	.LC1
	.word	.LC0
	.size	touch_file, .-touch_file
	.comm	S_IWUSR,4,4
	.comm	S_IRUSR,4,4
	.comm	O_WRONLY,4,4
	.comm	O_TRUNC,4,4
	.comm	O_CREAT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
