	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function channel_clear
_channel_clear:                         ## @channel_clear
	.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
	callq	_to_sh_dev
	movq	8(%rax), %rcx
	movq	8(%rcx), %rdx
	movslq	(%rbx), %rsi
	cmpq	$0, (%rcx)
	je	LBB0_1
## %bb.2:
	movq	%rsi, %rcx
	shlq	$4, %rcx
	movb	(%rdx,%rcx), %cl
	movl	$1, %edi
	shll	%cl, %edi
	jmp	LBB0_3
LBB0_1:
	xorl	%edi, %edi
LBB0_3:
	shlq	$4, %rsi
	movq	8(%rdx,%rsi), %rsi
	addq	(%rax), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	___raw_writel                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_channel_clear
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function channel_clear
_channel_clear:                         ; @channel_clear
	.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
	bl	_to_sh_dev
	ldr	x8, [x0, #8]
	ldrsw	x9, [x19]
	ldp	x8, x10, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	lsl	x8, x9, #4
	ldr	w8, [x10, x8]
	mov	w11, #1
	lsl	w8, w11, w8
LBB0_2:
	ldr	x11, [x0]
	add	x9, x10, x9, lsl #4
	ldr	x9, [x9, #8]
	add	x1, x9, x11
	mov	x0, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	___raw_writel
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_channel_clear
.subsections_via_symbols
