	.file	"86950.c"
	.intel_syntax noprefix
	.text
	.globl	str1
	.bss
	.align 32
	.type	str1, @object
	.size	str1, 100
str1:
	.zero	100
	.globl	str2
	.align 32
	.type	str2, @object
	.size	str2, 100
str2:
	.zero	100
	.text
	.globl	stringmaking
	.type	stringmaking, @function
stringmaking:
.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	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -8[rbp], eax
	mov	rax, QWORD PTR -32[rbp]
	mov	rdi, rax
	call	strlen@PLT
	mov	DWORD PTR -4[rbp], eax
	mov	BYTE PTR str1[rip], 48
	mov	BYTE PTR str1[rip+1], 120
	mov	BYTE PTR str2[rip], 48
	mov	BYTE PTR str2[rip+1], 120
	mov	DWORD PTR -12[rbp], 2
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, -2[rax]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rcx, str1[rip]
	mov	BYTE PTR [rax+rcx], dl
	add	DWORD PTR -12[rbp], 1
.L2:
	mov	eax, DWORD PTR -8[rbp]
	add	eax, 1
	cmp	DWORD PTR -12[rbp], eax
	jle	.L3
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, str1[rip]
	mov	BYTE PTR [rax+rdx], 0
	mov	DWORD PTR -12[rbp], 2
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, -2[rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, rdx
	movzx	edx, BYTE PTR [rax]
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rcx, str2[rip]
	mov	BYTE PTR [rax+rcx], dl
	add	DWORD PTR -12[rbp], 1
.L4:
	mov	eax, DWORD PTR -4[rbp]
	add	eax, 1
	cmp	DWORD PTR -12[rbp], eax
	jle	.L5
	mov	eax, DWORD PTR -12[rbp]
	cdqe
	lea	rdx, str2[rip]
	mov	BYTE PTR [rax+rdx], 0
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	stringmaking, .-stringmaking
	.section	.rodata
.LC0:
	.string	"0000000000000"
.LC1:
	.string	"%d"
	.text
	.globl	binary
	.type	binary, @function
binary:
.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, 96
	mov	DWORD PTR -84[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -72[rbp], 12
	mov	QWORD PTR -64[rbp], 0
	mov	QWORD PTR -56[rbp], 0
	mov	QWORD PTR -48[rbp], 0
	mov	QWORD PTR -40[rbp], 0
	mov	QWORD PTR -32[rbp], 0
	mov	QWORD PTR -24[rbp], 0
	mov	DWORD PTR -16[rbp], 0
	mov	eax, DWORD PTR -84[rbp]
	mov	DWORD PTR -68[rbp], eax
	jmp	.L7
.L8:
	mov	eax, DWORD PTR -84[rbp]
	cdq
	shr	edx, 31
	add	eax, edx
	and	eax, 1
	sub	eax, edx
	mov	edx, eax
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	mov	DWORD PTR -64[rbp+rax*4], edx
	mov	eax, DWORD PTR -84[rbp]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR -84[rbp], eax
	sub	DWORD PTR -72[rbp], 1
.L7:
	cmp	DWORD PTR -84[rbp], 0
	jne	.L8
	cmp	DWORD PTR -68[rbp], 0
	jne	.L9
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L10
.L9:
	mov	DWORD PTR -72[rbp], 0
	jmp	.L11
.L12:
	mov	eax, DWORD PTR -72[rbp]
	cdqe
	mov	eax, DWORD PTR -64[rbp+rax*4]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -72[rbp], 1
.L11:
	cmp	DWORD PTR -72[rbp], 12
	jle	.L12
.L10:
	lea	rax, -64[rbp]
	mov	edx, 52
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	binary, .-binary
	.section	.rodata
.LC2:
	.string	"%s %c %s"
.LC3:
	.string	"%X"
.LC4:
	.string	" %c "
.LC5:
	.string	" = %d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1264
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -1240[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	call	getchar@PLT
	jmp	.L15
.L18:
	lea	rax, -1008[rbp]
	mov	rdi, rax
	mov	eax, 0
	call	gets@PLT
	lea	rsi, -1120[rbp]
	lea	rcx, -1249[rbp]
	lea	rdx, -1232[rbp]
	lea	rax, -1008[rbp]
	mov	r8, rsi
	lea	rsi, .LC2[rip]
	mov	rdi, rax
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	lea	rdx, -1120[rbp]
	lea	rax, -1232[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	stringmaking
	lea	rax, -1248[rbp]
	mov	rdx, rax
	lea	rsi, .LC3[rip]
	lea	rdi, str1[rip]
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	lea	rax, -1244[rbp]
	mov	rdx, rax
	lea	rsi, .LC3[rip]
	lea	rdi, str2[rip]
	mov	eax, 0
	call	__isoc99_sscanf@PLT
	movzx	eax, BYTE PTR -1249[rbp]
	cmp	al, 43
	jne	.L16
	mov	edx, DWORD PTR -1248[rbp]
	mov	eax, DWORD PTR -1244[rbp]
	add	eax, edx
	mov	DWORD PTR -1236[rbp], eax
	jmp	.L17
.L16:
	mov	eax, DWORD PTR -1248[rbp]
	mov	edx, DWORD PTR -1244[rbp]
	sub	eax, edx
	mov	DWORD PTR -1236[rbp], eax
.L17:
	mov	eax, DWORD PTR -1248[rbp]
	mov	edi, eax
	call	binary
	movzx	eax, BYTE PTR -1249[rbp]
	movsx	eax, al
	mov	esi, eax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, DWORD PTR -1244[rbp]
	mov	edi, eax
	call	binary
	mov	eax, DWORD PTR -1236[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
	mov	edx, 100
	mov	esi, 0
	lea	rdi, str1[rip]
	call	memset@PLT
	mov	edx, 100
	mov	esi, 0
	lea	rdi, str2[rip]
	call	memset@PLT
.L15:
	mov	eax, DWORD PTR -1240[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -1240[rbp], edx
	test	eax, eax
	jne	.L18
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L20
	call	__stack_chk_fail@PLT
.L20:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.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	"86950.c"
	.text
	.comm	str1,100,4
	.comm	str2,100,4
	.align	2
	.global	stringmaking
	.syntax unified
	.arm
	.fpu softvfp
	.type	stringmaking, %function
stringmaking:
	@ 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, #-24]
	str	r1, [fp, #-28]
	ldr	r0, [fp, #-24]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-12]
	ldr	r0, [fp, #-28]
	bl	strlen
	mov	r3, r0
	str	r3, [fp, #-8]
	ldr	r3, .L6
	mov	r2, #48
	strb	r2, [r3]
	ldr	r3, .L6
	mov	r2, #120
	strb	r2, [r3, #1]
	ldr	r3, .L6+4
	mov	r2, #48
	strb	r2, [r3]
	ldr	r3, .L6+4
	mov	r2, #120
	strb	r2, [r3, #1]
	mov	r3, #2
	str	r3, [fp, #-16]
	b	.L2
.L3:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #2
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldr	r2, .L6
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L2:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	ble	.L3
	ldr	r2, .L6
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	mov	r3, #2
	str	r3, [fp, #-16]
	b	.L4
.L5:
	ldr	r3, [fp, #-16]
	sub	r3, r3, #2
	ldr	r2, [fp, #-28]
	add	r3, r2, r3
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldr	r2, .L6+4
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L4:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	ble	.L5
	ldr	r2, .L6+4
	ldr	r3, [fp, #-16]
	add	r3, r2, r3
	mov	r2, #0
	strb	r2, [r3]
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	str1
	.word	str2
	.size	stringmaking, .-stringmaking
	.section	.rodata
	.align	2
.LC0:
	.ascii	"0000000000000\000"
	.align	2
.LC1:
	.ascii	"%d\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	binary
	.syntax unified
	.arm
	.fpu softvfp
	.type	binary, %function
binary:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	str	r0, [fp, #-72]
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #12
	str	r3, [fp, #-68]
	sub	r3, fp, #60
	mov	r2, #52
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, [fp, #-72]
	str	r3, [fp, #-64]
	b	.L9
.L10:
	ldr	r3, [fp, #-72]
	cmp	r3, #0
	and	r3, r3, #1
	rsblt	r3, r3, #0
	mov	r2, r3
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-56]
	ldr	r3, [fp, #-72]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	str	r3, [fp, #-72]
	ldr	r3, [fp, #-68]
	sub	r3, r3, #1
	str	r3, [fp, #-68]
.L9:
	ldr	r3, [fp, #-72]
	cmp	r3, #0
	bne	.L10
	ldr	r3, [fp, #-64]
	cmp	r3, #0
	bne	.L11
	ldr	r0, .L16+4
	bl	printf
	b	.L12
.L11:
	mov	r3, #0
	str	r3, [fp, #-68]
	b	.L13
.L14:
	ldr	r3, [fp, #-68]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-56]
	mov	r1, r3
	ldr	r0, .L16+8
	bl	printf
	ldr	r3, [fp, #-68]
	add	r3, r3, #1
	str	r3, [fp, #-68]
.L13:
	ldr	r3, [fp, #-68]
	cmp	r3, #12
	ble	.L14
.L12:
	sub	r3, fp, #60
	mov	r2, #52
	mov	r1, #0
	mov	r0, r3
	bl	memset
	nop
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC2
	.word	.LC0
	.word	.LC1
	.size	binary, .-binary
	.section	.rodata
	.align	2
.LC3:
	.ascii	"%s %c %s\000"
	.align	2
.LC4:
	.ascii	"%X\000"
	.align	2
.LC5:
	.ascii	" %c \000"
	.align	2
.LC6:
	.ascii	" = %d\012\000"
	.align	2
.LC7:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1224
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1232
	ldr	r3, .L25
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #1200
	sub	r3, r3, #4
	sub	r3, r3, #12
	mov	r1, r3
	ldr	r0, .L25+4
	bl	__isoc99_scanf
	bl	getchar
	b	.L19
.L22:
	sub	r3, fp, #1008
	mov	r0, r3
	bl	gets
	sub	r3, fp, #1216
	sub	r3, r3, #4
	sub	r3, r3, #5
	sub	r2, fp, #1200
	sub	r2, r2, #4
	sub	r2, r2, #4
	sub	r0, fp, #1008
	sub	r1, fp, #1104
	sub	r1, r1, #4
	str	r1, [sp]
	ldr	r1, .L25+8
	bl	__isoc99_sscanf
	sub	r2, fp, #1104
	sub	r2, r2, #4
	sub	r3, fp, #1200
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r1, r2
	mov	r0, r3
	bl	stringmaking
	sub	r3, fp, #1216
	sub	r3, r3, #4
	sub	r3, r3, #4
	mov	r2, r3
	ldr	r1, .L25+12
	ldr	r0, .L25+16
	bl	__isoc99_sscanf
	sub	r3, fp, #1216
	sub	r3, r3, #4
	mov	r2, r3
	ldr	r1, .L25+12
	ldr	r0, .L25+20
	bl	__isoc99_sscanf
	ldrb	r3, [fp, #-1225]	@ zero_extendqisi2
	cmp	r3, #43
	bne	.L20
	ldr	r2, [fp, #-1224]
	ldr	r3, [fp, #-1220]
	add	r3, r2, r3
	str	r3, [fp, #-1212]
	b	.L21
.L20:
	ldr	r2, [fp, #-1224]
	ldr	r3, [fp, #-1220]
	sub	r3, r2, r3
	str	r3, [fp, #-1212]
.L21:
	ldr	r3, [fp, #-1224]
	mov	r0, r3
	bl	binary
	ldrb	r3, [fp, #-1225]	@ zero_extendqisi2
	mov	r1, r3
	ldr	r0, .L25+24
	bl	printf
	ldr	r3, [fp, #-1220]
	mov	r0, r3
	bl	binary
	ldr	r1, [fp, #-1212]
	ldr	r0, .L25+28
	bl	printf
	mov	r2, #100
	mov	r1, #0
	ldr	r0, .L25+16
	bl	memset
	mov	r2, #100
	mov	r1, #0
	ldr	r0, .L25+20
	bl	memset
.L19:
	ldr	r3, [fp, #-1216]
	sub	r2, r3, #1
	str	r2, [fp, #-1216]
	cmp	r3, #0
	bne	.L22
	mov	r3, #0
	ldr	r2, .L25
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L24
	bl	__stack_chk_fail
.L24:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L26:
	.align	2
.L25:
	.word	.LC7
	.word	.LC1
	.word	.LC3
	.word	.LC4
	.word	str1
	.word	str2
	.word	.LC5
	.word	.LC6
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
