	.file	"extr_x509parse.c_nul_escape.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"?\\000"
	.text
	.p2align 4
	.type	nul_escape, @function
nul_escape:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r8, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rsi, QWORD PTR [rdi]
	movsx	rbp, DWORD PTR 8[rdi]
	add	rbp, rsi
	mov	rax, rsi
	cmp	rsi, rbp
	jb	.L3
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L17:
	add	rax, 1
	cmp	rbp, rax
	je	.L1
.L3:
	cmp	BYTE PTR [rax], 0
	jne	.L17
.L2:
	cmp	rbp, rax
	je	.L1
	mov	rdi, r8
	mov	QWORD PTR 8[rsp], rsi
	call	svn_stringbuf_create_empty@PLT
	mov	rsi, QWORD PTR 8[rsp]
	mov	r12, rax
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rbx, rsi
	xor	edx, edx
	cmp	rsi, rbp
	jb	.L5
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L8:
	add	rbx, 1
	cmp	rbp, rbx
	je	.L18
.L5:
	cmp	BYTE PTR [rbx], 0
	jne	.L8
	mov	edx, ebx
	sub	edx, esi
.L6:
	mov	rdi, r12
	call	svn_stringbuf_appendbytes@PLT
	cmp	rbp, rbx
	je	.L7
	lea	rsi, .LC0[rip]
	mov	rdi, r12
	call	svn_stringbuf_appendcstr@PLT
	lea	rsi, 1[rbx]
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L18:
	mov	rdx, rbp
	mov	rdi, r12
	sub	rdx, rsi
	call	svn_stringbuf_appendbytes@PLT
.L7:
	mov	rsi, QWORD PTR [r12]
.L1:
	add	rsp, 16
	.cfi_def_cfa_offset 32
	mov	rax, rsi
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	nul_escape, .-nul_escape
	.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_x509parse.c_nul_escape.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"?\\000\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nul_escape, %function
nul_escape:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r6, [r0]
	ldr	r5, [r0, #4]
	mov	r0, r1
	add	r5, r6, r5
	cmp	r6, r5
	bcs	.L11
	mov	r3, r6
	b	.L3
.L19:
	cmp	r3, r5
	mov	r2, r3
	beq	.L2
.L3:
	ldrb	ip, [r3]	@ zero_extendqisi2
	mov	r2, r3
	cmp	ip, #0
	add	r3, r3, #1
	bne	.L19
.L2:
	cmp	r5, r2
	beq	.L1
	bl	svn_stringbuf_create_empty
	mov	r7, r0
	ldr	r8, .L21
.L10:
	cmp	r6, r5
	movcs	r4, r6
	movcs	r2, #0
	bcs	.L6
	mov	r3, r6
	b	.L7
.L8:
	cmp	r5, r3
	mov	r4, r3
	beq	.L20
.L7:
	mov	r4, r3
	ldrb	r2, [r3], #1	@ zero_extendqisi2
	cmp	r2, #0
	bne	.L8
	sub	r2, r4, r6
.L6:
	mov	r1, r6
	mov	r0, r7
	bl	svn_stringbuf_appendbytes
	cmp	r5, r4
	beq	.L9
	mov	r1, r8
	mov	r0, r7
	add	r6, r4, #1
	bl	svn_stringbuf_appendcstr
	b	.L10
.L20:
	sub	r2, r5, r6
	b	.L6
.L9:
	ldr	r6, [r7]
.L1:
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	mov	r2, r6
	b	.L2
.L22:
	.align	2
.L21:
	.word	.LC0
	.size	nul_escape, .-nul_escape
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
