	.file	"528609.c"
	.intel_syntax noprefix
	.text
	.globl	global
	.bss
	.align 4
	.type	global, @object
	.size	global, 4
global:
	.zero	4
	.text
	.globl	simple_function
	.type	simple_function, @function
simple_function:
.LFB0:
	.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 -4[rbp], 0
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	simple_function, .-simple_function
	.globl	pointer_function
	.type	pointer_function, @function
pointer_function:
.LFB1:
	.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 -8[rbp], rdi
	mov	DWORD PTR -12[rbp], esi
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR -12[rbp]
	mov	DWORD PTR [rax], edx
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	pointer_function, .-pointer_function
	.globl	modify_global_function
	.type	modify_global_function, @function
modify_global_function:
.LFB2:
	.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 -4[rbp], edi
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR global[rip], eax
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	modify_global_function, .-modify_global_function
	.section	.rodata
.LC0:
	.string	"i==0"
.LC1:
	.string	"global==0"
.LC2:
	.string	"i==1"
.LC3:
	.string	"global==2"
	.text
	.globl	simple_test
	.type	simple_test, @function
simple_test:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], 0
	mov	DWORD PTR global[rip], 0
	call	simple_function
	cmp	DWORD PTR -4[rbp], 0
	sete	al
	movzx	eax, al
	lea	rsi, .LC0[rip]
	mov	edi, eax
	mov	eax, 0
	call	__CPROVER_assert@PLT
	mov	eax, DWORD PTR global[rip]
	test	eax, eax
	sete	al
	movzx	eax, al
	lea	rsi, .LC1[rip]
	mov	edi, eax
	mov	eax, 0
	call	__CPROVER_assert@PLT
	mov	DWORD PTR -4[rbp], 1
	mov	DWORD PTR global[rip], 2
	call	simple_function
	cmp	DWORD PTR -4[rbp], 1
	sete	al
	movzx	eax, al
	lea	rsi, .LC2[rip]
	mov	edi, eax
	mov	eax, 0
	call	__CPROVER_assert@PLT
	mov	eax, DWORD PTR global[rip]
	cmp	eax, 2
	sete	al
	movzx	eax, al
	lea	rsi, .LC3[rip]
	mov	edi, eax
	mov	eax, 0
	call	__CPROVER_assert@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	simple_test, .-simple_test
	.section	.rodata
.LC4:
	.string	"j==1"
.LC5:
	.string	"i==10"
.LC6:
	.string	"j==2"
.LC7:
	.string	"j==3"
.LC8:
	.string	"i==11"
.LC9:
	.string	"j==4"
	.text
	.globl	pointer_test
	.type	pointer_test, @function
pointer_test:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -12[rbp], 1
	lea	rax, -16[rbp]
	mov	esi, 10
	mov	rdi, rax
	call	pointer_function
	cmp	DWORD PTR -12[rbp], 1
	sete	al
	movzx	eax, al
	lea	rsi, .LC4[rip]
	mov	edi, eax
	mov	eax, 0
	call	__CPROVER_assert@PLT
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, 10
	sete	al
	movzx	eax, al
	lea	rsi, .LC5[rip]
	mov	edi, eax
	mov	eax, 0
	call	__CPROVER_assert@PLT
	mov	DWORD PTR -12[rbp], 2
	lea	rax, -16[rbp]
	mov	esi, 10
	mov	rdi, rax
	call	pointer_function
	cmp	DWORD PTR -12[rbp], 2
	sete	al
	movzx	eax, al
	lea	rsi, .LC6[rip]
	mov	edi, eax
	mov	eax, 0
	call	__CPROVER_assert@PLT
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, 10
	sete	al
	movzx	eax, al
	lea	rsi, .LC5[rip]
	mov	edi, eax
	mov	eax, 0
	call	__CPROVER_assert@PLT
	mov	DWORD PTR -12[rbp], 3
	lea	rax, -16[rbp]
	mov	esi, 11
	mov	rdi, rax
	call	pointer_function
	cmp	DWORD PTR -12[rbp], 3
	sete	al
	movzx	eax, al
	lea	rsi, .LC7[rip]
	mov	edi, eax
	mov	eax, 0
	call	__CPROVER_assert@PLT
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, 11
	sete	al
	movzx	eax, al
	lea	rsi, .LC8[rip]
	mov	edi, eax
	mov	eax, 0
	call	__CPROVER_assert@PLT
	mov	DWORD PTR -12[rbp], 4
	lea	rax, -16[rbp]
	mov	esi, 478
	mov	rdi, rax
	call	pointer_function
	cmp	DWORD PTR -12[rbp], 4
	sete	al
	movzx	eax, al
	lea	rsi, .LC9[rip]
	mov	edi, eax
	mov	eax, 0
	call	__CPROVER_assert@PLT
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, 11
	sete	al
	movzx	eax, al
	lea	rsi, .LC8[rip]
	mov	edi, eax
	mov	eax, 0
	call	__CPROVER_assert@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	pointer_test, .-pointer_test
	.section	.rodata
.LC10:
	.string	"global==42"
.LC11:
	.string	"global==50"
	.text
	.globl	global_test
	.type	global_test, @function
global_test:
.LFB5:
	.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 global[rip], 0
	mov	edi, 42
	call	modify_global_function
	mov	eax, DWORD PTR global[rip]
	cmp	eax, 42
	sete	al
	movzx	eax, al
	lea	rsi, .LC10[rip]
	mov	edi, eax
	mov	eax, 0
	call	__CPROVER_assert@PLT
	mov	edi, 50
	call	modify_global_function
	mov	eax, DWORD PTR global[rip]
	cmp	eax, 50
	sete	al
	movzx	eax, al
	lea	rsi, .LC11[rip]
	mov	edi, eax
	mov	eax, 0
	call	__CPROVER_assert@PLT
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	global_test, .-global_test
	.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	"528609.c"
	.text
	.comm	global,4,4
	.align	2
	.global	simple_function
	.syntax unified
	.arm
	.fpu softvfp
	.type	simple_function, %function
