	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_json_value_deep_copy           ## -- Begin function json_value_deep_copy
	.p2align	4, 0x90
_json_value_deep_copy:                  ## @json_value_deep_copy
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_json_value_get_type
                                        ## kill: def $eax killed $eax def $rax
	xorl	%r14d, %r14d
	addl	$-128, %eax
	cmpl	$7, %eax
	ja	LBB0_26
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	movq	%rbx, %rdi
	callq	_json_value_get_string
	testq	%rax, %rax
	je	LBB0_25
## %bb.3:
	movq	%rax, %rdi
	callq	_parson_strdup
	testq	%rax, %rax
	je	LBB0_25
## %bb.4:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_json_value_init_string_no_copy
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_26
## %bb.5:
	movq	%rbx, %rdi
	callq	_parson_free
	jmp	LBB0_25
LBB0_6:
	movq	%rbx, %rdi
	callq	_json_value_get_object
	movq	%rax, %r12
	xorl	%eax, %eax
	callq	_json_value_init_object
	testq	%rax, %rax
	je	LBB0_25
## %bb.7:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_json_value_get_object
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	callq	_json_object_get_count
	testq	%rax, %rax
	je	LBB0_26
## %bb.8:
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_json_object_get_name
	movq	%rax, %r15
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_json_object_get_value
	movq	%rax, %rdi
	callq	_json_value_deep_copy
	testq	%rax, %rax
	je	LBB0_21
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%rax, %rbx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	%rax, %rdx
	callq	_json_object_add
	movq	_JSONFailure@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_22
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	incq	%r13
	movq	%r12, %rdi
	callq	_json_object_get_count
	cmpq	%rax, %r13
	jb	LBB0_9
	jmp	LBB0_26
LBB0_12:
	movq	%rbx, %rdi
	callq	_json_value_get_number
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_json_value_init_number         ## TAILCALL
LBB0_13:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_json_value_init_null           ## TAILCALL
LBB0_14:
	movq	%rbx, %rdi
	callq	_json_value_get_boolean
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_json_value_init_boolean        ## TAILCALL
LBB0_15:
	movq	%rbx, %rdi
	callq	_json_value_get_array
	movq	%rax, %r12
	xorl	%eax, %eax
	callq	_json_value_init_array
	testq	%rax, %rax
	je	LBB0_25
## %bb.16:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_json_value_get_array
	movq	%rax, %r15
	movq	%r12, %rdi
	callq	_json_array_get_count
	testq	%rax, %rax
	je	LBB0_26
## %bb.17:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_json_array_get_value
	movq	%rax, %rdi
	callq	_json_value_deep_copy
	testq	%rax, %rax
	je	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_18 Depth=1
	movq	%rax, %r13
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_json_array_add
	movq	_JSONFailure@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_23
## %bb.20:                              ##   in Loop: Header=BB0_18 Depth=1
	incq	%rbx
	movq	%r12, %rdi
	callq	_json_array_get_count
	cmpq	%rax, %rbx
	jb	LBB0_18
	jmp	LBB0_26
LBB0_21:
	movq	%r14, %rdi
	jmp	LBB0_24
LBB0_22:
	movq	%r14, %rdi
	callq	_json_value_free
	movq	%rbx, %rdi
	jmp	LBB0_24
LBB0_23:
	movq	%r14, %rdi
	callq	_json_value_free
	movq	%r13, %rdi
LBB0_24:
	callq	_json_value_free
LBB0_25:
	xorl	%r14d, %r14d
LBB0_26:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_26, LBB0_26-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_6
	.long	L0_0_set_12
	.long	L0_0_set_13
	.long	L0_0_set_26
	.long	L0_0_set_26
	.long	L0_0_set_14
	.long	L0_0_set_15
	.end_data_region
                                        ## -- End function
	.comm	_JSONFailure,4,2                ## @JSONFailure
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_json_value_deep_copy           ; -- Begin function json_value_deep_copy
	.p2align	2
