	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dynamic_replicator_reset
_dynamic_replicator_reset:              ## @dynamic_replicator_reset
	.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
	movq	(%rdi), %rdi
	callq	_CS_UNLOCK
	movq	(%rbx), %rdi
	callq	_coresight_claim_device_unlocked
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_REPLICATOR_IDFILTER0@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	movl	$255, %edi
	callq	_writel_relaxed
	movq	_REPLICATOR_IDFILTER1@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	movl	$255, %edi
	callq	_writel_relaxed
	movq	(%rbx), %rdi
	callq	_coresight_disclaim_device_unlocked
LBB0_2:
	movq	(%rbx), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_CS_LOCK                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_REPLICATOR_IDFILTER0,8,3       ## @REPLICATOR_IDFILTER0
	.comm	_REPLICATOR_IDFILTER1,8,3       ## @REPLICATOR_IDFILTER1
	.no_dead_strip	_dynamic_replicator_reset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dynamic_replicator_reset
_dynamic_replicator_reset:              ; @dynamic_replicator_reset
	.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
	ldr	x0, [x0]
	bl	_CS_UNLOCK
	ldr	x0, [x19]
	bl	_coresight_claim_device_unlocked
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _REPLICATOR_IDFILTER0@GOTPAGE
Lloh1:
	ldr	x9, [x9, _REPLICATOR_IDFILTER0@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #255
	bl	_writel_relaxed
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _REPLICATOR_IDFILTER1@GOTPAGE
Lloh4:
	ldr	x9, [x9, _REPLICATOR_IDFILTER1@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	w0, #255
	bl	_writel_relaxed
	ldr	x0, [x19]
	bl	_coresight_disclaim_device_unlocked
LBB0_2:
	ldr	x0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_CS_LOCK
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_REPLICATOR_IDFILTER0,8,3       ; @REPLICATOR_IDFILTER0
	.comm	_REPLICATOR_IDFILTER1,8,3       ; @REPLICATOR_IDFILTER1
	.no_dead_strip	_dynamic_replicator_reset
.subsections_via_symbols
