	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vsnprintf                      ## -- Begin function vsnprintf
	.p2align	4, 0x90
_vsnprintf:                             ## @vsnprintf
	.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
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	$0, -32(%rbp)
	leaq	-32(%rbp), %rdi
	movq	%rdx, %rsi
	movl	%ecx, %edx
	callq	_vasprintf
	movq	-32(%rbp), %rdi
	movl	$-1, %ebx
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.1:
	testl	%eax, %eax
	js	LBB0_7
## %bb.2:
	callq	_strlen
	movl	%eax, %ebx
	testq	%r15, %r15
	je	LBB0_6
## %bb.3:
	movslq	%ebx, %rax
	movq	-32(%rbp), %rsi
	cmpq	%r15, %rax
	jge	LBB0_5
## %bb.4:
	leal	1(%rbx), %eax
	movslq	%eax, %rdx
	movq	%r14, %rdi
	callq	_memcpy
	jmp	LBB0_6
LBB0_5:
	leaq	-1(%r15), %rdx
	movq	%r14, %rdi
	callq	_memcpy
	movb	$0, -1(%r14,%r15)
LBB0_6:
	movq	-32(%rbp), %rdi
LBB0_7:
	callq	_free
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	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	_vsnprintf                      ; -- Begin function vsnprintf
	.p2align	2
_vsnprintf:                             ; @vsnprintf
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x1
	mov	x20, x0
	str	xzr, [sp, #8]
	add	x0, sp, #8
	mov	x1, x2
	mov	x2, x3
	bl	_vasprintf
	mov	x8, x0
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_5
; %bb.1:
	tbnz	w8, #31, LBB0_6
; %bb.2:
	bl	_strlen
	mov	x19, x0
	cbz	x21, LBB0_8
; %bb.3:
	sxtw	x8, w19
	ldr	x1, [sp, #8]
	cmp	x8, x21
	b.ge	LBB0_7
; %bb.4:
	add	w8, w19, #1
	sxtw	x2, w8
	mov	x0, x20
	bl	_memcpy
	b	LBB0_8
LBB0_5:
	mov	w19, #-1
	b	LBB0_9
LBB0_6:
	bl	_free
	mov	w19, #-1
	b	LBB0_9
LBB0_7:
	sub	x21, x21, #1
	mov	x0, x20
	mov	x2, x21
	bl	_memcpy
	strb	wzr, [x20, x21]
LBB0_8:
	ldr	x0, [sp, #8]
	bl	_free
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
