	.file	"658372.c"
	.intel_syntax noprefix
	.text
	.globl	power
	.type	power, @function
power:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	QWORD PTR -8[rbp], 1
	mov	rax, QWORD PTR -24[rbp]
	cqo
	idiv	QWORD PTR -40[rbp]
	mov	QWORD PTR -24[rbp], rdx
	jmp	.L2
.L3:
	mov	rax, QWORD PTR -8[rbp]
	imul	rax, QWORD PTR -24[rbp]
	cqo
	idiv	QWORD PTR -40[rbp]
	mov	QWORD PTR -8[rbp], rdx
	sar	QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -24[rbp]
	imul	rax, rax
	cqo
	idiv	QWORD PTR -40[rbp]
	mov	QWORD PTR -24[rbp], rdx
.L2:
	cmp	QWORD PTR -32[rbp], 0
	jg	.L3
	mov	rax, QWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	power, .-power
	.section	.rodata
.LC0:
	.string	"The value of p : %ld\n"
.LC1:
	.string	"The value of g : %ld\n"
	.align 8
.LC2:
	.string	"The private key a for Alice : %ld\n"
	.align 8
.LC3:
	.string	"The private key b for Bob : %ld\n"
	.align 8
.LC4:
	.string	"Secret key for the Alice is : %ld\n"
	.align 8
.LC5:
	.string	"Secret Key for the Bob is : %ld\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, 64
	mov	QWORD PTR -64[rbp], 23
	mov	rax, QWORD PTR -64[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	QWORD PTR -56[rbp], 9
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	call	rand@PLT
	cdqe
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR -64[rbp]
	mov	rcx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	power
	mov	QWORD PTR -40[rbp], rax
	call	rand@PLT
	cdqe
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR -64[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -56[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	power
	mov	QWORD PTR -24[rbp], rax
	mov	rdx, QWORD PTR -64[rbp]
	mov	rcx, QWORD PTR -48[rbp]
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	power
	mov	QWORD PTR -16[rbp], rax
	mov	rdx, QWORD PTR -64[rbp]
	mov	rcx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	power
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	main, .-main
	.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	"658372.c"
	.text
	.global	__aeabi_idivmod
	.align	2
	.global	power
	.syntax unified
	.arm
	.fpu softvfp
	.type	power, %function
power:
	@ 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, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	mov	r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-16]
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [fp, #-16]
	b	.L2
.L3:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	mul	r3, r2, r3
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	asr	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-16]
	mov	r2, r3
	mul	r2, r3, r2
	mov	r3, r2
	ldr	r1, [fp, #-24]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [fp, #-16]
.L2:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bgt	.L3
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	power, .-power
	.section	.rodata
	.align	2
.LC0:
	.ascii	"The value of p : %ld\012\000"
	.align	2
.LC1:
	.ascii	"The value of g : %ld\012\000"
	.align	2
.LC2:
	.ascii	"The private key a for Alice : %ld\012\000"
	.align	2
.LC3:
	.ascii	"The private key b for Bob : %ld\012\000"
	.align	2
.LC4:
	.ascii	"Secret key for the Alice is : %ld\012\000"
	.align	2
.LC5:
	.ascii	"Secret Key for the Bob is : %ld\012\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, #32
	mov	r3, #23
	str	r3, [fp, #-36]
	ldr	r1, [fp, #-36]
	ldr	r0, .L7
	bl	printf
	mov	r3, #9
	str	r3, [fp, #-32]
	ldr	r1, [fp, #-32]
	ldr	r0, .L7+4
	bl	printf
	bl	rand
	str	r0, [fp, #-28]
	ldr	r1, [fp, #-28]
	ldr	r0, .L7+8
	bl	printf
	ldr	r2, [fp, #-36]
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-32]
	bl	power
	str	r0, [fp, #-24]
	bl	rand
	str	r0, [fp, #-20]
	ldr	r1, [fp, #-20]
	ldr	r0, .L7+12
	bl	printf
	ldr	r2, [fp, #-36]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-32]
	bl	power
	str	r0, [fp, #-16]
	ldr	r2, [fp, #-36]
	ldr	r1, [fp, #-28]
	ldr	r0, [fp, #-16]
	bl	power
	str	r0, [fp, #-12]
	ldr	r2, [fp, #-36]
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-24]
	bl	power
	str	r0, [fp, #-8]
	ldr	r1, [fp, #-12]
	ldr	r0, .L7+16
	bl	printf
	ldr	r1, [fp, #-8]
	ldr	r0, .L7+20
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
