	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function appendPQExpBufferVA
_appendPQExpBufferVA:                   ## @appendPQExpBufferVA
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ecx
	movq	%rsi, %rdx
	movq	%rdi, %r15
	movq	(%rdi), %rbx
	movq	8(%rdi), %rdi
	leaq	16(%rdi), %rax
	movl	$32, %esi
	cmpq	%rax, %rbx
	jle	LBB0_7
## %bb.1:
	subq	%rdi, %rbx
	addq	16(%r15), %rdi
	movq	%rbx, %rsi
	callq	_vsnprintf
	movl	%eax, %r14d
	movl	%eax, %edi
	shrl	$31, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_3
LBB0_2:
	movq	%r15, %rdi
	callq	_markPQExpBufferBroken
	movl	$1, %eax
	jmp	LBB0_8
LBB0_3:
	movslq	%r14d, %rax
	cmpq	%rax, %rbx
	jbe	LBB0_5
## %bb.4:
	addq	%rax, 8(%r15)
	movl	$1, %eax
	jmp	LBB0_8
LBB0_5:
	movq	_INT_MAX@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	(%rax), %r14d
	setge	%dil
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_2
## %bb.6:
	incl	%r14d
	movslq	%r14d, %rsi
LBB0_7:
	movq	%r15, %rdi
	callq	_enlargePQExpBuffer
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	sete	%al
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INT_MAX,4,2                    ## @INT_MAX
	.no_dead_strip	_appendPQExpBufferVA
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function appendPQExpBufferVA
_appendPQExpBufferVA:                   ; @appendPQExpBufferVA
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	ldp	x9, x8, [x0]
	add	x10, x8, #16
	cmp	x9, x10
	b.le	LBB0_3
; %bb.1:
	mov	x3, x2
	mov	x2, x1
	sub	x21, x9, x8
	ldr	x9, [x19, #16]
	add	x0, x9, x8
	mov	x1, x21
	bl	_vsnprintf
	mov	x20, x0
	lsr	w0, w0, #31
	bl	_unlikely
	cbz	x0, LBB0_6
LBB0_2:
	mov	x0, x19
	bl	_markPQExpBufferBroken
	mov	w0, #1
	b	LBB0_5
LBB0_3:
	mov	w1, #32
LBB0_4:
	mov	x0, x19
	bl	_enlargePQExpBuffer
	cmp	w0, #0
	cset	w0, eq
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_6:
	sxtw	x8, w20
	cmp	x21, x8
	b.ls	LBB0_8
; %bb.7:
	ldr	x9, [x19, #8]
	add	x8, x9, x8
	str	x8, [x19, #8]
	mov	w0, #1
	b	LBB0_5
LBB0_8:
Lloh0:
	adrp	x8, _INT_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INT_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w20, w8
	cset	w0, ge
	bl	_unlikely
	cbnz	x0, LBB0_2
; %bb.9:
	add	w8, w20, #1
	sxtw	x1, w8
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_INT_MAX,4,2                    ; @INT_MAX
	.no_dead_strip	_appendPQExpBufferVA
.subsections_via_symbols
