	.file	"574854.c"
	.intel_syntax noprefix
	.text
	.globl	fd
	.bss
	.align 4
	.type	fd, @object
	.size	fd, 4
fd:
	.zero	4
	.section	.rodata
.LC0:
	.string	"/sys/class/gpio/unexport"
.LC1:
	.string	"3"
.LC2:
	.string	"Fechando programa"
	.text
	.globl	fechar
	.type	fechar, @function
fechar:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR fd[rip]
	mov	edi, eax
	call	close@PLT
	mov	esi, 1
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR fd[rip], eax
	mov	eax, DWORD PTR fd[rip]
	mov	edx, 2
	lea	rsi, .LC1[rip]
	mov	edi, eax
	call	write@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	eax, DWORD PTR fd[rip]
	mov	edi, eax
	call	close@PLT
	mov	edi, 1
	call	sleep@PLT
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE6:
	.size	fechar, .-fechar
	.section	.rodata
.LC3:
	.string	"Frequ\303\252ncia (Hz)?"
.LC4:
	.string	"%f"
.LC6:
	.string	"Realizando o export"
.LC7:
	.string	"/sys/class/gpio/export"
.LC8:
	.string	"Iniciando o pin como sa\303\255da"
	.align 8
.LC9:
	.string	"/sys/class/gpio/gpio3/direction"
.LC10:
	.string	"out"
.LC11:
	.string	"/sys/class/gpio/gpio3/value"
.LC12:
	.string	"Iniciando o blink"
.LC13:
	.string	"1"
.LC15:
	.string	"0"
	.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, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movss	xmm1, DWORD PTR -16[rbp]
	movss	xmm0, DWORD PTR .LC5[rip]
	divss	xmm0, xmm1
	movss	DWORD PTR -12[rbp], xmm0
	lea	rsi, fechar[rip]
	mov	edi, 2
	call	signal@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	mov	esi, 1
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR fd[rip], eax
	mov	eax, DWORD PTR fd[rip]
	mov	edx, 2
	lea	rsi, .LC1[rip]
	mov	edi, eax
	call	write@PLT
	mov	eax, DWORD PTR fd[rip]
	mov	edi, eax
	call	close@PLT
	mov	edi, 1
	call	sleep@PLT
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	esi, 1
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR fd[rip], eax
	mov	eax, DWORD PTR fd[rip]
	mov	edx, 4
	lea	rsi, .LC10[rip]
	mov	edi, eax
	call	write@PLT
	mov	eax, DWORD PTR fd[rip]
	mov	edi, eax
	call	close@PLT
	mov	edi, 1
	call	sleep@PLT
	mov	esi, 1
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR fd[rip], eax
	lea	rdi, .LC12[rip]
	call	puts@PLT
.L3:
	mov	eax, DWORD PTR fd[rip]
	mov	edx, 2
	lea	rsi, .LC13[rip]
	mov	edi, eax
	call	write@PLT
	movss	xmm0, DWORD PTR -12[rbp]
	movss	xmm1, DWORD PTR .LC14[rip]
	divss	xmm0, xmm1
	cvttss2si	rax, xmm0
	mov	edi, eax
	call	usleep@PLT
	mov	eax, DWORD PTR fd[rip]
	mov	edx, 2
	lea	rsi, .LC15[rip]
	mov	edi, eax
	call	write@PLT
	movss	xmm0, DWORD PTR -12[rbp]
	movss	xmm1, DWORD PTR .LC14[rip]
	divss	xmm0, xmm1
	cvttss2si	rax, xmm0
	mov	edi, eax
	call	usleep@PLT
	jmp	.L3
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC5:
	.long	1232348160
	.align 4
.LC14:
	.long	1073741824
	.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	"574854.c"
	.text
	.comm	fd,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"/sys/class/gpio/unexport\000"
	.align	2
.LC1:
	.ascii	"3\000"
	.align	2
.LC2:
	.ascii	"Fechando programa\000"
	.text
	.align	2
	.global	fechar
	.syntax unified
	.arm
	.fpu softvfp
	.type	fechar, %function
