	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tpiu_disable_hw
_tpiu_disable_hw:                       ## @tpiu_disable_hw
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	callq	_CS_UNLOCK
	movq	_FFCR_STOP_FI@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_TPIU_FFCR@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	addq	(%rbx), %rsi
	callq	_writel_relaxed
	movq	_FFCR_FON_MAN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	orl	(%r14), %edi
	movq	(%r15), %rsi
	addq	(%rbx), %rsi
	callq	_writel_relaxed
	movq	(%rbx), %rdi
	movq	(%r15), %rsi
	movq	_FFCR_FON_MAN_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ecx, %ecx
	callq	_coresight_timeout
	movq	(%rbx), %rdi
	movq	_TPIU_FFSR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_FFSR_FT_STOPPED_BIT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, %ecx
	callq	_coresight_timeout
	movq	(%rbx), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_CS_LOCK                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FFCR_STOP_FI,4,2               ## @FFCR_STOP_FI
	.comm	_TPIU_FFCR,8,3                  ## @TPIU_FFCR
	.comm	_FFCR_FON_MAN,4,2               ## @FFCR_FON_MAN
	.comm	_FFCR_FON_MAN_BIT,4,2           ## @FFCR_FON_MAN_BIT
	.comm	_TPIU_FFSR,8,3                  ## @TPIU_FFSR
	.comm	_FFSR_FT_STOPPED_BIT,4,2        ## @FFSR_FT_STOPPED_BIT
	.no_dead_strip	_tpiu_disable_hw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tpiu_disable_hw
_tpiu_disable_hw:                       ; @tpiu_disable_hw
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	ldr	x0, [x0]
	bl	_CS_UNLOCK
Lloh0:
	adrp	x20, _FFCR_STOP_FI@GOTPAGE
Lloh1:
	ldr	x20, [x20, _FFCR_STOP_FI@GOTPAGEOFF]
	ldr	w0, [x20]
	ldr	x8, [x19]
Lloh2:
	adrp	x21, _TPIU_FFCR@GOTPAGE
Lloh3:
	ldr	x21, [x21, _TPIU_FFCR@GOTPAGEOFF]
	ldr	x9, [x21]
	add	x1, x9, x8
	bl	_writel_relaxed
Lloh4:
	adrp	x8, _FFCR_FON_MAN@GOTPAGE
Lloh5:
	ldr	x8, [x8, _FFCR_FON_MAN@GOTPAGEOFF]
	ldr	w9, [x20]
Lloh6:
	ldr	w8, [x8]
	orr	w0, w8, w9
	ldr	x8, [x19]
	ldr	x9, [x21]
	add	x1, x9, x8
	bl	_writel_relaxed
	ldr	x0, [x19]
	ldr	x1, [x21]
Lloh7:
	adrp	x8, _FFCR_FON_MAN_BIT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _FFCR_FON_MAN_BIT@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	w3, #0
	bl	_coresight_timeout
	ldr	x0, [x19]
Lloh10:
	adrp	x8, _TPIU_FFSR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _TPIU_FFSR@GOTPAGEOFF]
Lloh12:
	ldr	x1, [x8]
Lloh13:
	adrp	x8, _FFSR_FT_STOPPED_BIT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _FFSR_FT_STOPPED_BIT@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	mov	w3, #1
	bl	_coresight_timeout
	ldr	x0, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_CS_LOCK
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_FFCR_STOP_FI,4,2               ; @FFCR_STOP_FI
	.comm	_TPIU_FFCR,8,3                  ; @TPIU_FFCR
	.comm	_FFCR_FON_MAN,4,2               ; @FFCR_FON_MAN
	.comm	_FFCR_FON_MAN_BIT,4,2           ; @FFCR_FON_MAN_BIT
	.comm	_TPIU_FFSR,8,3                  ; @TPIU_FFSR
	.comm	_FFSR_FT_STOPPED_BIT,4,2        ; @FFSR_FT_STOPPED_BIT
	.no_dead_strip	_tpiu_disable_hw
.subsections_via_symbols
