	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_enlargePQExpBuffer             ## -- Begin function enlargePQExpBuffer
	.p2align	4, 0x90
_enlargePQExpBuffer:                    ## @enlargePQExpBuffer
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %rbx
	callq	_PQExpBufferBroken
	xorl	%r14d, %r14d
	testq	%rax, %rax
	jne	LBB0_9
## %bb.1:
	movq	_INT_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	(%rbx), %rax
	movq	%r15, %rcx
	subq	%rax, %rcx
	cmpq	%r12, %rcx
	jbe	LBB0_7
## %bb.2:
	addq	%r12, %rax
	incq	%rax
	movq	8(%rbx), %rcx
	cmpq	%rcx, %rax
	jbe	LBB0_8
## %bb.3:
	leaq	(%rcx,%rcx), %rdx
	testq	%rcx, %rcx
	movl	$64, %ecx
	cmovneq	%rdx, %rcx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rcx, %rdx
	addq	%rcx, %rcx
	cmpq	%rdx, %rax
	ja	LBB0_4
## %bb.5:
	cmpq	%r15, %rdx
	cmovbq	%rdx, %r15
	movq	16(%rbx), %rdi
	movq	%r15, %rsi
	callq	_realloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%rax, 16(%rbx)
	movq	%r15, 8(%rbx)
LBB0_8:
	movl	$1, %r14d
	jmp	LBB0_9
LBB0_7:
	movq	%rbx, %rdi
	callq	_markPQExpBufferBroken
LBB0_9:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INT_MAX,8,3                    ## @INT_MAX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_enlargePQExpBuffer             ; -- Begin function enlargePQExpBuffer
	.p2align	2
_enlargePQExpBuffer:                    ; @enlargePQExpBuffer
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	bl	_PQExpBufferBroken
	cbnz	x0, LBB0_8
; %bb.1:
Lloh0:
	adrp	x8, _INT_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INT_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x19]
	sub	x10, x8, x9
	cmp	x10, x20
	b.ls	LBB0_7
; %bb.2:
	add	x9, x20, x9
	add	x9, x9, #1
	ldr	x10, [x19, #8]
	cmp	x9, x10
	b.ls	LBB0_10
; %bb.3:
	lsl	x11, x10, #1
	mov	w12, #64
	cmp	x10, #0
	csel	x10, x12, x11, eq
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x11, x10
	lsl	x10, x10, #1
	cmp	x9, x11
	b.hi	LBB0_4
; %bb.5:
	cmp	x11, x8
	csel	x20, x11, x8, lo
	ldr	x0, [x19, #16]
	mov	x1, x20
	bl	_realloc
	cbz	x0, LBB0_7
; %bb.6:
	stp	x20, x0, [x19, #8]
	mov	w0, #1
	b	LBB0_9
LBB0_7:
	mov	x0, x19
	bl	_markPQExpBufferBroken
LBB0_8:
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_10:
	mov	w0, #1
	b	LBB0_9
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_INT_MAX,8,3                    ; @INT_MAX
.subsections_via_symbols
