	.file	"140766520.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"backtrace() returned %d addresses\n"
.LC1:
	.string	"backtrace_symbols"
.LC2:
	.string	"  [%02d] %s\n"
	.text
	.globl	dump_stack
	.type	dump_stack, @function
dump_stack:
.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, 160
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -144[rbp]
	mov	esi, 16
	mov	rdi, rax
	call	backtrace@PLT
	mov	DWORD PTR -156[rbp], eax
	mov	eax, DWORD PTR -156[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, DWORD PTR -156[rbp]
	lea	rax, -144[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	backtrace_symbols@PLT
	mov	QWORD PTR -152[rbp], rax
	cmp	QWORD PTR -152[rbp], 0
	jne	.L2
	lea	rdi, .LC1[rip]
	call	perror@PLT
	mov	edi, 1
	call	exit@PLT
.L2:
	mov	DWORD PTR -160[rbp], 0
	jmp	.L3
.L4:
	mov	eax, DWORD PTR -160[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -152[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -160[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -160[rbp], 1
.L3:
	mov	eax, DWORD PTR -160[rbp]
	cmp	eax, DWORD PTR -156[rbp]
	jl	.L4
	mov	rax, QWORD PTR -152[rbp]
	mov	rdi, rax
	call	free@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	dump_stack, .-dump_stack
	.section	.rodata
	.align 8
.LC3:
	.string	"\n---------->catch signal %d<----------\n"
.LC4:
	.string	"dump stack start..."
.LC5:
	.string	"dump stack end..."
	.text
	.globl	signal_handler
	.type	signal_handler, @function
signal_handler:
.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	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC4[rip]
	call	puts@PLT
	call	dump_stack
	lea	rdi, .LC5[rip]
	call	puts@PLT
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, 0
	mov	edi, eax
	call	signal@PLT
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	raise@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	signal_handler, .-signal_handler
	.section	.rodata
.LC6:
	.string	"%s: %s\n"
.LC7:
	.string	"%s\n"
.LC8:
	.string	": %s\n"
	.text
	.type	__error_msg, @function
__error_msg:
.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, 48
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edi, 0
	call	fflush@PLT
	mov	QWORD PTR -16[rbp], 0
	mov	rdx, QWORD PTR -40[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	lea	rax, -16[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	mov	eax, 0
	call	vasprintf@PLT
	test	eax, eax
	js	.L8
	cmp	DWORD PTR -20[rbp], 0
	je	.L9
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	strerror@PLT
	mov	rcx, rax
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L10
.L9:
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC7[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
.L10:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	jmp	.L14
.L8:
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -40[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	vfprintf@PLT
	cmp	DWORD PTR -20[rbp], 0
	je	.L12
	mov	eax, DWORD PTR -20[rbp]
	mov	edi, eax
	call	strerror@PLT
	mov	rdx, rax
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	jmp	.L14
.L12:
	mov	rax, QWORD PTR stderr[rip]
	mov	rsi, rax
	mov	edi, 10
	call	putc@PLT
.L14:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	__error_msg, .-__error_msg
	.globl	error_msg
	.type	error_msg, @function
error_msg:
.LFB9:
	.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	QWORD PTR -216[rbp], rdi
	mov	QWORD PTR -168[rbp], rsi
	mov	QWORD PTR -160[rbp], rdx
	mov	QWORD PTR -152[rbp], rcx
	mov	QWORD PTR -144[rbp], r8
	mov	QWORD PTR -136[rbp], r9
	test	al, al
	je	.L16
	movaps	XMMWORD PTR -128[rbp], xmm0
	movaps	XMMWORD PTR -112[rbp], xmm1
	movaps	XMMWORD PTR -96[rbp], xmm2
	movaps	XMMWORD PTR -80[rbp], xmm3
	movaps	XMMWORD PTR -64[rbp], xmm4
	movaps	XMMWORD PTR -48[rbp], xmm5
	movaps	XMMWORD PTR -32[rbp], xmm6
	movaps	XMMWORD PTR -16[rbp], xmm7
.L16:
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -184[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -208[rbp], 8
	mov	DWORD PTR -204[rbp], 48
	lea	rax, 16[rbp]
	mov	QWORD PTR -200[rbp], rax
	lea	rax, -176[rbp]
	mov	QWORD PTR -192[rbp], rax
	call	__errno_location@PLT
	mov	eax, DWORD PTR [rax]
	lea	rdx, -208[rbp]
	mov	rcx, QWORD PTR -216[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	__error_msg
	nop
	mov	rax, QWORD PTR -184[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	error_msg, .-error_msg
	.globl	debug_msg
	.type	debug_msg, @function
debug_msg:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 72
	mov	QWORD PTR -184[rbp], rdi
	mov	QWORD PTR -168[rbp], rsi
	mov	QWORD PTR -160[rbp], rdx
	mov	QWORD PTR -152[rbp], rcx
	mov	QWORD PTR -144[rbp], r8
	mov	QWORD PTR -136[rbp], r9
	test	al, al
	je	.L20
	movaps	XMMWORD PTR -128[rbp], xmm0
	movaps	XMMWORD PTR -112[rbp], xmm1
	movaps	XMMWORD PTR -96[rbp], xmm2
	movaps	XMMWORD PTR -80[rbp], xmm3
	movaps	XMMWORD PTR -64[rbp], xmm4
	movaps	XMMWORD PTR -48[rbp], xmm5
	movaps	XMMWORD PTR -32[rbp], xmm6
	movaps	XMMWORD PTR -16[rbp], xmm7
.L20:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	debug_msg, .-debug_msg
	.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	"140766520.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"backtrace() returned %d addresses\012\000"
	.align	2
.LC1:
	.ascii	"backtrace_symbols\000"
	.align	2
.LC2:
	.ascii	"  [%02d] %s\012\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	dump_stack
	.syntax unified
	.arm
	.fpu softvfp
	.type	dump_stack, %function
dump_stack:
	@ args = 0, pretend = 0, frame = 80
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #80
	ldr	r3, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #72
	mov	r1, #16
	mov	r0, r3
	bl	backtrace
	str	r0, [fp, #-80]
	ldr	r1, [fp, #-80]
	ldr	r0, .L6+4
	bl	printf
	sub	r3, fp, #72
	ldr	r1, [fp, #-80]
	mov	r0, r3
	bl	backtrace_symbols
	str	r0, [fp, #-76]
	ldr	r3, [fp, #-76]
	cmp	r3, #0
	bne	.L2
	ldr	r0, .L6+8
	bl	perror
	mov	r0, #1
	bl	exit
.L2:
	mov	r3, #0
	str	r3, [fp, #-84]
	b	.L3
.L4:
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-76]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r1, [fp, #-84]
	ldr	r0, .L6+12
	bl	printf
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
.L3:
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-80]
	cmp	r2, r3
	blt	.L4
	ldr	r0, [fp, #-76]
	bl	free
	nop
	ldr	r3, .L6
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L5
	bl	__stack_chk_fail
.L5:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	dump_stack, .-dump_stack
	.section	.rodata
	.align	2
.LC4:
	.ascii	"\012---------->catch signal %d<----------\012\000"
	.align	2
.LC5:
	.ascii	"dump stack start...\000"
	.align	2
.LC6:
	.ascii	"dump stack end...\000"
	.text
	.align	2
	.global	signal_handler
	.syntax unified
	.arm
	.fpu softvfp
	.type	signal_handler, %function
signal_handler:
	@ 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, .L9
	bl	printf
	ldr	r0, .L9+4
	bl	puts
	bl	dump_stack
	ldr	r0, .L9+8
	bl	puts
	mov	r1, #0
	ldr	r0, [fp, #-8]
	bl	signal
	ldr	r0, [fp, #-8]
	bl	raise
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	signal_handler, .-signal_handler
	.section	.rodata
	.align	2
.LC7:
	.ascii	"%s: %s\012\000"
	.align	2
.LC8:
	.ascii	"%s\012\000"
	.align	2
.LC9:
	.ascii	": %s\012\000"
	.align	2
.LC10:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	__error_msg, %function
__error_msg:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	str	r2, [fp, #-32]
	ldr	r3, .L19
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r0, #0
	bl	fflush
	mov	r3, #0
	str	r3, [fp, #-20]
	sub	r3, fp, #20
	ldr	r2, [fp, #-32]
	ldr	r1, [fp, #-28]
	mov	r0, r3
	bl	vasprintf
	mov	r3, r0
	cmp	r3, #0
	blt	.L12
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L13
	ldr	r3, .L19+4
	ldr	r4, [r3]
	ldr	r5, [fp, #-20]
	ldr	r0, [fp, #-24]
	bl	strerror
	mov	r3, r0
	mov	r2, r5
	ldr	r1, .L19+8
	mov	r0, r4
	bl	fprintf
	b	.L14
.L13:
	ldr	r3, .L19+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	ldr	r1, .L19+12
	mov	r0, r3
	bl	fprintf
.L14:
	ldr	r3, [fp, #-20]
	mov	r0, r3
	bl	free
	b	.L18
.L12:
	ldr	r3, .L19+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	ldr	r1, [fp, #-28]
	mov	r0, r3
	bl	vfprintf
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L16
	ldr	r3, .L19+4
	ldr	r4, [r3]
	ldr	r0, [fp, #-24]
	bl	strerror
	mov	r3, r0
	mov	r2, r3
	ldr	r1, .L19+16
	mov	r0, r4
	bl	fprintf
	b	.L18
.L16:
	ldr	r3, .L19+4
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, #10
	bl	putc
.L18:
	nop
	ldr	r3, .L19
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L17
	bl	__stack_chk_fail
.L17:
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L20:
	.align	2
.L19:
	.word	.LC10
	.word	stderr
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.size	__error_msg, .-__error_msg
	.section	.rodata
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	error_msg
	.syntax unified
	.arm
	.fpu softvfp
	.type	error_msg, %function
error_msg:
	@ args = 4, pretend = 16, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 1
	push	{r0, r1, r2, r3}
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, [fp, #4]
	str	r3, [fp, #-16]
	ldr	r3, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	add	r3, fp, #8
	str	r3, [fp, #-12]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-16]
	mov	r0, r3
	bl	__error_msg
	nop
	ldr	r3, .L23
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L22
	bl	__stack_chk_fail
.L22:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, lr}
	add	sp, sp, #16
	bx	lr
.L24:
	.align	2
.L23:
	.word	.LC11
	.size	error_msg, .-error_msg
	.align	2
	.global	debug_msg
	.syntax unified
	.arm
	.fpu softvfp
	.type	debug_msg, %function
debug_msg:
	@ args = 4, pretend = 16, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 1
	@ link register save eliminated.
	push	{r0, r1, r2, r3}
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	nop
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	add	sp, sp, #16
	bx	lr
	.size	debug_msg, .-debug_msg
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
