	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_JsonRpcNewError                ## -- Begin function JsonRpcNewError
	.p2align	4, 0x90
_JsonRpcNewError:                       ## @JsonRpcNewError
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %r12d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAX_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	movq	%r14, %rdi
	callq	_UniIsEmptyStr
	leal	(,%rbx,4), %esi
	testq	%rax, %rax
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_2
## %bb.1:
	leaq	l_.str(%rip), %rdx
	movq	%r15, %rdi
	movl	%r12d, %r15d
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_UniFormat
	jmp	LBB0_3
LBB0_2:
	leaq	l_.str.1(%rip), %rdx
	movq	%r15, %rdi
	movl	%r12d, %r15d
	movl	%r12d, %ecx
	movq	%r14, %r8
	xorl	%eax, %eax
	callq	_UniFormat
LBB0_3:
	xorl	%eax, %eax
	callq	_JsonNewObject
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_JsonValueGetObject
	movq	%rax, %r13
	xorl	%eax, %eax
	callq	_JsonNewObject
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_JsonValueGetObject
	movq	%rax, %r14
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdi
	movq	%rbx, %rdx
	callq	_JsonSet
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_JsonSetNumber
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_JsonSetUniStr
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	movq	%r12, %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_PATH,4,2                   ## @MAX_PATH
	.section	__TEXT,__const
	.p2align	2                               ## @.str
l_.str:
	.long	69                              ## 0x45
	.long	114                             ## 0x72
	.long	114                             ## 0x72
	.long	111                             ## 0x6f
	.long	114                             ## 0x72
	.long	32                              ## 0x20
	.long	99                              ## 0x63
	.long	111                             ## 0x6f
	.long	100                             ## 0x64
	.long	101                             ## 0x65
	.long	32                              ## 0x20
	.long	37                              ## 0x25
	.long	117                             ## 0x75
	.long	0                               ## 0x0

	.p2align	2                               ## @.str.1
l_.str.1:
	.long	69                              ## 0x45
	.long	114                             ## 0x72
	.long	114                             ## 0x72
	.long	111                             ## 0x6f
	.long	114                             ## 0x72
	.long	32                              ## 0x20
	.long	99                              ## 0x63
	.long	111                             ## 0x6f
	.long	100                             ## 0x64
	.long	101                             ## 0x65
	.long	32                              ## 0x20
	.long	37                              ## 0x25
	.long	117                             ## 0x75
	.long	58                              ## 0x3a
	.long	32                              ## 0x20
	.long	37                              ## 0x25
	.long	115                             ## 0x73
	.long	0                               ## 0x0

	.section	__TEXT,__cstring,cstring_literals
L_.str.2:                               ## @.str.2
	.asciz	"error"

L_.str.3:                               ## @.str.3
	.asciz	"code"

L_.str.4:                               ## @.str.4
	.asciz	"message"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_JsonRpcNewError                ; -- Begin function JsonRpcNewError
	.p2align	2
_JsonRpcNewError:                       ; @JsonRpcNewError
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	sub	sp, sp, #16
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _MAX_PATH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_PATH@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	lsl	x8, x22, #2
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x20, x9, x8
	mov	sp, x20
	mov	x0, x1
	bl	_UniIsEmptyStr
	lsl	w1, w22, #2
	cbz	x0, LBB0_2
; %bb.1:
Lloh8:
	adrp	x2, l_.str@PAGE
Lloh9:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	x3, x19
	bl	_UniFormat
	b	LBB0_3
LBB0_2:
	str	x21, [sp, #-16]!
Lloh10:
	adrp	x2, l_.str.1@PAGE
Lloh11:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x3, x19
	bl	_UniFormat
	add	sp, sp, #16
LBB0_3:
	bl	_JsonNewObject
	mov	x21, x0
	bl	_JsonValueGetObject
	mov	x22, x0
	bl	_JsonNewObject
	mov	x23, x0
	bl	_JsonValueGetObject
	mov	x24, x0
Lloh12:
	adrp	x1, l_.str.2@PAGE
Lloh13:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x22
	mov	x2, x23
	bl	_JsonSet
Lloh14:
	adrp	x1, l_.str.3@PAGE
Lloh15:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x24
	mov	x2, x19
	bl	_JsonSetNumber
Lloh16:
	adrp	x1, l_.str.4@PAGE
Lloh17:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x24
	mov	x2, x20
	bl	_JsonSetUniStr
	ldur	x8, [x29, #-56]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	mov	x0, x21
	sub	sp, x29, #48
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_PATH,4,2                   ; @MAX_PATH
	.section	__TEXT,__const
	.p2align	2                               ; @.str
l_.str:
	.long	69                              ; 0x45
	.long	114                             ; 0x72
	.long	114                             ; 0x72
	.long	111                             ; 0x6f
	.long	114                             ; 0x72
	.long	32                              ; 0x20
	.long	99                              ; 0x63
	.long	111                             ; 0x6f
	.long	100                             ; 0x64
	.long	101                             ; 0x65
	.long	32                              ; 0x20
	.long	37                              ; 0x25
	.long	117                             ; 0x75
	.long	0                               ; 0x0

	.p2align	2                               ; @.str.1
l_.str.1:
	.long	69                              ; 0x45
	.long	114                             ; 0x72
	.long	114                             ; 0x72
	.long	111                             ; 0x6f
	.long	114                             ; 0x72
	.long	32                              ; 0x20
	.long	99                              ; 0x63
	.long	111                             ; 0x6f
	.long	100                             ; 0x64
	.long	101                             ; 0x65
	.long	32                              ; 0x20
	.long	37                              ; 0x25
	.long	117                             ; 0x75
	.long	58                              ; 0x3a
	.long	32                              ; 0x20
	.long	37                              ; 0x25
	.long	115                             ; 0x73
	.long	0                               ; 0x0

	.section	__TEXT,__cstring,cstring_literals
l_.str.2:                               ; @.str.2
	.asciz	"error"

l_.str.3:                               ; @.str.3
	.asciz	"code"

l_.str.4:                               ; @.str.4
	.asciz	"message"

.subsections_via_symbols