fechar:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L2
	ldr	r3, [r3]
	mov	r0, r3
	bl	close
	mov	r1, #1
	ldr	r0, .L2+4
	bl	open
	mov	r3, r0
	ldr	r2, .L2
	str	r3, [r2]
	ldr	r3, .L2
	ldr	r3, [r3]
	mov	r2, #2
	ldr	r1, .L2+8
	mov	r0, r3
	bl	write
	ldr	r0, .L2+12
	bl	puts
	ldr	r3, .L2
	ldr	r3, [r3]
	mov	r0, r3
	bl	close
	mov	r0, #1
	bl	sleep
	mov	r0, #0
	bl	exit
.L3:
	.align	2
.L2:
	.word	fd
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	fechar, .-fechar
	.section	.rodata
	.align	2
.LC3:
	.ascii	"Frequ\303\252ncia (Hz)?\000"
	.align	2
.LC4:
	.ascii	"%f\000"
	.global	__aeabi_fdiv
	.align	2
.LC5:
	.ascii	"Realizando o export\000"
	.align	2
.LC6:
	.ascii	"/sys/class/gpio/export\000"
	.align	2
.LC7:
	.ascii	"Iniciando o pin como sa\303\255da\000"
	.align	2
.LC8:
	.ascii	"/sys/class/gpio/gpio3/direction\000"
	.align	2
.LC9:
	.ascii	"out\000"
	.align	2
.LC10:
	.ascii	"/sys/class/gpio/gpio3/value\000"
	.align	2
.LC11:
	.ascii	"Iniciando o blink\000"
	.align	2
.LC12:
	.ascii	"1\000"
	.global	__aeabi_f2uiz
	.align	2
.LC13:
	.ascii	"0\000"
	.align	2
.LC14:
	.word	__stack_chk_guard
	.text
	.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
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L7+4
	bl	puts
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L7+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-16]	@ float
	mov	r1, r3
	ldr	r0, .L7+12
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-12]	@ float
	ldr	r1, .L7+16
	mov	r0, #2
	bl	signal
	ldr	r0, .L7+20
	bl	puts
	mov	r1, #1
	ldr	r0, .L7+24
	bl	open
	mov	r3, r0
	ldr	r2, .L7+28
	str	r3, [r2]
	ldr	r3, .L7+28
	ldr	r3, [r3]
	mov	r2, #2
	ldr	r1, .L7+32
	mov	r0, r3
	bl	write
	ldr	r3, .L7+28
	ldr	r3, [r3]
	mov	r0, r3
	bl	close
	mov	r0, #1
	bl	sleep
	ldr	r0, .L7+36
	bl	puts
	mov	r1, #1
	ldr	r0, .L7+40
	bl	open
	mov	r3, r0
	ldr	r2, .L7+28
	str	r3, [r2]
	ldr	r3, .L7+28
	ldr	r3, [r3]
	mov	r2, #4
	ldr	r1, .L7+44
	mov	r0, r3
	bl	write
	ldr	r3, .L7+28
	ldr	r3, [r3]
	mov	r0, r3
	bl	close
	mov	r0, #1
	bl	sleep
	mov	r1, #1
	ldr	r0, .L7+48
	bl	open
	mov	r3, r0
	ldr	r2, .L7+28
	str	r3, [r2]
	ldr	r0, .L7+52
	bl	puts
.L5:
	ldr	r3, .L7+28
	ldr	r3, [r3]
	mov	r2, #2
	ldr	r1, .L7+56
	mov	r0, r3
	bl	write
	mov	r1, #1073741824
	ldr	r0, [fp, #-12]	@ float
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2uiz
	mov	r3, r0
	mov	r0, r3
	bl	usleep
	ldr	r3, .L7+28
	ldr	r3, [r3]
	mov	r2, #2
	ldr	r1, .L7+60
	mov	r0, r3
	bl	write
	mov	r1, #1073741824
	ldr	r0, [fp, #-12]	@ float
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2uiz
	mov	r3, r0
	mov	r0, r3
	bl	usleep
	b	.L5
.L8:
	.align	2
.L7:
	.word	.LC14
	.word	.LC3
	.word	.LC4
	.word	1232348160
	.word	fechar
	.word	.LC5
	.word	.LC6
	.word	fd
	.word	.LC1
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
