	.file	"559933.c"
	.intel_syntax noprefix
	.text
	.globl	mgetstr
	.type	mgetstr, @function
mgetstr:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r12
	push	rbx
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	mov	rdx, rdi
	mov	rax, rsi
	mov	rbx, QWORD PTR __modemcap[rip]
	mov	r12, QWORD PTR [rax]
	mov	rcx, QWORD PTR __modemcap[rip]
	test	rcx, rcx
	jne	.L4
	mov	eax, 0
	jmp	.L3
.L6:
	add	rbx, 1
.L4:
	movzx	ecx, BYTE PTR [rbx]
	cmp	cl, 58
	je	.L5
	movzx	ecx, BYTE PTR [rbx]
	test	cl, cl
	jne	.L6
.L5:
	movzx	ecx, BYTE PTR [rbx]
	test	cl, cl
	jne	.L7
	mov	eax, 0
	jmp	.L3
.L7:
	add	rbx, 1
	jmp	.L8
.L15:
	movzx	esi, BYTE PTR [rbx]
	movzx	ecx, BYTE PTR [rdx]
	cmp	sil, cl
	jne	.L12
	lea	rcx, 1[rbx]
	movzx	esi, BYTE PTR [rcx]
	lea	rcx, 1[rdx]
	movzx	ecx, BYTE PTR [rcx]
	cmp	sil, cl
	jne	.L12
	lea	rdx, 2[rbx]
	movzx	edx, BYTE PTR [rdx]
	cmp	dl, 61
	je	.L35
	mov	eax, 0
	jmp	.L3
.L14:
	add	rbx, 1
.L12:
	movzx	ecx, BYTE PTR [rbx]
	cmp	cl, 58
	je	.L13
	movzx	ecx, BYTE PTR [rbx]
	test	cl, cl
	jne	.L14
.L13:
	movzx	ecx, BYTE PTR [rbx]
	test	cl, cl
	je	.L8
	add	rbx, 1
.L8:
	movzx	ecx, BYTE PTR [rbx]
	test	cl, cl
	jne	.L15
	jmp	.L11
.L35:
	nop
.L11:
	movzx	edx, BYTE PTR [rbx]
	test	dl, dl
	jne	.L16
	mov	eax, 0
	jmp	.L3
.L16:
	add	rbx, 3
	jmp	.L17
.L34:
	movzx	edx, BYTE PTR [rbx]
	cmp	dl, 92
	jne	.L18
	add	rbx, 1
	movzx	edx, BYTE PTR [rbx]
	movsx	edx, dl
	cmp	edx, 55
	jg	.L19
	cmp	edx, 48
	jge	.L20
	jmp	.L21
.L29:
	sub	edx, 69
	cmp	edx, 47
	ja	.L21
	mov	edx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, .L23[rip]
	mov	edx, DWORD PTR [rcx+rdx]
	movsx	rdx, edx
	lea	rcx, .L23[rip]
	add	rdx, rcx
	notrack jmp	rdx
	.section	.rodata
	.align 4
	.align 4
.L23:
	.long	.L28-.L23
	.long	.L21-.L23
	.long	.L21-.L23
	.long	.L21-.L23
	.long	.L21-.L23
	.long	.L21-.L23
	.long	.L21-.L23
	.long	.L21-.L23
	.long	.L21-.L23
	.long	.L21-.L23
	.long	.L21-.L23
	.long	.L21-.L23
	.long	.L21-.L23
	.long	.L21-.L23
	.long	.L21-.L23
	.long	.L21-.L23
	.long	.L21-.L23
	.long	.L21-.L23
	.long	.L21-.L23
	.long	.L21-.L23
	.long	.L21-.L23
	.long	.L21-.L23
	.long	.L21-.L23
	.long	.L21-.L23
	.long	.L21-.L23
	.long	.L21-.L23
	.long	.L21-.L23
	.long	.L21-.L23
	.long	.L21-.L23
	.long	.L27-.L23
	.long	.L21-.L23
	.long	.L21-.L23
	.long	.L21-.L23
	.long	.L26-.L23
	.long	.L21-.L23
	.long	.L21-.L23
	.long	.L21-.L23
	.long	.L21-.L23
	.long	.L21-.L23
	.long	.L21-.L23
	.long	.L21-.L23
	.long	.L25-.L23
	.long	.L21-.L23
	.long	.L21-.L23
	.long	.L21-.L23
	.long	.L24-.L23
	.long	.L21-.L23
	.long	.L22-.L23
	.text
