	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pt_thr_clear_event
_pt_thr_clear_event:                    ## @pt_thr_clear_event
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r12
	movq	8(%rdi), %rbx
	xorl	%eax, %eax
	callq	_TDBG_FUNC
	movl	8(%rbx), %edi
	movq	(%rbx), %rsi
	addq	(%r12), %rsi
	leaq	-36(%rbp), %r15
	movq	%r15, %rdx
	movl	$4, %ecx
	callq	_ps_pread
	movl	(%r14), %eax
	notl	%eax
	andl	%eax, -36(%rbp)
	movl	8(%rbx), %edi
	movq	(%rbx), %rsi
	addq	(%r12), %rsi
	movq	%r15, %rdx
	movl	$4, %ecx
	callq	_ps_pwrite
	movl	%eax, %edi
	callq	_P2T
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_pt_thr_clear_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pt_thr_clear_event
_pt_thr_clear_event:                    ; @pt_thr_clear_event
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
	ldr	x21, [x0, #8]
	bl	_TDBG_FUNC
	ldr	w0, [x21, #8]
	ldr	x8, [x20]
	ldr	x9, [x21]
	add	x1, x9, x8
	add	x2, sp, #12
	mov	w3, #4
	bl	_ps_pread
	ldr	w8, [x19]
	ldr	w9, [sp, #12]
	bic	w8, w9, w8
	str	w8, [sp, #12]
	ldr	w0, [x21, #8]
	ldr	x8, [x20]
	ldr	x9, [x21]
	add	x1, x9, x8
	add	x2, sp, #12
	mov	w3, #4
	bl	_ps_pwrite
	bl	_P2T
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_pt_thr_clear_event
.subsections_via_symbols
