	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function disable_chan
_disable_chan:                          ## @disable_chan
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movl	(%rdi), %eax
	shll	$2, %eax
	movslq	%eax, %rbx
	movq	_DCSR@GOTPCREL(%rip), %rax
	addq	(%rax), %rbx
	movq	8(%rdi), %rdi
	addq	%rbx, %rdi
	callq	_readl
	movq	_DCSR_RUN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	notl	%edi
	andl	%eax, %edi
	addq	8(%r14), %rbx
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_writel                         ## TAILCALL
LBB0_1:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DCSR,8,3                       ## @DCSR
	.comm	_DCSR_RUN,4,2                   ## @DCSR_RUN
	.no_dead_strip	_disable_chan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function disable_chan
_disable_chan:                          ; @disable_chan
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_2
; %bb.1:
	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	w8, [x0]
	lsl	w8, w8, #2
Lloh0:
	adrp	x9, _DCSR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DCSR@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x20, x9, w8, sxtw
	ldr	x8, [x0, #8]
	add	x0, x20, x8
	bl	_readl
Lloh3:
	adrp	x8, _DCSR_RUN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DCSR_RUN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	bic	w0, w0, w8
	ldr	x8, [x19, #8]
	add	x1, x8, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_writel
LBB0_2:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DCSR,8,3                       ; @DCSR
	.comm	_DCSR_RUN,4,2                   ; @DCSR_RUN
	.no_dead_strip	_disable_chan
.subsections_via_symbols