.L19:
	cmp	edx, 116
	jg	.L21
	cmp	edx, 69
	jge	.L29
	jmp	.L21
.L25:
	mov	rdx, QWORD PTR [rax]
	mov	BYTE PTR [rdx], 10
	mov	rdx, QWORD PTR [rax]
	add	rdx, 1
	mov	QWORD PTR [rax], rdx
	add	rbx, 1
	jmp	.L17
.L24:
	mov	rdx, QWORD PTR [rax]
	mov	BYTE PTR [rdx], 13
	mov	rdx, QWORD PTR [rax]
	add	rdx, 1
	mov	QWORD PTR [rax], rdx
	add	rbx, 1
	jmp	.L17
.L27:
	mov	rdx, QWORD PTR [rax]
	mov	BYTE PTR [rdx], 8
	mov	rdx, QWORD PTR [rax]
	add	rdx, 1
	mov	QWORD PTR [rax], rdx
	add	rbx, 1
	jmp	.L17
.L26:
	mov	rdx, QWORD PTR [rax]
	mov	BYTE PTR [rdx], 12
	mov	rdx, QWORD PTR [rax]
	add	rdx, 1
	mov	QWORD PTR [rax], rdx
	add	rbx, 1
	jmp	.L17
.L22:
	mov	rdx, QWORD PTR [rax]
	mov	BYTE PTR [rdx], 9
	mov	rdx, QWORD PTR [rax]
	add	rdx, 1
	mov	QWORD PTR [rax], rdx
	add	rbx, 1
	jmp	.L17
.L28:
	mov	rdx, QWORD PTR [rax]
	mov	BYTE PTR [rdx], 27
	mov	rdx, QWORD PTR [rax]
	add	rdx, 1
	mov	QWORD PTR [rax], rdx
	add	rbx, 1
	jmp	.L17
.L20:
	movzx	edx, BYTE PTR [rbx]
	sub	edx, 48
	mov	ecx, edx
	sal	ecx, 6
	lea	rdx, 1[rbx]
	movzx	edx, BYTE PTR [rdx]
	sub	edx, 48
	sal	edx, 3
	add	ecx, edx
	lea	rdx, 2[rbx]
	movzx	edx, BYTE PTR [rdx]
	add	edx, ecx
	lea	ecx, -48[rdx]
	mov	rdx, QWORD PTR [rax]
	mov	BYTE PTR [rdx], cl
	mov	rdx, QWORD PTR [rax]
	add	rdx, 1
	mov	QWORD PTR [rax], rdx
	add	rbx, 3
	jmp	.L17
.L21:
	mov	rcx, rbx
	lea	rbx, 1[rcx]
	mov	rdx, QWORD PTR [rax]
	movzx	ecx, BYTE PTR [rcx]
	mov	BYTE PTR [rdx], cl
	mov	rdx, QWORD PTR [rax]
	add	rdx, 1
	mov	QWORD PTR [rax], rdx
	nop
	jmp	.L17
.L18:
	movzx	edx, BYTE PTR [rbx]
	cmp	dl, 94
	jne	.L31
	add	rbx, 1
	movzx	edx, BYTE PTR [rbx]
	cmp	dl, 63
	jle	.L32
	movzx	edx, BYTE PTR [rbx]
	cmp	dl, 95
	jg	.L32
	movzx	edx, BYTE PTR [rbx]
	lea	ecx, -64[rdx]
	mov	rdx, QWORD PTR [rax]
	mov	BYTE PTR [rdx], cl
	mov	rdx, QWORD PTR [rax]
	add	rdx, 1
	mov	QWORD PTR [rax], rdx
.L32:
	add	rbx, 1
	jmp	.L17
