	.file	"95449921.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Usage: ./NotifyMe <your shell command>\n\tSetting phone number: ./NotifyMe -d <number>"
	.text
	.globl	printhelp
	.type	printhelp, @function
printhelp:
.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]
	mov	eax, 0
	call	printf@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	printhelp, .-printhelp
	.section	.rodata
.LC1:
	.string	"-h"
.LC2:
	.string	"help"
.LC3:
	.string	"-d"
.LC4:
	.string	"w"
.LC5:
	.string	"number.txt"
.LC6:
	.string	"Invalid phone number lengnth!"
.LC7:
	.string	"r"
	.align 8
.LC8:
	.string	"No phone number specified. Set the phone number first!"
	.align 8
.LC9:
	.string	"curl -X POST http://textbelt.com/text -d number="
	.align 8
.LC10:
	.string	" -d \"message=Your program execution has started! Go take a coffee break :)\""
	.align 8
.LC11:
	.string	" -d \"message=Your program execution has finished! Get back to work :)\""
	.text
	.globl	main
	.type	main, @function
main:
.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, 80
	mov	DWORD PTR -68[rbp], edi
	mov	QWORD PTR -80[rbp], rsi
	cmp	DWORD PTR -68[rbp], 1
	jne	.L3
	mov	eax, 0
	call	printhelp
	mov	edi, -1
	call	exit@PLT
.L3:
	cmp	DWORD PTR -68[rbp], 2
	jne	.L4
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	je	.L5
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L4
.L5:
	mov	eax, 0
	call	printhelp
	mov	edi, -1
	call	exit@PLT
