	.file	"90764220.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, 64
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -64[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	mov	rdi, rax
	call	atoi@PLT
	mov	DWORD PTR -44[rbp], eax
	mov	rax, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR 16[rax]
	mov	QWORD PTR -40[rbp], rax
	lea	rax, -32[rbp]
	mov	WORD PTR [rax], 25185
	mov	BYTE PTR 2[rax], 0
	lea	rdx, -32[rbp]
	mov	rcx, QWORD PTR -40[rbp]
	mov	eax, DWORD PTR -44[rbp]
	mov	rsi, rcx
	mov	edi, eax
	call	case1
	mov	eax, 1
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L3
	call	__stack_chk_fail@PLT
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC0:
	.string	"input state:g:%s:char*,b:%s:char*,c:%s:char*,a:%d:int\n"
	.align 8
.LC1:
	.string	"output state:g:%s:char*,b:%s:char*,c:%s:char*,a:%d:int\n"
	.text
	.globl	case1
	.type	case1, @function
case1:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 80
	mov	DWORD PTR -52[rbp], edi
	mov	QWORD PTR -64[rbp], rsi
	mov	QWORD PTR -72[rbp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -52[rbp], 3
	mov	esi, DWORD PTR -52[rbp]
	mov	rcx, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR -72[rbp]
	lea	rax, -32[rbp]
	mov	r8d, esi
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	lea	rax, -32[rbp]
	mov	WORD PTR [rax], 25185
	mov	BYTE PTR 2[rax], 0
	mov	esi, DWORD PTR -52[rbp]
	mov	rcx, QWORD PTR -64[rbp]
	mov	rdx, QWORD PTR -72[rbp]
	lea	rax, -32[rbp]
	mov	r8d, esi
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rdx, QWORD PTR -64[rbp]
	mov	rax, QWORD PTR -72[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcat@PLT
	cmp	DWORD PTR -52[rbp], 4
	jle	.L5
	mov	DWORD PTR -36[rbp], 9
	mov	edi, 103
	call	putchar@PLT
	jmp	.L6
.L5:
	cmp	DWORD PTR -52[rbp], 2
	jg	.L6
	mov	edi, 99
	call	putchar@PLT
.L6:
	mov	rax, QWORD PTR -72[rbp]
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	case1, .-case1
	.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	"90764220.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"ab\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	ldr	r3, .L4
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-44]
	add	r3, r3, #4
	ldr	r3, [r3]
	mov	r0, r3
	bl	atoi
	str	r0, [fp, #-36]
	ldr	r3, [fp, #-44]
	ldr	r3, [r3, #8]
	str	r3, [fp, #-32]
	sub	r3, fp, #28
	ldr	r2, .L4+4
	ldr	r2, [r2]
	strh	r2, [r3]	@ movhi
	add	r3, r3, #2
	lsr	r2, r2, #16
	strb	r2, [r3]
	sub	r3, fp, #28
	mov	r2, r3
	ldr	r1, [fp, #-32]
	ldr	r0, [fp, #-36]
	bl	case1
	mov	r3, #1
	ldr	r2, .L4
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L3
	bl	__stack_chk_fail
.L3:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L5:
	.align	2
.L4:
	.word	.LC1
	.word	.LC0
	.size	main, .-main
	.section	.rodata
	.align	2
.LC2:
	.ascii	"input state:g:%s:char*,b:%s:char*,c:%s:char*,a:%d:i"
	.ascii	"nt\012\000"
	.align	2
.LC3:
	.ascii	"output state:g:%s:char*,b:%s:char*,c:%s:char*,a:%d:"
	.ascii	"int\012\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	case1
	.syntax unified
	.arm
	.fpu softvfp
	.type	case1, %function
case1:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #56
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	ldr	r3, .L11
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #3
	str	r3, [fp, #-40]
	sub	r1, fp, #28
	ldr	r3, [fp, #-40]
	str	r3, [sp]
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-48]
	ldr	r0, .L11+4
	bl	printf
	sub	r3, fp, #28
	ldr	r2, .L11+8
	ldr	r2, [r2]
	strh	r2, [r3]	@ movhi
	add	r3, r3, #2
	lsr	r2, r2, #16
	strb	r2, [r3]
	sub	r1, fp, #28
	ldr	r3, [fp, #-40]
	str	r3, [sp]
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-48]
	ldr	r0, .L11+12
	bl	printf
	ldr	r1, [fp, #-44]
	ldr	r0, [fp, #-48]
	bl	strcpy
	ldr	r1, [fp, #-44]
	ldr	r0, [fp, #-48]
	bl	strcat
	ldr	r3, [fp, #-40]
	cmp	r3, #4
	ble	.L7
	mov	r3, #9
	str	r3, [fp, #-32]
	mov	r0, #103
	bl	putchar
	b	.L8
.L7:
	ldr	r3, [fp, #-40]
	cmp	r3, #2
	bgt	.L8
	mov	r0, #99
	bl	putchar
.L8:
	ldr	r3, [fp, #-48]
	ldr	r2, .L11
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L10
	bl	__stack_chk_fail
.L10:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L12:
	.align	2
.L11:
	.word	.LC4
	.word	.LC2
	.word	.LC0
	.word	.LC3
	.size	case1, .-case1
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