simple_function:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	mov	r3, #0
	str	r3, [fp, #-8]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	simple_function, .-simple_function
	.align	2
	.global	pointer_function
	.syntax unified
	.arm
	.fpu softvfp
	.type	pointer_function, %function
pointer_function:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-12]
	str	r2, [r3]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	pointer_function, .-pointer_function
	.align	2
	.global	modify_global_function
	.syntax unified
	.arm
	.fpu softvfp
	.type	modify_global_function, %function
modify_global_function:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r2, .L4
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L5:
	.align	2
.L4:
	.word	global
	.size	modify_global_function, .-modify_global_function
	.section	.rodata
	.align	2
.LC0:
	.ascii	"i==0\000"
	.align	2
.LC1:
	.ascii	"global==0\000"
	.align	2
.LC2:
	.ascii	"i==1\000"
	.align	2
.LC3:
	.ascii	"global==2\000"
	.text
	.align	2
	.global	simple_test
	.syntax unified
	.arm
	.fpu softvfp
	.type	simple_test, %function
simple_test:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, .L7
	mov	r2, #0
	str	r2, [r3]
	bl	simple_function
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	ldr	r1, .L7+4
	mov	r0, r3
	bl	__CPROVER_assert
	ldr	r3, .L7
	ldr	r3, [r3]
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	ldr	r1, .L7+8
	mov	r0, r3
	bl	__CPROVER_assert
	mov	r3, #1
	str	r3, [fp, #-8]
	ldr	r3, .L7
	mov	r2, #2
	str	r2, [r3]
	bl	simple_function
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	ldr	r1, .L7+12
	mov	r0, r3
	bl	__CPROVER_assert
	ldr	r3, .L7
	ldr	r3, [r3]
	cmp	r3, #2
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	ldr	r1, .L7+16
	mov	r0, r3
	bl	__CPROVER_assert
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	global
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	simple_test, .-simple_test
	.section	.rodata
	.align	2
.LC4:
	.ascii	"j==1\000"
	.align	2
.LC5:
	.ascii	"i==10\000"
	.align	2
.LC6:
	.ascii	"j==2\000"
	.align	2
.LC7:
	.ascii	"j==3\000"
	.align	2
.LC8:
	.ascii	"i==11\000"
	.align	2
.LC9:
	.ascii	"j==4\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	pointer_test
	.syntax unified
	.arm
	.fpu softvfp
	.type	pointer_test, %function
pointer_test:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r3, #1
	str	r3, [fp, #-12]
	sub	r3, fp, #16
	mov	r1, #10
	mov	r0, r3
	bl	pointer_function
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	ldr	r1, .L11+4
	mov	r0, r3
	bl	__CPROVER_assert
	ldr	r3, [fp, #-16]
	cmp	r3, #10
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	ldr	r1, .L11+8
	mov	r0, r3
	bl	__CPROVER_assert
	mov	r3, #2
	str	r3, [fp, #-12]
	sub	r3, fp, #16
	mov	r1, #10
	mov	r0, r3
	bl	pointer_function
	ldr	r3, [fp, #-12]
	cmp	r3, #2
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	ldr	r1, .L11+12
	mov	r0, r3
	bl	__CPROVER_assert
	ldr	r3, [fp, #-16]
	cmp	r3, #10
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	ldr	r1, .L11+8
	mov	r0, r3
	bl	__CPROVER_assert
	mov	r3, #3
	str	r3, [fp, #-12]
	sub	r3, fp, #16
	mov	r1, #11
	mov	r0, r3
	bl	pointer_function
	ldr	r3, [fp, #-12]
	cmp	r3, #3
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	ldr	r1, .L11+16
	mov	r0, r3
	bl	__CPROVER_assert
	ldr	r3, [fp, #-16]
	cmp	r3, #11
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	ldr	r1, .L11+20
	mov	r0, r3
	bl	__CPROVER_assert
	mov	r3, #4
	str	r3, [fp, #-12]
	sub	r3, fp, #16
	ldr	r1, .L11+24
	mov	r0, r3
	bl	pointer_function
	ldr	r3, [fp, #-12]
	cmp	r3, #4
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	ldr	r1, .L11+28
	mov	r0, r3
	bl	__CPROVER_assert
	ldr	r3, [fp, #-16]
	cmp	r3, #11
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	ldr	r1, .L11+20
	mov	r0, r3
	bl	__CPROVER_assert
	nop
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L10
	bl	__stack_chk_fail
.L10:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC10
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	478
	.word	.LC9
	.size	pointer_test, .-pointer_test
	.section	.rodata
	.align	2
.LC11:
	.ascii	"global==42\000"
	.align	2
.LC12:
	.ascii	"global==50\000"
	.text
	.align	2
	.global	global_test
	.syntax unified
	.arm
	.fpu softvfp
	.type	global_test, %function
global_test:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L14
	mov	r2, #0
	str	r2, [r3]
	mov	r0, #42
	bl	modify_global_function
	ldr	r3, .L14
	ldr	r3, [r3]
	cmp	r3, #42
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	ldr	r1, .L14+4
	mov	r0, r3
	bl	__CPROVER_assert
	mov	r0, #50
	bl	modify_global_function
	ldr	r3, .L14
	ldr	r3, [r3]
	cmp	r3, #50
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	ldr	r1, .L14+8
	mov	r0, r3
	bl	__CPROVER_assert
	nop
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	global
	.word	.LC11
	.word	.LC12
	.size	global_test, .-global_test
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
