	.file	"40761831.c"
	.intel_syntax noprefix
	.text
	.type	rot13_cipher_buffer_switcher, @function
rot13_cipher_buffer_switcher:
.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, 32
	mov	eax, edi
	mov	BYTE PTR -20[rbp], al
	movsx	eax, BYTE PTR -20[rbp]
	mov	edi, eax
	call	tolower@PLT
	mov	BYTE PTR -1[rbp], al
	movsx	eax, BYTE PTR -1[rbp]
	sub	eax, 97
	cmp	eax, 25
	ja	.L2
	mov	eax, eax
	lea	rdx, 0[0+rax*4]
	lea	rax, .L4[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, .L4[rip]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L4:
	.long	.L29-.L4
	.long	.L28-.L4
	.long	.L27-.L4
	.long	.L26-.L4
	.long	.L25-.L4
	.long	.L24-.L4
	.long	.L23-.L4
	.long	.L22-.L4
	.long	.L21-.L4
	.long	.L20-.L4
	.long	.L19-.L4
	.long	.L18-.L4
	.long	.L17-.L4
	.long	.L16-.L4
	.long	.L15-.L4
	.long	.L14-.L4
	.long	.L13-.L4
	.long	.L12-.L4
	.long	.L11-.L4
	.long	.L10-.L4
	.long	.L9-.L4
	.long	.L8-.L4
	.long	.L7-.L4
	.long	.L6-.L4
	.long	.L5-.L4
	.long	.L3-.L4
	.text
.L29:
	mov	BYTE PTR -2[rbp], 110
	jmp	.L30
.L28:
	mov	BYTE PTR -2[rbp], 111
	jmp	.L30
.L27:
	mov	BYTE PTR -2[rbp], 80
	jmp	.L30
.L26:
	mov	BYTE PTR -2[rbp], 113
	jmp	.L30
.L25:
	mov	BYTE PTR -2[rbp], 114
	jmp	.L30
.L24:
	mov	BYTE PTR -2[rbp], 115
	jmp	.L30
.L23:
	mov	BYTE PTR -2[rbp], 116
	jmp	.L30
.L22:
	mov	BYTE PTR -2[rbp], 117
	jmp	.L30
.L21:
	mov	BYTE PTR -2[rbp], 118
	jmp	.L30
.L20:
	mov	BYTE PTR -2[rbp], 119
	jmp	.L30
.L19:
	mov	BYTE PTR -2[rbp], 120
	jmp	.L30
.L18:
	mov	BYTE PTR -2[rbp], 121
	jmp	.L30
.L17:
	mov	BYTE PTR -2[rbp], 122
	jmp	.L30
.L16:
	mov	BYTE PTR -2[rbp], 97
	jmp	.L30
.L15:
	mov	BYTE PTR -2[rbp], 98
	jmp	.L30
.L14:
	mov	BYTE PTR -2[rbp], 99
	jmp	.L30
.L13:
	mov	BYTE PTR -2[rbp], 100
	jmp	.L30
.L12:
	mov	BYTE PTR -2[rbp], 101
	jmp	.L30
.L11:
	mov	BYTE PTR -2[rbp], 102
	jmp	.L30
.L10:
	mov	BYTE PTR -2[rbp], 103
	jmp	.L30
.L9:
	mov	BYTE PTR -2[rbp], 104
	jmp	.L30
.L8:
	mov	BYTE PTR -2[rbp], 105
	jmp	.L30
.L7:
	mov	BYTE PTR -2[rbp], 106
	jmp	.L30
.L6:
	mov	BYTE PTR -2[rbp], 107
	jmp	.L30
.L5:
	mov	BYTE PTR -2[rbp], 108
	jmp	.L30
.L3:
	mov	BYTE PTR -2[rbp], 109
	jmp	.L30
.L2:
	movzx	eax, BYTE PTR -20[rbp]
	mov	BYTE PTR -2[rbp], al
	nop
.L30:
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movsx	rax, BYTE PTR -20[rbp]
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 256
	test	eax, eax
	je	.L31
	movsx	eax, BYTE PTR -2[rbp]
	mov	edi, eax
	call	toupper@PLT
	jmp	.L33
.L31:
	movsx	eax, BYTE PTR -2[rbp]
	mov	edi, eax
	call	tolower@PLT
.L33:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	rot13_cipher_buffer_switcher, .-rot13_cipher_buffer_switcher
	.type	rot13_cipher, @function
rot13_cipher:
.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, 56
	.cfi_offset 3, -24
	mov	QWORD PTR -56[rbp], rdi
	mov	rax, QWORD PTR -56[rbp]
	mov	rdi, rax
	call	strlen@PLT
	add	rax, 1
	mov	QWORD PTR -32[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR -24[rbp], rax
	mov	QWORD PTR -40[rbp], 0
	jmp	.L35
.L36:
	mov	rdx, QWORD PTR -56[rbp]
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	rcx, QWORD PTR -24[rbp]
	mov	rdx, QWORD PTR -40[rbp]
	lea	rbx, [rcx+rdx]
	mov	edi, eax
	call	rot13_cipher_buffer_switcher
	mov	BYTE PTR [rbx], al
	add	QWORD PTR -40[rbp], 1
.L35:
	mov	rax, QWORD PTR -40[rbp]
	cmp	rax, QWORD PTR -32[rbp]
	jb	.L36
	mov	rax, QWORD PTR -24[rbp]
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	rot13_cipher, .-rot13_cipher
	.section	.rodata
.LC0:
	.string	"Kevin C. Magnifico"
.LC1:
	.string	"Plain Text  : %s\n"
.LC2:
	.string	"Cipher Text : %s\n"
	.align 8
.LC3:
	.string	"---------------------------------"
	.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, 32
	lea	rax, .LC0[rip]
	mov	QWORD PTR -24[rbp], rax
	mov	rax, QWORD PTR -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	rot13_cipher
	mov	QWORD PTR -16[rbp], rax
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rdi, .LC3[rip]
	call	puts@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	rot13_cipher
	mov	QWORD PTR -8[rbp], rax
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	QWORD PTR -16[rbp], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	free@PLT
	mov	QWORD PTR -8[rbp], 0
	mov	eax, 0
	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	"40761831.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rot13_cipher_buffer_switcher, %function
rot13_cipher_buffer_switcher:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	mov	r3, r0
	strb	r3, [fp, #-13]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	mov	r0, r3
	bl	tolower
	mov	r3, r0
	strb	r3, [fp, #-5]
	ldrb	r3, [fp, #-5]	@ zero_extendqisi2
	sub	r3, r3, #97
	cmp	r3, #25
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L4:
	.word	.L29
	.word	.L28
	.word	.L27
	.word	.L26
	.word	.L25
	.word	.L24
	.word	.L23
	.word	.L22
	.word	.L21
	.word	.L20
	.word	.L19
	.word	.L18
	.word	.L17
	.word	.L16
	.word	.L15
	.word	.L14
	.word	.L13
	.word	.L12
	.word	.L11
	.word	.L10
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L29:
	mov	r3, #110
	strb	r3, [fp, #-6]
	b	.L30
.L28:
	mov	r3, #111
	strb	r3, [fp, #-6]
	b	.L30
.L27:
	mov	r3, #80
	strb	r3, [fp, #-6]
	b	.L30
.L26:
	mov	r3, #113
	strb	r3, [fp, #-6]
	b	.L30
.L25:
	mov	r3, #114
	strb	r3, [fp, #-6]
	b	.L30
.L24:
	mov	r3, #115
	strb	r3, [fp, #-6]
	b	.L30
.L23:
	mov	r3, #116
	strb	r3, [fp, #-6]
	b	.L30
.L22:
	mov	r3, #117
	strb	r3, [fp, #-6]
	b	.L30
.L21:
	mov	r3, #118
	strb	r3, [fp, #-6]
	b	.L30
.L20:
	mov	r3, #119
	strb	r3, [fp, #-6]
	b	.L30
.L19:
	mov	r3, #120
	strb	r3, [fp, #-6]
	b	.L30
.L18:
	mov	r3, #121
	strb	r3, [fp, #-6]
	b	.L30
.L17:
	mov	r3, #122
	strb	r3, [fp, #-6]
	b	.L30
.L16:
	mov	r3, #97
	strb	r3, [fp, #-6]
	b	.L30
.L15:
	mov	r3, #98
	strb	r3, [fp, #-6]
	b	.L30
.L14:
	mov	r3, #99
	strb	r3, [fp, #-6]
	b	.L30
.L13:
	mov	r3, #100
	strb	r3, [fp, #-6]
	b	.L30
.L12:
	mov	r3, #101
	strb	r3, [fp, #-6]
	b	.L30
.L11:
	mov	r3, #102
	strb	r3, [fp, #-6]
	b	.L30
.L10:
	mov	r3, #103
	strb	r3, [fp, #-6]
	b	.L30
.L9:
	mov	r3, #104
	strb	r3, [fp, #-6]
	b	.L30
.L8:
	mov	r3, #105
	strb	r3, [fp, #-6]
	b	.L30
.L7:
	mov	r3, #106
	strb	r3, [fp, #-6]
	b	.L30
.L6:
	mov	r3, #107
	strb	r3, [fp, #-6]
	b	.L30
.L5:
	mov	r3, #108
	strb	r3, [fp, #-6]
	b	.L30
.L3:
	mov	r3, #109
	strb	r3, [fp, #-6]
	b	.L30
.L2:
	ldrb	r3, [fp, #-13]
	strb	r3, [fp, #-6]
	nop
.L30:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldrb	r3, [fp, #-13]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #256
	cmp	r3, #0
	beq	.L31
	ldrb	r3, [fp, #-6]	@ zero_extendqisi2
	mov	r0, r3
	bl	toupper
	mov	r3, r0
	and	r3, r3, #255
	b	.L32
.L31:
	ldrb	r3, [fp, #-6]	@ zero_extendqisi2
	mov	r0, r3
	bl	tolower
	mov	r3, r0
	and	r3, r3, #255
.L32:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	rot13_cipher_buffer_switcher, .-rot13_cipher_buffer_switcher
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	rot13_cipher, %function
rot13_cipher:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #28
	str	r0, [fp, #-32]
	ldr	r0, [fp, #-32]
	bl	strlen
	mov	r3, r0
	add	r3, r3, #1
	str	r3, [fp, #-20]
	ldr	r0, [fp, #-20]
	bl	malloc
	mov	r3, r0
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L35
.L36:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-24]
	add	r4, r2, r3
	mov	r0, r1
	bl	rot13_cipher_buffer_switcher
	mov	r3, r0
	strb	r3, [r4]
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L35:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bcc	.L36
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
	.size	rot13_cipher, .-rot13_cipher
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Kevin C. Magnifico\000"
	.align	2
.LC1:
	.ascii	"Plain Text  : %s\012\000"
	.align	2
.LC2:
	.ascii	"Cipher Text : %s\012\000"
	.align	2
.LC3:
	.ascii	"---------------------------------\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L40
	str	r3, [fp, #-16]
	ldr	r1, [fp, #-16]
	ldr	r0, .L40+4
	bl	printf
	ldr	r0, [fp, #-16]
	bl	rot13_cipher
	str	r0, [fp, #-12]
	ldr	r1, [fp, #-12]
	ldr	r0, .L40+8
	bl	printf
	ldr	r0, .L40+12
	bl	puts
	ldr	r1, [fp, #-12]
	ldr	r0, .L40+8
	bl	printf
	ldr	r0, [fp, #-12]
	bl	rot13_cipher
	str	r0, [fp, #-8]
	ldr	r1, [fp, #-8]
	ldr	r0, .L40+4
	bl	printf
	ldr	r0, [fp, #-12]
	bl	free
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r0, [fp, #-8]
	bl	free
	mov	r3, #0
	str	r3, [fp, #-8]
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L41:
	.align	2
.L40:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
