	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fbsd_thread_post_attach
_fbsd_thread_post_attach:               ## @fbsd_thread_post_attach
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_child_ops@GOTPCREL(%rip), %rax
	callq	*(%rax)
	movq	_fbsd_thread_present@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_fbsd_thread_active@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_2
## %bb.3:
	movq	_inferior_ptid@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GET_PID
	movq	_proc_handle@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	popq	%rbp
	jmp	_fbsd_thread_activate           ## TAILCALL
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_child_ops,8,3                  ## @child_ops
	.comm	_fbsd_thread_present,8,3        ## @fbsd_thread_present
	.comm	_fbsd_thread_active,4,2         ## @fbsd_thread_active
	.comm	_inferior_ptid,4,2              ## @inferior_ptid
	.comm	_proc_handle,4,2                ## @proc_handle
	.no_dead_strip	_fbsd_thread_post_attach
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fbsd_thread_post_attach
_fbsd_thread_post_attach:               ; @fbsd_thread_post_attach
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _child_ops@GOTPAGE
Lloh1:
	ldr	x8, [x8, _child_ops@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	blr	x8
Lloh3:
	adrp	x8, _fbsd_thread_present@GOTPAGE
Lloh4:
	ldr	x8, [x8, _fbsd_thread_present@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _fbsd_thread_active@GOTPAGE
Lloh7:
	ldr	x9, [x9, _fbsd_thread_active@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	x8, #0
	ccmp	w9, #0, #0, ne
	b.eq	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh9:
	adrp	x8, _inferior_ptid@GOTPAGE
Lloh10:
	ldr	x8, [x8, _inferior_ptid@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_GET_PID
Lloh12:
	adrp	x8, _proc_handle@GOTPAGE
Lloh13:
	ldr	x8, [x8, _proc_handle@GOTPAGEOFF]
Lloh14:
	str	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_fbsd_thread_activate
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_child_ops,8,3                  ; @child_ops
	.comm	_fbsd_thread_present,8,3        ; @fbsd_thread_present
	.comm	_fbsd_thread_active,4,2         ; @fbsd_thread_active
	.comm	_inferior_ptid,4,2              ; @inferior_ptid
	.comm	_proc_handle,4,2                ; @proc_handle
	.no_dead_strip	_fbsd_thread_post_attach
.subsections_via_symbols
