	.file	"924680.c"
	.intel_syntax noprefix
	.text
	.globl	failures
	.bss
	.align 4
	.type	failures, @object
	.size	failures, 4
failures:
	.zero	4
	.globl	str1
	.align 8
	.type	str1, @object
	.size	str1, 10
str1:
	.zero	10
	.globl	str2
	.align 8
	.type	str2, @object
	.size	str2, 10
str2:
	.zero	10
	.text
	.globl	f2
	.type	f2, @function
f2:
.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], edi
	cmp	DWORD PTR -4[rbp], 2345
	jne	.L2
	mov	eax, 23
	jmp	.L4
.L2:
	mov	eax, -1
.L4:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	f2, .-f2
	.section	.rodata
.LC0:
	.string	"%p\n"
.LC1:
	.string	"not equal"
.LC2:
	.string	"f1 returns wrong value"
.LC3:
	.string	"f2 returns wrong value"
	.text
	.globl	main
	.type	main, @function
main:
.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, 16
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -16[rbp]
	mov	rdx, rax
	lea	rsi, .LC0[rip]
	lea	rdi, str1[rip]
	mov	eax, 0
	call	sprintf@PLT
	lea	rdi, str1[rip]
	call	puts@PLT
	mov	DWORD PTR -16[rbp], 1234
	mov	eax, DWORD PTR -16[rbp]
	mov	edi, eax
	mov	eax, 0
	call	f1
	mov	DWORD PTR -12[rbp], eax
	lea	rax, -16[rbp]
	mov	rdx, rax
	lea	rsi, .LC0[rip]
	lea	rdi, str2[rip]
	mov	eax, 0
	call	sprintf@PLT
	lea	rdi, str2[rip]
	call	puts@PLT
	lea	rsi, str2[rip]
	lea	rdi, str1[rip]
	call	strcmp@PLT
	test	eax, eax
	je	.L6
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	eax, DWORD PTR failures[rip]
	add	eax, 1
	mov	DWORD PTR failures[rip], eax
.L6:
	cmp	DWORD PTR -12[rbp], 42
	je	.L7
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	eax, DWORD PTR failures[rip]
	add	eax, 1
	mov	DWORD PTR failures[rip], eax
.L7:
	lea	rax, -16[rbp]
	mov	rdx, rax
	lea	rsi, .LC0[rip]
	lea	rdi, str1[rip]
	mov	eax, 0
	call	sprintf@PLT
	lea	rdi, str1[rip]
	call	puts@PLT
	mov	DWORD PTR -16[rbp], 2345
	mov	eax, DWORD PTR -16[rbp]
	mov	edi, eax
	call	f2
	mov	DWORD PTR -12[rbp], eax
	lea	rax, -16[rbp]
	mov	rdx, rax
	lea	rsi, .LC0[rip]
	lea	rdi, str2[rip]
	mov	eax, 0
	call	sprintf@PLT
	lea	rdi, str2[rip]
	call	puts@PLT
	lea	rsi, str2[rip]
	lea	rdi, str1[rip]
	call	strcmp@PLT
	test	eax, eax
	je	.L8
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	eax, DWORD PTR failures[rip]
	add	eax, 1
	mov	DWORD PTR failures[rip], eax
.L8:
	cmp	DWORD PTR -12[rbp], 23
	je	.L9
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	eax, DWORD PTR failures[rip]
	add	eax, 1
	mov	DWORD PTR failures[rip], eax
.L9:
	mov	eax, DWORD PTR failures[rip]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	main, .-main
	.globl	f1
	.type	f1, @function
f1:
.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
	cmp	DWORD PTR -4[rbp], 1234
	jne	.L13
	mov	eax, 42
	jmp	.L15
.L13:
	mov	eax, -1
.L15:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	f1, .-f1
	.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	"924680.c"
	.text
	.global	failures
	.bss
	.align	2
	.type	failures, %object
	.size	failures, 4
failures:
	.space	4
	.comm	str1,10,4
	.comm	str2,10,4
	.text
	.align	2
	.global	f2
	.syntax unified
	.arm
	.fpu softvfp
	.type	f2, %function
f2:
	@ 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	r3, [fp, #-8]
	ldr	r2, .L5
	cmp	r3, r2
	bne	.L2
	mov	r3, #23
	b	.L4
.L2:
	mvn	r3, #0
.L4:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L6:
	.align	2
.L5:
	.word	2345
	.size	f2, .-f2
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%p\012\000"
	.align	2
.LC1:
	.ascii	"not equal\000"
	.align	2
.LC2:
	.ascii	"f1 returns wrong value\000"
	.align	2
.LC3:
	.ascii	"f2 returns wrong value\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #16
	mov	r2, r3
	ldr	r1, .L14+4
	ldr	r0, .L14+8
	bl	sprintf
	ldr	r0, .L14+8
	bl	puts
	ldr	r3, .L14+12
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	mov	r0, r3
	bl	f1
	str	r0, [fp, #-12]
	sub	r3, fp, #16
	mov	r2, r3
	ldr	r1, .L14+4
	ldr	r0, .L14+16
	bl	sprintf
	ldr	r0, .L14+16
	bl	puts
	ldr	r1, .L14+16
	ldr	r0, .L14+8
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L8
	ldr	r0, .L14+20
	bl	puts
	ldr	r3, .L14+24
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L14+24
	str	r3, [r2]
.L8:
	ldr	r3, [fp, #-12]
	cmp	r3, #42
	beq	.L9
	ldr	r0, .L14+28
	bl	puts
	ldr	r3, .L14+24
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L14+24
	str	r3, [r2]
.L9:
	sub	r3, fp, #16
	mov	r2, r3
	ldr	r1, .L14+4
	ldr	r0, .L14+8
	bl	sprintf
	ldr	r0, .L14+8
	bl	puts
	ldr	r3, .L14+32
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	mov	r0, r3
	bl	f2
	str	r0, [fp, #-12]
	sub	r3, fp, #16
	mov	r2, r3
	ldr	r1, .L14+4
	ldr	r0, .L14+16
	bl	sprintf
	ldr	r0, .L14+16
	bl	puts
	ldr	r1, .L14+16
	ldr	r0, .L14+8
	bl	strcmp
	mov	r3, r0
	cmp	r3, #0
	beq	.L10
	ldr	r0, .L14+20
	bl	puts
	ldr	r3, .L14+24
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L14+24
	str	r3, [r2]
.L10:
	ldr	r3, [fp, #-12]
	cmp	r3, #23
	beq	.L11
	ldr	r0, .L14+36
	bl	puts
	ldr	r3, .L14+24
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L14+24
	str	r3, [r2]
.L11:
	ldr	r3, .L14+24
	ldr	r3, [r3]
	ldr	r2, .L14
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC4
	.word	.LC0
	.word	str1
	.word	1234
	.word	str2
	.word	.LC1
	.word	failures
	.word	.LC2
	.word	2345
	.word	.LC3
	.size	main, .-main
	.align	2
	.global	f1
	.syntax unified
	.arm
	.fpu softvfp
	.type	f1, %function
f1:
	@ 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	r3, [fp, #-8]
	ldr	r2, .L20
	cmp	r3, r2
	bne	.L17
	mov	r3, #42
	b	.L19
.L17:
	mvn	r3, #0
.L19:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L21:
	.align	2
.L20:
	.word	1234
	.size	f1, .-f1
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
