	.file	"906895.c"
	.intel_syntax noprefix
	.text
	.globl	env
	.bss
	.align 32
	.type	env, @object
	.size	env, 200
env:
	.zero	200
	.globl	val
	.align 4
	.type	val, @object
	.size	val, 4
val:
	.zero	4
	.globl	longjmp_taken
	.align 4
	.type	longjmp_taken, @object
	.size	longjmp_taken, 4
longjmp_taken:
	.zero	4
	.globl	bar_enter
	.align 4
	.type	bar_enter, @object
	.size	bar_enter, 4
bar_enter:
	.zero	4
	.globl	bar_exit
	.align 4
	.type	bar_exit, @object
	.size	bar_exit, 4
bar_exit:
	.zero	4
	.globl	foo_enter
	.align 4
	.type	foo_enter, @object
	.size	foo_enter, 4
foo_enter:
	.zero	4
	.globl	foo_exit
	.align 4
	.type	foo_exit, @object
	.size	foo_exit, 4
foo_exit:
	.zero	4
	.text
	.globl	bar
	.type	bar, @function
bar:
.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	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR bar_enter[rip]
	add	eax, 1
	mov	DWORD PTR bar_enter[rip], eax
	cmp	DWORD PTR -4[rbp], 0
	jne	.L2
	mov	eax, DWORD PTR longjmp_taken[rip]
	add	eax, 1
	mov	DWORD PTR longjmp_taken[rip], eax
	mov	esi, 1
	lea	rdi, env[rip]
	call	longjmp@PLT
.L2:
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR val[rip]
	add	eax, edx
	mov	DWORD PTR val[rip], eax
	mov	eax, DWORD PTR bar_exit[rip]
	add	eax, 1
	mov	DWORD PTR bar_exit[rip], eax
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	bar, .-bar
	.globl	foo
	.type	foo, @function
foo:
.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	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR foo_enter[rip]
	add	eax, 1
	mov	DWORD PTR foo_enter[rip], eax
	cmp	DWORD PTR -4[rbp], 1
	jne	.L4
	mov	eax, DWORD PTR longjmp_taken[rip]
	add	eax, 1
	mov	DWORD PTR longjmp_taken[rip], eax
	mov	esi, 2
	lea	rdi, env[rip]
	call	longjmp@PLT
.L4:
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	bar
	mov	edi, 7
	call	bar
	mov	eax, DWORD PTR val[rip]
	add	eax, 16
	mov	DWORD PTR val[rip], eax
	mov	eax, DWORD PTR foo_exit[rip]
	add	eax, 1
	mov	DWORD PTR foo_exit[rip], eax
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	foo, .-foo
	.globl	passed
	.type	passed, @function
passed:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, DWORD PTR val[rip]
	cmp	eax, 31
	jne	.L6
	mov	eax, DWORD PTR longjmp_taken[rip]
	cmp	eax, 2
	jne	.L6
	mov	eax, DWORD PTR foo_enter[rip]
	cmp	eax, 3
	jne	.L6
	mov	eax, DWORD PTR foo_exit[rip]
	cmp	eax, 1
	jne	.L6
	mov	eax, DWORD PTR bar_enter[rip]
	cmp	eax, 3
	jne	.L6
	mov	eax, DWORD PTR bar_exit[rip]
	cmp	eax, 2
	jne	.L6
	mov	eax, 1
	jmp	.L8
.L6:
	mov	eax, 0
.L8:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	passed, .-passed
	.globl	leave
	.type	leave, @function
leave:
.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], edi
	cmp	DWORD PTR -4[rbp], 0
	jne	.L10
	call	abort@PLT
.L10:
	mov	edi, 0
	call	exit@PLT
	.cfi_endproc
.LFE3:
	.size	leave, .-leave
	.globl	main
	.type	main, @function
main:
.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
	lea	rdi, env[rip]
	call	_setjmp@PLT
	endbr64
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	je	.L13
	mov	edx, DWORD PTR val[rip]
	mov	eax, DWORD PTR -4[rbp]
	add	eax, edx
	mov	DWORD PTR val[rip], eax
