	.file	"1047530.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%s"
.LC2:
	.string	"Hello"
	.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
	push	rbx
	sub	rsp, 1560
	.cfi_offset 3, -24
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -1544[rbp], 0
	mov	DWORD PTR -1540[rbp], 1
	lea	rax, -1560[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -1556[rbp], 0
	jmp	.L2
.L3:
	lea	rcx, -1536[rbp]
	mov	eax, DWORD PTR -1556[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	add	rax, rcx
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -1556[rbp], 1
.L2:
	mov	eax, DWORD PTR -1560[rbp]
	cmp	DWORD PTR -1556[rbp], eax
	jl	.L3
	mov	DWORD PTR -1556[rbp], 0
	jmp	.L4
.L12:
	mov	DWORD PTR -1540[rbp], 1
	mov	eax, DWORD PTR -1556[rbp]
	add	eax, 1
	mov	DWORD PTR -1552[rbp], eax
	jmp	.L5
.L10:
	mov	DWORD PTR -1548[rbp], 0
	jmp	.L6
.L9:
	mov	eax, DWORD PTR -1548[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -1552[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	lea	rax, -16[rax]
	add	rax, rbp
	add	rax, rcx
	sub	rax, 1520
	movzx	ecx, BYTE PTR [rax]
	mov	eax, DWORD PTR -1548[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -1556[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	lea	rax, -16[rax]
	add	rax, rbp
	add	rax, rsi
	sub	rax, 1520
	movzx	eax, BYTE PTR [rax]
	cmp	cl, al
	jle	.L7
	mov	DWORD PTR -1540[rbp], 0
	mov	eax, DWORD PTR -1560[rbp]
	mov	DWORD PTR -1552[rbp], eax
	mov	eax, DWORD PTR -1560[rbp]
	mov	DWORD PTR -1548[rbp], eax
	jmp	.L8
.L7:
	mov	eax, DWORD PTR -1548[rbp]
	movsx	rcx, eax
	mov	eax, DWORD PTR -1552[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	lea	rax, -16[rax]
	add	rax, rbp
	add	rax, rcx
	sub	rax, 1520
	movzx	ecx, BYTE PTR [rax]
	mov	eax, DWORD PTR -1548[rbp]
	movsx	rsi, eax
	mov	eax, DWORD PTR -1556[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	lea	rax, -16[rax]
	add	rax, rbp
	add	rax, rsi
	sub	rax, 1520
	movzx	eax, BYTE PTR [rax]
	cmp	cl, al
	jge	.L8
	mov	DWORD PTR -1540[rbp], 1
	mov	eax, DWORD PTR -1560[rbp]
	mov	DWORD PTR -1548[rbp], eax
.L8:
	add	DWORD PTR -1548[rbp], 1
.L6:
	mov	eax, DWORD PTR -1548[rbp]
	movsx	rbx, eax
	lea	rcx, -1536[rbp]
	mov	eax, DWORD PTR -1556[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	add	rax, rcx
	mov	rdi, rax
	call	strlen@PLT
	cmp	rbx, rax
	jb	.L9
	add	DWORD PTR -1552[rbp], 1
.L5:
	mov	eax, DWORD PTR -1560[rbp]
	cmp	DWORD PTR -1552[rbp], eax
	jl	.L10
	cmp	DWORD PTR -1540[rbp], 1
	jne	.L11
	lea	rcx, -1536[rbp]
	mov	eax, DWORD PTR -1556[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	lea	rdx, [rcx+rax]
	lea	rsi, -784[rbp]
	mov	eax, DWORD PTR -1544[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 4
	sub	rax, rcx
	add	rax, rsi
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	add	DWORD PTR -1544[rbp], 1
.L11:
	add	DWORD PTR -1556[rbp], 1
.L4:
	mov	eax, DWORD PTR -1560[rbp]
	cmp	DWORD PTR -1556[rbp], eax
	jl	.L12
	lea	rcx, -1536[rbp]
	mov	eax, DWORD PTR -1556[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	lea	rdx, [rcx+rax]
	lea	rsi, -784[rbp]
	mov	eax, DWORD PTR -1544[rbp]
	movsx	rcx, eax
	mov	rax, rcx
	sal	rax, 4
	sub	rax, rcx
	add	rax, rsi
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	lea	rdi, .LC2[rip]
	call	puts@PLT
	mov	DWORD PTR -1556[rbp], 0
	jmp	.L13
.L14:
	lea	rcx, -784[rbp]
	mov	eax, DWORD PTR -1556[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 4
	sub	rax, rdx
	add	rax, rcx
	mov	rdi, rax
	call	puts@PLT
	add	DWORD PTR -1556[rbp], 1
.L13:
	mov	eax, DWORD PTR -1556[rbp]
	cmp	eax, DWORD PTR -1544[rbp]
	jl	.L14
	mov	eax, 0
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	mov	rbx, QWORD PTR -8[rbp]
	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	"1047530.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\000"
	.align	2
.LC1:
	.ascii	"%s\000"
	.align	2
.LC2:
	.ascii	"Hello\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 = 1536
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1536
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-1520]
	mov	r3, #1
	str	r3, [fp, #-1516]
	sub	r3, fp, #1520
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r1, r3
	ldr	r0, .L17+4
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-1532]
	b	.L2
.L3:
	sub	r2, fp, #1504
	sub	r2, r2, #4
	sub	r2, r2, #4
	ldr	r1, [fp, #-1532]
	mov	r3, r1
	lsl	r3, r3, #4
	sub	r3, r3, r1
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L17+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-1532]
	add	r3, r3, #1
	str	r3, [fp, #-1532]
.L2:
	ldr	r3, [fp, #-1536]
	ldr	r2, [fp, #-1532]
	cmp	r2, r3
	blt	.L3
	mov	r3, #0
	str	r3, [fp, #-1532]
	b	.L4
.L12:
	mov	r3, #1
	str	r3, [fp, #-1516]
	ldr	r3, [fp, #-1532]
	add	r3, r3, #1
	str	r3, [fp, #-1528]
	b	.L5
.L10:
	mov	r3, #0
	str	r3, [fp, #-1524]
	b	.L6
.L9:
	ldr	r2, [fp, #-1528]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	sub	r2, fp, #4
	add	r2, r2, r3
	ldr	r3, [fp, #-1524]
	add	r3, r2, r3
	sub	r3, r3, #1504
	sub	r3, r3, #4
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldr	r2, [fp, #-1532]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	sub	r2, fp, #4
	add	r2, r2, r3
	ldr	r3, [fp, #-1524]
	add	r3, r2, r3
	sub	r3, r3, #1504
	sub	r3, r3, #4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r1, r3
	bls	.L7
	mov	r3, #0
	str	r3, [fp, #-1516]
	ldr	r3, [fp, #-1536]
	str	r3, [fp, #-1528]
	ldr	r3, [fp, #-1536]
	str	r3, [fp, #-1524]
	b	.L8
.L7:
	ldr	r2, [fp, #-1528]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	sub	r2, fp, #4
	add	r2, r2, r3
	ldr	r3, [fp, #-1524]
	add	r3, r2, r3
	sub	r3, r3, #1504
	sub	r3, r3, #4
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldr	r2, [fp, #-1532]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	sub	r2, fp, #4
	add	r2, r2, r3
	ldr	r3, [fp, #-1524]
	add	r3, r2, r3
	sub	r3, r3, #1504
	sub	r3, r3, #4
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r1, r3
	bcs	.L8
	mov	r3, #1
	str	r3, [fp, #-1516]
	ldr	r3, [fp, #-1536]
	str	r3, [fp, #-1524]
.L8:
	ldr	r3, [fp, #-1524]
	add	r3, r3, #1
	str	r3, [fp, #-1524]
.L6:
	sub	r2, fp, #1504
	sub	r2, r2, #4
	sub	r2, r2, #4
	ldr	r1, [fp, #-1532]
	mov	r3, r1
	lsl	r3, r3, #4
	sub	r3, r3, r1
	add	r3, r2, r3
	mov	r0, r3
	bl	strlen
	mov	r2, r0
	ldr	r3, [fp, #-1524]
	cmp	r2, r3
	bhi	.L9
	ldr	r3, [fp, #-1528]
	add	r3, r3, #1
	str	r3, [fp, #-1528]
.L5:
	ldr	r3, [fp, #-1536]
	ldr	r2, [fp, #-1528]
	cmp	r2, r3
	blt	.L10
	ldr	r3, [fp, #-1516]
	cmp	r3, #1
	bne	.L11
	sub	r1, fp, #760
	ldr	r2, [fp, #-1520]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	add	r0, r1, r3
	sub	r2, fp, #1504
	sub	r2, r2, #4
	sub	r2, r2, #4
	ldr	r1, [fp, #-1532]
	mov	r3, r1
	lsl	r3, r3, #4
	sub	r3, r3, r1
	add	r3, r2, r3
	mov	r1, r3
	bl	strcpy
	ldr	r3, [fp, #-1520]
	add	r3, r3, #1
	str	r3, [fp, #-1520]
.L11:
	ldr	r3, [fp, #-1532]
	add	r3, r3, #1
	str	r3, [fp, #-1532]
.L4:
	ldr	r3, [fp, #-1536]
	ldr	r2, [fp, #-1532]
	cmp	r2, r3
	blt	.L12
	sub	r1, fp, #760
	ldr	r2, [fp, #-1520]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	add	r0, r1, r3
	sub	r2, fp, #1504
	sub	r2, r2, #4
	sub	r2, r2, #4
	ldr	r1, [fp, #-1532]
	mov	r3, r1
	lsl	r3, r3, #4
	sub	r3, r3, r1
	add	r3, r2, r3
	mov	r1, r3
	bl	strcpy
	ldr	r0, .L17+12
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-1532]
	b	.L13
.L14:
	sub	r1, fp, #760
	ldr	r2, [fp, #-1532]
	mov	r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, r2
	add	r3, r1, r3
	mov	r0, r3
	bl	puts
	ldr	r3, [fp, #-1532]
	add	r3, r3, #1
	str	r3, [fp, #-1532]
.L13:
	ldr	r2, [fp, #-1532]
	ldr	r3, [fp, #-1520]
	cmp	r2, r3
	blt	.L14
	mov	r3, #0
	ldr	r2, .L17
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L16
	bl	__stack_chk_fail
.L16:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.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
