	.file	"422493.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"child: startup %s\n"
.LC1:
	.string	"child: %s counts i=%d\n"
.LC2:
	.string	"child: shutdown %s\n"
	.text
	.type	child, @function
child:
.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
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -8[rbp]
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	DWORD PTR -12[rbp], 0
	jmp	.L2
.L4:
	mov	edx, DWORD PTR -12[rbp]
	lea	eax, 1[rdx]
	mov	DWORD PTR -12[rbp], eax
	movsx	rax, edx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 2
	mov	esi, edx
	sar	esi, 31
	sub	eax, esi
	mov	ecx, eax
	mov	eax, ecx
	sal	eax, 2
	add	eax, ecx
	add	eax, eax
	mov	ecx, edx
	sub	ecx, eax
	test	ecx, ecx
	jne	.L3
	mov	edi, 1
	call	sleep@PLT
.L3:
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, DWORD PTR -12[rbp]
	mov	rdx, QWORD PTR -8[rbp]
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	add	DWORD PTR -12[rbp], 1
.L2:
	cmp	DWORD PTR -12[rbp], 99
	jle	.L4
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -8[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -24[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	child, .-child
	.section	.rodata
.LC3:
	.string	"main: init\n"
	.align 8
.LC4:
	.string	"main: initializing attribute object\n"
.LC5:
	.string	"pthread_attr_init"
.LC6:
	.string	"**die: %s: errno=%d\n"
.LC7:
	.string	"pthread_attr_setdetachstate"
.LC8:
	.string	"main: create thread 1\n"
.LC9:
	.string	"foo"
.LC10:
	.string	"pthread_create"
.LC11:
	.string	"main: create thread 2\n"
.LC12:
	.string	"bar"
.LC13:
	.string	"main: create thread 3\n"
.LC14:
	.string	"baz"
.LC15:
	.string	"main: create thread 4\n"
.LC16:
	.string	"quux"
	.align 8
.LC17:
	.string	"main: destroying attribute object\n"
.LC18:
	.string	"pthread_attr_destroy"
.LC19:
	.string	"main: joining...\n"
.LC20:
	.string	"pthread_join"
.LC21:
	.string	"main: joined thread: %s\n"
.LC22:
	.string	"main: exit\n"
	.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
	add	rsp, -128
	mov	DWORD PTR -116[rbp], edi
	mov	QWORD PTR -128[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 11
	mov	esi, 1
	lea	rdi, .LC3[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 36
	mov	esi, 1
	lea	rdi, .LC4[rip]
	call	fwrite@PLT
	lea	rax, -64[rbp]
	mov	rdi, rax
	call	pthread_attr_init@PLT
	test	eax, eax
	je	.L7
	call	__errno_location@PLT
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, edx
	lea	rdx, .LC5[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L7:
	lea	rax, -64[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_attr_setdetachstate@PLT
	test	eax, eax
	je	.L8
	call	__errno_location@PLT
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, edx
	lea	rdx, .LC7[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L8:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 22
	mov	esi, 1
	lea	rdi, .LC8[rip]
	call	fwrite@PLT
	lea	rsi, -64[rbp]
	lea	rax, -96[rbp]
	lea	rcx, .LC9[rip]
	lea	rdx, child[rip]
	mov	rdi, rax
	call	pthread_create@PLT
	test	eax, eax
	je	.L9
	call	__errno_location@PLT
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, edx
	lea	rdx, .LC10[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L9:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 22
	mov	esi, 1
	lea	rdi, .LC11[rip]
	call	fwrite@PLT
	lea	rax, -64[rbp]
	lea	rdx, -96[rbp]
	lea	rdi, 8[rdx]
	lea	rcx, .LC12[rip]
	lea	rdx, child[rip]
	mov	rsi, rax
	call	pthread_create@PLT
	test	eax, eax
	je	.L10
	call	__errno_location@PLT
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, edx
	lea	rdx, .LC10[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L10:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 22
	mov	esi, 1
	lea	rdi, .LC13[rip]
	call	fwrite@PLT
	lea	rax, -64[rbp]
	lea	rdx, -96[rbp]
	lea	rdi, 16[rdx]
	lea	rcx, .LC14[rip]
	lea	rdx, child[rip]
	mov	rsi, rax
	call	pthread_create@PLT
	test	eax, eax
	je	.L11
	call	__errno_location@PLT
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, edx
	lea	rdx, .LC10[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L11:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 22
	mov	esi, 1
	lea	rdi, .LC15[rip]
	call	fwrite@PLT
	lea	rax, -64[rbp]
	lea	rdx, -96[rbp]
	lea	rdi, 24[rdx]
	lea	rcx, .LC16[rip]
	lea	rdx, child[rip]
	mov	rsi, rax
	call	pthread_create@PLT
	test	eax, eax
	je	.L12
	call	__errno_location@PLT
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, edx
	lea	rdx, .LC10[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L12:
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 34
	mov	esi, 1
	lea	rdi, .LC17[rip]
	call	fwrite@PLT
	lea	rax, -64[rbp]
	mov	rdi, rax
	call	pthread_attr_destroy@PLT
	test	eax, eax
	je	.L13
	call	__errno_location@PLT
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, edx
	lea	rdx, .LC18[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L13:
	mov	edi, 3
	call	sleep@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 17
	mov	esi, 1
	lea	rdi, .LC19[rip]
	call	fwrite@PLT
	mov	rax, QWORD PTR -96[rbp]
	lea	rdx, -104[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	pthread_join@PLT
	test	eax, eax
	je	.L14
	call	__errno_location@PLT
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, edx
	lea	rdx, .LC20[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L14:
	mov	rdx, QWORD PTR -104[rbp]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -88[rbp]
	lea	rdx, -104[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	pthread_join@PLT
	test	eax, eax
	je	.L15
	call	__errno_location@PLT
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, edx
	lea	rdx, .LC20[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L15:
	mov	rdx, QWORD PTR -104[rbp]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -80[rbp]
	lea	rdx, -104[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	pthread_join@PLT
	test	eax, eax
	je	.L16
	call	__errno_location@PLT
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, edx
	lea	rdx, .LC20[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L16:
	mov	rdx, QWORD PTR -104[rbp]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR -72[rbp]
	lea	rdx, -104[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	pthread_join@PLT
	test	eax, eax
	je	.L17
	call	__errno_location@PLT
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR stderr[rip]
	mov	ecx, edx
	lea	rdx, .LC20[rip]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L17:
	mov	rdx, QWORD PTR -104[rbp]
	mov	rax, QWORD PTR stderr[rip]
	lea	rsi, .LC21[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	rax, QWORD PTR stderr[rip]
	mov	rcx, rax
	mov	edx, 11
	mov	esi, 1
	lea	rdi, .LC22[rip]
	call	fwrite@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	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	"422493.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"child: startup %s\012\000"
	.align	2
.LC1:
	.ascii	"child: %s counts i=%d\012\000"
	.align	2
.LC2:
	.ascii	"child: shutdown %s\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	child, %function
child:
	@ 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, .L6
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	ldr	r1, .L6+4
	mov	r0, r3
	bl	fprintf
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L2
.L4:
	ldr	r2, [fp, #-12]
	add	r3, r2, #1
	str	r3, [fp, #-12]
	ldr	r3, .L6+8
	smull	r1, r3, r2, r3
	asr	r1, r3, #2
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #1
	sub	r1, r2, r3
	cmp	r1, #0
	bne	.L3
	mov	r0, #1
	bl	sleep
.L3:
	ldr	r3, .L6
	ldr	r0, [r3]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-8]
	ldr	r1, .L6+12
	bl	fprintf
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L2:
	ldr	r3, [fp, #-12]
	cmp	r3, #99
	ble	.L4
	ldr	r3, .L6
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	ldr	r1, .L6+16
	mov	r0, r3
	bl	fprintf
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	stderr
	.word	.LC0
	.word	1717986919
	.word	.LC1
	.word	.LC2
	.size	child, .-child
	.section	.rodata
	.align	2
.LC3:
	.ascii	"main: init\012\000"
	.align	2
.LC4:
	.ascii	"main: initializing attribute object\012\000"
	.align	2
.LC5:
	.ascii	"pthread_attr_init\000"
	.align	2
.LC6:
	.ascii	"**die: %s: errno=%d\012\000"
	.align	2
.LC7:
	.ascii	"pthread_attr_setdetachstate\000"
	.align	2
.LC8:
	.ascii	"main: create thread 1\012\000"
	.align	2
.LC9:
	.ascii	"foo\000"
	.align	2
.LC10:
	.ascii	"pthread_create\000"
	.align	2
.LC11:
	.ascii	"main: create thread 2\012\000"
	.align	2
.LC12:
	.ascii	"bar\000"
	.align	2
.LC13:
	.ascii	"main: create thread 3\012\000"
	.align	2
.LC14:
	.ascii	"baz\000"
	.align	2
.LC15:
	.ascii	"main: create thread 4\012\000"
	.align	2
.LC16:
	.ascii	"quux\000"
	.align	2
.LC17:
	.ascii	"main: destroying attribute object\012\000"
	.align	2
.LC18:
	.ascii	"pthread_attr_destroy\000"
	.align	2
.LC19:
	.ascii	"main: joining...\012\000"
	.align	2
.LC20:
	.ascii	"pthread_join\000"
	.align	2
.LC21:
	.ascii	"main: joined thread: %s\012\000"
	.align	2
.LC22:
	.ascii	"main: exit\012\000"
	.align	2
.LC23:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #76
	str	r0, [fp, #-80]
	str	r1, [fp, #-84]
	ldr	r3, .L22
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, .L22+4
	ldr	r3, [r3]
	mov	r2, #11
	mov	r1, #1
	ldr	r0, .L22+8
	bl	fwrite
	ldr	r3, .L22+4
	ldr	r3, [r3]
	mov	r2, #36
	mov	r1, #1
	ldr	r0, .L22+12
	bl	fwrite
	sub	r3, fp, #52
	mov	r0, r3
	bl	pthread_attr_init
	mov	r3, r0
	cmp	r3, #0
	beq	.L9
	ldr	r3, .L22+4
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	ldr	r2, .L22+16
	ldr	r1, .L22+20
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L9:
	sub	r3, fp, #52
	mov	r1, #0
	mov	r0, r3
	bl	pthread_attr_setdetachstate
	mov	r3, r0
	cmp	r3, #0
	beq	.L10
	ldr	r3, .L22+4
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	ldr	r2, .L22+24
	ldr	r1, .L22+20
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L10:
	ldr	r3, .L22+4
	ldr	r3, [r3]
	mov	r2, #22
	mov	r1, #1
	ldr	r0, .L22+28
	bl	fwrite
	sub	r1, fp, #52
	sub	r0, fp, #68
	ldr	r3, .L22+32
	ldr	r2, .L22+36
	bl	pthread_create
	mov	r3, r0
	cmp	r3, #0
	beq	.L11
	ldr	r3, .L22+4
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	ldr	r2, .L22+40
	ldr	r1, .L22+20
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L11:
	ldr	r3, .L22+4
	ldr	r3, [r3]
	mov	r2, #22
	mov	r1, #1
	ldr	r0, .L22+44
	bl	fwrite
	sub	r1, fp, #52
	sub	r3, fp, #68
	add	r0, r3, #4
	ldr	r3, .L22+48
	ldr	r2, .L22+36
	bl	pthread_create
	mov	r3, r0
	cmp	r3, #0
	beq	.L12
	ldr	r3, .L22+4
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	ldr	r2, .L22+40
	ldr	r1, .L22+20
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L12:
	ldr	r3, .L22+4
	ldr	r3, [r3]
	mov	r2, #22
	mov	r1, #1
	ldr	r0, .L22+52
	bl	fwrite
	sub	r1, fp, #52
	sub	r3, fp, #68
	add	r0, r3, #8
	ldr	r3, .L22+56
	ldr	r2, .L22+36
	bl	pthread_create
	mov	r3, r0
	cmp	r3, #0
	beq	.L13
	ldr	r3, .L22+4
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	ldr	r2, .L22+40
	ldr	r1, .L22+20
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L13:
	ldr	r3, .L22+4
	ldr	r3, [r3]
	mov	r2, #22
	mov	r1, #1
	ldr	r0, .L22+60
	bl	fwrite
	sub	r1, fp, #52
	sub	r3, fp, #68
	add	r0, r3, #12
	ldr	r3, .L22+64
	ldr	r2, .L22+36
	bl	pthread_create
	mov	r3, r0
	cmp	r3, #0
	beq	.L14
	ldr	r3, .L22+4
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	ldr	r2, .L22+40
	ldr	r1, .L22+20
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L14:
	ldr	r3, .L22+4
	ldr	r3, [r3]
	mov	r2, #34
	mov	r1, #1
	ldr	r0, .L22+68
	bl	fwrite
	sub	r3, fp, #52
	mov	r0, r3
	bl	pthread_attr_destroy
	mov	r3, r0
	cmp	r3, #0
	beq	.L15
	ldr	r3, .L22+4
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	ldr	r2, .L22+72
	ldr	r1, .L22+20
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L15:
	mov	r0, #3
	bl	sleep
	ldr	r3, .L22+4
	ldr	r3, [r3]
	mov	r2, #17
	mov	r1, #1
	ldr	r0, .L22+76
	bl	fwrite
	ldr	r3, [fp, #-68]
	sub	r2, fp, #72
	mov	r1, r2
	mov	r0, r3
	bl	pthread_join
	mov	r3, r0
	cmp	r3, #0
	beq	.L16
	ldr	r3, .L22+4
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	ldr	r2, .L22+80
	ldr	r1, .L22+20
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L16:
	ldr	r3, .L22+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-72]
	ldr	r1, .L22+84
	mov	r0, r3
	bl	fprintf
	ldr	r3, [fp, #-64]
	sub	r2, fp, #72
	mov	r1, r2
	mov	r0, r3
	bl	pthread_join
	mov	r3, r0
	cmp	r3, #0
	beq	.L17
	ldr	r3, .L22+4
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	ldr	r2, .L22+80
	ldr	r1, .L22+20
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L17:
	ldr	r3, .L22+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-72]
	ldr	r1, .L22+84
	mov	r0, r3
	bl	fprintf
	ldr	r3, [fp, #-60]
	sub	r2, fp, #72
	mov	r1, r2
	mov	r0, r3
	bl	pthread_join
	mov	r3, r0
	cmp	r3, #0
	beq	.L18
	ldr	r3, .L22+4
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	ldr	r2, .L22+80
	ldr	r1, .L22+20
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L18:
	ldr	r3, .L22+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-72]
	ldr	r1, .L22+84
	mov	r0, r3
	bl	fprintf
	ldr	r3, [fp, #-56]
	sub	r2, fp, #72
	mov	r1, r2
	mov	r0, r3
	bl	pthread_join
	mov	r3, r0
	cmp	r3, #0
	beq	.L19
	ldr	r3, .L22+4
	ldr	r4, [r3]
	bl	__errno_location
	mov	r3, r0
	ldr	r3, [r3]
	ldr	r2, .L22+80
	ldr	r1, .L22+20
	mov	r0, r4
	bl	fprintf
	mov	r0, #1
	bl	exit
.L19:
	ldr	r3, .L22+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-72]
	ldr	r1, .L22+84
	mov	r0, r3
	bl	fprintf
	ldr	r3, .L22+4
	ldr	r3, [r3]
	mov	r2, #11
	mov	r1, #1
	ldr	r0, .L22+88
	bl	fwrite
	mov	r3, #0
	ldr	r2, .L22
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L21
	bl	__stack_chk_fail
.L21:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC23
	.word	stderr
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	child
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.word	.LC20
	.word	.LC21
	.word	.LC22
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
