	.file	"510743.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	""
.LC1:
	.string	"0x"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.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
	movabs	rax, 4050477919869546803
	movabs	rdx, 4050481227897136690
	mov	QWORD PTR -80[rbp], rax
	mov	QWORD PTR -72[rbp], rdx
	movabs	rax, 4122537718128457782
	movabs	rdx, 3473739197430916406
	mov	QWORD PTR -64[rbp], rax
	mov	QWORD PTR -56[rbp], rdx
	movabs	rax, 3545231642492154677
	movabs	rdx, 3690807853739815524
	mov	QWORD PTR -48[rbp], rax
	mov	QWORD PTR -40[rbp], rdx
	movabs	rax, 3474637489692882021
	mov	QWORD PTR -32[rbp], rax
	mov	BYTE PTR -24[rbp], 0
	lea	rax, -80[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -96[rbp], eax
	mov	QWORD PTR -88[rbp], 0
	mov	BYTE PTR -113[rbp], 0
	mov	DWORD PTR -92[rbp], 0
	mov	DWORD PTR -112[rbp], 0
	jmp	.L2
.L6:
	mov	eax, DWORD PTR -112[rbp]
	cdqe
	lea	rdx, -80[rbp]
	add	rax, rdx
	mov	QWORD PTR -88[rbp], rax
	mov	DWORD PTR -108[rbp], 0
	mov	DWORD PTR -104[rbp], 6
	jmp	.L3
.L5:
	cmp	DWORD PTR -108[rbp], 1
	jle	.L4
	mov	DWORD PTR -104[rbp], 2
.L4:
	mov	eax, DWORD PTR -108[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -113[rbp], al
	mov	edx, DWORD PTR -108[rbp]
	mov	eax, DWORD PTR -104[rbp]
	add	eax, edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -88[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -108[rbp]
	movsx	rcx, edx
	mov	rdx, QWORD PTR -88[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	mov	edx, DWORD PTR -108[rbp]
	mov	eax, DWORD PTR -104[rbp]
	add	eax, edx
	movsx	rdx, eax
	mov	rax, QWORD PTR -88[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -113[rbp]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -108[rbp], 1
.L3:
	cmp	DWORD PTR -108[rbp], 3
	jle	.L5
	add	DWORD PTR -112[rbp], 8
.L2:
	mov	eax, DWORD PTR -112[rbp]
	cmp	eax, DWORD PTR -96[rbp]
	jl	.L6
	mov	DWORD PTR -100[rbp], 0
	jmp	.L7
.L9:
	cmp	DWORD PTR -100[rbp], 1
	je	.L8
	mov	eax, DWORD PTR -100[rbp]
	and	eax, 7
	test	eax, eax
	jne	.L8
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
.L8:
	mov	eax, DWORD PTR -100[rbp]
	cdqe
	movzx	eax, BYTE PTR -80[rbp+rax]
	movsx	eax, al
	mov	edi, eax
	call	putchar@PLT
	add	DWORD PTR -100[rbp], 1
.L7:
	mov	eax, DWORD PTR -100[rbp]
	cmp	eax, DWORD PTR -96[rbp]
	jl	.L9
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L11
	call	__stack_chk_fail@PLT
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.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	"510743.c"
	.text
	.section	.rodata
	.align	2
.LC1:
	.ascii	"\000"
	.align	2
.LC2:
	.ascii	"0x\000"
	.align	2
.LC0:
	.ascii	"31c050682f2f7368682f62696e89e3505389e131d2b00b83e4f"
	.ascii	"0cd80\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 96
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #96
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, .L12+4
	sub	ip, fp, #68
	mov	lr, r3
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1, r2}
	stmia	ip!, {r0, r1}
	strb	r2, [ip]
	sub	r3, fp, #68
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-80]
	mov	r3, #0
	str	r3, [fp, #-76]
	mov	r3, #0
	strb	r3, [fp, #-97]
	mov	r3, #0
	str	r3, [fp, #-72]
	mov	r3, #0
	str	r3, [fp, #-96]
	b	.L2
.L6:
	ldr	r3, [fp, #-96]
	sub	r2, fp, #68
	add	r3, r2, r3
	str	r3, [fp, #-76]
	mov	r3, #0
	str	r3, [fp, #-92]
	mov	r3, #6
	str	r3, [fp, #-88]
	b	.L3
.L5:
	ldr	r3, [fp, #-92]
	cmp	r3, #1
	ble	.L4
	mov	r3, #2
	str	r3, [fp, #-88]
.L4:
	ldr	r3, [fp, #-92]
	ldr	r2, [fp, #-76]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-97]
	ldr	r2, [fp, #-92]
	ldr	r3, [fp, #-88]
	add	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-76]
	add	r2, r3, r2
	ldr	r3, [fp, #-92]
	ldr	r1, [fp, #-76]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	ldr	r2, [fp, #-92]
	ldr	r3, [fp, #-88]
	add	r3, r2, r3
	mov	r2, r3
	ldr	r3, [fp, #-76]
	add	r3, r3, r2
	ldrb	r2, [fp, #-97]
	strb	r2, [r3]
	ldr	r3, [fp, #-92]
	add	r3, r3, #1
	str	r3, [fp, #-92]
.L3:
	ldr	r3, [fp, #-92]
	cmp	r3, #3
	ble	.L5
	ldr	r3, [fp, #-96]
	add	r3, r3, #8
	str	r3, [fp, #-96]
.L2:
	ldr	r2, [fp, #-96]
	ldr	r3, [fp, #-80]
	cmp	r2, r3
	blt	.L6
	mov	r3, #0
	str	r3, [fp, #-84]
	b	.L7
.L9:
	ldr	r3, [fp, #-84]
	cmp	r3, #1
	beq	.L8
	ldr	r3, [fp, #-84]
	and	r3, r3, #7
	cmp	r3, #0
	bne	.L8
	ldr	r0, .L12+8
	bl	puts
	ldr	r0, .L12+12
	bl	printf
.L8:
	sub	r2, fp, #68
	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]
.L7:
	ldr	r2, [fp, #-84]
	ldr	r3, [fp, #-80]
	cmp	r2, r3
	blt	.L9
	ldr	r0, .L12+8
	bl	puts
	mov	r3, #0
	ldr	r2, .L12
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L11
	bl	__stack_chk_fail
.L11:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
