	.file	"extr_markdown.c_char_quote.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	char_quote, @function
char_quote:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	sub	rsp, 32
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	test	r8, r8
	jne	.L2
	jmp	.L54
	.p2align 4,,10
	.p2align 3
.L5:
	add	rax, 1
	cmp	r8, rax
	je	.L4
.L2:
	movzx	ecx, BYTE PTR [rdx+rax]
	cmp	cl, 34
	je	.L5
	test	rax, rax
	setne	r11b
	cmp	r8, rax
	jbe	.L50
	mov	r9, rax
	xor	r10d, r10d
	test	r11b, r11b
	jne	.L6
	jmp	.L55
	.p2align 4,,10
	.p2align 3
.L57:
	test	r11b, r11b
	je	.L56
	add	r10, 1
	cmp	BYTE PTR [rdx+r12], 34
	je	.L9
	xor	r10d, r10d
.L9:
	mov	r9, r12
.L6:
	cmp	r10, rax
	lea	r12, 1[r9]
	setb	r11b
	cmp	r8, r12
	ja	.L57
.L51:
	test	r11b, r11b
	jne	.L4
.L12:
	mov	r8, rax
	cmp	r12, rax
	ja	.L14
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L15:
	lea	r10, 1[r8]
	cmp	r9, r8
	je	.L25
	movzx	ecx, BYTE PTR 1[rdx+r8]
	mov	r8, r10
.L14:
	cmp	cl, 32
	je	.L15
.L3:
	mov	rcx, r12
	sub	rcx, rax
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L58:
	cmp	BYTE PTR -1[rdx+rcx], 32
	lea	r9, -1[rcx]
	jne	.L16
	mov	rcx, r9
.L17:
	cmp	rcx, rax
	ja	.L58
.L16:
	mov	r9, QWORD PTR 8[rsi]
	mov	r10d, DWORD PTR [rsi]
	cmp	rcx, r8
	jbe	.L18
	lea	rax, [rdx+r8]
	sub	rcx, r8
	mov	rsi, rsp
	mov	edx, r10d
	mov	QWORD PTR [rsp], rax
	mov	QWORD PTR 8[rsp], rcx
	mov	QWORD PTR 16[rsp], 0
	call	r9
	test	eax, eax
	mov	eax, 0
	cmove	r12, rax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L18:
	xor	esi, esi
	mov	edx, r10d
	call	r9
	test	eax, eax
	jne	.L1
.L4:
	xor	r12d, r12d
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L59
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	mov	rax, r12
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L25:
	.cfi_restore_state
	mov	r8, r12
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L56:
	cmp	r8, r12
	ja	.L12
	jmp	.L51
.L54:
	mov	rax, r8
	xor	r12d, r12d
	jmp	.L3
.L55:
	cmp	r8, rax
	ja	.L28
.L50:
	test	r11b, r11b
	jne	.L4
.L28:
	mov	r12, rax
	mov	r8, rax
	jmp	.L3
.L59:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	char_quote, .-char_quote
	.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_markdown.c_char_quote.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	char_quote, %function
char_quote:
	@ args = 4, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	sub	sp, sp, #24
	ldr	r3, [sp, #56]
	mov	r9, r2
	ldr	r2, .L34
	cmp	r3, #0
	ldr	r2, [r2]
	str	r2, [sp, #20]
	mov	r2,#0
	moveq	ip, r3
	moveq	r4, r3
	beq	.L3
	mov	ip, #0
	sub	r4, r9, #1
	b	.L4
.L6:
	add	ip, ip, #1
	cmp	r3, ip
	beq	.L5
.L4:
	ldrb	lr, [r4, #1]!	@ zero_extendqisi2
	cmp	lr, #34
	beq	.L6
	subs	r2, ip, #0
	movne	r2, #1
	cmp	ip, #0
	cmpne	r3, ip
	bls	.L7
	add	r10, r9, ip
	mov	r2, r10
	mov	r5, ip
	mov	r6, #0
	b	.L8
.L10:
	ldrb	r5, [r2, #1]!	@ zero_extendqisi2
	cmp	r5, #34
	movne	r6, #0
	mov	r5, r4
	addeq	r6, r6, #1
.L8:
	cmp	r6, ip
	movcs	r7, #0
	movcc	r7, #1
	add	r4, r5, #1
	cmp	r3, r4
	movls	r8, #0
	andhi	r8, r7, #1
	cmp	r8, #0
	bne	.L10
	cmp	r3, r4
	movhi	r3, #0
	andls	r3, r7, #1
	cmp	r3, #0
	bne	.L5
	cmp	r4, ip
	mov	r3, ip
	bhi	.L13
	b	.L3
.L14:
	cmp	r5, r3
	add	r3, r3, #1
	beq	.L22
	ldrb	lr, [r10, #1]!	@ zero_extendqisi2
.L13:
	cmp	lr, #32
	beq	.L14
.L3:
	sub	lr, r4, ip
	add	r2, r9, lr
	b	.L16
.L32:
	ldrb	r5, [r2, #-1]!	@ zero_extendqisi2
	sub	r6, lr, #1
	cmp	r5, #32
	bne	.L15
	mov	lr, r6
.L16:
	cmp	lr, ip
	bhi	.L32
.L15:
	cmp	lr, r3
	ldm	r1, {r2, r5}
	mov	r1, #0
	bls	.L17
	add	r9, r9, r3
	sub	r3, lr, r3
	str	r1, [sp, #12]
	str	r1, [sp, #16]
	str	r9, [sp, #4]
	str	r3, [sp, #8]
	add	r1, sp, #4
	blx	r5
	cmp	r0, #0
	moveq	r4, #0
	b	.L1
.L7:
	cmp	r3, ip
	movhi	r3, #0
	andls	r3, r2, #1
	cmp	r3, #0
	moveq	r4, ip
	moveq	r3, ip
	beq	.L3
.L5:
	mov	r4, #0
.L1:
	ldr	r3, .L34
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L33
	mov	r0, r4
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L17:
	blx	r5
	cmp	r0, #0
	beq	.L5
	b	.L1
.L22:
	mov	r3, r4
	b	.L3
.L33:
	bl	__stack_chk_fail
.L35:
	.align	2
.L34:
	.word	.LC0
	.size	char_quote, .-char_quote
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
