	.file	"354873.c"
	.intel_syntax noprefix
	.text
	.globl	createFriendBook
	.type	createFriendBook, @function
createFriendBook:
.LFB6:
	.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, 40
	.cfi_offset 3, -24
	mov	DWORD PTR -36[rbp], edi
	mov	eax, DWORD PTR -36[rbp]
	sal	rax, 3
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	jne	.L2
	mov	eax, 0
	jmp	.L3
.L2:
	mov	DWORD PTR -28[rbp], 0
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -28[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	lea	rbx, [rdx+rax]
	mov	edi, 20
	call	malloc@PLT
	mov	QWORD PTR [rbx], rax
	add	DWORD PTR -28[rbp], 1
.L4:
	mov	eax, DWORD PTR -28[rbp]
	cmp	eax, DWORD PTR -36[rbp]
	jb	.L5
	mov	rax, QWORD PTR -24[rbp]
.L3:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	createFriendBook, .-createFriendBook
	.globl	freeFriendBook
	.type	freeFriendBook, @function
freeFriendBook:
.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	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L7
.L8:
	mov	eax, DWORD PTR -4[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	free@PLT
	add	DWORD PTR -4[rbp], 1
.L7:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -28[rbp]
	jb	.L8
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	freeFriendBook, .-freeFriendBook
	.section	.rodata
.LC0:
	.string	"Jan Schaffranek"
.LC1:
	.string	"Peter Lustig"
.LC2:
	.string	"Hans Meier"
.LC3:
	.string	"%lu\n"
.LC4:
	.string	"%d\n"
.LC5:
	.string	"Jan"
.LC6:
	.string	" "
	.text
	.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
	push	rbx
	sub	rsp, 104
	.cfi_offset 3, -24
	mov	DWORD PTR -96[rbp], 3
	mov	eax, DWORD PTR -96[rbp]
	mov	edi, eax
	call	createFriendBook
	mov	QWORD PTR -80[rbp], rax
	mov	rax, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, 20
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	strncpy@PLT
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	edx, 20
	lea	rsi, .LC1[rip]
	mov	rdi, rax
	call	strncpy@PLT
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	edx, 20
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	call	strncpy@PLT
	mov	rax, QWORD PTR -80[rbp]
	mov	rbx, QWORD PTR [rax]
	mov	rdi, rbx
	call	strlen@PLT
	add	rax, rbx
	mov	DWORD PTR [rax], 779240480
	mov	BYTE PTR 4[rax], 0
	mov	DWORD PTR -100[rbp], 0
	jmp	.L11
.L12:
	mov	eax, DWORD PTR -100[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	puts@PLT
	add	DWORD PTR -100[rbp], 1
.L11:
	mov	eax, DWORD PTR -100[rbp]
	cmp	eax, DWORD PTR -96[rbp]
	jb	.L12
	mov	rax, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	mov	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	mov	QWORD PTR -64[rbp], rax
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	strlen@PLT
	mov	QWORD PTR -56[rbp], rax
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 8
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, 20
	mov	rsi, rcx
	mov	rdi, rax
	call	strncmp@PLT
	mov	DWORD PTR -92[rbp], eax
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 16
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR [rax]
	mov	edx, 20
	mov	rsi, rcx
	mov	rdi, rax
	call	strncmp@PLT
	mov	DWORD PTR -88[rbp], eax
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 16
	mov	rcx, QWORD PTR [rax]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	edx, 20
	mov	rsi, rcx
	mov	rdi, rax
	call	strncmp@PLT
	mov	DWORD PTR -84[rbp], eax
	mov	eax, DWORD PTR -92[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -88[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -84[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR [rax]
	mov	esi, 110
	mov	rdi, rax
	call	strchr@PLT
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR [rax]
	mov	esi, 110
	mov	rdi, rax
	call	strrchr@PLT
	mov	QWORD PTR -40[rbp], rax
	cmp	QWORD PTR -48[rbp], 0
	je	.L13
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	puts@PLT
.L13:
	cmp	QWORD PTR -40[rbp], 0
	je	.L14
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	puts@PLT
.L14:
	mov	rax, QWORD PTR -80[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	call	strstr@PLT
	mov	QWORD PTR -32[rbp], rax
	cmp	QWORD PTR -32[rbp], 0
	je	.L15
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	puts@PLT
.L15:
	mov	rax, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	strtok@PLT
	mov	QWORD PTR -24[rbp], rax
	cmp	QWORD PTR -24[rbp], 0
	je	.L16
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	puts@PLT
.L16:
	mov	edx, DWORD PTR -96[rbp]
	mov	rax, QWORD PTR -80[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	freeFriendBook
	mov	QWORD PTR -80[rbp], rax
	mov	eax, 0
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.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	"354873.c"
	.text
	.align	2
	.global	createFriendBook
	.syntax unified
	.arm
	.fpu softvfp
	.type	createFriendBook, %function
createFriendBook:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	mov	r0, r3
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L2
	mov	r3, #0
	b	.L3
.L2:
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L4
.L5:
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r4, r2, r3
	mov	r0, #20
	bl	malloc
	mov	r3, r0
	str	r3, [r4]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L4:
	ldr	r2, [fp, #-20]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	bcc	.L5
	ldr	r3, [fp, #-16]
.L3:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	createFriendBook, .-createFriendBook
	.align	2
	.global	freeFriendBook
	.syntax unified
	.arm
	.fpu softvfp
	.type	freeFriendBook, %function
freeFriendBook:
	@ 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]
	str	r1, [fp, #-20]
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L7
.L8:
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	free
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L7:
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bcc	.L8
	ldr	r0, [fp, #-16]
	bl	free
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	freeFriendBook, .-freeFriendBook
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Jan Schaffranek\000"
	.align	2
.LC1:
	.ascii	"Peter Lustig\000"
	.align	2
.LC2:
	.ascii	"Hans Meier\000"
	.align	2
.LC3:
	.ascii	" Dr.\000"
	.align	2
.LC4:
	.ascii	"%lu\012\000"
	.align	2
.LC5:
	.ascii	"%d\012\000"
	.align	2
.LC6:
	.ascii	"Jan\000"
	.align	2
.LC7:
	.ascii	" \000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #60
	mov	r3, #3
	str	r3, [fp, #-60]
	ldr	r0, [fp, #-60]
	bl	createFriendBook
	str	r0, [fp, #-56]
	ldr	r3, [fp, #-56]
	ldr	r3, [r3]
	mov	r2, #20
	ldr	r1, .L18
	mov	r0, r3
	bl	strncpy
	ldr	r3, [fp, #-56]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r2, #20
	ldr	r1, .L18+4
	mov	r0, r3
	bl	strncpy
	ldr	r3, [fp, #-56]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r2, #20
	ldr	r1, .L18+8
	mov	r0, r3
	bl	strncpy
	ldr	r3, [fp, #-56]
	ldr	r4, [r3]
	mov	r0, r4
	bl	strlen
	mov	r3, r0
	add	r3, r4, r3
	ldr	r2, .L18+12
	mov	r0, r3
	mov	r1, r2
	mov	r3, #5
	mov	r2, r3
	bl	memcpy
	mov	r3, #0
	str	r3, [fp, #-64]
	b	.L11
.L12:
	ldr	r3, [fp, #-64]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-56]
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r0, r3
	bl	puts
	ldr	r3, [fp, #-64]
	add	r3, r3, #1
	str	r3, [fp, #-64]
.L11:
	ldr	r2, [fp, #-64]
	ldr	r3, [fp, #-60]
	cmp	r2, r3
	bcc	.L12
	ldr	r3, [fp, #-56]
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	str	r0, [fp, #-52]
	ldr	r3, [fp, #-56]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	str	r0, [fp, #-48]
	ldr	r3, [fp, #-56]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r0, r3
	bl	strlen
	str	r0, [fp, #-44]
	ldr	r1, [fp, #-52]
	ldr	r0, .L18+16
	bl	printf
	ldr	r1, [fp, #-48]
	ldr	r0, .L18+16
	bl	printf
	ldr	r1, [fp, #-44]
	ldr	r0, .L18+16
	bl	printf
	ldr	r3, [fp, #-56]
	ldr	r0, [r3]
	ldr	r3, [fp, #-56]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r2, #20
	mov	r1, r3
	bl	strncmp
	str	r0, [fp, #-40]
	ldr	r3, [fp, #-56]
	ldr	r0, [r3]
	ldr	r3, [fp, #-56]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r2, #20
	mov	r1, r3
	bl	strncmp
	str	r0, [fp, #-36]
	ldr	r3, [fp, #-56]
	add	r3, r3, #4
	ldr	r0, [r3]
	ldr	r3, [fp, #-56]
	add	r3, r3, #8
	ldr	r3, [r3]
	mov	r2, #20
	mov	r1, r3
	bl	strncmp
	str	r0, [fp, #-32]
	ldr	r1, [fp, #-40]
	ldr	r0, .L18+20
	bl	printf
	ldr	r1, [fp, #-36]
	ldr	r0, .L18+20
	bl	printf
	ldr	r1, [fp, #-32]
	ldr	r0, .L18+20
	bl	printf
	ldr	r3, [fp, #-56]
	ldr	r3, [r3]
	mov	r1, #110
	mov	r0, r3
	bl	strchr
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-56]
	ldr	r3, [r3]
	mov	r1, #110
	mov	r0, r3
	bl	strrchr
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L13
	ldr	r0, [fp, #-28]
	bl	puts
.L13:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L14
	ldr	r0, [fp, #-24]
	bl	puts
.L14:
	ldr	r3, [fp, #-56]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L18+24
	mov	r0, r3
	bl	strstr
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	beq	.L15
	ldr	r0, [fp, #-20]
	bl	puts
.L15:
	ldr	r3, [fp, #-56]
	ldr	r3, [r3]
	ldr	r1, .L18+28
	mov	r0, r3
	bl	strtok
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L16
	ldr	r0, [fp, #-16]
	bl	puts
.L16:
	ldr	r1, [fp, #-60]
	ldr	r0, [fp, #-56]
	bl	freeFriendBook
	str	r0, [fp, #-56]
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
