	.file	"141478.c"
	.intel_syntax noprefix
	.text
	.globl	total_entries
	.bss
	.align 4
	.type	total_entries, @object
	.size	total_entries, 4
total_entries:
	.zero	4
	.section	.rodata
.LC0:
	.string	"%s"
	.text
	.globl	create_contact
	.type	create_contact, @function
create_contact:
.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	QWORD PTR -32[rbp], rsi
	mov	edi, 92
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR total_entries[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR total_entries[rip], edx
	mov	rdx, QWORD PTR -8[rbp]
	mov	DWORD PTR [rdx], eax
	mov	rax, QWORD PTR -8[rbp]
	lea	rcx, 4[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	rdx, rax
	lea	rsi, .LC0[rip]
	mov	rdi, rcx
	mov	eax, 0
	call	sprintf@PLT
	mov	rax, QWORD PTR -8[rbp]
	lea	rcx, 69[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	rdx, rax
	lea	rsi, .LC0[rip]
	mov	rdi, rcx
	mov	eax, 0
	call	sprintf@PLT
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	create_contact, .-create_contact
	.section	.rodata
	.align 8
.LC1:
	.string	"person: id=%d, name='%s', phone='%s'\n"
	.text
	.globl	print_contact
	.type	print_contact, @function
print_contact:
.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	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	lea	rcx, 69[rax]
	mov	rax, QWORD PTR -8[rbp]
	lea	rdx, 4[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	print_contact, .-print_contact
	.section	.rodata
.LC2:
	.string	"+393331234567"
.LC3:
	.string	"pino rossi"
.LC4:
	.string	"errore in create_contact!"
.LC5:
	.string	"+393487654321"
.LC6:
	.string	"gino verdi"
	.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
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	lea	rsi, .LC2[rip]
	lea	rdi, .LC3[rip]
	call	create_contact
	mov	QWORD PTR -16[rbp], rax
	cmp	QWORD PTR -16[rbp], 0
	jne	.L5
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L5:
	lea	rsi, .LC5[rip]
	lea	rdi, .LC6[rip]
	call	create_contact
	mov	QWORD PTR -8[rbp], rax
	cmp	QWORD PTR -8[rbp], 0
	jne	.L6
	lea	rdi, .LC4[rip]
	call	puts@PLT
	mov	edi, 1
	call	exit@PLT
.L6:
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	print_contact
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	print_contact
	mov	eax, 0
	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	"141478.c"
	.text
	.global	total_entries
	.bss
	.align	2
	.type	total_entries, %object
	.size	total_entries, 4
total_entries:
	.space	4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%s\000"
	.text
	.align	2
	.global	create_contact
	.syntax unified
	.arm
	.fpu softvfp
	.type	create_contact, %function
create_contact:
	@ 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	r0, #92
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, .L3
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L3
	str	r2, [r1]
	ldr	r2, [fp, #-8]
	str	r3, [r2]
	ldr	r3, [fp, #-8]
	add	r3, r3, #4
	ldr	r2, [fp, #-16]
	ldr	r1, .L3+4
	mov	r0, r3
	bl	sprintf
	ldr	r3, [fp, #-8]
	add	r3, r3, #69
	ldr	r2, [fp, #-20]
	ldr	r1, .L3+4
	mov	r0, r3
	bl	sprintf
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L4:
	.align	2
.L3:
	.word	total_entries
	.word	.LC0
	.size	create_contact, .-create_contact
	.section	.rodata
	.align	2
.LC1:
	.ascii	"person: id=%d, name='%s', phone='%s'\012\000"
	.text
	.align	2
	.global	print_contact
	.syntax unified
	.arm
	.fpu softvfp
	.type	print_contact, %function
print_contact:
	@ 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	r3, [fp, #-8]
	ldr	r1, [r3]
	ldr	r3, [fp, #-8]
	add	r2, r3, #4
	ldr	r3, [fp, #-8]
	add	r3, r3, #69
	ldr	r0, .L6
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC1
	.size	print_contact, .-print_contact
	.section	.rodata
	.align	2
.LC2:
	.ascii	"+393331234567\000"
	.align	2
.LC3:
	.ascii	"pino rossi\000"
	.align	2
.LC4:
	.ascii	"errore in create_contact!\000"
	.align	2
.LC5:
	.ascii	"+393487654321\000"
	.align	2
.LC6:
	.ascii	"gino verdi\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ 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]
	ldr	r1, .L12
	ldr	r0, .L12+4
	bl	create_contact
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bne	.L9
	ldr	r0, .L12+8
	bl	puts
	mov	r0, #1
	bl	exit
.L9:
	ldr	r1, .L12+12
	ldr	r0, .L12+16
	bl	create_contact
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L10
	ldr	r0, .L12+8
	bl	puts
	mov	r0, #1
	bl	exit
.L10:
	ldr	r0, [fp, #-12]
	bl	print_contact
	ldr	r0, [fp, #-8]
	bl	print_contact
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
