	.file	"200143748.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"[%ld] cleanup: msg = %s\n"
	.text
	.globl	th_cleanup_func
	.type	th_cleanup_func, @function
th_cleanup_func:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	call	pthread_self@PLT
	mov	rcx, rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, rax
	mov	rsi, rcx
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	th_cleanup_func, .-th_cleanup_func
	.section	.rodata
	.align 8
.LC1:
	.string	"[%ld] th_start_func: *code = %d >\n"
.LC2:
	.string	"Hello, C!"
.LC3:
	.string	"Hello, Linux!"
	.align 8
.LC4:
	.string	"[%ld] th_start_func: *code = %d >>>\n"
	.text
	.globl	th_start_func
	.type	th_start_func, @function
th_start_func:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 296
	.cfi_offset 3, -24
	mov	QWORD PTR -296[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -296[rbp]
	mov	QWORD PTR -248[rbp], rax
	mov	rax, QWORD PTR -248[rbp]
	mov	ebx, DWORD PTR [rax]
	call	pthread_self@PLT
	mov	edx, ebx
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, th_cleanup_func[rip]
	mov	QWORD PTR -280[rbp], rax
	lea	rax, .LC2[rip]
	mov	QWORD PTR -272[rbp], rax
	lea	rax, -240[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	__sigsetjmp@PLT
	endbr64
	mov	DWORD PTR -288[rbp], eax
	mov	eax, DWORD PTR -288[rbp]
	cdqe
	test	rax, rax
	je	.L5
	mov	rax, QWORD PTR -272[rbp]
	mov	rdx, QWORD PTR -280[rbp]
	mov	rdi, rax
	call	rdx
	lea	rax, -240[rbp]
	mov	rdi, rax
	call	__pthread_unwind_next@PLT
.L5:
	lea	rax, -240[rbp]
	mov	rdi, rax
	call	__pthread_register_cancel@PLT
	lea	rax, th_cleanup_func[rip]
	mov	QWORD PTR -264[rbp], rax
	lea	rax, .LC3[rip]
	mov	QWORD PTR -256[rbp], rax
	lea	rax, -128[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	__sigsetjmp@PLT
	endbr64
	mov	DWORD PTR -284[rbp], eax
	mov	eax, DWORD PTR -284[rbp]
	cdqe
	test	rax, rax
	je	.L6
	mov	rax, QWORD PTR -256[rbp]
	mov	rdx, QWORD PTR -264[rbp]
	mov	rdi, rax
	call	rdx
	lea	rax, -128[rbp]
	mov	rdi, rax
	call	__pthread_unwind_next@PLT
.L6:
	lea	rax, -128[rbp]
	mov	rdi, rax
	call	__pthread_register_cancel@PLT
	mov	rax, QWORD PTR -248[rbp]
	mov	ebx, DWORD PTR [rax]
	call	pthread_self@PLT
	mov	edx, ebx
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -128[rbp]
	mov	rdi, rax
	call	__pthread_unregister_cancel@PLT
	mov	rax, QWORD PTR -248[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L7
	mov	rax, QWORD PTR -256[rbp]
	mov	rdx, QWORD PTR -264[rbp]
	mov	rdi, rax
	call	rdx
.L7:
	lea	rax, -240[rbp]
	mov	rdi, rax
	call	__pthread_unregister_cancel@PLT
	mov	rax, QWORD PTR -248[rbp]
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L8
	mov	rax, QWORD PTR -272[rbp]
	mov	rdx, QWORD PTR -280[rbp]
	mov	rdi, rax
	call	rdx
.L8:
	mov	eax, 0
	mov	rcx, QWORD PTR -24[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L10
	call	__stack_chk_fail@PLT
.L10:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	th_start_func, .-th_start_func
	.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, 80
	mov	DWORD PTR -68[rbp], edi
	mov	QWORD PTR -80[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	edi, 4
	call	malloc@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR [rax], 0
	mov	edi, 4
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	DWORD PTR [rax], 1
	mov	rdx, QWORD PTR -24[rbp]
	lea	rax, -56[rbp]
	mov	rcx, rdx
	lea	rdx, th_start_func[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	mov	rdx, QWORD PTR -16[rbp]
	lea	rax, -48[rbp]
	mov	rcx, rdx
	lea	rdx, th_start_func[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	rax, QWORD PTR -56[rbp]
	lea	rdx, -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	pthread_join@PLT
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, -32[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	pthread_join@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	main, .-main
	.weak	__pthread_unwind_next
	.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	"200143748.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"[%ld] cleanup: msg = %s\012\000"
	.text
	.align	2
	.global	th_cleanup_func
	.syntax unified
	.arm
	.fpu softvfp
	.type	th_cleanup_func, %function
th_cleanup_func:
	@ 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]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
	bl	pthread_self
	mov	r3, r0
	ldr	r2, [fp, #-8]
	mov	r1, r3
	ldr	r0, .L3
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	.LC0
	.size	th_cleanup_func, .-th_cleanup_func
	.section	.rodata
	.align	2
.LC1:
	.ascii	"[%ld] th_start_func: *code = %d >\012\000"
	.align	2
.LC2:
	.ascii	"Hello, C!\000"
	.align	2
.LC3:
	.ascii	"Hello, Linux!\000"
	.align	2
.LC4:
	.ascii	"[%ld] th_start_func: *code = %d >>>\012\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	th_start_func
	.syntax unified
	.arm
	.fpu softvfp
	.type	th_start_func, %function
th_start_func:
	@ args = 0, pretend = 0, frame = 608
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #608
	str	r0, [fp, #-608]
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-608]
	str	r3, [fp, #-584]
	bl	pthread_self
	mov	r1, r0
	ldr	r3, [fp, #-584]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r0, .L13+4
	bl	printf
	ldr	r3, .L13+8
	str	r3, [fp, #-600]
	ldr	r3, .L13+12
	str	r3, [fp, #-596]
	sub	r3, fp, #572
	mov	r1, #0
	mov	r0, r3
	bl	__sigsetjmp
	mov	r3, r0
	str	r3, [fp, #-580]
	ldr	r3, [fp, #-580]
	cmp	r3, #0
	beq	.L7
	ldr	r3, [fp, #-600]
	ldr	r0, [fp, #-596]
	blx	r3
	sub	r3, fp, #572
	mov	r0, r3
	bl	__pthread_unwind_next
.L7:
	sub	r3, fp, #572
	mov	r0, r3
	bl	__pthread_register_cancel
	ldr	r3, .L13+8
	str	r3, [fp, #-592]
	ldr	r3, .L13+16
	str	r3, [fp, #-588]
	sub	r3, fp, #292
	mov	r1, #0
	mov	r0, r3
	bl	__sigsetjmp
	mov	r3, r0
	str	r3, [fp, #-576]
	ldr	r3, [fp, #-576]
	cmp	r3, #0
	beq	.L8
	ldr	r3, [fp, #-592]
	ldr	r0, [fp, #-588]
	blx	r3
	sub	r3, fp, #292
	mov	r0, r3
	bl	__pthread_unwind_next
.L8:
	sub	r3, fp, #292
	mov	r0, r3
	bl	__pthread_register_cancel
	bl	pthread_self
	mov	r1, r0
	ldr	r3, [fp, #-584]
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r0, .L13+20
	bl	printf
	sub	r3, fp, #292
	mov	r0, r3
	bl	__pthread_unregister_cancel
	ldr	r3, [fp, #-584]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L9
	ldr	r3, [fp, #-592]
	ldr	r0, [fp, #-588]
	blx	r3
.L9:
	sub	r3, fp, #572
	mov	r0, r3
	bl	__pthread_unregister_cancel
	ldr	r3, [fp, #-584]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L10
	ldr	r3, [fp, #-600]
	ldr	r0, [fp, #-596]
	blx	r3
.L10:
	mov	r3, #0
	ldr	r2, .L13
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC5
	.word	.LC1
	.word	th_cleanup_func
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	th_start_func, .-th_start_func
	.section	.rodata
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, .L18
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r0, #4
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3]
	mov	r0, #4
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r3, [fp, #-12]
	mov	r2, #1
	str	r2, [r3]
	sub	r0, fp, #32
	ldr	r3, [fp, #-16]
	ldr	r2, .L18+4
	mov	r1, #0
	bl	pthread_create
	sub	r0, fp, #28
	ldr	r3, [fp, #-12]
	ldr	r2, .L18+4
	mov	r1, #0
	bl	pthread_create
	mov	r3, #0
	str	r3, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-32]
	sub	r2, fp, #24
	mov	r1, r2
	mov	r0, r3
	bl	pthread_join
	ldr	r3, [fp, #-28]
	sub	r2, fp, #20
	mov	r1, r2
	mov	r0, r3
	bl	pthread_join
	mov	r3, #0
	ldr	r2, .L18
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L17
	bl	__stack_chk_fail
.L17:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC6
	.word	th_start_func
	.size	main, .-main
	.weak	__pthread_unwind_next
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
