	.file	"37637307.c"
	.intel_syntax noprefix
	.text
	.globl	strcompare
	.type	strcompare, @function
strcompare:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -8[rbp], 0
	mov	edx, DWORD PTR 220[rbp]
	mov	eax, DWORD PTR 116[rbp]
	cmp	edx, eax
	cmovle	eax, edx
	mov	DWORD PTR -4[rbp], eax
	mov	DWORD PTR -12[rbp], 0
	jmp	.L2
.L6:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	movzx	edx, BYTE PTR 16[rbp+rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	movzx	eax, BYTE PTR 120[rbp+rax]
	cmp	dl, al
	jle	.L3
	mov	DWORD PTR -8[rbp], 1
	jmp	.L4
.L3:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	movzx	edx, BYTE PTR 16[rbp+rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	movzx	eax, BYTE PTR 120[rbp+rax]
	cmp	dl, al
	jge	.L5
	mov	DWORD PTR -8[rbp], -1
	jmp	.L4
.L5:
	add	DWORD PTR -12[rbp], 1
.L2:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jle	.L6
.L4:
	mov	eax, DWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	strcompare, .-strcompare
	.section	.rodata
.LC0:
	.string	"input  char to s1:"
.LC1:
	.string	"input  char to s2:"
.LC2:
	.string	"s1>s2"
.LC3:
	.string	"s2>s1"
.LC4:
	.string	"s1=s2"
	.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, 240
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	call	puts@PLT
	lea	rax, -224[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	gets_s@PLT
	lea	rax, -224[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -124[rbp], eax
	lea	rdi, .LC1[rip]
	call	puts@PLT
	lea	rax, -112[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	gets_s@PLT
	lea	rax, -112[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -12[rbp], eax
	push	QWORD PTR -16[rbp]
	push	QWORD PTR -24[rbp]
	push	QWORD PTR -32[rbp]
	push	QWORD PTR -40[rbp]
	push	QWORD PTR -48[rbp]
	push	QWORD PTR -56[rbp]
	push	QWORD PTR -64[rbp]
	push	QWORD PTR -72[rbp]
	push	QWORD PTR -80[rbp]
	push	QWORD PTR -88[rbp]
	push	QWORD PTR -96[rbp]
	push	QWORD PTR -104[rbp]
	push	QWORD PTR -112[rbp]
	push	QWORD PTR -128[rbp]
	push	QWORD PTR -136[rbp]
	push	QWORD PTR -144[rbp]
	push	QWORD PTR -152[rbp]
	push	QWORD PTR -160[rbp]
	push	QWORD PTR -168[rbp]
	push	QWORD PTR -176[rbp]
	push	QWORD PTR -184[rbp]
	push	QWORD PTR -192[rbp]
	push	QWORD PTR -200[rbp]
	push	QWORD PTR -208[rbp]
	push	QWORD PTR -216[rbp]
	push	QWORD PTR -224[rbp]
	call	strcompare
	add	rsp, 208
	mov	DWORD PTR -228[rbp], eax
	cmp	DWORD PTR -228[rbp], 1
	jne	.L9
	lea	rdi, .LC2[rip]
	call	puts@PLT
	jmp	.L10
.L9:
	cmp	DWORD PTR -228[rbp], -1
	jne	.L11
	lea	rdi, .LC3[rip]
	call	puts@PLT
	jmp	.L10
.L11:
	cmp	DWORD PTR -228[rbp], 0
	jne	.L10
	lea	rdi, .LC4[rip]
	call	puts@PLT
.L10:
	mov	eax, 0
	mov	rdx, QWORD PTR -8[rbp]
	sub	rdx, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	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	"37637307.c"
	.text
	.align	2
	.global	strcompare
	.syntax unified
	.arm
	.fpu softvfp
	.type	strcompare, %function
strcompare:
	@ args = 208, pretend = 16, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	sub	sp, sp, #16
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	add	ip, fp, #4
	stm	ip, {r0, r1, r2, r3}
	mov	r3, #0
	str	r3, [fp, #-12]
	ldr	r2, [fp, #208]
	ldr	r3, [fp, #104]
	cmp	r2, r3
	movlt	r3, r2
	movge	r3, r3
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L2
.L6:
	ldr	r3, [fp, #-16]
	add	r2, fp, #4
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	add	r1, fp, #108
	ldr	r3, [fp, #-16]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bls	.L3
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L4
.L3:
	ldr	r3, [fp, #-16]
	add	r2, fp, #4
	add	r3, r2, r3
	ldrb	r2, [r3]	@ zero_extendqisi2
	add	r1, fp, #108
	ldr	r3, [fp, #-16]
	add	r3, r1, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r2, r3
	bcs	.L5
	mvn	r3, #0
	str	r3, [fp, #-12]
	b	.L4
.L5:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L2:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	ble	.L6
.L4:
	ldr	r3, [fp, #-12]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	add	sp, sp, #16
	bx	lr
	.size	strcompare, .-strcompare
	.section	.rodata
	.align	2
.LC0:
	.ascii	"input  char to s1:\000"
	.align	2
.LC1:
	.ascii	"input  char to s2:\000"
	.align	2
.LC2:
	.ascii	"s1>s2\000"
	.align	2
.LC3:
	.ascii	"s2>s1\000"
	.align	2
.LC4:
	.ascii	"s1=s2\000"
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 216
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #408
	ldr	r3, .L14
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L14+4
	bl	puts
	sub	r3, fp, #216
	mov	r0, r3
	bl	gets_s
	sub	r3, fp, #216
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-116]
	ldr	r0, .L14+8
	bl	puts
	sub	r3, fp, #112
	mov	r0, r3
	bl	gets_s
	sub	r3, fp, #112
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-12]
	add	r0, sp, #88
	sub	r3, fp, #112
	mov	r2, #104
	mov	r1, r3
	bl	memcpy
	mov	r0, sp
	sub	r3, fp, #200
	mov	r2, #88
	mov	r1, r3
	bl	memcpy
	sub	r3, fp, #216
	ldm	r3, {r0, r1, r2, r3}
	bl	strcompare
	str	r0, [fp, #-220]
	ldr	r3, [fp, #-220]
	cmp	r3, #1
	bne	.L9
	ldr	r0, .L14+12
	bl	puts
	b	.L10
.L9:
	ldr	r3, [fp, #-220]
	cmn	r3, #1
	bne	.L11
	ldr	r0, .L14+16
	bl	puts
	b	.L10
.L11:
	ldr	r3, [fp, #-220]
	cmp	r3, #0
	bne	.L10
	ldr	r0, .L14+20
	bl	puts
.L10:
	mov	r3, #0
	ldr	r2, .L14
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L13
	bl	__stack_chk_fail
.L13:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L15:
	.align	2
.L14:
	.word	.LC5
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
