	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_libintl_vsprintf               ## -- Begin function libintl_vsprintf
	.p2align	4, 0x90
_libintl_vsprintf:                      ## @libintl_vsprintf
	.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
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	%rsi, %rdi
	movl	$36, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movabsq	$4611686018427387903, %rax      ## imm = 0x3FFFFFFFFFFFFFFF
	movq	%rax, -32(%rbp)
	leaq	-32(%rbp), %rsi
	movq	%r15, %rdi
	movq	%rbx, %rdx
	movl	%r14d, %ecx
	callq	_libintl_vasnprintf
	cmpq	%r15, %rax
	je	LBB0_3
## %bb.2:
	movq	%rax, %rdi
	callq	_free
	jmp	LBB0_5
LBB0_7:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_vsprintf                       ## TAILCALL
LBB0_3:
	movq	-32(%rbp), %rax
	movq	_INT_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jbe	LBB0_6
## %bb.4:
	movq	_EOVERFLOW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_5:
	movl	$-1, %eax
LBB0_6:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INT_MAX,8,3                    ## @INT_MAX
	.comm	_EOVERFLOW,4,2                  ## @EOVERFLOW
	.comm	_errno,4,2                      ## @errno
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_libintl_vsprintf               ; -- Begin function libintl_vsprintf
	.p2align	2
_libintl_vsprintf:                      ; @libintl_vsprintf
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	mov	x0, x1
	mov	w1, #36
	bl	_strchr
	cbz	x0, LBB0_3
; %bb.1:
	mov	x8, #4611686018427387903
	str	x8, [sp, #8]
	add	x1, sp, #8
	mov	x0, x19
	mov	x2, x21
	mov	x3, x20
	bl	_libintl_vasnprintf
	cmp	x0, x19
	b.eq	LBB0_4
; %bb.2:
	bl	_free
	b	LBB0_6
LBB0_3:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	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
	b	_vsprintf
LBB0_4:
	ldr	x0, [sp, #8]
Lloh0:
	adrp	x8, _INT_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INT_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ls	LBB0_7
; %bb.5:
Lloh3:
	adrp	x8, _EOVERFLOW@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EOVERFLOW@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _errno@GOTPAGE
Lloh7:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh8:
	str	w8, [x9]
LBB0_6:
	mov	w0, #-1
LBB0_7:
                                        ; kill: def $w0 killed $w0 killed $x0
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_INT_MAX,8,3                    ; @INT_MAX
	.comm	_EOVERFLOW,4,2                  ; @EOVERFLOW
	.comm	_errno,4,2                      ; @errno
.subsections_via_symbols