_json_value_deep_copy:                  ; @json_value_deep_copy
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x0
	bl	_json_value_get_type
	mov	x19, #0
	sub	w8, w0, #128
	cmp	w8, #7
	b.hi	LBB0_25
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	x0, x20
	bl	_json_value_get_string
	cbz	x0, LBB0_24
; %bb.3:
	bl	_parson_strdup
	cbz	x0, LBB0_24
; %bb.4:
	mov	x20, x0
	bl	_json_value_init_string_no_copy
	mov	x19, x0
	cbnz	x0, LBB0_25
; %bb.5:
	mov	x0, x20
	bl	_parson_free
	b	LBB0_25
LBB0_6:
	mov	x0, x20
	bl	_json_value_get_object
	mov	x20, x0
	bl	_json_value_init_object
	mov	x19, x0
	cbz	x0, LBB0_25
; %bb.7:
	mov	x0, x19
	bl	_json_value_get_object
	mov	x21, x0
	mov	x0, x20
	bl	_json_object_get_count
	cbz	x0, LBB0_25
; %bb.8:
	mov	x22, #0
Lloh2:
	adrp	x25, _JSONFailure@GOTPAGE
Lloh3:
	ldr	x25, [x25, _JSONFailure@GOTPAGEOFF]
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x22
	bl	_json_object_get_name
	mov	x24, x0
	mov	x0, x20
	mov	x1, x24
	bl	_json_object_get_value
	bl	_json_value_deep_copy
	cbz	x0, LBB0_21
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x23, x0
	mov	x0, x21
	mov	x1, x24
	mov	x2, x23
	bl	_json_object_add
	ldr	w8, [x25]
	cmp	w0, w8
	b.eq	LBB0_22
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x22, x22, #1
	mov	x0, x20
	bl	_json_object_get_count
	cmp	x22, x0
	b.lo	LBB0_9
	b	LBB0_25
LBB0_12:
	mov	x0, x20
	bl	_json_value_get_number
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_json_value_init_number
LBB0_13:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_json_value_init_null
LBB0_14:
	mov	x0, x20
	bl	_json_value_get_boolean
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_json_value_init_boolean
LBB0_15:
	mov	x0, x20
	bl	_json_value_get_array
	mov	x20, x0
	bl	_json_value_init_array
	mov	x19, x0
	cbz	x0, LBB0_25
; %bb.16:
	mov	x0, x19
	bl	_json_value_get_array
	mov	x21, x0
	mov	x0, x20
	bl	_json_array_get_count
	cbz	x0, LBB0_25
; %bb.17:
	mov	x22, #0
Lloh4:
	adrp	x24, _JSONFailure@GOTPAGE
Lloh5:
	ldr	x24, [x24, _JSONFailure@GOTPAGEOFF]
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x22
	bl	_json_array_get_value
	bl	_json_value_deep_copy
	cbz	x0, LBB0_21
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	mov	x23, x0
	mov	x0, x21
	mov	x1, x23
	bl	_json_array_add
	ldr	w8, [x24]
	cmp	w0, w8
	b.eq	LBB0_22
; %bb.20:                               ;   in Loop: Header=BB0_18 Depth=1
	add	x22, x22, #1
	mov	x0, x20
	bl	_json_array_get_count
	cmp	x22, x0
	b.lo	LBB0_18
	b	LBB0_25
LBB0_21:
	mov	x0, x19
	b	LBB0_23
LBB0_22:
	mov	x0, x19
	bl	_json_value_free
	mov	x0, x23
LBB0_23:
	bl	_json_value_free
LBB0_24:
	mov	x19, #0
LBB0_25:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_25-LBB0_2)>>2
	.byte	(LBB0_25-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
                                        ; -- End function
	.comm	_JSONFailure,4,2                ; @JSONFailure
.subsections_via_symbols
