	.file	"745738.c"
	.intel_syntax noprefix
	.text
	.globl	alternating_str
	.type	alternating_str, @function
alternating_str:
.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, 64
	mov	QWORD PTR -40[rbp], rdi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	mov	rax, QWORD PTR -40[rbp]
	mov	rdi, rax
	call	strlen@PLT
	sub	eax, 1
	mov	DWORD PTR -8[rbp], eax
	mov	rax, QWORD PTR -48[rbp]
	mov	rdi, rax
	call	strlen@PLT
	sub	eax, 1
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -8[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	mov	BYTE PTR [rax], 0
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jle	.L2
	mov	DWORD PTR -12[rbp], 0
	jmp	.L3
.L12:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -17[rbp], al
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movsx	rax, BYTE PTR -17[rbp]
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 1024
	test	eax, eax
	je	.L4
	cmp	BYTE PTR -17[rbp], 96
	jle	.L5
	cmp	BYTE PTR -17[rbp], 122
	jg	.L5
	movzx	eax, BYTE PTR -17[rbp]
	lea	ecx, -32[rax]
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	jmp	.L6
.L5:
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -17[rbp]
	mov	BYTE PTR [rdx], al
.L6:
	add	DWORD PTR -16[rbp], 1
	jmp	.L7
.L4:
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -17[rbp]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -16[rbp], 1
.L7:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -17[rbp], al
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movsx	rax, BYTE PTR -17[rbp]
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 1024
	test	eax, eax
	je	.L8
	cmp	BYTE PTR -17[rbp], 96
	jle	.L9
	cmp	BYTE PTR -17[rbp], 122
	jg	.L9
	movzx	eax, BYTE PTR -17[rbp]
	lea	ecx, -32[rax]
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	jmp	.L10
.L9:
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -17[rbp]
	mov	BYTE PTR [rdx], al
.L10:
	add	DWORD PTR -16[rbp], 1
	jmp	.L11
.L8:
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -17[rbp]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -16[rbp], 1
.L11:
	add	DWORD PTR -12[rbp], 1
.L3:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jl	.L12
	jmp	.L13
.L18:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -17[rbp], al
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movsx	rax, BYTE PTR -17[rbp]
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 1024
	test	eax, eax
	je	.L14
	cmp	BYTE PTR -17[rbp], 96
	jle	.L15
	cmp	BYTE PTR -17[rbp], 122
	jg	.L15
	movzx	eax, BYTE PTR -17[rbp]
	lea	ecx, -32[rax]
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	jmp	.L16
.L15:
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -17[rbp]
	mov	BYTE PTR [rdx], al
.L16:
	add	DWORD PTR -16[rbp], 1
	jmp	.L17
.L14:
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -17[rbp]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -16[rbp], 1
.L17:
	add	DWORD PTR -12[rbp], 1
.L13:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	jl	.L18
	jmp	.L36
.L2:
	mov	DWORD PTR -12[rbp], 0
	jmp	.L20
.L29:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -40[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -17[rbp], al
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movsx	rax, BYTE PTR -17[rbp]
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 1024
	test	eax, eax
	je	.L21
	cmp	BYTE PTR -17[rbp], 96
	jle	.L22
	cmp	BYTE PTR -17[rbp], 122
	jg	.L22
	movzx	eax, BYTE PTR -17[rbp]
	lea	ecx, -32[rax]
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	jmp	.L23
.L22:
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -17[rbp]
	mov	BYTE PTR [rdx], al
.L23:
	add	DWORD PTR -16[rbp], 1
	jmp	.L24
.L21:
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -17[rbp]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -16[rbp], 1
.L24:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -17[rbp], al
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movsx	rax, BYTE PTR -17[rbp]
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 1024
	test	eax, eax
	je	.L25
	cmp	BYTE PTR -17[rbp], 96
	jle	.L26
	cmp	BYTE PTR -17[rbp], 122
	jg	.L26
	movzx	eax, BYTE PTR -17[rbp]
	lea	ecx, -32[rax]
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	jmp	.L27
.L26:
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -17[rbp]
	mov	BYTE PTR [rdx], al
.L27:
	add	DWORD PTR -16[rbp], 1
	jmp	.L28
.L25:
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -17[rbp]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -16[rbp], 1
.L28:
	add	DWORD PTR -12[rbp], 1
.L20:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -8[rbp]
	jl	.L29
	jmp	.L30
.L35:
	mov	eax, DWORD PTR -12[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -48[rbp]
	add	rax, rdx
	movzx	eax, BYTE PTR [rax]
	mov	BYTE PTR -17[rbp], al
	call	__ctype_b_loc@PLT
	mov	rdx, QWORD PTR [rax]
	movsx	rax, BYTE PTR -17[rbp]
	add	rax, rax
	add	rax, rdx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 1024
	test	eax, eax
	je	.L31
	cmp	BYTE PTR -17[rbp], 96
	jle	.L32
	cmp	BYTE PTR -17[rbp], 122
	jg	.L32
	movzx	eax, BYTE PTR -17[rbp]
	lea	ecx, -32[rax]
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rax, rdx
	mov	edx, ecx
	mov	BYTE PTR [rax], dl
	jmp	.L33
.L32:
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -17[rbp]
	mov	BYTE PTR [rdx], al
.L33:
	add	DWORD PTR -16[rbp], 1
	jmp	.L34
.L31:
	mov	eax, DWORD PTR -16[rbp]
	movsx	rdx, eax
	mov	rax, QWORD PTR -56[rbp]
	add	rdx, rax
	movzx	eax, BYTE PTR -17[rbp]
	mov	BYTE PTR [rdx], al
	add	DWORD PTR -16[rbp], 1
.L34:
	add	DWORD PTR -12[rbp], 1
.L30:
	mov	eax, DWORD PTR -12[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jl	.L35
.L36:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	alternating_str, .-alternating_str
	.section	.rodata
.LC0:
	.string	"Input a: "
.LC1:
	.string	"Input b: "
.LC2:
	.string	""
.LC3:
	.string	"=> %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
	add	rsp, -128
	mov	DWORD PTR -116[rbp], edi
	mov	QWORD PTR -128[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -112[rbp]
	mov	esi, 20
	mov	rdi, rax
	call	fgets@PLT
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rdx, QWORD PTR stdin[rip]
	lea	rax, -80[rbp]
	mov	esi, 20
	mov	rdi, rax
	call	fgets@PLT
	lea	rdx, -48[rbp]
	lea	rcx, -80[rbp]
	lea	rax, -112[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	alternating_str
	lea	rdi, .LC2[rip]
	call	puts@PLT
	lea	rax, -48[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L39
	call	__stack_chk_fail@PLT
.L39:
	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	"745738.c"
	.text
	.align	2
	.global	alternating_str
	.syntax unified
	.arm
	.fpu softvfp
	.type	alternating_str, %function
alternating_str:
	@ 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, #-32]
	str	r1, [fp, #-36]
	str	r2, [fp, #-40]
	ldr	r0, [fp, #-32]
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #1
	str	r3, [fp, #-12]
	ldr	r0, [fp, #-36]
	bl	strlen
	mov	r3, r0
	sub	r3, r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, [fp, #-8]
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	ble	.L2
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L3
.L12:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-21]
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #1024
	cmp	r3, #0
	beq	.L4
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	cmp	r3, #96
	bls	.L5
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	cmp	r3, #122
	bhi	.L5
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldrb	r2, [fp, #-21]
	sub	r2, r2, #32
	and	r2, r2, #255
	strb	r2, [r3]
	b	.L6
.L5:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldrb	r2, [fp, #-21]
	strb	r2, [r3]
.L6:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	b	.L7
.L4:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldrb	r2, [fp, #-21]
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L7:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-21]
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #1024
	cmp	r3, #0
	beq	.L8
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	cmp	r3, #96
	bls	.L9
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	cmp	r3, #122
	bhi	.L9
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldrb	r2, [fp, #-21]
	sub	r2, r2, #32
	and	r2, r2, #255
	strb	r2, [r3]
	b	.L10
.L9:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldrb	r2, [fp, #-21]
	strb	r2, [r3]
.L10:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	b	.L11
.L8:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldrb	r2, [fp, #-21]
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L11:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L3:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	blt	.L12
	b	.L13
.L18:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-21]
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #1024
	cmp	r3, #0
	beq	.L14
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	cmp	r3, #96
	bls	.L15
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	cmp	r3, #122
	bhi	.L15
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldrb	r2, [fp, #-21]
	sub	r2, r2, #32
	and	r2, r2, #255
	strb	r2, [r3]
	b	.L16
.L15:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldrb	r2, [fp, #-21]
	strb	r2, [r3]
.L16:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	b	.L17
.L14:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldrb	r2, [fp, #-21]
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L17:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L13:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	blt	.L18
	b	.L36
.L2:
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L20
.L29:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-32]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-21]
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #1024
	cmp	r3, #0
	beq	.L21
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	cmp	r3, #96
	bls	.L22
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	cmp	r3, #122
	bhi	.L22
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldrb	r2, [fp, #-21]
	sub	r2, r2, #32
	and	r2, r2, #255
	strb	r2, [r3]
	b	.L23
.L22:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldrb	r2, [fp, #-21]
	strb	r2, [r3]
.L23:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	b	.L24
.L21:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldrb	r2, [fp, #-21]
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L24:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-21]
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #1024
	cmp	r3, #0
	beq	.L25
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	cmp	r3, #96
	bls	.L26
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	cmp	r3, #122
	bhi	.L26
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldrb	r2, [fp, #-21]
	sub	r2, r2, #32
	and	r2, r2, #255
	strb	r2, [r3]
	b	.L27
.L26:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldrb	r2, [fp, #-21]
	strb	r2, [r3]
.L27:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	b	.L28
.L25:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldrb	r2, [fp, #-21]
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L28:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L20:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	blt	.L29
	b	.L30
.L35:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-36]
	add	r3, r2, r3
	ldrb	r3, [r3]
	strb	r3, [fp, #-21]
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r2, [r3]
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	lsl	r3, r3, #1
	add	r3, r2, r3
	ldrh	r3, [r3]
	and	r3, r3, #1024
	cmp	r3, #0
	beq	.L31
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	cmp	r3, #96
	bls	.L32
	ldrb	r3, [fp, #-21]	@ zero_extendqisi2
	cmp	r3, #122
	bhi	.L32
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldrb	r2, [fp, #-21]
	sub	r2, r2, #32
	and	r2, r2, #255
	strb	r2, [r3]
	b	.L33
.L32:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldrb	r2, [fp, #-21]
	strb	r2, [r3]
.L33:
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
	b	.L34
.L31:
	ldr	r3, [fp, #-20]
	ldr	r2, [fp, #-40]
	add	r3, r2, r3
	ldrb	r2, [fp, #-21]
	strb	r2, [r3]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L34:
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L30:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	blt	.L35
.L36:
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	alternating_str, .-alternating_str
	.section	.rodata
	.align	2
.LC0:
	.ascii	"Input a: \000"
	.align	2
.LC1:
	.ascii	"Input b: \000"
	.align	2
.LC2:
	.ascii	"\000"
	.align	2
.LC3:
	.ascii	"=> %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 = 96
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #96
	str	r0, [fp, #-96]
	str	r1, [fp, #-100]
	ldr	r3, .L40
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L40+4
	bl	printf
	ldr	r3, .L40+8
	ldr	r2, [r3]
	sub	r3, fp, #88
	mov	r1, #20
	mov	r0, r3
	bl	fgets
	ldr	r0, .L40+12
	bl	printf
	ldr	r3, .L40+8
	ldr	r2, [r3]
	sub	r3, fp, #68
	mov	r1, #20
	mov	r0, r3
	bl	fgets
	sub	r2, fp, #48
	sub	r1, fp, #68
	sub	r3, fp, #88
	mov	r0, r3
	bl	alternating_str
	ldr	r0, .L40+16
	bl	puts
	sub	r3, fp, #48
	mov	r1, r3
	ldr	r0, .L40+20
	bl	printf
	mov	r3, #0
	ldr	r2, .L40
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L39
	bl	__stack_chk_fail
.L39:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L41:
	.align	2
.L40:
	.word	.LC4
	.word	.LC0
	.word	stdin
	.word	.LC1
	.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