.L31:
	mov	rcx, rbx
	lea	rbx, 1[rcx]
	mov	rdx, QWORD PTR [rax]
	movzx	ecx, BYTE PTR [rcx]
	mov	BYTE PTR [rdx], cl
	mov	rdx, QWORD PTR [rax]
	add	rdx, 1
	mov	QWORD PTR [rax], rdx
.L17:
	movzx	edx, BYTE PTR [rbx]
	cmp	dl, 58
	je	.L33
	movzx	edx, BYTE PTR [rbx]
	test	dl, dl
	jne	.L34
.L33:
	mov	rdx, QWORD PTR [rax]
	lea	rcx, 1[rdx]
	mov	QWORD PTR [rax], rcx
	mov	BYTE PTR [rdx], 0
	mov	rax, r12
.L3:
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	mgetstr, .-mgetstr
	.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	"559933.c"
	.text
	.align	2
	.global	mgetstr
	.syntax unified
	.arm
	.fpu softvfp
	.type	mgetstr, %function
mgetstr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	push	{r4, r5, fp}
	add	fp, sp, #8
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L36
	ldr	r4, [r1]
	ldr	r5, [r3]
	ldr	r1, .L36
	ldr	r1, [r1]
	cmp	r1, #0
	bne	.L4
	mov	r3, #0
	b	.L3
.L6:
	add	r4, r4, #1
.L4:
	ldrb	r1, [r4]	@ zero_extendqisi2
	cmp	r1, #58
	beq	.L5
	ldrb	r1, [r4]	@ zero_extendqisi2
	cmp	r1, #0
	bne	.L6
.L5:
	ldrb	r1, [r4]	@ zero_extendqisi2
	cmp	r1, #0
	bne	.L7
	mov	r3, #0
	b	.L3
.L7:
	add	r4, r4, #1
	b	.L8
.L15:
	ldrb	r0, [r4]	@ zero_extendqisi2
	ldrb	r1, [r2]	@ zero_extendqisi2
	cmp	r0, r1
	bne	.L12
	add	r1, r4, #1
	ldrb	r0, [r1]	@ zero_extendqisi2
	add	r1, r2, #1
	ldrb	r1, [r1]	@ zero_extendqisi2
	cmp	r0, r1
	bne	.L12
	add	r2, r4, #2
	ldrb	r2, [r2]	@ zero_extendqisi2
	cmp	r2, #61
	beq	.L35
	mov	r3, #0
	b	.L3
.L14:
	add	r4, r4, #1
.L12:
	ldrb	r1, [r4]	@ zero_extendqisi2
	cmp	r1, #58
	beq	.L13
	ldrb	r1, [r4]	@ zero_extendqisi2
	cmp	r1, #0
	bne	.L14
.L13:
	ldrb	r1, [r4]	@ zero_extendqisi2
	cmp	r1, #0
	beq	.L8
	add	r4, r4, #1
.L8:
	ldrb	r1, [r4]	@ zero_extendqisi2
	cmp	r1, #0
	bne	.L15
	b	.L11
.L35:
	nop
.L11:
	ldrb	r2, [r4]	@ zero_extendqisi2
	cmp	r2, #0
	bne	.L16
	mov	r3, #0
	b	.L3
.L16:
	add	r4, r4, #3
	b	.L17
.L34:
	ldrb	r2, [r4]	@ zero_extendqisi2
	cmp	r2, #92
	bne	.L18
	add	r4, r4, #1
	ldrb	r2, [r4]	@ zero_extendqisi2
	cmp	r2, #55
	bgt	.L19
	cmp	r2, #48
	bge	.L20
	b	.L21
