	.file	"59512555.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"AAAA"
.LC1:
	.string	"Hello world!\n"
	.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, 96
	mov	DWORD PTR -84[rbp], edi
	mov	QWORD PTR -96[rbp], rsi
	mov	DWORD PTR -68[rbp], 0
	lea	rax, .LC0[rip]
	mov	QWORD PTR -64[rbp], rax
	cmp	DWORD PTR -84[rbp], 1
	jle	.L2
	mov	rax, QWORD PTR -96[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -68[rbp], eax
.L2:
	cmp	DWORD PTR -84[rbp], 2
	jle	.L3
	mov	rax, QWORD PTR -96[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -64[rbp], rax
.L3:
	mov	QWORD PTR -56[rbp], 0
	jmp	.L4
.L7:
	mov	edi, 98304
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	mov	QWORD PTR -48[rbp], 12288
	jmp	.L5
.L6:
	mov	rax, QWORD PTR -48[rbp]
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	mov	ecx, 4160354176
	mov	QWORD PTR [rax], rcx
	sub	QWORD PTR -48[rbp], 1
.L5:
	cmp	QWORD PTR -48[rbp], 0
	jne	.L6
	add	QWORD PTR -56[rbp], 1
.L4:
	mov	eax, DWORD PTR -68[rbp]
	cdqe
	cmp	QWORD PTR -56[rbp], rax
	jb	.L7
	mov	edi, 11
	call	malloc@PLT
	mov	QWORD PTR -40[rbp], rax
	mov	edi, 11
	call	malloc@PLT
	mov	QWORD PTR -32[rbp], rax
	mov	edi, 11
	call	malloc@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	edi, 11
	call	malloc@PLT
	mov	QWORD PTR -16[rbp], rax
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	edx, 13
	lea	rsi, .LC1[rip]
	mov	edi, 1
	call	write@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"59512555.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"AAAA\000"
	.align	2
.LC1:
	.ascii	"Hello world!\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #48
	str	r0, [fp, #-48]
	str	r1, [fp, #-52]
	mov	r3, #0
	str	r3, [fp, #-40]
	ldr	r3, .L9
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-48]
	cmp	r3, #1
	ble	.L2
	ldr	r3, [fp, #-52]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-40]
.L2:
	ldr	r3, [fp, #-48]
	cmp	r3, #2
	ble	.L3
	ldr	r3, [fp, #-52]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-36]
.L3:
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L4
.L7:
	mov	r0, #98304
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	mov	r3, #24576
	str	r3, [fp, #-28]
	b	.L5
.L6:
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldr	r2, .L9+4
	str	r2, [r3]
	ldr	r3, [fp, #-28]
	sub	r3, r3, #1
	str	r3, [fp, #-28]
.L5:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L6
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L4:
	ldr	r3, [fp, #-40]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	bcc	.L7
	mov	r0, #11
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-24]
	mov	r0, #11
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-20]
	mov	r0, #11
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-16]
	mov	r0, #11
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r1, [fp, #-36]
	ldr	r0, [fp, #-24]
	bl	strcpy
	ldr	r0, [fp, #-20]
	bl	free
	mov	r2, #13
	ldr	r1, .L9+8
	mov	r0, #1
	bl	write
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC0
	.word	-134613120
	.word	.LC1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
