	.file	"extr_traditional.c_canonicalize_text.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	canonicalize_text, @function
canonicalize_text:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rcx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	movzx	r12d, BYTE PTR [rcx]
	mov	QWORD PTR 8[rsp], rdi
	test	rdx, rdx
	je	.L12
	mov	rbx, rsi
	mov	r14, rdx
	lea	rbp, 1[rdi]
	xor	r15d, r15d
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L27:
	test	r12b, r12b
	je	.L6
	movzx	ecx, BYTE PTR [rbx]
	cmp	cl, 39
	je	.L11
	cmp	cl, 34
	je	.L11
.L8:
	sub	r14, 1
	mov	BYTE PTR -1[rbp], cl
	mov	rax, rbp
	add	rbx, 1
	add	rbp, 1
	test	r14, r14
	je	.L26
.L10:
	movsx	edi, BYTE PTR [rbx]
	call	is_space@PLT
	test	rax, rax
	jne	.L27
	movzx	ecx, BYTE PTR [rbx]
	cmp	cl, 39
	je	.L14
	cmp	cl, 34
	jne	.L8
.L14:
	test	r12b, r12b
	jne	.L11
	mov	r12d, ecx
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L28:
	movsx	edi, BYTE PTR [rbx]
	call	is_space@PLT
	test	rax, rax
	je	.L5
.L6:
	add	rbx, 1
	sub	r14, 1
	jne	.L28
.L5:
	mov	BYTE PTR -1[rbp], 32
	mov	rax, rbp
	add	rbp, 1
	test	r14, r14
	jne	.L10
	.p2align 4,,10
	.p2align 3
.L26:
	sub	rax, QWORD PTR 8[rsp]
.L2:
	mov	BYTE PTR 0[r13], r12b
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	cmp	r12b, cl
	cmove	r12d, r15d
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L12:
	xor	eax, eax
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	canonicalize_text, .-canonicalize_text
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.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, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_traditional.c_canonicalize_text.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	canonicalize_text, %function
canonicalize_text:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	subs	r6, r2, #0
	mov	r9, r3
	ldrb	r8, [r3]	@ zero_extendqisi2
	beq	.L11
	mov	r10, r0
	mov	r4, r1
	add	r7, r0, #1
	b	.L9
.L24:
	cmp	r8, #0
	beq	.L22
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #34
	cmpne	r3, #39
	bne	.L8
.L10:
	cmp	r8, r3
	moveq	r8, #0
.L8:
	sub	r6, r6, #1
	cmp	r6, #0
	mov	r0, r7
	strb	r3, [r7, #-1]
	add	r4, r4, #1
	add	r7, r7, #1
	beq	.L23
.L9:
	ldrb	r0, [r4]	@ zero_extendqisi2
	bl	is_space
	cmp	r0, #0
	bne	.L24
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #34
	cmpne	r3, #39
	bne	.L8
	cmp	r8, #0
	moveq	r8, r3
	beq	.L8
	b	.L10
.L22:
	add	fp, r4, r6
	add	r5, r4, #1
	b	.L6
.L25:
	ldrb	r0, [r5]	@ zero_extendqisi2
	bl	is_space
	cmp	r0, #0
	add	r5, r5, #1
	beq	.L5
.L6:
	cmp	r5, fp
	mov	r4, r5
	sub	r6, fp, r5
	bne	.L25
	mov	r6, #0
.L5:
	mov	r3, #32
	cmp	r6, #0
	mov	r0, r7
	strb	r3, [r7, #-1]
	add	r7, r7, #1
	bne	.L9
.L23:
	sub	r0, r0, r10
	strb	r8, [r9]
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L11:
	mov	r0, r6
	strb	r8, [r9]
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
	.size	canonicalize_text, .-canonicalize_text
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
