	.file	"231393501.c"
	.intel_syntax noprefix
	.text
	.globl	getNum
	.type	getNum, @function
getNum:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	eax, edi
	mov	BYTE PTR -20[rbp], al
	mov	DWORD PTR -4[rbp], 0
	cmp	BYTE PTR -20[rbp], 47
	jle	.L2
	cmp	BYTE PTR -20[rbp], 57
	jg	.L2
	movsx	eax, BYTE PTR -20[rbp]
	sub	eax, 48
	mov	DWORD PTR -4[rbp], eax
	jmp	.L3
.L2:
	movsx	eax, BYTE PTR -20[rbp]
	sub	eax, 65
	cmp	eax, 37
	ja	.L4
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L6[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L6[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L6:
	.long	.L11-.L6
	.long	.L10-.L6
	.long	.L9-.L6
	.long	.L8-.L6
	.long	.L7-.L6
	.long	.L5-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L4-.L6
	.long	.L11-.L6
	.long	.L10-.L6
	.long	.L9-.L6
	.long	.L8-.L6
	.long	.L7-.L6
	.long	.L5-.L6
	.text
.L11:
	mov	DWORD PTR -4[rbp], 10
	jmp	.L3
.L10:
	mov	DWORD PTR -4[rbp], 11
	jmp	.L3
.L9:
	mov	DWORD PTR -4[rbp], 12
	jmp	.L3
.L8:
	mov	DWORD PTR -4[rbp], 13
	jmp	.L3
.L7:
	mov	DWORD PTR -4[rbp], 14
	jmp	.L3
.L5:
	mov	DWORD PTR -4[rbp], 15
	jmp	.L3
.L4:
	mov	DWORD PTR -4[rbp], 0
.L3:
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	getNum, .-getNum
	.globl	hex2int
	.type	hex2int, @function
hex2int:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 24
	.cfi_offset 3, -24
	mov	QWORD PTR -32[rbp], rdi
	mov	DWORD PTR -12[rbp], 0
	mov	rax, QWORD PTR -32[rbp]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	getNum
	sal	eax, 4
	mov	ebx, eax
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 1
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	edi, eax
	call	getNum
	add	eax, ebx
	mov	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	hex2int, .-hex2int
	.section	.rodata
.LC0:
	.string	"socket creation failed..."
.LC1:
	.string	"Client Socket Created"
.LC2:
	.string	"127.0.0.1"
	.align 8
.LC3:
	.string	"connection with the server failed..."
.LC4:
	.string	"connected to the server.."
	.align 8
.LC5:
	.string	"<N>ormal or <O>verflow run?, <Q> to quit: "
.LC6:
	.string	"Answer %s\n"
.LC7:
	.string	"Normal"
.LC8:
	.string	"Overflow"
.LC9:
	.string	"Function address:"
	.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, 208
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	movabs	rax, 7016996765293437281
	mov	edx, 24929
	mov	QWORD PTR -96[rbp], rax
	mov	QWORD PTR -88[rbp], rdx
	mov	QWORD PTR -80[rbp], 0
	mov	QWORD PTR -72[rbp], 0
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	BYTE PTR -86[rbp], 0
	mov	BYTE PTR -85[rbp], 20
	mov	BYTE PTR -84[rbp], 111
	mov	BYTE PTR -83[rbp], 85
	mov	BYTE PTR -82[rbp], 85
	mov	BYTE PTR -81[rbp], 85
	mov	BYTE PTR -80[rbp], 0
	mov	BYTE PTR -79[rbp], 0
	mov	edx, 0
	mov	esi, 1
	mov	edi, 2
	call	socket@PLT
	mov	DWORD PTR -196[rbp], eax
	cmp	DWORD PTR -196[rbp], -1
	jne	.L16
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L16:
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rax, -192[rbp]
	mov	QWORD PTR [rax], 0
	mov	QWORD PTR 8[rax], 0
	mov	WORD PTR -192[rbp], 2
	lea	rdi, .LC2[rip]
	call	inet_addr@PLT
	mov	DWORD PTR -188[rbp], eax
	mov	edi, 1080
	call	htons@PLT
	mov	WORD PTR -190[rbp], ax
	lea	rcx, -192[rbp]
	mov	eax, DWORD PTR -196[rbp]
	mov	edx, 16
	mov	rsi, rcx
	mov	edi, eax
	call	connect@PLT
	test	eax, eax
	je	.L17
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	edi, 0
	call	exit@PLT
.L17:
	lea	rdi, .LC4[rip]
	call	puts@PLT
.L26:
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -176[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	lea	rax, -176[rbp]
	mov	rsi, rax
	lea	rdi, .LC6[rip]
	mov	eax, 0
	call	printf@PLT
	movzx	eax, BYTE PTR -176[rbp]
	cmp	al, 110
	je	.L18
	movzx	eax, BYTE PTR -176[rbp]
	cmp	al, 78
	jne	.L19
.L18:
	lea	rdi, .LC7[rip]
	call	puts@PLT
	mov	BYTE PTR -86[rbp], 0
	lea	rcx, -96[rbp]
	mov	eax, DWORD PTR -196[rbp]
	mov	edx, 10
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	jmp	.L20
.L19:
	movzx	eax, BYTE PTR -176[rbp]
	cmp	al, 111
	je	.L21
	movzx	eax, BYTE PTR -176[rbp]
	cmp	al, 79
	jne	.L22
.L21:
	lea	rdi, .LC8[rip]
	call	puts@PLT
	lea	rdi, .LC9[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -176[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	mov	DWORD PTR -204[rbp], 10
	mov	DWORD PTR -200[rbp], 2
	jmp	.L23
.L24:
	lea	rdx, -176[rbp]
	mov	eax, DWORD PTR -200[rbp]
	cdqe
	add	rax, rdx
	mov	rdi, rax
	call	hex2int
	mov	edx, eax
	mov	eax, DWORD PTR -204[rbp]
	mov	ecx, eax
	shr	ecx, 31
	add	eax, ecx
	sar	eax
	add	eax, 10
	cdqe
	mov	BYTE PTR -96[rbp+rax], dl
	sub	DWORD PTR -204[rbp], 2
	add	DWORD PTR -200[rbp], 2
.L23:
	cmp	DWORD PTR -204[rbp], 0
	jns	.L24
	mov	BYTE PTR -80[rbp], 0
	mov	BYTE PTR -79[rbp], 0
	lea	rcx, -96[rbp]
	mov	eax, DWORD PTR -196[rbp]
	mov	edx, 18
	mov	rsi, rcx
	mov	edi, eax
	call	write@PLT
	jmp	.L20
.L22:
	movzx	eax, BYTE PTR -176[rbp]
	cmp	al, 113
	je	.L25
	movzx	eax, BYTE PTR -176[rbp]
	cmp	al, 81
	je	.L25
.L20:
	jmp	.L26
.L25:
	mov	eax, DWORD PTR -196[rbp]
	mov	edi, eax
	call	close@PLT
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L28
	call	__stack_chk_fail@PLT
.L28:
	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	"231393501.c"
	.text
	.align	2
	.global	getNum
	.syntax unified
	.arm
	.fpu softvfp
	.type	getNum, %function
getNum:
	@ 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
	mov	r3, r0
	strb	r3, [fp, #-13]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #47
	bls	.L2
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	cmp	r3, #57
	bhi	.L2
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	sub	r3, r3, #48
	str	r3, [fp, #-8]
	b	.L3
.L2:
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	sub	r3, r3, #65
	cmp	r3, #37
	ldrls	pc, [pc, r3, asl #2]
	b	.L4
.L6:
	.word	.L11
	.word	.L10
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L5
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L4
	.word	.L11
	.word	.L10
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L5
.L11:
	mov	r3, #10
	str	r3, [fp, #-8]
	b	.L3
.L10:
	mov	r3, #11
	str	r3, [fp, #-8]
	b	.L3
.L9:
	mov	r3, #12
	str	r3, [fp, #-8]
	b	.L3
.L8:
	mov	r3, #13
	str	r3, [fp, #-8]
	b	.L3
.L7:
	mov	r3, #14
	str	r3, [fp, #-8]
	b	.L3
.L5:
	mov	r3, #15
	str	r3, [fp, #-8]
	b	.L3
.L4:
	mov	r3, #0
	str	r3, [fp, #-8]
.L3:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	getNum, .-getNum
	.align	2
	.global	hex2int
	.syntax unified
	.arm
	.fpu softvfp
	.type	hex2int, %function
hex2int:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	str	r0, [fp, #-24]
	mov	r3, #0
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-24]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	getNum
	mov	r3, r0
	lsl	r4, r3, #4
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	getNum
	mov	r3, r0
	add	r3, r4, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	hex2int, .-hex2int
	.section	.rodata
	.align	2
.LC1:
	.ascii	"socket creation failed...\000"
	.align	2
.LC2:
	.ascii	"Client Socket Created\000"
	.align	2
.LC3:
	.ascii	"127.0.0.1\000"
	.align	2
.LC4:
	.ascii	"connection with the server failed...\000"
	.align	2
.LC5:
	.ascii	"connected to the server..\000"
	.align	2
.LC6:
	.ascii	"<N>ormal or <O>verflow run?, <Q> to quit: \000"
	.align	2
.LC7:
	.ascii	"Answer %s\012\000"
	.align	2
.LC8:
	.ascii	"Normal\000"
	.align	2
.LC9:
	.ascii	"Overflow\000"
	.align	2
.LC10:
	.ascii	"Function address:\000"
	.align	2
.LC0:
	.ascii	"aaaaaaaaaa\000"
	.space	69
	.align	2
.LC11:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 192
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #192
	ldr	r3, .L29
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r2, .L29+4
	sub	r3, fp, #88
	ldm	r2, {r0, r1, r2}
	stmia	r3!, {r0, r1}
	strh	r2, [r3]	@ movhi
	add	r3, r3, #2
	lsr	r2, r2, #16
	strb	r2, [r3]
	sub	r3, fp, #77
	mov	r2, #69
	mov	r1, #0
	mov	r0, r3
	bl	memset
	mov	r3, #0
	strb	r3, [fp, #-78]
	mov	r3, #20
	strb	r3, [fp, #-77]
	mov	r3, #111
	strb	r3, [fp, #-76]
	mov	r3, #85
	strb	r3, [fp, #-75]
	mov	r3, #85
	strb	r3, [fp, #-74]
	mov	r3, #85
	strb	r3, [fp, #-73]
	mov	r3, #0
	strb	r3, [fp, #-72]
	mov	r3, #0
	strb	r3, [fp, #-71]
	mov	r2, #0
	mov	r1, #1
	mov	r0, #2
	bl	socket
	str	r0, [fp, #-188]
	ldr	r3, [fp, #-188]
	cmn	r3, #1
	bne	.L16
	ldr	r0, .L29+8
	bl	puts
	mov	r0, #0
	bl	exit
.L16:
	ldr	r0, .L29+12
	bl	puts
	sub	r3, fp, #184
	mov	r2, r3
	mov	r3, #0
	str	r3, [r2]
	str	r3, [r2, #4]
	str	r3, [r2, #8]
	str	r3, [r2, #12]
	mov	r3, #2
	strh	r3, [fp, #-184]	@ movhi
	ldr	r0, .L29+16
	bl	inet_addr
	mov	r3, r0
	str	r3, [fp, #-180]
	ldr	r0, .L29+20
	bl	htons
	mov	r3, r0
	strh	r3, [fp, #-182]	@ movhi
	sub	r3, fp, #184
	mov	r2, #16
	mov	r1, r3
	ldr	r0, [fp, #-188]
	bl	connect
	mov	r3, r0
	cmp	r3, #0
	beq	.L17
	ldr	r0, .L29+24
	bl	puts
	mov	r0, #0
	bl	exit
.L17:
	ldr	r0, .L29+28
	bl	puts
.L26:
	ldr	r0, .L29+32
	bl	printf
	sub	r3, fp, #168
	mov	r0, r3
	bl	gets
	sub	r3, fp, #168
	mov	r1, r3
	ldr	r0, .L29+36
	bl	printf
	ldrb	r3, [fp, #-168]	@ zero_extendqisi2
	cmp	r3, #110
	beq	.L18
	ldrb	r3, [fp, #-168]	@ zero_extendqisi2
	cmp	r3, #78
	bne	.L19
.L18:
	ldr	r0, .L29+40
	bl	puts
	mov	r3, #0
	strb	r3, [fp, #-78]
	sub	r3, fp, #88
	mov	r2, #10
	mov	r1, r3
	ldr	r0, [fp, #-188]
	bl	write
	b	.L20
.L19:
	ldrb	r3, [fp, #-168]	@ zero_extendqisi2
	cmp	r3, #111
	beq	.L21
	ldrb	r3, [fp, #-168]	@ zero_extendqisi2
	cmp	r3, #79
	bne	.L22
.L21:
	ldr	r0, .L29+44
	bl	puts
	ldr	r0, .L29+48
	bl	printf
	sub	r3, fp, #168
	mov	r0, r3
	bl	gets
	mov	r3, #10
	str	r3, [fp, #-196]
	mov	r3, #2
	str	r3, [fp, #-192]
	b	.L23
.L24:
	sub	r2, fp, #168
	ldr	r3, [fp, #-192]
	add	r3, r2, r3
	mov	r0, r3
	bl	hex2int
	mov	r1, r0
	ldr	r3, [fp, #-196]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	add	r3, r3, #10
	and	r2, r1, #255
	sub	r1, fp, #4
	add	r3, r1, r3
	strb	r2, [r3, #-84]
	ldr	r3, [fp, #-196]
	sub	r3, r3, #2
	str	r3, [fp, #-196]
	ldr	r3, [fp, #-192]
	add	r3, r3, #2
	str	r3, [fp, #-192]
.L23:
	ldr	r3, [fp, #-196]
	cmp	r3, #0
	bge	.L24
	mov	r3, #0
	strb	r3, [fp, #-72]
	mov	r3, #0
	strb	r3, [fp, #-71]
	sub	r3, fp, #88
	mov	r2, #18
	mov	r1, r3
	ldr	r0, [fp, #-188]
	bl	write
	b	.L20
.L22:
	ldrb	r3, [fp, #-168]	@ zero_extendqisi2
	cmp	r3, #113
	beq	.L25
	ldrb	r3, [fp, #-168]	@ zero_extendqisi2
	cmp	r3, #81
	beq	.L25
.L20:
	b	.L26
.L25:
	ldr	r0, [fp, #-188]
	bl	close
	mov	r3, #0
	ldr	r2, .L29
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L28
	bl	__stack_chk_fail
.L28:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L30:
	.align	2
.L29:
	.word	.LC11
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	1080
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