.L4:
	cmp	DWORD PTR -68[rbp], 3
	jne	.L6
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	strcmp@PLT
	test	eax, eax
	jne	.L6
	lea	rsi, .LC4[rip]
	lea	rdi, .LC5[rip]
	call	fopen@PLT
	mov	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 10
	jne	.L7
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdx, QWORD PTR -56[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fputs@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	fclose@PLT
	jmp	.L6
.L7:
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	edi, -1
	call	exit@PLT
.L6:
	lea	rsi, .LC7[rip]
	lea	rdi, .LC5[rip]
	call	fopen@PLT
	mov	QWORD PTR -56[rbp], rax
	cmp	QWORD PTR -56[rbp], 0
	jne	.L8
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	edi, -1
	call	exit@PLT
.L8:
	mov	edi, 11
	call	malloc@PLT
	mov	QWORD PTR -48[rbp], rax
	mov	rdx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	esi, 11
	mov	rdi, rax
	call	fread@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	fclose@PLT
	lea	rax, .LC9[rip]
	mov	QWORD PTR -40[rbp], rax
	lea	rax, .LC10[rip]
	mov	QWORD PTR -32[rbp], rax
	mov	edi, 200
	call	malloc@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR [rax], 0
	mov	rdx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	mov	edi, 4096
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	BYTE PTR [rax], 0
	mov	DWORD PTR -60[rbp], 1
	jmp	.L9
.L10:
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	mov	WORD PTR [rax], 32
	add	DWORD PTR -60[rbp], 1
.L9:
	mov	eax, DWORD PTR -60[rbp]
	cmp	eax, DWORD PTR -68[rbp]
	jl	.L10
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	system@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	system@PLT
	lea	rax, .LC11[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	BYTE PTR [rax], 0
	mov	rdx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	mov	rdx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	mov	rdx, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	system@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"95449921.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Usage: ./NotifyMe <your shell command>\012\011Setti"
	.ascii	"ng phone number: ./NotifyMe -d <number>\000"
	.text
	.align	2
	.global	printhelp
	.syntax unified
	.arm
	.fpu softvfp
	.type	printhelp, %function
printhelp:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r0, .L2
	bl	printf
	nop
	pop	{fp, pc}
.L3:
	.align	2
.L2:
	.word	.LC0
	.size	printhelp, .-printhelp
	.section	.rodata
	.align	2
.LC1:
	.ascii	"-h\000"
	.align	2
.LC2:
	.ascii	"help\000"
	.align	2
.LC3:
	.ascii	"-d\000"
	.align	2
.LC4:
	.ascii	"w\000"
	.align	2
.LC5:
	.ascii	"number.txt\000"
	.align	2
.LC6:
	.ascii	"Invalid phone number lengnth!\000"
	.align	2
.LC7:
	.ascii	"r\000"
	.align	2
.LC8:
	.ascii	"No phone number specified. Set the phone number fir"
	.ascii	"st!\000"
	.align	2
.LC9:
	.ascii	"curl -X POST http://textbelt.com/text -d number=\000"
	.align	2
.LC10:
	.ascii	" -d \"message=Your program execution has started! G"
	.ascii	"o take a coffee break :)\"\000"
	.align	2
.LC11:
	.ascii	" \000"
	.align	2
.LC12:
	.ascii	" -d \"message=Your program execution has finished! "
	.ascii	"Get back to work :)\"\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, [fp, #-40]
	cmp	r3, #1
	bne	.L5
	bl	printhelp
	mvn	r0, #0
	bl	exit
.L5:
	ldr	r3, [fp, #-40]
	cmp	r3, #2
	bne	.L6
	ldr	r3, [fp, #-44]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L14
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L7
	ldr	r3, [fp, #-44]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L14+4
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L6
.L7:
	bl	printhelp
	mvn	r0, #0
	bl	exit
.L6:
	ldr	r3, [fp, #-40]
	cmp	r3, #3
	bne	.L8
	ldr	r3, [fp, #-44]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L14+8
	mov	r0, r3
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	bne	.L8
	ldr	r1, .L14+12
	ldr	r0, .L14+16
	bl	fopen
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-44]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	cmp	r3, #10
	bne	.L9
	ldr	r3, [fp, #-44]
	add	r3, r3, #8
	ldr	r3, [r3]
	ldr	r1, [fp, #-32]
	mov	r0, r3
	bl	fputs
	ldr	r0, [fp, #-32]
	bl	fclose
	b	.L8
.L9:
	ldr	r0, .L14+20
	bl	puts
	mvn	r0, #0
	bl	exit
.L8:
	ldr	r1, .L14+24
	ldr	r0, .L14+16
	bl	fopen
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bne	.L10
	ldr	r0, .L14+28
	bl	puts
	mvn	r0, #0
	bl	exit
.L10:
	mov	r0, #11
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-32]
	mov	r2, #1
	mov	r1, #11
	ldr	r0, [fp, #-28]
	bl	fread
	ldr	r0, [fp, #-32]
	bl	fclose
	ldr	r3, .L14+32
	str	r3, [fp, #-24]
	ldr	r3, .L14+36
	str	r3, [fp, #-20]
	mov	r0, #200
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-16]
	bl	strcat
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-16]
	bl	strcat
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	strcat
	mov	r0, #4096
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	mov	r2, #0
	strb	r2, [r3]
	mov	r3, #1
	str	r3, [fp, #-36]
	b	.L11
.L12:
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-44]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-12]
	bl	strcat
	ldr	r0, [fp, #-12]
	bl	strlen
	mov	r3, r0
	mov	r2, r3
	ldr	r3, [fp, #-12]
	add	r3, r3, r2
	ldr	r2, .L14+40
	mov	r0, r3
	mov	r1, r2
	mov	r3, #2
	mov	r2, r3
	bl	memcpy
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L11:
	ldr	r2, [fp, #-36]
	ldr	r3, [fp, #-40]
	cmp	r2, r3
	blt	.L12
	ldr	r0, [fp, #-16]
	bl	system
	ldr	r0, [fp, #-12]
	bl	system
	ldr	r3, .L14+44
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r1, [fp, #-24]
	ldr	r0, [fp, #-16]
	bl	strcat
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-16]
	bl	strcat
	ldr	r1, [fp, #-8]
	ldr	r0, [fp, #-16]
	bl	strcat
	ldr	r0, [fp, #-16]
	bl	system
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