.L29:
	sub	r2, r2, #69
	cmp	r2, #47
	ldrls	pc, [pc, r2, asl #2]
	b	.L21
.L23:
	.word	.L28
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L27
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L26
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L25
	.word	.L21
	.word	.L21
	.word	.L21
	.word	.L24
	.word	.L21
	.word	.L22
.L19:
	cmp	r2, #116
	bgt	.L21
	cmp	r2, #69
	bge	.L29
	b	.L21
.L25:
	ldr	r2, [r3]
	mov	r1, #10
	strb	r1, [r2]
	ldr	r2, [r3]
	add	r2, r2, #1
	str	r2, [r3]
	add	r4, r4, #1
	b	.L17
.L24:
	ldr	r2, [r3]
	mov	r1, #13
	strb	r1, [r2]
	ldr	r2, [r3]
	add	r2, r2, #1
	str	r2, [r3]
	add	r4, r4, #1
	b	.L17
.L27:
	ldr	r2, [r3]
	mov	r1, #8
	strb	r1, [r2]
	ldr	r2, [r3]
	add	r2, r2, #1
	str	r2, [r3]
	add	r4, r4, #1
	b	.L17
.L26:
	ldr	r2, [r3]
	mov	r1, #12
	strb	r1, [r2]
	ldr	r2, [r3]
	add	r2, r2, #1
	str	r2, [r3]
	add	r4, r4, #1
	b	.L17
.L22:
	ldr	r2, [r3]
	mov	r1, #9
	strb	r1, [r2]
	ldr	r2, [r3]
	add	r2, r2, #1
	str	r2, [r3]
	add	r4, r4, #1
	b	.L17
.L28:
	ldr	r2, [r3]
	mov	r1, #27
	strb	r1, [r2]
	ldr	r2, [r3]
	add	r2, r2, #1
	str	r2, [r3]
	add	r4, r4, #1
	b	.L17
.L20:
	ldrb	r2, [r4]	@ zero_extendqisi2
	sub	r2, r2, #48
	and	r2, r2, #255
	lsl	r2, r2, #6
	and	r1, r2, #255
	add	r2, r4, #1
	ldrb	r2, [r2]	@ zero_extendqisi2
	sub	r2, r2, #48
	and	r2, r2, #255
	lsl	r2, r2, #3
	and	r2, r2, #255
	add	r2, r1, r2
	and	r1, r2, #255
	add	r2, r4, #2
	ldrb	r2, [r2]	@ zero_extendqisi2
	add	r2, r1, r2
	and	r1, r2, #255
	ldr	r2, [r3]
	sub	r1, r1, #48
	and	r1, r1, #255
	strb	r1, [r2]
	ldr	r2, [r3]
	add	r2, r2, #1
	str	r2, [r3]
	add	r4, r4, #3
	b	.L17
.L21:
	mov	r2, r4
	add	r4, r2, #1
	ldr	r1, [r3]
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r1]
	ldr	r2, [r3]
	add	r2, r2, #1
	str	r2, [r3]
	nop
	b	.L17
.L18:
	ldrb	r2, [r4]	@ zero_extendqisi2
	cmp	r2, #94
	bne	.L31
	add	r4, r4, #1
	ldrb	r2, [r4]	@ zero_extendqisi2
	cmp	r2, #63
	bls	.L32
	ldrb	r2, [r4]	@ zero_extendqisi2
	cmp	r2, #95
	bhi	.L32
	ldrb	r1, [r4]	@ zero_extendqisi2
	ldr	r2, [r3]
	sub	r1, r1, #64
	and	r1, r1, #255
	strb	r1, [r2]
	ldr	r2, [r3]
	add	r2, r2, #1
	str	r2, [r3]
.L32:
	add	r4, r4, #1
	b	.L17
.L31:
	mov	r2, r4
	add	r4, r2, #1
	ldr	r1, [r3]
	ldrb	r2, [r2]	@ zero_extendqisi2
	strb	r2, [r1]
	ldr	r2, [r3]
	add	r2, r2, #1
	str	r2, [r3]
.L17:
	ldrb	r2, [r4]	@ zero_extendqisi2
	cmp	r2, #58
	beq	.L33
	ldrb	r2, [r4]	@ zero_extendqisi2
	cmp	r2, #0
	bne	.L34
.L33:
	ldr	r2, [r3]
	add	r1, r2, #1
	str	r1, [r3]
	mov	r3, #0
	strb	r3, [r2]
	mov	r3, r5
.L3:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, r5, fp}
	bx	lr
.L37:
	.align	2
.L36:
	.word	__modemcap
	.size	mgetstr, .-mgetstr
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
