	.file	"807589.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"This Program gets two integer n , k and show n to k power in a list."
.LC1:
	.string	"         k"
.LC2:
	.string	" k      2"
.LC3:
	.string	"----------"
.LC4:
	.string	"%d  %5d\n"
	.align 8
.LC5:
	.string	"This Program gets float-point number n and integer k, and show n to k power in a list."
.LC6:
	.string	"            k"
.LC7:
	.string	" k         10"
.LC8:
	.string	"----------------"
.LC10:
	.string	"%d        %-g\n"
.LC11:
	.string	" %d  %7.1f\n"
	.text
	.globl	main
	.type	main, @function
main:
.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, 16
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L2
.L4:
	cmp	DWORD PTR -4[rbp], 9
	jg	.L3
	mov	edi, 32
	call	putchar@PLT
.L3:
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	mov	edi, 2
	call	RaiseInToPower
	mov	edx, eax
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L2:
	cmp	DWORD PTR -4[rbp], 10
	jle	.L4
	mov	edi, 10
	call	putchar@PLT
	lea	rdi, .LC5[rip]
	call	puts@PLT
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rdi, .LC7[rip]
	call	puts@PLT
	lea	rdi, .LC8[rip]
	call	puts@PLT
	mov	DWORD PTR -4[rbp], -4
	jmp	.L5
.L6:
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR .LC9[rip]
	mov	edi, edx
	movq	xmm0, rax
	call	RaiseRealToPower
	movq	rax, xmm0
	mov	edx, DWORD PTR -4[rbp]
	movq	xmm0, rax
	mov	esi, edx
	lea	rdi, .LC10[rip]
	mov	eax, 1
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L5:
	cmp	DWORD PTR -4[rbp], 0
	js	.L6
	mov	DWORD PTR -4[rbp], 0
	jmp	.L7
.L8:
	mov	edx, DWORD PTR -4[rbp]
	mov	rax, QWORD PTR .LC9[rip]
	mov	edi, edx
	movq	xmm0, rax
	call	RaiseRealToPower
	movq	rax, xmm0
	mov	edx, DWORD PTR -4[rbp]
	movq	xmm0, rax
	mov	esi, edx
	lea	rdi, .LC11[rip]
	mov	eax, 1
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L7:
	cmp	DWORD PTR -4[rbp], 4
	jle	.L8
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	RaiseInToPower
	.type	RaiseInToPower, @function
RaiseInToPower:
.LFB1:
	.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 -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	DWORD PTR -4[rbp], 1
	jmp	.L11
.L12:
	mov	eax, DWORD PTR -4[rbp]
	imul	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -4[rbp], eax
	sub	DWORD PTR -24[rbp], 1
.L11:
	cmp	DWORD PTR -24[rbp], 0
	jg	.L12
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	RaiseInToPower, .-RaiseInToPower
	.globl	RaiseRealToPower
	.type	RaiseRealToPower, @function
RaiseRealToPower:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	movsd	QWORD PTR -24[rbp], xmm0
	mov	DWORD PTR -28[rbp], edi
	movsd	xmm0, QWORD PTR .LC12[rip]
	movsd	QWORD PTR -8[rbp], xmm0
	cmp	DWORD PTR -28[rbp], 0
	jns	.L18
	neg	DWORD PTR -28[rbp]
	jmp	.L16
.L17:
	movsd	xmm0, QWORD PTR -8[rbp]
	mulsd	xmm0, QWORD PTR -24[rbp]
	movsd	QWORD PTR -8[rbp], xmm0
	sub	DWORD PTR -28[rbp], 1
.L16:
	cmp	DWORD PTR -28[rbp], 0
	jg	.L17
	movsd	xmm0, QWORD PTR .LC12[rip]
	divsd	xmm0, QWORD PTR -8[rbp]
	movsd	QWORD PTR -8[rbp], xmm0
	jmp	.L18
.L19:
	movsd	xmm0, QWORD PTR -8[rbp]
	mulsd	xmm0, QWORD PTR -24[rbp]
	movsd	QWORD PTR -8[rbp], xmm0
	sub	DWORD PTR -28[rbp], 1
