	.file	"extr_pqexpbuffer.c_enlargePQExpBuffer.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	enlargePQExpBuffer
	.type	enlargePQExpBuffer, @function
enlargePQExpBuffer:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	PQExpBufferBroken@PLT
	mov	r8, rax
	xor	eax, eax
	test	r8, r8
	jne	.L1
	mov	rcx, QWORD PTR INT_MAX[rip]
	mov	rax, QWORD PTR 0[rbp]
	mov	rdx, rcx
	sub	rdx, rax
	cmp	rdx, rbx
	jbe	.L7
	mov	rsi, QWORD PTR 8[rbp]
	lea	rdx, 1[rax+rbx]
	mov	eax, 1
	cmp	rsi, rdx
	jnb	.L1
	lea	rax, [rsi+rsi]
	test	rsi, rsi
	mov	esi, 64
	cmove	rax, rsi
	cmp	rax, rdx
	jnb	.L5
	.p2align 4,,10
	.p2align 3
.L6:
	add	rax, rax
	cmp	rdx, rax
	ja	.L6
.L5:
	cmp	rcx, rax
	mov	rdi, QWORD PTR 16[rbp]
	cmovbe	rax, rcx
	mov	rsi, rax
	mov	rbx, rax
	call	realloc@PLT
	test	rax, rax
	je	.L7
	mov	QWORD PTR 8[rbp], rbx
	mov	QWORD PTR 16[rbp], rax
	mov	eax, 1
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	rdi, rbp
	call	markPQExpBufferBroken@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	enlargePQExpBuffer, .-enlargePQExpBuffer
	.comm	INT_MAX,8,8
	.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_pqexpbuffer.c_enlargePQExpBuffer.c"
	.text
	.align	2
	.global	enlargePQExpBuffer
	.syntax unified
	.arm
	.fpu softvfp
	.type	enlargePQExpBuffer, %function
enlargePQExpBuffer:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r1
	mov	r5, r0
	bl	PQExpBufferBroken
	subs	r6, r0, #0
	movne	r6, #0
	bne	.L1
	ldr	r2, .L17
	ldr	r3, [r5]
	ldr	r2, [r2]
	sub	r1, r2, r3
	cmp	r1, r4
	bls	.L7
	ldr	r1, [r5, #4]
	add	r4, r4, #1
	add	r3, r3, r4
	cmp	r1, r3
	movcs	r6, #1
	bcs	.L1
	cmp	r1, #0
	moveq	r1, #64
	lslne	r1, r1, #1
	cmp	r1, r3
	bcs	.L5
.L6:
	lsl	r1, r1, #1
	cmp	r3, r1
	bhi	.L6
.L5:
	cmp	r2, r1
	movcc	r4, r2
	movcs	r4, r1
	ldr	r0, [r5, #8]
	mov	r1, r4
	bl	realloc
	cmp	r0, #0
	beq	.L7
	mov	r6, #1
	str	r0, [r5, #8]
	str	r4, [r5, #4]
.L1:
	mov	r0, r6
	pop	{r4, r5, r6, pc}
.L7:
	mov	r0, r5
	bl	markPQExpBufferBroken
	mov	r0, r6
	pop	{r4, r5, r6, pc}
.L18:
	.align	2
.L17:
	.word	INT_MAX
	.size	enlargePQExpBuffer, .-enlargePQExpBuffer
	.comm	INT_MAX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
