	.file	"998970.c"
	.intel_syntax noprefix
	.text
	.local	env
	.comm	env,200,32
	.data
	.align 4
	.type	last_value, @object
	.size	last_value, 4
last_value:
	.long	-1
	.local	lose
	.comm	lose,4,4
	.text
	.type	jump, @function
jump:
.LFB6:
	.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 -4[rbp]
	mov	esi, eax
	lea	rdi, env[rip]
	call	longjmp@PLT
	.cfi_endproc
.LFE6:
	.size	jump, .-jump
	.section	.rodata
.LC0:
	.string	"Shouldn't have "
.LC1:
	.string	"Saved environment."
.LC2:
	.string	"Jumped to %d.\n"
.LC3:
	.string	"Test FAILED!"
.LC4:
	.string	"Test succeeded!"
	.text
	.globl	main
	.type	main, @function
main:
.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
	lea	rdi, env[rip]
	call	_setjmp@PLT
	endbr64
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR last_value[rip]
	add	eax, 1
	cmp	DWORD PTR -4[rbp], eax
	je	.L4
	mov	rax, QWORD PTR stdout[rip]
	mov	rcx, rax
	mov	edx, 15
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	DWORD PTR lose[rip], 1
.L4:
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR last_value[rip], eax
	cmp	DWORD PTR -4[rbp], 0
	jne	.L5
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	edi, 0
	call	jump
.L5:
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	DWORD PTR -4[rbp], 9
	jg	.L6
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	mov	edi, eax
	call	jump
.L6:
	mov	eax, DWORD PTR lose[rip]
	test	eax, eax
	jne	.L7
	cmp	DWORD PTR -4[rbp], 10
	jne	.L7
	mov	DWORD PTR last_value[rip], -1
	mov	DWORD PTR lose[rip], 0
	lea	rdi, env[rip]
	call	setjmp@PLT
	endbr64
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR last_value[rip]
	add	eax, 1
	cmp	DWORD PTR -4[rbp], eax
	je	.L8
	mov	rax, QWORD PTR stdout[rip]
	mov	rcx, rax
	mov	edx, 15
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	DWORD PTR lose[rip], 1
.L8:
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR last_value[rip], eax
	cmp	DWORD PTR -4[rbp], 0
	jne	.L9
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	edi, 0
	call	jump
.L9:
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	DWORD PTR -4[rbp], 9
	jg	.L7
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	mov	edi, eax
	call	jump
.L7:
	mov	eax, DWORD PTR lose[rip]
	test	eax, eax
	jne	.L10
	cmp	DWORD PTR -4[rbp], 10
	jne	.L10
	mov	DWORD PTR last_value[rip], -1
	mov	DWORD PTR lose[rip], 0
	lea	rdi, env[rip]
	call	_setjmp@PLT
	endbr64
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR last_value[rip]
	add	eax, 1
	cmp	DWORD PTR -4[rbp], eax
	je	.L11
	mov	rax, QWORD PTR stdout[rip]
	mov	rcx, rax
	mov	edx, 15
	mov	esi, 1
	lea	rdi, .LC0[rip]
	call	fwrite@PLT
	mov	DWORD PTR lose[rip], 1
.L11:
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR last_value[rip], eax
	cmp	DWORD PTR -4[rbp], 0
	jne	.L12
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	edi, 0
	call	jump
.L12:
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	cmp	DWORD PTR -4[rbp], 9
	jg	.L10
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	mov	edi, eax
	call	jump
.L10:
	mov	eax, DWORD PTR lose[rip]
	test	eax, eax
	jne	.L13
	cmp	DWORD PTR -4[rbp], 10
	je	.L14
.L13:
	lea	rdi, .LC3[rip]
	call	puts@PLT
	jmp	.L15
.L14:
	lea	rdi, .LC4[rip]
	call	puts@PLT
.L15:
	mov	eax, DWORD PTR lose[rip]
	test	eax, eax
	setne	al
	movzx	eax, al
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.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	"998970.c"
	.text
	.local	env
	.comm	env,392,8
	.data
	.align	2
	.type	last_value, %object
	.size	last_value, 4
