	.file	"677328.c"
	.intel_syntax noprefix
	.text
	.globl	foo
	.type	foo, @function
foo:
.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, 144
	mov	DWORD PTR -68[rbp], edi
	mov	DWORD PTR -72[rbp], esi
	mov	QWORD PTR -80[rbp], rdx
	mov	QWORD PTR -88[rbp], rcx
	mov	QWORD PTR -96[rbp], r8
	mov	DWORD PTR -100[rbp], r9d
	mov	rax, QWORD PTR 16[rbp]
	mov	QWORD PTR -112[rbp], rax
	mov	rax, QWORD PTR 24[rbp]
	mov	QWORD PTR -120[rbp], rax
	mov	rax, QWORD PTR 32[rbp]
	mov	QWORD PTR -128[rbp], rax
	mov	rax, QWORD PTR 40[rbp]
	mov	QWORD PTR -136[rbp], rax
	mov	rax, QWORD PTR 48[rbp]
	mov	QWORD PTR -144[rbp], rax
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -68[rbp]
	mov	DWORD PTR -56[rbp], eax
	jmp	.L2
.L5:
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR -48[rbp], xmm0
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	movsd	QWORD PTR -40[rbp], xmm0
	movsd	xmm0, QWORD PTR -40[rbp]
	mov	rdi, QWORD PTR -48[rbp]
	mov	r9, QWORD PTR -144[rbp]
	mov	r10, QWORD PTR -136[rbp]
	mov	rcx, QWORD PTR -128[rbp]
	mov	rdx, QWORD PTR -120[rbp]
	mov	rsi, QWORD PTR -112[rbp]
	mov	eax, DWORD PTR -100[rbp]
	sub	rsp, 8
	lea	r8, -32[rbp]
	push	r8
	movapd	xmm1, xmm0
	movq	xmm0, rdi
	mov	r8, r10
	mov	edi, eax
	call	OtherFunc@PLT
	add	rsp, 16
	mov	DWORD PTR -52[rbp], 0
	jmp	.L3
.L4:
	mov	edx, DWORD PTR -56[rbp]
	mov	eax, edx
	add	eax, eax
	add	edx, eax
	mov	eax, DWORD PTR -52[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -96[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	movsd	xmm0, QWORD PTR -32[rbp+rax*8]
	movsd	QWORD PTR [rdx], xmm0
	add	DWORD PTR -52[rbp], 1
.L3:
	cmp	DWORD PTR -52[rbp], 2
	jle	.L4
	add	DWORD PTR -56[rbp], 1
.L2:
	mov	eax, DWORD PTR -72[rbp]
	cmp	eax, DWORD PTR -56[rbp]
	jg	.L5
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L6
	call	__stack_chk_fail@PLT
.L6:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	foo, .-foo
	.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	"677328.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	foo
	.syntax unified
	.arm
	.fpu softvfp
	.type	foo, %function
foo:
	@ args = 28, pretend = 0, frame = 96
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #128
	str	r0, [fp, #-64]
	str	r1, [fp, #-68]
	str	r2, [fp, #-72]
	str	r3, [fp, #-76]
	ldr	r3, [fp, #4]
	str	r3, [fp, #-80]
	ldr	r3, [fp, #12]
	str	r3, [fp, #-84]
	ldr	r3, [fp, #16]
	str	r3, [fp, #-88]
	ldr	r3, [fp, #20]
	str	r3, [fp, #-92]
	ldr	r3, [fp, #24]
	str	r3, [fp, #-96]
	ldr	r3, [fp, #28]
	str	r3, [fp, #-100]
	ldr	r3, .L7
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-64]
	str	r3, [fp, #-60]
	b	.L2
.L5:
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-72]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-76]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	sub	r3, fp, #36
	str	r3, [sp, #24]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	str	r2, [sp, #16]
	str	r3, [sp, #20]
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	ldr	r3, [fp, #-100]
	str	r3, [sp, #4]
	ldr	r3, [fp, #-96]
	str	r3, [sp]
	ldr	r3, [fp, #-92]
	ldr	r2, [fp, #-88]
	ldr	r1, [fp, #-84]
	ldr	r0, [fp, #8]
	bl	OtherFunc
	mov	r3, #0
	str	r3, [fp, #-56]
	b	.L3
.L4:
	ldr	r2, [fp, #-60]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r2, r3, r2
	ldr	r3, [fp, #-56]
	add	r3, r2, r3
	lsl	r3, r3, #3
	ldr	r2, [fp, #-80]
	add	r1, r2, r3
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #32
	ldmia	r3, {r2-r3}
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L3:
	ldr	r3, [fp, #-56]
	cmp	r3, #2
	ble	.L4
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L2:
	ldr	r2, [fp, #-68]
	ldr	r3, [fp, #-60]
	cmp	r2, r3
	bgt	.L5
	nop
	ldr	r3, .L7
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L6
	bl	__stack_chk_fail
.L6:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC0
	.size	foo, .-foo
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
