	.file	"987194.c"
	.intel_syntax noprefix
	.text
	.globl	rampDown
	.bss
	.align 4
	.type	rampDown, @object
	.size	rampDown, 4
rampDown:
	.zero	4
	.text
	.globl	SysTick_Handler
	.type	SysTick_Handler, @function
SysTick_Handler:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	call	toneCutOff
	mov	eax, DWORD PTR rampDown[rip]
	test	eax, eax
	jne	.L2
	mov	eax, 1073762364
	mov	rdx, QWORD PTR [rax]
	add	rdx, 1
	mov	QWORD PTR [rax], rdx
	mov	eax, 1073762364
	mov	rax, QWORD PTR [rax]
	cmp	rax, 15
	jne	.L2
	mov	DWORD PTR rampDown[rip], 1
.L2:
	mov	eax, DWORD PTR rampDown[rip]
	cmp	eax, 1
	jne	.L4
	mov	eax, 1073762364
	mov	rdx, QWORD PTR [rax]
	sub	rdx, 1
	mov	QWORD PTR [rax], rdx
	mov	eax, 1073762364
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L4
	mov	DWORD PTR rampDown[rip], 0
.L4:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	SysTick_Handler, .-SysTick_Handler
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 1074782472
	mov	rax, QWORD PTR [rax]
	mov	edx, 1074782472
	or	rax, 18
	mov	QWORD PTR [rdx], rax
	call	initPortBOut
	call	initPortEIn
	mov	edi, 800000
	call	SysTick_Init
.L6:
	call	pianoKeyAction
	jmp	.L6
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.globl	SysTick_Init
	.type	SysTick_Init, @function
SysTick_Init:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	eax, 3758153744
	mov	QWORD PTR [rax], 0
	mov	eax, 3758153748
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, 1
	mov	QWORD PTR [rax], rdx
	mov	eax, 3758153752
	mov	QWORD PTR [rax], 0
	mov	eax, 3758157088
	mov	rax, QWORD PTR [rax]
	and	eax, 16777215
	mov	rdx, rax
	mov	eax, 3758157088
	or	rdx, 1073741824
	mov	QWORD PTR [rax], rdx
	mov	eax, 3758153744
	mov	QWORD PTR [rax], 7
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	SysTick_Init, .-SysTick_Init
	.globl	initPortBOut
	.type	initPortBOut, @function
initPortBOut:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 1073763612
	mov	rax, QWORD PTR [rax]
	mov	edx, 1073763612
	or	rax, 15
	mov	QWORD PTR [rdx], rax
	mov	eax, 1073763328
	mov	rax, QWORD PTR [rax]
	mov	edx, 1073763328
	or	rax, 15
	mov	QWORD PTR [rdx], rax
	mov	eax, 1073763624
	mov	rax, QWORD PTR [rax]
	mov	edx, 1073763624
	and	rax, -16
	mov	QWORD PTR [rdx], rax
	mov	eax, 1073763360
	mov	rax, QWORD PTR [rax]
	mov	edx, 1073763360
	and	rax, -16
	mov	QWORD PTR [rdx], rax
	mov	eax, 1073763628
	mov	rax, QWORD PTR [rax]
	mov	edx, 1073763628
	mov	ax, 0
	mov	QWORD PTR [rdx], rax
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	initPortBOut, .-initPortBOut
	.globl	initPortEIn
	.type	initPortEIn, @function
initPortEIn:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 1073890588
	mov	rax, QWORD PTR [rax]
	mov	edx, 1073890588
	or	rax, 15
	mov	QWORD PTR [rdx], rax
	mov	eax, 1073890304
	mov	rax, QWORD PTR [rax]
	mov	edx, 1073890304
	and	rax, -16
	mov	QWORD PTR [rdx], rax
	mov	eax, 1073890580
	mov	rax, QWORD PTR [rax]
	mov	edx, 1073890580
	or	rax, 15
	mov	QWORD PTR [rdx], rax
	mov	eax, 1073890600
	mov	QWORD PTR [rax], 0
	mov	eax, 1073890336
	mov	rax, QWORD PTR [rax]
	mov	edx, 1073890336
	and	rax, -16
	mov	QWORD PTR [rdx], rax
	mov	eax, 1073890604
	mov	rax, QWORD PTR [rax]
	mov	edx, 1073890604
	mov	ax, 0
	mov	QWORD PTR [rdx], rax
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	initPortEIn, .-initPortEIn
	.globl	pianoKeyAction
	.type	pianoKeyAction, @function
