	.file	"983918.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"\ncalling longjmp\n"
	.text
	.type	jumper, @function
jumper:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -8[rbp], 0
	jmp	.L2
.L6:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L3
.L5:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	jne	.L4
	mov	edi, 43
	call	putchar@PLT
.L4:
	add	DWORD PTR -4[rbp], 1
.L3:
	cmp	DWORD PTR -4[rbp], 9999
	jbe	.L5
	add	DWORD PTR -8[rbp], 1
.L2:
	cmp	DWORD PTR -8[rbp], 9999
	jbe	.L6
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, 23
	mov	rdi, rax
	call	longjmp@PLT
	.cfi_endproc
.LFE0:
	.size	jumper, .-jumper
	.section	.rodata
.LC1:
	.string	"calling setjmp\n"
.LC2:
	.string	"calling jumper\n"
	.align 8
.LC3:
	.string	"return from longjmp: code = %d\n"
	.text
	.type	catcher, @function
catcher:
.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, 224
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	lea	rax, -208[rbp]
	mov	rdi, rax
	call	_setjmp@PLT
	endbr64
	mov	DWORD PTR -212[rbp], eax
	cmp	DWORD PTR -212[rbp], 0
	jne	.L9
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	lea	rax, -208[rbp]
	mov	rdi, rax
	call	jumper
	jmp	.L12
