	.file	"92326256.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"/sys/class/gpio/export"
.LC1:
	.string	"%d"
	.align 8
.LC2:
	.string	"/sys/class/gpio/gpio%d/direction"
.LC3:
	.string	"out"
.LC4:
	.string	"/sys/class/gpio/gpio%d/value"
.LC5:
	.string	"1"
.LC6:
	.string	"0"
.LC7:
	.string	"/sys/class/gpio/unexport"
	.text
	.globl	ledControl
	.type	ledControl, @function
ledControl:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 48
	mov	DWORD PTR -8228[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	esi, 1
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -8212[rbp], eax
	mov	edx, DWORD PTR -8228[rbp]
	lea	rax, -8208[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -8208[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rcx, -8208[rbp]
	mov	eax, DWORD PTR -8212[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	eax, DWORD PTR -8212[rbp]
	mov	edi, eax
	call	close@PLT
	mov	edx, DWORD PTR -8228[rbp]
	lea	rax, -8208[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -8208[rbp]
	mov	esi, 1
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -8212[rbp], eax
	mov	eax, DWORD PTR -8212[rbp]
	mov	edx, 4
	lea	rsi, .LC3[rip]
	mov	edi, eax
	call	write@PLT
	mov	eax, DWORD PTR -8212[rbp]
	mov	edi, eax
	call	close@PLT
	mov	edx, DWORD PTR -8228[rbp]
	lea	rax, -8208[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -8208[rbp]
	mov	esi, 1
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -8212[rbp], eax
	mov	eax, DWORD PTR -8212[rbp]
	mov	edx, 2
	lea	rsi, .LC5[rip]
	mov	edi, eax
	call	write@PLT
	mov	eax, DWORD PTR -8212[rbp]
	mov	edi, eax
	call	close@PLT
	mov	edi, 500000
	call	usleep@PLT
	mov	edx, DWORD PTR -8228[rbp]
	lea	rax, -8208[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -8208[rbp]
	mov	esi, 1
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -8212[rbp], eax
	mov	eax, DWORD PTR -8212[rbp]
	mov	edx, 2
	lea	rsi, .LC6[rip]
	mov	edi, eax
	call	write@PLT
	mov	eax, DWORD PTR -8212[rbp]
	mov	edi, eax
	call	close@PLT
	mov	edi, 500000
	call	usleep@PLT
	mov	edx, DWORD PTR -8228[rbp]
	lea	rax, -8208[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -8208[rbp]
	mov	esi, 1
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -8212[rbp], eax
	mov	eax, DWORD PTR -8212[rbp]
	mov	edx, 2
	lea	rsi, .LC5[rip]
	mov	edi, eax
	call	write@PLT
	mov	eax, DWORD PTR -8212[rbp]
	mov	edi, eax
	call	close@PLT
	mov	edi, 500000
	call	usleep@PLT
	mov	edx, DWORD PTR -8228[rbp]
	lea	rax, -8208[rbp]
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -8208[rbp]
	mov	esi, 1
	mov	rdi, rax
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -8212[rbp], eax
	mov	eax, DWORD PTR -8212[rbp]
	mov	edx, 2
	lea	rsi, .LC6[rip]
	mov	edi, eax
	call	write@PLT
	mov	eax, DWORD PTR -8212[rbp]
	mov	edi, eax
	call	close@PLT
	mov	esi, 1
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	open@PLT
	mov	DWORD PTR -8212[rbp], eax
	mov	edx, DWORD PTR -8228[rbp]
	lea	rax, -8208[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	sprintf@PLT
	lea	rax, -8208[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	rdx, rax
	lea	rcx, -8208[rbp]
	mov	eax, DWORD PTR -8212[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	mov	eax, DWORD PTR -8212[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L3
	call	__stack_chk_fail@PLT
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	ledControl, .-ledControl
	.section	.rodata
.LC8:
	.string	"Usage : %s GPIO_NO\n"
	.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	cmp	DWORD PTR -20[rbp], 1
	jg	.L5
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rsi, rax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, -1
	jmp	.L6
.L5:
	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
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	ledControl
	mov	eax, 0
.L6:
	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	"92326256.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"/sys/class/gpio/export\000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.ascii	"/sys/class/gpio/gpio%d/direction\000"
	.align	2
.LC3:
	.ascii	"out\000"
	.align	2
.LC4:
	.ascii	"/sys/class/gpio/gpio%d/value\000"
	.align	2
.LC5:
	.ascii	"1\000"
	.align	2
.LC6:
	.ascii	"0\000"
	.align	2
.LC7:
	.ascii	"/sys/class/gpio/unexport\000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ledControl
	.syntax unified
	.arm
	.fpu softvfp
	.type	ledControl, %function
ledControl:
	@ args = 0, pretend = 0, frame = 8208
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #8192
	sub	sp, sp, #20
	sub	r3, fp, #8192
	sub	r3, r3, #12
	str	r0, [r3, #-12]
	ldr	r3, .L4
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	mov	r1, #1
	ldr	r0, .L4+4
	bl	open
	str	r0, [r4, #-8]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, [r2, #-12]
	ldr	r1, .L4+8
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r1, fp, #8192
	sub	r1, r1, #12
	mov	r0, r1
	mov	r1, r3
	ldr	r0, [r0, #-8]
	bl	write
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-8]
	bl	close
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, [r2, #-12]
	ldr	r1, .L4+12
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, #1
	mov	r0, r3
	bl	open
	str	r0, [r4, #-8]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, #4
	ldr	r1, .L4+16
	ldr	r0, [r3, #-8]
	bl	write
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-8]
	bl	close
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, [r2, #-12]
	ldr	r1, .L4+20
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, #1
	mov	r0, r3
	bl	open
	str	r0, [r4, #-8]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, #2
	ldr	r1, .L4+24
	ldr	r0, [r3, #-8]
	bl	write
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-8]
	bl	close
	ldr	r0, .L4+28
	bl	usleep
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, [r2, #-12]
	ldr	r1, .L4+20
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, #1
	mov	r0, r3
	bl	open
	str	r0, [r4, #-8]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, #2
	ldr	r1, .L4+32
	ldr	r0, [r3, #-8]
	bl	write
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-8]
	bl	close
	ldr	r0, .L4+28
	bl	usleep
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, [r2, #-12]
	ldr	r1, .L4+20
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, #1
	mov	r0, r3
	bl	open
	str	r0, [r4, #-8]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, #2
	ldr	r1, .L4+24
	ldr	r0, [r3, #-8]
	bl	write
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-8]
	bl	close
	ldr	r0, .L4+28
	bl	usleep
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, [r2, #-12]
	ldr	r1, .L4+20
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r1, #1
	mov	r0, r3
	bl	open
	str	r0, [r4, #-8]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, #2
	ldr	r1, .L4+32
	ldr	r0, [r3, #-8]
	bl	write
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-8]
	bl	close
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r4, r3
	mov	r1, #1
	ldr	r0, .L4+36
	bl	open
	str	r0, [r4, #-8]
	sub	r3, fp, #8192
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	ldr	r2, [r2, #-12]
	ldr	r1, .L4+8
	mov	r0, r3
	bl	sprintf
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	sub	r3, fp, #8192
	sub	r3, r3, #12
	sub	r3, r3, #4
	sub	r1, fp, #8192
	sub	r1, r1, #12
	mov	r0, r1
	mov	r1, r3
	ldr	r0, [r0, #-8]
	bl	write
	sub	r3, fp, #8192
	sub	r3, r3, #12
	ldr	r0, [r3, #-8]
	bl	close
	mov	r3, #0
	ldr	r2, .L4
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L3
	bl	__stack_chk_fail
.L3:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC8
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	500000
	.word	.LC6
	.word	.LC7
	.size	ledControl, .-ledControl
	.section	.rodata
	.align	2
.LC9:
	.ascii	"Usage : %s GPIO_NO\012\000"
	.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
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	bgt	.L7
	ldr	r3, [fp, #-20]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L9
	bl	printf
	mvn	r3, #0
	b	.L8
.L7:
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-8]
	ldr	r0, [fp, #-8]
	bl	ledControl
	mov	r3, #0
.L8:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC9
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
