	.file	"965900.c"
	.intel_syntax noprefix
	.text
	.globl	func
	.type	func, @function
func:
.LFB0:
	.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	QWORD PTR -16[rbp], rsi
	mov	DWORD PTR -20[rbp], edx
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -8[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -16[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR [rax]
	addsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	func, .-func
	.section	.rodata
.LC0:
	.string	"failed"
.LC1:
	.string	"passed"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 3104
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -3104[rbp], 0
	jmp	.L4
.L5:
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -3104[rbp]
	mov	eax, DWORD PTR -3104[rbp]
	cdqe
	movsd	QWORD PTR -3088[rbp+rax*8], xmm0
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -3104[rbp]
	addsd	xmm0, xmm0
	mov	eax, DWORD PTR -3104[rbp]
	cdqe
	movsd	QWORD PTR -2064[rbp+rax*8], xmm0
	add	DWORD PTR -3104[rbp], 1
.L4:
	cmp	DWORD PTR -3104[rbp], 127
	jle	.L5
	mov	DWORD PTR -3100[rbp], 0
	mov	DWORD PTR -3104[rbp], 0
	jmp	.L6
.L7:
	mov	edx, DWORD PTR -3100[rbp]
	lea	rcx, -2064[rbp]
	lea	rax, -3088[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	func
	movq	rax, xmm0
	mov	edx, DWORD PTR -3104[rbp]
	movsx	rdx, edx
	mov	QWORD PTR -1040[rbp+rdx*8], rax
	add	DWORD PTR -3100[rbp], 1
	add	DWORD PTR -3104[rbp], 1
.L6:
	cmp	DWORD PTR -3104[rbp], 127
	jle	.L7
	mov	DWORD PTR -3104[rbp], 0
	jmp	.L8
.L12:
	mov	edx, DWORD PTR -3104[rbp]
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	QWORD PTR -3096[rbp], xmm0
	mov	eax, DWORD PTR -3104[rbp]
	cdqe
	movsd	xmm0, QWORD PTR -1040[rbp+rax*8]
	ucomisd	xmm0, QWORD PTR -3096[rbp]
	jp	.L15
	comisd	xmm0, QWORD PTR -3096[rbp]
	je	.L16
.L15:
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	eax, 1
	jmp	.L13
.L16:
	add	DWORD PTR -3104[rbp], 1
.L8:
	cmp	DWORD PTR -3104[rbp], 127
	jle	.L12
	lea	rdi, .LC1[rip]
	call	puts@PLT
	mov	eax, 0
.L13:
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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	"965900.c"
	.text
	.global	__aeabi_dadd
	.align	2
	.global	func
	.syntax unified
	.arm
	.fpu softvfp
	.type	func, %function
func:
	@ 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, #-8]
	str	r1, [fp, #-12]
	str	r2, [fp, #-16]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #3
	ldr	r2, [fp, #-12]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	func, .-func
	.global	__aeabi_i2d
	.global	__aeabi_dcmpeq
	.section	.rodata
	.align	2
.LC0:
	.ascii	"failed\000"
	.align	2
.LC1:
	.ascii	"passed\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 3096
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #3088
	sub	sp, sp, #8
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-3100]
	b	.L4
.L5:
	ldr	r0, [fp, #-3100]
	bl	__aeabi_i2d
	ldr	r3, [fp, #-3100]
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #3072
	sub	r3, r3, #8
	stm	r3, {r0-r1}
	ldr	r0, [fp, #-3100]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-3100]
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #2048
	sub	r3, r3, #8
	stm	r3, {r0-r1}
	ldr	r3, [fp, #-3100]
	add	r3, r3, #1
	str	r3, [fp, #-3100]
.L4:
	ldr	r3, [fp, #-3100]
	cmp	r3, #127
	ble	.L5
	mov	r3, #0
	str	r3, [fp, #-3096]
	mov	r3, #0
	str	r3, [fp, #-3100]
	b	.L6
.L7:
	sub	r1, fp, #2048
	sub	r1, r1, #4
	sub	r1, r1, #8
	sub	r3, fp, #3072
	sub	r3, r3, #4
	sub	r3, r3, #8
	ldr	r2, [fp, #-3096]
	mov	r0, r3
	bl	func
	ldr	r3, [fp, #-3100]
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #1024
	sub	r3, r3, #8
	stm	r3, {r0-r1}
	ldr	r3, [fp, #-3096]
	add	r3, r3, #1
	str	r3, [fp, #-3096]
	ldr	r3, [fp, #-3100]
	add	r3, r3, #1
	str	r3, [fp, #-3100]
.L6:
	ldr	r3, [fp, #-3100]
	cmp	r3, #127
	ble	.L7
	mov	r3, #0
	str	r3, [fp, #-3100]
	b	.L8
.L12:
	ldr	r2, [fp, #-3100]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-3092]
	str	r3, [fp, #-3088]
	ldr	r3, [fp, #-3100]
	lsl	r3, r3, #3
	sub	r2, fp, #4
	add	r3, r2, r3
	sub	r3, r3, #1024
	sub	r3, r3, #8
	ldmia	r3, {r2-r3}
	ldr	r0, [fp, #-3092]
	ldr	r1, [fp, #-3088]
	bl	__aeabi_dcmpeq
	mov	r3, r0
	cmp	r3, #0
	bne	.L16
	ldr	r0, .L17+4
	bl	puts
	mov	r3, #1
	b	.L13
.L16:
	ldr	r3, [fp, #-3100]
	add	r3, r3, #1
	str	r3, [fp, #-3100]
.L8:
	ldr	r3, [fp, #-3100]
	cmp	r3, #127
	ble	.L12
	ldr	r0, .L17+8
	bl	puts
	mov	r3, #0
.L13:
	ldr	r2, .L17
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L14
	bl	__stack_chk_fail
.L14:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
