	.file	"87100.c"
	.intel_syntax noprefix
	.text
	.globl	epsilon_1
	.data
	.align 4
	.type	epsilon_1, @object
	.size	epsilon_1, 4
epsilon_1:
	.long	1008981770
	.globl	epsilon_2
	.align 4
	.type	epsilon_2, @object
	.size	epsilon_2, 4
epsilon_2:
	.long	1031798784
	.text
	.globl	start_integrate
	.type	start_integrate, @function
start_integrate:
.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, 32
	mov	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	movss	xmm0, DWORD PTR 4[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	eax, DWORD PTR [rax]
	movaps	xmm1, xmm0
	movd	xmm0, eax
	call	integrate
	movd	eax, xmm0
	mov	rdx, QWORD PTR -8[rbp]
	mov	DWORD PTR 8[rdx], eax
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	start_integrate, .-start_integrate
	.globl	f
	.type	f, @function
f:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movss	DWORD PTR -4[rbp], xmm0
	movss	xmm0, DWORD PTR -4[rbp]
	movaps	xmm1, xmm0
	mulss	xmm1, xmm0
	movss	xmm0, DWORD PTR .LC0[rip]
	addss	xmm0, xmm1
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	f, .-f
	.globl	df
	.type	df, @function
df:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movss	DWORD PTR -4[rbp], xmm0
	movss	xmm0, DWORD PTR -4[rbp]
	addss	xmm0, xmm0
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	df, .-df
	.globl	integrate
	.type	integrate, @function
integrate:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 72
	.cfi_offset 3, -24
	movss	DWORD PTR -68[rbp], xmm0
	movss	DWORD PTR -72[rbp], xmm1
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	movss	xmm0, DWORD PTR -68[rbp]
	addss	xmm0, DWORD PTR -72[rbp]
	movss	xmm1, DWORD PTR .LC1[rip]
	divss	xmm0, xmm1
	movss	DWORD PTR -56[rbp], xmm0
	mov	eax, DWORD PTR -56[rbp]
	movd	xmm0, eax
	call	df
	movd	ebx, xmm0
	mov	eax, DWORD PTR -56[rbp]
	movd	xmm0, eax
	call	f
	movaps	xmm1, xmm0
	movd	xmm0, ebx
	divss	xmm0, xmm1
	movss	xmm1, DWORD PTR epsilon_1[rip]
	comiss	xmm0, xmm1
	jbe	.L8
	movss	xmm0, DWORD PTR -72[rbp]
	subss	xmm0, DWORD PTR -68[rbp]
	movss	xmm1, DWORD PTR epsilon_2[rip]
	comiss	xmm0, xmm1
	jbe	.L8
	mov	QWORD PTR -36[rbp], 0
	mov	DWORD PTR -28[rbp], 0
	movss	xmm0, DWORD PTR -56[rbp]
	movss	DWORD PTR -36[rbp], xmm0
	movss	xmm0, DWORD PTR -72[rbp]
	movss	DWORD PTR -32[rbp], xmm0
	lea	rdx, -36[rbp]
	lea	rax, -48[rbp]
	mov	rcx, rdx
	lea	rdx, start_integrate[rip]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_create@PLT
	movss	xmm0, DWORD PTR -56[rbp]
	mov	eax, DWORD PTR -68[rbp]
	movaps	xmm1, xmm0
	movd	xmm0, eax
	call	integrate
	movd	eax, xmm0
	mov	DWORD PTR -52[rbp], eax
	mov	rax, QWORD PTR -48[rbp]
	mov	esi, 0
	mov	rdi, rax
	call	pthread_join@PLT
	movss	xmm0, DWORD PTR -28[rbp]
	addss	xmm0, DWORD PTR -52[rbp]
	jmp	.L11
.L8:
	movss	xmm0, DWORD PTR -72[rbp]
	subss	xmm0, DWORD PTR -68[rbp]
	movss	DWORD PTR -76[rbp], xmm0
	mov	eax, DWORD PTR -56[rbp]
	movd	xmm0, eax
	call	f
	mulss	xmm0, DWORD PTR -76[rbp]
.L11:
	mov	rax, QWORD PTR -24[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	integrate, .-integrate
	.section	.rodata
.LC2:
	.string	"epsilon_1: "
.LC3:
	.string	"%f"
.LC4:
	.string	"epsilon_2: "
.LC5:
	.string	"a: "
.LC6:
	.string	"b: "
	.align 8
.LC7:
	.string	"f(x) = x^2 + 1; integrate(a, b) = %f\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 48
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, epsilon_1[rip]
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rsi, epsilon_2[rip]
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	movss	xmm0, DWORD PTR -16[rbp]
	mov	eax, DWORD PTR -20[rbp]
	movaps	xmm1, xmm0
	movd	xmm0, eax
	call	integrate
	movd	eax, xmm0
	mov	DWORD PTR -12[rbp], eax
	pxor	xmm2, xmm2
	cvtss2sd	xmm2, DWORD PTR -12[rbp]
	movq	rax, xmm2
	movq	xmm0, rax
	lea	rdi, .LC7[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC0:
	.long	1065353216
	.align 4
.LC1:
	.long	1073741824
	.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	"87100.c"
	.text
	.global	epsilon_1
	.data
	.align	2
	.type	epsilon_1, %object
	.size	epsilon_1, 4
epsilon_1:
	.word	1008981770
	.global	epsilon_2
	.align	2
	.type	epsilon_2, %object
	.size	epsilon_2, 4
epsilon_2:
	.word	1031798784
	.text
	.align	2
	.global	start_integrate
	.syntax unified
	.arm
	.fpu softvfp
	.type	start_integrate, %function
start_integrate:
	@ 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, #-16]
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	ldr	r2, [r3]	@ float
	ldr	r3, [fp, #-8]
	ldr	r3, [r3, #4]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	integrate
	mov	r2, r0
	ldr	r3, [fp, #-8]
	str	r2, [r3, #8]	@ float
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	start_integrate, .-start_integrate
	.global	__aeabi_fmul
	.global	__aeabi_fadd
	.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	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]	@ float
	ldr	r1, [fp, #-8]	@ float
	ldr	r0, [fp, #-8]	@ float
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, #1065353216
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	f, .-f
	.align	2
	.global	df
	.syntax unified
	.arm
	.fpu softvfp
	.type	df, %function
df:
	@ 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]	@ float
	ldr	r3, [fp, #-8]	@ float
	mov	r1, r3
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	df, .-df
	.global	__aeabi_fdiv
	.global	__aeabi_fcmpgt
	.global	__aeabi_fsub
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	integrate
	.syntax unified
	.arm
	.fpu softvfp
	.type	integrate, %function
integrate:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #44
	str	r0, [fp, #-48]	@ float
	str	r1, [fp, #-52]	@ float
	ldr	r3, .L15
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r1, [fp, #-52]	@ float
	ldr	r0, [fp, #-48]	@ float
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r1, #1073741824
	mov	r0, r3
	bl	__aeabi_fdiv
	mov	r3, r0
	str	r3, [fp, #-36]	@ float
	ldr	r0, [fp, #-36]	@ float
	bl	df
	mov	r4, r0
	ldr	r0, [fp, #-36]	@ float
	bl	f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fdiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L15+4
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L8
	ldr	r1, [fp, #-48]	@ float
	ldr	r0, [fp, #-52]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L15+8
	ldr	r3, [r3]	@ float
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_fcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L8
	sub	r3, fp, #28
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	ldr	r3, [fp, #-36]	@ float
	str	r3, [fp, #-28]	@ float
	ldr	r3, [fp, #-52]	@ float
	str	r3, [fp, #-24]	@ float
	sub	r3, fp, #28
	sub	r0, fp, #40
	ldr	r2, .L15+12
	mov	r1, #0
	bl	pthread_create
	ldr	r1, [fp, #-36]	@ float
	ldr	r0, [fp, #-48]	@ float
	bl	integrate
	str	r0, [fp, #-32]	@ float
	ldr	r3, [fp, #-40]
	mov	r1, #0
	mov	r0, r3
	bl	pthread_join
	ldr	r3, [fp, #-20]	@ float
	ldr	r1, [fp, #-32]	@ float
	mov	r0, r3
	bl	__aeabi_fadd
	mov	r3, r0
	b	.L11
.L8:
	ldr	r1, [fp, #-48]	@ float
	ldr	r0, [fp, #-52]	@ float
	bl	__aeabi_fsub
	mov	r3, r0
	mov	r4, r3
	ldr	r0, [fp, #-36]	@ float
	bl	f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	__aeabi_fmul
	mov	r3, r0
.L11:
	ldr	r2, .L15
	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, #8
	@ sp needed
	pop	{r4, fp, pc}
.L16:
	.align	2
.L15:
	.word	.LC0
	.word	epsilon_1
	.word	epsilon_2
	.word	start_integrate
	.size	integrate, .-integrate
	.section	.rodata
	.align	2
.LC1:
	.ascii	"epsilon_1: \000"
	.align	2
.LC2:
	.ascii	"%f\000"
	.align	2
.LC3:
	.ascii	"epsilon_2: \000"
	.align	2
.LC4:
	.ascii	"a: \000"
	.align	2
.LC5:
	.ascii	"b: \000"
	.global	__aeabi_f2d
	.align	2
.LC6:
	.ascii	"f(x) = x^2 + 1; integrate(a, b) = %f\012\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r1, [fp, #-28]
	ldr	r3, .L20
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L20+4
	bl	printf
	ldr	r1, .L20+8
	ldr	r0, .L20+12
	bl	__isoc99_scanf
	ldr	r0, .L20+16
	bl	printf
	ldr	r1, .L20+20
	ldr	r0, .L20+12
	bl	__isoc99_scanf
	ldr	r0, .L20+24
	bl	printf
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L20+12
	bl	__isoc99_scanf
	ldr	r0, .L20+28
	bl	printf
	sub	r3, fp, #16
	mov	r1, r3
	ldr	r0, .L20+12
	bl	__isoc99_scanf
	ldr	r3, [fp, #-20]	@ float
	ldr	r2, [fp, #-16]	@ float
	mov	r1, r2
	mov	r0, r3
	bl	integrate
	str	r0, [fp, #-12]	@ float
	ldr	r0, [fp, #-12]	@ float
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L20+32
	bl	printf
	mov	r3, #0
	ldr	r2, .L20
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L19
	bl	__stack_chk_fail
.L19:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC7
	.word	.LC1
	.word	epsilon_1
	.word	.LC2
	.word	.LC3
	.word	epsilon_2
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
