	.file	"367917.c"
	.intel_syntax noprefix
	.text
	.local	err
	.comm	err,4,4
	.local	a
	.comm	a,4,4
	.local	p
	.comm	p,8,8
	.local	i1
	.comm	i1,4,4
	.local	i2
	.comm	i2,4,4
	.section	.rodata
.LC0:
	.string	"a: %p - (int)a: 0x%x = p: %p\n"
.LC1:
	.string	"i1: 0x%x - i2: 0x%x = p: %p\n"
.LC2:
	.string	"-> failed"
	.text
	.globl	test1
	.type	test1, @function
test1:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	lea	rax, a[rip]
	cdqe
	sal	rax, 2
	neg	rax
	mov	rdx, rax
	lea	rax, a[rip]
	add	rax, rdx
	mov	QWORD PTR p[rip], rax
	mov	rax, QWORD PTR p[rip]
	lea	rdx, a[rip]
	mov	rcx, rax
	lea	rsi, a[rip]
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR i1[rip]
	mov	edx, DWORD PTR i2[rip]
	sub	eax, edx
	mov	ecx, eax
	mov	edx, DWORD PTR i2[rip]
	mov	eax, DWORD PTR i1[rip]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR p[rip]
	mov	ecx, eax
	mov	eax, DWORD PTR i1[rip]
	mov	edx, DWORD PTR i2[rip]
	sub	eax, edx
	cmp	ecx, eax
	je	.L2
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L3
.L2:
	mov	eax, 0
.L3:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	test1, .-test1
	.section	.rodata
.LC3:
	.string	"p: %p - (int)a: 0x%x = p: %p\n"
.LC4:
	.string	"p: %p - i2: 0x%x = p: %p\n"
	.text
	.globl	test2
	.type	test2, @function
test2:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rdx, QWORD PTR p[rip]
	lea	rax, a[rip]
	cdqe
	sal	rax, 2
	neg	rax
	add	rax, rdx
	mov	QWORD PTR p[rip], rax
	mov	rdx, QWORD PTR p[rip]
	lea	rax, a[rip]
	mov	esi, eax
	mov	rax, QWORD PTR p[rip]
	mov	rcx, rdx
	mov	edx, esi
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR i2[rip]
	mov	edx, 4660
	mov	ecx, edx
	sub	ecx, eax
	mov	edx, DWORD PTR i2[rip]
	mov	rax, QWORD PTR p[rip]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR p[rip]
	mov	ecx, eax
	mov	edx, DWORD PTR i2[rip]
	mov	eax, 4660
	sub	eax, edx
	cmp	ecx, eax
	je	.L5
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L6
.L5:
	mov	eax, 0
.L6:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	test2, .-test2
	.section	.rodata
	.align 8
.LC5:
	.string	"p: %p &a[0]: %p a: %p (int)a: 0x%x i1: 0x%x i2: 0x%x\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR a[rip], 18193
	lea	rax, a[rip]
	mov	DWORD PTR i1[rip], eax
	mov	eax, DWORD PTR i1[rip]
	add	eax, eax
	mov	DWORD PTR i2[rip], eax
	mov	QWORD PTR p[rip], 4660
	mov	edx, DWORD PTR i2[rip]
	mov	ecx, DWORD PTR i1[rip]
	lea	rax, a[rip]
	mov	esi, eax
	mov	rax, QWORD PTR p[rip]
	sub	rsp, 8
	push	rdx
	mov	r9d, ecx
	mov	r8d, esi
	lea	rcx, a[rip]
	lea	rdx, a[rip]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	call	test1
	mov	edx, DWORD PTR err[rip]
	add	eax, edx
	mov	DWORD PTR err[rip], eax
	mov	QWORD PTR p[rip], 4660
	mov	edx, DWORD PTR i2[rip]
	mov	ecx, DWORD PTR i1[rip]
	lea	rax, a[rip]
	mov	esi, eax
	mov	rax, QWORD PTR p[rip]
	sub	rsp, 8
	push	rdx
	mov	r9d, ecx
	mov	r8d, esi
	lea	rcx, a[rip]
	lea	rdx, a[rip]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	add	rsp, 16
	call	test2
	mov	edx, DWORD PTR err[rip]
	add	eax, edx
	mov	DWORD PTR err[rip], eax
	mov	eax, DWORD PTR err[rip]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.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	"367917.c"
	.text
	.local	err
	.comm	err,4,4
	.local	a
	.comm	a,4,4
	.local	p
	.comm	p,4,4
	.local	i1
	.comm	i1,4,4
	.local	i2
	.comm	i2,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"a: %p - (int)a: 0x%x = p: %p\012\000"
	.align	2
.LC1:
	.ascii	"i1: 0x%x - i2: 0x%x = p: %p\012\000"
	.align	2
.LC2:
	.ascii	"-> failed\000"
	.text
	.align	2
	.global	test1
	.syntax unified
	.arm
	.fpu softvfp
	.type	test1, %function