.L18:
	cmp	DWORD PTR -28[rbp], 0
	jg	.L19
	movsd	xmm0, QWORD PTR -8[rbp]
	movq	rax, xmm0
	movq	xmm0, rax
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	RaiseRealToPower, .-RaiseRealToPower
	.section	.rodata
	.align 8
.LC9:
	.long	0
	.long	1076101120
	.align 8
.LC12:
	.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	"807589.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"This Program gets two integer n , k and show n to k"
	.ascii	" power in a list.\000"
	.align	2
.LC1:
	.ascii	"         k\000"
	.align	2
.LC2:
	.ascii	" k      2\000"
	.align	2
.LC3:
	.ascii	"----------\000"
	.align	2
.LC4:
	.ascii	"%d  %5d\012\000"
	.align	2
.LC5:
	.ascii	"This Program gets float-point number n and integer "
	.ascii	"k, and show n to k power in a list.\000"
	.align	2
.LC6:
	.ascii	"            k\000"
	.align	2
.LC7:
	.ascii	" k         10\000"
	.align	2
.LC8:
	.ascii	"----------------\000"
	.align	2
.LC9:
	.ascii	"%d        %-g\012\000"
	.align	2
.LC10:
	.ascii	" %d  %7.1f\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r0, .L10
	bl	puts
	ldr	r0, .L10+4
	bl	puts
	ldr	r0, .L10+8
	bl	puts
	ldr	r0, .L10+12
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L2
.L4:
	ldr	r3, [fp, #-8]
	cmp	r3, #9
	bgt	.L3
	mov	r0, #32
	bl	putchar
.L3:
	ldr	r1, [fp, #-8]
	mov	r0, #2
	bl	RaiseInToPower
	mov	r3, r0
	mov	r2, r3
	ldr	r1, [fp, #-8]
	ldr	r0, .L10+16
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r3, [fp, #-8]
	cmp	r3, #10
	ble	.L4
	mov	r0, #10
	bl	putchar
	ldr	r0, .L10+20
	bl	puts
	ldr	r0, .L10+24
	bl	puts
	ldr	r0, .L10+28
	bl	puts
	ldr	r0, .L10+32
	bl	puts
	mvn	r3, #3
	str	r3, [fp, #-8]
	b	.L5
.L6:
	ldr	r2, [fp, #-8]
	mov	r0, #0
	ldr	r1, .L10+36
	bl	RaiseRealToPower
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-8]
	ldr	r0, .L10+40
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L5:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	blt	.L6
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L7
.L8:
	ldr	r2, [fp, #-8]
	mov	r0, #0
	ldr	r1, .L10+36
	bl	RaiseRealToPower
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-8]
	ldr	r0, .L10+44
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L7:
	ldr	r3, [fp, #-8]
	cmp	r3, #4
	ble	.L8
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	1076101120
	.word	.LC9
	.word	.LC10
	.size	main, .-main
	.align	2
	.global	RaiseInToPower
	.syntax unified
	.arm
	.fpu softvfp
	.type	RaiseInToPower, %function
RaiseInToPower:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L13
.L14:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-16]
	mul	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	sub	r3, r3, #1
	str	r3, [fp, #-20]
.L13:
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	bgt	.L14
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	RaiseInToPower, .-RaiseInToPower
	.global	__aeabi_dmul
	.global	__aeabi_ddiv
	.align	2
	.global	RaiseRealToPower
	.syntax unified
	.arm
	.fpu softvfp
	.type	RaiseRealToPower, %function
RaiseRealToPower:
	@ 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, #-20]
	str	r1, [fp, #-16]
	str	r2, [fp, #-24]
	mov	r2, #0
	ldr	r3, .L23
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bge	.L20
	ldr	r3, [fp, #-24]
	rsb	r3, r3, #0
	str	r3, [fp, #-24]
	b	.L18
.L19:
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	str	r3, [fp, #-24]
.L18:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bgt	.L19
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	mov	r0, #0
	ldr	r1, .L23
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	b	.L20
.L21:
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-12]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-24]
	sub	r3, r3, #1
	str	r3, [fp, #-24]
.L20:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	bgt	.L21
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L24:
	.align	2
.L23:
	.word	1072693248
	.size	RaiseRealToPower, .-RaiseRealToPower
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
