	.file	"182953771.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 32
	.type	buf, @object
	.size	buf, 33554432
buf:
	.zero	33554432
.LC0:
	.string	"Usage:\n\t%s file sizeInGB\n"
	.text
	.type	print_usage, @function
print_usage:
.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	QWORD PTR -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -8[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	eax, DWORD PTR -12[rbp]
	mov	edi, eax
	call	exit@PLT
	.cfi_endproc
.LFE8:
	.size	print_usage, .-print_usage
	.section	.rodata
	.align 8
.LC1:
	.string	"wrong number of arguments: %d\n"
.LC2:
	.string	"an integer expected: %s\n"
.LC3:
	.string	"failed to open: %s\n"
.LC4:
	.string	"failed to unlink: %s\n"
.LC5:
	.string	"failed to create: %s\n"
.LC6:
	.string	"start hogging"
.LC7:
	.string	"failed to write\n"
	.align 8
.LC8:
	.string	"write buffer %d MB it too large: %d\n"
	.align 8
.LC9:
	.string	"done. entring sleep.\npress [return] for exiting: "
	.text
	.globl	main
	.type	main, @function
main:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	add	rsp, -128
	mov	DWORD PTR -116[rbp], edi
	mov	QWORD PTR -128[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -116[rbp], 3
	je	.L3
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -116[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -128[rbp]
	mov	rax, QWORD PTR [rax]
	mov	esi, 1
	mov	rdi, rax
	call	print_usage
.L3:
	mov	rax, QWORD PTR -128[rbp]
	mov	rax, QWORD PTR 8[rax]
	mov	QWORD PTR -56[rbp], rax
	call	__errno_location@PLT
	mov	DWORD PTR [rax], 0
	mov	rax, QWORD PTR -128[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	lea	rcx, -64[rbp]
	mov	edx, 10
	mov	rsi, rcx
	mov	rdi, rax
	call	strtoul@PLT
	mov	QWORD PTR -48[rbp], rax
	cmp	QWORD PTR -48[rbp], 0
	je	.L4
	cmp	QWORD PTR -48[rbp], -1
	jne	.L5
.L4:
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L6
	mov	rax, QWORD PTR -128[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	perror@PLT
	mov	rax, QWORD PTR -128[rbp]
	mov	rax, QWORD PTR [rax]
	mov	esi, 1
	mov	rdi, rax
	call	print_usage
	jmp	.L5
.L6:
	mov	rax, QWORD PTR -128[rbp]
	add	rax, 16
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -64[rbp]
	cmp	rdx, rax
	jne	.L5
	mov	rax, QWORD PTR -128[rbp]
	add	rax, 16
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -128[rbp]
	mov	rax, QWORD PTR [rax]
	mov	esi, 1
	mov	rdi, rax
	call	print_usage
.L5:
	mov	rax, QWORD PTR -56[rbp]
	mov	esi, 65
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -108[rbp], eax
	cmp	DWORD PTR -108[rbp], 0
	jns	.L7
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -96[rbp], 1
	mov	DWORD PTR -92[rbp], eax
	lea	rax, .LC3[rip]
	mov	QWORD PTR -40[rbp], rax
	mov	rcx, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	mov	esi, DWORD PTR -92[rbp]
	mov	eax, DWORD PTR -96[rbp]
	mov	edi, eax
	mov	eax, 0
	call	error@PLT
	nop
.L7:
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	unlink@PLT
	test	eax, eax
	jns	.L8
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -88[rbp], 1
	mov	DWORD PTR -84[rbp], eax
	lea	rax, .LC4[rip]
	mov	QWORD PTR -32[rbp], rax
	mov	rcx, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR -32[rbp]
	mov	esi, DWORD PTR -84[rbp]
	mov	eax, DWORD PTR -88[rbp]
	mov	edi, eax
	mov	eax, 0
	call	error@PLT
	nop
.L8:
	mov	rax, QWORD PTR -56[rbp]
	mov	esi, 65
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	test	eax, eax
	jns	.L9
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -80[rbp], 1
	mov	DWORD PTR -76[rbp], eax
	lea	rax, .LC5[rip]
	mov	QWORD PTR -24[rbp], rax
	mov	rcx, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	esi, DWORD PTR -76[rbp]
	mov	eax, DWORD PTR -80[rbp]
	mov	edi, eax
	mov	eax, 0
	call	error@PLT
	nop
.L9:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 13
	mov	esi, 1
	lea	rdi, .LC6[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -48[rbp]
	sal	eax, 5
	mov	DWORD PTR -104[rbp], eax
	mov	DWORD PTR -112[rbp], 0
	jmp	.L10
.L14:
	mov	eax, DWORD PTR -108[rbp]
	mov	edx, 33554432
	lea	rsi, buf[rip]
	mov	edi, eax
	call	write@PLT
	mov	DWORD PTR -100[rbp], eax
	cmp	DWORD PTR -100[rbp], 33554432
	jne	.L11
	mov	rax, QWORD PTR stderr[rip]
	mov	rsi, rax
	mov	edi, 46
	call	fputc@PLT
	jmp	.L12
.L11:
	cmp	DWORD PTR -100[rbp], 0
	jns	.L13
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -72[rbp], 1
	mov	DWORD PTR -68[rbp], eax
	lea	rax, .LC7[rip]
	mov	QWORD PTR -16[rbp], rax
	mov	rdx, QWORD PTR -16[rbp]
	mov	ecx, DWORD PTR -68[rbp]
	mov	eax, DWORD PTR -72[rbp]
	mov	esi, ecx
	mov	edi, eax
	mov	eax, 0
	call	error@PLT
	jmp	.L12
.L13:
	mov	rax, QWORD PTR stderr[rip]
	mov	edx, DWORD PTR -100[rbp]
	mov	ecx, edx
	mov	edx, 32
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L12:
	add	DWORD PTR -112[rbp], 1
.L10:
	mov	eax, DWORD PTR -112[rbp]
	cmp	eax, DWORD PTR -104[rbp]
	jl	.L14
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 49
	mov	esi, 1
	lea	rdi, .LC9[rip]
	call	fwrite@PLT
	call	getchar@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.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	"182953771.c"
	.text
	.section	.rodata
	.align	2
	.type	buf, %object
	.size	buf, 33554432
buf:
	.space	33554432
	.align	2
.LC0:
	.ascii	"Usage:\012\011%s file sizeInGB\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_usage, %function
print_usage:
	@ 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]
	str	r1, [fp, #-12]
	ldr	r3, .L2
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	ldr	r1, .L2+4
	mov	r0, r3
	bl	fprintf
	ldr	r0, [fp, #-12]
	bl	exit
.L3:
	.align	2
.L2:
	.word	stderr
	.word	.LC0
	.size	print_usage, .-print_usage
	.section	.rodata
	.align	2
.LC1:
	.ascii	"wrong number of arguments: %d\012\000"
	.align	2
.LC2:
	.ascii	"an integer expected: %s\012\000"
	.align	2
.LC3:
	.ascii	"failed to open: %s\012\000"
	.align	2
.LC4:
	.ascii	"failed to unlink: %s\012\000"
	.align	2
.LC5:
	.ascii	"failed to create: %s\012\000"
	.align	2
.LC6:
	.ascii	"start hogging\000"
	.align	2
.LC7:
	.ascii	"failed to write\012\000"
	.align	2
.LC8:
	.ascii	"write buffer %d MB it too large: %d\012\000"
	.align	2
.LC9:
	.ascii	"done. entring sleep.\012press [return] for exiting:"
	.ascii	" \000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #88
	str	r0, [fp, #-88]
	str	r1, [fp, #-92]
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-88]
	cmp	r3, #3
	beq	.L5
	ldr	r3, .L19+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-88]
	ldr	r1, .L19+8
	mov	r0, r3
	bl	fprintf
	ldr	r3, [fp, #-92]
	ldr	r3, [r3]
	mov	r1, #1
	mov	r0, r3
	bl	print_usage
.L5:
	ldr	r3, [fp, #-92]
	ldr	r3, [r3, #4]
	str	r3, [fp, #-76]
	bl	__errno_location
	mov	r3, r0
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, [fp, #-92]
	add	r3, r3, #8
	ldr	r3, [r3]
	sub	r1, fp, #84
	mov	r2, #10
	mov	r0, r3
	bl	strtoul
	str	r0, [fp, #-72]
	ldr	r3, [fp, #-72]
	cmp	r3, #0
	beq	.L6
	ldr	r3, [fp, #-72]
	cmn	r3, #1
	bne	.L7
.L6:
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L8
	ldr	r3, [fp, #-92]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	perror
	ldr	r3, [fp, #-92]
	ldr	r3, [r3]
	mov	r1, #1
	mov	r0, r3
	bl	print_usage
	b	.L7
.L8:
	ldr	r3, [fp, #-92]
	add	r3, r3, #8
	ldr	r2, [r3]
	ldr	r3, [fp, #-84]
	cmp	r2, r3
	bne	.L7
	ldr	r3, .L19+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-92]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, .L19+12
	bl	fprintf
	ldr	r3, [fp, #-92]
	ldr	r3, [r3]
	mov	r1, #1
	mov	r0, r3
	bl	print_usage
.L7:
	mov	r1, #65
	ldr	r0, [fp, #-76]
	bl	open
	str	r0, [fp, #-68]
	ldr	r3, [fp, #-68]
	cmp	r3, #0
	bge	.L9
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, #1
	str	r2, [fp, #-56]
	str	r3, [fp, #-52]
	ldr	r3, .L19+16
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-76]
	ldr	r2, [fp, #-48]
	ldr	r1, [fp, #-52]
	ldr	r0, [fp, #-56]
	bl	error
	nop
.L9:
	ldr	r0, [fp, #-76]
	bl	unlink
	mov	r3, r0
	cmp	r3, #0
	bge	.L10
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, #1
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, .L19+20
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-76]
	ldr	r2, [fp, #-36]
	ldr	r1, [fp, #-40]
	ldr	r0, [fp, #-44]
	bl	error
	nop
.L10:
	mov	r1, #65
	ldr	r0, [fp, #-76]
	bl	open
	mov	r3, r0
	cmp	r3, #0
	bge	.L11
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, #1
	str	r2, [fp, #-32]
	str	r3, [fp, #-28]
	ldr	r3, .L19+24
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-76]
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-32]
	bl	error
	nop
.L11:
	ldr	r3, .L19+4
	ldr	r3, [r3]
	mov	r2, #13
	mov	r1, #1
	ldr	r0, .L19+28
	bl	fwrite
	ldr	r3, [fp, #-72]
	lsl	r3, r3, #5
	str	r3, [fp, #-64]
	mov	r3, #0
	str	r3, [fp, #-80]
	b	.L12
.L16:
	mov	r2, #33554432
	ldr	r1, .L19+32
	ldr	r0, [fp, #-68]
	bl	write
	str	r0, [fp, #-60]
	ldr	r3, [fp, #-60]
	cmp	r3, #33554432
	bne	.L13
	ldr	r3, .L19+4
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #46
	bl	fputc
	b	.L14
.L13:
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	bge	.L15
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	mov	r2, #1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, .L19+36
	str	r3, [fp, #-12]
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-20]
	bl	error
	b	.L14
.L15:
	ldr	r3, .L19+4
	ldr	r0, [r3]
	ldr	r3, [fp, #-60]
	mov	r2, #32
	ldr	r1, .L19+40
	bl	fprintf
	mov	r0, #1
	bl	exit
.L14:
	ldr	r3, [fp, #-80]
	add	r3, r3, #1
	str	r3, [fp, #-80]
.L12:
	ldr	r2, [fp, #-80]
	ldr	r3, [fp, #-64]
	cmp	r2, r3
	blt	.L16
	ldr	r3, .L19+4
	ldr	r3, [r3]
	mov	r2, #49
	mov	r1, #1
	ldr	r0, .L19+44
	bl	fwrite
	bl	getchar
	mov	r3, #0
	ldr	r2, .L19
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L18
	bl	__stack_chk_fail
.L18:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC10
	.word	stderr
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	buf
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
