	.file	"553835.c"
	.intel_syntax noprefix
	.text
	.globl	s1
	.bss
	.align 32
	.type	s1, @object
	.size	s1, 32
s1:
	.zero	32
	.globl	s2
	.align 32
	.type	s2, @object
	.size	s2, 32
s2:
	.zero	32
	.globl	d
	.align 4
	.type	d, @object
	.size	d, 4
d:
	.zero	4
	.text
	.globl	gao
	.type	gao, @function
gao:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	mov	QWORD PTR -48[rbp], rcx
	mov	rdx, QWORD PTR -24[rbp]
	mov	rax, QWORD PTR -40[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	rdx, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	strcpy@PLT
	mov	eax, DWORD PTR d[rip]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR d[rip]
	movsx	rcx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	jle	.L2
	mov	eax, DWORD PTR d[rip]
	sub	eax, 1
	mov	DWORD PTR -8[rbp], eax
	mov	DWORD PTR -4[rbp], -1
	jmp	.L3
.L10:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 63
	jne	.L4
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 63
	jne	.L4
	cmp	DWORD PTR -4[rbp], 0
	jns	.L4
	mov	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR -4[rbp], eax
	jmp	.L5
.L4:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 63
	jne	.L6
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 48
	jle	.L6
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 63
	je	.L6
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	lea	ecx, -1[rax]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	jmp	.L7
.L6:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 63
	je	.L5
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 56
	jg	.L5
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 63
	jne	.L5
	cmp	DWORD PTR -4[rbp], 0
	jns	.L8
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	lea	ecx, 1[rax]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	jmp	.L7
.L8:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 48
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 49
	jmp	.L7
.L5:
	sub	DWORD PTR -8[rbp], 1
.L3:
	cmp	DWORD PTR -8[rbp], 0
	jns	.L10
.L7:
	cmp	DWORD PTR -8[rbp], 0
	jns	.L2
	mov	eax, DWORD PTR d[rip]
	sub	eax, 1
	mov	DWORD PTR -8[rbp], eax
	mov	DWORD PTR -4[rbp], -1
	jmp	.L11
.L15:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 63
	jne	.L12
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 63
	jne	.L12
	cmp	DWORD PTR -4[rbp], 0
	jns	.L12
	mov	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR -4[rbp], eax
	jmp	.L13
.L12:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	je	.L27
.L13:
	sub	DWORD PTR -8[rbp], 1
.L11:
	cmp	DWORD PTR -8[rbp], 0
	jns	.L15
	jmp	.L14
.L27:
	nop
.L14:
	cmp	DWORD PTR -4[rbp], 0
	jns	.L16
	mov	eax, 0
	jmp	.L17
.L16:
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 48
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 49
.L2:
	mov	DWORD PTR -4[rbp], 0
	mov	eax, DWORD PTR -4[rbp]
	mov	DWORD PTR -8[rbp], eax
	jmp	.L18
.L26:
	cmp	DWORD PTR -4[rbp], 0
	jne	.L19
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 63
	jne	.L20
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 63
	jne	.L20
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 48
	mov	edx, DWORD PTR -8[rbp]
	movsx	rcx, edx
	mov	rdx, QWORD PTR -40[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	jmp	.L24
.L20:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 63
	jne	.L22
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -8[rbp]
	movsx	rcx, edx
	mov	rdx, QWORD PTR -40[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	jmp	.L24
.L22:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 63
	jne	.L23
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	edx, DWORD PTR -8[rbp]
	movsx	rcx, edx
	mov	rdx, QWORD PTR -48[rbp]
	add	rdx, rcx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR [rdx], al
	jmp	.L24
.L23:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -8[rbp]
	movsx	rcx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rcx
	movzx	eax, BYTE PTR [rax]
	cmp	dl, al
	je	.L24
	mov	DWORD PTR -4[rbp], 1
	jmp	.L24
.L19:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 63
	jne	.L25
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 57
.L25:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 63
	jne	.L24
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 48
.L24:
	add	DWORD PTR -8[rbp], 1
.L18:
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	test	al, al
	jne	.L26
	mov	eax, 1
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	gao, .-gao
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%s %s"
.LC2:
	.string	"%lld"
.LC3:
	.string	"Case #%d: %s %s\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 208
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -192[rbp], 0
	lea	rax, -196[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L29
.L49:
	lea	rdx, s2[rip]
	lea	rsi, s1[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -188[rbp], 0
	jmp	.L30
.L33:
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	lea	rdx, s1[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 63
	je	.L31
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	lea	rdx, s2[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 63
	je	.L31
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	lea	rdx, s1[rip]
	movzx	edx, BYTE PTR [rax+rdx]
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	lea	rcx, s2[rip]
	movzx	eax, BYTE PTR [rax+rcx]
	cmp	dl, al
	jne	.L52
.L31:
	add	DWORD PTR -188[rbp], 1
.L30:
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	lea	rdx, s1[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	test	al, al
	jne	.L33
	jmp	.L32
.L52:
	nop
.L32:
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	lea	rdx, s1[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	test	al, al
	jne	.L34
	mov	DWORD PTR -188[rbp], 0
	jmp	.L35
.L39:
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	lea	rdx, s1[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 63
	jne	.L36
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	lea	rdx, s2[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 63
	jne	.L36
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	lea	rdx, s2[rip]
	mov	BYTE PTR [rax+rdx], 48
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	lea	rdx, s2[rip]
	movzx	edx, BYTE PTR [rax+rdx]
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	lea	rcx, s1[rip]
	mov	BYTE PTR [rax+rcx], dl
	jmp	.L37
.L36:
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	lea	rdx, s1[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 63
	jne	.L38
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	lea	rdx, s2[rip]
	movzx	edx, BYTE PTR [rax+rdx]
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	lea	rcx, s1[rip]
	mov	BYTE PTR [rax+rcx], dl
	jmp	.L37
.L38:
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	lea	rdx, s2[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 63
	jne	.L37
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	lea	rdx, s1[rip]
	movzx	edx, BYTE PTR [rax+rdx]
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	lea	rcx, s2[rip]
	mov	BYTE PTR [rax+rcx], dl
.L37:
	add	DWORD PTR -188[rbp], 1
.L35:
	mov	eax, DWORD PTR -188[rbp]
	cdqe
	lea	rdx, s1[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	test	al, al
	jne	.L39
	jmp	.L40
.L34:
	mov	eax, DWORD PTR -188[rbp]
	mov	DWORD PTR d[rip], eax
	lea	rdx, -112[rbp]
	lea	rax, -144[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	lea	rsi, s2[rip]
	lea	rdi, s1[rip]
	call	gao
	mov	DWORD PTR -184[rbp], eax
	lea	rdx, -80[rbp]
	lea	rax, -48[rbp]
	mov	rcx, rdx
	mov	rdx, rax
	lea	rsi, s1[rip]
	lea	rdi, s2[rip]
	call	gao
	mov	DWORD PTR -180[rbp], eax
	lea	rdx, -176[rbp]
	lea	rax, -144[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	lea	rdx, -168[rbp]
	lea	rax, -112[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	lea	rdx, -160[rbp]
	lea	rax, -80[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	lea	rdx, -152[rbp]
	lea	rax, -48[rbp]
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	cmp	DWORD PTR -184[rbp], 0
	je	.L41
	cmp	DWORD PTR -180[rbp], 0
	je	.L41
	mov	rax, QWORD PTR -168[rbp]
	mov	rcx, QWORD PTR -176[rbp]
	sub	rax, rcx
	mov	rdx, rax
	mov	rax, QWORD PTR -160[rbp]
	mov	rcx, QWORD PTR -152[rbp]
	sub	rax, rcx
	cmp	rdx, rax
	jge	.L42
	lea	rax, -144[rbp]
	mov	rsi, rax
	lea	rdi, s1[rip]
	call	strcpy@PLT
	lea	rax, -112[rbp]
	mov	rsi, rax
	lea	rdi, s2[rip]
	call	strcpy@PLT
	jmp	.L40
.L42:
	mov	rax, QWORD PTR -168[rbp]
	mov	rcx, QWORD PTR -176[rbp]
	sub	rax, rcx
	mov	rdx, rax
	mov	rax, QWORD PTR -160[rbp]
	mov	rcx, QWORD PTR -152[rbp]
	sub	rax, rcx
	cmp	rdx, rax
	jle	.L44
	lea	rax, -80[rbp]
	mov	rsi, rax
	lea	rdi, s1[rip]
	call	strcpy@PLT
	lea	rax, -48[rbp]
	mov	rsi, rax
	lea	rdi, s2[rip]
	call	strcpy@PLT
	jmp	.L40
.L44:
	mov	rdx, QWORD PTR -176[rbp]
	mov	rax, QWORD PTR -160[rbp]
	cmp	rdx, rax
	jge	.L45
	lea	rax, -144[rbp]
	mov	rsi, rax
	lea	rdi, s1[rip]
	call	strcpy@PLT
	lea	rax, -112[rbp]
	mov	rsi, rax
	lea	rdi, s2[rip]
	call	strcpy@PLT
	jmp	.L40
.L45:
	mov	rdx, QWORD PTR -176[rbp]
	mov	rax, QWORD PTR -160[rbp]
	cmp	rdx, rax
	jle	.L46
	lea	rax, -80[rbp]
	mov	rsi, rax
	lea	rdi, s1[rip]
	call	strcpy@PLT
	lea	rax, -48[rbp]
	mov	rsi, rax
	lea	rdi, s2[rip]
	call	strcpy@PLT
	jmp	.L40
.L46:
	mov	rdx, QWORD PTR -168[rbp]
	mov	rax, QWORD PTR -152[rbp]
	cmp	rdx, rax
	jge	.L47
	lea	rax, -144[rbp]
	mov	rsi, rax
	lea	rdi, s1[rip]
	call	strcpy@PLT
	lea	rax, -112[rbp]
	mov	rsi, rax
	lea	rdi, s2[rip]
	call	strcpy@PLT
	jmp	.L40
.L47:
	lea	rax, -80[rbp]
	mov	rsi, rax
	lea	rdi, s1[rip]
	call	strcpy@PLT
	lea	rax, -48[rbp]
	mov	rsi, rax
	lea	rdi, s2[rip]
	call	strcpy@PLT
	jmp	.L40
.L41:
	cmp	DWORD PTR -184[rbp], 0
	je	.L48
	lea	rax, -144[rbp]
	mov	rsi, rax
	lea	rdi, s1[rip]
	call	strcpy@PLT
	lea	rax, -112[rbp]
	mov	rsi, rax
	lea	rdi, s2[rip]
	call	strcpy@PLT
	jmp	.L40
.L48:
	cmp	DWORD PTR -180[rbp], 0
	je	.L40
	lea	rax, -80[rbp]
	mov	rsi, rax
	lea	rdi, s1[rip]
	call	strcpy@PLT
	lea	rax, -48[rbp]
	mov	rsi, rax
	lea	rdi, s2[rip]
	call	strcpy@PLT
.L40:
	add	DWORD PTR -192[rbp], 1
	mov	eax, DWORD PTR -192[rbp]
	lea	rcx, s2[rip]
	lea	rdx, s1[rip]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
.L29:
	mov	eax, DWORD PTR -196[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -196[rbp], edx
	test	eax, eax
	jne	.L49
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L51
	call	__stack_chk_fail@PLT
.L51:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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	"553835.c"
	.text
	.comm	s1,32,4
	.comm	s2,32,4
	.comm	d,4,4
	.align	2
	.global	gao
	.syntax unified
	.arm
	.fpu softvfp
	.type	gao, %function
gao:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	ldr	r1, [fp, #-16]
	ldr	r0, [fp, #-24]
	bl	strcpy
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-28]
	bl	strcpy
	ldr	r3, .L28
	ldr	r3, [r3]
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r3, r2
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, .L28
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r3, [fp, #-28]
	add	r3, r3, r1
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bls	.L2
	ldr	r3, .L28
	ldr	r3, [r3]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
	mvn	r3, #0
	str	r3, [fp, #-8]
	b	.L3
.L10:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #63
	bne	.L4
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #63
	bne	.L4
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L4
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-8]
	b	.L5
.L4:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #63
	bne	.L6
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #48
	bls	.L6
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #63
	beq	.L6
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-12]
	ldr	r1, [fp, #-24]
	add	r3, r1, r3
	sub	r2, r2, #1
	and	r2, r2, #255
	strb	r2, [r3]
	b	.L7
.L6:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #63
	beq	.L5
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #56
	bhi	.L5
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #63
	bne	.L5
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L8
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-12]
	ldr	r1, [fp, #-28]
	add	r3, r1, r3
	add	r2, r2, #1
	and	r2, r2, #255
	strb	r2, [r3]
	b	.L7
.L8:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	mov	r2, #48
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	mov	r2, #49
	strb	r2, [r3]
	b	.L7
.L5:
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
.L3:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bge	.L10
.L7:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bge	.L2
	ldr	r3, .L28
	ldr	r3, [r3]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
	mvn	r3, #0
	str	r3, [fp, #-8]
	b	.L11
.L15:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #63
	bne	.L12
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #63
	bne	.L12
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L12
	ldr	r3, [fp, #-12]
	str	r3, [fp, #-8]
	b	.L13
.L12:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-12]
	ldr	r1, [fp, #-28]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L27
.L13:
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
.L11:
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bge	.L15
	b	.L14
.L27:
	nop
.L14:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L16
	mov	r3, #0
	b	.L17
.L16:
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	mov	r2, #48
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	mov	r2, #49
	strb	r2, [r3]
.L2:
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	str	r3, [fp, #-12]
	b	.L18
.L26:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bne	.L19
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #63
	bne	.L20
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #63
	bne	.L20
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	mov	r2, #48
	strb	r2, [r3]
	ldr	r2, [fp, #-12]
	ldr	r1, [fp, #-24]
	add	r2, r1, r2
	ldrb	r3, [r3]	@ zero_extendqisi2
	strb	r3, [r2]
	b	.L24
.L20:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #63
	bne	.L22
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-28]
	add	r2, r2, r3
	ldr	r3, [fp, #-12]
	ldr	r1, [fp, #-24]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	b	.L24
.L22:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #63
	bne	.L23
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-24]
	add	r2, r2, r3
	ldr	r3, [fp, #-12]
	ldr	r1, [fp, #-28]
	add	r3, r1, r3
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r3]
	b	.L24
.L23:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r3, [fp, #-12]
	ldr	r1, [fp, #-28]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	beq	.L24
	mov	r3, #1
	str	r3, [fp, #-8]
	b	.L24
.L19:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #63
	bne	.L25
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	mov	r2, #57
	strb	r2, [r3]
.L25:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #63
	bne	.L24
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	mov	r2, #48
	strb	r2, [r3]
.L24:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L18:
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L26
	mov	r3, #1
.L17:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L29:
	.align	2
.L28:
	.word	d
	.size	gao, .-gao
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\000"
	.align	2
.LC1:
	.ascii	"%s %s\000"
	.align	2
.LC2:
	.ascii	"%lld\000"
	.align	2
.LC3:
	.ascii	"Case #%d: %s %s\012\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 200
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #200
	ldr	r3, .L55
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-212]
	sub	r3, fp, #216
	mov	r1, r3
	ldr	r0, .L55+4
	bl	__isoc99_scanf
	b	.L31
.L51:
	ldr	r2, .L55+8
	ldr	r1, .L55+12
	ldr	r0, .L55+16
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-208]
	b	.L32
.L35:
	ldr	r2, .L55+12
	ldr	r3, [fp, #-208]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #63
	beq	.L33
	ldr	r2, .L55+8
	ldr	r3, [fp, #-208]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #63
	beq	.L33
	ldr	r2, .L55+12
	ldr	r3, [fp, #-208]
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	ldr	r1, .L55+8
	ldr	r3, [fp, #-208]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bne	.L54
.L33:
	ldr	r3, [fp, #-208]
	add	r3, r3, #1
	str	r3, [fp, #-208]
.L32:
	ldr	r2, .L55+12
	ldr	r3, [fp, #-208]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L35
	b	.L34
.L54:
	nop
.L34:
	ldr	r2, .L55+12
	ldr	r3, [fp, #-208]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L36
	mov	r3, #0
	str	r3, [fp, #-208]
	b	.L37
.L41:
	ldr	r2, .L55+12
	ldr	r3, [fp, #-208]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #63
	bne	.L38
	ldr	r2, .L55+8
	ldr	r3, [fp, #-208]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #63
	bne	.L38
	ldr	r2, .L55+8
	ldr	r3, [fp, #-208]
	add	r3, r2, r3
	mov	r2, #48
	strb	r2, [r3]
	ldr	r2, .L55+8
	ldr	r3, [fp, #-208]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldr	r2, .L55+12
	ldr	r3, [fp, #-208]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	b	.L39
.L38:
	ldr	r2, .L55+12
	ldr	r3, [fp, #-208]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #63
	bne	.L40
	ldr	r2, .L55+8
	ldr	r3, [fp, #-208]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldr	r2, .L55+12
	ldr	r3, [fp, #-208]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	b	.L39
.L40:
	ldr	r2, .L55+8
	ldr	r3, [fp, #-208]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #63
	bne	.L39
	ldr	r2, .L55+12
	ldr	r3, [fp, #-208]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldr	r2, .L55+8
	ldr	r3, [fp, #-208]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
.L39:
	ldr	r3, [fp, #-208]
	add	r3, r3, #1
	str	r3, [fp, #-208]
.L37:
	ldr	r2, .L55+12
	ldr	r3, [fp, #-208]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L41
	b	.L42
.L36:
	ldr	r2, .L55+20
	ldr	r3, [fp, #-208]
	str	r3, [r2]
	sub	r3, fp, #128
	sub	r2, fp, #160
	ldr	r1, .L55+8
	ldr	r0, .L55+12
	bl	gao
	str	r0, [fp, #-204]
	sub	r3, fp, #96
	sub	r2, fp, #64
	ldr	r1, .L55+12
	ldr	r0, .L55+8
	bl	gao
	str	r0, [fp, #-200]
	sub	r2, fp, #196
	sub	r3, fp, #160
	ldr	r1, .L55+24
	mov	r0, r3
	bl	__isoc99_sscanf
	sub	r2, fp, #188
	sub	r3, fp, #128
	ldr	r1, .L55+24
	mov	r0, r3
	bl	__isoc99_sscanf
	sub	r2, fp, #180
	sub	r3, fp, #96
	ldr	r1, .L55+24
	mov	r0, r3
	bl	__isoc99_sscanf
	sub	r2, fp, #172
	sub	r3, fp, #64
	ldr	r1, .L55+24
	mov	r0, r3
	bl	__isoc99_sscanf
	ldr	r3, [fp, #-204]
	cmp	r3, #0
	beq	.L43
	ldr	r3, [fp, #-200]
	cmp	r3, #0
	beq	.L43
	sub	r1, fp, #188
	ldmia	r1, {r0-r1}
	sub	r3, fp, #196
	ldmia	r3, {r2-r3}
	subs	r4, r0, r2
	sbc	r5, r1, r3
	sub	r1, fp, #180
	ldmia	r1, {r0-r1}
	sub	r3, fp, #172
	ldmia	r3, {r2-r3}
	subs	r6, r0, r2
	sbc	r7, r1, r3
	cmp	r4, r6
	sbcs	r3, r5, r7
	bge	.L44
	sub	r3, fp, #160
	mov	r1, r3
	ldr	r0, .L55+12
	bl	strcpy
	sub	r3, fp, #128
	mov	r1, r3
	ldr	r0, .L55+8
	bl	strcpy
	b	.L42
.L44:
	sub	r1, fp, #188
	ldmia	r1, {r0-r1}
	sub	r3, fp, #196
	ldmia	r3, {r2-r3}
	subs	r8, r0, r2
	sbc	r9, r1, r3
	sub	r1, fp, #180
	ldmia	r1, {r0-r1}
	sub	r3, fp, #172
	ldmia	r3, {r2-r3}
	subs	ip, r0, r2
	str	ip, [fp, #-228]
	sbc	r3, r1, r3
	str	r3, [fp, #-224]
	sub	r3, fp, #228
	ldmia	r3, {r2-r3}
	cmp	r2, r8
	sbcs	r3, r3, r9
	bge	.L46
	sub	r3, fp, #96
	mov	r1, r3
	ldr	r0, .L55+12
	bl	strcpy
	sub	r3, fp, #64
	mov	r1, r3
	ldr	r0, .L55+8
	bl	strcpy
	b	.L42
.L46:
	sub	r1, fp, #196
	ldmia	r1, {r0-r1}
	sub	r3, fp, #180
	ldmia	r3, {r2-r3}
	cmp	r0, r2
	sbcs	r3, r1, r3
	bge	.L47
	sub	r3, fp, #160
	mov	r1, r3
	ldr	r0, .L55+12
	bl	strcpy
	sub	r3, fp, #128
	mov	r1, r3
	ldr	r0, .L55+8
	bl	strcpy
	b	.L42
.L47:
	sub	r3, fp, #196
	ldmia	r3, {r2-r3}
	sub	r1, fp, #180
	ldmia	r1, {r0-r1}
	cmp	r0, r2
	sbcs	r3, r1, r3
	bge	.L48
	sub	r3, fp, #96
	mov	r1, r3
	ldr	r0, .L55+12
	bl	strcpy
	sub	r3, fp, #64
	mov	r1, r3
	ldr	r0, .L55+8
	bl	strcpy
	b	.L42
.L48:
	sub	r1, fp, #188
	ldmia	r1, {r0-r1}
	sub	r3, fp, #172
	ldmia	r3, {r2-r3}
	cmp	r0, r2
	sbcs	r3, r1, r3
	bge	.L49
	sub	r3, fp, #160
	mov	r1, r3
	ldr	r0, .L55+12
	bl	strcpy
	sub	r3, fp, #128
	mov	r1, r3
	ldr	r0, .L55+8
	bl	strcpy
	b	.L42
.L49:
	sub	r3, fp, #96
	mov	r1, r3
	ldr	r0, .L55+12
	bl	strcpy
	sub	r3, fp, #64
	mov	r1, r3
	ldr	r0, .L55+8
	bl	strcpy
	b	.L42
.L43:
	ldr	r3, [fp, #-204]
	cmp	r3, #0
	beq	.L50
	sub	r3, fp, #160
	mov	r1, r3
	ldr	r0, .L55+12
	bl	strcpy
	sub	r3, fp, #128
	mov	r1, r3
	ldr	r0, .L55+8
	bl	strcpy
	b	.L42
.L50:
	ldr	r3, [fp, #-200]
	cmp	r3, #0
	beq	.L42
	sub	r3, fp, #96
	mov	r1, r3
	ldr	r0, .L55+12
	bl	strcpy
	sub	r3, fp, #64
	mov	r1, r3
	ldr	r0, .L55+8
	bl	strcpy
.L42:
	ldr	r3, [fp, #-212]
	add	r3, r3, #1
	str	r3, [fp, #-212]
	ldr	r3, .L55+8
	ldr	r2, .L55+12
	ldr	r1, [fp, #-212]
	ldr	r0, .L55+28
	bl	printf
.L31:
	ldr	r3, [fp, #-216]
	sub	r2, r3, #1
	str	r2, [fp, #-216]
	cmp	r3, #0
	bne	.L51
	mov	r3, #0
	ldr	r2, .L55
	ldr	r1, [r2]
	ldr	r2, [fp, #-32]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L53
	bl	__stack_chk_fail
.L53:
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L56:
	.align	2
.L55:
	.word	.LC4
	.word	.LC0
	.word	s2
	.word	s1
	.word	.LC1
	.word	d
	.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
