	.file	"109038.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"buf[%d]=%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 304
	mov	DWORD PTR -292[rbp], edi
	mov	QWORD PTR -304[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -272[rbp]
	mov	eax, 0
	mov	ecx, 16
	mov	rdi, rdx
	rep stosq
	mov	DWORD PTR -268[rbp], 1
	mov	DWORD PTR -264[rbp], 2
	mov	DWORD PTR -260[rbp], 3
	mov	DWORD PTR -256[rbp], 4
	mov	DWORD PTR -252[rbp], 5
	mov	DWORD PTR -248[rbp], 6
	mov	DWORD PTR -244[rbp], 7
	mov	DWORD PTR -240[rbp], 8
	mov	DWORD PTR -236[rbp], 9
	mov	DWORD PTR -232[rbp], 10
	lea	rdx, -144[rbp]
	mov	eax, 0
	mov	ecx, 16
	mov	rdi, rdx
	rep stosq
	mov	DWORD PTR -140[rbp], 1
	mov	DWORD PTR -136[rbp], 2
	mov	DWORD PTR -132[rbp], 3
	mov	DWORD PTR -128[rbp], 4
	mov	DWORD PTR -124[rbp], 5
	mov	DWORD PTR -120[rbp], 6
	mov	DWORD PTR -116[rbp], 7
	mov	DWORD PTR -112[rbp], 8
	mov	DWORD PTR -108[rbp], 9
	mov	DWORD PTR -104[rbp], 10
	cmp	DWORD PTR -292[rbp], 2
	jle	.L2
	mov	DWORD PTR -144[rbp], 2222
	mov	DWORD PTR -276[rbp], 0
	jmp	.L3
.L4:
	mov	eax, DWORD PTR -276[rbp]
	cdqe
	mov	edx, DWORD PTR -272[rbp+rax*4]
	mov	eax, DWORD PTR -276[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -276[rbp], 1
.L3:
	cmp	DWORD PTR -276[rbp], 32
	jle	.L4
	jmp	.L5
.L2:
	mov	DWORD PTR -144[rbp], 1111
	mov	DWORD PTR -276[rbp], 0
	jmp	.L6
.L7:
	mov	eax, DWORD PTR -276[rbp]
	cdqe
	mov	edx, DWORD PTR -144[rbp+rax*4]
	mov	eax, DWORD PTR -276[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -276[rbp], 1
.L6:
	cmp	DWORD PTR -276[rbp], 32
	jle	.L7
.L5:
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"109038.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"buf[%d]=%d\012\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 272
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #272
	str	r0, [fp, #-272]
	str	r1, [fp, #-276]
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #264
	mov	r2, #128
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #1
	str	r3, [fp, #-260]
	mov	r3, #2
	str	r3, [fp, #-256]
	mov	r3, #3
	str	r3, [fp, #-252]
	mov	r3, #4
	str	r3, [fp, #-248]
	mov	r3, #5
	str	r3, [fp, #-244]
	mov	r3, #6
	str	r3, [fp, #-240]
	mov	r3, #7
	str	r3, [fp, #-236]
	mov	r3, #8
	str	r3, [fp, #-232]
	mov	r3, #9
	str	r3, [fp, #-228]
	mov	r3, #10
	str	r3, [fp, #-224]
	sub	r3, fp, #136
	mov	r2, #128
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #1
	str	r3, [fp, #-132]
	mov	r3, #2
	str	r3, [fp, #-128]
	mov	r3, #3
	str	r3, [fp, #-124]
	mov	r3, #4
	str	r3, [fp, #-120]
	mov	r3, #5
	str	r3, [fp, #-116]
	mov	r3, #6
	str	r3, [fp, #-112]
	mov	r3, #7
	str	r3, [fp, #-108]
	mov	r3, #8
	str	r3, [fp, #-104]
	mov	r3, #9
	str	r3, [fp, #-100]
	mov	r3, #10
	str	r3, [fp, #-96]
	ldr	r3, [fp, #-272]
	cmp	r3, #2
	ble	.L2
	ldr	r3, .L10+4
	str	r3, [fp, #-136]
	mov	r3, #0
	str	r3, [fp, #-268]
	b	.L3
.L4:
	ldr	r3, [fp, #-268]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-260]
	mov	r2, r3
	ldr	r1, [fp, #-268]
	ldr	r0, .L10+8
	bl	printf
	ldr	r3, [fp, #-268]
	add	r3, r3, #1
	str	r3, [fp, #-268]
.L3:
	ldr	r3, [fp, #-268]
	cmp	r3, #32
	ble	.L4
	b	.L5
.L2:
	ldr	r3, .L10+12
	str	r3, [fp, #-136]
	mov	r3, #0
	str	r3, [fp, #-268]
	b	.L6
.L7:
	ldr	r3, [fp, #-268]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-132]
	mov	r2, r3
	ldr	r1, [fp, #-268]
	ldr	r0, .L10+8
	bl	printf
	ldr	r3, [fp, #-268]
	add	r3, r3, #1
	str	r3, [fp, #-268]
.L6:
	ldr	r3, [fp, #-268]
	cmp	r3, #32
	ble	.L7
.L5:
	mov	r3, #0
	ldr	r2, .L10
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L9
	bl	__stack_chk_fail
.L9:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC1
	.word	2222
	.word	.LC0
	.word	1111
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
