	.file	"815300.c"
	.intel_syntax noprefix
	.text
	.globl	f
	.type	f, @function
f:
.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, 4096
	or	QWORD PTR [rsp], 0
	sub	rsp, 112
	mov	QWORD PTR -4168[rbp], rdi
	mov	QWORD PTR -4176[rbp], rsi
	mov	QWORD PTR -4184[rbp], rdx
	mov	DWORD PTR -4188[rbp], ecx
	mov	DWORD PTR -4192[rbp], r8d
	mov	DWORD PTR -4196[rbp], r9d
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -4132[rbp], 0
	mov	eax, DWORD PTR -4132[rbp]
	mov	DWORD PTR -4128[rbp], eax
	mov	DWORD PTR -4148[rbp], 0
	jmp	.L2
.L9:
	mov	DWORD PTR -4144[rbp], 0
	jmp	.L3
.L8:
	mov	eax, DWORD PTR -4148[rbp]
	cdqe
	lea	rdx, 0[0+rax*8]
	mov	rax, QWORD PTR -4168[rbp]
	add	rax, rdx
	mov	rdx, QWORD PTR [rax]
	mov	eax, DWORD PTR -4144[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	test	eax, eax
	je	.L4
	mov	DWORD PTR -4140[rbp], 0
	jmp	.L5
.L7:
	mov	rax, QWORD PTR .LC0[rip]
	movq	xmm0, rax
	call	q@PLT
	movsd	QWORD PTR -4208[rbp], xmm0
	mov	rax, QWORD PTR .LC1[rip]
	movq	xmm0, rax
	call	q@PLT
	addsd	xmm0, QWORD PTR -4208[rbp]
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -4124[rbp], eax
	mov	eax, DWORD PTR -4124[rbp]
	cdqe
	mov	eax, DWORD PTR -4120[rbp+rax*4]
	cmp	DWORD PTR -4132[rbp], eax
	jge	.L6
	mov	eax, DWORD PTR -4128[rbp]
	mov	DWORD PTR -4132[rbp], eax
.L6:
	add	DWORD PTR -4140[rbp], 1
.L5:
	mov	eax, DWORD PTR -4140[rbp]
	cmp	eax, DWORD PTR -4196[rbp]
	jl	.L7
.L4:
	add	DWORD PTR -4144[rbp], 1
.L3:
	mov	eax, DWORD PTR -4144[rbp]
	cmp	eax, DWORD PTR -4192[rbp]
	jl	.L8
	add	DWORD PTR -4148[rbp], 1
.L2:
	mov	eax, DWORD PTR -4148[rbp]
	cmp	eax, DWORD PTR -4188[rbp]
	jl	.L9
	mov	DWORD PTR -4136[rbp], 0
	jmp	.L10
.L11:
	mov	eax, DWORD PTR -4136[rbp]
	imul	eax, DWORD PTR 16[rbp]
	add	eax, eax
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movsd	xmm1, QWORD PTR .LC2[rip]
	divsd	xmm0, xmm1
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR 16[rbp]
	subsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	mov	DWORD PTR -4112[rbp], eax
	add	DWORD PTR -4136[rbp], 1
.L10:
	cmp	DWORD PTR -4136[rbp], 0
	jle	.L11
	nop
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	f, .-f
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1073217536
	.align 8
.LC1:
	.long	0
	.long	1074003968
	.align 8
.LC2:
	.long	0
	.long	1074266112
	.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	"815300.c"
	.text
	.global	__aeabi_dadd
	.global	__aeabi_d2iz
	.global	__aeabi_i2d
	.global	__aeabi_ddiv
	.global	__aeabi_dsub
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	f
	.syntax unified
	.arm
	.fpu softvfp
	.type	f, %function
f:
	@ args = 12, pretend = 0, frame = 4152
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #4096
	sub	sp, sp, #56
	sub	ip, fp, #4096
	sub	ip, ip, #12
	str	r0, [ip, #-44]
	sub	r0, fp, #4096
	sub	r0, r0, #12
	str	r1, [r0, #-48]
	sub	r1, fp, #4096
	sub	r1, r1, #12
	str	r2, [r1, #-52]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	str	r3, [r2, #-56]
	ldr	r3, .L13
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-24]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-24]
	str	r3, [r2, #-20]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-40]
	b	.L2
.L9:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-36]
	b	.L3
.L8:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-40]
	lsl	r3, r3, #2
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-44]
	add	r3, r2, r3
	ldr	r2, [r3]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-36]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L4
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-32]
	b	.L5
.L7:
	mov	r0, #0
	ldr	r1, .L13+4
	bl	q
	mov	r4, r0
	mov	r5, r1
	mov	r0, #0
	ldr	r1, .L13+8
	bl	q
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #4096
	sub	r1, r1, #12
	mov	r4, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	str	r3, [r4, #-16]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-16]
	lsl	r3, r3, #2
	add	r3, r2, r3
	ldr	r3, [r3, #-12]
	sub	r2, fp, #4096
	sub	r2, r2, #12
	ldr	r2, [r2, #-24]
	cmp	r2, r3
	bge	.L6
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-20]
	str	r3, [r2, #-24]
.L6:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-32]
	add	r3, r3, #1
	str	r3, [r2, #-32]
.L5:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-32]
	ldr	r3, [fp, #8]
	cmp	r2, r3
	blt	.L7
.L4:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-36]
	add	r3, r3, #1
	str	r3, [r2, #-36]
.L3:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r3, #-36]
	ldr	r3, [fp, #4]
	cmp	r2, r3
	blt	.L8
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-40]
	add	r3, r3, #1
	str	r3, [r2, #-40]
.L2:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r2, [r2, #-40]
	ldr	r3, [r3, #-56]
	cmp	r2, r3
	blt	.L9
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2, #-28]
	b	.L10
.L11:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-28]
	ldr	r2, [fp, #12]
	mul	r3, r2, r3
	lsl	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, #0
	ldr	r3, .L13+12
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r0, [fp, #12]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	sub	r2, fp, #4096
	sub	r2, r2, #12
	str	r3, [r2, #-4]
	sub	r3, fp, #4096
	sub	r3, r3, #12
	mov	r2, r3
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-28]
	add	r3, r3, #1
	str	r3, [r2, #-28]
.L10:
	sub	r3, fp, #4096
	sub	r3, r3, #12
	ldr	r3, [r3, #-28]
	cmp	r3, #0
	ble	.L11
	nop
	ldr	r2, .L13
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L12
	bl	__stack_chk_fail
.L12:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L14:
	.align	2
.L13:
	.word	.LC0
	.word	1073217536
	.word	1074003968
	.word	1074266112
	.size	f, .-f
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
