	.file	"63267.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%p : %d\n"
	.align 8
.LC1:
	.string	"First and second before call: %d %d\n"
	.align 8
.LC2:
	.string	"First and second after call: %d %d\n"
	.align 8
.LC3:
	.string	"Third and Fourth before call: %d %d\n"
	.align 8
.LC4:
	.string	"Third and Fourth after call: %d %d\n"
	.align 8
.LC5:
	.string	"Original third and fourth: %d %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, 224
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -216[rbp], 10
	lea	rax, -216[rbp]
	mov	QWORD PTR -192[rbp], rax
	mov	rax, QWORD PTR -192[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -192[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -212[rbp], 15
	mov	DWORD PTR -208[rbp], 25
	mov	edx, DWORD PTR -208[rbp]
	mov	eax, DWORD PTR -212[rbp]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdx, -208[rbp]
	lea	rax, -212[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	swapVariablesOldWay
	mov	edx, DWORD PTR -208[rbp]
	mov	eax, DWORD PTR -212[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -204[rbp], 100
	mov	DWORD PTR -200[rbp], 200
	lea	rax, -204[rbp]
	mov	QWORD PTR -184[rbp], rax
	lea	rax, -200[rbp]
	mov	QWORD PTR -176[rbp], rax
	mov	rax, QWORD PTR -176[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -184[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -184[rbp]
	mov	QWORD PTR -168[rbp], rax
	mov	rax, QWORD PTR -176[rbp]
	mov	QWORD PTR -184[rbp], rax
	mov	rax, QWORD PTR -168[rbp]
	mov	QWORD PTR -176[rbp], rax
	mov	rax, QWORD PTR -176[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -184[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, DWORD PTR -200[rbp]
	mov	eax, DWORD PTR -204[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -160[rbp], 1
	mov	DWORD PTR -156[rbp], 2
	mov	DWORD PTR -152[rbp], 3
	mov	DWORD PTR -148[rbp], 4
	mov	DWORD PTR -144[rbp], 5
	mov	DWORD PTR -140[rbp], 6
	mov	DWORD PTR -136[rbp], 7
	mov	DWORD PTR -132[rbp], 8
	mov	DWORD PTR -128[rbp], 9
	mov	DWORD PTR -124[rbp], 10
	mov	DWORD PTR -120[rbp], 22
	mov	DWORD PTR -116[rbp], 33
	mov	DWORD PTR -112[rbp], 44
	mov	DWORD PTR -108[rbp], 55
	mov	DWORD PTR -104[rbp], 66
	mov	DWORD PTR -100[rbp], 77
	mov	DWORD PTR -196[rbp], 20
	lea	rax, -196[rbp]
	mov	QWORD PTR -96[rbp], rax
	lea	rax, -160[rbp]
	mov	esi, 16
	mov	rdi, rax
	call	printArray
	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
.LFE0:
	.size	main, .-main
	.section	.rodata
.LC6:
	.string	"%p %d\n"
	.text
	.globl	printArray
	.type	printArray, @function
printArray:
.LFB1:
	.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	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -12[rbp], 0
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	jmp	.L5
.L6:
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -12[rbp], 1
	add	QWORD PTR -8[rbp], 4
.L5:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jl	.L6
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	add	QWORD PTR -8[rbp], 60
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	printArray, .-printArray
	.globl	swapVariablesOldWay
	.type	swapVariablesOldWay, @function
swapVariablesOldWay:
.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 -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -4[rbp], eax
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR -4[rbp]
	mov	DWORD PTR [rax], edx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	swapVariablesOldWay, .-swapVariablesOldWay
	.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	"63267.c"
	.text
	.section	.rodata
	.align	2
.LC1:
	.ascii	"%p : %d\012\000"
	.align	2
.LC2:
	.ascii	"First and second before call: %d %d\012\000"
	.align	2
.LC3:
	.ascii	"First and second after call: %d %d\012\000"
	.align	2
.LC4:
	.ascii	"Third and Fourth before call: %d %d\012\000"
	.align	2
.LC5:
	.ascii	"Third and Fourth after call: %d %d\012\000"
	.align	2
.LC6:
	.ascii	"Original third and fourth: %d %d\012\000"
	.align	2
.LC0:
	.word	1
	.word	2
	.word	3
	.word	4
	.word	5
	.word	6
	.word	7
	.word	8
	.word	9
	.word	10
	.word	22
	.word	33
	.word	44
	.word	55
	.word	66
	.word	77
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 152
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #152
	ldr	r3, .L4
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #10
	str	r3, [fp, #-152]
	sub	r3, fp, #152
	str	r3, [fp, #-128]
	ldr	r3, [fp, #-128]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, [fp, #-128]
	ldr	r0, .L4+4
	bl	printf
	mov	r3, #15
	str	r3, [fp, #-148]
	mov	r3, #25
	str	r3, [fp, #-144]
	ldr	r3, [fp, #-148]
	ldr	r2, [fp, #-144]
	mov	r1, r3
	ldr	r0, .L4+8
	bl	printf
	sub	r2, fp, #144
	sub	r3, fp, #148
	mov	r1, r2
	mov	r0, r3
	bl	swapVariablesOldWay
	ldr	r3, [fp, #-148]
	ldr	r2, [fp, #-144]
	mov	r1, r3
	ldr	r0, .L4+12
	bl	printf
	mov	r3, #100
	str	r3, [fp, #-140]
	mov	r3, #200
	str	r3, [fp, #-136]
	sub	r3, fp, #140
	str	r3, [fp, #-124]
	sub	r3, fp, #136
	str	r3, [fp, #-120]
	ldr	r3, [fp, #-124]
	ldr	r1, [r3]
	ldr	r3, [fp, #-120]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r0, .L4+16
	bl	printf
	ldr	r3, [fp, #-124]
	str	r3, [fp, #-116]
	ldr	r3, [fp, #-120]
	str	r3, [fp, #-124]
	ldr	r3, [fp, #-116]
	str	r3, [fp, #-120]
	ldr	r3, [fp, #-124]
	ldr	r1, [r3]
	ldr	r3, [fp, #-120]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r0, .L4+20
	bl	printf
	ldr	r3, [fp, #-140]
	ldr	r2, [fp, #-136]
	mov	r1, r3
	ldr	r0, .L4+24
	bl	printf
	ldr	r3, .L4+28
	sub	ip, fp, #72
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	mov	r3, #20
	str	r3, [fp, #-132]
	sub	r3, fp, #132
	str	r3, [fp, #-112]
	sub	r3, fp, #72
	mov	r1, #16
	mov	r0, r3
	bl	printArray
	mov	r3, #0
	ldr	r2, .L4
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L3
	bl	__stack_chk_fail
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC7
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC0
	.size	main, .-main
	.section	.rodata
	.align	2
.LC8:
	.ascii	"%p %d\012\000"
	.text
	.align	2
	.global	printArray
	.syntax unified
	.arm
	.fpu softvfp
	.type	printArray, %function
printArray:
	@ 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]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-12]
	b	.L7
.L8:
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, [fp, #-12]
	ldr	r0, .L9
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	add	r3, r3, #4
	str	r3, [fp, #-12]
.L7:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	blt	.L8
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	add	r3, r3, #60
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, [fp, #-12]
	ldr	r0, .L9
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC8
	.size	printArray, .-printArray
	.align	2
	.global	swapVariablesOldWay
	.syntax unified
	.arm
	.fpu softvfp
	.type	swapVariablesOldWay, %function
swapVariablesOldWay:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-8]
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	swapVariablesOldWay, .-swapVariablesOldWay
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
