	.file	"extr_types.c_pap_qstring.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	pap_qstring, @function
pap_qstring:
.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
	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, 40
	.cfi_def_cfa_offset 96
	mov	r13d, DWORD PTR [rsi]
	mov	QWORD PTR [rsp], r8
	cmp	r13d, edx
	jl	.L2
.L6:
	mov	eax, DWORD PTR adns_s_invaliddata[rip]
	add	rsp, 40
	.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
.L2:
	.cfi_restore_state
	mov	rax, QWORD PTR 8[rdi]
	xor	r15d, r15d
	mov	r12, rdi
	mov	rbp, rsi
	mov	edi, r13d
	mov	esi, r15d
	mov	ebx, edx
	mov	r14, rcx
	mov	QWORD PTR 8[rsp], rax
	call	GET_B@PLT
	lea	r8d, 0[r13+r15]
	cmp	r8d, ebx
	jg	.L6
	mov	edi, DWORD PTR [r12]
	xor	r9d, r9d
	mov	esi, 1
	mov	DWORD PTR 28[rsp], r8d
	mov	r15, r9
	mov	QWORD PTR 16[rsp], r9
	call	adns__alloc_interim@PLT
	mov	r9, QWORD PTR 16[rsp]
	movsx	rdx, r13d
	mov	rbx, rax
	mov	BYTE PTR [rax+r9], 0
	mov	rax, QWORD PTR 8[rsp]
	mov	rdi, rbx
	lea	rsi, [rax+rdx*4]
	mov	rdx, r9
	call	memcpy@PLT
	mov	rax, QWORD PTR [rsp]
	mov	r8d, DWORD PTR 28[rsp]
	mov	DWORD PTR [r14], r15d
	mov	QWORD PTR [rax], rbx
	mov	DWORD PTR 0[rbp], r8d
	mov	eax, DWORD PTR adns_s_ok[rip]
	add	rsp, 40
	.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
	.cfi_endproc
.LFE0:
	.size	pap_qstring, .-pap_qstring
	.comm	adns_s_ok,4,4
	.comm	adns_s_invaliddata,4,4
	.comm	R_NOMEM,4,4
	.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_types.c_pap_qstring.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pap_qstring, %function
pap_qstring:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r7, [r1]
	cmp	r7, r2
	blt	.L2
.L6:
	ldr	r3, .L8
	ldr	r0, [r3]
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	mov	r9, #0
	mov	r4, r2
	mov	r5, r0
	mov	r8, r1
	mov	r0, r7
	mov	r1, r9
	add	r10, r7, r9
	mov	r6, r3
	ldr	fp, [r5, #4]
	bl	GET_B
	cmp	r10, r4
	bgt	.L6
	mov	r1, #1
	ldr	r0, [r5]
	bl	adns__alloc_interim
	mov	r9, #0
	mov	r4, r0
	mov	r2, r9
	add	r1, fp, r7, lsl #2
	strb	r9, [r0, r9]
	bl	memcpy
	ldr	r2, [sp, #40]
	ldr	r3, .L8+4
	str	r9, [r6]
	str	r4, [r2]
	str	r10, [r8]
	ldr	r0, [r3]
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L9:
	.align	2
.L8:
	.word	adns_s_invaliddata
	.word	adns_s_ok
	.size	pap_qstring, .-pap_qstring
	.comm	adns_s_ok,4,4
	.comm	adns_s_invaliddata,4,4
	.comm	R_NOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
