	.file	"305390.c"
	.intel_syntax noprefix
	.text
	.globl	main
	.type	main, @function
main:
.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	WORD PTR -11[rbp], 25442
	mov	BYTE PTR -9[rbp], 100
	mov	DWORD PTR -24[rbp], 1
	mov	DWORD PTR -20[rbp], 2
	mov	DWORD PTR -16[rbp], 0
	mov	DWORD PTR -28[rbp], 1
	mov	eax, DWORD PTR -28[rbp]
	lea	edx, 1[rax]
	mov	DWORD PTR -28[rbp], edx
	cdqe
	mov	BYTE PTR -11[rbp+rax], 97
	movzx	eax, BYTE PTR -11[rbp]
	cmp	al, 98
	jne	.L2
	movzx	eax, BYTE PTR -10[rbp]
	cmp	al, 97
	jne	.L2
	movzx	eax, BYTE PTR -9[rbp]
	cmp	al, 100
	jne	.L2
	cmp	DWORD PTR -28[rbp], 2
	je	.L3
.L2:
	call	abort@PLT
.L3:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, 1
	jne	.L4
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 2
	jne	.L4
	mov	eax, DWORD PTR -16[rbp]
	test	eax, eax
	je	.L5
.L4:
	call	abort@PLT
.L5:
	mov	eax, DWORD PTR -28[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -28[rbp], edx
	cdqe
	mov	eax, DWORD PTR -24[rbp+rax*4]
	cdqe
	mov	BYTE PTR -11[rbp+rax], 101
	movzx	eax, BYTE PTR -11[rbp]
	cmp	al, 101
	jne	.L6
	movzx	eax, BYTE PTR -10[rbp]
	cmp	al, 97
	jne	.L6
	movzx	eax, BYTE PTR -9[rbp]
	cmp	al, 100
	jne	.L6
	cmp	DWORD PTR -28[rbp], 1
	je	.L7
.L6:
	call	abort@PLT
.L7:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, 1
	jne	.L8
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 2
	jne	.L8
	mov	eax, DWORD PTR -16[rbp]
	test	eax, eax
	je	.L9
.L8:
	call	abort@PLT
.L9:
	add	DWORD PTR -28[rbp], 1
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	mov	eax, DWORD PTR -24[rbp+rax*4]
	lea	ecx, -1[rax]
	mov	edx, DWORD PTR -28[rbp]
	movsx	rdx, edx
	mov	DWORD PTR -24[rbp+rdx*4], ecx
	cdqe
	mov	BYTE PTR -11[rbp+rax], 103
	movzx	eax, BYTE PTR -11[rbp]
	cmp	al, 103
	jne	.L10
	movzx	eax, BYTE PTR -10[rbp]
	cmp	al, 97
	jne	.L10
	movzx	eax, BYTE PTR -9[rbp]
	cmp	al, 100
	jne	.L10
	cmp	DWORD PTR -28[rbp], 2
	je	.L11
.L10:
	call	abort@PLT
.L11:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, 1
	jne	.L12
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 2
	jne	.L12
	mov	eax, DWORD PTR -16[rbp]
	cmp	eax, -1
	je	.L13
.L12:
	call	abort@PLT
.L13:
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.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	"305390.c"
	.text
	.section	.rodata
	.align	2
.LC1:
	.ascii	"bcd"
	.align	2
.LC0:
	.word	1
	.word	2
	.word	0
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r2, .L16+4
	sub	r3, fp, #12
	ldr	r2, [r2]
	strh	r2, [r3]	@ movhi
	add	r3, r3, #2
	lsr	r2, r2, #16
	strb	r2, [r3]
	ldr	r2, .L16+8
	sub	r3, fp, #24
	ldm	r2, {r0, r1, r2}
	stm	r3, {r0, r1, r2}
	mov	r3, #1
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	add	r2, r3, #1
	str	r2, [fp, #-28]
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #97
	strb	r2, [r3, #-8]
	ldrb	r3, [fp, #-12]	@ zero_extendqisi2
	cmp	r3, #98
	bne	.L2
	ldrb	r3, [fp, #-11]	@ zero_extendqisi2
	cmp	r3, #97
	bne	.L2
	ldrb	r3, [fp, #-10]	@ zero_extendqisi2
	cmp	r3, #100
	bne	.L2
	ldr	r3, [fp, #-28]
	cmp	r3, #2
	beq	.L3
.L2:
	bl	abort
.L3:
	ldr	r3, [fp, #-24]
	cmp	r3, #1
	bne	.L4
	ldr	r3, [fp, #-20]
	cmp	r3, #2
	bne	.L4
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L5
.L4:
	bl	abort
.L5:
	ldr	r3, [fp, #-28]
	sub	r2, r3, #1
	str	r2, [fp, #-28]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-20]
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #101
	strb	r2, [r3, #-8]
	ldrb	r3, [fp, #-12]	@ zero_extendqisi2
	cmp	r3, #101
	bne	.L6
	ldrb	r3, [fp, #-11]	@ zero_extendqisi2
	cmp	r3, #97
	bne	.L6
	ldrb	r3, [fp, #-10]	@ zero_extendqisi2
	cmp	r3, #100
	bne	.L6
	ldr	r3, [fp, #-28]
	cmp	r3, #1
	beq	.L7
.L6:
	bl	abort
.L7:
	ldr	r3, [fp, #-24]
	cmp	r3, #1
	bne	.L8
	ldr	r3, [fp, #-20]
	cmp	r3, #2
	bne	.L8
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L9
.L8:
	bl	abort
.L9:
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-20]
	sub	r1, r2, #1
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #2
	sub	r0, fp, #4
	add	r3, r0, r3
	str	r1, [r3, #-20]
	sub	r3, fp, #4
	add	r3, r3, r2
	mov	r2, #103
	strb	r2, [r3, #-8]
	ldrb	r3, [fp, #-12]	@ zero_extendqisi2
	cmp	r3, #103
	bne	.L10
	ldrb	r3, [fp, #-11]	@ zero_extendqisi2
	cmp	r3, #97
	bne	.L10
	ldrb	r3, [fp, #-10]	@ zero_extendqisi2
	cmp	r3, #100
	bne	.L10
	ldr	r3, [fp, #-28]
	cmp	r3, #2
	beq	.L11
.L10:
	bl	abort
.L11:
	ldr	r3, [fp, #-24]
	cmp	r3, #1
	bne	.L12
	ldr	r3, [fp, #-20]
	cmp	r3, #2
	bne	.L12
	ldr	r3, [fp, #-16]
	cmn	r3, #1
	beq	.L13
.L12:
	bl	abort
.L13:
	mov	r3, #0
	ldr	r2, .L16
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC2
	.word	.LC1
	.word	.LC0
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
