	.file	"45646.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"1. Hello World (problem solved,uva)"
.LC1:
	.string	"2. Array Swapping"
.LC2:
	.string	"%d"
.LC3:
	.string	"Case %d: 0\n"
.LC4:
	.string	"Wrong Input!\n try again!"
.LC6:
	.string	"Case %d: %d\n"
.LC7:
	.string	"How Many Numbers U Wana Swap?"
	.align 8
.LC8:
	.string	"Put Values For x [%d only]...\n"
	.align 8
.LC9:
	.string	"Put Values For y [%d only]...\n"
.LC10:
	.string	"Ow Yeah!;)"
.LC11:
	.string	"x= %d y= %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 160
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	jmp	.L2
.L28:
	nop
.L3:
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rax, -140[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -140[rbp]
	cmp	eax, 1
	jle	.L4
	mov	eax, DWORD PTR -140[rbp]
	cmp	eax, 1
	jle	.L27
.L4:
	mov	eax, DWORD PTR -140[rbp]
	cmp	eax, 1
	jne	.L6
	mov	DWORD PTR -128[rbp], 1
	jmp	.L7
.L15:
	mov	eax, DWORD PTR -132[rbp]
	cmp	eax, 1
	jne	.L8
	mov	eax, DWORD PTR -128[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L9
.L8:
	mov	eax, DWORD PTR -132[rbp]
	test	eax, eax
	jns	.L9
	lea	rdi, .LC4[rip]
	call	puts@PLT
	jmp	.L3
.L9:
	mov	DWORD PTR -124[rbp], 0
	jmp	.L10
.L14:
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -124[rbp]
	mov	rax, QWORD PTR .LC5[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	mov	eax, DWORD PTR -132[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	comisd	xmm1, xmm0
	jbe	.L11
	mov	eax, DWORD PTR -132[rbp]
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, eax
	movsd	QWORD PTR -152[rbp], xmm2
	mov	eax, DWORD PTR -124[rbp]
	add	eax, 1
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	mov	rax, QWORD PTR .LC5[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	movq	rax, xmm0
	movq	xmm3, rax
	comisd	xmm3, QWORD PTR -152[rbp]
	jb	.L11
	mov	eax, DWORD PTR -124[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -128[rbp]
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
.L11:
	add	DWORD PTR -124[rbp], 1
.L10:
	mov	eax, DWORD PTR -132[rbp]
	cmp	DWORD PTR -124[rbp], eax
	jl	.L14
	add	DWORD PTR -128[rbp], 1
.L7:
	lea	rax, -132[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	test	eax, eax
	jns	.L15
	mov	eax, 0
	jmp	.L23
.L6:
	mov	eax, DWORD PTR -140[rbp]
	cmp	eax, 2
	jne	.L2
	mov	DWORD PTR -100[rbp], 0
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rax, -136[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -136[rbp]
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -120[rbp], 0
	jmp	.L17
.L18:
	lea	rdx, -96[rbp]
	mov	eax, DWORD PTR -120[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -120[rbp], 1
.L17:
	mov	eax, DWORD PTR -136[rbp]
	cmp	DWORD PTR -120[rbp], eax
	jl	.L18
	mov	eax, DWORD PTR -136[rbp]
	mov	esi, eax
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -116[rbp], 0
	jmp	.L19
.L20:
	lea	rdx, -48[rbp]
	mov	eax, DWORD PTR -116[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -116[rbp], 1
.L19:
	mov	eax, DWORD PTR -136[rbp]
	cmp	DWORD PTR -116[rbp], eax
	jl	.L20
	lea	rdi, .LC10[rip]
	call	puts@PLT
	mov	DWORD PTR -112[rbp], 0
	mov	DWORD PTR -108[rbp], 0
	jmp	.L21
.L22:
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	mov	eax, DWORD PTR -96[rbp+rax*4]
	mov	DWORD PTR -100[rbp], eax
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	mov	edx, DWORD PTR -48[rbp+rax*4]
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	mov	DWORD PTR -96[rbp+rax*4], edx
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	mov	edx, DWORD PTR -100[rbp]
	mov	DWORD PTR -48[rbp+rax*4], edx
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	mov	edx, DWORD PTR -48[rbp+rax*4]
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	mov	eax, DWORD PTR -96[rbp+rax*4]
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -112[rbp], 1
	add	DWORD PTR -108[rbp], 1
.L21:
	mov	eax, DWORD PTR -136[rbp]
	cmp	DWORD PTR -108[rbp], eax
	jl	.L22
	jmp	.L3
.L2:
	cmp	DWORD PTR -104[rbp], 1
	jne	.L28
	jmp	.L5
.L27:
	nop
.L5:
	mov	eax, 0
.L23:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC5:
	.long	0
	.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	"45646.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"1. Hello World (problem solved,uva)\000"
	.align	2
.LC1:
	.ascii	"2. Array Swapping\000"
	.align	2
.LC2:
	.ascii	"%d\000"
	.align	2
.LC3:
	.ascii	"Case %d: 0\012\000"
	.align	2
.LC4:
	.ascii	"Wrong Input!\012 try again!\000"
	.global	__aeabi_i2d
	.global	__aeabi_dcmplt
	.global	__aeabi_dcmple
	.align	2
.LC5:
	.ascii	"Case %d: %d\012\000"
	.align	2
.LC6:
	.ascii	"How Many Numbers U Wana Swap?\000"
	.align	2
.LC7:
	.ascii	"Put Values For x [%d only]...\012\000"
	.align	2
.LC8:
	.ascii	"Put Values For y [%d only]...\012\000"
	.align	2
.LC9:
	.ascii	"Ow Yeah!;)\000"
	.align	2
.LC10:
	.ascii	"x= %d y= %d\012\000"
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 128
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #128
	ldr	r3, .L29
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	b	.L2
.L28:
	nop
.L3:
	ldr	r0, .L29+4
	bl	puts
	ldr	r0, .L29+8
	bl	puts
	sub	r3, fp, #140
	mov	r1, r3
	ldr	r0, .L29+12
	bl	__isoc99_scanf
	ldr	r3, [fp, #-140]
	cmp	r3, #1
	ble	.L4
	ldr	r3, [fp, #-140]
	cmp	r3, #1
	ble	.L27
.L4:
	ldr	r3, [fp, #-140]
	cmp	r3, #1
	bne	.L6
	mov	r3, #1
	str	r3, [fp, #-128]
	b	.L7
.L15:
	ldr	r3, [fp, #-132]
	cmp	r3, #1
	bne	.L8
	ldr	r1, [fp, #-128]
	ldr	r0, .L29+16
	bl	printf
	b	.L9
.L8:
	ldr	r3, [fp, #-132]
	cmp	r3, #0
	bge	.L9
	ldr	r0, .L29+20
	bl	puts
	b	.L3
.L9:
	mov	r3, #0
	str	r3, [fp, #-124]
	b	.L10
.L14:
	ldr	r0, [fp, #-124]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	mov	r1, #1073741824
	bl	pow
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-132]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L11
	ldr	r3, [fp, #-132]
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-124]
	add	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	mov	r1, #1073741824
	bl	pow
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dcmple
	mov	r3, r0
	cmp	r3, #0
	beq	.L11
	ldr	r3, [fp, #-124]
	add	r3, r3, #1
	mov	r2, r3
	ldr	r1, [fp, #-128]
	ldr	r0, .L29+24
	bl	printf
.L11:
	ldr	r3, [fp, #-124]
	add	r3, r3, #1
	str	r3, [fp, #-124]
.L10:
	ldr	r3, [fp, #-132]
	ldr	r2, [fp, #-124]
	cmp	r2, r3
	blt	.L14
	ldr	r3, [fp, #-128]
	add	r3, r3, #1
	str	r3, [fp, #-128]
.L7:
	sub	r3, fp, #132
	mov	r1, r3
	ldr	r0, .L29+12
	bl	__isoc99_scanf
	mov	r3, r0
	cmp	r3, #0
	bge	.L15
	mov	r3, #0
	b	.L23
.L6:
	ldr	r3, [fp, #-140]
	cmp	r3, #2
	bne	.L2
	mov	r3, #0
	str	r3, [fp, #-100]
	ldr	r0, .L29+28
	bl	puts
	sub	r3, fp, #136
	mov	r1, r3
	ldr	r0, .L29+12
	bl	__isoc99_scanf
	ldr	r3, [fp, #-136]
	mov	r1, r3
	ldr	r0, .L29+32
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-120]
	b	.L17
.L18:
	sub	r2, fp, #96
	ldr	r3, [fp, #-120]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L29+12
	bl	__isoc99_scanf
	ldr	r3, [fp, #-120]
	add	r3, r3, #1
	str	r3, [fp, #-120]
.L17:
	ldr	r3, [fp, #-136]
	ldr	r2, [fp, #-120]
	cmp	r2, r3
	blt	.L18
	ldr	r3, [fp, #-136]
	mov	r1, r3
	ldr	r0, .L29+36
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-116]
	b	.L19
.L20:
	sub	r2, fp, #56
	ldr	r3, [fp, #-116]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L29+12
	bl	__isoc99_scanf
	ldr	r3, [fp, #-116]
	add	r3, r3, #1
	str	r3, [fp, #-116]
.L19:
	ldr	r3, [fp, #-136]
	ldr	r2, [fp, #-116]
	cmp	r2, r3
	blt	.L20
	ldr	r0, .L29+40
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-112]
	mov	r3, #0
	str	r3, [fp, #-108]
	b	.L21
.L22:
	ldr	r3, [fp, #-112]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-84]
	str	r3, [fp, #-100]
	ldr	r3, [fp, #-108]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r2, [r3, #-44]
	ldr	r3, [fp, #-112]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-84]
	ldr	r3, [fp, #-108]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r2, [fp, #-100]
	str	r2, [r3, #-44]
	ldr	r3, [fp, #-112]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r1, [r3, #-84]
	ldr	r3, [fp, #-108]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-44]
	mov	r2, r3
	ldr	r0, .L29+44
	bl	printf
	ldr	r3, [fp, #-112]
	add	r3, r3, #1
	str	r3, [fp, #-112]
	ldr	r3, [fp, #-108]
	add	r3, r3, #1
	str	r3, [fp, #-108]
.L21:
	ldr	r3, [fp, #-136]
	ldr	r2, [fp, #-108]
	cmp	r2, r3
	blt	.L22
	b	.L3
.L2:
	ldr	r3, [fp, #-104]
	cmp	r3, #1
	bne	.L28
	b	.L5
.L27:
	nop
.L5:
	mov	r3, #0
.L23:
	ldr	r2, .L29
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L24
	bl	__stack_chk_fail
.L24:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L30:
	.align	2
.L29:
	.word	.LC11
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
