	.file	"379177.c"
	.intel_syntax noprefix
	.text
	.globl	nd_int
	.type	nd_int, @function
nd_int:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	edi, 0
	call	time@PLT
	mov	edi, eax
	call	srand@PLT
	call	rand@PLT
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	nd_int, .-nd_int
	.section	.rodata
.LC0:
	.string	"Value of a is %d\n"
	.text
	.globl	fun1
	.type	fun1, @function
fun1:
.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, 16
	mov	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR -4[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	fun1, .-fun1
	.globl	fun2
	.type	fun2, @function
fun2:
.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	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	fun2, .-fun2
	.section	.rodata
	.align 8
.LC1:
	.string	"You shoud not see this. Value of a is %d\n"
	.text
	.globl	fun3
	.type	fun3, @function
fun3:
.LFB9:
	.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	DWORD PTR -4[rbp], edi
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 2
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	fun3, .-fun3
	.globl	fun_ptr
	.section	.data.rel.local,"aw"
	.align 8
	.type	fun_ptr, @object
	.size	fun_ptr, 8
fun_ptr:
	.quad	fun3
	.text
	.globl	main
	.type	main, @function
main:
.LFB10:
	.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
	call	nd_int
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jns	.L7
	mov	eax, 0
	jmp	.L8
.L7:
	cmp	DWORD PTR -4[rbp], 0
	jle	.L9
	lea	rax, fun1[rip]
	mov	QWORD PTR fun_ptr[rip], rax
	jmp	.L10
.L9:
	lea	rax, fun2[rip]
	mov	QWORD PTR fun_ptr[rip], rax
.L10:
	cmp	DWORD PTR -4[rbp], 0
	jns	.L11
	lea	rax, fun3[rip]
	mov	QWORD PTR fun_ptr[rip], rax
.L11:
	mov	rdx, QWORD PTR fun_ptr[rip]
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	rdx
	mov	eax, 0
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.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	"379177.c"
	.text
	.align	2
	.global	nd_int
	.syntax unified
	.arm
	.fpu softvfp
	.type	nd_int, %function
nd_int:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	mov	r0, #0
	bl	time
	mov	r3, r0
	mov	r0, r3
	bl	srand
	bl	rand
	mov	r3, r0
	mov	r0, r3
	pop	{fp, pc}
	.size	nd_int, .-nd_int
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Value of a is %d\012\000"
	.text
	.align	2
	.global	fun1
	.syntax unified
	.arm
	.fpu softvfp
	.type	fun1, %function
fun1:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r1, [fp, #-8]
	ldr	r0, .L4
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC0
	.size	fun1, .-fun1
	.align	2
	.global	fun2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fun2, %function
fun2:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L7
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L8:
	.align	2
.L7:
	.word	.LC0
	.size	fun2, .-fun2
	.section	.rodata
	.align	2
.LC1:
	.ascii	"You shoud not see this. Value of a is %d\012\000"
	.text
	.align	2
	.global	fun3
	.syntax unified
	.arm
	.fpu softvfp
	.type	fun3, %function
fun3:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	add	r3, r3, #2
	mov	r1, r3
	ldr	r0, .L10
	bl	printf
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC1
	.size	fun3, .-fun3
	.global	fun_ptr
	.data
	.align	2
	.type	fun_ptr, %object
	.size	fun_ptr, 4
fun_ptr:
	.word	fun3
	.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
	bl	nd_int
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L13
	mov	r3, #0
	b	.L14
.L13:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	ble	.L15
	ldr	r3, .L18
	ldr	r2, .L18+4
	str	r2, [r3]
	b	.L16
.L15:
	ldr	r3, .L18
	ldr	r2, .L18+8
	str	r2, [r3]
.L16:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L17
	ldr	r3, .L18
	ldr	r2, .L18+12
	str	r2, [r3]
.L17:
	ldr	r3, .L18
	ldr	r3, [r3]
	ldr	r0, [fp, #-8]
	blx	r3
	mov	r3, #0
.L14:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	fun_ptr
	.word	fun1
	.word	fun2
	.word	fun3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
