	.file	"186694.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"There are two types of pointer constants: 1) keep the value \nof the pointer constant 2) keep the pointer address constant"
	.align 8
.LC1:
	.string	"\nType 1: Declare const modifier @ the beginning of the pointer"
	.align 8
.LC2:
	.string	"Syntax: const datatype * pName = &varName"
.LC4:
	.string	"Ex: const *double pPi = &pi"
	.align 8
.LC5:
	.string	"Meaning: The value of pEx1 (*pEx1) can not be changed"
	.align 8
.LC6:
	.string	"\nType 2: Declare the const modifier between the datatype and \npointer"
	.align 8
.LC7:
	.string	"Syntax: datatype * const pName = &varName"
	.align 8
.LC8:
	.string	"Ex: double * const pEx2 = &ex2"
	.align 8
.LC10:
	.string	"Meaning: the address of pEx2 will not change"
.LC11:
	.string	"\n\nCombining Type 1 & Type 2"
	.align 8
.LC12:
	.string	"Syntax: const datatype *const pName = &varName"
	.align 8
.LC13:
	.string	"Meaning: the variable and address can not be changed through \nthe pointer"
	.align 8
.LC14:
	.string	"However varName can be changed directly"
	.text
	.globl	pointersConst
	.type	pointersConst, @function
pointersConst:
.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, 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	movsd	xmm0, QWORD PTR .LC3[rip]
	movsd	QWORD PTR -40[rbp], xmm0
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rax, -40[rbp]
	mov	QWORD PTR -24[rbp], rax
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rdi, .LC8[rip]
	call	puts@PLT
	movsd	xmm0, QWORD PTR .LC9[rip]
	movsd	QWORD PTR -32[rbp], xmm0
	lea	rax, -32[rbp]
	mov	QWORD PTR -16[rbp], rax
	lea	rdi, .LC10[rip]
	call	puts@PLT
	lea	rdi, .LC11[rip]
	call	puts@PLT
	lea	rdi, .LC12[rip]
	call	puts@PLT
	lea	rdi, .LC13[rip]
	call	puts@PLT
	lea	rdi, .LC14[rip]
	call	puts@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L2
	call	__stack_chk_fail@PLT
.L2:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	pointersConst, .-pointersConst
	.section	.rodata
	.align 8
.LC3:
	.long	1374389535
	.long	1074339512
	.align 8
.LC9:
	.long	-927712936
	.long	1074118262
	.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	"186694.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"There are two types of pointer constants: 1) keep t"
	.ascii	"he value \012of the pointer constant 2) keep the po"
	.ascii	"inter address constant\000"
	.align	2
.LC1:
	.ascii	"\012Type 1: Declare const modifier @ the beginning "
	.ascii	"of the pointer\000"
	.align	2
.LC2:
	.ascii	"Syntax: const datatype * pName = &varName\000"
	.align	2
.LC3:
	.ascii	"Ex: const *double pPi = &pi\000"
	.align	2
.LC4:
	.ascii	"Meaning: The value of pEx1 (*pEx1) can not be chang"
	.ascii	"ed\000"
	.align	2
.LC5:
	.ascii	"\012Type 2: Declare the const modifier between the "
	.ascii	"datatype and \012pointer\000"
	.align	2
.LC6:
	.ascii	"Syntax: datatype * const pName = &varName\000"
	.align	2
.LC7:
	.ascii	"Ex: double * const pEx2 = &ex2\000"
	.align	2
.LC8:
	.ascii	"Meaning: the address of pEx2 will not change\000"
	.align	2
.LC9:
	.ascii	"\012\012Combining Type 1 & Type 2\000"
	.align	2
.LC10:
	.ascii	"Syntax: const datatype *const pName = &varName\000"
	.align	2
.LC11:
	.ascii	"Meaning: the variable and address can not be change"
	.ascii	"d through \012the pointer\000"
	.align	2
.LC12:
	.ascii	"However varName can be changed directly\000"
	.align	2
.LC13:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	pointersConst
	.syntax unified
	.arm
	.fpu softvfp
	.type	pointersConst, %function
pointersConst:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	ldr	r3, .L3
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L3+4
	bl	puts
	ldr	r0, .L3+8
	bl	puts
	ldr	r0, .L3+12
	bl	puts
	ldr	r2, .L3+16
	ldr	r3, .L3+20
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r0, .L3+24
	bl	puts
	sub	r3, fp, #28
	str	r3, [fp, #-36]
	ldr	r0, .L3+28
	bl	puts
	ldr	r0, .L3+32
	bl	puts
	ldr	r0, .L3+36
	bl	puts
	ldr	r0, .L3+40
	bl	puts
	ldr	r2, .L3+44
	ldr	r3, .L3+48
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	sub	r3, fp, #20
	str	r3, [fp, #-32]
	ldr	r0, .L3+52
	bl	puts
	ldr	r0, .L3+56
	bl	puts
	ldr	r0, .L3+60
	bl	puts
	ldr	r0, .L3+64
	bl	puts
	ldr	r0, .L3+68
	bl	puts
	nop
	ldr	r3, .L3
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L2
	bl	__stack_chk_fail
.L2:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	.LC13
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	1374389535
	.word	1074339512
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	-927712936
	.word	1074118262
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.size	pointersConst, .-pointersConst
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
