	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_filestream_vprintf             ## -- Begin function filestream_vprintf
	.p2align	4, 0x90
_filestream_vprintf:                    ## @filestream_vprintf
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	leaq	_filestream_vprintf.buffer(%rip), %rdi
	callq	_vsprintf
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	je	LBB0_3
## %bb.4:
	leaq	_filestream_vprintf.buffer(%rip), %rsi
	movq	%rbx, %rdi
	movq	%rax, %rdx
	callq	_filestream_write
	jmp	LBB0_5
LBB0_1:
	movl	$-1, %eax
	jmp	LBB0_5
LBB0_3:
	xorl	%eax, %eax
LBB0_5:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_filestream_vprintf.buffer,8192,4 ## @filestream_vprintf.buffer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_filestream_vprintf             ; -- Begin function filestream_vprintf
	.p2align	2
_filestream_vprintf:                    ; @filestream_vprintf
	.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, x0
Lloh0:
	adrp	x0, _filestream_vprintf.buffer@PAGE
Lloh1:
	add	x0, x0, _filestream_vprintf.buffer@PAGEOFF
	bl	_vsprintf
	tbnz	x0, #63, LBB0_3
; %bb.1:
	mov	x2, x0
	cbz	x0, LBB0_4
; %bb.2:
Lloh2:
	adrp	x1, _filestream_vprintf.buffer@PAGE
Lloh3:
	add	x1, x1, _filestream_vprintf.buffer@PAGEOFF
	mov	x0, x19
	bl	_filestream_write
	b	LBB0_5
LBB0_3:
	mov	w0, #-1
	b	LBB0_5
LBB0_4:
	mov	w0, #0
LBB0_5:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_filestream_vprintf.buffer,8192,0 ; @filestream_vprintf.buffer
.subsections_via_symbols
