	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pg_vsnprintf                   ## -- Begin function pg_vsnprintf
	.p2align	4, 0x90
_pg_vsnprintf:                          ## @pg_vsnprintf
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$48, %rsp
	testq	%rsi, %rsi
	movl	$1, %eax
	cmovneq	%rsi, %rax
	leaq	-1(%rbp), %rsi
	cmovneq	%rdi, %rsi
	movq	%rsi, -40(%rbp)
	movq	%rsi, -48(%rbp)
	addq	%rsi, %rax
	decq	%rax
	movq	%rax, -32(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -24(%rbp)
	leaq	-48(%rbp), %rdi
	movq	%rdx, %rsi
	movl	%ecx, %edx
	callq	_dopr
	movq	-40(%rbp), %rax
	movb	$0, (%rax)
	movl	$-1, %eax
	cmpl	$0, -20(%rbp)
	jne	LBB0_2
## %bb.1:
	movl	-40(%rbp), %eax
	subl	-48(%rbp), %eax
	addl	-24(%rbp), %eax
LBB0_2:
	addq	$48, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pg_vsnprintf                   ; -- Begin function pg_vsnprintf
	.p2align	2
_pg_vsnprintf:                          ; @pg_vsnprintf
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	add	x8, sp, #7
	cmp	x1, #0
	csel	x8, x8, x0, eq
	csinc	x9, x1, xzr, ne
	stp	x8, x8, [sp, #8]
	add	x8, x8, x9
	stp	xzr, xzr, [sp, #32]
	sub	x8, x8, #1
	str	x8, [sp, #24]
	add	x0, sp, #8
	mov	x1, x2
	mov	x2, x3
	bl	_dopr
	ldr	x8, [sp, #16]
	strb	wzr, [x8]
	ldr	w8, [sp, #36]
	cbz	w8, LBB0_2
; %bb.1:
	mov	w0, #-1
	b	LBB0_3
LBB0_2:
	ldr	w8, [sp, #16]
	ldr	w9, [sp, #8]
	ldr	w10, [sp, #32]
	sub	w8, w8, w9
	add	w0, w10, w8
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