pianoKeyAction:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, 1073889284
	mov	rax, QWORD PTR [rax]
	cmp	rax, 1
	jne	.L11
	mov	eax, 0
	call	EnableInterrupts@PLT
	mov	eax, 3758153748
	mov	QWORD PTR [rax], 1054
.L11:
	mov	eax, 1073889288
	mov	rax, QWORD PTR [rax]
	cmp	rax, 2
	jne	.L12
	mov	eax, 0
	call	EnableInterrupts@PLT
	mov	eax, 3758153748
	mov	QWORD PTR [rax], 934
.L12:
	mov	eax, 1073889296
	mov	rax, QWORD PTR [rax]
	cmp	rax, 4
	jne	.L13
	mov	eax, 0
	call	EnableInterrupts@PLT
	mov	eax, 3758153748
	mov	QWORD PTR [rax], 839
.L13:
	mov	eax, 1073889312
	mov	rax, QWORD PTR [rax]
	cmp	rax, 8
	jne	.L15
	mov	eax, 0
	call	EnableInterrupts@PLT
	mov	eax, 3758153748
	mov	QWORD PTR [rax], 704
.L15:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	pianoKeyAction, .-pianoKeyAction
	.globl	toneCutOff
	.type	toneCutOff, @function
toneCutOff:
.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, 1073890300
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L18
	mov	eax, 0
	call	DisableInterrupts@PLT
.L18:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	toneCutOff, .-toneCutOff
	.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	"987194.c"
	.text
	.global	rampDown
	.bss
	.align	2
	.type	rampDown, %object
	.size	rampDown, 4
rampDown:
	.space	4
	.text
	.align	2
	.global	SysTick_Handler
	.syntax unified
	.arm
	.fpu softvfp
	.type	SysTick_Handler, %function
SysTick_Handler:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	toneCutOff
	ldr	r3, .L5
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L2
	ldr	r3, .L5+4
	ldr	r2, [r3]
	add	r2, r2, #1
	str	r2, [r3]
	ldr	r3, .L5+4
	ldr	r3, [r3]
	cmp	r3, #15
	bne	.L2
	ldr	r3, .L5
	mov	r2, #1
	str	r2, [r3]
.L2:
	ldr	r3, .L5
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L4
	ldr	r3, .L5+4
	ldr	r2, [r3]
	sub	r2, r2, #1
	str	r2, [r3]
	ldr	r3, .L5+4
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L4
	ldr	r3, .L5
	mov	r2, #0
	str	r2, [r3]
.L4:
	nop
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	rampDown
	.word	1073762364
	.size	SysTick_Handler, .-SysTick_Handler
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L9
	ldr	r3, [r3]
	ldr	r2, .L9
	orr	r3, r3, #18
	str	r3, [r2]
	bl	initPortBOut
	bl	initPortEIn
	ldr	r0, .L9+4
	bl	SysTick_Init
.L8:
	bl	pianoKeyAction
	b	.L8
.L10:
	.align	2
.L9:
	.word	1074782472
	.word	800000
	.size	main, .-main
	.align	2
	.global	SysTick_Init
	.syntax unified
	.arm
	.fpu softvfp
	.type	SysTick_Init, %function
SysTick_Init:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, .L12
	mov	r2, #0
	str	r2, [r3]
	ldr	r2, .L12+4
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [r2]
	ldr	r3, .L12+8
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L12+12
	ldr	r3, [r3]
	bic	r3, r3, #-16777216
	ldr	r2, .L12+12
	orr	r3, r3, #1073741824
	str	r3, [r2]
	ldr	r3, .L12
	mov	r2, #7
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L13:
	.align	2
.L12:
	.word	-536813552
	.word	-536813548
	.word	-536813544
	.word	-536810208
	.size	SysTick_Init, .-SysTick_Init
	.align	2
	.global	initPortBOut
	.syntax unified
	.arm
	.fpu softvfp
	.type	initPortBOut, %function
