	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_prof_free_sampled_object       ## -- Begin function prof_free_sampled_object
	.p2align	4, 0x90
_prof_free_sampled_object:              ## @prof_free_sampled_object
	.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
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r14
	callq	_tsd_tsdn
	movq	(%rbx), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_malloc_mutex_lock
	xorl	%edi, %edi
	cmpq	$0, 8(%rbx)
	setg	%dil
	callq	_assert
	xorl	%edi, %edi
	cmpq	%r15, 16(%rbx)
	setae	%dil
	callq	_assert
	decq	8(%rbx)
	subq	%r15, 16(%rbx)
	movq	%r14, %rdi
	callq	_tsd_tsdn
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_prof_tctx_should_destroy
	movq	%r14, %rdi
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_prof_tctx_destroy              ## TAILCALL
LBB0_2:
	callq	_tsd_tsdn
	movq	(%rbx), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_malloc_mutex_unlock            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_prof_free_sampled_object       ; -- Begin function prof_free_sampled_object
	.p2align	2
_prof_free_sampled_object:              ; @prof_free_sampled_object
	.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	x19, x2
	mov	x21, x1
	mov	x20, x0
	bl	_tsd_tsdn
	ldr	x8, [x19]
	ldr	w1, [x8]
	bl	_malloc_mutex_lock
	ldr	x8, [x19, #8]
	cmp	x8, #0
	cset	w0, gt
	bl	_assert
	ldr	x8, [x19, #16]
	cmp	x8, x21
	cset	w0, hs
	bl	_assert
	ldp	x8, x9, [x19, #8]
	sub	x8, x8, #1
	sub	x9, x9, x21
	stp	x8, x9, [x19, #8]
	mov	x0, x20
	bl	_tsd_tsdn
	mov	x1, x19
	bl	_prof_tctx_should_destroy
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x1, x19
	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	_prof_tctx_destroy
LBB0_2:
	mov	x0, x20
	bl	_tsd_tsdn
	ldr	x8, [x19]
	ldr	w1, [x8]
	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	_malloc_mutex_unlock
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