.L13:
	mov	eax, DWORD PTR val[rip]
	mov	edi, eax
	call	foo
	mov	eax, 0
	call	passed
	mov	edi, eax
	call	leave
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.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	"906895.c"
	.text
	.comm	env,392,8
	.comm	val,4,4
	.comm	longjmp_taken,4,4
	.comm	bar_enter,4,4
	.comm	bar_exit,4,4
	.comm	foo_enter,4,4
	.comm	foo_exit,4,4
	.align	2
	.global	bar
	.syntax unified
	.arm
	.fpu softvfp
	.type	bar, %function
bar:
	@ 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, .L3
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L3
	str	r3, [r2]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L2
	ldr	r3, .L3+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L3+4
	str	r3, [r2]
	mov	r1, #1
	ldr	r0, .L3+8
	bl	longjmp
.L2:
	ldr	r3, [fp, #-8]
	add	r2, r3, #1
	ldr	r3, .L3+12
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L3+12
	str	r3, [r2]
	ldr	r3, .L3+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L3+16
	str	r3, [r2]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	bar_enter
	.word	longjmp_taken
	.word	env
	.word	val
	.word	bar_exit
	.size	bar, .-bar
	.align	2
	.global	foo
	.syntax unified
	.arm
	.fpu softvfp
	.type	foo, %function
foo:
	@ 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, .L7
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L7
	str	r3, [r2]
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	bne	.L6
	ldr	r3, .L7+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L7+4
	str	r3, [r2]
	mov	r1, #2
	ldr	r0, .L7+8
	bl	longjmp
.L6:
	ldr	r0, [fp, #-8]
	bl	bar
	mov	r0, #7
	bl	bar
	ldr	r3, .L7+12
	ldr	r3, [r3]
	add	r3, r3, #16
	ldr	r2, .L7+12
	str	r3, [r2]
	ldr	r3, .L7+16
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L7+16
	str	r3, [r2]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	foo_enter
	.word	longjmp_taken
	.word	env
	.word	val
	.word	foo_exit
	.size	foo, .-foo
	.align	2
	.global	passed
	.syntax unified
	.arm
	.fpu softvfp
	.type	passed, %function
passed:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	ldr	r3, .L13
	ldr	r3, [r3]
	cmp	r3, #31
	bne	.L10
	ldr	r3, .L13+4
	ldr	r3, [r3]
	cmp	r3, #2
	bne	.L10
	ldr	r3, .L13+8
	ldr	r3, [r3]
	cmp	r3, #3
	bne	.L10
	ldr	r3, .L13+12
	ldr	r3, [r3]
	cmp	r3, #1
	bne	.L10
	ldr	r3, .L13+16
	ldr	r3, [r3]
	cmp	r3, #3
	bne	.L10
	ldr	r3, .L13+20
	ldr	r3, [r3]
	cmp	r3, #2
	bne	.L10
	mov	r3, #1
	b	.L12
.L10:
	mov	r3, #0
.L12:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L14:
	.align	2
.L13:
	.word	val
	.word	longjmp_taken
	.word	foo_enter
	.word	foo_exit
	.word	bar_enter
	.word	bar_exit
	.size	passed, .-passed
	.align	2
	.global	leave
	.syntax unified
	.arm
	.fpu softvfp
	.type	leave, %function
leave:
	@ 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]
	cmp	r3, #0
	bne	.L16
	bl	abort
.L16:
	mov	r0, #0
	bl	exit
	.size	leave, .-leave
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r0, .L21
	bl	_setjmp
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L19
	ldr	r3, .L21+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	add	r3, r2, r3
	ldr	r2, .L21+4
	str	r3, [r2]
.L19:
	ldr	r3, .L21+4
	ldr	r3, [r3]
	mov	r0, r3
	bl	foo
	bl	passed
	mov	r3, r0
	mov	r0, r3
	bl	leave
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	env
	.word	val
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
