	.file	"610493.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC2:
	.string	"%f\t"
	.text
	.globl	binomial_probability
	.type	binomial_probability, @function
binomial_probability:
.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, 3248
	mov	DWORD PTR -3236[rbp], edi
	movsd	QWORD PTR -3248[rbp], xmm0
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movsd	xmm0, QWORD PTR .LC0[rip]
	movsd	QWORD PTR -3216[rbp], xmm0
	mov	DWORD PTR -3232[rbp], 1
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -3232[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 5
	add	rax, rbp
	sub	rax, 3216
	pxor	xmm0, xmm0
	movsd	QWORD PTR [rax], xmm0
	add	DWORD PTR -3232[rbp], 1
.L2:
	mov	eax, DWORD PTR -3232[rbp]
	cmp	eax, DWORD PTR -3236[rbp]
	jle	.L3
	mov	DWORD PTR -3228[rbp], 1
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -3228[rbp]
	cdqe
	movsd	xmm0, QWORD PTR .LC0[rip]
	movsd	QWORD PTR -3216[rbp+rax*8], xmm0
	add	DWORD PTR -3228[rbp], 1
.L4:
	mov	eax, DWORD PTR -3228[rbp]
	cmp	eax, DWORD PTR -3236[rbp]
	jle	.L5
	mov	DWORD PTR -3232[rbp], 1
	jmp	.L6
.L9:
	mov	DWORD PTR -3228[rbp], 1
	jmp	.L7
.L8:
	mov	eax, DWORD PTR -3232[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -3228[rbp]
	movsx	rcx, eax
	movsx	rdx, edx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	movsd	xmm0, QWORD PTR -3216[rbp+rax*8]
	movapd	xmm1, xmm0
	mulsd	xmm1, QWORD PTR -3248[rbp]
	movsd	xmm0, QWORD PTR .LC0[rip]
	movapd	xmm2, xmm0
	subsd	xmm2, QWORD PTR -3248[rbp]
	mov	eax, DWORD PTR -3228[rbp]
	sub	eax, 1
	movsx	rcx, eax
	mov	eax, DWORD PTR -3232[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	movsd	xmm0, QWORD PTR -3216[rbp+rax*8]
	mulsd	xmm0, xmm2
	addsd	xmm0, xmm1
	mov	eax, DWORD PTR -3228[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -3232[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	movsd	QWORD PTR -3216[rbp+rax*8], xmm0
	add	DWORD PTR -3228[rbp], 1
.L7:
	mov	eax, DWORD PTR -3228[rbp]
	cmp	eax, DWORD PTR -3236[rbp]
	jle	.L8
	add	DWORD PTR -3232[rbp], 1
.L6:
	mov	eax, DWORD PTR -3232[rbp]
	cmp	eax, DWORD PTR -3236[rbp]
	jle	.L9
	mov	DWORD PTR -3224[rbp], 0
	jmp	.L10
.L13:
	mov	DWORD PTR -3220[rbp], 0
	jmp	.L11
.L12:
	mov	eax, DWORD PTR -3220[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -3224[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	rax, QWORD PTR -3216[rbp+rax*8]
	movq	xmm0, rax
	lea	rdi, .LC2[rip]
	mov	eax, 1
	call	printf@PLT
	add	DWORD PTR -3220[rbp], 1
.L11:
	mov	eax, DWORD PTR -3220[rbp]
	cmp	eax, DWORD PTR -3236[rbp]
	jle	.L12
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -3224[rbp], 1
.L10:
	mov	eax, DWORD PTR -3224[rbp]
	cmp	eax, DWORD PTR -3236[rbp]
	jle	.L13
	mov	eax, DWORD PTR -3232[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -3228[rbp]
	sub	eax, 1
	movsx	rcx, eax
	movsx	rdx, edx
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	movsd	xmm0, QWORD PTR -3216[rbp+rax*8]
	movq	rax, xmm0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	binomial_probability, .-binomial_probability
	.section	.rodata
	.align 8
.LC3:
	.string	"Enter the number of Matches Teams Have to Win in order to be Series Winner"
.LC4:
	.string	"%d"
	.align 8
.LC5:
	.string	"Please Enter the probability of Team A winning a match:"
.LC6:
	.string	"%lf"
	.align 8
.LC7:
	.string	"Probability of Team A Winning the series is %lf\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rax, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rax, -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rdx, QWORD PTR -16[rbp]
	mov	eax, DWORD PTR -20[rbp]
	movq	xmm0, rdx
	mov	edi, eax
	call	binomial_probability
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC7[rip]
	mov	eax, 1
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.long	0
	.long	1072693248
	.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	"610493.c"
	.text
	.global	__aeabi_dmul
	.global	__aeabi_dsub
	.global	__aeabi_dadd
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%f\011\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	binomial_probability
	.syntax unified
	.arm
	.fpu softvfp
	.type	binomial_probability, %function
binomial_probability:
	@ args = 0, pretend = 0, frame = 3240
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #3232
	sub	sp, sp, #8
	str	r0, [fp, #-3248]
	str	r2, [fp, #-3260]
	str	r3, [fp, #-3256]
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	mov	r2, #0
	ldr	r3, .L16+4
	str	r2, [fp, #-3228]
	str	r3, [fp, #-3224]
	mov	r3, #1
	str	r3, [fp, #-3244]
	b	.L2
.L3:
	ldr	r2, [fp, #-3244]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #5
	sub	r2, fp, #20
	add	r3, r2, r3
	sub	r3, r3, #3200
	sub	r3, r3, #8
	mov	r0, #0
	mov	r1, #0
	stm	r3, {r0-r1}
	ldr	r3, [fp, #-3244]
	add	r3, r3, #1
	str	r3, [fp, #-3244]
.L2:
	ldr	r2, [fp, #-3244]
	ldr	r3, [fp, #-3248]
	cmp	r2, r3
	ble	.L3
	mov	r3, #1
	str	r3, [fp, #-3240]
	b	.L4
.L5:
	ldr	r3, [fp, #-3240]
	lsl	r3, r3, #3
	sub	r2, fp, #20
	add	r3, r2, r3
	sub	r3, r3, #3200
	sub	r3, r3, #8
	mov	r0, #0
	ldr	r1, .L16+4
	stm	r3, {r0-r1}
	ldr	r3, [fp, #-3240]
	add	r3, r3, #1
	str	r3, [fp, #-3240]
.L4:
	ldr	r2, [fp, #-3240]
	ldr	r3, [fp, #-3248]
	cmp	r2, r3
	ble	.L5
	mov	r3, #1
	str	r3, [fp, #-3244]
	b	.L6
.L9:
	mov	r3, #1
	str	r3, [fp, #-3240]
	b	.L7
.L8:
	ldr	r3, [fp, #-3244]
	sub	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-3240]
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #20
	add	r3, r2, r3
	sub	r3, r3, #3200
	sub	r3, r3, #8
	ldmia	r3, {r0-r1}
	ldr	r2, [fp, #-3260]
	ldr	r3, [fp, #-3256]
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r2, [fp, #-3260]
	ldr	r3, [fp, #-3256]
	mov	r0, #0
	ldr	r1, .L16+4
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, [fp, #-3240]
	sub	r1, r3, #1
	ldr	r2, [fp, #-3244]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #3
	sub	r2, fp, #20
	add	r3, r2, r3
	sub	r3, r3, #3200
	sub	r3, r3, #8
	ldmia	r3, {r2-r3}
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	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
	ldr	r2, [fp, #-3244]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-3240]
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #20
	add	r3, r2, r3
	sub	r3, r3, #3200
	sub	r3, r3, #8
	stm	r3, {r0-r1}
	ldr	r3, [fp, #-3240]
	add	r3, r3, #1
	str	r3, [fp, #-3240]
.L7:
	ldr	r2, [fp, #-3240]
	ldr	r3, [fp, #-3248]
	cmp	r2, r3
	ble	.L8
	ldr	r3, [fp, #-3244]
	add	r3, r3, #1
	str	r3, [fp, #-3244]
.L6:
	ldr	r2, [fp, #-3244]
	ldr	r3, [fp, #-3248]
	cmp	r2, r3
	ble	.L9
	mov	r3, #0
	str	r3, [fp, #-3236]
	b	.L10
.L13:
	mov	r3, #0
	str	r3, [fp, #-3232]
	b	.L11
.L12:
	ldr	r2, [fp, #-3236]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r2, [fp, #-3232]
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, fp, #20
	add	r3, r2, r3
	sub	r3, r3, #3200
	sub	r3, r3, #8
	ldmia	r3, {r2-r3}
	ldr	r0, .L16+8
	bl	printf
	ldr	r3, [fp, #-3232]
	add	r3, r3, #1
	str	r3, [fp, #-3232]
.L11:
	ldr	r2, [fp, #-3232]
	ldr	r3, [fp, #-3248]
	cmp	r2, r3
	ble	.L12
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-3236]
	add	r3, r3, #1
	str	r3, [fp, #-3236]
.L10:
	ldr	r2, [fp, #-3236]
	ldr	r3, [fp, #-3248]
	cmp	r2, r3
	ble	.L13
	ldr	r3, [fp, #-3244]
	sub	r2, r3, #1
	ldr	r3, [fp, #-3240]
	sub	r1, r3, #1
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #3
	sub	r2, fp, #20
	add	r3, r2, r3
	sub	r3, r3, #3200
	sub	r3, r3, #8
	ldmia	r3, {r2-r3}
	ldr	r1, .L16
	ldr	r0, [r1]
	ldr	r1, [fp, #-24]
	eors	r0, r1, r0
	mov	r1, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC1
	.word	1072693248
	.word	.LC0
	.size	binomial_probability, .-binomial_probability
	.section	.rodata
	.align	2
.LC2:
	.ascii	"Enter the number of Matches Teams Have to Win in or"
	.ascii	"der to be Series Winner\000"
	.align	2
.LC3:
	.ascii	"%d\000"
	.align	2
.LC4:
	.ascii	"Please Enter the probability of Team A winning a ma"
	.ascii	"tch:\000"
	.align	2
.LC5:
	.ascii	"%lf\000"
	.align	2
.LC6:
	.ascii	"Probability of Team A Winning the series is %lf\012"
	.ascii	"\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
	ldr	r3, .L21
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L21+4
	bl	puts
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L21+8
	bl	__isoc99_scanf
	ldr	r0, .L21+12
	bl	puts
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L21+16
	bl	__isoc99_scanf
	ldr	r1, [fp, #-24]
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	mov	r0, r1
	bl	binomial_probability
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L21+20
	bl	printf
	mov	r3, #0
	ldr	r2, .L21
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L20
	bl	__stack_chk_fail
.L20:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L22:
	.align	2
.L21:
	.word	.LC7
	.word	.LC2
	.word	.LC3
	.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