last_value:
	.word	-1
	.local	lose
	.comm	lose,4,4
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	jump, %function
jump:
	@ 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	r1, [fp, #-8]
	ldr	r0, .L2
	bl	longjmp
.L3:
	.align	2
.L2:
	.word	env
	.size	jump, .-jump
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Shouldn't have \000"
	.align	2
.LC1:
	.ascii	"Saved environment.\000"
	.align	2
.LC2:
	.ascii	"Jumped to %d.\012\000"
	.align	2
.LC3:
	.ascii	"Test FAILED!\000"
	.align	2
.LC4:
	.ascii	"Test succeeded!\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
	ldr	r0, .L19
	bl	_setjmp
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, .L19+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	beq	.L6
	ldr	r3, .L19+8
	ldr	r3, [r3]
	mov	r2, #15
	mov	r1, #1
	ldr	r0, .L19+12
	bl	fwrite
	ldr	r3, .L19+16
	mov	r2, #1
	str	r2, [r3]
.L6:
	ldr	r2, .L19+4
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L7
	ldr	r0, .L19+20
	bl	puts
	mov	r0, #0
	bl	jump
.L7:
	ldr	r1, [fp, #-8]
	ldr	r0, .L19+24
	bl	printf
	ldr	r3, [fp, #-8]
	cmp	r3, #9
	bgt	.L8
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	mov	r0, r3
	bl	jump
.L8:
	ldr	r3, .L19+16
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L9
	ldr	r3, [fp, #-8]
	cmp	r3, #10
	bne	.L9
	ldr	r3, .L19+4
	mvn	r2, #0
	str	r2, [r3]
	ldr	r3, .L19+16
	mov	r2, #0
	str	r2, [r3]
	ldr	r0, .L19
	bl	setjmp
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, .L19+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	beq	.L10
	ldr	r3, .L19+8
	ldr	r3, [r3]
	mov	r2, #15
	mov	r1, #1
	ldr	r0, .L19+12
	bl	fwrite
	ldr	r3, .L19+16
	mov	r2, #1
	str	r2, [r3]
.L10:
	ldr	r2, .L19+4
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L11
	ldr	r0, .L19+20
	bl	puts
	mov	r0, #0
	bl	jump
.L11:
	ldr	r1, [fp, #-8]
	ldr	r0, .L19+24
	bl	printf
	ldr	r3, [fp, #-8]
	cmp	r3, #9
	bgt	.L9
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	mov	r0, r3
	bl	jump
.L9:
	ldr	r3, .L19+16
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L12
	ldr	r3, [fp, #-8]
	cmp	r3, #10
	bne	.L12
	ldr	r3, .L19+4
	mvn	r2, #0
	str	r2, [r3]
	ldr	r3, .L19+16
	mov	r2, #0
	str	r2, [r3]
	ldr	r0, .L19
	bl	_setjmp
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, .L19+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	beq	.L13
	ldr	r3, .L19+8
	ldr	r3, [r3]
	mov	r2, #15
	mov	r1, #1
	ldr	r0, .L19+12
	bl	fwrite
	ldr	r3, .L19+16
	mov	r2, #1
	str	r2, [r3]
.L13:
	ldr	r2, .L19+4
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L14
	ldr	r0, .L19+20
	bl	puts
	mov	r0, #0
	bl	jump
.L14:
	ldr	r1, [fp, #-8]
	ldr	r0, .L19+24
	bl	printf
	ldr	r3, [fp, #-8]
	cmp	r3, #9
	bgt	.L12
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	mov	r0, r3
	bl	jump
.L12:
	ldr	r3, .L19+16
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L15
	ldr	r3, [fp, #-8]
	cmp	r3, #10
	beq	.L16
.L15:
	ldr	r0, .L19+28
	bl	puts
	b	.L17
.L16:
	ldr	r0, .L19+32
	bl	puts
.L17:
	ldr	r3, .L19+16
	ldr	r3, [r3]
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L20:
	.align	2
.L19:
	.word	env
	.word	last_value
	.word	stdout
	.word	.LC0
	.word	lose
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
