	.file	"300806.c"
	.intel_syntax noprefix
	.text
	.globl	f
	.type	f, @function
f:
.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, 16
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC0[rip]
	mov	rax, QWORD PTR -8[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	movq	rax, xmm0
	movq	xmm0, QWORD PTR .LC1[rip]
	movq	xmm2, rax
	xorpd	xmm2, xmm0
	movapd	xmm0, xmm2
	movsd	xmm1, QWORD PTR .LC0[rip]
	divsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	exp@PLT
	movq	rax, xmm0
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	f, .-f
	.globl	Trapeze
	.type	Trapeze, @function
Trapeze:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	QWORD PTR -40[rbp], rdi
	movsd	QWORD PTR -48[rbp], xmm0
	movsd	QWORD PTR -56[rbp], xmm1
	mov	DWORD PTR -60[rbp], esi
	movsd	xmm0, QWORD PTR -56[rbp]
	subsd	xmm0, QWORD PTR -48[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -60[rbp]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	mov	rax, QWORD PTR -48[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	movq	xmm0, rax
	call	rdx
	movsd	QWORD PTR -72[rbp], xmm0
	mov	rax, QWORD PTR -56[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	movq	xmm0, rax
	call	rdx
	movsd	xmm1, QWORD PTR -72[rbp]
	addsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC2[rip]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -16[rbp], xmm0
	mov	DWORD PTR -20[rbp], 1
	jmp	.L4
.L5:
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -20[rbp]
	mulsd	xmm0, QWORD PTR -8[rbp]
	addsd	xmm0, QWORD PTR -48[rbp]
	movq	rax, xmm0
	mov	rdx, QWORD PTR -40[rbp]
	movq	xmm0, rax
	call	rdx
	movsd	xmm1, QWORD PTR -16[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -16[rbp], xmm0
	add	DWORD PTR -20[rbp], 1
.L4:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -60[rbp]
	jl	.L5
	movsd	xmm0, QWORD PTR -8[rbp]
	mulsd	xmm0, QWORD PTR -16[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	Trapeze, .-Trapeze
	.globl	Romberg
	.type	Romberg, @function
Romberg:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 136
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	QWORD PTR -120[rbp], rdi
	movsd	QWORD PTR -128[rbp], xmm0
	mov	DWORD PTR -132[rbp], esi
	movsd	QWORD PTR -144[rbp], xmm1
	mov	DWORD PTR -136[rbp], edx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rsp
	mov	QWORD PTR -168[rbp], rax
	mov	ecx, DWORD PTR -136[rbp]
	mov	esi, DWORD PTR -136[rbp]
	movsx	rax, ecx
	sub	rax, 1
	mov	QWORD PTR -88[rbp], rax
	movsx	rax, ecx
	mov	QWORD PTR -160[rbp], rax
	mov	QWORD PTR -152[rbp], 0
	movsx	rax, ecx
	lea	rbx, 0[0+rax*8]
	movsx	rax, esi
	sub	rax, 1
	mov	QWORD PTR -80[rbp], rax
	movsx	rax, ecx
	mov	r14, rax
	mov	r15d, 0
	movsx	rax, esi
	mov	r12, rax
	mov	r13d, 0
	mov	rdx, r15
	imul	rdx, r12
	mov	rax, r13
	imul	rax, r14
	lea	rdi, [rdx+rax]
	mov	rax, r14
	mul	r12
	add	rdi, rdx
	mov	rdx, rdi
	movsx	rax, ecx
	mov	r10, rax
	mov	r11d, 0
	movsx	rax, esi
	mov	r8, rax
	mov	r9d, 0
	mov	rdx, r11
	imul	rdx, r8
	mov	rax, r9
	imul	rax, r10
	lea	rdi, [rdx+rax]
	mov	rax, r10
	mul	r8
	add	rdi, rdx
	mov	rdx, rdi
	movsx	rdx, ecx
	movsx	rax, esi
	imul	rax, rdx
	lea	rdx, 0[0+rax*8]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L8:
	cmp	rsp, rdx
	je	.L9
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L8
.L9:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L10
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L10:
	mov	rax, rsp
	add	rax, 7
	shr	rax, 3
	sal	rax, 3
	mov	QWORD PTR -72[rbp], rax
	mov	DWORD PTR -96[rbp], 0
	jmp	.L11
.L17:
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -96[rbp]
	mov	rax, QWORD PTR .LC0[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	movq	rax, xmm0
	mov	QWORD PTR -64[rbp], rax
	movsd	xmm0, QWORD PTR -64[rbp]
	cvttsd2si	ecx, xmm0
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, DWORD PTR -132[rbp]
	mov	r12, rbx
	shr	r12, 3
	mov	rdx, QWORD PTR -128[rbp]
	mov	rax, QWORD PTR -120[rbp]
	mov	esi, ecx
	movapd	xmm1, xmm0
	movq	xmm0, rdx
	mov	rdi, rax
	call	Trapeze
	movq	rax, xmm0
	mov	rdx, QWORD PTR -72[rbp]
	mov	ecx, DWORD PTR -96[rbp]
	movsx	rcx, ecx
	imul	rcx, r12
	mov	QWORD PTR [rdx+rcx*8], rax
	mov	DWORD PTR -100[rbp], 0
	jmp	.L12
.L16:
	mov	eax, DWORD PTR -100[rbp]
	add	eax, 2
	mov	DWORD PTR -92[rbp], eax
	mov	eax, DWORD PTR -92[rbp]
	sub	eax, 1
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	mov	rax, QWORD PTR .LC3[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	movq	rax, xmm0
	movsd	xmm0, QWORD PTR .LC4[rip]
	movq	xmm1, rax
	subsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC4[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -160[rbp], xmm0
	mov	eax, DWORD PTR -92[rbp]
	sub	eax, 1
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	mov	rax, QWORD PTR .LC3[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	mov	rcx, rbx
	shr	rcx, 3
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR -100[rbp]
	movsx	rsi, edx
	mov	edx, DWORD PTR -96[rbp]
	movsx	rdx, edx
	imul	rdx, rcx
	add	rdx, rsi
	movsd	xmm1, QWORD PTR [rax+rdx*8]
	mulsd	xmm0, xmm1
	mov	rcx, rbx
	shr	rcx, 3
	mov	eax, DWORD PTR -96[rbp]
	lea	esi, -1[rax]
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR -100[rbp]
	movsx	rdi, edx
	movsx	rdx, esi
	imul	rdx, rcx
	add	rdx, rdi
	movsd	xmm1, QWORD PTR [rax+rdx*8]
	subsd	xmm0, xmm1
	mov	rcx, rbx
	shr	rcx, 3
	mov	eax, DWORD PTR -100[rbp]
	lea	edx, 1[rax]
	mulsd	xmm0, QWORD PTR -160[rbp]
	mov	rax, QWORD PTR -72[rbp]
	movsx	rsi, edx
	mov	edx, DWORD PTR -96[rbp]
	movsx	rdx, edx
	imul	rdx, rcx
	add	rdx, rsi
	movsd	QWORD PTR [rax+rdx*8], xmm0
	cmp	DWORD PTR -96[rbp], 0
	jle	.L13
	mov	rcx, rbx
	shr	rcx, 3
	mov	eax, DWORD PTR -100[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -72[rbp]
	movsx	rsi, edx
	mov	edx, DWORD PTR -96[rbp]
	movsx	rdx, edx
	imul	rdx, rcx
	add	rdx, rsi
	movsd	xmm0, QWORD PTR [rax+rdx*8]
	mov	rcx, rbx
	shr	rcx, 3
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR -100[rbp]
	movsx	rsi, edx
	mov	edx, DWORD PTR -96[rbp]
	movsx	rdx, edx
	imul	rdx, rcx
	add	rdx, rsi
	movsd	xmm1, QWORD PTR [rax+rdx*8]
	subsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	cdq
	xor	eax, edx
	sub	eax, edx
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, eax
	movsd	xmm0, QWORD PTR -144[rbp]
	comisd	xmm0, xmm1
	jbe	.L13
	shr	rbx, 3
	mov	rcx, rbx
	mov	eax, DWORD PTR -100[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -72[rbp]
	movsx	rsi, edx
	mov	edx, DWORD PTR -96[rbp]
	movsx	rdx, edx
	imul	rdx, rcx
	add	rdx, rsi
	movsd	xmm0, QWORD PTR [rax+rdx*8]
	jmp	.L15
.L13:
	add	DWORD PTR -100[rbp], 1
.L12:
	mov	eax, DWORD PTR -100[rbp]
	cmp	eax, DWORD PTR -96[rbp]
	jl	.L16
	add	DWORD PTR -96[rbp], 1
.L11:
	mov	eax, DWORD PTR -96[rbp]
	cmp	eax, DWORD PTR -136[rbp]
	jl	.L17
	shr	rbx, 3
	mov	rcx, rbx
	mov	eax, DWORD PTR -100[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -72[rbp]
	movsx	rsi, edx
	mov	edx, DWORD PTR -96[rbp]
	movsx	rdx, edx
	imul	rdx, rcx
	add	rdx, rsi
	movsd	xmm0, QWORD PTR [rax+rdx*8]
.L15:
	mov	rsp, QWORD PTR -168[rbp]
	movq	rax, xmm0
	mov	rdi, QWORD PTR -56[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	movq	xmm0, rax
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	Romberg, .-Romberg
	.section	.rodata
.LC7:
	.string	"%lf"
	.text
	.globl	main
	.type	main, @function
main:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	pxor	xmm0, xmm0
	movsd	QWORD PTR -24[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC4[rip]
	movsd	QWORD PTR -16[rbp], xmm0
	mov	DWORD PTR -28[rbp], 3
	movsd	xmm0, QWORD PTR .LC6[rip]
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm0, QWORD PTR -16[rbp]
	cvttsd2si	ecx, xmm0
	mov	edx, DWORD PTR -28[rbp]
	movsd	xmm0, QWORD PTR -8[rbp]
	mov	rax, QWORD PTR -24[rbp]
	movapd	xmm1, xmm0
	mov	esi, ecx
	movq	xmm0, rax
	lea	rdi, f[rip]
	call	Romberg
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC7[rip]
	mov	eax, 1
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1073741824
	.align 16
.LC1:
	.long	0
	.long	-2147483648
	.long	0
	.long	0
	.align 8
.LC2:
	.long	0
	.long	1071644672
	.align 8
.LC3:
	.long	0
	.long	1074790400
	.align 8
.LC4:
	.long	0
	.long	1072693248
	.align 8
.LC6:
	.long	-400107883
	.long	1041313291
	.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	"300806.c"
	.text
	.global	__aeabi_ddiv
	.align	2
	.global	f
	.syntax unified
	.arm
	.fpu softvfp
	.type	f, %function
f:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #8
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	mov	r2, #0
	mov	r3, #1073741824
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	pow
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	eor	r5, r3, #-2147483648
	mov	r2, #0
	mov	r3, #1073741824
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	exp
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
	.size	f, .-f
	.global	__aeabi_dsub
	.global	__aeabi_i2d
	.global	__aeabi_dadd
	.global	__aeabi_dmul
	.align	2
	.global	Trapeze
	.syntax unified
	.arm
	.fpu softvfp
	.type	Trapeze, %function
Trapeze:
	@ args = 12, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	ldmib	fp, {r0-r1}
	bl	__aeabi_dsub
	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_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-40]
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	blx	r3
	mov	r4, r0
	mov	r5, r1
	ldr	r3, [fp, #-40]
	ldmib	fp, {r0-r1}
	blx	r3
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	mov	r3, #1
	str	r3, [fp, #-32]
	b	.L4
.L5:
	ldr	r0, [fp, #-32]
	bl	__aeabi_i2d
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-40]
	blx	r3
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L4:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #12]
	cmp	r2, r3
	blt	.L5
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L8:
	.align	2
.L7:
	.word	1071644672
	.size	Trapeze, .-Trapeze
	.global	__aeabi_d2iz
	.global	__aeabi_dcmpgt
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	Romberg
	.syntax unified
	.arm
	.fpu softvfp
	.type	Romberg, %function
Romberg:
	@ args = 20, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #76
	str	r0, [fp, #-80]
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	ldr	r3, .L20
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	mov	r3, sp
	mov	r10, r3
	ldr	ip, [fp, #20]
	ldr	lr, [fp, #20]
	sub	r3, ip, #1
	str	r3, [fp, #-68]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #6
	orr	r3, r3, r0, lsr #26
	lsl	r2, r0, #6
	mov	r3, ip
	lsl	r4, r3, #3
	sub	r3, lr, #1
	str	r3, [fp, #-64]
	mov	r3, ip
	mov	r6, r3
	mov	r7, #0
	mov	r3, lr
	mov	r0, r3
	mov	r1, #0
	mul	r2, r0, r7
	mul	r3, r6, r1
	add	r5, r2, r3
	umull	r2, r3, r6, r0
	add	r1, r5, r3
	mov	r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #6
	orr	r1, r1, r2, lsr #26
	lsl	r0, r2, #6
	mov	r3, ip
	mov	r6, r3
	mov	r7, #0
	mov	r3, lr
	mov	r0, r3
	mov	r1, #0
	mul	r2, r0, r7
	mul	r3, r6, r1
	add	r5, r2, r3
	umull	r2, r3, r6, r0
	add	r1, r5, r3
	mov	r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #6
	orr	r1, r1, r2, lsr #26
	lsl	r0, r2, #6
	mov	r3, ip
	mov	r2, lr
	mul	r3, r2, r3
	lsl	r3, r3, #3
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	add	r3, sp, #16
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	str	r3, [fp, #-60]
	mov	r3, #0
	str	r3, [fp, #-72]
	b	.L10
.L16:
	ldr	r0, [fp, #-72]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	mov	r1, #1073741824
	bl	pow
	str	r0, [fp, #-52]
	str	r1, [fp, #-48]
	ldr	r0, [fp, #4]
	bl	__aeabi_i2d
	mov	r6, r0
	mov	r7, r1
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_d2iz
	mov	r3, r0
	lsr	r5, r4, #3
	str	r3, [sp, #8]
	stm	sp, {r6-r7}
	sub	r3, fp, #92
	ldmia	r3, {r2-r3}
	ldr	r0, [fp, #-80]
	bl	Trapeze
	mov	r2, r0
	mov	r3, r1
	ldr	r0, [fp, #-60]
	ldr	r1, [fp, #-72]
	mul	r1, r5, r1
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L11
.L15:
	ldr	r3, [fp, #-76]
	add	r3, r3, #2
	str	r3, [fp, #-56]
	ldr	r3, [fp, #-56]
	sub	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L20+4
	bl	pow
	mov	r2, #0
	ldr	r3, .L20+8
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L20+8
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r8, r2
	mov	r9, r3
	ldr	r3, [fp, #-56]
	sub	r3, r3, #1
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	ldr	r1, .L20+4
	bl	pow
	lsr	r3, r4, #3
	ldr	r2, [fp, #-60]
	ldr	ip, [fp, #-72]
	mul	ip, r3, ip
	ldr	r3, [fp, #-76]
	add	r3, ip, r3
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	lsr	r3, r4, #3
	ldr	r2, [fp, #-72]
	sub	r1, r2, #1
	ldr	r2, [fp, #-60]
	mul	r1, r3, r1
	ldr	r3, [fp, #-76]
	add	r3, r1, r3
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	lsr	r6, r4, #3
	ldr	r3, [fp, #-76]
	add	r5, r3, #1
	mov	r2, r0
	mov	r3, r1
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r0, [fp, #-60]
	ldr	r1, [fp, #-72]
	mul	r1, r6, r1
	add	r1, r1, r5
	lsl	r1, r1, #3
	add	r1, r0, r1
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-72]
	cmp	r3, #0
	ble	.L12
	lsr	r1, r4, #3
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	ldr	r2, [fp, #-60]
	ldr	r0, [fp, #-72]
	mul	r1, r0, r1
	add	r3, r1, r3
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	lsr	r3, r4, #3
	ldr	r2, [fp, #-60]
	ldr	ip, [fp, #-72]
	mul	ip, r3, ip
	ldr	r3, [fp, #-76]
	add	r3, ip, r3
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	cmp	r3, #0
	rsblt	r3, r3, #0
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	add	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L12
	lsr	r1, r4, #3
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	ldr	r2, [fp, #-60]
	ldr	r0, [fp, #-72]
	mul	r1, r0, r1
	add	r3, r1, r3
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	b	.L14
.L12:
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L11:
	ldr	r2, [fp, #-76]
	ldr	r3, [fp, #-72]
	cmp	r2, r3
	blt	.L15
	ldr	r3, [fp, #-72]
	add	r3, r3, #1
	str	r3, [fp, #-72]
.L10:
	ldr	r2, [fp, #-72]
	ldr	r3, [fp, #20]
	cmp	r2, r3
	blt	.L16
	lsr	r1, r4, #3
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	ldr	r2, [fp, #-60]
	ldr	r0, [fp, #-72]
	mul	r1, r0, r1
	add	r3, r1, r3
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
.L14:
	mov	sp, r10
	ldr	r1, .L20
	ldr	r0, [r1]
	ldr	r1, [fp, #-40]
	eors	r0, r1, r0
	mov	r1, #0
	beq	.L18
	bl	__stack_chk_fail
.L18:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC0
	.word	1074790400
	.word	1072693248
	.size	Romberg, .-Romberg
	.section	.rodata
	.align	2
.LC1:
	.ascii	"%lf\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	mov	r2, #0
	ldr	r3, .L24
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	mov	r3, #3
	str	r3, [fp, #-32]
	ldr	r2, .L24+4
	ldr	r3, .L24+8
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_d2iz
	mov	r1, r0
	ldr	r3, [fp, #-32]
	str	r3, [sp, #16]
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	str	r1, [sp]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	ldr	r0, .L24+12
	bl	Romberg
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L24+16
	bl	printf
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L25:
	.align	2
.L24:
	.word	1072693248
	.word	-400107883
	.word	1041313291
	.word	f
	.word	.LC1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
