	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_json_object_remove             ## -- Begin function json_object_remove
	.p2align	4, 0x90
_json_object_remove:                    ## @json_object_remove
	.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	_JSONFailure@GOTPCREL(%rip), %r12
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.1:
	movq	%rsi, %r15
	movq	%rdi, %r13
	callq	_json_object_get_value
	testq	%rax, %rax
	je	LBB0_9
## %bb.2:
	movq	%r13, %rdi
	callq	_json_object_get_count
	movq	%rax, %r14
	movq	%r13, %rdi
	callq	_json_object_get_count
	testq	%rax, %rax
	je	LBB0_9
## %bb.3:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	decq	%r14
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r13), %rax
	movl	(%rax,%rbx,4), %edi
	movq	%r15, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rbx
	movq	%r13, %rdi
	callq	_json_object_get_count
	cmpq	%rax, %rbx
	jb	LBB0_4
	jmp	LBB0_9
LBB0_5:
	movq	16(%r13), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_parson_free
	movq	8(%r13), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_json_value_free
	cmpq	%rbx, %r14
	je	LBB0_7
## %bb.6:
	movq	16(%r13), %rax
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	-4(%rax,%rdx,4), %ecx
	movl	%ecx, (%rax,%rbx,4)
	movq	8(%r13), %rax
	movl	-4(%rax,%rdx,4), %ecx
	movl	%ecx, (%rax,%rbx,4)
LBB0_7:
	decl	(%r13)
	movq	_JSONSuccess@GOTPCREL(%rip), %r12
LBB0_9:
	movl	(%r12), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_JSONFailure,4,2                ## @JSONFailure
	.comm	_JSONSuccess,4,2                ## @JSONSuccess
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_json_object_remove             ; -- Begin function json_object_remove
	.p2align	2
_json_object_remove:                    ; @json_object_remove
	.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
	cbz	x0, LBB0_6
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	bl	_json_object_get_value
	cbz	x0, LBB0_6
; %bb.2:
	mov	x0, x19
	bl	_json_object_get_count
	mov	x21, x0
	mov	x0, x19
	bl	_json_object_get_count
	cbz	x0, LBB0_6
; %bb.3:
	mov	x23, #0
	sub	x21, x21, #1
Lloh0:
	adrp	x22, _JSONFailure@GOTPAGE
Lloh1:
	ldr	x22, [x22, _JSONFailure@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	ldr	w0, [x8, x23, lsl #2]
	mov	x1, x20
	bl	_strcmp
	cbz	x0, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x23, x23, #1
	mov	x0, x19
	bl	_json_object_get_count
	cmp	x23, x0
	b.lo	LBB0_4
	b	LBB0_7
LBB0_6:
Lloh2:
	adrp	x22, _JSONFailure@GOTPAGE
Lloh3:
	ldr	x22, [x22, _JSONFailure@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x22]
	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_8:
	ldr	x8, [x19, #16]
	lsl	x20, x23, #2
	ldr	w0, [x8, x20]
	bl	_parson_free
	ldr	x8, [x19, #8]
	ldr	w0, [x8, x20]
	bl	_json_value_free
	cmp	x21, x23
	b.eq	LBB0_10
; %bb.9:
	lsl	x8, x21, #2
	ldp	x10, x9, [x19, #8]
	ldr	w11, [x9, x8]
	str	w11, [x9, x20]
	ldr	w8, [x10, x8]
	str	w8, [x10, x20]
LBB0_10:
	ldr	w8, [x19]
	sub	w8, w8, #1
	str	w8, [x19]
Lloh4:
	adrp	x22, _JSONSuccess@GOTPAGE
Lloh5:
	ldr	x22, [x22, _JSONSuccess@GOTPAGEOFF]
	b	LBB0_7
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_JSONFailure,4,2                ; @JSONFailure
	.comm	_JSONSuccess,4,2                ; @JSONSuccess
.subsections_via_symbols
