	.file	"592536.c"
	.intel_syntax noprefix
	.text
	.globl	head
	.bss
	.align 8
	.type	head, @object
	.size	head, 8
head:
	.zero	8
	.globl	first
	.align 8
	.type	first, @object
	.size	first, 8
first:
	.zero	8
	.section	.rodata
.LC0:
	.string	"Enter Roll No.\t"
.LC1:
	.string	"%d"
	.text
	.globl	push
	.type	push, @function
push:
.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, 16
	mov	edi, 32
	call	malloc@PLT
	mov	QWORD PTR -8[rbp], rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR 24[rax], 0
	mov	rax, QWORD PTR head[rip]
	test	rax, rax
	jne	.L2
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR head[rip], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR first[rip], rax
	jmp	.L4
.L2:
	mov	rax, QWORD PTR head[rip]
	mov	rdx, QWORD PTR -8[rbp]
	mov	QWORD PTR 24[rax], rdx
	mov	rax, QWORD PTR -8[rbp]
	mov	QWORD PTR head[rip], rax
.L4:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	push, .-push
	.section	.rodata
.LC2:
	.string	"\nThe list is empty"
	.text
	.globl	pop
	.type	pop, @function
pop:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	rax, QWORD PTR first[rip]
	test	rax, rax
	je	.L6
	mov	rax, QWORD PTR first[rip]
	mov	eax, DWORD PTR [rax]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR first[rip]
	mov	rax, QWORD PTR 24[rax]
	mov	QWORD PTR first[rip], rax
	mov	rax, QWORD PTR first[rip]
	test	rax, rax
	jne	.L9
	mov	QWORD PTR head[rip], 0
	jmp	.L9
.L6:
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edi, 1
	call	exit@PLT
.L9:
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	pop, .-pop
	.section	.rodata
	.align 8
.LC3:
	.string	"\nPress 1 to push, 2 to pop, anything else to exit\t"
	.text
	.globl	main
	.type	main, @function
main:
.LFB8:
	.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
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
.L11:
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 1
	jne	.L12
	mov	eax, 0
	call	push
	jmp	.L11
.L12:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, 2
	jne	.L15
	mov	eax, 0
	call	pop
	jmp	.L11
.L15:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.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	"592536.c"
	.text
	.global	head
	.bss
	.align	2
	.type	head, %object
	.size	head, 4
head:
	.space	4
	.global	first
	.align	2
	.type	first, %object
	.size	first, 4
first:
	.space	4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Enter Roll No.\011\000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.text
	.align	2
	.global	push
	.syntax unified
	.arm
	.fpu softvfp
	.type	push, %function
push:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r0, #28
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r0, .L5
	bl	printf
	ldr	r3, [fp, #-8]
	mov	r1, r3
	ldr	r0, .L5+4
	bl	__isoc99_scanf
	ldr	r3, [fp, #-8]
	mov	r2, #0
	str	r2, [r3, #24]
	ldr	r3, .L5+8
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L2
	ldr	r2, .L5+8
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	ldr	r2, .L5+12
	ldr	r3, [fp, #-8]
	str	r3, [r2]
	b	.L4
.L2:
	ldr	r3, .L5+8
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #24]
	ldr	r2, .L5+8
	ldr	r3, [fp, #-8]
	str	r3, [r2]
.L4:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	.LC0
	.word	.LC1
	.word	head
	.word	first
	.size	push, .-push
	.section	.rodata
	.align	2
.LC2:
	.ascii	"\012The list is empty\000"
	.text
	.align	2
	.global	pop
	.syntax unified
	.arm
	.fpu softvfp
	.type	pop, %function
pop:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	ldr	r3, .L12
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L8
	ldr	r3, .L12
	ldr	r3, [r3]
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L12+4
	bl	printf
	ldr	r3, .L12
	ldr	r3, [r3]
	ldr	r3, [r3, #24]
	ldr	r2, .L12
	str	r3, [r2]
	ldr	r3, .L12
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L11
	ldr	r3, .L12+8
	mov	r2, #0
	str	r2, [r3]
	b	.L11
.L8:
	ldr	r0, .L12+12
	bl	printf
	mov	r0, #1
	bl	exit
.L11:
	nop
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	first
	.word	.LC1
	.word	head
	.word	.LC2
	.size	pop, .-pop
	.section	.rodata
	.align	2
.LC3:
	.ascii	"\012Press 1 to push, 2 to pop, anything else to exi"
	.ascii	"t\011\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.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	r3, .L20
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
.L15:
	ldr	r0, .L20+4
	bl	printf
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L20+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-12]
	cmp	r3, #1
	bne	.L16
	bl	push
	b	.L15
.L16:
	ldr	r3, [fp, #-12]
	cmp	r3, #2
	bne	.L19
	bl	pop
	b	.L15
.L19:
	nop
	ldr	r3, .L20
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L18
	bl	__stack_chk_fail
.L18:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L21:
	.align	2
.L20:
	.word	.LC4
	.word	.LC3
	.word	.LC1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