test1:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L4
	lsl	r3, r3, #2
	rsb	r3, r3, #0
	ldr	r2, .L4
	add	r3, r3, r2
	ldr	r2, .L4+4
	str	r3, [r2]
	ldr	r2, .L4
	ldr	r3, .L4+4
	ldr	r3, [r3]
	ldr	r1, .L4
	ldr	r0, .L4+8
	bl	printf
	ldr	r3, .L4+12
	ldr	r1, [r3]
	ldr	r3, .L4+16
	ldr	r0, [r3]
	ldr	r3, .L4+12
	ldr	r2, [r3]
	ldr	r3, .L4+16
	ldr	r3, [r3]
	sub	r3, r2, r3
	mov	r2, r0
	ldr	r0, .L4+20
	bl	printf
	ldr	r3, .L4+12
	ldr	r2, [r3]
	ldr	r3, .L4+16
	ldr	r3, [r3]
	sub	r3, r2, r3
	ldr	r2, .L4+4
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L2
	ldr	r0, .L4+24
	bl	puts
	mov	r3, #1
	b	.L3
.L2:
	mov	r3, #0
.L3:
	mov	r0, r3
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	a
	.word	p
	.word	.LC0
	.word	i1
	.word	i2
	.word	.LC1
	.word	.LC2
	.size	test1, .-test1
	.section	.rodata
	.align	2
.LC3:
	.ascii	"p: %p - (int)a: 0x%x = p: %p\012\000"
	.align	2
.LC4:
	.ascii	"p: %p - i2: 0x%x = p: %p\012\000"
	.text
	.align	2
	.global	test2
	.syntax unified
	.arm
	.fpu softvfp
	.type	test2, %function
test2:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L9
	ldr	r2, [r3]
	ldr	r3, .L9+4
	lsl	r3, r3, #2
	rsb	r3, r3, #0
	add	r3, r2, r3
	ldr	r2, .L9
	str	r3, [r2]
	ldr	r3, .L9
	ldr	r1, [r3]
	ldr	r2, .L9+4
	ldr	r3, .L9
	ldr	r3, [r3]
	ldr	r0, .L9+8
	bl	printf
	ldr	r3, .L9
	ldr	r1, [r3]
	ldr	r3, .L9+12
	ldr	r2, [r3]
	ldr	r3, .L9+12
	ldr	r3, [r3]
	rsb	r3, r3, #4608
	add	r3, r3, #52
	ldr	r0, .L9+16
	bl	printf
	ldr	r3, .L9+12
	ldr	r3, [r3]
	rsb	r3, r3, #4608
	add	r3, r3, #52
	ldr	r2, .L9
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L7
	ldr	r0, .L9+20
	bl	puts
	mov	r3, #1
	b	.L8
.L7:
	mov	r3, #0
.L8:
	mov	r0, r3
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	p
	.word	a
	.word	.LC3
	.word	i2
	.word	.LC4
	.word	.LC2
	.size	test2, .-test2
	.section	.rodata
	.align	2
.LC5:
	.ascii	"p: %p &a[0]: %p a: %p (int)a: 0x%x i1: 0x%x i2: 0x%"
	.ascii	"x\012\000"
	.text
	.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
	sub	sp, sp, #16
	ldr	r3, .L13
	ldr	r2, .L13+4
	str	r2, [r3]
	ldr	r2, .L13
	ldr	r3, .L13+8
	str	r2, [r3]
	ldr	r3, .L13+8
	ldr	r3, [r3]
	lsl	r3, r3, #1
	ldr	r2, .L13+12
	str	r3, [r2]
	ldr	r3, .L13+16
	ldr	r2, .L13+20
	str	r2, [r3]
	ldr	r3, .L13+16
	ldr	r1, [r3]
	ldr	r0, .L13
	ldr	r3, .L13+8
	ldr	r3, [r3]
	ldr	r2, .L13+12
	ldr	r2, [r2]
	str	r2, [sp, #8]
	str	r3, [sp, #4]
	str	r0, [sp]
	ldr	r3, .L13
	ldr	r2, .L13
	ldr	r0, .L13+24
	bl	printf
	bl	test1
	mov	r2, r0
	ldr	r3, .L13+28
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L13+28
	str	r3, [r2]
	ldr	r3, .L13+16
	ldr	r2, .L13+20
	str	r2, [r3]
	ldr	r3, .L13+16
	ldr	r1, [r3]
	ldr	r0, .L13
	ldr	r3, .L13+8
	ldr	r3, [r3]
	ldr	r2, .L13+12
	ldr	r2, [r2]
	str	r2, [sp, #8]
	str	r3, [sp, #4]
	str	r0, [sp]
	ldr	r3, .L13
	ldr	r2, .L13
	ldr	r0, .L13+24
	bl	printf
	bl	test2
	mov	r2, r0
	ldr	r3, .L13+28
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L13+28
	str	r3, [r2]
	ldr	r3, .L13+28
	ldr	r3, [r3]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	a
	.word	18193
	.word	i1
	.word	i2
	.word	p
	.word	4660
	.word	.LC5
	.word	err
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