.L9:
	mov	eax, DWORD PTR -212[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
.L12:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	catcher, .-catcher
	.local	aux
	.comm	aux,8,8
	.type	set_buffer, @function
set_buffer:
.LFB2:
	.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 aux[rip], rax
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	set_buffer, .-set_buffer
	.type	jumper2, @function
jumper2:
.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 -8[rbp], 0
	jmp	.L15
.L19:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L16
.L18:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	jne	.L17
	mov	edi, 46
	call	putchar@PLT
.L17:
	add	DWORD PTR -4[rbp], 1
.L16:
	cmp	DWORD PTR -4[rbp], 9999
	jbe	.L18
	add	DWORD PTR -8[rbp], 1
.L15:
	cmp	DWORD PTR -8[rbp], 9999
	jbe	.L19
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	mov	rax, QWORD PTR aux[rip]
	mov	esi, 45
	mov	rdi, rax
	call	longjmp@PLT
	.cfi_endproc
.LFE3:
	.size	jumper2, .-jumper2
	.section	.rodata
.LC4:
	.string	"initializing buffer"
.LC5:
	.string	"calling jumper2\n"
	.text
	.type	catcher2, @function
catcher2:
.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, 224
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC4[rip]
	call	puts@PLT
	lea	rax, -208[rbp]
	mov	rdi, rax
	call	set_buffer
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	lea	rax, -208[rbp]
	mov	rdi, rax
	call	_setjmp@PLT
	endbr64
	mov	DWORD PTR -212[rbp], eax
	cmp	DWORD PTR -212[rbp], 0
	jne	.L22
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
	call	jumper2
	jmp	.L25
.L22:
	mov	eax, DWORD PTR -212[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR stdout[rip]
	mov	rdi, rax
	call	fflush@PLT
.L25:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	catcher2, .-catcher2
	.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
	call	catcher
	call	catcher2
	mov	eax, 0
	pop	rbp
	.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	"983918.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\012calling longjmp\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	jumper, %function
jumper:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L2
.L6:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L3
.L5:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bne	.L4
	mov	r0, #43
	bl	putchar
.L4:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L3:
	ldr	r3, [fp, #-8]
	ldr	r2, .L7
	cmp	r3, r2
	bls	.L5
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L2:
	ldr	r3, [fp, #-12]
	ldr	r2, .L7
	cmp	r3, r2
	bls	.L6
	ldr	r0, .L7+4
	bl	puts
	ldr	r3, .L7+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	mov	r1, #23
	ldr	r0, [fp, #-16]
	bl	longjmp
.L8:
	.align	2
.L7:
	.word	9999
	.word	.LC0
	.word	stdout
	.size	jumper, .-jumper
	.section	.rodata
	.align	2
.LC1:
	.ascii	"calling setjmp\012\000"
	.align	2
.LC2:
	.ascii	"calling jumper\012\000"
	.align	2
.LC3:
	.ascii	"return from longjmp: code = %d\012\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	catcher, %function
catcher:
	@ args = 0, pretend = 0, frame = 408
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #408
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L15+4
	bl	puts
	ldr	r3, .L15+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	sub	r3, fp, #404
	mov	r0, r3
	bl	_setjmp
	mov	r3, r0
	str	r3, [fp, #-408]
	ldr	r3, [fp, #-408]
	cmp	r3, #0
	bne	.L11
	ldr	r0, .L15+12
	bl	puts
	ldr	r3, .L15+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	sub	r3, fp, #404
	mov	r0, r3
	bl	jumper
	b	.L14
.L11:
	ldr	r1, [fp, #-408]
	ldr	r0, .L15+16
	bl	printf
	ldr	r3, .L15+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
.L14:
	nop
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC4
	.word	.LC1
	.word	stdout
	.word	.LC2
	.word	.LC3
	.size	catcher, .-catcher
	.local	aux
	.comm	aux,4,4
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	set_buffer, %function
set_buffer:
	@ 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	r2, .L18
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L19:
	.align	2
.L18:
	.word	aux
	.size	set_buffer, .-set_buffer
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	jumper2, %function
jumper2:
	@ 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, #0
	str	r3, [fp, #-12]
	b	.L21
.L25:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L22
.L24:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	bne	.L23
	mov	r0, #46
	bl	putchar
.L23:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L22:
	ldr	r3, [fp, #-8]
	ldr	r2, .L26
	cmp	r3, r2
	bls	.L24
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L21:
	ldr	r3, [fp, #-12]
	ldr	r2, .L26
	cmp	r3, r2
	bls	.L25
	ldr	r0, .L26+4
	bl	puts
	ldr	r3, .L26+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	ldr	r3, .L26+12
	ldr	r3, [r3]
	mov	r1, #45
	mov	r0, r3
	bl	longjmp
.L27:
	.align	2
.L26:
	.word	9999
	.word	.LC0
	.word	stdout
	.word	aux
	.size	jumper2, .-jumper2
	.section	.rodata
	.align	2
.LC5:
	.ascii	"initializing buffer\000"
	.align	2
.LC6:
	.ascii	"calling jumper2\012\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	catcher2, %function
catcher2:
	@ args = 0, pretend = 0, frame = 408
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #408
	ldr	r3, .L34
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L34+4
	bl	puts
	sub	r3, fp, #404
	mov	r0, r3
	bl	set_buffer
	ldr	r0, .L34+8
	bl	puts
	ldr	r3, .L34+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	sub	r3, fp, #404
	mov	r0, r3
	bl	_setjmp
	mov	r3, r0
	str	r3, [fp, #-408]
	ldr	r3, [fp, #-408]
	cmp	r3, #0
	bne	.L30
	ldr	r0, .L34+16
	bl	puts
	ldr	r3, .L34+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
	bl	jumper2
	b	.L33
.L30:
	ldr	r1, [fp, #-408]
	ldr	r0, .L34+20
	bl	printf
	ldr	r3, .L34+12
	ldr	r3, [r3]
	mov	r0, r3
	bl	fflush
.L33:
	nop
	ldr	r3, .L34
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L32
	bl	__stack_chk_fail
.L32:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L35:
	.align	2
.L34:
	.word	.LC7
	.word	.LC5
	.word	.LC1
	.word	stdout
	.word	.LC6
	.word	.LC3
	.size	catcher2, .-catcher2
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	bl	catcher
	bl	catcher2
	mov	r3, #0
	mov	r0, r3
	pop	{fp, pc}
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
