	.file	"426502.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"2^d nodes will be computed"
.LC1:
	.string	"Enter d : "
.LC2:
	.string	"%d"
.LC3:
	.string	"Linear array : "
.LC4:
	.string	"%d "
.LC5:
	.string	"Binary : "
.LC6:
	.string	" Gray : "
.LC7:
	.string	" Node number of hypercube : "
	.text
	.globl	main
	.type	main, @function
main:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	add	rsp, -128
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -116[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -116[rbp]
	mov	edx, 1
	mov	ecx, eax
	sal	edx, cl
	mov	eax, edx
	mov	DWORD PTR -88[rbp], eax
	mov	DWORD PTR -112[rbp], 0
	jmp	.L2
.L17:
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -112[rbp]
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -112[rbp]
	sar	eax
	xor	eax, DWORD PTR -112[rbp]
	mov	DWORD PTR -84[rbp], eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -108[rbp], 0
	jmp	.L3
.L4:
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	mov	BYTE PTR -80[rbp+rax], 48
	mov	eax, DWORD PTR -108[rbp]
	cdqe
	mov	BYTE PTR -48[rbp+rax], 48
	add	DWORD PTR -108[rbp], 1
.L3:
	cmp	DWORD PTR -108[rbp], 31
	jle	.L4
	mov	eax, DWORD PTR -112[rbp]
	mov	DWORD PTR -104[rbp], eax
	mov	DWORD PTR -100[rbp], 0
	jmp	.L5
.L8:
	mov	eax, DWORD PTR -104[rbp]
	and	eax, 1
	test	eax, eax
	je	.L6
	mov	eax, 31
	sub	eax, DWORD PTR -100[rbp]
	cdqe
	mov	BYTE PTR -80[rbp+rax], 49
	jmp	.L7
.L6:
	mov	eax, 31
	sub	eax, DWORD PTR -100[rbp]
	cdqe
	mov	BYTE PTR -80[rbp+rax], 48
.L7:
	sar	DWORD PTR -104[rbp]
	add	DWORD PTR -100[rbp], 1
.L5:
	cmp	DWORD PTR -104[rbp], 0
	jne	.L8
	mov	eax, DWORD PTR -84[rbp]
	mov	DWORD PTR -104[rbp], eax
	mov	DWORD PTR -100[rbp], 0
	jmp	.L9
.L12:
	mov	eax, DWORD PTR -104[rbp]
	and	eax, 1
	test	eax, eax
	je	.L10
	mov	eax, 31
	sub	eax, DWORD PTR -100[rbp]
	cdqe
	mov	BYTE PTR -48[rbp+rax], 49
	jmp	.L11
.L10:
	mov	eax, 31
	sub	eax, DWORD PTR -100[rbp]
	cdqe
	mov	BYTE PTR -48[rbp+rax], 48
.L11:
	sar	DWORD PTR -104[rbp]
	add	DWORD PTR -100[rbp], 1
.L9:
	cmp	DWORD PTR -104[rbp], 0
	jne	.L12
	mov	edx, DWORD PTR -116[rbp]
	mov	eax, 32
	sub	eax, edx
	mov	DWORD PTR -96[rbp], eax
	jmp	.L13
.L14:
	mov	eax, DWORD PTR -96[rbp]
	cdqe
	movzx	eax, BYTE PTR -80[rbp+rax]
	movsx	eax, al
	mov	edi, eax
	call	putchar@PLT
	add	DWORD PTR -96[rbp], 1
.L13:
	cmp	DWORD PTR -96[rbp], 31
	jle	.L14
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, DWORD PTR -116[rbp]
	mov	eax, 32
	sub	eax, edx
	mov	DWORD PTR -92[rbp], eax
	jmp	.L15
.L16:
	mov	eax, DWORD PTR -92[rbp]
	cdqe
	movzx	eax, BYTE PTR -48[rbp+rax]
	movsx	eax, al
	mov	edi, eax
	call	putchar@PLT
	add	DWORD PTR -92[rbp], 1
.L15:
	cmp	DWORD PTR -92[rbp], 31
	jle	.L16
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -84[rbp]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 10
	call	putchar@PLT
	add	DWORD PTR -112[rbp], 1
.L2:
	mov	eax, DWORD PTR -112[rbp]
	cmp	eax, DWORD PTR -88[rbp]
	jl	.L17
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L19
	call	__stack_chk_fail@PLT
.L19:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"426502.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"2^d nodes will be computed\000"
	.align	2
.LC1:
	.ascii	"Enter d : \000"
	.align	2
.LC2:
	.ascii	"%d\000"
	.align	2
.LC3:
	.ascii	"Linear array : \000"
	.align	2
.LC4:
	.ascii	"%d \000"
	.align	2
.LC5:
	.ascii	"Binary : \000"
	.align	2
.LC6:
	.ascii	" Gray : \000"
	.align	2
.LC7:
	.ascii	" Node number of hypercube : \000"
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 104
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #104
	ldr	r3, .L20
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L20+4
	bl	puts
	ldr	r0, .L20+8
	bl	printf
	sub	r3, fp, #108
	mov	r1, r3
	ldr	r0, .L20+12
	bl	__isoc99_scanf
	ldr	r3, [fp, #-108]
	mov	r2, #1
	lsl	r3, r2, r3
	str	r3, [fp, #-80]
	mov	r3, #0
	str	r3, [fp, #-104]
	b	.L2
.L17:
	ldr	r0, .L20+16
	bl	printf
	ldr	r1, [fp, #-104]
	ldr	r0, .L20+20
	bl	printf
	ldr	r3, [fp, #-104]
	asr	r3, r3, #1
	ldr	r2, [fp, #-104]
	eor	r3, r3, r2
	str	r3, [fp, #-76]
	ldr	r0, .L20+24
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-100]
	b	.L3
.L4:
	sub	r2, fp, #72
	ldr	r3, [fp, #-100]
	add	r3, r2, r3
	mov	r2, #48
	strb	r2, [r3]
	sub	r2, fp, #40
	ldr	r3, [fp, #-100]
	add	r3, r2, r3
	mov	r2, #48
	strb	r2, [r3]
	ldr	r3, [fp, #-100]
	add	r3, r3, #1
	str	r3, [fp, #-100]
.L3:
	ldr	r3, [fp, #-100]
	cmp	r3, #31
	ble	.L4
	ldr	r3, [fp, #-104]
	str	r3, [fp, #-96]
	mov	r3, #0
	str	r3, [fp, #-92]
	b	.L5
.L8:
	ldr	r3, [fp, #-96]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L6
	ldr	r3, [fp, #-92]
	rsb	r3, r3, #31
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #49
	strb	r2, [r3, #-68]
	b	.L7
.L6:
	ldr	r3, [fp, #-92]
	rsb	r3, r3, #31
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #48
	strb	r2, [r3, #-68]
.L7:
	ldr	r3, [fp, #-96]
	asr	r3, r3, #1
	str	r3, [fp, #-96]
	ldr	r3, [fp, #-92]
	add	r3, r3, #1
	str	r3, [fp, #-92]
.L5:
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	bne	.L8
	ldr	r3, [fp, #-76]
	str	r3, [fp, #-96]
	mov	r3, #0
	str	r3, [fp, #-92]
	b	.L9
.L12:
	ldr	r3, [fp, #-96]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L10
	ldr	r3, [fp, #-92]
	rsb	r3, r3, #31
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #49
	strb	r2, [r3, #-36]
	b	.L11
.L10:
	ldr	r3, [fp, #-92]
	rsb	r3, r3, #31
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #48
	strb	r2, [r3, #-36]
.L11:
	ldr	r3, [fp, #-96]
	asr	r3, r3, #1
	str	r3, [fp, #-96]
	ldr	r3, [fp, #-92]
	add	r3, r3, #1
	str	r3, [fp, #-92]
.L9:
	ldr	r3, [fp, #-96]
	cmp	r3, #0
	bne	.L12
	ldr	r3, [fp, #-108]
	rsb	r3, r3, #32
	str	r3, [fp, #-88]
	b	.L13
.L14:
	sub	r2, fp, #72
	ldr	r3, [fp, #-88]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
	ldr	r3, [fp, #-88]
	add	r3, r3, #1
	str	r3, [fp, #-88]
.L13:
	ldr	r3, [fp, #-88]
	cmp	r3, #31
	ble	.L14
	ldr	r0, .L20+28
	bl	printf
	ldr	r3, [fp, #-108]
	rsb	r3, r3, #32
	str	r3, [fp, #-84]
	b	.L15
.L16:
	sub	r2, fp, #40
	ldr	r3, [fp, #-84]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
.L15:
	ldr	r3, [fp, #-84]
	cmp	r3, #31
	ble	.L16
	ldr	r0, .L20+32
	bl	printf
	ldr	r1, [fp, #-76]
	ldr	r0, .L20+12
	bl	printf
	mov	r0, #10
	bl	putchar
	ldr	r3, [fp, #-104]
	add	r3, r3, #1
	str	r3, [fp, #-104]
.L2:
	ldr	r2, [fp, #-104]
	ldr	r3, [fp, #-80]
	cmp	r2, r3
	blt	.L17
	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	.LC8
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
