	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_openvpn_vsntprintf             ## -- Begin function openvpn_vsntprintf
	.p2align	4, 0x90
_openvpn_vsntprintf:                    ## @openvpn_vsntprintf
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movq	%rdi, %r14
	movq	%rbx, %rsi
	callq	__vsntprintf
	movq	$0, -8(%r14,%rbx,8)
	jmp	LBB0_3
LBB0_1:
	movl	$-1, %eax
LBB0_3:
	testl	%eax, %eax
	setns	%cl
	cltq
	cmpq	%rbx, %rax
	setb	%al
	andb	%cl, %al
	movzbl	%al, %eax
	popq	%rbx
	popq	%r14
	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	_openvpn_vsntprintf             ; -- Begin function openvpn_vsntprintf
	.p2align	2
_openvpn_vsntprintf:                    ; @openvpn_vsntprintf
	.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	x19, x1
	cbz	x1, LBB0_2
; %bb.1:
	mov	x20, x0
	mov	x1, x19
	bl	__vsntprintf
                                        ; kill: def $w0 killed $w0 def $x0
	add	x8, x20, x19, lsl #3
	stur	xzr, [x8, #-8]
	b	LBB0_3
LBB0_2:
	mov	w0, #-1
LBB0_3:
	cmp	w0, #0
	sxtw	x8, w0
	ccmp	x8, x19, #2, ge
	cset	w0, lo
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
