	.file	"100140563.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"./io_continuum_test.txt"
	.align 8
.LC1:
	.string	"Failed to remove file: %s, please delete the file.\n"
.LC2:
	.string	"Success to remove file: %s\n"
	.text
	.globl	remove_test_file
	.type	remove_test_file, @function
remove_test_file:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rdi, .LC0[rip]
	call	remove@PLT
	test	eax, eax
	je	.L2
	lea	rsi, .LC0[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L3
.L2:
	lea	rsi, .LC0[rip]
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
.L3:
	mov	eax, 0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	remove_test_file, .-remove_test_file
	.section	.rodata
.LC3:
	.string	"test io continuum!\n"
	.text
	.globl	IO_Write_With_Sync
	.type	IO_Write_With_Sync, @function
IO_Write_With_Sync:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -8[rbp], 0
	lea	rax, .LC3[rip]
	mov	BYTE PTR -9[rbp], al
	mov	edx, 511
	mov	esi, 577
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	jne	.L8
	mov	eax, -1
	jmp	.L7
.L9:
	movsx	rax, BYTE PTR -9[rbp]
	mov	rcx, rax
	mov	eax, DWORD PTR -4[rbp]
	mov	edx, 104857600
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	fsync@PLT
	add	DWORD PTR -8[rbp], 1
.L8:
	cmp	DWORD PTR -8[rbp], 104857600
	jle	.L9
	mov	eax, 0
.L7:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	IO_Write_With_Sync, .-IO_Write_With_Sync
	.globl	IO_Write_Without_Sync
	.type	IO_Write_Without_Sync, @function
IO_Write_Without_Sync:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -8[rbp], 0
	lea	rax, .LC3[rip]
	mov	BYTE PTR -9[rbp], al
	mov	edx, 511
	mov	esi, 577
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], -1
	jne	.L13
	mov	eax, -1
	jmp	.L12
.L14:
	movsx	rax, BYTE PTR -9[rbp]
	mov	rcx, rax
	mov	eax, DWORD PTR -4[rbp]
	mov	edx, 104857600
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	add	DWORD PTR -8[rbp], 1
.L13:
	cmp	DWORD PTR -8[rbp], 104857600
	jle	.L14
	mov	eax, 0
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	IO_Write_Without_Sync, .-IO_Write_Without_Sync
	.globl	sighandler
	.type	sighandler, @function
sighandler:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], edi
	mov	eax, 0
	call	remove_test_file
	mov	edi, 1
	call	exit@PLT
	.cfi_endproc
.LFE9:
	.size	sighandler, .-sighandler
	.globl	main
	.type	main, @function
main:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -4[rbp], eax
	lea	rsi, sighandler[rip]
	mov	edi, 2
	call	signal@PLT
	cmp	DWORD PTR -4[rbp], 0
	je	.L17
	cmp	DWORD PTR -4[rbp], 1
	je	.L18
	jmp	.L20
.L17:
	mov	eax, 0
	call	IO_Write_With_Sync
	mov	eax, 0
	call	remove_test_file
	jmp	.L20
.L18:
	mov	eax, 0
	call	IO_Write_Without_Sync
	mov	eax, 0
	call	remove_test_file
	nop
.L20:
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"100140563.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"./io_continuum_test.txt\000"
	.align	2
.LC1:
	.ascii	"Failed to remove file: %s, please delete the file.\012"
	.ascii	"\000"
	.align	2
.LC2:
	.ascii	"Success to remove file: %s\012\000"
	.text
	.align	2
	.global	remove_test_file
	.syntax unified
	.arm
	.fpu softvfp
	.type	remove_test_file, %function
remove_test_file:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L5
	bl	remove
	mov	r3, r0
	cmp	r3, #0
	beq	.L2
	ldr	r1, .L5
	ldr	r0, .L5+4
	bl	printf
	b	.L3
.L2:
	ldr	r1, .L5
	ldr	r0, .L5+8
	bl	printf
.L3:
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	remove_test_file, .-remove_test_file
	.section	.rodata
	.align	2
.LC3:
	.ascii	"test io continuum!\012\000"
	.text
	.align	2
	.global	IO_Write_With_Sync
	.syntax unified
	.arm
	.fpu softvfp
	.type	IO_Write_With_Sync, %function
IO_Write_With_Sync:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, .L12
	strb	r3, [fp, #-13]
	ldr	r2, .L12+4
	ldr	r1, .L12+8
	ldr	r0, .L12+12
	bl	open
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L10
	mvn	r3, #0
	b	.L9
.L11:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	mov	r2, #104857600
	mov	r1, r3
	ldr	r0, [fp, #-8]
	bl	write
	ldr	r0, [fp, #-8]
	bl	fsync
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L10:
	ldr	r3, [fp, #-12]
	cmp	r3, #104857600
	ble	.L11
	mov	r3, #0
.L9:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC3
	.word	511
	.word	577
	.word	.LC0
	.size	IO_Write_With_Sync, .-IO_Write_With_Sync
	.align	2
	.global	IO_Write_Without_Sync
	.syntax unified
	.arm
	.fpu softvfp
	.type	IO_Write_Without_Sync, %function
IO_Write_Without_Sync:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r3, .L19
	strb	r3, [fp, #-13]
	ldr	r2, .L19+4
	ldr	r1, .L19+8
	ldr	r0, .L19+12
	bl	open
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmn	r3, #1
	bne	.L17
	mvn	r3, #0
	b	.L16
.L18:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	mov	r2, #104857600
	mov	r1, r3
	ldr	r0, [fp, #-8]
	bl	write
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L17:
	ldr	r3, [fp, #-12]
	cmp	r3, #104857600
	ble	.L18
	mov	r3, #0
.L16:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC3
	.word	511
	.word	577
	.word	.LC0
	.size	IO_Write_Without_Sync, .-IO_Write_Without_Sync
	.align	2
	.global	sighandler
	.syntax unified
	.arm
	.fpu softvfp
	.type	sighandler, %function
sighandler:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	bl	remove_test_file
	mov	r0, #1
	bl	exit
	.size	sighandler, .-sighandler
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-8]
	ldr	r1, .L28
	mov	r0, #2
	bl	signal
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L23
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	beq	.L24
	b	.L26
.L23:
	bl	IO_Write_With_Sync
	bl	remove_test_file
	b	.L26
.L24:
	bl	IO_Write_Without_Sync
	bl	remove_test_file
	nop
.L26:
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	sighandler
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
