	.file	"580351.c"
	.intel_syntax noprefix
	.text
	.globl	v
	.bss
	.type	v, @object
	.size	v, 3
v:
	.zero	3
	.text
	.globl	fn1
	.type	fn1, @function
fn1:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	lea	rax, v[rip+1]
	cmp	QWORD PTR -8[rbp], rax
	jne	.L2
	lea	rax, v[rip+2]
	cmp	QWORD PTR -16[rbp], rax
	je	.L3
.L2:
	call	abort@PLT
.L3:
	movzx	eax, BYTE PTR v[rip+1]
	add	eax, 1
	mov	BYTE PTR v[rip+1], al
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	fn1, .-fn1
	.globl	fn2
	.type	fn2, @function
fn2:
.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	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR -8[rbp], rax
	lea	rax, v[rip]
	cmp	QWORD PTR -8[rbp], rax
	sete	al
	movzx	eax, al
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	fn2, .-fn2
	.globl	fn3
	.type	fn3, @function
fn3:
.LFB2:
	.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	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L8
	call	abort@PLT
.L8:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	fn3, .-fn3
	.type	foo, @function
foo:
.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, 48
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -32[rbp], 0
	mov	DWORD PTR -24[rbp], 0
	mov	QWORD PTR -16[rbp], 0
	mov	eax, DWORD PTR 24[rbp]
	test	eax, eax
	je	.L10
	mov	eax, DWORD PTR 48[rbp]
	test	eax, eax
	je	.L10
	mov	rax, QWORD PTR 16[rbp]
	mov	rdi, rax
	call	fn2
	test	eax, eax
	je	.L14
	mov	rax, QWORD PTR 40[rbp]
	mov	rdi, rax
	call	fn2
	test	eax, eax
	je	.L14
	mov	rax, QWORD PTR -48[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	cmp	eax, 124
	je	.L15
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	fn3
	jmp	.L11
.L14:
	nop
	jmp	.L11
.L15:
	nop
.L11:
	mov	rdx, QWORD PTR 40[rbp]
	mov	rax, QWORD PTR 16[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	fn1
.L10:
	mov	rcx, QWORD PTR -40[rbp]
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR [rcx], rax
	mov	QWORD PTR 8[rcx], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR 16[rcx], rax
	mov	rax, QWORD PTR -40[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	foo, .-foo
	.section	.rodata
.LC0:
	.string	"+"
.LC1:
	.string	"-"
	.text
	.globl	bar
	.type	bar, @function
bar:
.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, 64
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	cmp	DWORD PTR -20[rbp], 219
	je	.L17
	cmp	DWORD PTR -20[rbp], 220
	je	.L18
	jmp	.L19
.L17:
	mov	rax, QWORD PTR -32[rbp]
	lea	rdx, -48[rax]
	lea	rcx, -64[rbp]
	mov	rax, QWORD PTR -32[rbp]
	push	QWORD PTR 16[rax]
	push	QWORD PTR 8[rax]
	push	QWORD PTR [rax]
	push	QWORD PTR 16[rdx]
	push	QWORD PTR 8[rdx]
	push	QWORD PTR [rdx]
	lea	rsi, .LC0[rip]
	mov	rdi, rcx
	call	foo
	add	rsp, 48
.L18:
	mov	rax, QWORD PTR -32[rbp]
	lea	rdx, -48[rax]
	lea	rcx, -64[rbp]
	mov	rax, QWORD PTR -32[rbp]
	push	QWORD PTR 16[rax]
	push	QWORD PTR 8[rax]
	push	QWORD PTR [rax]
	push	QWORD PTR 16[rdx]
	push	QWORD PTR 8[rdx]
	push	QWORD PTR [rdx]
	lea	rsi, .LC1[rip]
	mov	rdi, rcx
	call	foo
	add	rsp, 48
.L19:
	nop
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	bar, .-bar
	.globl	main
	.type	main, @function
main:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, v[rip+1]
	mov	QWORD PTR -80[rbp], rax
	mov	DWORD PTR -72[rbp], 1
	mov	QWORD PTR -64[rbp], 1
	lea	rax, v[rip]
	mov	QWORD PTR -56[rbp], rax
	mov	DWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	lea	rax, v[rip+2]
	mov	QWORD PTR -32[rbp], rax
	mov	DWORD PTR -24[rbp], 2
	mov	QWORD PTR -16[rbp], 2
	lea	rax, -80[rbp]
	add	rax, 48
	mov	rsi, rax
	mov	edi, 220
	call	bar
	movzx	eax, BYTE PTR v[rip+1]
	cmp	al, 1
	je	.L22
	call	abort@PLT
.L22:
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.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	"580351.c"
	.text
	.comm	v,3,4
	.align	2
	.global	fn1
	.syntax unified
	.arm
	.fpu softvfp
	.type	fn1, %function
fn1:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	ldr	r2, .L4
	cmp	r3, r2
	bne	.L2
	ldr	r3, [fp, #-12]
	ldr	r2, .L4+4
	cmp	r3, r2
	beq	.L3
.L2:
	bl	abort
.L3:
	ldr	r3, .L4+8
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	add	r3, r3, #1
	and	r2, r3, #255
	ldr	r3, .L4+8
	strb	r2, [r3, #1]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	v+1
	.word	v+2
	.word	v
	.size	fn1, .-fn1
	.align	2
	.global	fn2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fn2, %function
fn2:
	@ 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]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, .L8
	cmp	r3, r2
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L9:
	.align	2
.L8:
	.word	v
	.size	fn2, .-fn2
	.align	2
	.global	fn3
	.syntax unified
	.arm
	.fpu softvfp
	.type	fn3, %function
fn3:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L12
	bl	abort
.L12:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	fn3, .-fn3
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	foo, %function
foo:
	@ args = 32, pretend = 8, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	sub	sp, sp, #8
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	add	r1, fp, #4
	stm	r1, {r2, r3}
	mov	r3, #0
	str	r3, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-16]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #8]
	cmp	r3, #0
	beq	.L14
	ldr	r3, [fp, #24]
	cmp	r3, #0
	beq	.L14
	ldr	r3, [fp, #4]
	mov	r0, r3
	bl	fn2
	mov	r3, r0
	cmp	r3, #0
	beq	.L18
	ldr	r3, [fp, #20]
	mov	r0, r3
	bl	fn2
	mov	r3, r0
	cmp	r3, #0
	beq	.L18
	ldr	r3, [fp, #-28]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #124
	beq	.L19
	ldr	r0, [fp, #-28]
	bl	fn3
	b	.L15
.L18:
	nop
	b	.L15
.L19:
	nop
.L15:
	ldr	r3, [fp, #4]
	ldr	r2, [fp, #20]
	mov	r1, r2
	mov	r0, r3
	bl	fn1
.L14:
	ldr	r3, [fp, #-24]
	mov	ip, r3
	sub	r3, fp, #20
	ldm	r3, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	ldr	r0, [fp, #-24]
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #8
	bx	lr
	.size	foo, .-foo
	.section	.rodata
	.align	2
.LC1:
	.ascii	"+\000"
	.align	2
.LC2:
	.ascii	"-\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	bar
	.syntax unified
	.arm
	.fpu softvfp
	.type	bar, %function
bar:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #60
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, .L25
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, [fp, #-24]
	cmp	r3, #219
	beq	.L21
	ldr	r3, [fp, #-24]
	cmp	r3, #220
	beq	.L22
	b	.L23
.L21:
	ldr	r3, [fp, #-28]
	sub	ip, r3, #32
	sub	r4, fp, #44
	ldr	r3, [fp, #-28]
	add	lr, sp, #8
	ldm	r3, {r0, r1, r2, r3}
	stm	lr, {r0, r1, r2, r3}
	mov	r2, sp
	add	r3, ip, #8
	ldm	r3, {r0, r1}
	stm	r2, {r0, r1}
	ldm	ip, {r2, r3}
	ldr	r1, .L25+4
	mov	r0, r4
	bl	foo
.L22:
	ldr	r3, [fp, #-28]
	sub	ip, r3, #32
	sub	r4, fp, #44
	ldr	r3, [fp, #-28]
	add	lr, sp, #8
	ldm	r3, {r0, r1, r2, r3}
	stm	lr, {r0, r1, r2, r3}
	mov	r2, sp
	add	r3, ip, #8
	ldm	r3, {r0, r1}
	stm	r2, {r0, r1}
	ldm	ip, {r2, r3}
	ldr	r1, .L25+8
	mov	r0, r4
	bl	foo
.L23:
	nop
	ldr	r2, .L25
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L24
	bl	__stack_chk_fail
.L24:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC3
	.word	.LC1
	.word	.LC2
	.size	bar, .-bar
	.section	.rodata
	.align	3
.LC0:
	.word	v+1
	.word	1
	.word	1
	.word	0
	.word	v
	.word	0
	.word	0
	.word	0
	.word	v+2
	.word	2
	.word	2
	.word	0
	.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 = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	ldr	r3, .L31
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L31+4
	sub	ip, fp, #60
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	sub	r3, fp, #60
	add	r3, r3, #32
	mov	r1, r3
	mov	r0, #220
	bl	bar
	ldr	r3, .L31+8
	ldrb	r3, [r3, #1]	@ zero_extendqisi2
	cmp	r3, #1
	beq	.L28
	bl	abort
.L28:
	mov	r3, #0
	ldr	r2, .L31
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L30
	bl	__stack_chk_fail
.L30:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L32:
	.align	2
.L31:
	.word	.LC4
	.word	.LC0
	.word	v
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
