	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function jvp_object_free
_jvp_object_free:                       ## @jvp_object_free
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	movq	_JV_KIND_OBJECT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_JVP_HAS_KIND
	movl	%eax, %edi
	callq	_assert
	movl	%r14d, %edi
	callq	_jvp_refcnt_dec
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movl	%r14d, %edi
	callq	_jvp_object_size
	testl	%eax, %eax
	jle	LBB0_6
## %bb.2:
	xorl	%ebx, %ebx
	movq	_JV_KIND_NULL@GOTPCREL(%rip), %r12
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	%ebx
	movl	%r14d, %edi
	callq	_jvp_object_size
	cmpl	%eax, %ebx
	jge	LBB0_6
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r14d, %edi
	movl	%ebx, %esi
	callq	_jvp_object_get_slot
	movq	%rax, %r15
	movl	4(%rax), %edi
	callq	_jv_get_kind
	cmpq	(%r12), %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	4(%r15), %edi
	callq	_jvp_string_free
	movl	(%r15), %edi
	callq	_jv_free
	jmp	LBB0_5
LBB0_6:
	movl	%r14d, %edi
	callq	_jvp_object_ptr
	movl	%eax, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_jv_mem_free                    ## TAILCALL
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_JV_KIND_OBJECT,4,2             ## @JV_KIND_OBJECT
	.comm	_JV_KIND_NULL,8,3               ## @JV_KIND_NULL
	.no_dead_strip	_jvp_object_free
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function jvp_object_free
_jvp_object_free:                       ; @jvp_object_free
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x0
Lloh0:
	adrp	x8, _JV_KIND_OBJECT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _JV_KIND_OBJECT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	and	x19, x0, #0xffffffff
	mov	x0, x19
	bl	_JVP_HAS_KIND
	bl	_assert
	mov	x0, x20
	bl	_jvp_refcnt_dec
	cbz	x0, LBB0_7
; %bb.1:
	mov	x0, x19
	bl	_jvp_object_size
	cmp	w0, #1
	b.lt	LBB0_6
; %bb.2:
	mov	w20, #0
Lloh3:
	adrp	x22, _JV_KIND_NULL@GOTPAGE
Lloh4:
	ldr	x22, [x22, _JV_KIND_NULL@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w20, w20, #1
	mov	x0, x19
	bl	_jvp_object_size
	cmp	w20, w0
	b.ge	LBB0_6
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x20
	bl	_jvp_object_get_slot
	mov	x21, x0
	ldr	w0, [x0, #4]
	bl	_jv_get_kind
	ldr	x8, [x22]
	cmp	x0, x8
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x21, #4]
	bl	_jvp_string_free
	ldr	w0, [x21]
	bl	_jv_free
	b	LBB0_3
LBB0_6:
	mov	x0, x19
	bl	_jvp_object_ptr
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_jv_mem_free
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_JV_KIND_OBJECT,4,2             ; @JV_KIND_OBJECT
	.comm	_JV_KIND_NULL,8,3               ; @JV_KIND_NULL
	.no_dead_strip	_jvp_object_free
.subsections_via_symbols
