	.file	"219364.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"thread_1"
.LC1:
	.string	"thread_2"
.LC2:
	.string	"thread_3"
.LC3:
	.string	"%d "
	.text
	.globl	main
	.type	main, @function
main:
.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, 256
	mov	DWORD PTR -244[rbp], edi
	mov	QWORD PTR -256[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -96[rbp], 5
	mov	DWORD PTR -92[rbp], 16
	mov	DWORD PTR -88[rbp], 4
	mov	DWORD PTR -84[rbp], 7
	mov	DWORD PTR -80[rbp], 1
	mov	DWORD PTR -76[rbp], 3
	mov	DWORD PTR -72[rbp], 2
	mov	DWORD PTR -68[rbp], 6
	mov	DWORD PTR -64[rbp], 8
	mov	DWORD PTR -60[rbp], 13
	mov	DWORD PTR -56[rbp], 11
	mov	DWORD PTR -52[rbp], 9
	mov	DWORD PTR -48[rbp], 10
	mov	DWORD PTR -44[rbp], 12
	mov	DWORD PTR -40[rbp], 15
	mov	DWORD PTR -36[rbp], 14
	movabs	rax, 7881128242398259316
	mov	QWORD PTR -17[rbp], rax
	mov	BYTE PTR -9[rbp], 0
	lea	rax, -17[rbp]
	mov	rdi, rax
	call	t_print
	mov	DWORD PTR -228[rbp], 8
	lea	rax, .LC0[rip]
	mov	QWORD PTR -224[rbp], rax
	mov	DWORD PTR -216[rbp], 0
	mov	eax, DWORD PTR -228[rbp]
	mov	DWORD PTR -212[rbp], eax
	lea	rax, -96[rbp]
	mov	QWORD PTR -208[rbp], rax
	lea	rax, .LC1[rip]
	mov	QWORD PTR -192[rbp], rax
	mov	eax, DWORD PTR -228[rbp]
	add	eax, 1
	mov	DWORD PTR -184[rbp], eax
	mov	DWORD PTR -180[rbp], 15
	lea	rax, -96[rbp]
	mov	QWORD PTR -176[rbp], rax
	lea	rax, .LC2[rip]
	mov	QWORD PTR -160[rbp], rax
	mov	eax, DWORD PTR -228[rbp]
	mov	DWORD PTR -152[rbp], eax
	mov	DWORD PTR -148[rbp], 15
	lea	rax, -96[rbp]
	mov	QWORD PTR -144[rbp], rax
	lea	rdx, -224[rbp]
	lea	rax, -128[rbp]
	mov	rcx, rdx
	lea	rdx, sort_thread[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	lea	rax, -192[rbp]
	lea	rdx, -128[rbp]
	lea	rdi, 8[rdx]
	mov	rcx, rax
	lea	rdx, sort_thread[rip]
	mov	esi, 0
	call	pthread_create@PLT
	mov	rax, QWORD PTR -128[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	mov	rax, QWORD PTR -120[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	lea	rax, -160[rbp]
	lea	rdx, -128[rbp]
	lea	rdi, 16[rdx]
	mov	rcx, rax
	lea	rdx, merge_thread[rip]
	mov	esi, 0
	call	pthread_create@PLT
	mov	rax, QWORD PTR -112[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	mov	DWORD PTR -232[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -232[rbp]
	cdqe
	mov	eax, DWORD PTR -96[rbp+rax*4]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -232[rbp], 1
.L2:
	cmp	DWORD PTR -232[rbp], 15
	jle	.L3
	mov	edi, 10
	call	putchar@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.globl	sort_thread
	.type	sort_thread, @function
sort_thread:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	t_print
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	ecx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	esi, ecx
	mov	rdi, rax
	call	merge_sort
	mov	edi, 0
	call	pthread_exit@PLT
	.cfi_endproc
.LFE7:
	.size	sort_thread, .-sort_thread
	.globl	merge_thread
	.type	merge_thread, @function
merge_thread:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	t_print
	mov	rax, QWORD PTR -8[rbp]
	mov	ecx, DWORD PTR 12[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	esi, 0
	mov	rdi, rax
	call	merge
	mov	edi, 0
	call	pthread_exit@PLT
	.cfi_endproc
.LFE8:
	.size	merge_thread, .-merge_thread
	.globl	merge_sort
	.type	merge_sort, @function
merge_sort:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jge	.L10
	mov	edx, DWORD PTR -28[rbp]
	mov	eax, DWORD PTR -32[rbp]
	add	eax, edx
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR -4[rbp], eax
	mov	edx, DWORD PTR -4[rbp]
	mov	ecx, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	merge_sort
	mov	eax, DWORD PTR -4[rbp]
	lea	ecx, 1[rax]
	mov	edx, DWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	esi, ecx
	mov	rdi, rax
	call	merge_sort
	mov	ecx, DWORD PTR -32[rbp]
	mov	edx, DWORD PTR -4[rbp]
	mov	esi, DWORD PTR -28[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	merge
.L10:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	merge_sort, .-merge_sort
	.globl	merge
	.type	merge, @function
merge:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	add	rsp, -128
	mov	QWORD PTR -104[rbp], rdi
	mov	DWORD PTR -108[rbp], esi
	mov	DWORD PTR -112[rbp], edx
	mov	DWORD PTR -116[rbp], ecx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -108[rbp]
	mov	DWORD PTR -96[rbp], eax
	mov	eax, DWORD PTR -112[rbp]
	add	eax, 1
	mov	DWORD PTR -92[rbp], eax
	mov	eax, DWORD PTR -108[rbp]
	mov	DWORD PTR -88[rbp], eax
	jmp	.L12
.L15:
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	mov	rax, QWORD PTR -104[rbp]
	add	rax, rcx
	mov	eax, DWORD PTR [rax]
	cmp	edx, eax
	jg	.L13
	mov	eax, DWORD PTR -96[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -96[rbp], edx
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -104[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -88[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -88[rbp], edx
	mov	edx, DWORD PTR [rcx]
	cdqe
	mov	DWORD PTR -80[rbp+rax*4], edx
	jmp	.L12
.L13:
	mov	eax, DWORD PTR -92[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -92[rbp], edx
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -104[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -88[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -88[rbp], edx
	mov	edx, DWORD PTR [rcx]
	cdqe
	mov	DWORD PTR -80[rbp+rax*4], edx
.L12:
	mov	eax, DWORD PTR -96[rbp]
	cmp	eax, DWORD PTR -112[rbp]
	jg	.L16
	mov	eax, DWORD PTR -92[rbp]
	cmp	eax, DWORD PTR -116[rbp]
	jle	.L15
	jmp	.L16
.L17:
	mov	eax, DWORD PTR -96[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -96[rbp], edx
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -104[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -88[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -88[rbp], edx
	mov	edx, DWORD PTR [rcx]
	cdqe
	mov	DWORD PTR -80[rbp+rax*4], edx
.L16:
	mov	eax, DWORD PTR -96[rbp]
	cmp	eax, DWORD PTR -112[rbp]
	jle	.L17
	jmp	.L18
.L19:
	mov	eax, DWORD PTR -92[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -92[rbp], edx
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -104[rbp]
	lea	rcx, [rdx+rax]
	mov	eax, DWORD PTR -88[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -88[rbp], edx
	mov	edx, DWORD PTR [rcx]
	cdqe
	mov	DWORD PTR -80[rbp+rax*4], edx
.L18:
	mov	eax, DWORD PTR -92[rbp]
	cmp	eax, DWORD PTR -116[rbp]
	jle	.L19
	mov	eax, DWORD PTR -108[rbp]
	mov	DWORD PTR -84[rbp], eax
	jmp	.L20
.L21:
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -104[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -84[rbp]
	cdqe
	mov	eax, DWORD PTR -80[rbp+rax*4]
	mov	DWORD PTR [rdx], eax
	add	DWORD PTR -84[rbp], 1
.L20:
	mov	eax, DWORD PTR -84[rbp]
	cmp	eax, DWORD PTR -116[rbp]
	jle	.L21
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L22
	call	__stack_chk_fail@PLT
.L22:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	merge, .-merge
	.section	.rodata
.LC4:
	.string	"[%s] pid: %u, tid: %x\n"
	.text
	.globl	t_print
	.type	t_print, @function
t_print:
.LFB11:
	.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	QWORD PTR -40[rbp], rdi
	call	getpid@PLT
	mov	DWORD PTR -20[rbp], eax
	call	pthread_self@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	ecx, eax
	mov	edx, DWORD PTR -20[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	sleep@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	t_print, .-t_print
	.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	"219364.c"
	.text
	.section	.rodata
	.align	2
.LC2:
	.ascii	"thread_1\000"
	.align	2
.LC3:
	.ascii	"thread_2\000"
	.align	2
.LC4:
	.ascii	"thread_3\000"
	.align	2
.LC5:
	.ascii	"%d \000"
	.align	2
.LC0:
	.word	5
	.word	16
	.word	4
	.word	7
	.word	1
	.word	3
	.word	2
	.word	6
	.word	8
	.word	13
	.word	11
	.word	9
	.word	10
	.word	12
	.word	15
	.word	14
	.align	2
.LC1:
	.ascii	"thread_m\000"
	.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 = 160
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #160
	str	r0, [fp, #-160]
	str	r1, [fp, #-164]
	ldr	r3, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L6+4
	sub	ip, fp, #84
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2, r3}
	stm	ip, {r0, r1, r2, r3}
	ldr	r2, .L6+8
	sub	r3, fp, #20
	ldm	r2, {r0, r1, r2}
	stmia	r3!, {r0, r1}
	strb	r2, [r3]
	sub	r3, fp, #20
	mov	r0, r3
	bl	t_print
	mov	r3, #8
	str	r3, [fp, #-148]
	ldr	r3, .L6+12
	str	r3, [fp, #-144]
	mov	r3, #0
	str	r3, [fp, #-140]
	ldr	r3, [fp, #-148]
	str	r3, [fp, #-136]
	sub	r3, fp, #84
	str	r3, [fp, #-132]
	ldr	r3, .L6+16
	str	r3, [fp, #-128]
	ldr	r3, [fp, #-148]
	add	r3, r3, #1
	str	r3, [fp, #-124]
	mov	r3, #15
	str	r3, [fp, #-120]
	sub	r3, fp, #84
	str	r3, [fp, #-116]
	ldr	r3, .L6+20
	str	r3, [fp, #-112]
	ldr	r3, [fp, #-148]
	str	r3, [fp, #-108]
	mov	r3, #15
	str	r3, [fp, #-104]
	sub	r3, fp, #84
	str	r3, [fp, #-100]
	sub	r3, fp, #144
	sub	r0, fp, #96
	ldr	r2, .L6+24
	mov	r1, #0
	bl	pthread_create
	sub	r2, fp, #128
	sub	r3, fp, #96
	add	r0, r3, #4
	mov	r3, r2
	ldr	r2, .L6+24
	mov	r1, #0
	bl	pthread_create
	ldr	r3, [fp, #-96]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	ldr	r3, [fp, #-92]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	sub	r2, fp, #112
	sub	r3, fp, #96
	add	r0, r3, #8
	mov	r3, r2
	ldr	r2, .L6+28
	mov	r1, #0
	bl	pthread_create
	ldr	r3, [fp, #-88]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	mov	r3, #0
	str	r3, [fp, #-152]
	b	.L2
.L3:
	ldr	r3, [fp, #-152]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-80]
	mov	r1, r3
	ldr	r0, .L6+32
	bl	printf
	ldr	r3, [fp, #-152]
	add	r3, r3, #1
	str	r3, [fp, #-152]
.L2:
	ldr	r3, [fp, #-152]
	cmp	r3, #15
	ble	.L3
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	ldr	r2, .L6
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L5
	bl	__stack_chk_fail
.L5:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC6
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	sort_thread
	.word	merge_thread
	.word	.LC5
	.size	main, .-main
	.align	2
	.global	sort_thread
	.syntax unified
	.arm
	.fpu softvfp
	.type	sort_thread, %function
sort_thread:
	@ 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]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r0, r3
	bl	t_print
	ldr	r3, [fp, #-8]
	ldr	r0, [r3, #12]
	ldr	r3, [fp, #-8]
	ldr	r1, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	mov	r2, r3
	bl	merge_sort
	mov	r0, #0
	bl	pthread_exit
	.size	sort_thread, .-sort_thread
	.align	2
	.global	merge_thread
	.syntax unified
	.arm
	.fpu softvfp
	.type	merge_thread, %function
merge_thread:
	@ 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]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	mov	r0, r3
	bl	t_print
	ldr	r3, [fp, #-8]
	ldr	r0, [r3, #12]
	ldr	r3, [fp, #-8]
	ldr	r2, [r3, #4]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #8]
	mov	r1, #0
	bl	merge
	mov	r0, #0
	bl	pthread_exit
	.size	merge_thread, .-merge_thread
	.align	2
	.global	merge_sort
	.syntax unified
	.arm
	.fpu softvfp
	.type	merge_sort, %function
merge_sort:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bge	.L12
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	merge_sort
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	ldr	r2, [fp, #-24]
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	merge_sort
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-8]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-16]
	bl	merge
.L12:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	merge_sort, .-merge_sort
	.section	.rodata
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	merge
	.syntax unified
	.arm
	.fpu softvfp
	.type	merge, %function
merge:
	@ args = 0, pretend = 0, frame = 104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #104
	str	r0, [fp, #-96]
	str	r1, [fp, #-100]
	str	r2, [fp, #-104]
	str	r3, [fp, #-108]
	ldr	r3, .L25
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-100]
	str	r3, [fp, #-88]
	ldr	r3, [fp, #-104]
	add	r3, r3, #1
	str	r3, [fp, #-84]
	ldr	r3, [fp, #-100]
	str	r3, [fp, #-80]
	b	.L14
.L17:
	ldr	r3, [fp, #-88]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-96]
	add	r3, r2, r3
	ldr	r2, [r3]
	ldr	r3, [fp, #-84]
	lsl	r3, r3, #2
	ldr	r1, [fp, #-96]
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r2, r3
	bgt	.L15
	ldr	r3, [fp, #-88]
	add	r2, r3, #1
	str	r2, [fp, #-88]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-96]
	add	r2, r2, r3
	ldr	r3, [fp, #-80]
	add	r1, r3, #1
	str	r1, [fp, #-80]
	ldr	r2, [r2]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-68]
	b	.L14
.L15:
	ldr	r3, [fp, #-84]
	add	r2, r3, #1
	str	r2, [fp, #-84]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-96]
	add	r2, r2, r3
	ldr	r3, [fp, #-80]
	add	r1, r3, #1
	str	r1, [fp, #-80]
	ldr	r2, [r2]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-68]
.L14:
	ldr	r2, [fp, #-88]
	ldr	r3, [fp, #-104]
	cmp	r2, r3
	bgt	.L18
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-108]
	cmp	r2, r3
	ble	.L17
	b	.L18
.L19:
	ldr	r3, [fp, #-88]
	add	r2, r3, #1
	str	r2, [fp, #-88]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-96]
	add	r2, r2, r3
	ldr	r3, [fp, #-80]
	add	r1, r3, #1
	str	r1, [fp, #-80]
	ldr	r2, [r2]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-68]
.L18:
	ldr	r2, [fp, #-88]
	ldr	r3, [fp, #-104]
	cmp	r2, r3
	ble	.L19
	b	.L20
.L21:
	ldr	r3, [fp, #-84]
	add	r2, r3, #1
	str	r2, [fp, #-84]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-96]
	add	r2, r2, r3
	ldr	r3, [fp, #-80]
	add	r1, r3, #1
	str	r1, [fp, #-80]
	ldr	r2, [r2]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-68]
.L20:
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-108]
	cmp	r2, r3
	ble	.L21
	ldr	r3, [fp, #-100]
	str	r3, [fp, #-76]
	b	.L22
.L23:
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-96]
	add	r2, r2, r3
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-68]
	str	r3, [r2]
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L22:
	ldr	r2, [fp, #-76]
	ldr	r3, [fp, #-108]
	cmp	r2, r3
	ble	.L23
	nop
	ldr	r3, .L25
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L24
	bl	__stack_chk_fail
.L24:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC7
	.size	merge, .-merge
	.section	.rodata
	.align	2
.LC8:
	.ascii	"[%s] pid: %u, tid: %x\012\000"
	.text
	.align	2
	.global	t_print
	.syntax unified
	.arm
	.fpu softvfp
	.type	t_print, %function
t_print:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	bl	getpid
	str	r0, [fp, #-16]
	bl	pthread_self
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-24]
	str	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	ldr	r1, [fp, #-8]
	ldr	r0, .L28
	bl	printf
	mov	r0, #1
	bl	sleep
	nop
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	.LC8
	.size	t_print, .-t_print
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