initPortBOut:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	ldr	r3, .L15
	ldr	r3, [r3]
	ldr	r2, .L15
	orr	r3, r3, #15
	str	r3, [r2]
	ldr	r3, .L15+4
	ldr	r3, [r3]
	ldr	r2, .L15+4
	orr	r3, r3, #15
	str	r3, [r2]
	ldr	r3, .L15+8
	ldr	r3, [r3]
	ldr	r2, .L15+8
	bic	r3, r3, #15
	str	r3, [r2]
	ldr	r3, .L15+12
	ldr	r3, [r3]
	ldr	r2, .L15+12
	bic	r3, r3, #15
	str	r3, [r2]
	ldr	r3, .L15+16
	ldr	r3, [r3]
	ldr	r2, .L15+16
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	str	r3, [r2]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L16:
	.align	2
.L15:
	.word	1073763612
	.word	1073763328
	.word	1073763624
	.word	1073763360
	.word	1073763628
	.size	initPortBOut, .-initPortBOut
	.align	2
	.global	initPortEIn
	.syntax unified
	.arm
	.fpu softvfp
	.type	initPortEIn, %function
initPortEIn:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L18
	ldr	r3, [r3]
	ldr	r2, .L18
	orr	r3, r3, #15
	str	r3, [r2]
	ldr	r3, .L18+4
	ldr	r3, [r3]
	ldr	r2, .L18+4
	bic	r3, r3, #15
	str	r3, [r2]
	ldr	r3, .L18+8
	ldr	r3, [r3]
	ldr	r2, .L18+8
	orr	r3, r3, #15
	str	r3, [r2]
	ldr	r3, .L18+12
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L18+16
	ldr	r3, [r3]
	ldr	r2, .L18+16
	bic	r3, r3, #15
	str	r3, [r2]
	ldr	r3, .L18+20
	ldr	r3, [r3]
	ldr	r2, .L18+20
	lsr	r3, r3, #16
	lsl	r3, r3, #16
	str	r3, [r2]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L19:
	.align	2
.L18:
	.word	1073890588
	.word	1073890304
	.word	1073890580
	.word	1073890600
	.word	1073890336
	.word	1073890604
	.size	initPortEIn, .-initPortEIn
	.align	2
	.global	pianoKeyAction
	.syntax unified
	.arm
	.fpu softvfp
	.type	pianoKeyAction, %function
pianoKeyAction:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L26
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L21
	bl	EnableInterrupts
	ldr	r3, .L26+4
	ldr	r2, .L26+8
	str	r2, [r3]
.L21:
	ldr	r3, .L26+12
	ldr	r3, [r3]
	cmp	r3, #2
	bne	.L22
	bl	EnableInterrupts
	ldr	r3, .L26+4
	ldr	r2, .L26+16
	str	r2, [r3]
.L22:
	ldr	r3, .L26+20
	ldr	r3, [r3]
	cmp	r3, #4
	bne	.L23
	bl	EnableInterrupts
	ldr	r3, .L26+4
	ldr	r2, .L26+24
	str	r2, [r3]
.L23:
	ldr	r3, .L26+28
	ldr	r3, [r3]
	cmp	r3, #8
	bne	.L25
	bl	EnableInterrupts
	ldr	r3, .L26+4
	mov	r2, #704
	str	r2, [r3]
.L25:
	nop
	pop	{fp, pc}
.L27:
	.align	2
.L26:
	.word	1073889284
	.word	-536813548
	.word	1054
	.word	1073889288
	.word	934
	.word	1073889296
	.word	839
	.word	1073889312
	.size	pianoKeyAction, .-pianoKeyAction
	.align	2
	.global	toneCutOff
	.syntax unified
	.arm
	.fpu softvfp
	.type	toneCutOff, %function
toneCutOff:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L31
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L30
	bl	DisableInterrupts
.L30:
	nop
	pop	{fp, pc}
.L32:
	.align	2
.L31:
	.word	1073890300
	.size	toneCutOff, .-toneCutOff
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
