	.file	"785025.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
	sub	rsp, 48
	movsd	QWORD PTR -40[rbp], xmm0
	movsd	QWORD PTR -48[rbp], xmm1
	movsd	xmm0, QWORD PTR -40[rbp]
	mulsd	xmm0, xmm0
	movq	xmm1, QWORD PTR .LC0[rip]
	xorpd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -48[rbp]
	movapd	xmm2, xmm0
	mulsd	xmm2, xmm0
	divsd	xmm1, xmm2
	movapd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
	mov	rax, QWORD PTR -24[rbp]
	movq	xmm0, rax
	call	exp@PLT
	movq	rax, xmm0
	mov	QWORD PTR -16[rbp], rax
	movsd	xmm0, QWORD PTR .LC1[rip]
	divsd	xmm0, QWORD PTR -48[rbp]
	movsd	xmm1, QWORD PTR -16[rbp]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm0, QWORD PTR -8[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	func, .-func
	.globl	trapezoidal
	.type	trapezoidal, @function
trapezoidal:
.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, 64
	movsd	QWORD PTR -40[rbp], xmm0
	movsd	QWORD PTR -48[rbp], xmm1
	movsd	QWORD PTR -56[rbp], xmm2
	mov	DWORD PTR -60[rbp], edi
	movsd	xmm0, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -40[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	func
	movq	rax, xmm0
	movsd	xmm1, QWORD PTR .LC2[rip]
	movq	xmm0, rax
	divsd	xmm0, xmm1
	movsd	QWORD PTR -16[rbp], xmm0
	movsd	xmm0, QWORD PTR -48[rbp]
	subsd	xmm0, QWORD PTR -40[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -60[rbp]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -8[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 -40[rbp]
	movq	rax, xmm0
	movsd	xmm0, QWORD PTR -56[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	func
	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]
	jle	.L5
	movsd	xmm0, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -48[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	func
	movq	rax, xmm0
	movsd	xmm0, QWORD PTR .LC2[rip]
	movq	xmm1, rax
	divsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -16[rbp]
	subsd	xmm0, xmm1
	movsd	QWORD PTR -16[rbp], xmm0
	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
.LFE1:
	.size	trapezoidal, .-trapezoidal
	.globl	newfunc
	.type	newfunc, @function
newfunc:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR -4[rbp]
	imul	eax, eax
	imul	eax, DWORD PTR -4[rbp]
	mov	ecx, eax
	mov	eax, -2
	cdq
	idiv	ecx
	pxor	xmm0, xmm0
	cvtsi2sd	xmm0, eax
	movq	rax, xmm0
	movq	xmm0, rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	newfunc, .-newfunc
	.globl	error
	.type	error, @function
error:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	movsd	QWORD PTR -24[rbp], xmm0
	movsd	QWORD PTR -32[rbp], xmm1
	movsd	QWORD PTR -40[rbp], xmm2
	movsd	QWORD PTR -48[rbp], xmm3
	movsd	xmm0, QWORD PTR -48[rbp]
	mulsd	xmm0, xmm0
	movapd	xmm1, xmm0
	mulsd	xmm1, QWORD PTR -48[rbp]
	movsd	xmm0, QWORD PTR .LC3[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR -16[rbp], xmm0
	movsd	xmm0, QWORD PTR -32[rbp]
	subsd	xmm0, QWORD PTR -24[rbp]
	movq	rax, xmm0
	movsd	xmm0, QWORD PTR .LC4[rip]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	pow@PLT
	movq	rax, xmm0
	movq	xmm0, QWORD PTR .LC0[rip]
	movq	xmm4, rax
	xorpd	xmm4, xmm0
	movapd	xmm0, xmm4
	movsd	xmm2, QWORD PTR -40[rbp]
	movsd	xmm1, QWORD PTR .LC5[rip]
	mulsd	xmm1, xmm2
	mulsd	xmm1, QWORD PTR -40[rbp]
	divsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -16[rbp]
	mulsd	xmm0, xmm1
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm0, QWORD PTR -8[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	error, .-error
	.globl	adapt
	.type	adapt, @function
adapt:
.LFB4:
	.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
	movsd	QWORD PTR -40[rbp], xmm0
	movsd	QWORD PTR -48[rbp], xmm1
	mov	DWORD PTR -52[rbp], edi
	movsd	QWORD PTR -64[rbp], xmm2
	mov	DWORD PTR -56[rbp], esi
	mov	QWORD PTR -72[rbp], rdx
	movsd	xmm1, QWORD PTR -64[rbp]
	movsd	xmm0, QWORD PTR .LC1[rip]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -56[rbp]
	mov	edx, DWORD PTR -52[rbp]
	movsd	xmm0, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	edi, edx
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	trapezoidal
	movq	rax, xmm0
	mov	QWORD PTR -8[rbp], rax
	jmp	.L12
.L13:
	sal	DWORD PTR -52[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -56[rbp]
	mov	edx, DWORD PTR -52[rbp]
	movsd	xmm0, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	edi, edx
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	trapezoidal
	movq	rax, xmm0
	mov	QWORD PTR -16[rbp], rax
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, DWORD PTR -56[rbp]
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -52[rbp]
	movsd	xmm0, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -40[rbp]
	movapd	xmm3, xmm2
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	error
	movq	rax, xmm0
	mov	QWORD PTR -24[rbp], rax
	movsd	xmm0, QWORD PTR -16[rbp]
	movsd	QWORD PTR -8[rbp], xmm0
.L12:
	movsd	xmm0, QWORD PTR -24[rbp]
	comisd	xmm0, QWORD PTR -64[rbp]
	ja	.L13
	mov	rax, QWORD PTR -72[rbp]
	mov	edx, DWORD PTR -52[rbp]
	mov	DWORD PTR [rax], edx
	movsd	xmm0, QWORD PTR -16[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	adapt, .-adapt
	.section	.rodata
.LC8:
	.string	"Test for bell function: %f\n"
	.align 8
.LC11:
	.string	"Test for trapezoidal function: %f\n"
.LC12:
	.string	"Enter the sigma values:"
.LC13:
	.string	"%d"
.LC14:
	.string	"Enter the tolerance values:"
.LC15:
	.string	"%lf"
.LC18:
	.string	"Result: %lf"
.LC19:
	.string	"Number of panel: %d\n"
.LC20:
	.string	"Number of panel: %d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 96
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	pxor	xmm0, xmm0
	movsd	QWORD PTR -72[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC7[rip]
	movsd	QWORD PTR -64[rbp], xmm0
	movsd	xmm0, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -72[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	func
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC8[rip]
	mov	eax, 1
	call	printf@PLT
	movsd	xmm0, QWORD PTR .LC9[rip]
	movsd	QWORD PTR -56[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC10[rip]
	movsd	QWORD PTR -48[rbp], xmm0
	movsd	xmm1, QWORD PTR .LC7[rip]
	movsd	xmm0, QWORD PTR .LC10[rip]
	mov	edi, 10
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	pxor	xmm0, xmm0
	call	trapezoidal
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC11[rip]
	mov	eax, 1
	call	printf@PLT
.L18:
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -80[rbp]
	mov	rsi, rax
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -80[rbp]
	test	eax, eax
	je	.L22
	lea	rdi, .LC14[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -76[rbp]
	mov	rsi, rax
	lea	rdi, .LC15[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -84[rbp]
	movsd	xmm1, QWORD PTR .LC16[rip]
	movsd	xmm0, QWORD PTR .LC17[rip]
	mov	rdx, rax
	mov	esi, 1
	movapd	xmm2, xmm1
	mov	edi, 1
	movapd	xmm1, xmm0
	pxor	xmm0, xmm0
	call	adapt
	movq	rax, xmm0
	mov	QWORD PTR -40[rbp], rax
	mov	rax, QWORD PTR -40[rbp]
	movq	xmm0, rax
	lea	rdi, .LC18[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, DWORD PTR -84[rbp]
	mov	esi, eax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -84[rbp]
	movsd	xmm1, QWORD PTR .LC16[rip]
	movsd	xmm0, QWORD PTR .LC17[rip]
	mov	rdx, rax
	mov	esi, 2
	movapd	xmm2, xmm1
	mov	edi, 1
	movapd	xmm1, xmm0
	pxor	xmm0, xmm0
	call	adapt
	movq	rax, xmm0
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	movq	xmm0, rax
	lea	rdi, .LC18[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, DWORD PTR -84[rbp]
	mov	esi, eax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -84[rbp]
	movsd	xmm1, QWORD PTR .LC16[rip]
	movsd	xmm0, QWORD PTR .LC17[rip]
	mov	rdx, rax
	mov	esi, 4
	movapd	xmm2, xmm1
	mov	edi, 1
	movapd	xmm1, xmm0
	pxor	xmm0, xmm0
	call	adapt
	movq	rax, xmm0
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	movq	xmm0, rax
	lea	rdi, .LC18[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, DWORD PTR -84[rbp]
	mov	esi, eax
	lea	rdi, .LC19[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -84[rbp]
	movsd	xmm1, QWORD PTR .LC16[rip]
	movsd	xmm0, QWORD PTR .LC17[rip]
	mov	rdx, rax
	mov	esi, 10
	movapd	xmm2, xmm1
	mov	edi, 1
	movapd	xmm1, xmm0
	pxor	xmm0, xmm0
	call	adapt
	movq	rax, xmm0
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	movq	xmm0, rax
	lea	rdi, .LC18[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, DWORD PTR -84[rbp]
	mov	esi, eax
	lea	rdi, .LC20[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L18
.L22:
	nop
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	main, .-main
	.section	.rodata
	.align 16
.LC0:
	.long	0
	.long	-2147483648
	.long	0
	.long	0
	.align 8
.LC1:
	.long	0
	.long	1072693248
	.align 8
.LC2:
	.long	0
	.long	1073741824
	.align 8
.LC3:
	.long	0
	.long	-1073741824
	.align 8
.LC4:
	.long	0
	.long	1074266112
	.align 8
.LC5:
	.long	0
	.long	1076363264
	.align 8
.LC7:
	.long	0
	.long	1074790400
	.align 8
.LC9:
	.long	0
	.long	1076101120
	.align 8
.LC10:
	.long	0
	.long	1077149696
	.align 8
.LC16:
	.long	-1717986918
	.long	1069128089
	.align 8
.LC17:
	.long	0
	.long	1077805056
	.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	"785025.c"
	.text
	.global	__aeabi_dmul
	.global	__aeabi_ddiv
	.align	2
	.global	func
	.syntax unified
	.arm
	.fpu softvfp
	.type	func, %function
func:
	@ args = 0, 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, #-44]
	str	r1, [fp, #-40]
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	eor	r5, r3, #-2147483648
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	exp
	str	r0, [fp, #-28]
	str	r1, [fp, #-24]
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	mov	r0, #0
	ldr	r1, .L3
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L4:
	.align	2
.L3:
	.word	1072693248
	.size	func, .-func
	.global	__aeabi_dsub
	.global	__aeabi_i2d
	.global	__aeabi_dadd
	.align	2
	.global	trapezoidal
	.syntax unified
	.arm
	.fpu softvfp
	.type	trapezoidal, %function
trapezoidal:
	@ 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, #-44]
	str	r1, [fp, #-40]
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	ldmib	fp, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	func
	mov	r2, #0
	mov	r3, #1073741824
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {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]
	mov	r3, #1
	str	r3, [fp, #-32]
	b	.L6
.L7:
	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, #44
	ldmia	r3, {r2-r3}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldmib	fp, {r2-r3}
	bl	func
	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]
.L6:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #12]
	cmp	r2, r3
	ble	.L7
	ldmib	fp, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	func
	mov	r2, #0
	mov	r3, #1073741824
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	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}
	.size	trapezoidal, .-trapezoidal
	.global	__aeabi_idiv
	.align	2
	.global	newfunc
	.syntax unified
	.arm
	.fpu softvfp
	.type	newfunc, %function
newfunc:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r2, r3
	mul	r2, r3, r2
	mov	r3, r2
	ldr	r2, [fp, #-8]
	mul	r3, r2, r3
	mov	r1, r3
	mvn	r0, #1
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	newfunc, .-newfunc
	.align	2
	.global	error
	.syntax unified
	.arm
	.fpu softvfp
	.type	error, %function
error:
	@ args = 16, pretend = 0, frame = 32
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #32
	str	r0, [fp, #-36]
	str	r1, [fp, #-32]
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	add	r3, fp, #12
	ldmia	r3, {r2-r3}
	add	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	add	r3, fp, #12
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, #0
	mov	r1, #-1073741824
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L13
	bl	pow
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	eor	r5, r3, #-2147483648
	mov	r2, #0
	ldr	r3, .L13+4
	ldmib	fp, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldmib	fp, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L14:
	.align	2
.L13:
	.word	1074266112
	.word	1076363264
	.size	error, .-error
	.global	__aeabi_dcmpgt
	.align	2
	.global	adapt
	.syntax unified
	.arm
	.fpu softvfp
	.type	adapt, %function
adapt:
	@ args = 24, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #56
	str	r0, [fp, #-44]
	str	r1, [fp, #-40]
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	mov	r2, #0
	ldr	r3, .L19
	add	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	ldr	r0, [fp, #20]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #4]
	str	r1, [sp, #8]
	stm	sp, {r2-r3}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	trapezoidal
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	b	.L16
.L17:
	ldr	r3, [fp, #4]
	lsl	r3, r3, #1
	str	r3, [fp, #4]
	ldr	r0, [fp, #20]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #4]
	str	r1, [sp, #8]
	stm	sp, {r2-r3}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	trapezoidal
	str	r0, [fp, #-28]
	str	r1, [fp, #-24]
	ldr	r0, [fp, #4]
	bl	__aeabi_i2d
	mov	r4, r0
	mov	r5, r1
	ldr	r0, [fp, #20]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	stm	sp, {r4-r5}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	error
	str	r0, [fp, #-36]
	str	r1, [fp, #-32]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
.L16:
	add	r3, fp, #12
	ldmia	r3, {r2-r3}
	sub	r1, fp, #36
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	bne	.L17
	ldr	r3, [fp, #24]
	ldr	r2, [fp, #4]
	str	r2, [r3]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L20:
	.align	2
.L19:
	.word	1072693248
	.size	adapt, .-adapt
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Test for bell function: %f\012\000"
	.align	2
.LC1:
	.ascii	"Test for trapezoidal function: %f\012\000"
	.align	2
.LC2:
	.ascii	"Enter the sigma values:\000"
	.align	2
.LC3:
	.ascii	"%d\000"
	.align	2
.LC4:
	.ascii	"Enter the tolerance values:\000"
	.align	2
.LC5:
	.ascii	"%lf\000"
	.align	2
.LC6:
	.ascii	"Result: %lf\000"
	.align	2
.LC7:
	.ascii	"Number of panel: %d\012\000"
	.align	2
.LC8:
	.ascii	"Number of panel: %d\000"
	.align	2
.LC9:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #112
	ldr	r3, .L29
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-76]
	str	r3, [fp, #-72]
	mov	r2, #0
	ldr	r3, .L29+4
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	bl	func
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L29+8
	bl	printf
	mov	r2, #0
	ldr	r3, .L29+12
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	mov	r2, #0
	ldr	r3, .L29+16
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	mov	r3, #10
	str	r3, [sp, #8]
	mov	r2, #0
	ldr	r3, .L29+4
	stm	sp, {r2-r3}
	mov	r2, #0
	ldr	r3, .L29+16
	mov	r0, #0
	mov	r1, #0
	bl	trapezoidal
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L29+20
	bl	printf
.L24:
	ldr	r0, .L29+24
	bl	printf
	sub	r3, fp, #84
	mov	r1, r3
	ldr	r0, .L29+28
	bl	__isoc99_scanf
	ldr	r3, [fp, #-84]
	cmp	r3, #0
	beq	.L28
	ldr	r0, .L29+32
	bl	printf
	sub	r3, fp, #80
	mov	r1, r3
	ldr	r0, .L29+36
	bl	__isoc99_scanf
	sub	r3, fp, #88
	str	r3, [sp, #20]
	mov	r3, #1
	str	r3, [sp, #16]
	ldr	r2, .L29+40
	ldr	r3, .L29+44
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	mov	r3, #1
	str	r3, [sp]
	mov	r2, #0
	ldr	r3, .L29+48
	mov	r0, #0
	mov	r1, #0
	bl	adapt
	str	r0, [fp, #-44]
	str	r1, [fp, #-40]
	sub	r3, fp, #44
	ldmia	r3, {r2-r3}
	ldr	r0, .L29+52
	bl	printf
	ldr	r3, [fp, #-88]
	mov	r1, r3
	ldr	r0, .L29+56
	bl	printf
	sub	r3, fp, #88
	str	r3, [sp, #20]
	mov	r3, #2
	str	r3, [sp, #16]
	ldr	r2, .L29+40
	ldr	r3, .L29+44
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	mov	r3, #1
	str	r3, [sp]
	mov	r2, #0
	ldr	r3, .L29+48
	mov	r0, #0
	mov	r1, #0
	bl	adapt
	str	r0, [fp, #-36]
	str	r1, [fp, #-32]
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	ldr	r0, .L29+52
	bl	printf
	ldr	r3, [fp, #-88]
	mov	r1, r3
	ldr	r0, .L29+56
	bl	printf
	sub	r3, fp, #88
	str	r3, [sp, #20]
	mov	r3, #4
	str	r3, [sp, #16]
	ldr	r2, .L29+40
	ldr	r3, .L29+44
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	mov	r3, #1
	str	r3, [sp]
	mov	r2, #0
	ldr	r3, .L29+48
	mov	r0, #0
	mov	r1, #0
	bl	adapt
	str	r0, [fp, #-28]
	str	r1, [fp, #-24]
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	ldr	r0, .L29+52
	bl	printf
	ldr	r3, [fp, #-88]
	mov	r1, r3
	ldr	r0, .L29+56
	bl	printf
	sub	r3, fp, #88
	str	r3, [sp, #20]
	mov	r3, #10
	str	r3, [sp, #16]
	ldr	r2, .L29+40
	ldr	r3, .L29+44
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	mov	r3, #1
	str	r3, [sp]
	mov	r2, #0
	ldr	r3, .L29+48
	mov	r0, #0
	mov	r1, #0
	bl	adapt
	str	r0, [fp, #-20]
	str	r1, [fp, #-16]
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	ldr	r0, .L29+52
	bl	printf
	ldr	r3, [fp, #-88]
	mov	r1, r3
	ldr	r0, .L29+60
	bl	printf
	b	.L24
.L28:
	nop
	mov	r3, #0
	ldr	r2, .L29
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L26
	bl	__stack_chk_fail
.L26:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L30:
	.align	2
.L29:
	.word	.LC9
	.word	1074790400
	.word	.LC0
	.word	1076101120
	.word	1077149696
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	-1717986918
	.word	1069128089
	.word	1077805056
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
