	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sol_thread_alive
_sol_thread_alive:                      ## @sol_thread_alive
	.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
	movl	%edi, %ebx
	callq	_is_thread
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movl	%ebx, %edi
	callq	_GET_THREAD
	movq	_main_ta@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	-12(%rbp), %rdx
	movl	%eax, %esi
	callq	_p_td_ta_map_id2thr
	movl	%eax, %ecx
	movq	_TD_OK@GOTPCREL(%rip), %rbx
	xorl	%eax, %eax
	cmpl	(%rbx), %ecx
	jne	LBB0_3
## %bb.2:
	leaq	-12(%rbp), %rdi
	callq	_p_td_thr_validate
	movl	%eax, %ecx
	xorl	%eax, %eax
	cmpl	(%rbx), %ecx
	sete	%al
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_4:
	movq	_target_has_execution@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.5:
	movq	_procfs_ops@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_7:
	movq	_orig_core_ops@GOTPCREL(%rip), %rax
LBB0_6:
	movl	%ebx, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmpq	*(%rax)                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_main_ta,4,2                    ## @main_ta
	.comm	_TD_OK,4,2                      ## @TD_OK
	.comm	_target_has_execution,8,3       ## @target_has_execution
	.comm	_procfs_ops,8,3                 ## @procfs_ops
	.comm	_orig_core_ops,8,3              ## @orig_core_ops
	.no_dead_strip	_sol_thread_alive
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sol_thread_alive
_sol_thread_alive:                      ; @sol_thread_alive
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	bl	_is_thread
	cbz	x0, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_GET_THREAD
	mov	x1, x0
Lloh0:
	adrp	x8, _main_ta@GOTPAGE
Lloh1:
	ldr	x8, [x8, _main_ta@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x2, sp, #12
	bl	_p_td_ta_map_id2thr
Lloh3:
	adrp	x19, _TD_OK@GOTPAGE
Lloh4:
	ldr	x19, [x19, _TD_OK@GOTPAGEOFF]
	ldr	w8, [x19]
	cmp	w0, w8
	b.ne	LBB0_5
; %bb.2:
	add	x0, sp, #12
	bl	_p_td_thr_validate
	ldr	w8, [x19]
	cmp	w0, w8
	cset	w0, eq
	b	LBB0_6
LBB0_3:
Lloh5:
	adrp	x8, _target_has_execution@GOTPAGE
Lloh6:
	ldr	x8, [x8, _target_has_execution@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.4:
Lloh8:
	adrp	x8, _procfs_ops@GOTPAGE
Lloh9:
	ldr	x8, [x8, _procfs_ops@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_7:
Lloh10:
	adrp	x8, _orig_core_ops@GOTPAGE
Lloh11:
	ldr	x8, [x8, _orig_core_ops@GOTPAGEOFF]
LBB0_8:
	ldr	x1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	br	x1
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_main_ta,4,2                    ; @main_ta
	.comm	_TD_OK,4,2                      ; @TD_OK
	.comm	_target_has_execution,8,3       ; @target_has_execution
	.comm	_procfs_ops,8,3                 ; @procfs_ops
	.comm	_orig_core_ops,8,3              ; @orig_core_ops
	.no_dead_strip	_sol_thread_alive
.subsections_via_symbols
