	.file	"743588.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"Pointer values (addresses) from initial assignments:\n"
	.align 8
.LC1:
	.string	"      address of array = %#lx,    value at array = %d\n"
	.align 8
.LC2:
	.string	"  address of &array[0] = %#lx, value at array[0] = %d\n"
	.align 8
.LC3:
	.string	"    address of pArray1 = %#lx,  value at pArray1 = %#lx\n"
	.align 8
.LC4:
	.string	"    address of pArray2 = %#lx,  value at pArray2 = %#lx\n\n"
	.align 8
.LC5:
	.string	"\n(1) Array values using array notation (index is decremented):\n"
	.align 8
.LC6:
	.string	"  &(array[%1d]) = %#lx, array[%1d] = %1d, i++\n"
	.align 8
.LC7:
	.string	"\n(2) Array values using a pointer addition (offset is decremented):\n"
	.align 8
.LC8:
	.string	"  pArray2+%1d = %#lx, *(pArray2+%1d) = %1d, i++\n"
	.align 8
.LC9:
	.string	"\n(3) Array values using pointer referencing (pointer is decremented):\n"
	.align 8
.LC10:
	.string	"  pArray1 = %#lx, *pArray1 = %1d, pArray1++\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, 96
	mov	DWORD PTR -84[rbp], edi
	mov	QWORD PTR -96[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -56[rbp], 5
	mov	DWORD PTR -32[rbp], 1
	mov	DWORD PTR -28[rbp], 2
	mov	DWORD PTR -24[rbp], 3
	mov	DWORD PTR -20[rbp], 4
	mov	DWORD PTR -16[rbp], 5
	lea	rax, -32[rbp]
	mov	QWORD PTR -48[rbp], rax
	lea	rax, -32[rbp]
	mov	QWORD PTR -40[rbp], rax
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	edx, DWORD PTR -32[rbp]
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, DWORD PTR -32[rbp]
	lea	rax, -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, rax
	lea	rax, -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -40[rbp]
	mov	rdx, rax
	lea	rax, -40[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -56[rbp]
	mov	DWORD PTR -68[rbp], eax
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -68[rbp]
	sub	eax, 1
	mov	DWORD PTR -52[rbp], eax
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	mov	ecx, DWORD PTR -32[rbp+rax*4]
	lea	rdx, -32[rbp]
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	rsi, rax
	mov	edx, DWORD PTR -52[rbp]
	mov	eax, DWORD PTR -52[rbp]
	mov	r8d, ecx
	mov	ecx, edx
	mov	rdx, rsi
	mov	esi, eax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	sub	DWORD PTR -68[rbp], 1
.L2:
	cmp	DWORD PTR -68[rbp], 0
	jg	.L3
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -56[rbp]
	sub	eax, 1
	mov	DWORD PTR -64[rbp], eax
	jmp	.L4
.L5:
	mov	rdx, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	ecx, DWORD PTR [rax]
	mov	rdx, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	rsi, rax
	mov	edx, DWORD PTR -64[rbp]
	mov	eax, DWORD PTR -64[rbp]
	mov	r8d, ecx
	mov	ecx, edx
	mov	rdx, rsi
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	sub	DWORD PTR -64[rbp], 1
.L4:
	cmp	DWORD PTR -64[rbp], 0
	jns	.L5
	lea	rdi, .LC9[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -56[rbp]
	sub	eax, 1
	lea	rdx, -32[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	QWORD PTR -48[rbp], rax
	mov	DWORD PTR -60[rbp], 0
	jmp	.L6
.L7:
	mov	rax, QWORD PTR -48[rbp]
	mov	eax, DWORD PTR [rax]
	mov	rdx, QWORD PTR -48[rbp]
	mov	rcx, rdx
	mov	edx, eax
	mov	rsi, rcx
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -60[rbp], 1
	mov	rax, QWORD PTR -48[rbp]
	sub	rax, 4
	mov	QWORD PTR -48[rbp], rax
.L6:
	mov	eax, DWORD PTR -60[rbp]
	cmp	eax, DWORD PTR -56[rbp]
	jl	.L7
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"743588.c"
	.text
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Pointer values (addresses) from initial assignments"
	.ascii	":\012\000"
	.align	2
.LC2:
	.ascii	"      address of array = %#lx,    value at array = "
	.ascii	"%d\012\000"
	.align	2
.LC3:
	.ascii	"  address of &array[0] = %#lx, value at array[0] = "
	.ascii	"%d\012\000"
	.align	2
.LC4:
	.ascii	"    address of pArray1 = %#lx,  value at pArray1 = "
	.ascii	"%#lx\012\000"
	.align	2
.LC5:
	.ascii	"    address of pArray2 = %#lx,  value at pArray2 = "
	.ascii	"%#lx\012\012\000"
	.align	2
.LC6:
	.ascii	"\012(1) Array values using array notation (index is"
	.ascii	" decremented):\012\000"
	.align	2
.LC7:
	.ascii	"  &(array[%1d]) = %#lx, array[%1d] = %1d, i++\012\000"
	.align	2
.LC8:
	.ascii	"\012(2) Array values using a pointer addition (offs"
	.ascii	"et is decremented):\012\000"
	.align	2
.LC9:
	.ascii	"  pArray2+%1d = %#lx, *(pArray2+%1d) = %1d, i++\012"
	.ascii	"\000"
	.align	2
.LC10:
	.ascii	"\012(3) Array values using pointer referencing (poi"
	.ascii	"nter is decremented):\012\000"
	.align	2
.LC11:
	.ascii	"  pArray1 = %#lx, *pArray1 = %1d, pArray1++\012\000"
	.align	2
.LC0:
	.word	1
	.word	2
	.word	3
	.word	4
	.word	5
	.align	2
.LC12:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 64
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #5
	str	r3, [fp, #-36]
	ldr	r3, .L10+4
	sub	ip, fp, #28
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldr	r3, [lr]
	str	r3, [ip]
	sub	r3, fp, #28
	str	r3, [fp, #-56]
	sub	r3, fp, #28
	str	r3, [fp, #-52]
	ldr	r0, .L10+8
	bl	puts
	sub	r3, fp, #28
	ldr	r2, [fp, #-28]
	mov	r1, r3
	ldr	r0, .L10+12
	bl	printf
	sub	r3, fp, #28
	ldr	r2, [fp, #-28]
	mov	r1, r3
	ldr	r0, .L10+16
	bl	printf
	sub	r3, fp, #56
	ldr	r2, [fp, #-56]
	mov	r1, r3
	ldr	r0, .L10+20
	bl	printf
	sub	r3, fp, #52
	ldr	r2, [fp, #-52]
	mov	r1, r3
	ldr	r0, .L10+24
	bl	printf
	ldr	r0, .L10+28
	bl	puts
	ldr	r3, [fp, #-36]
	str	r3, [fp, #-48]
	b	.L2
.L3:
	ldr	r3, [fp, #-48]
	sub	r3, r3, #1
	str	r3, [fp, #-32]
	sub	r2, fp, #28
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-24]
	str	r3, [sp]
	ldr	r3, [fp, #-32]
	ldr	r1, [fp, #-32]
	ldr	r0, .L10+32
	bl	printf
	ldr	r3, [fp, #-48]
	sub	r3, r3, #1
	str	r3, [fp, #-48]
.L2:
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	bgt	.L3
	ldr	r0, .L10+36
	bl	puts
	ldr	r3, [fp, #-36]
	sub	r3, r3, #1
	str	r3, [fp, #-44]
	b	.L4
.L5:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r1, r3
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [sp]
	ldr	r3, [fp, #-44]
	mov	r2, r1
	ldr	r1, [fp, #-44]
	ldr	r0, .L10+40
	bl	printf
	ldr	r3, [fp, #-44]
	sub	r3, r3, #1
	str	r3, [fp, #-44]
.L4:
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bge	.L5
	ldr	r0, .L10+44
	bl	puts
	ldr	r3, [fp, #-36]
	sub	r3, r3, #1
	sub	r2, fp, #28
	lsl	r3, r3, #2
	add	r3, r2, r3
	str	r3, [fp, #-56]
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L6
.L7:
	ldr	r3, [fp, #-56]
	mov	r1, r3
	ldr	r3, [fp, #-56]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r0, .L10+48
	bl	printf
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
	ldr	r3, [fp, #-56]
	sub	r3, r3, #4
	str	r3, [fp, #-56]
.L6:
	ldr	r2, [fp, #-40]
	ldr	r3, [fp, #-36]
	cmp	r2, r3
	blt	.L7
	mov	r3, #0
	ldr	r2, .L10
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L9
	bl	__stack_chk_fail
.L9:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC12
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
