	.file	"767020.c"
	.intel_syntax noprefix
	.text
	.globl	alloc
	.type	alloc, @function
alloc:
.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	eax, DWORD PTR 8[rax]
	cdqe
	mov	rsi, rax
	mov	edi, 1
	call	calloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rdx, QWORD PTR -24[rbp]
	mov	QWORD PTR [rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	alloc, .-alloc
	.globl	Animal_getID
	.type	Animal_getID, @function
Animal_getID:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR 8[rax]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	Animal_getID, .-Animal_getID
	.section	.rodata
.LC0:
	.string	"%d\n"
	.text
	.globl	Animal_speak
	.type	Animal_speak, @function
Animal_speak:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 16[rax]
	mov	rdx, QWORD PTR [rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	rdx
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	Animal_speak, .-Animal_speak
	.globl	Animal_vtable
	.section	.data.rel.local,"aw"
	.align 16
	.type	Animal_vtable, @object
	.size	Animal_vtable, 16
Animal_vtable:
	.quad	Animal_getID
	.quad	Animal_speak
	.globl	Animal_metadata
	.section	.rodata
.LC1:
	.string	"Animal"
	.section	.data.rel.local
	.align 16
	.type	Animal_metadata, @object
	.size	Animal_metadata, 24
Animal_metadata:
	.quad	.LC1
	.long	16
	.zero	4
	.quad	Animal_vtable
	.section	.rodata
.LC2:
	.string	"woof!"
	.text
	.globl	Dog_speak
	.type	Dog_speak, @function
Dog_speak:
.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, 16
	mov	QWORD PTR -8[rbp], rdi
	lea	rdi, .LC2[rip]
	call	puts@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	Dog_speak, .-Dog_speak
	.globl	Dog_vtable
	.section	.data.rel.local
	.align 16
	.type	Dog_vtable, @object
	.size	Dog_vtable, 16
Dog_vtable:
	.quad	Animal_getID
	.quad	Dog_speak
	.globl	Dog_metadata
	.section	.rodata
.LC3:
	.string	"Dog"
	.section	.data.rel.local
	.align 16
	.type	Dog_metadata, @object
	.size	Dog_metadata, 24
Dog_metadata:
	.quad	.LC3
	.long	16
	.zero	4
	.quad	Dog_vtable
	.text
	.globl	main
	.type	main, @function
main:
.LFB10:
	.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	rdi, Dog_metadata[rip]
	call	alloc
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 16[rax]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR 16[rax]
	mov	rdx, QWORD PTR 8[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	rdx
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.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	"767020.c"
	.text
	.align	2
	.global	alloc
	.syntax unified
	.arm
	.fpu softvfp
	.type	alloc, %function
alloc:
	@ 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]
	ldr	r3, [r3, #4]
	mov	r1, r3
	mov	r0, #1
	bl	calloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	str	r2, [r3]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	alloc, .-alloc
	.align	2
	.global	Animal_getID
	.syntax unified
	.arm
	.fpu softvfp
	.type	Animal_getID, %function
Animal_getID:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	Animal_getID, .-Animal_getID
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\012\000"
	.text
	.align	2
	.global	Animal_speak
	.syntax unified
	.arm
	.fpu softvfp
	.type	Animal_speak, %function
Animal_speak:
	@ 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	r3, [r3]
	ldr	r3, [r3, #8]
	ldr	r3, [r3]
	ldr	r0, [fp, #-8]
	blx	r3
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L6
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC0
	.size	Animal_speak, .-Animal_speak
	.global	Animal_vtable
	.data
	.align	2
	.type	Animal_vtable, %object
	.size	Animal_vtable, 8
Animal_vtable:
	.word	Animal_getID
	.word	Animal_speak
	.global	Animal_metadata
	.section	.rodata
	.align	2
.LC1:
	.ascii	"Animal\000"
	.data
	.align	2
	.type	Animal_metadata, %object
	.size	Animal_metadata, 12
Animal_metadata:
	.word	.LC1
	.word	8
	.word	Animal_vtable
	.section	.rodata
	.align	2
.LC2:
	.ascii	"woof!\000"
	.text
	.align	2
	.global	Dog_speak
	.syntax unified
	.arm
	.fpu softvfp
	.type	Dog_speak, %function
Dog_speak:
	@ 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	r0, .L9
	bl	puts
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC2
	.size	Dog_speak, .-Dog_speak
	.global	Dog_vtable
	.data
	.align	2
	.type	Dog_vtable, %object
	.size	Dog_vtable, 8
Dog_vtable:
	.word	Animal_getID
	.word	Dog_speak
	.global	Dog_metadata
	.section	.rodata
	.align	2
.LC3:
	.ascii	"Dog\000"
	.data
	.align	2
	.type	Dog_metadata, %object
	.size	Dog_metadata, 12
Dog_metadata:
	.word	.LC3
	.word	8
	.word	Dog_vtable
	.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	r0, .L13
	bl	alloc
	str	r0, [fp, #-12]
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #4]
	ldr	r0, [fp, #-8]
	blx	r3
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	ldr	r3, [r3, #4]
	ldr	r0, [fp, #-12]
	blx	r3
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L14:
	.align	2
.L13:
	.word	Dog_metadata
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
