	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vm_thread_dispose              ## -- Begin function vm_thread_dispose
	.p2align	4, 0x90
_vm_thread_dispose:                     ## @vm_thread_dispose
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rax
	movl	(%rdi), %edx
	movl	16(%rdi), %edi
	movq	8(%rax), %rsi
	movq	$0, 8(%rax)
	movl	$0, (%rax)
	movq	_kstack_pages@GOTPCREL(%rip), %rax
	cmpl	(%rax), %edx
	jne	LBB0_2
## %bb.1:
	movq	_kstack_cache@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	popq	%rbp
	jmp	_uma_zfree                      ## TAILCALL
LBB0_2:
	popq	%rbp
	jmp	_vm_thread_stack_dispose        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_kstack_pages,4,2               ## @kstack_pages
	.comm	_kstack_cache,4,2               ## @kstack_cache
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vm_thread_dispose              ; -- Begin function vm_thread_dispose
	.p2align	2
_vm_thread_dispose:                     ; @vm_thread_dispose
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	ldr	w2, [x0]
	ldr	w0, [x0, #16]
	ldr	x1, [x8, #8]
	str	xzr, [x8, #8]
	str	wzr, [x8]
Lloh0:
	adrp	x8, _kstack_pages@GOTPAGE
Lloh1:
	ldr	x8, [x8, _kstack_pages@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w2, w8
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _kstack_cache@GOTPAGE
Lloh4:
	ldr	x8, [x8, _kstack_cache@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	b	_uma_zfree
LBB0_2:
	b	_vm_thread_stack_dispose
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_kstack_pages,4,2               ; @kstack_pages
	.comm	_kstack_cache,4,2               ; @kstack_cache
.subsections_via_symbols
