	.file	"33782.c"
	.intel_syntax noprefix
	.text
	.local	env
	.comm	env,200,32
	.type	f2, @function
f2:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	esi, 2
	lea	rdi, env[rip]
	call	longjmp@PLT
	.cfi_endproc
.LFE6:
	.size	f2, .-f2
	.type	f1, @function
f1:
.LFB7:
	.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	eax, edi
	mov	BYTE PTR -4[rbp], al
	cmp	BYTE PTR -4[rbp], 1
	jne	.L3
	mov	esi, 1
	lea	rdi, env[rip]
	call	longjmp@PLT
.L3:
	call	f2
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	f1, .-f1
	.section	.rodata
	.align 8
.LC0:
	.string	"Calling f1() after inital setjmp()"
.LC1:
	.string	"We jumpd back from f1()"
.LC2:
	.string	"We jumpd back from f2()"
	.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
	sub	rsp, 16
	mov	eax, edi
	mov	QWORD PTR -16[rbp], rsi
	mov	BYTE PTR -4[rbp], al
	lea	rdi, env[rip]
	call	_setjmp@PLT
	endbr64
	cmp	eax, 2
	je	.L6
	cmp	eax, 2
	jg	.L11
	test	eax, eax
	je	.L8
	cmp	eax, 1
	je	.L9
	jmp	.L11
.L8:
	lea	rdi, .LC0[rip]
	call	puts@PLT
	movsx	eax, BYTE PTR -4[rbp]
	mov	edi, eax
	call	f1
	jmp	.L10
.L9:
	lea	rdi, .LC1[rip]
	call	puts@PLT
	jmp	.L10
.L6:
	lea	rdi, .LC2[rip]
	call	puts@PLT
	jmp	.L10
.L11:
	nop
.L10:
	mov	edi, 0
	call	exit@PLT
	.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	"33782.c"
	.text
	.local	env
	.comm	env,392,8
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	f2, %function
f2:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mov	r1, #2
	ldr	r0, .L2
	bl	longjmp
.L3:
	.align	2
.L2:
	.word	env
	.size	f2, .-f2
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	f1, %function
f1:
	@ 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, r0
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	cmp	r3, #1
	bne	.L5
	mov	r1, #1
	ldr	r0, .L6
	bl	longjmp
.L5:
	bl	f2
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	env
	.size	f1, .-f1
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Calling f1() after inital setjmp()\000"
	.align	2
.LC1:
	.ascii	"We jumpd back from f1()\000"
	.align	2
.LC2:
	.ascii	"We jumpd back from f2()\000"
	.text
	.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
	mov	r3, r0
	str	r1, [fp, #-12]
	strb	r3, [fp, #-5]
	ldr	r0, .L16
	bl	_setjmp
	mov	r3, r0
	cmp	r3, #2
	beq	.L10
	cmp	r3, #2
	bgt	.L15
	cmp	r3, #0
	beq	.L12
	cmp	r3, #1
	beq	.L13
	b	.L15
.L12:
	ldr	r0, .L16+4
	bl	puts
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	mov	r0, r3
	bl	f1
	b	.L14
.L13:
	ldr	r0, .L16+8
	bl	puts
	b	.L14
.L10:
	ldr	r0, .L16+12
	bl	puts
	b	.L14
.L15:
	nop
.L14:
	mov	r0, #0
	bl	exit
.L17:
	.align	2
.L16:
	.word	env
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
