	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vswprintf_l                    ## -- Begin function vswprintf_l
	.p2align	4, 0x90
_vswprintf_l:                           ## @vswprintf_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r12d
	movq	%rcx, %rbx
	movl	%edx, %r15d
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	_FAKE_FILE@GOTPCREL(%rip), %rax
	movq	32(%rax), %rcx
	movq	%rcx, -64(%rbp)
	movups	(%rax), %xmm0
	movups	16(%rax), %xmm1
	movaps	%xmm1, -80(%rbp)
	movaps	%xmm0, -96(%rbp)
	movl	%edx, %edi
	callq	_FIX_LOCALE
	testq	%r13, %r13
	je	LBB0_3
## %bb.1:
	leaq	-1(%r13), %rax
	movq	_INT_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jbe	LBB0_5
## %bb.2:
	movq	_EOVERFLOW@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	jmp	LBB0_15
LBB0_5:
	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, -96(%rbp)
	movl	$128, %edi
	callq	_malloc
	movq	%rax, -88(%rbp)
	movq	%rax, -72(%rbp)
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:
	movl	$127, -80(%rbp)
	movl	$127, -64(%rbp)
	leaq	-96(%rbp), %rdi
	movl	%r15d, %esi
	movq	%rbx, %rdx
	movl	%r12d, %ecx
	callq	___vfwprintf
	testl	%eax, %eax
	js	LBB0_11
## %bb.7:
	movl	%eax, %ebx
	movq	-88(%rbp), %rax
	movb	$0, (%rax)
	movq	-72(%rbp), %rax
	movq	%rax, -104(%rbp)
	movl	$0, -44(%rbp)
	leaq	-104(%rbp), %rsi
	leaq	-44(%rbp), %rcx
	movq	%r14, %rdi
	movq	%r13, %rdx
	movl	%r15d, %r8d
	callq	_mbsrtowcs_l
	movq	%rax, %r15
	movq	-72(%rbp), %rdi
	callq	_free
	cmpq	$-1, %r15
	je	LBB0_12
## %bb.8:
	cmpq	%r13, %r15
	jne	LBB0_16
## %bb.9:
	movl	$0, -4(%r14,%r13,4)
	movq	_EOVERFLOW@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_10:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_11:
	movq	_errno@GOTPCREL(%rip), %r15
	movl	(%r15), %ebx
	movq	-72(%rbp), %rdi
	callq	_free
	movl	%ebx, (%r15)
	jmp	LBB0_14
LBB0_12:
	movq	_EILSEQ@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_14:
	movl	$0, (%r14)
LBB0_15:
	movl	$-1, %ebx
LBB0_16:
	movl	%ebx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FAKE_FILE,40,3                 ## @FAKE_FILE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_errno,4,2                      ## @errno
	.comm	_INT_MAX,8,3                    ## @INT_MAX
	.comm	_EOVERFLOW,4,2                  ## @EOVERFLOW
	.comm	___SWR,4,2                      ## @__SWR
	.comm	___SSTR,4,2                     ## @__SSTR
	.comm	___SALC,4,2                     ## @__SALC
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_EILSEQ,4,2                     ## @EILSEQ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vswprintf_l                    ; -- Begin function vswprintf_l
	.p2align	2
_vswprintf_l:                           ; @vswprintf_l
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x4
	mov	x23, x3
	mov	x21, x2
	mov	x20, 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, #16]
	ldr	x8, [x8, #32]
	str	x8, [sp, #48]
	mov	x0, x2
	bl	_FIX_LOCALE
	cbz	x20, LBB0_3
; %bb.1:
	sub	x24, x20, #1
Lloh2:
	adrp	x8, _INT_MAX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _INT_MAX@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x24, x8
	b.ls	LBB0_5
; %bb.2:
Lloh5:
	adrp	x8, _EOVERFLOW@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EOVERFLOW@GOTPAGEOFF]
	b	LBB0_13
LBB0_3:
Lloh7:
	adrp	x8, _EINVAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _errno@GOTPAGE
Lloh10:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh11:
	str	w8, [x9]
	b	LBB0_15
LBB0_5:
Lloh12:
	adrp	x8, ___SWR@GOTPAGE
Lloh13:
	ldr	x8, [x8, ___SWR@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, ___SSTR@GOTPAGE
Lloh16:
	ldr	x9, [x9, ___SSTR@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh18:
	adrp	x9, ___SALC@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___SALC@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [sp, #16]
	mov	w0, #128
	bl	_malloc
	str	x0, [sp, #24]
	str	x0, [sp, #40]
	cbz	x0, LBB0_10
; %bb.6:
	mov	w8, #127
	str	w8, [sp, #32]
	str	w8, [sp, #48]
	add	x0, sp, #16
	mov	x1, x21
	mov	x2, x23
	mov	x3, x22
	bl	___vfwprintf
	tbnz	w0, #31, LBB0_11
; %bb.7:
	mov	x22, x0
	ldr	x8, [sp, #24]
	strb	wzr, [x8]
	ldr	x8, [sp, #40]
	str	x8, [sp, #8]
	stur	wzr, [x29, #-52]
	add	x1, sp, #8
	sub	x3, x29, #52
	mov	x0, x19
	mov	x2, x20
	mov	x4, x21
	bl	_mbsrtowcs_l
	mov	x21, x0
	ldr	x0, [sp, #40]
	bl	_free
	cmn	x21, #1
	b.eq	LBB0_12
; %bb.8:
	cmp	x21, x20
	b.ne	LBB0_16
; %bb.9:
	str	wzr, [x19, x24, lsl #2]
Lloh21:
	adrp	x8, _EOVERFLOW@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EOVERFLOW@GOTPAGEOFF]
	b	LBB0_4
LBB0_10:
Lloh23:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_13
LBB0_11:
Lloh25:
	adrp	x20, _errno@GOTPAGE
Lloh26:
	ldr	x20, [x20, _errno@GOTPAGEOFF]
	ldr	w21, [x20]
	ldr	x0, [sp, #40]
	bl	_free
	str	w21, [x20]
	b	LBB0_14
LBB0_12:
Lloh27:
	adrp	x8, _EILSEQ@GOTPAGE
Lloh28:
	ldr	x8, [x8, _EILSEQ@GOTPAGEOFF]
LBB0_13:
	ldr	w8, [x8]
Lloh29:
	adrp	x9, _errno@GOTPAGE
Lloh30:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh31:
	str	w8, [x9]
LBB0_14:
	str	wzr, [x19]
LBB0_15:
	mov	w22, #-1
LBB0_16:
	mov	x0, x22
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotStr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_FAKE_FILE,40,3                 ; @FAKE_FILE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_errno,4,2                      ; @errno
	.comm	_INT_MAX,8,3                    ; @INT_MAX
	.comm	_EOVERFLOW,4,2                  ; @EOVERFLOW
	.comm	___SWR,4,2                      ; @__SWR
	.comm	___SSTR,4,2                     ; @__SSTR
	.comm	___SALC,4,2                     ; @__SALC
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_EILSEQ,4,2                     ; @EILSEQ
.subsections_via_symbols
