	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___lwp_thread_exit              ## -- Begin function __lwp_thread_exit
	.p2align	4, 0x90
___lwp_thread_exit:                     ## @__lwp_thread_exit
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	xorl	%eax, %eax
	callq	___lwp_thread_dispatchdisable
	movq	__thr_executing@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rbx, (%rcx)
	movq	(%rax), %rdi
	callq	___lwp_thread_close
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	___lwp_thread_dispatchenable    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	__thr_executing,8,3             ## @_thr_executing
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___lwp_thread_exit              ; -- Begin function __lwp_thread_exit
	.p2align	2
___lwp_thread_exit:                     ; @__lwp_thread_exit
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	___lwp_thread_dispatchdisable
Lloh0:
	adrp	x8, __thr_executing@GOTPAGE
Lloh1:
	ldr	x8, [x8, __thr_executing@GOTPAGEOFF]
	ldr	x9, [x8]
	str	x19, [x9]
	ldr	x0, [x8]
	bl	___lwp_thread_close
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	___lwp_thread_dispatchenable
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	__thr_executing,8,3             ; @_thr_executing
.subsections_via_symbols
