	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vasprintf_l                    ## -- Begin function vasprintf_l
	.p2align	4, 0x90
_vasprintf_l:                           ## @vasprintf_l
	.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	%r12
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movq	%rdx, %r12
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	_FAKE_FILE@GOTPCREL(%rip), %rax
	movq	32(%rax), %rcx
	movq	%rcx, -48(%rbp)
	movups	(%rax), %xmm0
	movups	16(%rax), %xmm1
	movaps	%xmm1, -64(%rbp)
	movaps	%xmm0, -80(%rbp)
	movl	%esi, %edi
	callq	_FIX_LOCALE
	movq	___SWR@GOTPCREL(%rip), %rax
	movq	___SSTR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	___SALC@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, -80(%rbp)
	movl	$128, %edi
	callq	_malloc
	movq	%rax, -72(%rbp)
	movq	%rax, -56(%rbp)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	$127, -64(%rbp)
	movl	$127, -48(%rbp)
	leaq	-80(%rbp), %rdi
	movl	%ebx, %esi
	movq	%r12, %rdx
	movl	%r15d, %ecx
	callq	___vfprintf
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	movq	-72(%rbp), %rcx
	movb	$0, (%rcx)
	movq	-56(%rbp), %rcx
	movq	%rcx, (%r14)
	jmp	LBB0_5
LBB0_3:
	movq	-56(%rbp), %rdi
	callq	_free
LBB0_1:
	movq	$0, (%r14)
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	$-1, %eax
LBB0_5:
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FAKE_FILE,40,3                 ## @FAKE_FILE
	.comm	___SWR,4,2                      ## @__SWR
	.comm	___SSTR,4,2                     ## @__SSTR
	.comm	___SALC,4,2                     ## @__SALC
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_errno,4,2                      ## @errno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vasprintf_l                    ; -- Begin function vasprintf_l
	.p2align	2
_vasprintf_l:                           ; @vasprintf_l
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _FAKE_FILE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FAKE_FILE@GOTPAGEOFF]
	ldp	q0, q1, [x8]
	stp	q0, q1, [sp]
	ldr	x8, [x8, #32]
	str	x8, [sp, #32]
	mov	x0, x1
	bl	_FIX_LOCALE
Lloh2:
	adrp	x8, ___SWR@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___SWR@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, ___SSTR@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___SSTR@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh8:
	adrp	x9, ___SALC@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___SALC@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [sp]
	mov	w0, #128
	bl	_malloc
	str	x0, [sp, #8]
	str	x0, [sp, #24]
	cbz	x0, LBB0_4
; %bb.1:
	mov	w8, #127
	str	w8, [sp, #16]
	str	w8, [sp, #32]
	mov	x0, sp
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	bl	___vfprintf
	tbnz	w0, #31, LBB0_3
; %bb.2:
	ldr	x8, [sp, #8]
	strb	wzr, [x8]
	ldr	x8, [sp, #24]
	str	x8, [x19]
	b	LBB0_5
LBB0_3:
	ldr	x0, [sp, #24]
	bl	_free
LBB0_4:
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	str	xzr, [x19]
Lloh13:
	ldr	w8, [x8]
Lloh14:
	adrp	x9, _errno@GOTPAGE
Lloh15:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh16:
	str	w8, [x9]
	mov	w0, #-1
LBB0_5:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_FAKE_FILE,40,3                 ; @FAKE_FILE
	.comm	___SWR,4,2                      ; @__SWR
	.comm	___SSTR,4,2                     ; @__SSTR
	.comm	___SALC,4,2                     ; @__SALC
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_errno,4,2                      ; @errno
.subsections_via_symbols
