	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dynamic_funnel_disable_hw
_dynamic_funnel_disable_hw:             ## @dynamic_funnel_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	(%rdi), %rdi
	callq	_CS_UNLOCK
	movq	_FUNNEL_FUNCTL@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	addq	(%r15), %rdi
	callq	_readl_relaxed
	movl	%eax, %ebx
	btrl	%r14d, %ebx
	movq	(%r12), %rsi
	addq	(%r15), %rsi
	movl	%ebx, %edi
	callq	_writel_relaxed
	movq	_FUNNEL_ENSx_MASK@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	(%r15), %rdi
	callq	_coresight_disclaim_device_unlocked
LBB0_2:
	movq	(%r15), %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_CS_LOCK                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FUNNEL_FUNCTL,8,3              ## @FUNNEL_FUNCTL
	.comm	_FUNNEL_ENSx_MASK,4,2           ## @FUNNEL_ENSx_MASK
	.no_dead_strip	_dynamic_funnel_disable_hw
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dynamic_funnel_disable_hw
_dynamic_funnel_disable_hw:             ; @dynamic_funnel_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	x20, x1
	mov	x19, x0
	ldr	x0, [x0]
	bl	_CS_UNLOCK
	ldr	x8, [x19]
Lloh0:
	adrp	x21, _FUNNEL_FUNCTL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _FUNNEL_FUNCTL@GOTPAGEOFF]
	ldr	x9, [x21]
	add	x0, x9, x8
	bl	_readl_relaxed
	mov	w8, #1
	lsl	w8, w8, w20
	bic	w20, w0, w8
	ldr	x8, [x19]
	ldr	x9, [x21]
	add	x1, x9, x8
	mov	x0, x20
	bl	_writel_relaxed
Lloh2:
	adrp	x8, _FUNNEL_ENSx_MASK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FUNNEL_ENSx_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	tst	w8, w20
	b.ne	LBB0_2
; %bb.1:
	ldr	x0, [x19]
	bl	_coresight_disclaim_device_unlocked
LBB0_2:
	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	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_FUNNEL_FUNCTL,8,3              ; @FUNNEL_FUNCTL
	.comm	_FUNNEL_ENSx_MASK,4,2           ; @FUNNEL_ENSx_MASK
	.no_dead_strip	_dynamic_funnel_disable_hw
.subsections_via_symbols
