	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fbsd_thread_deactivate
_fbsd_thread_deactivate:                ## @fbsd_thread_deactivate
	.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	_fbsd_thread_core@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_disable_thread_event_reporting
LBB0_2:
	movq	_thread_agent@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_td_ta_delete_p
	movq	_proc_handle@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	callq	_pid_to_ptid
	movq	_inferior_ptid@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	$0, (%rbx)
	movq	_fbsd_thread_active@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_fbsd_thread_present@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_init_thread_list               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_fbsd_thread_core,8,3           ## @fbsd_thread_core
	.comm	_thread_agent,4,2               ## @thread_agent
	.comm	_proc_handle,8,3                ## @proc_handle
	.comm	_inferior_ptid,4,2              ## @inferior_ptid
	.comm	_fbsd_thread_active,8,3         ## @fbsd_thread_active
	.comm	_fbsd_thread_present,8,3        ## @fbsd_thread_present
	.no_dead_strip	_fbsd_thread_deactivate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fbsd_thread_deactivate
_fbsd_thread_deactivate:                ; @fbsd_thread_deactivate
	.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
Lloh0:
	adrp	x8, _fbsd_thread_core@GOTPAGE
Lloh1:
	ldr	x8, [x8, _fbsd_thread_core@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbnz	x8, LBB0_2
; %bb.1:
	bl	_disable_thread_event_reporting
LBB0_2:
Lloh3:
	adrp	x8, _thread_agent@GOTPAGE
Lloh4:
	ldr	x8, [x8, _thread_agent@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_td_ta_delete_p
Lloh6:
	adrp	x19, _proc_handle@GOTPAGE
Lloh7:
	ldr	x19, [x19, _proc_handle@GOTPAGEOFF]
	ldr	x0, [x19]
	bl	_pid_to_ptid
Lloh8:
	adrp	x8, _inferior_ptid@GOTPAGE
Lloh9:
	ldr	x8, [x8, _inferior_ptid@GOTPAGEOFF]
Lloh10:
	str	w0, [x8]
	str	xzr, [x19]
Lloh11:
	adrp	x8, _fbsd_thread_active@GOTPAGE
Lloh12:
	ldr	x8, [x8, _fbsd_thread_active@GOTPAGEOFF]
Lloh13:
	str	xzr, [x8]
Lloh14:
	adrp	x8, _fbsd_thread_present@GOTPAGE
Lloh15:
	ldr	x8, [x8, _fbsd_thread_present@GOTPAGEOFF]
Lloh16:
	str	xzr, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_init_thread_list
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_fbsd_thread_core,8,3           ; @fbsd_thread_core
	.comm	_thread_agent,4,2               ; @thread_agent
	.comm	_proc_handle,8,3                ; @proc_handle
	.comm	_inferior_ptid,4,2              ; @inferior_ptid
	.comm	_fbsd_thread_active,8,3         ; @fbsd_thread_active
	.comm	_fbsd_thread_present,8,3        ; @fbsd_thread_present
	.no_dead_strip	_fbsd_thread_deactivate
.subsections_via_symbols
